/* ==========================================================================
   Sections — in page order
   Scroll progress: [data-p] sections receive --p (0 → 1) from JS.
   ========================================================================== */


/* 1. HERO → SHOWCASE (pinned) ============================================= */

.hero { position: relative; height: 340vh; }

.hero__stage {
  /* phases */
  --a: clamp(0, calc((var(--p) - 0.03) / 0.13), 1);   /* hero fades out    */
  --b: clamp(0, calc((var(--p) - 0.17) / 0.24), 1);   /* showcase builds   */
  --u: clamp(0, calc(var(--t) * 1.8), 1);             /* intro rise        */
  --fa: calc(clamp(0, calc(var(--t) * 2 - 0.85), 1) * (1 - var(--a))); /* fan */
  /* card geometry */
  --hy: 55vh;
  --hh: min(19.5vw, 32vh);          /* original size; only capped on very short screens */
  --hw: calc(var(--hh) * 0.77);
  perspective: 1600px;
}

.hero__title-wrap {
  position: absolute;
  left: 0;
  right: 0;
  /* sits just above the card stack */
  bottom: calc(100vh - var(--hy) + var(--hh) / 2 + 7vh);
  display: flex;
  justify-content: center;
  padding: 0 20px;
  opacity: calc(1 - var(--a) * 1.4);
  transform: translateY(calc(var(--a) * -22vh));
  will-change: transform, opacity;
}
.hero__title {
  text-align: center;
  font-weight: 500;
  font-size: clamp(36px, min(6.2vw, 10vh), 104px);   /* also capped by height */
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero__sub {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hy) + var(--hh) / 2 + 5vh + 1vw);   /* clears the fan overhang */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  opacity: calc(1 - var(--a) * 1.6);
}
.hero__sub p {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--c-muted);
  text-align: center;
}
.hero__sub .cta-row { margin-top: 28px; justify-content: center; gap: 16px; }

.hero__chip {
  position: absolute;
  z-index: 20;
  opacity: calc(var(--t) * (1 - var(--a) * 2));
  transform: scale(calc(0.5 + var(--t) * 0.5)) rotate(var(--rot));
}
/* tags sit centred in the gap between heading and cards */
.hero__chip--coplin { --rot: -6deg; left: 14vw;  top: calc(var(--hy) - var(--hh) / 2 - 1.5vh - 20px); }
.hero__chip--andrea { --rot: 8deg;  right: 12vw; top: calc(var(--hy) - var(--hh) / 2 - 1.5vh - 20px); }

/* Short desktop screens: smaller cards and tighter gaps so everything fits */
@media (min-width: 760px) and (max-height: 760px) {
  .hero__stage { --hh: min(19.5vw, 25vh); }
  .hero__title-wrap { bottom: calc(100vh - var(--hy) + var(--hh) / 2 + 5vh); }
  .hero__chip--coplin, .hero__chip--andrea { top: calc(var(--hy) - var(--hh) / 2 - 1vh - 20px); }
  .hero__sub { top: calc(var(--hy) + var(--hh) / 2 + 4vh + 1vw); }
  .hero__sub .cta-row { margin-top: 18px; }
}

/* Cards (built by js/scenes.js) */
.hero-card {
  position: absolute;
  left: calc(50vw - var(--hw) / 2);
  top: calc(var(--hy) - var(--hh) / 2);
  width: var(--hw);
  height: var(--hh);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
  will-change: transform;
  backface-visibility: hidden;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: --hv 1.1s cubic-bezier(.22, 1, .36, 1), box-shadow 1.1s cubic-bezier(.22, 1, .36, 1);
}
/* Card title — small mono index top-left, quiet name bottom-left,
   thin arrow fades in on hover */
.hero-card__title {
  position: absolute;
  inset: 9% 9% auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .55em;
  pointer-events: none;
  font-size: max(10px, calc(var(--hw) * .06));
}
.hero-card__num { font-family: var(--f-mono); font-size: max(9px, .8em); letter-spacing: .14em; opacity: .72; }
.hero-card__name {
  max-width: 86%;
  font-weight: 600;
  font-size: 1.12em;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero-card__name em { font: inherit; }
.hero-card__arrow {
  position: absolute;
  right: 0;
  top: -.1em;
  font-size: 1em;
  line-height: 1;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity .5s ease, transform .8s cubic-bezier(.19, 1, .22, 1);
}
@media (min-width: 760px) {
  .hero-card:hover .hero-card__arrow,
  .hero-card:focus-visible .hero-card__arrow { opacity: .85; transform: none; }
}
/* hover / keyboard focus: card straightens, lifts and comes to the front */
@property --hv { syntax: '<number>'; inherits: false; initial-value: 0; }
/* desktop only — on phones the deck (css/responsive.css) owns stacking,
   and a touch "hover" re-ordering cards caused flicker */
@media (min-width: 760px) {
  .hero-card:hover,
  .hero-card:focus-visible {
    --hv: 1;
    z-index: 30 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .2);
  }
}
@media (hover: none) {
  .hero-card:hover { --hv: 0; }
}
/* section 2: hovered card slides up out of the deck like a pulled file,
   tilts slightly and its image drifts in — all on one slow ease */
.hero-card img {
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1);
  transform-origin: 50% 60%;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
@media (min-width: 760px) and (hover: hover) {
  .hero-card:hover img { transform: scale(1.03); }
  .hero-card:hover { box-shadow: 0 28px 56px -18px rgba(0, 0, 0, .26); }
}

/* Showcase copy (appears once the cards cascade) */
.showcase {
  position: absolute;
  left: var(--pad-x);
  top: 17vh;
  width: min(44vw, 640px);
  pointer-events: none;
}
.showcase .eyebrow { opacity: clamp(0, calc(var(--b) * 3), 1); }
.showcase .display { margin-top: 18px; }
.showcase__l1 { --l: clamp(0, calc(var(--b) * 2.2), 1); }
.showcase__l2 { --l: clamp(0, calc(var(--b) * 2.2 - 0.5), 1); }
.showcase__l3 { --l: clamp(0, calc(var(--b) * 2.2 - 1), 1); }
.showcase .lead {
  margin-top: 28px;
  max-width: 460px;
  font-size: clamp(16px, 1.3vw, 19px);   /* matches hero paragraph */
  opacity: clamp(0, calc((var(--b) - 0.6) * 4), 1);
}
.showcase .cta-row {
  margin-top: 28px;
  pointer-events: auto;
  opacity: clamp(0, calc((var(--b) - 0.75) * 4), 1);
}
.showcase__chip { position: absolute; z-index: 20; }
.showcase__chip--howard { left: 62vw; top: calc(38vh - 2vw); opacity: clamp(0, calc((var(--b) - 0.85) * 7), 1); }
.showcase__chip--robin  { left: 80vw; top: calc(48vh - 1vw); opacity: clamp(0, calc((var(--b) - 0.9) * 7), 1); }


/* 2. GATEWAY ============================================================== */

/* Sticky process: the section is 4 screens tall; the inner panel pins while
   scroll progress picks the active stage (js/main.js → data-process) */
.process { position: relative; height: 400vh; padding: 0 var(--pad-x-tight); }
.process__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(84px, 11vh, 120px) 0 clamp(16px, 3vh, 32px);
}
.gateway__head { padding: 0 clamp(0px, 1vw, 16px); }
.gateway__head .display { margin-top: 0; }
.process__box {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: clamp(20px, 3.5vh, 36px);
  border-radius: var(--radius-lg, 28px);
  background: #F86931;
  overflow: hidden;
  color: #fff;
}
.gateway__squares { position: absolute; left: 26px; top: 24px; display: flex; gap: 8px; z-index: 2; }
.gateway__squares span { width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.gateway__squares span + span { background: var(--c-ink); }
.process__stage { position: absolute; inset: 56px 4% 96px; }
.process__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity;
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 70%, transparent 100%);
}
.process__img.is-active { opacity: 1; transform: none; }
.process__bar {
  position: absolute;
  left: 26px; right: 26px; bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.gateway__watch { justify-self: start; }
.gateway__nav { justify-self: end; }
.gateway__nav .circle-btn { border: 0; cursor: pointer; font: inherit; }
.process__tabs { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.process__tab {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(14px, 1.1vw, 17px);
  color: rgba(255,255,255,.62);
  cursor: pointer;
  transition: color .4s ease;
}
.process__tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.process__tab:hover { color: #fff; }
.process__tab.is-active { color: #fff; font-weight: 500; }
.process__tab.is-active::after { transform: scaleX(1); }
@media (max-width: 759px) {
  .process { height: 320vh; }
  .process__sticky { padding-top: 88px; }
  .process__stage { inset: 48px 2% 132px; }
  .process__bar { grid-template-columns: 1fr auto; row-gap: 14px; left: 16px; right: 16px; bottom: 16px; }
  .process__tabs { grid-column: 1 / -1; grid-row: 1; justify-content: space-between; gap: 8px; }
  .process__tab { font-size: 13px; }
  .gateway__watch { grid-row: 2; }
  .gateway__nav { grid-row: 2; }
}


/* 3. TRUSTED BY =========================================================== */

.trusted { padding: 50px 0 140px; }

.trusted__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 var(--pad-x);
}
.trusted__title {
  font-weight: 500;
  font-size: clamp(30px, 2.8vw, 44px);
  letter-spacing: -0.045em;
}
.trusted__head p { margin-top: 12px; font-size: 14px; color: var(--c-muted); }

.logos {
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.logos .marquee { color: var(--c-grey); font-size: clamp(22px, 2vw, 28px); font-weight: 500; }
.logos__set { display: flex; align-items: center; gap: clamp(64px, 7vw, 110px); padding-right: clamp(64px, 7vw, 110px); }
.logo-item { display: flex; align-items: center; gap: .4em; white-space: nowrap; }
.logo-item--mono { font-family: var(--f-mono); font-size: .8em; letter-spacing: 0.18em; }
.logo-item--bold { font-weight: 600; }
.logo-shape { width: .85em; height: .85em; flex: none; }
.logo-shape--ring    { border-radius: 50%; border: 2px solid currentColor; }
.logo-shape--diamond { width: .7em; height: .7em; background: currentColor; transform: rotate(45deg); }
.logo-shape--square  { border-radius: 4px; border: 2px solid currentColor; }
.logo-shape--dot     { border-radius: 50%; background: currentColor; }


/* 4. MANIFESTO → CASCADE → GRID → VISION (pinned) ========================= */

.vision { position: relative; height: 560vh; }

.vision__stage {
  --r0: clamp(0, calc(var(--p) / 0.14), 1);           /* stack grows   */
  --c:  clamp(0, calc((var(--p) - 0.33) / 0.12), 1);  /* cascade       */
  --g:  clamp(0, calc((var(--p) - 0.50) / 0.12), 1);  /* grid          */
  --v:  clamp(0, calc((var(--p) - 0.67) / 0.12), 1);  /* vision folder */
}

/* Grid phase: 5vw → 95vw. Folder phase: clipped to the right column 44vw → 95vw */
.vision__panel {
  position: absolute;
  left: 5vw;
  top: 13vh;
  width: 90vw;
  height: 80vh;
  background: #fff;
  opacity: var(--g);
  clip-path: inset(calc(20vh * var(--v)) 0 calc(1vh * var(--v)) calc(39vw * var(--v)) round 24px);
  will-change: clip-path;
}

.folder {
  position: absolute;
  left: 44vw;
  width: 51vw;
  opacity: var(--v);
  transform: translateY(calc((1 - var(--v)) * 30px));
}
.folder--top { top: 20vh; }
.folder--tab { top: 26vh; height: 8vh; }
.folder__head {
  height: 13vh;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 18px 18px 0 0;
  background: var(--c-surface-2);
  font-size: 16px;
  font-weight: 500;
}
.folder__pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
}
.folder__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-ink); }
.folder__tab-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 45%;
  height: 100%;
  padding: 12px 18px;
  border-radius: 16px 16px 0 0;
  background: var(--c-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.folder__tab-body {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  bottom: 0;
  border-radius: 0 16px 0 0;
  background: var(--c-ink);
}

/* Manifesto — text colours in line by line */
.manifesto {
  position: absolute;
  left: 0;
  right: 0;
  top: 47vh;                              /* starts just below the card stack */
  padding: 0 20px;
  text-align: center;
  font-weight: 500;
  font-size: clamp(20px, min(3.1vw, 5vh), 52px);   /* five lines — scales with height too so the block stays on screen */
  line-height: 1.16;
  letter-spacing: -0.045em;
  opacity: calc(1 - var(--c) * 1.8);
  transform: translateY(calc(var(--c) * -6vh));
  will-change: transform, opacity;
}
.manifesto__line {
  display: block;
  color: transparent;
  -webkit-background-clip: text;
          background-clip: text;
  background-image: linear-gradient(90deg, var(--c-ink) calc(var(--r) * 120% - 20%), #D2D2D0 calc(var(--r) * 120%));
}
.manifesto__line--1 { --r: clamp(0, calc((var(--p) - 0.02) / 0.06), 1); }
.manifesto__line--2 { --r: clamp(0, calc((var(--p) - 0.08) / 0.06), 1); }
.manifesto__line--3 { --r: clamp(0, calc((var(--p) - 0.14) / 0.06), 1); }
.manifesto__line--4 { --r: clamp(0, calc((var(--p) - 0.20) / 0.06), 1); }
.manifesto__line--5 { --r: clamp(0, calc((var(--p) - 0.26) / 0.06), 1); }
@media (max-width: 759px) {
  .manifesto { font-size: clamp(20px, 5.6vw, 28px); line-height: 1.22; top: 40vh; }
  .manifesto__line { display: inline; }   /* let the copy reflow naturally on narrow screens */
}

.swatch { display: inline-block; width: 0.8em; height: 0.8em; vertical-align: -0.05em; }
.swatch--teal   { width: 1.3em; border-radius: 0.2em; background: var(--c-teal); }
.swatch--dot    { border-radius: 50%; background: var(--c-ink); }
.swatch--orange { border-radius: 0.2em; background: var(--c-orange); transform: rotate(12deg); }

.manifesto__icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  opacity: clamp(0, calc((var(--p) - 0.28) * 20), 1);
}
.manifesto__icons .circle-btn { border-color: #CFCFCD; }
.mini { width: 10px; height: 10px; background: var(--c-ink); }
.mini--dot { border-radius: 50%; }
.mini--diamond { transform: rotate(45deg); }

.vision__chip { position: absolute; z-index: 12; font-weight: 400; }
.vision__chip--alcian  { left: 12vw;  top: 39vh; opacity: calc(clamp(0, calc(var(--p) * 10), 1) * (1 - var(--c) * 2)); }
.vision__chip--andrea  { right: 10vw; top: 36vh; opacity: calc(clamp(0, calc((var(--p) - 0.12) * 10), 1) * (1 - var(--c) * 2)); }
.vision__chip--johnson { left: 66vw;  top: 34vh; font-weight: 500; opacity: calc(var(--c) * (1 - var(--g) * 2)); }

/* Moving cards (built by js/scenes.js) */
.flow-card {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform, clip-path;
}
.flow-card__info {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12vw;
  height: 30vh;
  transform: translate(-50%, -50%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flow-card__info-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 500; line-height: 1.2; }
.flow-card__info-head::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c-ink); }
.flow-card__info p { font-size: 12px; line-height: 1.5; color: var(--c-muted); }

/* Vision copy */
.vision__copy {
  position: absolute;
  left: clamp(20px, 5vw, 80px);
  top: 22vh;
  width: 36vw;
  pointer-events: none;
}
.vision__mark { display: block; width: 18px; height: 12px; border-radius: 50%; border: 1.5px solid var(--c-ink); opacity: var(--v); }
.vision__eyebrow { margin-top: 14px; opacity: clamp(0, calc(var(--v) * 3 - 0.2), 1); }
.vision__copy .display { margin-top: 20px; font-size: clamp(30px, 3vw, 50px); }
.vision__l1 { --l: clamp(0, calc(var(--v) * 2), 1); }
.vision__l2 { --l: clamp(0, calc(var(--v) * 2 - 0.5), 1); }
.vision__copy .lead { margin-top: 16px; max-width: 420px; opacity: clamp(0, calc((var(--v) - 0.6) * 4), 1); }
.vision__copy .link-muted { display: inline-block; margin-top: 14px; pointer-events: auto; opacity: clamp(0, calc((var(--v) - 0.7) * 4), 1); }

/* Design-tool icons: fall with gravity, tumble, land with a small bounce */
.tool-pile {
  position: absolute;
  left: clamp(20px, 5vw, 80px);
  top: 56vh;
  width: 470px;
  height: 320px;
  pointer-events: none;
}
/* Short screens: move the pile lower and scale it so it clears the copy */
@media (min-width: 760px) and (max-height: 760px) {
  .tool-pile { top: 66vh; transform: scale(.72); transform-origin: 0 0; }
}
.vision-icon {
  --fr: calc(var(--v) * 2.2 - var(--d));                 /* per-icon progress */
  --f: clamp(0, calc(var(--fr) / 0.75), 1);              /* fall   */
  --bo: clamp(0, calc((var(--fr) - 0.75) / 0.25), 1);    /* bounce */
  position: absolute;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #FFFFFF 0%, #FAFAF8 55%, #EFEFEC 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 8px rgba(0, 0, 0, .04),
    0 0 0 1px rgba(18, 18, 18, .035),
    0 4px 10px rgba(0, 0, 0, .04),
    0 22px 40px -14px rgba(0, 0, 0, .2);
  pointer-events: auto;
  translate: 0 0;
  transition: translate .9s cubic-bezier(.19, 1, .22, 1), box-shadow .9s cubic-bezier(.19, 1, .22, 1);
  color: var(--c-ink);
  opacity: clamp(0, calc(var(--fr) * 4), 1);
  transform:
    translateY(calc((1 - var(--f) * var(--f)) * -60vh + 4 * var(--bo) * (1 - var(--bo)) * -18px))
    rotate(calc(var(--rest) * 1deg + (1 - var(--f)) * var(--spin) * 1deg));
  will-change: transform, opacity;
}
.vision-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vision-icon:hover {
  translate: 0 -8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 8px rgba(0, 0, 0, .04),
    0 0 0 1px rgba(18, 18, 18, .04),
    0 8px 16px rgba(0, 0, 0, .06),
    0 30px 50px -14px rgba(0, 0, 0, .26);
}


/* 5. COMMUNITY ============================================================ */

.community {
  position: relative;
  height: 100vh;                         /* whole section fits in one screen at any size */
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
}
.crowd-row {
  position: absolute;
  left: 0;
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}
/* rows start off-screen left and drift in opposite directions while scrolling */
.crowd-row--top    { top: 8%;    align-items: flex-start; transform: translate3d(calc(-30vw - var(--p) * 30vw), 0, 0); }
.crowd-row--bottom { bottom: 8%; align-items: flex-end;   transform: translate3d(calc(-60vw + var(--p) * 30vw), 0, 0); }

.crowd-tile {
  flex: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  opacity: var(--t);
}
/* each tile drops / rises in and pops to size, staggered (data-delay) */
.crowd-row--top .crowd-tile    { transform: translateY(calc((1 - var(--t)) * -80px)) scale(calc(0.4 + var(--t) * 0.6)); }
.crowd-row--bottom .crowd-tile { transform: translateY(calc((1 - var(--t)) * 80px))  scale(calc(0.4 + var(--t) * 0.6)); }
@media (max-width: 759px) {
  .community { height: 100vh; height: 100svh; min-height: 520px; }
  .crowd-row { gap: 14px; }
  .crowd-tile { zoom: .72; }
}

.community__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 28px;                 /* offsets the diamond mark so top and bottom gaps match */
  text-align: center;
  pointer-events: none;
}
.community__mark { width: 14px; height: 14px; border: 1.5px solid var(--c-ink); transform: rotate(45deg); }
.community__copy .display { margin-top: 24px; }
.community__copy .lead { margin-top: 16px; max-width: 300px; line-height: 1.5; }
/* small laptop resolutions: more air around the copy */
@media (min-width: 760px) and (max-width: 1440px), (min-width: 760px) and (max-height: 820px) {
  .community__copy { padding-block: clamp(40px, 8vh, 90px); }
  .community__copy .display { margin-top: 32px; }
  .community__copy .lead { margin-top: 24px; }
}


/* 6. STORY ================================================================ */

.story { max-width: 1440px; margin: 0 auto; padding: 120px var(--pad-x); }
.story__head { text-align: center; }
.story__head .display { margin-top: 16px; }

.story__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 24px;
}
.story-card {
  --r-dist: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(440px, 38vw, 560px);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}
.story-card__media { flex: 1; min-height: 300px; }
.story-card__body { padding: 20px 26px 24px; }
.story-card h3 { font-size: 18px; font-weight: 500; }
.story-card p { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--c-muted); }
.story-card .link-muted { display: inline-block; margin-top: 12px; font-size: 12px; }

.story-card--stack { justify-content: space-between; padding: 26px; overflow: visible; }
.story-card__play { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.story-card__play::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-ink); }
.stack {
  position: relative;
  align-self: center;
  width: clamp(170px, 15vw, 230px);
  aspect-ratio: 0.85;
  margin: 10px 0;
}
.stack__layer { position: absolute; inset: 0; border-radius: var(--radius-md); }
.stack__layer--1 { background: var(--c-yellow); transform: rotate(-10deg) translateX(-20px); }
.stack__layer--2 { background: var(--c-teal); transform: rotate(-4deg) translateX(-9px); }
.stack__layer--3 { box-shadow: 0 14px 30px rgba(0, 0, 0, .14); }
.stack .chip { position: absolute; right: -50px; top: -8px; font-weight: 400; }
.pill-btn { display: inline-block; margin-top: 16px; padding: 8px 14px; border-radius: 999px; background: var(--c-surface-3); font-size: 12px; }

.story-card--phone { align-items: center; justify-content: flex-end; }
.story-card__badge {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-ink);
}
.story-card__badge::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.story-card__body--phone { align-self: stretch; margin-bottom: auto; padding-right: 72px; }
.story-card--phone .phone { height: 60%; }
.story-card__media.art > img { transition: transform 1.2s var(--ease-img, ease); }
.story-card:hover .story-card__media.art > img { transform: scale(1.04); }
.phone {
  width: clamp(200px, 17vw, 250px);
  height: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 30px 30px 0 0;
  background: #1B1B1B;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.phone span { color: #8A8A88; }
.phone .phone__far { color: #5E5E5C; }
.phone .phone__up   { transform: translateY(calc((0.5 - var(--p)) * 20px)); }
.phone .phone__down { transform: translateY(calc((var(--p) - 0.5) * 20px)); }
.phone .phone__main { color: #fff; font-size: 17px; font-weight: 500; }


/* 7. MARKETPLACE ========================================================== */

.market { padding: 100px var(--pad-x) 120px; }
.market__layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.market__intro { position: sticky; top: 120px; }
.market__intro .display { margin-top: 16px; }
.market__intro .lead { margin-top: 20px; max-width: 340px; line-height: 1.55; }
.market__intro .cta-row { margin-top: 32px; }
.market__content { min-width: 0; }
/* horizontal slider: native scroll-snap, arrows + progress in main.js */
.market__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 28vw, 400px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin-right: calc(var(--pad-x) * -1);      /* bleeds to the screen edge */
  padding-right: var(--pad-x);
}
.market__track::-webkit-scrollbar { display: none; }
.project { display: block; scroll-snap-align: start; color: var(--c-ink); }
.project__media { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: #EDEDEB; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.project:hover .project__media img { transform: scale(1.04); }
.project__meta { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; }
.project__num { font-size: 12px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.project__name { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.project__tags { margin-top: 4px; font-size: 13px; color: var(--c-muted); }
.market__controls { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.market__controls .circle-btn { border: 0; cursor: pointer; font: inherit; }
.market__controls .circle-btn:disabled { opacity: .35; cursor: default; }
.progress { position: relative; width: 240px; height: 2px; background: #E2E2E0; }
.progress__bar { position: absolute; inset: 0 auto 0 0; width: var(--sp, 25%); background: var(--c-ink); transition: width .5s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 900px) {
  .market__layout { grid-template-columns: 1fr; }
  .market__intro { position: static; }
  .market__track { grid-auto-columns: 72vw; }
}


/* 8. BRAND ICONS → FEATURE PANEL → GALLERY (pinned) ======================= */

.gallery { position: relative; height: 300vh; }

.gallery__stage {
  --a: clamp(0, calc(var(--p) / 0.33), 1);           /* panel rises  */
  --b: clamp(0, calc((var(--p) - 0.36) / 0.3), 1);   /* gallery grid */
  /* feature panel geometry */
  --gal-scale: 0.243;
  --gal-side: 26vw;
  --gal-side-2: 7.45vw;
  --gal-r: 28px;
  --gal-r-2: 8px;
  --gal-ov-left: 33.45vw;
  --gal-ov-width: 25.1vw;
  --gal-ov-size: 15px;
}

.brand-icons {
  position: absolute;
  left: 0;
  right: 0;
  top: 18vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  opacity: calc(1 - var(--b) * 1.6);
  transform: translateY(calc(var(--a) * -4vh - var(--b) * 30vh));
}
.brand-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.brand-icon--sm { width: 26px; height: 26px; border-radius: 7px; }
.brand-icon--ink { background: var(--c-ink); }
.brand-icon--outline { border: 1.5px solid var(--c-ink); }
.brand-icon--rose { background: var(--c-rose); }
.brand-icon--magenta { background: var(--c-magenta); }
.brand-icon--white { background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); font-size: 12px; font-weight: 600; }
.brand-icon--main {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-md);
  background: var(--c-orange);
  box-shadow: 0 16px 34px rgba(242, 106, 61, .35);
}
.brand-icon--main::after {
  content: "";
  width: 28px;
  height: 28px;
  background: #fff;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* Gallery tiles (built by js/scenes.js) */
.gallery-tile {
  position: absolute;
  border-radius: var(--radius-md);
  opacity: clamp(0, calc(var(--b) * 1.4 - var(--d)), 1);
  transform: translateY(calc((1 - var(--b)) * var(--dy) * 1vh)) scale(calc(0.7 + var(--b) * 0.3));
  will-change: transform, opacity;
}

.feature {
  position: absolute;
  left: 4vw;
  top: 0;
  z-index: 3;
  width: 92vw;
  height: 74vh;
  color: #fff;
  transform: translateY(calc(76vh - 50vh * var(--a) - 13vh * var(--b))) scale(calc(1 - var(--gal-scale) * var(--b)));
  clip-path: inset(calc(2vh - 2vh * var(--a)) calc(var(--gal-side) * var(--a) + var(--gal-side-2) * var(--b)) round calc(var(--gal-r) + var(--gal-r-2) * var(--b)));
  will-change: transform, clip-path;
}
.feature__overlay {
  position: absolute;
  top: 0;
  left: var(--gal-ov-left);
  width: var(--gal-ov-width);
  height: 74vh;
  font-size: var(--gal-ov-size);
  opacity: var(--b);
  pointer-events: none;
}
.feature__like {
  position: absolute;
  right: 1.3em;
  top: 1.3em;
  padding: 0.55em 0.95em;
  border-radius: 999px;
  background: #fff;
  color: var(--c-ink);
  font-weight: 500;
}
.feature__handle {
  position: absolute;
  left: 12%;
  top: 26%;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: #fff;
  color: var(--c-orange);
  font-size: 1.05em;
  font-weight: 500;
}
.feature__author {
  position: absolute;
  left: 1.3em;
  bottom: 1.3em;
  display: flex;
  align-items: center;
  gap: 0.8em;
  line-height: 1.3;
}
.feature__avatar { width: 2.6em; height: 2.6em; border-radius: 0.7em; background: #FFD7C4; }
.feature__author small { font-size: 1em; opacity: .85; }


/* 9. MEMBERSHIP =========================================================== */

.pricing {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.pricing__mark { display: block; width: 16px; height: 14px; border-radius: 3px; background: var(--c-ink); }
.pricing__title {
  margin-top: 18px;
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 56px);
  letter-spacing: -0.05em;
}
.pricing .lead { margin-top: 14px; max-width: 420px; }

.plans { display: flex; justify-content: center; align-items: flex-start; gap: 16px; padding: 30px 0; }
.plan {
  --r-dist: 60px;
  width: min(28vw, clamp(150px, 13vw, 200px));
  aspect-ratio: 0.8;
  padding: clamp(12px, 1.3vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .07);
}
.plan--monthly  { margin-top: 20px; }
.plan--annual   { margin-top: 36px; transform: translateY(calc((1 - var(--t)) * 60px)) rotate(calc(var(--t) * 6deg)); }
.plan--featured {
  position: relative;
  z-index: 2;
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 24px 50px rgba(242, 106, 61, .35);
  transform: translateY(calc((1 - var(--t)) * 60px)) rotate(calc(var(--t) * -4deg));
}
.plan__name { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 15px; }
.plan__badge { padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--c-orange); font-size: 10px; font-weight: 500; }
.plan__price { margin-top: 10px; font-size: clamp(26px, 3vw, 44px); font-weight: 500; letter-spacing: -0.04em; }
.plan__price sup { font-size: 0.36em; }
.plan__note { font-size: 11px; color: var(--c-faint); }
.plan--featured .plan__note { color: #fff; opacity: .9; }


/* 10. LIME BAND (pinned) ================================================== */

.lime { position: relative; height: 300vh; }

.lime__stage {
  --g: clamp(0, calc(var(--p) / 0.25), 1);           /* band grows   */
  --k: clamp(0, calc((var(--p) - 0.72) / 0.22), 1);  /* band shrinks */
  --h: calc((1 - var(--g) + var(--k)) * (100vh - 258px));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 84px var(--pad-x-tight) 24px;
}
.lime__band {
  position: relative;
  width: 100%;
  height: calc(100vh - 108px);
  overflow: hidden;
  background: var(--c-lime);
  clip-path: inset(0 0 var(--h) 0 round 26px);
  will-change: clip-path;
}
.lime__ticker { position: absolute; left: 0; top: 28px; opacity: calc(1 - var(--k) * 1.5); }
.lime__copy {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  top: clamp(28px, 5vw, 72px);
  z-index: 2;
  max-width: min(760px, 88%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--c-ink);
  opacity: calc(1 - var(--k) * 1.5);
}
.lime__title {
  font-size: clamp(40px, 5.6vw, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lime__small {
  margin-top: 10px;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lime__lead { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; }
.lime__ticker .marquee {
  font-size: clamp(48px, 5.6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.lime__set { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.tick { width: 0.7em; height: 0.7em; border-radius: 0.15em; flex: none; }
.tick--magenta { background: var(--c-magenta); }
.tick--brick   { background: var(--c-brick); }
.tick--blue    { background: var(--c-blue); }
.tick--dot     { background: var(--c-ink); border-radius: 50%; }
/* brand hexagon mark as a soft outline watermark, turning with scroll */
.lime__watermark {
  position: absolute;
  right: -6%;
  bottom: -22%;
  width: clamp(280px, 38vw, 620px);
  aspect-ratio: 1;
  background: rgba(18, 18, 18, .06);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%,
                     4% 50%, 27.5% 96%, 72.5% 96%, 96% 50%, 72.5% 4%, 27.5% 4%, 4% 50%, 0 50%);
  transform: rotate(calc(var(--p) * 60deg));
  pointer-events: none;
}
.lime__fallers { position: absolute; inset: 0; transform: translateY(calc(var(--h) * -1)); will-change: transform; }

/* falling tool icons — same soft white discs as the vision section */
.faller {
  --f: clamp(0, calc((var(--p) - var(--start)) * 7), 1);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, #FFFFFF 0%, #FAFAF8 55%, #EFEFEC 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 8px rgba(0, 0, 0, .04),
    0 4px 10px rgba(0, 0, 0, .05),
    0 22px 40px -14px rgba(0, 0, 0, .25);
  color: var(--c-ink);
  opacity: var(--f);
  transform: translateY(calc((1 - var(--f)) * -70vh)) rotate(calc((1 - var(--f)) * var(--rot) * 1deg));
  will-change: transform;
}
.faller svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }


/* 11. TWO CARDS =========================================================== */

.duo {
  position: relative;
  margin-top: -40vh;
  padding: 20px var(--pad-x-tight) 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}
.duo-card {
  --r-dist: 100px;
  min-height: clamp(420px, 46vw, 720px);
  border-radius: var(--radius-lg);
}
.duo-card--meet { color: #fff; --line: rgba(255,255,255,.35); }
.duo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 48px);
  --line: rgba(0,0,0,.12);
}
.duo-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono, "Geist Mono", monospace);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.duo-card__label { display: inline-flex; align-items: center; gap: 12px; }
.duo-card__num { opacity: .7; }
.duo-card__icon { display: block; width: 14px; height: 14px; flex: none; }
.duo-card__icon--circle { border-radius: 50%; border: 1.5px solid #fff; }
.duo-card__icon--triangle { background: var(--c-ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.duo-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2vw, 28px);
}
.duo-card h3 {
  font-size: clamp(38px, 4.4vw, 76px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}


/* 12. FOOTER (dark) ======================================================= */

.footer {
  position: relative;
  margin-top: 60px;
  padding: clamp(56px, 7vw, 110px) var(--pad-x) 0;
  border-radius: 32px 32px 0 0;
  background: var(--c-dark);
  color: var(--c-dark-text);
  overflow: hidden;
}
.footer a { color: var(--c-dark-text); }
.footer a:hover { color: var(--c-orange); }

.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer__status { display: flex; align-items: center; gap: 10px; color: var(--c-dark-muted); }
.footer__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-lime); }
.footer__title {
  margin-top: 20px;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.footer__cta { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.footer__cta p { font-size: 15px; line-height: 1.55; color: #A8A8A6; }
.footer .btn--orange { background: var(--c-orange); color: #fff; --fill: #fff; --fill-ink: var(--c-ink); }
.footer .btn--outline { border: 1px solid #3A3A38; background: transparent; color: var(--c-dark-text); --fill: #fff; --fill-ink: var(--c-ink); }
.footer .btn:hover { color: var(--fill-ink); }

.footer__links {
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: 40px;
  border-top: 1px solid var(--c-dark-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col a { display: flex; align-items: center; gap: 8px; }
.footer__heading { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--c-muted); }
.tag--magenta { background: var(--c-magenta); color: #fff; }
.tag--lime    { background: var(--c-lime); color: var(--c-ink); }
.tag--blue    { background: var(--c-blue); color: #fff; }

.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-dark-2);
  font-size: 13px;
  font-weight: 600;
  transition: background .3s;
}
.footer .social a:hover { color: #fff; background: var(--hover); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.wordmark {
  position: relative;
  margin-top: clamp(48px, 6vw, 90px);
  padding-bottom: 0.5vw;
  overflow: hidden;
}
.wordmark__text {
  position: relative;
  display: block;
  width: max-content;
  white-space: nowrap;
  font-size: 16vw;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.07em;
  transform: translateY(calc((1 - min(var(--p) * 2, 1)) * 45%));
  will-change: transform;
}
.wordmark__mark {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.04em;
  background: var(--c-orange);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: rotate(calc(var(--p) * 180deg));
}
.footer__bottom {
  padding: 22px 0 28px;
  border-top: 1px solid var(--c-dark-line);
  font-size: 13px;
  color: var(--c-dark-muted);
}



/* Hero "Life." — a touch smaller so the serif balances the sans headline */
.hero__life { font-size: calc(1em - 2px); }

/* Hero "Scroll to explore" cue — vertical, on the right edge at mid-height;
   fades out as you scroll */
.scroll-hint {
  position: absolute;
  right: calc(var(--pad-x) * .6);
  top: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #9A9A98;
  transform: translateY(-50%);
  opacity: calc(var(--t) * (1 - var(--a) * 3));
  pointer-events: none;
}
.scroll-hint__text { writing-mode: vertical-rl; }
.scroll-hint::before {
  content: "";
  width: 1px;
  height: 48px;
  background: currentColor;
  opacity: .5;
}
.scroll-hint__mouse {
  position: relative;
  width: 20px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-sm);
}
.scroll-hint__mouse span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 2px;
  height: 6px;
  margin-left: -1px;
  border-radius: 2px;
  background: currentColor;
  animation: scroll-wheel 1.8s cubic-bezier(.65, 0, .35, 1) infinite;
}
.scroll-hint__text { font-size: 13px; font-weight: 500; letter-spacing: -.005em; }
@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  70% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(8px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .scroll-hint__mouse span { animation: none; } }

/* ---------- Industries (dark index) ---------- */
.industries { padding: clamp(12px, 1.2vw, 20px) var(--pad-x-tight); }
.industries__inner {
  background: var(--c-dark); color: var(--c-dark-text); border-radius: var(--radius-lg);
  padding: clamp(56px, 7vw, 112px) clamp(22px, 4.5vw, 80px) clamp(40px, 5vw, 80px);
}
.industries__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 20px; align-items: end;
}
.industries__head .eyebrow { grid-column: 1 / -1; color: var(--c-dark-muted); }
.industries__title { font-size: clamp(44px, 6.2vw, 104px); font-weight: 500; letter-spacing: -0.055em; line-height: 1.02; }
.industries__title > span { display: block; }
.industries__meta { display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.industries__meta p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--c-dark-muted); text-wrap: pretty; max-width: 420px; }
.industries__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-dark-muted); }
.industries__count b { color: var(--c-orange); font-weight: 500; }
.industries__index {
  margin: clamp(48px, 6vw, 96px) 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 96px); align-items: start;
}
.ind-col { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-dark-line); }
.ind-row { position: relative; border-bottom: 1px solid var(--c-dark-line); }
.ind-row::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--c-orange);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.ind-row.is-open::after { transform: scaleX(1); }
.ind-row__head {
  width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: clamp(18px, 1.8vw, 26px) 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.ind-row__num { font-family: var(--f-mono); font-size: 12px; color: var(--c-dark-muted); transition: color .5s var(--ease-out); }
.ind-row__name {
  font-size: clamp(22px, 2.3vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05;
  transition: color .5s var(--ease-out), transform .6s var(--ease-out);
}
.ind-row__toggle { position: relative; width: 14px; height: 14px; }
.ind-row__toggle::before, .ind-row__toggle::after { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--ease-out), background-color .4s; }
.ind-row__toggle::after { transform: rotate(90deg); }
.ind-row.is-open .ind-row__toggle::after { transform: rotate(0deg); }
.ind-row.is-open .ind-row__toggle::before, .ind-row.is-open .ind-row__toggle::after { background: var(--c-orange); }
.ind-row.is-open .ind-row__num { color: var(--c-orange); }
.ind-row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.ind-row.is-open .ind-row__panel { grid-template-rows: 1fr; }
.ind-row__inner { min-height: 0; overflow: hidden; padding-left: 60px; opacity: 0; transition: opacity .5s ease; }
.ind-row.is-open .ind-row__inner { opacity: 1; transition-delay: .15s; }
.ind-row__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.ind-row__tags { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
@media (max-width: 1200px) { .ind-row__inner { padding-left: 0; } }
.ind-row__tags li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 112px;
  padding: 14px; border: 1px solid var(--c-line); border-radius: var(--radius-md); background: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease, transform .7s var(--ease-out), border-color .4s ease;
}
.ind-row.is-open .ind-row__tags li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s), calc(.12s + var(--i) * .05s), 0s; }
.ind-tile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--c-bg); color: var(--c-ink); transition: background-color .4s ease, color .4s ease; }
.ind-tile__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ind-tile__label { font-size: 14px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; text-wrap: pretty; }
@media (hover: hover) {
  .ind-row__tags li:hover { border-color: var(--c-ink); }
  .ind-row__tags li:hover .ind-tile__icon { background: var(--c-ink); color: #fff; }
}
.ind-row__cta { margin: 18px 0 clamp(20px, 2vw, 28px); }
@media (hover: hover) {
  .ind-row__head:hover .ind-row__num { color: var(--c-orange); }
  .ind-row__head:hover .ind-row__name { transform: translateX(10px); }
}
.ind-row__head:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 900px) {
  .industries__head { grid-template-columns: minmax(0, 1fr); }
  .industries__index { grid-template-columns: minmax(0, 1fr); }
  .ind-col + .ind-col { border-top: 0; }
}
@media (max-width: 560px) {
  .industries__inner { border-radius: var(--radius-md); padding: 48px 20px 28px; }
  .ind-row__head { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 16px 0; }
  .ind-row__inner { padding-left: 42px; }
  .ind-row__tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ind-row__tags li { min-height: 96px; padding: 12px; gap: 14px; }
  .ind-tile__label { font-size: 13px; }
  .ind-row__name { font-size: 20px; }
}


/* Industries — light theme (default). Add class "industries--dark" on the section for the dark panel. */
.industries:not(.industries--dark) .industries__inner { background: var(--c-surface); color: var(--c-ink); }
.industries:not(.industries--dark) .industries__head .eyebrow,
.industries:not(.industries--dark) .industries__meta p,
.industries:not(.industries--dark) .industries__count,
.industries:not(.industries--dark) .ind-row__num { color: var(--c-muted); }
.industries:not(.industries--dark) .ind-col,
.industries:not(.industries--dark) .ind-row { border-color: var(--c-line); }
.industries__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.industries--dark .btn--dark { background: var(--c-dark-text); color: var(--c-ink); }

/* ---------- Locations ---------- */
.locations { padding: clamp(72px, 8vw, 120px) var(--pad-x); }
.locations__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.locations__side { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
@media (max-width: 1024px) { .locations__grid { grid-template-columns: minmax(0, 1fr); } }
.locations__head { display: flex; flex-direction: column; gap: 18px; }
.locations__list { list-style: none; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.loc-row {
  display: grid; grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(22px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--c-line);
}
.loc-row__num { font-family: var(--f-mono); font-size: 12px; color: var(--c-faint); }
.loc-row__country {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: clamp(30px, 4.4vw, 68px); font-weight: 500; letter-spacing: -0.05em; line-height: 1;
  transition: color .5s var(--ease-out), transform .6s var(--ease-out);
}
.loc-row__tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--c-orange); color: var(--c-ink);
}
.loc-row__cities { font-size: 15px; color: var(--c-muted); }
.loc-row__time { font-family: var(--f-mono); font-size: 14px; color: var(--c-ink); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .loc-row:hover .loc-row__country { color: var(--c-orange); transform: translateX(12px); }
}
@media (max-width: 760px) {
  .loc-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px 14px; padding: 20px 0; }
  .loc-row__country { font-size: clamp(26px, 8vw, 36px); gap: 10px; }
  .loc-row__tag { font-size: 10px; padding: 5px 8px; }
  .loc-row__cities { grid-column: 2 / 4; font-size: 13px; }
  .loc-row__time { grid-row: 1; grid-column: 3; font-size: 12px; }
}

/* ---------- Served map ---------- */
.served-map {
  position: relative;
  aspect-ratio: 1.45 / 1; border-radius: var(--radius-lg); background: var(--c-surface); overflow: hidden;
}
.served-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.served-map__pins { position: absolute; inset: 0; pointer-events: none; }
.map-pin { position: absolute; transform: translate(-50%, -50%); }
.map-pin__dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 0 0 5px rgba(242,106,61,.18); }
.map-pin--home .map-pin__dot { width: 14px; height: 14px; background: var(--c-ink); box-shadow: 0 0 0 6px rgba(18,18,18,.12); }
.map-pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  white-space: nowrap; padding: 6px 11px; border-radius: 999px; background: var(--c-ink); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: -0.01em;
}
.map-pin--below .map-pin__label { bottom: auto; top: calc(100% + 10px); }
.served-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.served-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--c-surface); }
.served-item__code { font-family: var(--f-mono); font-size: 11px; color: var(--c-faint); }
.served-item__name { flex: 1; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.served-item__name em { font-style: normal; font-size: 11px; color: var(--c-orange); margin-left: 4px; }
@media (min-width: 561px) and (max-width: 1024px) { .served-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .served-map { aspect-ratio: 1.6 / 1; border-radius: var(--radius-md); }
  .map-pin__label { font-size: 10px; padding: 4px 8px; bottom: calc(100% + 6px); }
  .map-pin--below .map-pin__label { top: calc(100% + 6px); }
  .map-pin__dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(242,106,61,.18); }
  .map-pin--home .map-pin__dot { width: 10px; height: 10px; }
  .served-item { padding: 12px 14px; gap: 8px; }
  .served-item__name { font-size: 14px; }
}

/* Locations — centred, fits one screen */
.locations--center {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: clamp(16px, 3vh, 40px);
  padding-block: clamp(48px, 8vh, 96px);
  text-align: center;
}
.locations--center .locations__head { align-items: center; gap: clamp(10px, 1.6vh, 18px); max-width: 760px; }
.locations--center .locations__head .display { font-size: clamp(36px, min(5vw, 7.5vh), 84px); }
.locations--center .locations__lead { max-width: 560px; margin-inline: auto; }
.locations--center .served-map {
  width: 100%; max-width: 1280px;
  height: clamp(200px, calc(100svh - 480px), 640px);
  aspect-ratio: auto; background: none; border-radius: 0; overflow: visible;
}
.locations--center .served-list { width: 100%; max-width: 1080px; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; }
@media (max-width: 760px) {
  .locations--center .served-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locations--center .served-map { height: clamp(180px, 56vw, 300px); }
}

/* Locations — exactly one screen, map fills the remaining height */
.locations--center { height: 100svh; min-height: 560px; padding-inline: var(--pad-x-tight, 24px); }
.locations--center .served-map { flex: 1 1 auto; min-height: 0; height: auto; max-width: none; }
.locations--center .served-list { flex: none; }
@media (max-width: 760px) {
  .locations--center { height: auto; min-height: 100svh; }
  .locations--center .served-map { flex: none; height: clamp(180px, 56vw, 300px); }
}

/* Locations — minimal, compact (reference layout) */
.locations--center { height: auto; min-height: 0; padding-block: clamp(64px, 9vh, 110px); gap: clamp(20px, 3vh, 36px); background: var(--c-bg); }
.locations--center .locations__head .display { font-size: clamp(34px, 4.2vw, 64px); }
.locations--center .served-map { flex: none; width: 100%; max-width: 1100px; height: clamp(240px, min(46vw, 52vh), 520px); }
.locations--center .map-pin { pointer-events: auto; cursor: default; padding: 10px; }
.locations--center .map-pin__label { display: none; }
.locations--center .map-pin__dot { width: 12px; height: 12px; background: var(--c-orange); box-shadow: 0 0 0 0 rgba(242,106,61,.3); transition: box-shadow .5s var(--ease-out, ease); }
.locations--center .map-pin.is-active .map-pin__dot { box-shadow: 0 0 0 7px rgba(242,106,61,.18); }
.map-pin__card {
  position: absolute; left: 50%; bottom: calc(100% + 4px);
  display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; min-width: 140px;
  background: #fff; border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(18,18,18,.22);
  text-align: left; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px); transition: opacity .4s ease, transform .4s var(--ease-out, ease); pointer-events: none;
}
.map-pin--below .map-pin__card { bottom: auto; top: calc(100% + 4px); transform: translate(-50%, -6px); }
.map-pin.is-active .map-pin__card { opacity: 1; transform: translate(-50%, 0); }
.map-pin__card b { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--c-orange); }
.map-pin__card span { font-size: 13px; color: var(--c-ink); }
.served-stats { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.served-stat { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.served-stat__time { font-family: inherit; font-size: clamp(36px, 4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.served-stat__rule { width: 28px; height: 1px; background: var(--c-orange); }
.served-stat__name { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--c-line); transition: color .4s ease, border-color .4s ease; }
.served-stat__link { display: flex; flex-direction: column; align-items: center; gap: inherit; padding: 12px 8px; color: var(--c-ink); text-decoration: none; cursor: pointer; }
.served-stat__arrow { width: 22px; height: 22px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: var(--c-ink); color: #fff; flex: none; transition: transform .5s cubic-bezier(.22,1,.36,1), background-color .4s ease, color .4s ease; }
.served-stat__rule { transition: width .5s cubic-bezier(.22,1,.36,1); }
.served-stat__link:hover, .served-stat__link:focus-visible { color: var(--c-ink); }
.served-stat__link:hover .served-stat__name, .served-stat__link:focus-visible .served-stat__name { color: var(--c-orange); border-color: var(--c-orange); }
.served-stat__link:hover .served-stat__arrow, .served-stat__link:focus-visible .served-stat__arrow { transform: translate(2px, -2px); background: var(--c-orange); }
.served-stat__link:hover .served-stat__rule { width: 44px; }
.served-stat__link:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 4px; border-radius: var(--radius-sm); }
@media (max-width: 760px) {
  .locations--center .served-map { height: clamp(170px, 52vw, 300px); }
  .served-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .map-pin__card { padding: 8px 12px; min-width: 0; }
  .map-pin__card b { font-size: 12px; }
  .map-pin__card span { font-size: 11px; }
}

@media (min-width: 761px) and (max-height: 820px) {
  .locations--center { padding-block: 4vh; gap: 2.6vh; }
  .locations--center .locations__head { gap: 1.2vh; }
  .locations--center .locations__head .display { font-size: clamp(28px, 6.4vh, 56px); }
  .locations--center .locations__lead { font-size: clamp(14px, 2.4vh, 18px); }
  .locations--center .served-map { height: clamp(150px, calc(100svh - 380px), 520px); }
  .served-stat { gap: 6px; }
  .served-stat__time { font-size: clamp(26px, 6vh, 52px); }
}
