@import url("fonts.css");

/* =========================================================================
   MADDIMAX — "Kinetic" concept
   Structure: the page is a stack of panels. Any dark ground meeting a light
   one rounds its corners at that break; the nav and footer are the two
   bookend panels, and the CTA boxes straddle the footer seam.
   Token-driven, classes only, rem-based fluid scales.
   ========================================================================= */

/* ----------------------------- TOKENS ----------------------------------- */
:root {
  --plum-900: #150522;   /* primary dark ground */
  --plum-850: #211042;   /* footer panel, a clear tonal step up from the ground */
  --plum-800: #1e0c36;
  --plum-700: #2a1550;   /* raised panels (the team CTA box) */
  --plum-600: #3a1d6b;

  --purple:       #6d28d9;
  --purple-deep:  #5a1fb8;
  --purple-bright:#8b5cf6;
  --purple-glow:  #b794ff;

  --paper:   #f6f2fc;
  --card:    #fdfbff;
  --lilac:   #ece1fb;
  --lilac-2: #ddccf7;

  --ink:   #160a24;
  --ink-2: #4a3a60;
  --ink-3: #62527a;

  --on-dark:   #f7f2fd;
  --on-dark-2: #d0c2e6;
  --on-dark-3: #b0a0cc;

  --line-l: rgba(22, 10, 36, 0.14);
  --line-l-2: rgba(22, 10, 36, 0.28);
  --line-d: rgba(255, 255, 255, 0.16);
  --line-d-2: rgba(255, 255, 255, 0.30);

  --font-display: "Clash Display", system-ui, sans-serif;
  --font-body: "General Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 1.0625rem;
  --text-lg:  clamp(1.15rem, 0.9rem + 0.7vw, 1.35rem);
  --text-xl:  clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem);
  --text-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  /* floors raised so the hero holds its scale on phones */
  --text-hero-line: clamp(1.95rem, 0.95rem + 2.1vw, 3rem);
  --text-poster: clamp(4.3rem, 1.5rem + 8.2vw, 9rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.25rem;
  --space-xl:  clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --space-2xl: clamp(3.5rem, 2.4rem + 4.5vw, 6rem);
  --space-3xl: clamp(5rem, 3.4rem + 7vw, 9rem);
  --section: clamp(4.5rem, 3rem + 6.5vw, 8.5rem);

  --gutter: clamp(1.15rem, 0.4rem + 3.4vw, 4rem);
  --wrap: 1440px;
  --wrap-wide: 1680px;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-panel: clamp(24px, 3vw, 48px);
  --r-pill: 999px;

  --shadow-sm: 0 4px 16px -8px rgba(24, 8, 48, 0.4);
  --shadow: 0 22px 50px -26px rgba(24, 8, 48, 0.55);
  --shadow-lg: 0 40px 90px -40px rgba(24, 8, 48, 0.7);
  --shadow-purple: 0 20px 45px -22px rgba(109, 40, 217, 0.55);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-grow: cubic-bezier(0.45, 0.05, 0.3, 1);

  --nav-h: 5rem;
  --cta-overlap: clamp(4rem, 11vw, 11rem);
}

/* ----------------------------- RESET ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--purple-bright); outline-offset: 3px; border-radius: 4px; }
.theme-dark :focus-visible, .footer :focus-visible, .nav :focus-visible { outline-color: var(--purple-glow); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--on-dark); padding: 0.75rem 1.25rem; border-radius: 0 0 var(--r) 0; }
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.theme-dark { background: var(--plum-900); color: var(--on-dark); }
.theme-light { background: var(--paper); color: var(--ink); }
.theme-lilac { background: var(--lilac); color: var(--ink); }
.section { padding-block: var(--section); position: relative; }

/* panel breaks: a dark ground meeting a light one rounds off at that edge */
.landlord { border-radius: var(--r-panel) var(--r-panel) 0 0; }
#proof { border-radius: 0 0 var(--r-panel) var(--r-panel); }
#clubs { border-radius: var(--r-panel) var(--r-panel) 0 0; }

.hl { color: var(--purple-deep); }
.theme-dark .hl, .interlude .hl { color: var(--purple-glow); }
.hl-ink { color: var(--ink); font-weight: 600; }

/* ----------------------------- REVEAL ----------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- WORDMARK --------------------------------- */
.wordmark { display: inline-grid; gap: 0.34em; justify-items: stretch; line-height: 1; }
.wordmark__rule { height: 1.5px; background: currentColor; }
.wordmark__type { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.3em; line-height: 1; font-size: 0.9rem; padding-left: 0.3em; }

/* ----------------------------- BUTTONS ---------------------------------- */
/* Signature: the arrow chip visibly grows to fill the button. Slow in, quick out. */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  overflow: hidden; isolation: isolate; transition: color 0.22s var(--ease-out);
}
.btn:hover, .btn:focus-visible { transition: color 0.35s var(--ease-out) 0.16s; }
.btn__t { position: relative; z-index: 3; white-space: nowrap; }
.btn .arr { position: relative; z-index: 3; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-size: 0.95rem; }
.btn__fill {
  position: absolute; z-index: 2; top: 50%; right: 0.45rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  transform: translateY(-50%) scale(1);
  transition: transform 0.26s var(--ease-out);   /* out: quick */
  pointer-events: none;
}
.btn:hover .btn__fill, .btn:focus-visible .btn__fill {
  transform: translateY(-50%) scale(16);
  transition: transform 0.72s var(--ease-grow);  /* in: slow enough to watch it grow */
}

.btn--sm { padding: 0.35rem 0.35rem 0.35rem 1.15rem; gap: 0.6rem; }
.btn--sm .arr { width: 2rem; height: 2rem; font-size: 0.85rem; }
.btn--sm .btn__fill { width: 2rem; height: 2rem; right: 0.35rem; }

.btn--primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.btn--primary .arr, .btn--primary .btn__fill { background: #fff; }
.btn--primary .arr { color: var(--purple); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--ink); }

.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--line-d-2); }
.theme-light .btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-l-2); }
.btn--ghost .arr, .btn--ghost .btn__fill { background: var(--purple); }
.btn--ghost .arr { color: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light .arr, .btn--light .btn__fill { background: var(--purple); }
.btn--light .arr { color: #fff; }
.btn--light:hover, .btn--light:focus-visible { color: #fff; }

/* text link — a rounded highlighter sweeps in behind the label */
.tlink {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; padding: 0.22em 0.5em; margin-left: -0.5em; border-radius: var(--r-sm);
  transition: color 0.35s var(--ease-out);
}
.tlink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--purple); border-radius: var(--r-sm); transform: scaleX(0); transform-origin: left center; transition: transform 0.45s var(--ease-out); }
.tlink:hover, .tlink:focus-visible { color: #fff; }
.tlink:hover::before, .tlink:focus-visible::before { transform: scaleX(1); }
.tlink--onpurple { color: #fff; }
.tlink--onpurple::before { background: #fff; }
.tlink--onpurple:hover, .tlink--onpurple:focus-visible { color: var(--purple); }
.arr-i { transition: transform 0.4s var(--ease-spring); }
.tlink:hover .arr-i { transform: translateX(3px); }
.tlink.dl:hover .arr-i { transform: translateY(3px); }

/* ----------------------------- NAV (top panel) -------------------------- */
/* transparent on landing; the panel only appears once you scroll */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent; color: var(--on-dark);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.nav.stuck { background: var(--plum-900); box-shadow: var(--shadow); }
.nav__inner { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: 0.7rem; }
.nav__brand { display: flex; align-items: center; }
.nav__brand .wordmark__type { font-size: 0.8rem; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__links a { display: block; padding: 0.5rem 0.85rem; border-radius: var(--r-pill); font-weight: 500; font-size: var(--text-sm); line-height: 1.2; color: var(--on-dark-2); transition: color 0.3s, background 0.3s; }
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__toggle { display: none; align-items: center; gap: 0.55rem; padding: 0.65rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--text-sm); line-height: 1.2; background: rgba(21, 5, 34, 0.72); border: 1px solid var(--line-d); backdrop-filter: blur(10px); color: #fff; transition: background-color 0.35s var(--ease-out); }
.nav__toggle .bars { display: inline-grid; gap: 3px; }
.nav__toggle .bars span { display: block; width: 17px; height: 2px; background: currentColor; border-radius: 2px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 150; background: var(--purple); color: #fff; padding: var(--space-md) var(--gutter) var(--space-xl); display: flex; flex-direction: column; transform: translateY(-102%); transition: transform 0.55s var(--ease-out); overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-top: 0.6rem; }
.mobile-menu__close { font-size: 2rem; line-height: 1; width: 3rem; height: 3rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }
.mobile-menu nav { display: grid; gap: 0.2rem; margin-top: var(--space-xl); }
.mobile-menu nav a { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3.2rem); letter-spacing: -0.02em; padding-block: 0.26em; border-bottom: 1.5px solid rgba(255, 255, 255, 0.22); }
.mobile-menu__actions { display: grid; gap: 0.75rem; margin-top: auto; padding-top: var(--space-xl); }
.mobile-menu__actions .btn { justify-content: space-between; }
.mobile-menu .btn--primary { background: #fff; color: var(--purple); box-shadow: none; }
.mobile-menu .btn--primary .arr, .mobile-menu .btn--primary .btn__fill { background: var(--purple); }
.mobile-menu .btn--primary .arr { color: #fff; }
.mobile-menu .btn--primary:hover { color: #fff; }
.mobile-menu .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.mobile-menu .btn--ghost .arr, .mobile-menu .btn--ghost .btn__fill { background: #fff; }
.mobile-menu .btn--ghost .arr { color: var(--purple); }
.mobile-menu .btn--ghost:hover { color: var(--purple); }

/* ----------------------------- HERO ------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
/* covers the top half of the hero: the nav takes its background about halfway down */
.nav-sentinel { position: absolute; inset: 0 auto 50% 0; width: 1px; pointer-events: none; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.05) brightness(0.88); }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(190deg, rgba(21, 5, 34, 0.6) 0%, rgba(21, 5, 34, 0.2) 30%, rgba(21, 5, 34, 0.6) 64%, rgba(21, 5, 34, 0.96) 100%),
  radial-gradient(120% 80% at 16% 92%, rgba(109, 40, 217, 0.55) 0%, rgba(109, 40, 217, 0) 55%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__grid { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; padding-top: calc(var(--nav-h) + var(--space-2xl)); padding-bottom: var(--space-2xl); }
.hero__headline { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.hero__headline .line { display: block; font-size: var(--text-hero-line); font-weight: 600; line-height: 1.1; color: #fff; }
.cycle { display: block; font-size: var(--text-poster); line-height: 0.88; letter-spacing: -0.045em; color: var(--purple-glow); margin-block: 0.04em 0.02em; }
.cycle__list { display: inline-grid; }
.cycle__w { grid-area: 1 / 1; opacity: 0; transform: translateY(0.34em); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-spring); white-space: nowrap; }
.cycle__w.on { opacity: 1; transform: none; }
.hero__sub { margin-top: var(--space-lg); max-width: 46ch; font-size: var(--text-lg); color: rgba(255, 255, 255, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-top: var(--space-lg); }

/* ----------------------------- MARQUEE ---------------------------------- */
.marquee { background: var(--purple); color: #fff; padding-block: 1.05rem; overflow: hidden; }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee__item { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 0.8rem + 0.9vw, 1.6rem); padding-inline: 1.4rem; display: inline-flex; align-items: center; gap: 1.6rem; }
.marquee__item::after { content: ""; width: 0.55rem; height: 0.55rem; border-radius: var(--r-pill); background: var(--purple-glow); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------- OPERATOR --------------------------------- */
.operator__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-2xl); align-items: start; }
.operator__statement { font-size: var(--text-3xl); letter-spacing: -0.03em; }
.operator__aside p { color: var(--ink-2); }
.operator__aside p + p { margin-top: var(--space-sm); }
.operator__aside .tlink { margin-top: var(--space-md); }

.operator__body { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-2xl); align-items: center; margin-top: var(--space-2xl); }
.figures { display: grid; gap: var(--space-xl); }
.figure { display: grid; gap: var(--space-2xs); }
.figure__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 1.9rem + 6.5vw, 7rem); line-height: 0.82; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure__num .sup { color: var(--purple-deep); font-size: 0.4em; vertical-align: top; }
.figure__rule { height: 3px; border-radius: 3px; background: var(--lilac-2); position: relative; overflow: hidden; margin-top: var(--space-2xs); }
.figure__rule::after { content: ""; position: absolute; inset: 0; background: var(--purple); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--rd, 0s) + 0.15s); }
.figure.in .figure__rule::after { transform: scaleX(1); }
.figure__label { color: var(--ink-2); font-weight: 500; }
.operator__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.operator__media img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------- LANDLORD (sticky stack) ------------------ */
.landlord__intro { max-width: 62ch; margin-bottom: var(--space-2xl); }
.landlord__h { font-size: var(--text-2xl); letter-spacing: -0.025em; }
.landlord__lead { margin-top: var(--space-sm); font-size: var(--text-lg); color: var(--on-dark-2); }
.stack { display: grid; gap: clamp(4rem, 14vh, 9rem); }
.lcard {
  position: sticky; top: calc(var(--nav-h) + 1.25rem);
  border-radius: var(--r-xl); overflow: hidden; min-height: min(58vh, 30rem);
  display: grid; grid-template-columns: 1.05fr 0.95fr; background: var(--plum-800);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-d);
}
.lcard:nth-child(2) { top: calc(var(--nav-h) + 2.6rem); }
.lcard:nth-child(3) { top: calc(var(--nav-h) + 3.95rem); }
.lcard__body { padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; gap: var(--space-md); }
.lcard__t { font-size: var(--text-2xl); letter-spacing: -0.025em; max-width: 16ch; }
.lcard__d { color: var(--on-dark-2); max-width: 44ch; }
.lcard__media { position: relative; overflow: hidden; }
.lcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.03); }
.lcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--plum-800) 0%, rgba(30, 12, 54, 0) 45%); }
.landlord__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); align-items: center; justify-content: center; margin-top: var(--space-2xl); }

/* ----------------------------- INTERLUDE (inset panel) ------------------ */
.interlude { position: relative; min-height: 88svh; display: grid; place-items: center; text-align: center; color: #fff; background: var(--plum-900); }
.interlude__media { position: absolute; inset: 0; border-radius: var(--r-panel); overflow: hidden; }
.interlude__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) contrast(1.05) brightness(0.6); transform: scale(1.14); transition: transform 4s var(--ease-out); }
.interlude.in .interlude__media img { transform: scale(1); }
.interlude__scrim { position: absolute; inset: 0; border-radius: var(--r-panel); background: radial-gradient(90% 90% at 50% 50%, rgba(109, 40, 217, 0.35), rgba(21, 5, 34, 0.78)); }
.interlude__line { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl); letter-spacing: -0.03em; max-width: 22ch; padding-inline: var(--gutter); line-height: 1.06; }
.interlude__line .w { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity 0.6s var(--ease-out), transform 0.75s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.interlude.in .interlude__line .w { opacity: 1; transform: none; }

/* scroll-linked: the words animate in and back out as you scroll through */
@supports (animation-timeline: view()) {
  .interlude__line .w {
    opacity: 0; transform: translateY(0.5em); transition: none;
    animation: wordIn linear both;
    animation-timeline: view();
    /* short per-word duration, wide stagger, so the words visibly cascade
       across the section's pass rather than firing as one block */
    animation-range: cover calc(8% + (var(--i) * 3.5%)) cover calc(20% + (var(--i) * 3.5%));
  }
  .interlude__media img {
    transition: none;
    animation: imgPush linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}
@keyframes wordIn { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes imgPush { from { transform: scale(1.18); } to { transform: scale(1); } }

/* ----------------------------- PROOF (record index) --------------------- */
.proof__statement { font-size: var(--text-3xl); letter-spacing: -0.03em; max-width: 68rem; }
.proof__grid { margin-top: var(--space-2xl); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-2xl); align-items: center; }
.proof__grid > * { min-width: 0; }
.proof__media { position: relative; padding-bottom: var(--space-xl); }
.proof__media > img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.proof__quote { position: absolute; right: calc(-1 * var(--space-lg)); bottom: 0; max-width: 24rem; background: var(--card); color: var(--ink); padding: var(--space-lg); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.proof__quote p { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.35; letter-spacing: -0.01em; }
.proof__quote footer { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--ink-2); }
.proof__quote b { color: var(--ink); }
.records { border-top: 1px solid var(--line-d); }
.record { display: grid; grid-template-columns: minmax(7rem, 0.26fr) 1fr; gap: var(--space-lg) var(--space-xl); align-items: start; padding-block: var(--space-xl); border-bottom: 1px solid var(--line-d); transition: background-color 0.45s var(--ease-out); }
.record:hover { background-color: rgba(139, 92, 246, 0.07); }
.record__metric { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 1.8rem + 5.5vw, 6.5rem); line-height: 0.8; letter-spacing: -0.045em; color: var(--purple-glow); transition: transform 0.5s var(--ease-spring); white-space: nowrap; }
.record:hover .record__metric { transform: translateX(6px); }
.record__ord { font-size: 0.3em; vertical-align: top; margin-left: 0.12em; color: var(--on-dark-2); letter-spacing: 0; }
.record__body h3 { font-size: var(--text-xl); }
.record__body p { color: var(--on-dark-2); margin-top: var(--space-xs); max-width: 62ch; }

/* ----------------------------- HISTORY TIMELINE -------------------------- */
.tlb__h { font-size: var(--text-3xl); letter-spacing: -0.03em; margin-bottom: var(--space-2xl); }
.tlb { position: relative; display: grid; gap: clamp(4rem, 8vw, 8rem); }
.tlb::before { content: ""; position: absolute; inset-block: 0; left: 50%; width: 2px; border-radius: 2px; background: var(--lilac-2); }
.tlb__entry { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.tlb__entry::after { content: ""; position: absolute; left: 50%; top: 0.5em; width: 1.15rem; height: 3px; border-radius: 3px; background: var(--purple); transform: translateX(-50%); }
.tlb__year { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 1.8rem + 5.5vw, 6.5rem); letter-spacing: -0.045em; line-height: 0.9; color: var(--purple-deep); }
.tlb__entry:nth-child(odd) .tlb__year { grid-column: 1; text-align: right; }
.tlb__entry:nth-child(odd) .tlb__body { grid-column: 2; }
.tlb__entry:nth-child(even) .tlb__year { grid-column: 2; grid-row: 1; }
.tlb__entry:nth-child(even) .tlb__body { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
.tlb__body h3 { font-size: var(--text-xl); }
.tlb__body p { margin-top: var(--space-xs); color: var(--ink-2); max-width: 46ch; }
.tlb__entry:nth-child(even) .tlb__body p { margin-left: auto; }
.tlb__body img { margin-top: var(--space-md); width: 100%; max-height: 20rem; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* ----------------------------- CAREERS ---------------------------------- */
.careers__title { font-size: var(--text-3xl); letter-spacing: -0.03em; max-width: 20ch; margin-bottom: var(--space-2xl); }
.careers__body { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); align-items: center; }
.careers__body > * { min-width: 0; }
.careers__lead { color: var(--ink-2); max-width: 52ch; }
.careers__lead + .careers__lead { margin-top: var(--space-md); }
.careers__cta { margin-top: var(--space-lg); }
#careers { border-radius: var(--r-panel); }
.careers__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--lilac-2); box-shadow: var(--shadow); }
.careers__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.careers__media:hover img { transform: scale(1.04); }

/* ----------------------------- FOOTPRINT / MAP -------------------------- */
.footprint__head { margin-bottom: var(--space-xl); max-width: 60rem; }
.footprint__title { font-size: var(--text-3xl); letter-spacing: -0.03em; }
.footprint__sub { color: var(--on-dark-2); max-width: 46ch; margin-top: var(--space-sm); }

.footprint__body { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--space-lg); align-items: stretch; }
.mapside { display: grid; }
.mapwrap { border-radius: var(--r-xl); overflow: hidden; background: var(--plum-800); border: 1px solid var(--line-d); }
.mapwrap__tabs { display: flex; gap: 0.4rem; padding: 0.9rem; border-bottom: 1px solid var(--line-d); }
.tab { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--text-sm); color: var(--on-dark-2); transition: background 0.3s, color 0.3s; }
.tab .tab__c { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--on-dark-3); }
.tab:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.tab.is-active { background: var(--purple); color: #fff; }
.tab.is-active .tab__c { color: rgba(255, 255, 255, 0.8); }
.map { position: relative; aspect-ratio: 14 / 10; }
.map__region { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out); }
.map__region.is-active { opacity: 1; visibility: visible; }
.map__img { width: 100%; height: 100%; object-fit: contain; filter: invert(0.92) hue-rotate(220deg) saturate(1.15) brightness(0.95); opacity: 0.5; }
.pin { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; }
.pin__dot { width: 0.85rem; height: 0.85rem; border-radius: var(--r-pill); background: var(--purple-bright); transition: box-shadow 0.4s, transform 0.4s var(--ease-spring); }
.pin--soon .pin__dot { background: transparent; border: 2px solid var(--purple-glow); }
.pin__label { position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; font-size: var(--text-xs); font-weight: 600; background: var(--plum-700); color: #fff; padding: 0.28rem 0.65rem; border-radius: var(--r-pill); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; border: 1px solid var(--line-d); }
.pin:hover .pin__dot, .pin:focus-visible .pin__dot, .pin.active .pin__dot { transform: scale(1.4); box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.22); }
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.active .pin__label { opacity: 1; transform: translateX(-50%) translateY(0); }

.register { background: var(--plum-800); border: 1px solid var(--line-d); border-radius: var(--r-xl); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.register[hidden] { display: none; } /* explicit display above would otherwise defeat [hidden] */
.register li { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--space-sm); padding: 0.95rem 1.35rem; border-bottom: 1px solid var(--line-d); transition: background 0.3s; }
.register li:last-child { border-bottom: 0; }
.register li:hover, .register li.active { background: rgba(139, 92, 246, 0.14); }
.register__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.register__status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--text-sm); color: var(--on-dark-2); }
.mark { width: 0.5rem; height: 0.5rem; border-radius: var(--r-pill); }
.mark--open { background: var(--purple-glow); }
.mark--soon { background: transparent; border: 1.5px solid var(--on-dark-3); }

/* ------------------- SPLIT CTA + FOOTER PANEL (the seam) ---------------- */
/* the dark ground runs straight through to the footer; the footer panel is
   one tonal step lighter so the rounded seam still reads without a light gap */
.contact { background: var(--plum-900); color: var(--on-dark); padding-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); position: relative; z-index: 2; margin-bottom: calc(var(--cta-overlap) * -1); }
.splitcol { border-radius: var(--r-xl); padding: clamp(1.75rem, 1.2rem + 3vw, 3.5rem); display: flex; flex-direction: column; gap: var(--space-md); min-height: 22rem; justify-content: center; position: relative; overflow: hidden; }
.splitcol--land { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.splitcol--land::after { content: ""; position: absolute; right: -20%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: var(--r-pill); background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%); }
/* hairline keeps the box readable where it crosses onto the footer panel */
.splitcol--team { background: var(--plum-700); color: var(--on-dark); border: 1px solid var(--line-d); }
.splitcol h2 { font-size: var(--text-2xl); position: relative; z-index: 1; }
.splitcol p { color: rgba(255, 255, 255, 0.85); max-width: 36ch; position: relative; z-index: 1; }
.splitcol--team p { color: var(--on-dark-2); }
.splitcol__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-top: auto; position: relative; z-index: 1; }

.footer {
  position: relative; z-index: 1;
  background: var(--plum-850); color: var(--on-dark);
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  border-top: 1px solid var(--line-d);
  padding-top: calc(var(--cta-overlap) + var(--space-2xl));
  padding-bottom: var(--space-xl);
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-xl); }
.footer__brand p { color: var(--on-dark-2); max-width: 44ch; margin-top: var(--space-md); }
.footer__col h4 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); color: var(--on-dark); margin-bottom: var(--space-sm); letter-spacing: 0; }
.footer__col li { padding-block: 0.25rem; }
/* footer links use the same highlighter language as the text links */
.footer__col a {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.14em 0.45em; margin-left: -0.45em; border-radius: var(--r-sm);
  color: var(--on-dark-2); transition: color 0.3s var(--ease-out);
}
.footer__col a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--purple); border-radius: var(--r-sm); transform: scaleX(0); transform-origin: left center; transition: transform 0.42s var(--ease-out); }
.footer__col a:hover, .footer__col a:focus-visible { color: #fff; }
.footer__col a:hover::before, .footer__col a:focus-visible::before { transform: scaleX(1); }
.footer__pack { color: var(--purple-glow) !important; font-weight: 600; }
.footer__pack:hover { color: #fff !important; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: 1px solid var(--line-d); color: var(--on-dark-3); font-size: var(--text-sm); }
.footer__bottom a { color: var(--purple-glow); transition: color 0.3s; }
.footer__bottom a:hover { color: #fff; }

/* ----------------------------- RESPONSIVE ------------------------------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta .btn--primary { display: none; }
  /* on phones the bar itself scrolls away with the page, logo included.
     Only the menu button is fixed, and it never takes a bar background. */
  .nav, .nav.stuck { position: absolute; background: transparent; box-shadow: none; }
  /* Normal header height, with the overlay head brought up to meet it, so the
     logo holds its position when the menu opens. */
  .nav__inner { padding-block: 1.3rem; }
  .nav__toggle { display: inline-flex; position: fixed; top: 0.92rem; right: var(--gutter); z-index: 120; }
  .mobile-menu { padding-top: 0.65rem; }
  .mobile-menu__head { padding-top: 0; }
  /* the hero sits over brighter parts of the photo on a narrow crop */
  .hero__scrim { background:
    linear-gradient(185deg, rgba(21, 5, 34, 0.72) 0%, rgba(21, 5, 34, 0.42) 24%, rgba(21, 5, 34, 0.78) 56%, rgba(21, 5, 34, 0.97) 100%),
    radial-gradient(130% 70% at 18% 94%, rgba(109, 40, 217, 0.6) 0%, rgba(109, 40, 217, 0) 58%); }
  .hero__headline { text-shadow: 0 2px 26px rgba(21, 5, 34, 0.6); }
  .hero__sub { text-shadow: 0 1px 14px rgba(21, 5, 34, 0.55); }
  .operator__head, .operator__body, .careers__body, .footprint__body, .proof__grid { grid-template-columns: 1fr; }
  .careers__media { max-width: 26rem; }
  .proof__media { padding-bottom: 0; }
  .proof__quote { position: relative; right: auto; bottom: auto; margin-top: calc(-1 * var(--space-xl)); margin-left: var(--space-lg); }
  .tlb::before { left: 0.5rem; }
  /* The whole entry clears the spine, so body copy and photos never cross it. */
  .tlb__entry, .tlb__entry:nth-child(even) { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 2.5rem; }
  .tlb__entry:nth-child(odd) .tlb__year, .tlb__entry:nth-child(even) .tlb__year { grid-column: 1; grid-row: auto; text-align: left; padding-left: 0; }
  .tlb__entry:nth-child(odd) .tlb__body, .tlb__entry:nth-child(even) .tlb__body { grid-column: 1; grid-row: auto; text-align: left; justify-self: start; }
  .tlb__entry:nth-child(even) .tlb__body p { margin-left: 0; }
  .tlb__entry::after { left: 0.5rem; transform: none; width: 1.5rem; }
  .lcard { grid-template-columns: 1fr; min-height: auto; }
  .lcard__media { min-height: 15rem; order: -1; }
  .lcard__media::after { background: linear-gradient(0deg, var(--plum-800) 0%, rgba(30, 12, 54, 0) 65%); }
  .lcard, .lcard:nth-child(2), .lcard:nth-child(3) { position: static; }
  .stack { gap: var(--space-lg); }
  .operator__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .record { grid-template-columns: 1fr; gap: var(--space-sm); }
  /* rules sit only between the records, not around the group */
  .records { border-top: 0; }
  .record:last-child { border-bottom: 0; }
  .splitcol { min-height: 0; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
}

/* ----------------------------- REDUCED MOTION --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .cycle__w:not(.on) { display: none; }
  .figure__rule::after { transform: scaleX(1); }
  .interlude__line .w { animation: none !important; opacity: 1; transform: none; }
  .interlude__media img { animation: none !important; transform: scale(1); }
}
