:root {
  --bg: #101014;
  --bg-2: #171820;
  --ink: #f6f6f3;
  --muted: #babac0;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ff1d25;
  --red-dark: #a70d16;
  --paper: #f3f1ec;
  --paper-2: #e8e4dc;
  --paper-ink: #151515;
  --paper-muted: #5d5d61;
  --green: #65f25c;
  --violet: #8a5cff;
  --max: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 29, 37, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--red);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(16, 16, 20, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header.scrolled {
  background: rgba(16, 16, 20, 0.93);
  border-color: rgba(255, 29, 37, 0.22);
}

.brand {
  width: 142px;
  display: inline-flex;
  align-items: center;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.78);
}

.desktop-nav a {
  position: relative;
  padding: 28px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--red);
}

.header-cta svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms var(--ease);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: 22px;
  background: rgba(16, 16, 20, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: 800;
}

.section-dark {
  background: var(--bg);
  color: var(--ink);
}

.section-light {
  background: var(--paper);
  color: var(--paper-ink);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.hero {
  position: relative;
  min-height: 94dvh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, rgba(16, 16, 20, 0), var(--bg));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.56;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 20, 0.94) 0%, rgba(16, 16, 20, 0.78) 38%, rgba(16, 16, 20, 0.34) 72%, rgba(16, 16, 20, 0.82) 100%),
    linear-gradient(0deg, rgba(16, 16, 20, 0.86), rgba(16, 16, 20, 0.16) 42%, rgba(16, 16, 20, 0.8));
  z-index: 1;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  min-height: 94dvh;
  margin: 0 auto;
  padding-top: calc(var(--header-h) + clamp(54px, 8vw, 94px));
  padding-bottom: 72px;
  display: grid;
  align-content: center;
  gap: 54px;
}

.hero-logo {
  width: clamp(190px, 20vw, 286px);
  margin-bottom: 26px;
}

.hero h1,
.section-heading h2,
.section-head-row h2,
.gallery-copy h2,
.attraction-copy h2,
.req-copy h2,
.foundation-copy h2,
.expansion-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 10vw, 132px);
}

.hero-copy p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  padding: 0 22px;
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-proof {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof span,
.section-number,
.flow-column span,
.system-center span,
.expansion-timeline span,
.contact-panel span,
.since span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-proof strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(44px, 8vw, 110px);
}

.section-heading h2,
.section-head-row h2,
.gallery-copy h2,
.attraction-copy h2,
.req-copy h2,
.foundation-copy h2,
.expansion-copy h2,
.contact-copy h2 {
  margin-top: 14px;
  font-size: clamp(38px, 5.7vw, 74px);
}

.mission-copy > p,
.section-head-row p,
.gallery-copy p,
.attraction-copy > p,
.req-copy p,
.foundation-copy > p,
.expansion-copy p,
.contact-copy p {
  color: currentColor;
  opacity: 0.72;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 21px);
}

.mission-copy > p {
  margin-bottom: 42px;
}

.mission-points {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.mission-points article {
  display: grid;
  grid-template-columns: 58px minmax(160px, 0.4fr) 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.mission-points span,
.path-rail span {
  color: var(--red);
  font-weight: 900;
}

.mission-points h3,
.mission-points p,
.why-card h3,
.why-card p,
.system-node h3,
.system-node p,
.foundation-steps h3,
.foundation-steps p,
.path-rail h3,
.path-rail p {
  margin: 0;
}

.mission-points h3 {
  font-size: 18px;
}

.mission-points p {
  color: var(--paper-muted);
}

.section-head-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 0.8fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 72px);
}

.section-head-row h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.system-map {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-map::before,
.system-map::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, var(--red), var(--green), var(--violet), var(--red));
  opacity: 0.86;
}

.system-map::before {
  width: min(720px, 75%);
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.system-map::after {
  width: 2px;
  height: 350px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.system-center,
.system-node,
.why-card,
.metrics article,
.foundation-steps article,
.contact-panel,
.flow-column,
.path-rail article {
  border-radius: 6px;
}

.system-center {
  position: relative;
  z-index: 2;
  width: min(330px, 78vw);
  min-height: 210px;
  display: grid;
  place-content: center;
  padding: 34px;
  text-align: center;
  background: #202127;
  border: 1px solid rgba(255, 29, 37, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.system-center strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.system-center p {
  margin: 12px 0 0;
  color: var(--muted);
}

.system-node {
  position: absolute;
  z-index: 2;
  width: min(288px, 36%);
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.system-node h3 {
  font-size: 18px;
}

.system-node p {
  margin-top: 8px;
  color: var(--muted);
}

.node-a {
  left: 0;
  top: 68px;
  border-left: 4px solid var(--red);
}

.node-b {
  right: 0;
  top: 68px;
  border-left: 4px solid var(--green);
}

.node-c {
  left: 7%;
  bottom: 68px;
  border-left: 4px solid var(--violet);
}

.node-d {
  right: 7%;
  bottom: 68px;
  border-left: 4px solid var(--red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
}

.gallery-copy .text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.photo-stack {
  position: relative;
  min-height: 540px;
}

.photo-main,
.photo-small {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.photo-main {
  width: 84%;
  aspect-ratio: 4 / 3;
}

.photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  border: 10px solid var(--paper);
}

.photo-main img,
.photo-small img,
.attraction-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.why-card {
  min-height: 172px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}

.why-card:nth-child(2),
.why-card:nth-child(5) {
  border-top-color: var(--green);
}

.why-card:nth-child(3),
.why-card:nth-child(6) {
  border-top-color: var(--violet);
}

.why-card h3 {
  font-size: 20px;
  line-height: 1.15;
}

.why-card p {
  margin-top: 14px;
  color: var(--muted);
}

.model-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flow-column {
  position: relative;
  min-height: 190px;
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.06);
}

.flow-column::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.flow-column:last-child::after {
  display: none;
}

.flow-column p {
  margin: 18px 0 0;
  color: var(--paper-muted);
}

.flow-column.output {
  background: var(--bg);
  color: #fff;
  border-color: rgba(255, 29, 37, 0.42);
}

.flow-column.output p {
  color: var(--muted);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
}

.attraction-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.attraction-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.attraction-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.attraction-tabs button.active {
  background: var(--red);
  border-color: var(--red);
}

.attraction-detail {
  min-height: 132px;
  margin-top: 18px;
  padding: 24px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.045);
}

.attraction-detail h3,
.attraction-detail p {
  margin: 0;
}

.attraction-detail p {
  margin-top: 10px;
  color: var(--muted);
}

.attraction-media {
  position: relative;
  min-height: 540px;
}

.attraction-media > img {
  height: 440px;
  border-radius: 6px;
}

.attraction-list {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100% - 34px));
  margin: -70px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.attraction-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(20, 20, 24, 0.94);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.req-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metrics article {
  min-height: 166px;
  padding: 26px;
  display: grid;
  align-content: space-between;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 4px solid var(--red);
}

.metrics article:nth-child(2) {
  border-bottom-color: var(--green);
}

.metrics article:nth-child(3) {
  border-bottom-color: var(--violet);
}

.metrics strong {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
}

.metrics span {
  display: block;
  margin-top: 18px;
  color: var(--paper-muted);
  font-weight: 800;
}

.foundation-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(46px, 8vw, 106px);
  align-items: start;
}

.since {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  min-height: 260px;
  display: grid;
  place-content: center;
  text-align: center;
  background: #202127;
  border: 1px solid rgba(255, 29, 37, 0.4);
}

.since strong {
  display: block;
  font-size: 70px;
  line-height: 0.9;
}

.foundation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.foundation-steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.foundation-steps h3 {
  font-size: 20px;
}

.foundation-steps p {
  margin-top: 12px;
  color: var(--muted);
}

.path-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
}

.path-rail article {
  min-height: 220px;
  padding: 26px 20px;
  border-right: 1px solid rgba(17, 17, 17, 0.18);
}

.path-rail article:last-child {
  border-right: 0;
}

.path-rail h3 {
  margin-top: 34px;
  font-size: 23px;
}

.path-rail p {
  margin-top: 12px;
  color: var(--paper-muted);
}

.expansion-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
}

.expansion-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.expansion-timeline article {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.expansion-timeline strong {
  display: block;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.05;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.contact-copy img {
  width: min(290px, 72vw);
  margin-bottom: 26px;
}

.contact-panel {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.contact-panel a {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.13);
}

.contact-panel a:last-child {
  border-bottom: 0;
}

.contact-panel strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  color: var(--paper-ink);
  overflow-wrap: anywhere;
}

.site-footer {
  min-height: 82px;
  padding: 22px clamp(20px, 4vw, 58px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.64);
  background: #0b0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .mobile-nav.open {
    display: flex;
  }

  .split,
  .section-head-row,
  .gallery-grid,
  .attraction-layout,
  .req-grid,
  .foundation-grid,
  .expansion-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    align-items: start;
  }

  .system-map {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .system-map::before,
  .system-map::after {
    display: none;
  }

  .system-center,
  .system-node {
    position: static;
    width: 100%;
  }

  .why-grid,
  .foundation-steps,
  .path-rail,
  .expansion-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-rail article {
    border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  }

  .path-rail article:nth-child(2n) {
    border-right: 0;
  }

  .since {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    width: 118px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .section-inner,
  .hero-frame {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 96dvh;
  }

  .hero-frame {
    min-height: 96dvh;
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 14vw, 60px);
    line-height: 0.98;
  }

  .hero-copy p {
    font-size: 17px;
    max-width: 34ch;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .mission-points article,
  .model-flow,
  .why-grid,
  .metrics,
  .foundation-steps,
  .path-rail,
  .expansion-timeline,
  .attraction-list {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .path-rail article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child,
  .path-rail article:last-child {
    border-bottom: 0;
  }

  .photo-stack {
    min-height: auto;
  }

  .photo-main {
    width: 100%;
  }

  .photo-small {
    position: static;
    width: 72%;
    margin: -34px 0 0 auto;
  }

  .flow-column::after {
    top: auto;
    right: auto;
    left: 28px;
    bottom: -22px;
    width: 2px;
    height: 34px;
  }

  .attraction-media {
    min-height: auto;
  }

  .attraction-media > img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .contact-panel a {
    min-height: 102px;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
