/* ------------------------------------------------------------------
   Higher Agency — single-page stylesheet
   Editorial / operator aesthetic. Apple-polish meets Bloomberg-terminal.
   ------------------------------------------------------------------ */

:root {
  --bg:          #0B0F14;
  --bg-2:        #0F141B;
  --surface:     #FAF8F4;   /* warm paper */
  --surface-2:   #F2EEE6;
  --ink:         #11151B;
  --ink-2:       #2C333D;
  --muted:       #6B7280;
  --muted-2:     #98A1AE;
  --line:        #E6E1D6;
  --line-dark:   #1B232E;
  --accent:      #FF6B35;   /* activation orange */
  --accent-2:    #E85A24;
  --gold:        #C9A86A;
  --neural:      #1B365D;

  /* Deliberate opacity tiers for white text on ink surfaces. */
  --w-100: rgba(251, 248, 241, 1);
  --w-70:  rgba(251, 248, 241, 0.72);
  --w-50:  rgba(251, 248, 241, 0.52);
  --w-30:  rgba(251, 248, 241, 0.32);

  --radius:      14px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 0 rgba(17, 21, 27, 0.04);
  --shadow:      0 8px 32px -12px rgba(17, 21, 27, 0.18);

  --serif:       "Fraunces", "Times New Roman", Georgia, serif;
  --sans:        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container:   1180px;
  --gutter:      clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "kern", "liga", "calt";
  font-variant-numeric: oldstyle-nums proportional-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}


::selection {
  background: rgba(255,107,53,.28);
  color: var(--ink);
}

/* Keyboard focus — clean accent ring. Mouse clicks suppressed via focus-visible. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Webkit scrollbar — warm and thin, matches the paper surface. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(17,21,27,.18);
  border-radius: 999px;
  border: 2px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover { background: rgba(17,21,27,.32); }

/* Display serif headlines — tighter kerning, discretionary ligatures. */
.hero__h,
.h2,
.stat__num,
.port__num,
.tier__price,
.member__name,
.card__h,
.port__h {
  font-feature-settings: "ss01", "kern", "liga", "dlig", "calt";
  font-variant-numeric: lining-nums proportional-nums;
}

/* Long-form reading copy keeps oldstyle numerals and reads like print. */
.hero__lede,
.lede,
.section__lede,
.card p,
.port p,
.tier__pitch,
.faq__a p,
.member__body p {
  font-feature-settings: "kern", "liga", "calt";
  font-variant-numeric: oldstyle-nums proportional-nums;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* Editorial link: underline sits below the baseline with breathing room, not
   glued to the descenders. Slight color deepening on hover — no pop. */
a.link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(255,107,53,.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a.link:hover {
  color: var(--accent-2);
  text-decoration-color: var(--accent);
}
a.link--invert { color: var(--accent); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 14px;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ----------------- NAV ----------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250,248,244, .95);
}
.nav__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--ink);
  line-height: 0;
}
.brand__wordmark {
  display: block;
  width: auto;
  height: 44px;
  color: currentColor;
  transition: transform .2s ease;
}
.brand:hover .brand__wordmark { transform: translateY(-1px); }

@media (max-width: 560px) {
  .brand__wordmark { height: 36px; }
}

.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14.5px;
}
.nav__links a {
  position: relative;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links a.btn { color: var(--ink); }

@media (max-width: 820px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ----------------- BUTTONS ----------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1 var(--sans);
  letter-spacing: -0.005em;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 14px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; padding: 16px 20px; }

.btn--primary {
  background: var(--accent);
  color: #11151B;
  box-shadow: 0 6px 22px -10px rgba(255,107,53,.7), inset 0 0 0 1px rgba(0,0,0,.08);
}
.btn--primary:hover { background: var(--accent-2); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17,21,27,.18);
}
.btn--ghost:hover { border-color: var(--ink); }

/* ----------------- HERO ----------------- */
.hero {
  position: relative;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(32px, 4vw, 56px);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

/* Motion backdrop — CSS-native ambient. Designed to accept a real <video>
   later via the same .hero__bg slot (video would sit at z:-1 inside). */
.hero__bg {
  position: absolute; inset: -10% -10% -10% -10%;
  z-index: -1;
  pointer-events: none;
  --scroll: 0px;
  transform: translate3d(0, var(--scroll), 0);
  will-change: transform;
}
.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
}
/* Base: very soft grid + warm corners. Lives under the film layer. */
.hero__bg::before {
  background:
    radial-gradient(58% 34% at 82% 4%,  rgba(255,107,53,.10) 0%, transparent 68%),
    radial-gradient(52% 36% at 6% 10%,  rgba(27,54,93,.08)   0%, transparent 65%),
    radial-gradient(72% 44% at 50% 105%, rgba(255,107,53,.04) 0%, transparent 72%);
}
.hero__bg::after {
  background-image:
    linear-gradient(to right, rgba(17,21,27,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,21,27,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(82% 62% at 50% 32%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(82% 62% at 50% 32%, #000 30%, transparent 82%);
  opacity: .55;
}

/* Film layer: large warm radial blobs deformed by SVG turbulence so the
   motion reads as fluid footage, not keyframed CSS. */
.hero__bg-svg { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero__bg-film {
  position: absolute; inset: -8%;
  filter: url(#hero-liquify) blur(8px);
  will-change: filter, transform;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
}
.hero__bg-glow--a {
  width: 70vmax; height: 70vmax;
  left: -12vmax; top: -22vmax;
  background: radial-gradient(circle at center,
    rgba(255,107,53,0.55) 0%,
    rgba(255,107,53,0.18) 38%,
    rgba(255,107,53,0) 68%);
  animation: filmDriftA 44s ease-in-out infinite alternate;
}
.hero__bg-glow--b {
  width: 46vmax; height: 46vmax;
  right: -8vmax; top: 8vmax;
  background: radial-gradient(circle at center,
    rgba(232,90,28,0.42) 0%,
    rgba(232,90,28,0.12) 42%,
    rgba(232,90,28,0) 70%);
  animation: filmDriftB 60s ease-in-out infinite alternate;
}
.hero__bg-glow--c {
  width: 54vmax; height: 54vmax;
  left: 28vmax; bottom: -26vmax;
  background: radial-gradient(circle at center,
    rgba(27,54,93,0.22) 0%,
    rgba(27,54,93,0.06) 50%,
    rgba(27,54,93,0) 72%);
  animation: filmDriftC 72s ease-in-out infinite alternate;
}
.hero__bg-glow--d {
  width: 28vmax; height: 28vmax;
  left: 40vmax; top: 24vmax;
  background: radial-gradient(circle at center,
    rgba(255,154,108,0.30) 0%,
    rgba(255,154,108,0) 68%);
  animation: filmDriftD 36s ease-in-out infinite alternate;
}

@keyframes filmDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(5vmax, 3vmax, 0) scale(1.08); }
}
@keyframes filmDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4vmax, 4vmax, 0) scale(0.94); }
}
@keyframes filmDriftC {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-6vmax, -3vmax, 0) scale(1.05); }
}
@keyframes filmDriftD {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  100% { transform: translate3d(3vmax, -2vmax, 0) scale(1.12); opacity: 0.55; }
}

/* Subtle paper vignette — keeps edges settling into the warm paper. */
.hero__bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 40%, transparent 55%, rgba(250,248,244,0.85) 100%);
  pointer-events: none;
}

/* Fine paper grain — the tell between "CSS gradient" and "footage". */
.hero__bg-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(rgba(11,15,20,0.9) 1px, transparent 1.4px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

/* Real-footage path: when a <video> is uncommented in the markup, it covers
   the CSS film layer automatically. */
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero__bg:has(.hero__bg-video) .hero__bg-film,
.hero__bg:has(.hero__bg-video) .hero__bg-vignette { opacity: 0.45; }
.hero__inner { position: relative; z-index: 1; }

/* Legacy selector kept as alias so the inline .grid-bg div still styles out
   harmlessly if an old build is cached. */
.grid-bg { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 10px;
  background: rgba(17,21,27,.04);
  border: 1px solid rgba(17,21,27,.08);
  border-radius: 999px;
  font: 500 13px/1 var(--sans);
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2BCB6E;
  box-shadow: 0 0 0 3px rgba(43,203,110,.18);
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43,203,110,.16); }
  50%      { box-shadow: 0 0 0 6px rgba(43,203,110,.04); }
}

.hero__h {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 20px 0 20px;
  color: var(--ink);
  max-width: 17ch;
  font-optical-sizing: auto;
}
.hero__h em {
  font-style: italic;
  font-weight: 350;
  color: var(--accent);
  letter-spacing: -0.05em;
}


.hero__lede {
  max-width: 58ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.hero__stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.4vw, 28px);
}
.hero__stats li { min-width: 0; }

.stat__num {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat__num span {
  color: var(--accent);
  font-size: 0.52em;
  margin-left: 4px;
  font-weight: 400;
}
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 30ch;
  font-feature-settings: "kern", "liga";
}

@media (max-width: 620px) {
  .hero__stats { grid-template-columns: 1fr; gap: 40px; }
}

/* ----------------- TICKER ----------------- */
.ticker {
  position: relative;
  background: var(--ink);
  color: var(--w-70);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 14px 0;
  /* Feather the ticker's left/right edges so text drifts in and out of view
     instead of hard-cutting at the viewport. */
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ticker__track {
  display: flex; gap: 36px;
  white-space: nowrap;
  font: 500 13.5px/1 var(--mono);
  letter-spacing: 0.02em;
  animation: scroll 50s linear infinite;
  width: max-content;
}
.ticker__item em {
  font-style: normal;
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ticker__sep { color: var(--accent); opacity: .8; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------- SECTIONS ----------------- */
.section {
  padding: clamp(44px, 5.5vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.section--alt { background: var(--surface-2); }
.section--dark {
  background: var(--bg);
  color: var(--w-70);
  border-color: var(--line-dark);
  position: relative;
  overflow: hidden;
}
/* Feather top + bottom — blends ink into surrounding paper so the hard edge
   between sections softens into a cinematic transition. */
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 72px;
  pointer-events: none;
  z-index: 0;
}
.section--dark::before {
  top: 0;
  background: linear-gradient(to bottom, var(--surface-2) 0%, rgba(15,20,27,0) 100%);
  opacity: .18;
}
.section--dark::after {
  bottom: 0;
  background: linear-gradient(to top, var(--surface-2) 0%, rgba(15,20,27,0) 100%);
  opacity: .18;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--cta {
  background: linear-gradient(180deg, #0B0F14 0%, #0E1620 100%);
  color: var(--w-70);
  border-color: var(--line-dark);
}

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  font-variant-caps: all-small-caps;
  font-feature-settings: "smcp", "c2sc", "ss01";
  text-transform: lowercase;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.kicker--invert { color: var(--muted-2); border-color: rgba(251,248,241,.10); }

.h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  max-width: 24ch;
  color: var(--ink);
  font-optical-sizing: auto;
}
.h2--wide { max-width: 30ch; }
.h2--invert { color: var(--w-100); }
.h2 .accent { color: var(--accent); font-style: italic; letter-spacing: -0.045em; }

.section__lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 32px;
}

.lede {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}
.lede--invert { color: var(--w-70); }

/* ----------------- SPLIT (thesis) ----------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.contrast {
  list-style: none; padding: 0; margin: 36px 0 0;
  border-top: 1px solid var(--line);
}
.contrast li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.contrast li:first-child { font-weight: 600; padding-top: 18px; }
.contrast__bad { color: var(--muted); }
.contrast__good { color: var(--accent); }
.contrast li > span:first-child { color: var(--muted); }
.contrast li > span:last-child  { color: var(--ink); font-weight: 500; }
.contrast li:first-child > span:first-child { color: var(--muted) !important; }
.contrast li:first-child > span:last-child  { color: var(--accent) !important; font-weight: 700; letter-spacing: -0.005em; }

@media (max-width: 600px) {
  .contrast li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ----------------- APPROACH ----------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(17,21,27,.15);
}
.card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 18px;
}
.card__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.card p { color: var(--ink-2); margin: 0 0 18px; font-size: 15.5px; }
.card__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.card__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  display: flex; gap: 10px;
}
.card__list li:last-child { border-bottom: 0; }
.card__list li::before {
  content: "→";
  color: var(--accent);
  flex: none;
}

/* ----------------- PORTFOLIO ----------------- */
.portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 1000px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .portfolio { grid-template-columns: 1fr; } }

.port {
  background: var(--surface);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .2s ease;
}
.port:hover { background: #fff; }

.port__top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.port__pill {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.port__num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.port__num span { color: var(--accent); font-size: 0.7em; }
.port__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 4px 0 4px;
}
.port p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ----------------- ALEXANDRIA ----------------- */
.alex {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .alex { grid-template-columns: 1fr; } }

.alex__list {
  list-style: none; padding: 0; margin: 32px 0;
  display: grid; gap: 0;
  border-top: 1px solid rgba(251,248,241,.12);
}
.alex__list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(251,248,241,.12);
  color: var(--w-70);
  font-size: 15.5px;
}
.alex__list li strong { color: var(--w-100); font-weight: 600; }

/* Platform diagram: a 170-dot matrix. 12 dots pulse in accent to show a
   routed subset. Legend below names the two states — clean data-viz, no
   editorial chrome. */
.alex__viz {
  display: flex; flex-direction: column;
  gap: 20px;
}

.alex__grid {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  gap: 10px;
}
.alex__cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.alex__cell::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(251,248,241,.18);
  transition: background .3s ease, box-shadow .3s ease;
}
.alex__cell.is-on::before {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,107,53,.16), 0 0 10px rgba(255,107,53,.45);
}
.alex__cell.is-on {
  animation: alexPulse 4.2s ease-in-out infinite;
  animation-delay: calc(var(--pulse-i, 0) * 120ms);
}
@keyframes alexPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.72; }
}

.alex__legend {
  display: flex; flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(251,248,241,.10);
}
.alex__legend-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--w-70);
  padding: 6px 0;
}
.alex__swatch {
  width: 7px; height: 7px;
  border-radius: 50%;
  justify-self: center;
}
.alex__swatch--on  { background: var(--accent); box-shadow: 0 0 0 2px rgba(255,107,53,.14); }
.alex__swatch--off { background: rgba(251,248,241,.22); }
.alex__legend-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--w-100);
  letter-spacing: 0;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ----------------- TIERS ----------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tier:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tier--featured {
  background: var(--ink);
  color: var(--w-70);
  border-color: var(--ink);
}
.tier--featured .tier__name,
.tier--featured .tier__price { color: var(--w-100); }
.tier--featured .tier__time { color: var(--w-50); }
.tier--featured .tier__pitch { color: var(--w-70); }
.tier--featured .tier__list li { color: var(--w-70); border-color: rgba(251,248,241,.10); }
.tier--featured .tier__list li strong { color: var(--w-100); }

.tier__flag {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--accent);
  color: #11151B;
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
}
.tier__head { margin-bottom: 18px; }
.tier__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.tier__price {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tier__time {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.tier__pitch { color: var(--ink-2); margin: 0 0 18px; font-size: 15.5px; }
.tier__list {
  list-style: none; padding: 0; margin: auto 0 0;
  border-top: 1px solid var(--line);
}
.tier__list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  display: flex; gap: 10px;
}
.tier__list li:last-child { border-bottom: 0; }
.tier__list li::before { content: "✓"; color: var(--accent); flex: none; font-weight: 700; }

/* ----------------- VERTICALS ----------------- */
.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 900px) { .verticals { grid-template-columns: 1fr; } }
.vert {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.vert__tier {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.vert ul { padding: 0; margin: 0; list-style: none; }
.vert li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.vert li:last-child { border-bottom: 0; }
.vert li strong { color: var(--ink); }

/* ----------------- TEAM ----------------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.member__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(120% 80% at 30% 30%, rgba(255,107,53,.7) 0%, transparent 60%),
    linear-gradient(140deg, #1B365D 0%, #0B0F14 100%);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.member__photo--alt {
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(201,168,106,.45) 0%, transparent 60%),
    linear-gradient(140deg, #11151B 0%, #2C333D 100%);
}
.member__photo--alt2 {
  background:
    radial-gradient(120% 80% at 50% 70%, rgba(255,107,53,.4) 0%, transparent 60%),
    linear-gradient(140deg, #0F141B 0%, #1B365D 100%);
}
.member--hiring .member__photo {
  background:
    linear-gradient(140deg, #11151B 0%, #1A1F27 100%);
  border: 1px dashed rgba(255,107,53,.45);
}
.member--hiring .member__initials {
  color: rgba(255,107,53,.75);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  font-size: 56px;
}
.member__initials {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.member__role {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.member__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.member p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ----------------- FAQ ----------------- */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 48px 24px 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 0 24px; }
.faq__a p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 70ch; }

/* ----------------- CTA ----------------- */
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

.cta__bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  border-top: 1px solid rgba(251,248,241,.12);
}
.cta__bullets li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(251,248,241,.12);
  color: var(--w-70);
  font-size: 15.5px;
  display: flex; gap: 10px;
}
.cta__bullets li::before { content: "→"; color: var(--accent); flex: none; }

.cta__form {
  background: rgba(251,248,241,.04);
  border: 1px solid rgba(251,248,241,.10);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(251,248,241,.05);
  border: 1px solid rgba(251,248,241,.14);
  color: var(--w-100);
  font: 400 15px/1.4 var(--sans);
  padding: 12px 14px;
  border-radius: 10px;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(251,248,241,.07);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }

.cta__form .btn--full { grid-column: 1 / -1; margin-top: 4px; }
.cta__or {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 520px) {
  .cta__form { grid-template-columns: 1fr; }
}

/* ----------------- FOOTER ----------------- */
.footer {
  background: var(--ink);
  color: var(--w-70);
  padding: clamp(56px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer__wordmark {
  color: var(--w-100);
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(251,248,241,.10);
}
.footer__wordmark svg {
  display: block;
  width: min(720px, 100%);
  height: auto;
}
.footer__row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  font-size: 13.5px;
}
.footer__copy { color: var(--w-50); }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--w-70); text-decoration: none; transition: color .15s ease; }
.footer__links a:hover { color: var(--accent); }

/* ----------------- REVEAL on scroll ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Hero cascade — snappy pacing. Eyebrow → headline → lede → CTAs → stats. */
.hero .eyebrow        { --reveal-delay: 40ms; }
.hero__h              { --reveal-delay: 160ms; }
.hero__lede           { --reveal-delay: 440ms; }
.hero__cta            { --reveal-delay: 620ms; }
.hero__stats          { --reveal-delay: 800ms; }

/* ----------------- BLUR TEXT (word-by-word reveal) ----------------- */
[data-blur-text] { --blur-step: 55ms; }
[data-blur-text] .blur-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(36px);
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    filter  .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--i, 0) * var(--blur-step));
  will-change: opacity, filter, transform;
}
[data-blur-text].blur-text--in .blur-word {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
/* When blur text is the headline, override the generic .reveal rules so the
   per-word animation drives the whole block and nothing double-animates. */
[data-blur-text].reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-blur-text] .blur-word { opacity: 1; transform: none; filter: none; }
  .hero__bg { animation: none !important; }
  html { scroll-behavior: auto; }
}
