/* =========================================================
   YOLO — Buzz Innovations Ltd
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --bg-2: #13111a;
  --ink: #f3efe8;
  --ink-dim: #a29cab;
  --line: rgba(243, 239, 232, 0.12);
  --accent: #ff4d9d;
  --accent-2: #ffd23f;
  --purple: #7c4dff;
  --cyan: #3ddcf0;
  --green: #3be08a;
  --grad: linear-gradient(135deg, #7c4dff, #c04dd8 55%, #ff4d9d);
  --display: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent); color: #000; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-4%) }
  60% { transform: translate(-4%,-2%) } 80% { transform: translate(3%,4%) }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--gutter);
  transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__top { display: flex; justify-content: space-between; color: var(--ink-dim); }
.loader__count { font-weight: 900; font-size: clamp(96px, 22vw, 320px); line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.loader__count i { font-style: normal; color: var(--accent); font-size: .35em; vertical-align: top; margin-left: .1em; }
.loader__bar { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.loader__status { color: var(--ink-dim); margin-top: -12px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); transition: width .35s var(--ease), height .35s var(--ease), background .35s; }
.cursor__label { position: fixed; top: 0; left: 0; transform: translate(-50%,-50%); color: #000; font-size: 10px; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: #fff; }
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor input { cursor: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(11,10,16,.55); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand em { margin-left: 3px; font-size: 19px; color: var(--ink-dim); }
.nav__links { display: flex; gap: 32px; font-size: 14px; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; width: 36px; height: 36px; position: relative; }
.nav__burger span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 14px; } .nav__burger span:last-child { top: 21px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter); gap: 8px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.mobile-menu a { font-size: clamp(36px, 10vw, 64px); font-weight: 800; letter-spacing: -.04em; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 15px/1 var(--display); color: var(--ink); background: rgba(255,255,255,.04);
  position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s, transform .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover { color: #000; border-color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--accent { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }
.btn--big { height: 60px; padding: 0 32px; font-size: 16px; }
.btn--ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--small { height: 40px; padding: 0 18px; font-size: 13px; }
.chip { font: inherit; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; transition: background .3s, color .3s; }
.chip:hover, .chip.is-on { background: var(--ink); color: #000; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: linear-gradient(#5a7aa6, #e7b58a 70%, #2b2620 71%, #120f0c); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 50% at 50% 50%, rgba(8,6,14,.5), transparent 75%),
  radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(0,0,0,.55) 100%),
  linear-gradient(to bottom, rgba(0,0,0,.35), transparent 25%, transparent 60%, rgba(11,10,16,1) 100%); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); margin-top: -4vh; }
.eyebrow { color: rgba(236,232,223,.85); margin-bottom: 18px; }
.hero__title {
  font-weight: 900; line-height: .78; letter-spacing: -.07em; font-size: clamp(120px, 27vw, 420px);
  display: flex; justify-content: center; overflow: hidden; padding: .04em .05em .02em;
  color: var(--ink);
}
.hero__title .split { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.is-ready .hero__title .split { transform: none; }
.is-ready .hero__title .split:nth-child(2) { transition-delay: .07s; }
.is-ready .hero__title .split:nth-child(3) { transition-delay: .14s; }
.is-ready .hero__title .split:nth-child(4) { transition-delay: .21s; }
.hero__sub { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.4; margin-top: 18px; color: rgba(236,232,223,.92); }
.hero__sub em { font-size: 1.2em; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.hud { position: absolute; z-index: 3; display: grid; gap: 4px; color: rgba(236,232,223,.8); top: 96px; font-size: 10.5px; }
.hud b { color: var(--accent-2); font-weight: 500; margin-right: 6px; }
.hud--tl { left: var(--gutter); }
.hud--tr { right: var(--gutter); text-align: right; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3dff7a; box-shadow: 0 0 10px #3dff7a; margin-right: 4px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.timebar {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 32px; width: min(440px, calc(100% - 2 * var(--gutter)));
  display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(11,10,16,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.citypick { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.citypick .chip { font-size: 10px; }
.timebar__label { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--ink-dim); }
.timebar output { color: var(--ink); font-size: 13px; }
.timebar input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
.timebar input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #1b1840, #ff8a3d 25%, #9cc6ff 50%, #ff4d9d 75%, #1b1840); border-radius: 2px; }
.timebar input[type=range]::-moz-range-track { height: 2px; background: linear-gradient(90deg, #1b1840, #ff8a3d 25%, #9cc6ff 50%, #ff4d9d 75%, #1b1840); }
.timebar input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); margin-top: -7px; box-shadow: 0 0 0 4px rgba(255,77,157,.35); }
.timebar input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(255,77,157,.35); }

.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 12px; color: var(--ink-dim); }
.scroll-cue i { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -50%; height: 50%; background: var(--ink); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee span { font-size: clamp(32px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-dim); letter-spacing: -.01em; }
.marquee b { color: var(--accent); font-size: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-tag { display: inline-flex; gap: 12px; align-items: center; color: var(--ink-dim); margin-bottom: 32px; }
.section-tag span { color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 8px; }
.h2 { font-size: clamp(42px, 6.4vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.h2 em { color: var(--ink-dim); letter-spacing: -.02em; }

.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-up.is-in { opacity: 1; transform: none; }

/* Manifesto */
.manifesto { padding: clamp(100px, 16vw, 220px) var(--gutter) clamp(80px, 10vw, 140px); }
.manifesto__text { font-size: clamp(30px, 4.6vw, 76px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; max-width: 22ch; }
.manifesto__text .w { opacity: .14; transition: opacity .4s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.accent { color: var(--accent); }
.manifesto__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 120px); background: var(--line); border: 1px solid var(--line); }
.meta-card { background: var(--bg); padding: 32px 28px 40px; min-height: 240px; display: flex; flex-direction: column; gap: 14px; transition: background .5s; }
.meta-card:hover { background: var(--bg-2); }
.meta-card .mono { color: var(--accent); }
.meta-card h3 { font-size: 26px; letter-spacing: -.03em; font-weight: 600; margin-top: auto; }
.meta-card p { color: var(--ink-dim); max-width: 36ch; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gutter) clamp(80px, 10vw, 140px); gap: 24px; }
.stat { border-top: 1px solid var(--line); padding-top: 24px; }
.stat__num { font-size: clamp(64px, 8vw, 132px); font-weight: 900; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat__unit { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 48px); color: var(--accent); margin-left: 4px; }
.stat p { color: var(--ink-dim); margin-top: 14px; max-width: 26ch; font-size: 15px; }

/* Systems */
.systems { height: 500vh; background: var(--bg-2); border-top: 1px solid var(--line); }
.systems__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 96px 0 48px; }
.systems__head { padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.systems__head .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.systems__head .h2 { font-size: clamp(40px, 5vw, 84px); }
.systems__progress { width: 200px; height: 2px; background: var(--line); position: relative; margin-bottom: 14px; }
.systems__progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.systems__track { display: flex; gap: 20px; padding: 0 var(--gutter); will-change: transform; }
.sys-card {
  flex: 0 0 clamp(300px, 34vw, 480px); height: clamp(420px, 58vh, 560px);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease);
}
.sys-card:hover { border-color: rgba(255,77,157,.55); transform: translateY(-6px); }
.sys-viz { width: 100%; flex: 1 1 auto; min-height: 0; display: block; background: radial-gradient(100% 100% at 50% 0%, #1a1a1d, #0b0b0c); }
.sys-card__body { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.sys-card__idx { color: var(--accent); }
.sys-card h3 { font-size: 34px; letter-spacing: -.04em; margin: 6px 0 8px; font-weight: 700; }
.sys-card p { color: var(--ink-dim); font-size: 15px; }
.sys-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; font-size: 9.5px; }
.sys-card li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; color: var(--ink); }

/* One life */
.onelife { padding: clamp(120px, 16vw, 240px) var(--gutter); overflow: hidden; }
.onelife__title { font-size: clamp(48px, 9.4vw, 168px); font-weight: 900; letter-spacing: -.07em; line-height: .86; }
.onelife__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.onelife__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.onelife__title.is-in .line > span { transform: none; }
.onelife__title.is-in .line:nth-child(2) > span { transition-delay: .12s; }
.onelife__title em { color: var(--accent); letter-spacing: -.03em; padding-right: .05em; }
.onelife__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 6vw, 96px); align-items: center; }
.onelife__grid > p { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-dim); max-width: 46ch; }

/* Studio */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); padding: clamp(100px, 12vw, 180px) var(--gutter); border-top: 1px solid var(--line); }
.studio__left { position: sticky; top: 120px; align-self: start; }
.lead { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -.02em; }
.pillars { margin-top: 56px; display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar .mono { grid-row: 1 / 3; color: var(--accent); padding-top: 6px; }
.pillar h4 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.pillar p { color: var(--ink-dim); margin-top: 6px; }

/* Join */
.join { padding: clamp(120px, 16vw, 240px) var(--gutter); text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.join__glow { position: absolute; left: 50%; top: 60%; width: 120vw; height: 80vw; max-height: 1200px; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(255,77,157,.32), rgba(255,77,157,.06) 50%, transparent 70%); pointer-events: none; filter: blur(20px); }
.join .section-tag { position: relative; }
.join__title { position: relative; font-size: clamp(64px, 12vw, 200px); font-weight: 900; letter-spacing: -.07em; line-height: .86; }
.join__title em { color: var(--accent); }
.join__sub { position: relative; color: var(--ink-dim); font-size: 18px; max-width: 46ch; margin: 28px auto 0; }
.join__form { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 40px auto 0; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11,10,16,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.join__form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: 400 16px var(--display); padding: 0 18px; }
.join__form input::placeholder { color: var(--ink-dim); }
.join__form:focus-within { border-color: var(--accent); }
.join__msg { position: relative; margin-top: 18px; min-height: 1em; color: var(--accent-2); }

/* Footer */
.footer { padding: 0 var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { font-weight: 900; letter-spacing: -.08em; line-height: .78; font-size: 34vw; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(236,232,223,.18); margin: 4vw 0 2vw; user-select: none; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-dim); font-size: 13px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover, .footer__row > a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
  .manifesto__meta, .stats { grid-template-columns: 1fr 1fr; }
  .studio, .onelife__grid { grid-template-columns: 1fr; }
  .studio__left { position: static; }
}
@media (max-width: 640px) {
  .hud { display: none; }
  .manifesto__meta, .stats { grid-template-columns: 1fr; }
  .meta-card { min-height: 0; }
  .timebar { bottom: 20px; }
  .scroll-cue { display: none; }
  .hero__content { margin-top: -10vh; }
  .systems { height: auto; }
  .systems__sticky { position: static; height: auto; padding: 96px 0; }
  .systems__head { grid-template-columns: 1fr; }
  .systems__progress { display: none; }
  .systems__track { flex-direction: column; transform: none !important; }
  .sys-card { flex-basis: auto; height: 460px; }
  .join__form { flex-direction: column; border-radius: 20px; }
  .join__form input { height: 48px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
.brand__logo { border-radius: 7px; display: block; }

/* ---------- YOLO additions ---------- */
.stat__unit--lead { margin: 0 4px 0 0; vertical-align: top; }
.u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.u:hover { color: var(--ink); }
.select { color: var(--ink); user-select: all; text-transform: none; letter-spacing: .02em; }
.join__ctas { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Needs */
.needs { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: linear-gradient(180deg, rgba(124,77,255,.08), transparent); display: grid; gap: 16px; }
.needs__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; }
.needs__row span { color: var(--ink-dim); }
.needs__row i { height: 10px; border-radius: 999px; background: rgba(243,239,232,.08); overflow: hidden; display: block; }
.needs__row b { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; transform-origin: left; animation: need 6s ease-in-out infinite alternate; }
.needs__row:nth-child(1) b { background: var(--accent-2); }
.needs__row:nth-child(2) b { background: var(--cyan); animation-delay: -2s; }
.needs__row:nth-child(3) b { background: var(--accent); animation-delay: -4s; }
.needs__row:nth-child(4) b { background: var(--green); animation-delay: -1s; }
@keyframes need { to { transform: scaleX(.82); } }
.needs__meta { display: flex; justify-content: space-between; color: var(--ink-dim); padding-top: 12px; border-top: 1px solid var(--line); }
.needs__meta span:last-child { color: var(--ink); }

/* Cities */
.cities { padding: clamp(100px, 12vw, 180px) var(--gutter); border-top: 1px solid var(--line); }
.cities__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.cities__head .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.cities__note { color: var(--ink-dim); max-width: 30ch; }
.citylist { list-style: none; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); columns: 2; column-gap: clamp(24px, 4vw, 64px); }
.city { break-inside: avoid; display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.city:hover { padding-left: 10px; }
.city__name { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; min-width: 0; }
.city__name small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .85em; color: var(--ink-dim); margin-left: 6px; letter-spacing: 0; }
.city__time { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.city__sky { width: 10px; height: 10px; border-radius: 50%; align-self: center; }
.city__sky.day { background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.city__sky.dusk { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.city__sky.night { background: transparent; border: 1px solid var(--ink-dim); }


/* Developers */
.devs { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(100px, 12vw, 180px) var(--gutter); background: var(--bg-2); border-top: 1px solid var(--line); }
.devs__copy { display: grid; gap: 28px; justify-items: start; min-width: 0; }
.devs__copy .section-tag { margin-bottom: 0; }
.code { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #0a0910; overflow: hidden; box-shadow: 0 40px 120px -40px rgba(124,77,255,.45); }
.code__bar { display: flex; gap: 7px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.code__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243,239,232,.14); }
.code__bar span { margin-left: 10px; text-transform: none; letter-spacing: .04em; }
.code pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 13.5px/1.75 var(--mono); color: var(--ink); }
.code .c { color: #6f6880; } .code .k { color: #b69cff; } .code .f { color: var(--cyan); } .code .s { color: var(--accent-2); } .code .n { color: var(--accent); }

/* FAQ */
.faq { padding: clamp(80px, 10vw, 140px) var(--gutter); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 28px; color: var(--accent); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-dim); padding: 0 0 24px; max-width: 60ch; }
.faq summary:focus-visible, .btn:focus-visible, .chip:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 960px) {
  .devs, .faq { grid-template-columns: 1fr; }
  .citylist { columns: 1; }
}
@media (max-width: 640px) {
  .cities__head { grid-template-columns: 1fr; }
  .code pre { font-size: 12px; }
}
.hero__canvas { transition: opacity .35s ease; background: linear-gradient(#2a1f45, #b3577a 62%, #3a2c33 63%, #120f14); }
.hero__canvas.is-switching { opacity: 0; }
.section-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px rgba(255,77,157,.6); }
.manifesto__text .w.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.timebar .chip { font-size: 10px; padding: 6px 10px; }
.hero__sub, .eyebrow, .hud { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 24px rgba(0,0,0,.45); }

.faq { align-items: start; }
.legend { display: inline-flex; gap: 14px; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .city__sky { display: inline-block; }
