/* Page styles for GSB site. Tokens are loaded separately from /tokens/gsb-tokens.css */

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: var(--t-normal);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--bg); color: var(--ink); border: 1px solid var(--neon); border-radius: 0; padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; }
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section + .section { border-top: 1px solid var(--rule); }

/* =========================================================
   Wordmark
   ========================================================= */
.wm-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.wm-formerly {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 4px;
}
.wm {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.05em;
  word-spacing: -0.08em;
  white-space: nowrap;
  font-size: 26px;
  color: var(--ink);
}
.wm-green {
  color: var(--neon);
}
.wm::after {
  content: ".";
  color: var(--neon);
  margin-left: 0.04em;
  text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}
@media (max-width: 480px) {
  .wm { font-size: 13px; }
  .wm-formerly { font-size: 8px; letter-spacing: 0.12em; }
}

/* =========================================================
   Header / nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
/* Wordmark renders smaller in the sticky nav than in the hero/footer */
.nav .wm { font-size: 22px; }
.nav-links a {
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--neon);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--neon);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  border: none;
  cursor: pointer;
}
.cta:hover { transform: translateY(-1px); background: #1aff8a; }
.cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.cta-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--ink); }

/* Desktop — a more substantial top bar: bigger logo, taller padding, larger
   nav links + CTA (mobile/tablet nav is left as-is). */
@media (min-width: 721px) {
  .nav-inner { padding-top: 24px; padding-bottom: 24px; }
  .nav .wm { font-size: 30px; }
  .wm-formerly { font-size: 11px; letter-spacing: 0.16em; }
  .nav-links { font-size: 15px; gap: 30px; }
  .cta { padding: 12px 22px; font-size: 13px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .nav .cta { display: none; }
  .nav-inner { padding-top: 14px; padding-bottom: 14px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  /* Shorter than a full fold so the stats strip is visible on load on a
     standard desktop, and the mission sits closer to the nav. */
  min-height: clamp(440px, 56vh, 640px);
  min-height: clamp(440px, 56svh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}
.hero::before {
  /* subtle grid texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-meta {
  display: flex;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: var(--t-tight);
  text-wrap: balance;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.hero-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.hero-headline .accent { color: var(--neon); }
.nowrap { white-space: nowrap; }

.hero-sub {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--ink-dim);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* =========================================================
   STATS strip
   ========================================================= */
.stats {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats .section-rail { margin: 1.25rem 0; }
.rail-br { display: none; }
@media (max-width: 540px) { .rail-br { display: inline; } }
.stat {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0.75rem, 1.5vw, 1.5rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:last-child { border-right: none; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: var(--t-display);
  line-height: 1;
}
.stat-value .unit {
  font-size: 0.5em;
  color: var(--muted);
  margin-left: 0.2em;
  font-weight: 400;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n) { border-right: none; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* =========================================================
   Section head
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: end;
}
.section-head-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--t-mono);
  color: var(--muted);
  text-transform: uppercase;
  border-top: 1px solid var(--rule-strong);
  padding-top: 12px;
}
.section-head-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: var(--t-display);
  text-wrap: balance;
}
.section-head-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-dim);
}
.section-head-title .accent { color: var(--neon); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
}

/* =========================================================
   Portfolio — 4-column brand table
   ========================================================= */
.brand-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  background: var(--bg-alt);
}
.brand-cell {
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: clamp(260px, 26vw, 340px);
  transition: background 0.25s var(--ease);
}
.brand-cell:hover { background: var(--bg-elev); }
.brand-cell-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1875rem;
  letter-spacing: var(--t-display);
  line-height: 1.15;
  text-wrap: balance;
}
.brand-cell-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

/* Right edge: no right border on the last column */
.brand-table .brand-cell:nth-child(4n) { border-right: none; }
/* Bottom edge: no bottom border on the last row */
.brand-table .brand-cell:nth-last-child(-n+4) { border-bottom: none; }

@media (max-width: 900px) {
  .brand-table { grid-template-columns: repeat(2, 1fr); }
  .brand-table .brand-cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .brand-table .brand-cell:nth-child(4n) { border-right: 1px solid var(--rule); }
  .brand-table .brand-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule); }
  .brand-table .brand-cell:nth-child(2n) { border-right: none; }
  .brand-table .brand-cell:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .brand-table { grid-template-columns: 1fr; }
  .brand-table .brand-cell { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .brand-table .brand-cell:last-child { border-bottom: none !important; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-dim);
  max-width: 36ch;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 300px;
  position: relative;
}
.contact-card:last-child { border-right: none; }
.contact-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.5rem;
  color: var(--ink-dim);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.contact-icon svg { width: 100%; height: 100%; display: block; }
.contact-draw {
  stroke: currentColor;
  stroke-width: var(--stroke-icon);
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.contact-icon .contact-vein {
  stroke-width: var(--stroke-vein);
  opacity: 0.55;
}
.contact-card:hover .contact-icon {
  opacity: 1;
  transform: translateY(-2px);
}
.contact-kind {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--ink-dim);
}
.contact-headline {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: var(--t-display);
  font-weight: 500;
  line-height: 1.2;
}
.contact-body {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.55;
}
.contact-link {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s var(--ease);
}
.contact-link:hover { color: var(--neon); }
.contact-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.contact-link:hover::after { transform: translateX(3px); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { border-bottom: 1px solid var(--rule); }
  .contact-card:nth-child(2n) { border-right: none; }
  .contact-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-card:last-child { border-bottom: none; }
}

/* Headquarters — Florida silhouette + address */
.contact-hq {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: auto auto;
  gap: clamp(2rem, 4vw, 4rem);
  justify-content: center;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.contact-hq-map {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 200 / 240;
  color: var(--ink-dim);
}
.contact-hq-map svg { width: 100%; height: 100%; display: block; }
.contact-hq-outline {
  stroke: currentColor;
  stroke-width: var(--stroke-icon);
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: currentColor;
  fill-opacity: 0.04;
  opacity: 0.6;
}
.contact-hq-dot {
  fill: var(--neon);
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.55));
}
.contact-hq-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.4;
}
.contact-hq-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.contact-hq-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.contact-hq-address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  letter-spacing: var(--t-display);
  line-height: 1.3;
  color: var(--ink);
  max-width: 30ch;
}
.contact-hq-note {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 40ch;
}
@media (max-width: 720px) {
  .contact-hq {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-hq-map { max-width: 140px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--rule-strong);
  padding: 4rem 0 2rem;
  font-size: 13px;
  color: var(--muted);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-tagline {
  margin-top: 1rem;
  max-width: 32ch;
  color: var(--ink-dim);
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.footer-mission {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: var(--t-tight);
  color: var(--ink);
  text-wrap: balance;
  text-align: center;
}
.footer-mission em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.footer-mission .accent { color: var(--neon); }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* =========================================================
   About — growth stages (seed → shoot → tree)
   ========================================================= */
.about-lede {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: var(--t-display);
  line-height: 1.2;
  max-width: 28ch;
  text-wrap: balance;
  margin-bottom: 2.5rem;
}
.about-lede em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-dim);
}

.growth-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
}

.growth-stage {
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: background 0.3s var(--ease);
}
.growth-stage + .growth-stage {
  border-left: 1px solid var(--rule);
}
.growth-stage:hover {
  background: var(--bg-elev);
}

/* SVG icons */
.growth-icon {
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  margin-bottom: 0.5rem;
}
.growth-svg {
  width: 100%;
  height: 100%;
}
.growth-svg path,
.growth-svg line,
.growth-svg ellipse,
.growth-svg circle {
  fill: none;
  stroke: var(--neon);
  stroke-width: var(--stroke-icon);
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.growth-svg .growth-vein {
  stroke-width: var(--stroke-vein);
  opacity: 0.5;
}

/* Draw-on animation. 800 dash covers the longest forest paths so nothing
   under-draws; ~1.4s on the brand easing reads as authored growth, not loading. */
.growth-draw {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.growth-stage.in .growth-draw {
  stroke-dashoffset: 0;
}
/* Stagger each element within a stage */
.growth-stage.in .growth-draw:nth-child(1) { transition-delay: 0s; }
.growth-stage.in .growth-draw:nth-child(2) { transition-delay: 0.15s; }
.growth-stage.in .growth-draw:nth-child(3) { transition-delay: 0.3s; }
.growth-stage.in .growth-draw:nth-child(4) { transition-delay: 0.45s; }
.growth-stage.in .growth-draw:nth-child(5) { transition-delay: 0.6s; }
.growth-stage.in .growth-draw:nth-child(6) { transition-delay: 0.75s; }
.growth-stage.in .growth-draw:nth-child(7) { transition-delay: 0.9s; }
.growth-stage.in .growth-draw:nth-child(8) { transition-delay: 1.05s; }
.growth-stage.in .growth-draw:nth-child(9) { transition-delay: 1.2s; }
.growth-stage.in .growth-draw:nth-child(10) { transition-delay: 1.35s; }
.growth-stage.in .growth-draw:nth-child(11) { transition-delay: 1.5s; }

/* Stagger each stage column */
.growth-stage:nth-child(2) .growth-draw { transition-delay: 0.4s; }
.growth-stage:nth-child(3) .growth-draw { transition-delay: 0.8s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(1) { transition-delay: 0.4s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(2) { transition-delay: 0.55s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(3) { transition-delay: 0.7s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(4) { transition-delay: 0.85s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(5) { transition-delay: 1.0s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(6) { transition-delay: 1.15s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(7) { transition-delay: 1.3s; }
.growth-stage.in:nth-child(2) .growth-draw:nth-child(8) { transition-delay: 1.45s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(1) { transition-delay: 0.8s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(2) { transition-delay: 0.95s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(3) { transition-delay: 1.1s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(4) { transition-delay: 1.25s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(5) { transition-delay: 1.4s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(6) { transition-delay: 1.55s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(7) { transition-delay: 1.7s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(8) { transition-delay: 1.85s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(9) { transition-delay: 2.0s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(10) { transition-delay: 2.15s; }
.growth-stage.in:nth-child(3) .growth-draw:nth-child(11) { transition-delay: 2.3s; }

/* Labels & text */
.growth-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--neon);
}
.growth-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: var(--t-display);
  font-weight: 500;
  line-height: 1.1;
}
.growth-title .accent { color: var(--neon); }
.growth-text {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 32ch;
}

/* Connecting vine below stages */
.growth-vine {
  margin-top: 2rem;
  height: 20px;
  overflow: hidden;
}
.growth-vine-svg {
  width: 100%;
  height: 100%;
}
.growth-vine-path {
  fill: none;
  stroke: var(--neon);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}
.growth-vine.in .growth-vine-path {
  stroke-dashoffset: 0;
}

/* Reveal animation integration */
@media (prefers-reduced-motion: no-preference) {
  html.js .growth-stage,
  html.js .growth-vine {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  html.js .growth-stage.in,
  html.js .growth-vine.in {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 720px) {
  .growth-stages { grid-template-columns: 1fr; }
  .growth-stage + .growth-stage {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-draw { stroke-dashoffset: 0; transition: none; }
  .growth-vine-path { stroke-dashoffset: 0; transition: none; }
}

/* =========================================================
   Reveal animation on scroll
   - Targets start hidden ONLY when JS sets `js` class on <html>
   - This prevents flash-of-visible-content (FOVC) before JS attaches
   - Reduced-motion users skip the animation entirely
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js .section-head,
  html.js .how-cell,
  html.js .value,
  html.js .brand-cell,
  html.js .team-member,
  html.js .contact-card,
  html.js .traj-node,
  html.js .footprint-map {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  html.js .section-head.in,
  html.js .how-cell.in,
  html.js .value.in,
  html.js .brand-cell.in,
  html.js .team-member.in,
  html.js .contact-card.in,
  html.js .traj-node.in,
  html.js .footprint-map.in {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Page anchor offsets (sticky nav)
   ========================================================= */
section[id] { scroll-margin-top: 80px; }


/* How block — Perfect product. Amazing experience. */
.how-block {
  padding-top: clamp(3rem, 5vw, 5rem);
}
.values-block {
  padding-top: clamp(3rem, 5vw, 5rem);
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.how-cell {
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.how-cell + .how-cell {
  border-left: 1px solid var(--rule);
}
.how-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--neon);
}
.how-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--t-display);
}
.how-text .accent { color: var(--neon); }
.how-body {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.55;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  max-width: 42ch;
}
@media (max-width: 720px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-cell + .how-cell { border-left: none; border-top: 1px solid var(--rule); }
}

/* =========================================================
   Principles — five-row editorial list
   ========================================================= */
.principles {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.principle {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.principle:last-child {
  border-bottom: none;
}
.principle:hover {
  background: var(--bg-elev);
}
.principle-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--neon);
  padding-left: clamp(0.5rem, 1.5vw, 1.5rem);
  font-variant-numeric: tabular-nums;
}
.principle-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: clamp(0.5rem, 1.5vw, 1.5rem);
  padding-top: 0.5rem;
}
.principle-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  letter-spacing: var(--t-display);
  font-weight: 500;
  line-height: 1.1;
}
.principle-title .accent { color: var(--neon); }
.principle-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 1.25rem;
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}
.principle-half {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid var(--rule);
  padding-left: clamp(1rem, 2vw, 2rem);
}
.principle-half:first-child {
  border-left: none;
  padding-left: 0;
}
.principle-half-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.principle-half-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: var(--t-display);
  line-height: 1.1;
  margin-top: 0.25rem;
}
.principle-half-title .accent { color: var(--neon); }
.principle-half-text {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0.5rem 0 0;
  max-width: 40ch;
}
@media (max-width: 720px) {
  .principle-pair {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .principle-half {
    border-left: none;
    padding-left: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
  }
  .principle-half:first-child {
    padding-top: 0;
    border-top: none;
  }
}
.principle-text {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .principle {
    grid-template-columns: 1fr;
    gap: 1rem;
    row-gap: 1rem;
  }
  .principle-num {
    padding-left: 0;
    font-size: clamp(3rem, 14vw, 5rem);
  }
  .principle-body { padding-right: 0; }
}

/* =========================================================
   Values — three values, big format (legacy, kept for compatibility)
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}
.value {
  padding: clamp(2rem, 3vw, 2.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  transition: background 0.3s var(--ease);
}
.value:hover { background: var(--bg-elev); }
.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--neon);
}
.value-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: var(--t-display);
  font-weight: 500;
  line-height: 1.1;
}
.value-title .accent { color: var(--neon); }
.value-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-dim);
  line-height: 1.4;
}
.value-body {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
  .value:last-child { border-right: 1px solid var(--rule); }
}

/* =========================================================
   Team — 3×2 grid, sharp cards with round avatars
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  background: var(--bg-alt);
}
.team-member {
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.875rem;
  min-height: 280px;
  transition: background 0.25s var(--ease);
}
.team-member:hover { background: var(--bg-elev); }
.team-member:hover .team-title { color: var(--neon); }
.team-grid .team-member:nth-child(3n) { border-right: none; }
.team-grid .team-member:nth-last-child(-n+3) { border-bottom: none; }

.team-avatar {
  width: clamp(140px, 16vw, 180px);
  height: clamp(140px, 16vw, 180px);
  border-radius: 50%;
  background: var(--neon-deep);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.team-avatar::before {
  font-size: clamp(36px, 4vw, 48px) !important;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  z-index: 0;
}
.team-avatar img { position: relative; z-index: 1; }

.team-name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: var(--t-display);
  font-weight: 500;
  line-height: 1.15;
}
.team-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  line-height: 1.5;
  width: 100%;
  text-wrap: balance;
}
.team-bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  width: 100%;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid .team-member { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .team-grid .team-member:nth-child(3n) { border-right: 1px solid var(--rule); }
  .team-grid .team-member:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .team-grid .team-member:nth-child(2n) { border-right: none; }
  .team-grid .team-member:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .team-member { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .team-grid .team-member:last-child { border-bottom: none !important; }
}

/* =========================================================
   Hero shoot — animated botanical illustration
   ========================================================= */
.shoot-wrap {
  position: absolute;
  right: clamp(4rem, 14vw, 20rem);
  bottom: 0;
  width: clamp(220px, 24vw, 360px);
  height: 95%;
  pointer-events: none;
  z-index: 1;
}
.shoot {
  width: 100%;
  height: 100%;
  aspect-ratio: 360 / 800;
  display: block;
  /* Gentle continuous sway after initial animation */
  transform-origin: 50% 100%;
  animation: shoot-sway 6s ease-in-out 4.8s infinite;
}

.shoot path,
.shoot line,
.shoot ellipse,
.shoot circle {
  fill: none;
  stroke: rgba(240, 240, 238, 0.22);
  stroke-width: var(--stroke-hero);
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shoot .vein { stroke-width: var(--stroke-vein); opacity: 0.55; }
/* The highlighted "new growth" leaf — read as a glowing leaf, not a thin line:
   neon outline (slightly heavier) + a soft neon fill on its blade + a gentle glow. */
.shoot-leaf:nth-of-type(8) path { stroke: var(--neon); stroke-width: 2.5px; }
.shoot .leaf-blade { fill: rgba(0, 230, 118, 0.28); }
.shoot-leaf:nth-of-type(8) { filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.55)); }

/* Stem draws first via dashoffset */
.shoot-stem {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: shoot-draw 4.2s var(--ease) 0.4s forwards;
}

/* Each leaf-group fades up in sequence — tighter fade + accelerating stagger
   so the whole reveal settles by ~2.7s instead of ~4.7s. */
.shoot-leaf {
  opacity: 0;
  animation: shoot-leaf-in 0.6s ease-out forwards;
}
.shoot-leaf:nth-of-type(1) { animation-delay: 1.8s; }
.shoot-leaf:nth-of-type(2) { animation-delay: 2.1s; }
.shoot-leaf:nth-of-type(3) { animation-delay: 2.4s; }
.shoot-leaf:nth-of-type(4) { animation-delay: 2.7s; }
.shoot-leaf:nth-of-type(5) { animation-delay: 3.0s; }
.shoot-leaf:nth-of-type(6) { animation-delay: 3.3s; }
.shoot-leaf:nth-of-type(7) { animation-delay: 3.6s; }
.shoot-leaf:nth-of-type(8) { animation-delay: 3.9s; }

@keyframes shoot-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes shoot-leaf-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shoot-sway {
  0%, 100% { transform: rotate(0deg); }   /* start/end at rest so it eases in — no jump */
  25%      { transform: rotate(3deg); }
  75%      { transform: rotate(-3deg); }
}

/* Reduced motion — skip animation, show final state */
@media (prefers-reduced-motion: reduce) {
  .shoot-stem { stroke-dashoffset: 0; animation: none; }
  .shoot-leaf { opacity: 1; animation: none; }
  .shoot { animation: none; }
  .trajectory-curve-line { stroke-dashoffset: 0; opacity: 0.95; transition: none; animation: none; }
  .trajectory-curve-fill,
  .traj-marker,
  .traj-datalabel { opacity: 1; transform: none; transition: none; }
  .traj-datalabel { transform: translate(-50%, calc(-100% - 14px)); }
  .traj-datalabel--future { transform: translate(-100%, calc(-100% - 14px)); }
}

/* Mobile — keep the shoot visible as a slim right-rail accent, scaled down
   and slightly recessed so the headline text still dominates */
@media (max-width: 720px) {
  /* Don't full-fold-center on phones — that floats the mission to mid-screen and
     leaves a big void below the nav. Top-anchor it so the statement sits just
     under the wordmark, with a trimmed height that keeps presence without a gap. */
  .hero {
    min-height: clamp(400px, 62svh, 560px);
    justify-content: flex-start;
    padding-top: clamp(1.5rem, 5vw, 2.25rem);
  }
  .shoot-wrap {
    right: 0;
    width: clamp(80px, 22vw, 140px);
    height: 78%;
  }
}
@media (max-width: 480px) {
  .shoot-wrap {
    width: clamp(70px, 26vw, 110px);
  }
}

/* =========================================================
   Brand marks in portfolio cells
   ========================================================= */
.brand-mark {
  width: 100%;
  height: auto;
  max-height: clamp(160px, 18vw, 240px);
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: auto;
  flex: 1 1 auto;
  min-height: 0;
  color: var(--neon);
  /* mix-blend-mode: screen makes white backgrounds transparent on dark themes.
     This fixes logos (like Nothing Bundt Cakes) that have white/light
     backgrounds instead of true alpha transparency. */
  mix-blend-mode: screen;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease);
}
@media (max-width: 900px) {
  .brand-mark { max-height: clamp(180px, 28vw, 260px); }
  .brand-cell { min-height: clamp(280px, 36vw, 360px); }
}
@media (max-width: 480px) {
  .brand-mark { max-height: 240px; }
  .brand-cell { min-height: 320px; }
}
.brand-mark path,
.brand-mark circle:not([fill]),
.brand-mark ellipse:not([fill]) {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-cell:hover .brand-mark {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

/* =========================================================
   Neon sign turn-on animation
   Brand logos start "off" (dark) and flicker on like real
   neon tubes when scrolled into view. Each logo gets a
   staggered --neon-delay (set by JS), ignites once, then
   holds steady at full — no perpetual idle flicker.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js .brand-cell .brand-mark {
    opacity: 0.06;
    filter: brightness(0.15) saturate(0);
  }
  /* One-shot storefront ignition, then hold steady at full — no perpetual idle
     flicker (it repainted filter through mix-blend-mode every frame and read as
     8 competing signals; premium signage hums, it doesn't strobe). */
  html.js .brand-cell.neon-on .brand-mark {
    animation: neon-flicker-on 2.4s ease-out forwards;
    animation-delay: var(--neon-delay, 0s);
  }
}

/* --- Initial turn-on: tube tries to ignite, slower & more dramatic --- */
@keyframes neon-flicker-on {
  0%   { opacity: 0.06; filter: brightness(0.15) saturate(0); }
  /* First flash — tube tries to catch */
  6%   { opacity: 0.55; filter: brightness(0.7) saturate(0.4); }
  9%   { opacity: 0.08; filter: brightness(0.18) saturate(0); }
  /* Pause in darkness */
  15%  { opacity: 0.05; filter: brightness(0.15) saturate(0); }
  /* Second attempt — brighter, holds longer */
  20%  { opacity: 0.75; filter: brightness(0.85) saturate(0.6); }
  24%  { opacity: 0.8;  filter: brightness(0.9) saturate(0.7); }
  27%  { opacity: 0.12; filter: brightness(0.2) saturate(0.05); }
  /* Third flash — almost there */
  36%  { opacity: 0.85; filter: brightness(0.95) saturate(0.85); }
  40%  { opacity: 0.35; filter: brightness(0.45) saturate(0.25); }
  /* Catches and warms up */
  50%  { opacity: 0.9;  filter: brightness(1.05) saturate(0.95); }
  58%  { opacity: 0.82; filter: brightness(0.92) saturate(0.9); }
  70%  { opacity: 0.95; filter: brightness(1.08) saturate(1); }
  82%  { opacity: 0.88; filter: brightness(0.96) saturate(1); }
  100% { opacity: 0.95; filter: brightness(1) saturate(1); }
}

/* Reduced-motion: skip the turn-on flicker, just show the logo */
@media (prefers-reduced-motion: reduce) {
  html.js .brand-cell .brand-mark {
    opacity: 0.95;
    filter: none;
  }
}

/* =========================================================
   Footprint map — real US geography + dossier rail
   ========================================================= */
.footprint-map {
  width: 100%;
  margin: clamp(0.5rem, 2vw, 1.5rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.footprint-map__plot {
  position: relative;
  background: #000;
  border: 1px solid var(--rule);
  padding: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 920 / 540;
}
.footprint-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.footprint-svg path {
  transition: stroke-opacity 150ms var(--ease), fill-opacity 150ms var(--ease), stroke-width 150ms var(--ease);
}
/* Smooth dot dispersal on hover-explode */
.fp-dot circle, .fp-dot text, .fp-tether, .fp-pip {
  transition: cx 220ms ease, cy 220ms ease, x 220ms ease, y 220ms ease,
              x1 220ms ease, y1 220ms ease, x2 220ms ease, y2 220ms ease,
              opacity 200ms ease;
}
.fp-dot-label {
  transition: x 220ms ease, y 220ms ease, font-size 150ms ease,
              fill 150ms ease, font-weight 150ms ease;
}
/* Keyboard focus on an SVG <g> can't rely on CSS outline (no box model / Safari
   omits it), so reuse the neon selection ring as the reliable focus cue. */
.footprint-svg .fp-dot:focus-visible { outline: none; }
.footprint-svg .fp-dot:focus-visible .fp-dot-ring { opacity: 0.9; }
/* Mobile: the 920u viewBox scales into ~360px (~0.39x), so bump the state-code
   labels in viewBox units to keep them legible on phones (CSS font-size overrides
   the presentation attribute). Held to 16/14u to limit Northeast-cluster crowding;
   in-dot unit numbers stay proportional. */
@media (max-width: 600px) {
  .footprint-svg .fp-dot-label { font-size: 16px; }
  .footprint-svg .fp-inactive-label { font-size: 14px; }
}

.footprint-legend {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.55);
  pointer-events: none;
}
@media (max-width: 540px) {
  .footprint-legend {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 10px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }
}
.footprint-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.footprint-legend__dot--on { background: var(--neon); }

/* Reset chip — top-right of the map plot, only visible when a state is selected.
   Clears the selection and returns the rail to the portfolio roll-up. */
.footprint-reset {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--rule);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.footprint-reset:hover,
.footprint-reset:focus-visible {
  color: var(--neon);
  border-color: var(--neon);
}
.footprint-reset__x {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}
.footprint-map[data-state]:not([data-state=""]) .footprint-reset {
  display: inline-flex;
}
.footprint-legend__sep { opacity: 0.4; }
.footprint-legend__scale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footprint-legend__scale i {
  display: inline-block;
  background: var(--neon);
  border-radius: 50%;
}

/* --- Dossier rail under the map --- */
.footprint-rail {
  background: var(--bg-alt);
  border-top: 2px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem);
}

.dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
/* Portfolio view: 2 columns (head + pipeline | brand breakdown) */
.dossier--portfolio {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
@media (max-width: 1024px) {
  .dossier { grid-template-columns: 1fr 1fr; }
  .dossier__col--cities { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .dossier { grid-template-columns: 1fr; }
  .dossier__col--cities { grid-column: 1; }
}
/* Mobile: lift pipeline out of the head column so the order reads
   head/stats → brand breakdown → pipeline (most-useful content first) */
@media (max-width: 720px) {
  .dossier--portfolio {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.2vw, 1.75rem);
  }
  .dossier--portfolio > .dossier__col--head { display: contents; }
  .dossier--portfolio > .dossier__col--brands { order: 2; }
  .dossier--portfolio .dossier__section--pipeline { order: 3; margin-top: 0; }
}

/* Brand breakdown is a row-major 2-col grid inside the portfolio view, so
   each row pairs left/right symmetrically instead of flowing column-by-column */
.dossier--portfolio .dossier__brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}
.dossier--portfolio .dossier__brand-li--total {
  grid-column: 1 / -1;
}
/* Placeholder cell that fills the odd slot so the last row stays balanced.
   Keeps the divider rule but no content. */
.dossier--portfolio .dossier__brand-li--placeholder {
  visibility: hidden;
}
/* Two header rows (one per column), so labels sit directly above the data
   columns they describe */
.dossier__brands-head-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1rem, 2vw, 1.75rem);
}
@media (max-width: 720px) {
  .dossier--portfolio .dossier__brands { grid-template-columns: 1fr; }
  .dossier--portfolio .dossier__brand-li--placeholder { display: none; }
  .dossier__brands-head-wrap { grid-template-columns: 1fr; }
  .dossier__brands-head-wrap .dossier__brands-head + .dossier__brands-head { display: none; }
}

/* Pipeline section inside the platform column */
.dossier__section--pipeline {
  margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
}

.dossier__col { min-width: 0; }
.dossier__section { margin-bottom: 0; }

.dossier__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dossier__upcoming { color: var(--muted); }

.dossier__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: var(--t-display);
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.dossier__lede {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 240, 238, 0.72);
  margin: 0 0 1.25rem;
}

.dossier__hero {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.dossier__hero-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dossier__hero-lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--ink);
}
.dossier__hero-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.dossier__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  margin-top: 1.25rem;
}
.dossier__stat-n {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dossier__stat-l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.dossier__sect-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.dossier__brands { list-style: none; margin: 0; padding: 0; }
.dossier__brands li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
}
.dossier__brands li:last-child { border-bottom: none; }
.dossier__brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  display: block;
  mix-blend-mode: screen;
}
/* Drop the magnitude bars under each number — the numbers carry the data */
.dossier__brand-bar { display: none; }
.dossier__brand-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* Hide the descriptor row ("single-brand" / "N combo formats") for a cleaner read */
.dossier__brand-meta { display: none; }
.dossier__brand-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.dossier__brand-count {
  display: grid;
  grid-template-columns: 48px 48px;
  gap: 12px;
  text-align: right;
}
.dossier__brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.dossier__brand-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dossier__brand-num--up {
  color: var(--muted);
  font-size: 18px;
}
.dossier__brand-num--zero {
  color: rgba(240, 240, 238, 0.18);
}
.dossier__brand-bar {
  width: 100%;
  height: 2px;
  background: rgba(240, 240, 238, 0.08);
  margin-top: 4px;
}
.dossier__brand-bar > div {
  height: 100%;
  background: rgba(240, 240, 238, 0.28);
}
.dossier__brand-bar--up > div {
  background: rgba(0, 230, 118, 0.4);
}
.dossier__brands-head {
  display: grid;
  grid-template-columns: 1fr 48px 48px;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 6px;
}
.dossier__brands-head > span:first-child { text-align: left; }
.dossier__stat-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.dossier__stat-sub b {
  color: var(--ink);
  font-weight: 500;
}
.dossier__stats--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Stacked brand marks for co-brand combo rows (legacy stacked style) */
.dossier__combo-marks {
  display: inline-flex;
  align-items: center;
}
.dossier__combo-marks > span {
  display: inline-flex;
  background: var(--bg);
  padding: 1px;
  border-radius: 2px;
}
.dossier__combo-marks img { width: inherit; height: inherit; }

/* Rotating combo-mark — one full-size logo at a time, swapped via JS */
.dossier__combo-marks--rotate {
  display: block;
  position: relative;
}
.dossier__combo-rotating {
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
  animation: combo-pulse 1.5s ease-in-out infinite;
}
@keyframes combo-pulse {
  0%, 100% { opacity: 1; }
  85%      { opacity: 1; }
  92%      { opacity: 0.15; }
  100%     { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .dossier__combo-rotating { animation: none; opacity: 1; }
}

/* Combo row — accent meta to distinguish from single-brand */
.dossier__brand-li--combo .dossier__brand-meta {
  color: var(--neon);
  opacity: 0.85;
}

/* Total open units row — closes the math */
.dossier__brand-li--total {
  border-top: 2px solid var(--ink) !important;
  border-bottom: none !important;
  padding-top: 14px !important;
  margin-top: 6px;
}
.dossier__brand-li--total .dossier__brand-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--ink);
}
.dossier__brand-li--total .dossier__brand-num {
  color: var(--ink);
}

.dossier__cities { list-style: none; margin: 0; padding: 0; }
.dossier__cities li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  gap: 8px;
}
.dossier__cities li:last-child { border-bottom: none; }
.dossier__city-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: var(--t-mono);
}
.dossier__city-name {
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dossier__city-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Network mix panel — venue type / region (pipeline moved into platform column) */
.dossier--mix {
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.mix__stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0 18px;
  height: 96px;
}
.mix__stack-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: var(--bg-elev);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  min-height: 28px;
}
.mix__stack-row--alt {
  background: rgba(240, 240, 238, 0.06);
  color: var(--ink);
}
.mix__stack-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  font-weight: 400;
}
.mix__stack-n {
  font-size: 20px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mix__stack-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
.mix__sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mix__sub-list li {
  display: grid;
  grid-template-columns: 110px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.mix__sub-name { text-transform: uppercase; }
.mix__sub-bar {
  height: 2px;
  background: rgba(240, 240, 238, 0.08);
}
.mix__sub-bar > div { height: 100%; background: rgba(240, 240, 238, 0.28); }
.mix__sub-n {
  text-align: right;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mix__region {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mix__region-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mix__region-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}
.mix__region-n {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mix__region-bar {
  height: 3px;
  background: rgba(240, 240, 238, 0.08);
  margin: 6px 0 4px;
}
.mix__region-bar > div { height: 100%; background: rgba(240, 240, 238, 0.28); }
.mix__region-pct {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mix__pipeline {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mix__pipeline li {
  display: grid;
  grid-template-columns: 22px 1fr 80px 36px;
  align-items: center;
  gap: 10px;
}
.mix__pipeline img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.mix__pipe-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.mix__pipe-bar {
  height: 3px;
  background: rgba(240, 240, 238, 0.08);
}
.mix__pipe-bar > div { height: 100%; background: rgba(240, 240, 238, 0.28); }
.mix__pipe-n {
  text-align: right;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mix__pipe-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 240, 238, 0.45);
  line-height: 1.5;
}

/* =========================================================
   Trajectory — growth curve + stat-forward year cards
   ========================================================= */
.trajectory {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

/* Growth curve sweeping from $35M (2019) to $1B+ (2030) */
.trajectory-curve-wrap {
  position: relative;
  height: clamp(140px, 18vw, 220px);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.trajectory-curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Data labels at known sales points on the curve */
.traj-datalabel {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px)) translateY(4px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.traj-datalabel--current { color: var(--neon); font-weight: 700; }
.traj-datalabel--future {
  color: var(--ink-dim);
  transform: translate(-100%, calc(-100% - 14px)) translateY(4px);
}
.trajectory.in .traj-datalabel {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 14px));
}
.trajectory.in .traj-datalabel--future {
  transform: translate(-100%, calc(-100% - 14px));
}
/* Stagger labels along the curve, leaf-like — timed so each lands as the
   drawing line passes its anchor (curve draws over 2.2s starting at 0.4s) */
.trajectory.in .traj-datalabel:nth-of-type(1) { transition-delay: 0.78s; }   /* 2019 at ~8% */
.trajectory.in .traj-datalabel:nth-of-type(2) { transition-delay: 1.16s; }   /* 2023 at ~25% */
.trajectory.in .traj-datalabel:nth-of-type(3) { transition-delay: 2.26s; }   /* 2026 at ~75% */
.trajectory.in .traj-datalabel:nth-of-type(4) { transition-delay: 2.64s; }   /* 2030 at ~92% */

/* Curve stem — small marching dashes that flow continuously, fading in on
   scroll-into-view. The motion does the "growing" work; no draw-on math. */
.trajectory-curve-line {
  stroke-dasharray: 6 4;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-out 0.4s;
}
.trajectory.in .trajectory-curve-line { opacity: 0.95; }
/* March only while the section is in view (stroke-dashoffset is a paint property
   that was repainting the curve every frame even off-screen) AND only when motion
   is allowed — scoped under no-preference so reduced-motion users never get it,
   regardless of the .in selector's higher specificity. */
@media (prefers-reduced-motion: no-preference) {
  .trajectory.in .trajectory-curve-line { animation: traj-march 1.2s linear infinite; }
}
@keyframes traj-march {
  to { stroke-dashoffset: -10; }
}
.trajectory-curve-fill {
  opacity: 0;
  transition: opacity 1.4s ease-out 0.6s;
}
.trajectory.in .trajectory-curve-fill { opacity: 1; }

/* Year markers unfurl like leaves — opacity + translateY in sequence,
   aligned to where the curve's drawing line is at that moment */
.traj-marker {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(4px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.trajectory.in .traj-marker {
  opacity: 0.85;
  transform: translate(-50%, -50%);
}
.trajectory.in .traj-marker--current { opacity: 1; }
.trajectory.in .traj-marker--future { opacity: 0.6; }
.trajectory.in .traj-marker:nth-child(1) { transition-delay: 0.62s; }   /* 2019 */
.trajectory.in .traj-marker:nth-child(2) { transition-delay: 0.95s; }   /* 2023 */
.trajectory.in .traj-marker:nth-child(3) { transition-delay: 1.32s; }   /* 2024 */
.trajectory.in .traj-marker:nth-child(4) { transition-delay: 1.68s; }   /* 2025 */
.trajectory.in .traj-marker:nth-child(5) { transition-delay: 2.05s; }   /* 2026 */
.trajectory.in .traj-marker:nth-child(6) { transition-delay: 2.42s; }   /* 2030 */

/* Year markers along the curve */
.trajectory-markers {
  position: absolute;
  inset: 0;
  top: clamp(2rem, 4vw, 3.5rem); /* match parent padding-top */
  height: clamp(140px, 18vw, 220px);
  pointer-events: none;
}
.traj-marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent; /* let the curve line show through */
  border: 2px solid var(--neon);
  transform: translate(-50%, -50%);
  opacity: 0.85;
}
.traj-marker--current {
  background: var(--neon);
  box-shadow: 0 0 0 6px rgba(0, 230, 118, 0.16);
}
.traj-marker--future {
  background: transparent;
  border-style: dashed;
  opacity: 0.6;
}

/* Year columns */
.trajectory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.traj-node {
  padding: clamp(1rem, 1.6vw, 1.5rem) clamp(0.5rem, 1vw, 1rem);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 300px;
}
.traj-node:last-child { border-right: none; }
.traj-year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.traj-node--future .traj-year { color: var(--ink-dim); }
/* Current year (2026) carries the site's neon bold highlight — the "you are here" beat (desktop + mobile spine) */
.traj-node--current .traj-year { color: var(--neon); font-weight: 700; }
.traj-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.traj-node--current .traj-eyebrow { color: var(--muted); }
.traj-node--current .traj-stat-n { color: var(--ink); }
.traj-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.5rem;
}
.traj-stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.traj-node--future .traj-stat-n { color: var(--ink-dim); }
.traj-stat-mark {
  color: var(--neon);
  margin-left: 0.05em;
}
.traj-stat-u {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.traj-stat-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.traj-stat-sub b {
  color: var(--neon);
  font-weight: 500;
}
/* Two stats side-by-side (e.g., 2026: 388 units + +2 brands) */
.traj-stat--dual {
  flex-direction: row;
  align-items: baseline;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.traj-stat-pair {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.traj-stat-tk {
  color: rgba(240, 240, 238, 0.35);
  margin-left: 0.4em;
}
.traj-caption {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.45;
}
.traj-node--current .traj-caption { color: var(--ink-dim); }
.traj-brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
  padding-top: 0.75rem;
  max-width: 180px;
}
.traj-brands img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.95;
}
.traj-brand-ghost {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(0, 230, 118, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(0, 230, 118, 0.55);
}

/* Two-phase indicator beneath the year grid */
.trajectory-phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
}
.traj-phase {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.traj-phase-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.traj-phase-num {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-dim);
}
.traj-phase--current .traj-phase-num { color: var(--neon); }
.traj-phase-range {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--t-mono);
  text-transform: uppercase;
  color: var(--muted);
}
.traj-phase-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-dim);
}
.traj-phase--current .traj-phase-bar { color: var(--neon); }
.traj-phase-line {
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.traj-phase--current .traj-phase-line { opacity: 1; }
.traj-phase-arrow {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}
.traj-phase-caption {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.traj-phase--past .traj-phase-caption { color: var(--ink-dim); }

@media (max-width: 900px) {
  .trajectory-curve-wrap { height: 120px; }
  .trajectory-markers { height: 120px; }
  .trajectory-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--rule);
  }
  .traj-node {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .traj-node:nth-child(2n) { border-right: none; }
  .traj-node:nth-last-child(-n+2) { border-bottom: none; }
}
/* Climbing sales figure — mobile "Living Spine" only; hidden on desktop. */
.traj-sales { display: none; }

/* ============================================================
   Trajectory — mobile "Living Spine" (≤720px)
   Drops the growth curve and presents the story as one green stem
   running down the page: each year is a node branching off (a square
   dot on the stem), the stem steps thicker Phase 1 → Phase 2 → a NEON
   trunk at 2026 (the section's one neon moment) → dashed for the future,
   and a right-aligned sales figure climbs $35M → $200M+ → $425M.
   ============================================================ */
@media (max-width: 720px) {
  /* Drop the moving line chart on phones */
  .trajectory-curve-wrap,
  .trajectory-markers { display: none; }

  /* One ordered flex column; the two phase labels interleave between the
     year nodes via `order` (DOM is 6 nodes then 2 phases). */
  .trajectory {
    display: flex;
    flex-direction: column;
    padding-top: clamp(0.5rem, 3vw, 1.5rem);
  }
  .trajectory-grid,
  .trajectory-phases { display: contents; }

  /* Continuous stem carried by every item; no gaps so the line is unbroken */
  .traj-node,
  .traj-phase {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    min-height: 0;
    min-width: 0;
    border: none;
    border-left: 2px solid var(--ink-dim);
    padding: clamp(1.25rem, 4vw, 1.6rem) 0 clamp(1.25rem, 4vw, 1.6rem) 28px;
  }
  /* Neutralize the ≤900 grid's higher-specificity edge borders so the stem is clean */
  .traj-node:nth-child(2n) { border-right: none; }
  .traj-node:nth-last-child(-n+2) { border-bottom: none; }

  /* Square node-dot sitting on the stem, aligned to the year */
  .traj-node::before {
    content: "";
    position: absolute;
    left: -7px;
    top: clamp(1.55rem, 4.5vw, 1.95rem);
    width: 12px;
    height: 12px;
    background: var(--bg-alt);
    border: 2px solid var(--ink-dim);
  }
  .traj-node .traj-year {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    line-height: 1;
    margin-bottom: 0.35rem;
  }
  .traj-node .traj-stat {
    border-bottom: none;
    padding: 0;
    margin: 0.1rem 0 0.4rem;
  }
  .traj-node .traj-brands { margin-top: 0.85rem; padding-top: 0; }

  /* Climbing sales figure, right-aligned, top-aligned with the year */
  .traj-sales {
    display: block;
    position: absolute;
    top: clamp(1.25rem, 4vw, 1.6rem);
    right: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.25rem, 5.5vw, 1.6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
  }
  /* No-data / future years: a muted mono placeholder, never a fabricated figure */
  .traj-node:nth-child(3) .traj-sales,   /* 2024 */
  .traj-node:nth-child(4) .traj-sales,   /* 2025 */
  .traj-node--future .traj-sales {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: var(--muted);
  }

  /* Phase labels — slim chapter markers carried on the stem */
  .traj-phase {
    gap: 0.2rem;
    padding-bottom: 0.2rem;
    align-items: flex-start;
  }
  .traj-phase-bar,
  .traj-phase-arrow { display: none; }
  .traj-phase-head { flex-direction: row; align-items: baseline; gap: 0.6rem; }
  .traj-phase-num { font-size: 1rem; }
  .traj-phase-caption { font-size: 0.95rem; line-height: 1.25; }
  .traj-phase--current .traj-phase-num { color: var(--ink); }  /* demote: 2026 dot is the only neon */

  /* Stem progression: Phase 1 (2px) → Phase 2 (3px) → NEON trunk at 2026 → dashed future */
  .traj-phase--current,
  .traj-node:nth-child(4) { border-left-width: 3px; }          /* 2025 */
  .traj-node--current {                                        /* 2026 */
    border-left-width: 4px;
    border-left-color: var(--neon);
  }
  .traj-node--current::before {
    background: var(--neon);
    border-color: var(--neon);
  }
  .traj-node--future {                                         /* 2027 */
    border-left-style: dashed;
    border-left-width: 4px;                  /* match the 2026 trunk so the stem stays collinear */
    border-left-color: var(--rule-strong);
    padding-bottom: clamp(2.5rem, 9vw, 4rem); /* room for the marching tail to grow + dissolve */
  }
  .traj-node--future::before {
    border-style: dashed;
    border-color: var(--rule-strong);
    z-index: 1;                              /* keep the future marker crisp over the marching line */
  }

  /* Keep 2026 the section's only neon: demote the inline +/. marks AND the
     2027 future "?" ghost tiles (hardcoded neon) to the neutral stem palette. */
  .trajectory .traj-stat-mark,
  .trajectory .accent { color: var(--ink-dim); }
  .trajectory .traj-brand-ghost {
    color: var(--muted);
    border-color: var(--rule-strong);
  }

  /* A short origin tick so the stem grows up from a point, not a hard cut */
  .traj-phase--past::before {
    content: "";
    position: absolute;
    left: -2px;
    top: -7px;
    width: 2px;
    height: 7px;
    background: var(--ink-dim);
  }

  /* Visual order: Phase 1 → 2019 · 2023 · 2024 → Phase 2 → 2025 · 2026 · 2027 */
  .traj-phase--past { order: 1; }
  .traj-node:nth-child(1) { order: 2; }
  .traj-node:nth-child(2) { order: 3; }
  .traj-node:nth-child(3) { order: 4; }
  .traj-phase--current { order: 5; }
  .traj-node:nth-child(4) { order: 6; }
  .traj-node:nth-child(5) { order: 7; }
  .traj-node:nth-child(6) { order: 8; }
}

/* Mobile spine — the future "keeps growing": the dashed segment below the 2026
   trunk becomes a marching neon dashed line (the vertical echo of the desktop
   growth curve), flowing out of the trunk and off-screen. The past stays solid
   (built foundation); only the future marches. Reduced-motion users keep the
   static dashed border (the no-preference guard below simply doesn't apply). */
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .traj-node--future { border-left-color: transparent; }
  .traj-node--future::after {
    content: "";
    position: absolute;
    left: -4px;            /* collinear with the 4px 2026 trunk — one continuous neon gesture */
    top: 0;
    bottom: 0;
    width: 4px;
    background: repeating-linear-gradient(to bottom,
      var(--neon) 0 5px, transparent 5px 11px);
    /* Tail dissolves so the future reads as growing off-page, not stopping (alpha mask, no color) */
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
    mask-image: linear-gradient(to bottom, #000 60%, transparent);
  }
  /* March only once the section is scrolled into view (matches the desktop
     curve; avoids repainting off-screen). Calm cadence, in-family with it. */
  .trajectory.in .traj-node--future::after {
    animation: spine-march 1.5s linear infinite;
  }
}
@keyframes spine-march { to { background-position-y: 11px; } }

/* Extreme-narrow / high-zoom guard (~<=300px effective, e.g. 200% browser zoom):
   the year + absolute right-aligned sales would collide, so drop the sales figure
   into normal flow under the year. Real phones (>=320px) keep the climbing rail. */
@media (max-width: 300px) {
  .trajectory .traj-sales {
    position: static;
    text-align: left;
    margin: 0.15rem 0 0.1rem;
  }
}

/* =========================================================
   Scroll progress bar
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--neon);
  width: 0%;
  z-index: 100;
  transition: width 0.05s linear;
  box-shadow: 0 0 4px rgba(0, 230, 118, 0.35);
}

/* =========================================================
   Cursor follower — small neon dot trailing cursor
   ========================================================= */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
  will-change: transform;
}
.cursor-dot.visible {
  opacity: 0.8;
}
/* Disable on touch/mobile */
@media (hover: none), (max-width: 720px) {
  .cursor-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
}

/* =========================================================
   Utility classes — replacements for previous inline styles
   ========================================================= */
.section--alt { background: var(--bg-alt); }
.section--alt + .section { border-top: 1px solid var(--rule-strong); }

.section-intro {
  max-width: 62ch;
  color: var(--ink-dim);
  margin-bottom: 3rem;
  line-height: 1.55;
}

.section-rail {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ============= PRESS ============= */
.press-filter {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.press-filter__chip {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 160ms var(--ease);
}
.press-filter__chip:hover,
.press-filter__chip:focus-visible {
  color: var(--ink-dim);
}
.press-filter__chip.is-active { color: var(--ink); }
.press-filter__chip.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--neon);
}

.press-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.press-more[hidden] { display: none; }
.press-more__btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.press-more__btn:hover,
.press-more__btn:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
}

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.press-list > li {
  border-bottom: 1px solid var(--rule);
}
.press-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr auto;
  align-items: baseline;
  column-gap: 24px;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
}
.press-row__meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.press-row__sep { opacity: 0.45; }
.press-row__outlet { color: var(--ink-dim); }
.press-row__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  transition: color 160ms var(--ease);
}
.press-row__arrow {
  font-size: 14px;
  line-height: 1;
  color: var(--muted);
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}
.press-row:hover .press-row__title,
.press-row:focus-visible .press-row__title {
  color: var(--ink);
}
.press-row:hover .press-row__arrow,
.press-row:focus-visible .press-row__arrow {
  color: var(--neon);
  transform: translate(2px, -2px);
}
@media (max-width: 640px) {
  .press-row {
    grid-template-columns: 1fr auto;
    row-gap: 4px;
    padding: 10px 0;
  }
  .press-row__meta { grid-column: 1 / -1; }
  .press-row__title { font-size: 13px; }
}

/* =========================================================
   Mobile nav — bottom-fixed bar, mobile only
   ========================================================= */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 12, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 4px;
  min-height: 44px; /* WCAG touch target */
  transition: color 0.2s var(--ease);
}
.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.active {
  color: var(--neon);
}
.mobile-nav-item svg {
  display: block;
}

/* Show on mobile, hide desktop CTA & nav links */
@media (max-width: 720px) {
  .mobile-nav { display: flex; }
  /* Add bottom padding to body so content doesn't get hidden behind the bar */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  /* On mobile we want the scroll progress bar above the mobile nav, not at the very top edge */
}
