/* ==========================================================
   Amplitude Theory — Direction B "Neon Bazaar"
   Tokens mirror design-system/pages/direction-b-neon-bazaar.md
   ========================================================== */
:root {
  --ink: #0b0d24;
  --night: #151a4d;
  --paper: #ece2cc;
  --paper-hi: #fbf5e8;
  --marigold: #ffbe2e;
  --brass: #dba12c;
  --vermilion: #e8341f;
  --red-deep: #b3201a;
  --pink: #ff2e88;
  --cyan: #19e3ff;
  --bd-green: #0b7a50;
  --bd-green-lite: #1fc77e;
  --yale: #0f3b59;

  --f-head: "Albert Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --f-body: "Archivo", system-ui, sans-serif;

  --wrap: 1320px;
  --gutter: 24px;
  --section-y: clamp(88px, 11vw, 160px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --glow-cyan: 0 0 6px rgba(25, 227, 255, .9), 0 0 18px rgba(25, 227, 255, .6), 0 0 40px rgba(25, 227, 255, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* film grain over everything — analog imperfection */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 9999; background: var(--marigold); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 2px solid var(--ink);
  font-family: var(--f-body); font-weight: 600; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--neon { background: var(--marigold); color: var(--ink); box-shadow: 4px 4px 0 var(--pink); }
.btn--neon:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pink); }
.btn--ink { background: var(--ink); color: var(--paper-hi); box-shadow: 4px 4px 0 var(--marigold); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--marigold); }
.btn--sticker { min-height: 42px; padding: 0 18px; font-family: var(--f-mono); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: var(--marigold); color: var(--ink); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-2deg); }
.btn--sticker:hover { transform: rotate(0); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--pink); }

.round { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--paper); background: transparent; transition: transform .2s var(--ease); }
.round svg { width: 20px; height: 20px; }
.round--solid { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.round:hover { transform: scale(1.08); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background-color .3s; }
.nav.is-scrolled { background: rgba(11, 13, 36, .92); backdrop-filter: blur(8px); box-shadow: 0 2px 0 var(--pink); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: grid; text-decoration: none; line-height: 1; }
.logo__en { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--paper-hi); }
.logo__en b { font-weight: 700; margin-left: 4px; color: transparent; background: linear-gradient(180deg, #ffd27a 10%, #ffb12e 55%, #ff8a1c 100%); -webkit-background-clip: text; background-clip: text; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; padding: 8px 0; }
.nav__links a:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.nav__toggle { display: none; width: 48px; height: 48px; margin-left: auto; background: none; border: 0; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 3px; background: var(--marigold); transition: transform .25s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { background: var(--ink); border-bottom: 3px solid var(--pink); padding: 12px var(--gutter) 28px; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--f-head); font-weight: 700; font-size: 36px; text-decoration: none; padding: 10px 0; border-bottom: 1px dashed rgba(236, 226, 204, .2); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }

/* ---------- Shared photo treatment ---------- */
.neon-grade { position: relative; overflow: hidden; isolation: isolate; background: var(--night); }
.neon-grade img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.3) contrast(1.12) brightness(1.05); }

/* ---------- Section type system (matches the deco hero) ----------
   Albert Sans for headings with one colour accent; Space Mono for labels; Archivo for body. */
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11, 13, 36, .7); }
.kicker b { color: var(--red-deep); font-weight: 700; }
.kicker b::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; }
.kicker--light { color: rgba(236, 226, 204, .75); }
.kicker--light b { color: var(--pink); }
.display { font-family: var(--f-head); font-weight: 700; font-size: clamp(44px, 6.2vw, 96px); line-height: 1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.display em { font-style: normal; color: var(--red-deep); }
.display--light { color: var(--paper-hi); }
.display--light em, .gold-text {
  color: transparent; background: linear-gradient(180deg, #ffd27a 10%, #ffb12e 55%, #ff8a1c 100%);
  -webkit-background-clip: text; background-clip: text;
}
.lede { max-width: 52ch; margin-top: 22px; font-size: 18px; line-height: 1.6; color: rgba(11, 13, 36, .8); }
.lede--light { color: rgba(236, 226, 204, .85); }
.note { margin-top: 28px; font-family: var(--f-mono); font-size: 12px; opacity: .7; }
.section { padding-block: var(--section-y); position: relative; }
.sec-head { margin-bottom: clamp(44px, 5.5vw, 72px); }
.sec-head--split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.paper {
  background: radial-gradient(circle, rgba(11, 13, 36, .06) 1px, transparent 1.5px) 0 0 / 7px 7px, var(--paper);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; padding-top: calc(var(--nav-h) + 24px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #07081a 0%, var(--night) 55%, #2a0f45 78%, var(--ink) 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.city-canvas, .grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Centred hero: tagline over the city skyline */
.hero__center {
  flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-block: 24px 48px;
}
.hero__center::before {
  /* soft scrim so the skyline never fights the type */
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 120%); height: 120%; translate: -50% -50%; z-index: -1;
  background: radial-gradient(ellipse 50% 46% at 50% 50%, rgba(7, 8, 26, .82) 0%, rgba(7, 8, 26, .55) 55%, transparent 100%);
}
.eyebrow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 26px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(236, 226, 204, .78); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.eyebrow span { color: var(--pink); }
/* Tagline: Albert Sans, second line in the gold gradient */
.hero__title {
  position: relative; display: grid; justify-items: center;
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.045em;
  font-size: clamp(64px, 11vw, 176px); line-height: .92; color: var(--paper-hi);
  text-shadow: 0 0 50px rgba(11, 13, 36, .6);
}
.hero__title .t-line { position: relative; z-index: 1; display: block; white-space: nowrap; }
.hero__title .gold {
  font-style: normal;
  background: linear-gradient(180deg, #ffd27a 10%, #ffb12e 55%, #ff8a1c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
}
.beats { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 12px rgba(25, 227, 255, .5); }
.beats i { width: 44px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--pink)); position: relative; }
.beats i::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 7px solid var(--pink); border-block: 5px solid transparent; }
.hero__sub, .hero__actions { position: relative; z-index: 1; }
.hero__sub { max-width: 46ch; margin-top: 24px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: rgba(236, 226, 204, .88); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; font-size: 16px; color: var(--paper-hi); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: translate .2s var(--ease); }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover svg { translate: 4px 0; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes flicker {
  0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 55% { opacity: .35; }
}

/* Hero stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 2; border-top: 1px solid rgba(236, 226, 204, .16); }
.stat { padding: 26px 24px 34px; border-left: 1px solid rgba(236, 226, 204, .12); text-align: center; }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--f-head); font-weight: 700; letter-spacing: -.03em; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--paper-hi); font-variant-numeric: lining-nums; }
.stat__num small { font-size: .45em; margin-left: 2px; color: var(--marigold); }
.stat__label { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236, 226, 204, .72); }

/* ---------- Marquee ---------- */
.marquee { background: #07081a; border-block: 1px solid rgba(255, 190, 46, .3); overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 20px 0; animation: marquee 55s linear infinite; }
.marquee span, .marquee em { font-family: var(--f-head); font-size: clamp(26px, 2.8vw, 38px); line-height: 1; white-space: nowrap; }
.marquee span { font-weight: 500; color: var(--paper-hi); }
.marquee em { font-style: normal; font-weight: 700; color: var(--marigold); }
.marquee i { width: 7px; height: 7px; flex: none; background: var(--pink); rotate: 45deg; box-shadow: 0 0 10px var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc {
  display: flex; flex-direction: column; background: var(--paper-hi); border: 1px solid rgba(11, 13, 36, .12); border-top: 4px solid var(--accent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 13, 36, .14); }
.svc__img { aspect-ratio: 10 / 7; }
.svc__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.svc__type { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(11, 13, 36, .62); }
.svc__type::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.svc__title { margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 2.6vw, 38px); line-height: .95; }
.svc__price { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(11, 13, 36, .7); }
.svc__price b { font-family: var(--f-head); font-weight: 700; font-size: 26px; letter-spacing: 0; color: var(--ink); margin-right: 4px; }
.svc__desc { margin-top: 12px; font-size: 15.5px; line-height: 1.55; }
.svc__list { list-style: none; padding: 16px 0 0; margin-top: auto; border-top: 1px solid rgba(11, 13, 36, .12); display: grid; gap: 7px; font-family: var(--f-mono); font-size: 12px; }
.svc__list li { display: flex; gap: 10px; }
.svc__list li::before { content: ""; flex: none; width: 10px; height: 1px; margin-top: .7em; background: var(--accent); }

/* ---------- Diagram frames: thin corner brackets, like a technical drawing ---------- */
.frame { position: relative; margin: 0; }
.frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .55;
  --c: rgba(236, 226, 204, .55);
  background:
    linear-gradient(var(--c), var(--c)) top left / 18px 1px, linear-gradient(var(--c), var(--c)) top left / 1px 18px,
    linear-gradient(var(--c), var(--c)) top right / 18px 1px, linear-gradient(var(--c), var(--c)) top right / 1px 18px,
    linear-gradient(var(--c), var(--c)) bottom left / 18px 1px, linear-gradient(var(--c), var(--c)) bottom left / 1px 18px,
    linear-gradient(var(--c), var(--c)) bottom right / 18px 1px, linear-gradient(var(--c), var(--c)) bottom right / 1px 18px;
  background-repeat: no-repeat;
}
.frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* light-trace along the top edge of dark sections */
.process::before, .reels::before, .belief::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(25, 227, 255, .0) 30%, rgba(25, 227, 255, .9) 50%, rgba(25, 227, 255, 0) 70%, transparent 100%) 0 0 / 200% 100% no-repeat,
              linear-gradient(90deg, transparent, rgba(236, 226, 204, .14), transparent);
  animation: trace 7s linear infinite;
}
@keyframes trace { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }

/* ---------- Belief: signal flow ---------- */
.belief { background: radial-gradient(ellipse at 85% 40%, rgba(255, 177, 46, .1), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(25, 227, 255, .08), transparent 50%), #0d0f2b; overflow: hidden; }
.belief__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.belief .display { max-width: 15ch; font-size: clamp(40px, 4.8vw, 76px); }
.flow { aspect-ratio: 11 / 8; }
.flow__label, .flow__hub {
  position: absolute; left: var(--x); top: var(--y); z-index: 3; translate: -50% -50%;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.flow__label { padding: 6px 10px; border: 1px solid rgba(236, 226, 204, .22); background: rgba(11, 13, 36, .85); color: rgba(236, 226, 204, .85); }
.flow__label--in { translate: 0 -50%; left: 2%; }
.flow__label--out { translate: -100% -50%; left: 98%; border-color: rgba(255, 190, 46, .55); color: var(--marigold); }
.flow__hub { padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255, 190, 46, .7); background: rgba(11, 13, 36, .9); color: var(--paper-hi); box-shadow: 0 0 30px rgba(255, 177, 46, .25); }

/* ---------- Process: the monthly loop ---------- */
.process { background: radial-gradient(ellipse at 80% 10%, rgba(255, 46, 136, .12), transparent 50%), var(--ink); }
.loop-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; border-left: 2px solid rgba(236, 226, 204, .12); cursor: pointer; transition: border-color .3s, background-color .3s; }
.step:hover, .step.is-active { border-left-color: var(--marigold); background: rgba(255, 190, 46, .05); }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: rgba(236, 226, 204, .5); padding-top: 6px; }
.step.is-active .step__n { color: var(--marigold); }
.step h3 { font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--paper-hi); }
.step p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: rgba(236, 226, 204, .72); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.step.is-active p { max-height: 120px; opacity: 1; }
.loop { aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.loop__node {
  --r: 38%;
  position: absolute; z-index: 3; left: calc(50% + cos(var(--a)) * var(--r)); top: calc(50% + sin(var(--a)) * var(--r)); translate: -50% -50%;
  display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%;
  border: 1px solid rgba(236, 226, 204, .25); background: rgba(11, 13, 36, .9);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 226, 204, .8);
  transition: border-color .4s, box-shadow .4s, color .4s;
}
.loop__node.is-active { border-color: var(--marigold); color: var(--marigold); box-shadow: 0 0 34px rgba(255, 177, 46, .35); }
.loop__center { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.02em; color: rgba(236, 226, 204, .9); pointer-events: none; }

/* ---------- Promise band: fills with light as you scroll ---------- */
.band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(100px, 13vw, 190px) clamp(130px, 16vw, 230px); background: #0a0b20; }
.band__kicker { font-family: var(--f-mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: rgba(236, 226, 204, .7); }
.band__word {
  --fill: 0%;
  margin-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: clamp(54px, 10vw, 168px); line-height: 1; letter-spacing: -.05em; text-wrap: balance;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, #ffd27a 0%, #ffb12e calc(var(--fill) - 8%), rgba(236, 226, 204, .14) var(--fill));
}
.band__arc {
  position: absolute; left: 50%; bottom: -55%; width: 120%; aspect-ratio: 3 / 1; translate: -50% 0; border-radius: 50%; pointer-events: none;
  border-top: 2px solid rgba(255, 210, 122, calc(var(--p, 0) * .9));
  box-shadow: 0 -20px 80px rgba(255, 177, 46, calc(var(--p, 0) * .35)), inset 0 30px 90px rgba(255, 46, 136, calc(var(--p, 0) * .18));
}

/* ---------- Month ---------- */
.month__aside { display: grid; gap: 20px; justify-items: start; max-width: 360px; font-size: 17px; color: rgba(11, 13, 36, .8); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--night); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.06); transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile--tall { grid-row: span 2; }
.tile figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(11, 13, 36, .88)); font-family: var(--f-head); font-size: 26px; line-height: 1; color: var(--paper-hi); }
.tile figcaption span { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--marigold); }
.tile--report { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: var(--ink); color: var(--paper-hi); }
.tile__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.tile__v { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); line-height: .95; }
.tile__v em { font-style: normal; color: var(--marigold); }

/* ---------- Reels (VHS) ---------- */
.reels { background: radial-gradient(ellipse at 20% 100%, rgba(25, 227, 255, .1), transparent 50%), var(--ink); overflow: hidden; }
.reel-nav { display: flex; gap: 12px; }
.reels__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 16px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.reels__track::-webkit-scrollbar { display: none; }
.vhs { position: relative; flex: 0 0 clamp(220px, 21vw, 280px); aspect-ratio: 9 / 16; scroll-snap-align: start; overflow: hidden; border: 1px solid rgba(236, 226, 204, .22); display: flex; align-items: flex-end; padding: 16px; }
.vhs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.08); transition: transform .5s var(--ease); }
.vhs::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 4px), linear-gradient(180deg, transparent 45%, rgba(11, 13, 36, .9)); }
.vhs:hover img { transform: scale(1.05); }
.vhs__rec, .vhs__tc { position: absolute; top: 12px; z-index: 2; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.vhs__rec { left: 12px; color: #ff5a5a; }
.vhs__tc { right: 12px; color: rgba(236, 226, 204, .85); }
.vhs__meta { position: relative; z-index: 2; }
.vhs__meta p { font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1; color: var(--paper-hi); }
.vhs__meta small { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 13vw, 190px);
  background: radial-gradient(ellipse 55% 60% at 50% 55%, rgba(255, 177, 46, .16), transparent 70%), radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 46, 136, .14), transparent 70%), var(--ink); }
.cta__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.wave-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta .kicker { justify-content: center; }
.cta__title { max-width: 14ch; }
.cta .lede { margin-inline: auto; }
.cta .btn { margin-top: 34px; }

/* ---------- Footer ---------- */
.footer { background: #07081a; padding-block: 90px 96px; border-top: 1px solid rgba(236, 226, 204, .1); } /* bottom room for the A/B switch */
.footer__mark { font-family: var(--f-head); font-weight: 700; font-size: clamp(48px, 10vw, 168px); line-height: 1; letter-spacing: -.045em; color: var(--paper-hi); white-space: nowrap; }
.footer__mark em { font-style: normal; color: transparent; background: linear-gradient(180deg, #ffd27a 10%, #ffb12e 55%, #ff8a1c 100%); -webkit-background-clip: text; background-clip: text; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(236, 226, 204, .14); font-size: 15px; color: rgba(236, 226, 204, .85); }
.footer__h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer__base { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; font-family: var(--f-mono); font-size: 12px; color: rgba(236, 226, 204, .6); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.display.reveal { filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.display.reveal.is-in { filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .sec-head--split { grid-template-columns: 1fr; }
  .belief__grid, .loop-grid { grid-template-columns: 1fr; }
  .loop { max-width: 460px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(236, 226, 204, .12); padding: 18px 8px; display: flex; align-items: baseline; justify-content: center; gap: 16px; }
  .stat:first-child { border-top: 0; }
  .stat__label { margin-top: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .flow { aspect-ratio: 4 / 5; }
  .loop__node { width: 70px; height: 70px; font-size: 9.5px; }
  .tile--tall { grid-row: span 1; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
