/* ==========================================================================
   Homepage v4 — scoped styles (single-page homepage only).
   Spec: docs/superpowers/specs/2026-04-18-homepage-v4-handoff-design.md
   Derived from Claude Design handoff; cinematic theme baked in (no data-dir
   branching, no tweaks panel, no HUD).
   ========================================================================== */

/* fonts.css loaded in HTML head for parallel fetch (was @import — removed for LCP) */

:root {
  --bg: #05060c;
  --bg-2: #0a0c18;
  --ink: #f4efe4;
  --ink-2: #b8bccb;
  --ink-3: #8590a8; /* contrast >=4.5:1 on --bg (WCAG AA small text) */
  --line: rgba(244, 239, 228, .08);
  --line-2: rgba(244, 239, 228, .16);
  --cyan: #66e0ff;
  --amber: #ffb56b;
  --violet: #d99dff;
  --green: #9ef7a9;
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --marquee-speed: 40s;
}

/* Kill Fraunces's Et-ligature — force the normal ampersand everywhere */
body, h1, h2, h3, h4, h5, p, span, a, em, strong, div, li {
  font-feature-settings: "dlig" 0, "hlig" 0, "liga" 1;
  font-variant-ligatures: no-discretionary-ligatures no-historical-ligatures;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--amber); color: var(--bg); }

/* Skip link (spec §6 accessibility) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.skip-link:focus { left: 12px; top: 12px; }

/* -------- cosmic backdrop -------- */
.cosmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cosmos::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(102, 224, 255, .15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(217, 157, 255, .13), transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(255, 181, 107, .1), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(158, 247, 169, .08), transparent 50%);
  filter: blur(40px);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-3%, 2%) scale(1.08); } }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

/* -------- grid overlay -------- */
.grid-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100vw / 12) 100%;
  opacity: .5;
}

/* -------- shell -------- */
.wrap { position: relative; z-index: 2; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* -------- nav -------- */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
nav.top ul { list-style: none; display: flex; gap: clamp(12px, 2vw, 32px); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
nav.top ul a:hover { color: var(--ink); }
nav.top ul a:focus-visible { outline: 1px solid var(--amber); outline-offset: 4px; }
nav.top .cta {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  display: inline-flex; gap: 8px; align-items: center;
  transition: all .3s ease;
}
nav.top .cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
nav.top .cta .arr { transition: transform .3s; }
nav.top .cta:hover .arr { transform: translateX(3px); }

/* -------- hamburger button -------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  min-height: 48px; min-width: 48px;
  justify-content: center; align-items: center;
  position: relative; z-index: 50;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* -------- mobile nav overlay -------- */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 199;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* -------- mobile nav drawer
   Body-level element cloned by JS — lives outside nav.top's backdrop-filter
   stacking context so the blur never composites into the drawer text. -------- */
.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  height: 100dvh;
  width: 280px;
  background: var(--bg-2);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 32px 32px;
  gap: 24px;
  border-left: 1px solid var(--line-2);
  box-shadow: -8px 0 40px rgba(0, 0, 0, .4);
  transition: right .3s ease;
  z-index: 200;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow-y: auto;
}
.nav-drawer.active { right: 0; }
.nav-drawer a { color: var(--ink); padding: 8px 0; display: block; }
.nav-drawer a:hover, .nav-drawer a:focus { color: var(--amber); }

@media (max-width: 768px) {
  nav.top ul { display: none; }
  nav.top .cta { display: none; }
  .hamburger { display: flex; }
}

/* -------- hero -------- */
.hero { min-height: 100vh; padding: 96px 0 48px; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 3; }

/* Floral loop backdrop — right-side, masked fade into text */
.hero-bg-video {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: clamp(320px, 62%, 780px);
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 22%, #000 60%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 22%, #000 60%);
  filter: saturate(1.08) contrast(1.02);
}
.hero-bg-video::before { content: ""; }
@media (max-width: 900px) {
  .hero-bg-video {
    width: 100%;
    opacity: .45;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 40%, #000 80%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 40%, #000 80%);
  }
}
@media (max-width: 768px) {
  .hero { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}
.hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 14px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.hero-eyebrow .tick { width: 22px; height: 1px; background: var(--line-2); }
.hero h1 {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-feature-settings: "dlig" 0, "hlig" 0, "liga" 1;
  font-size: clamp(58px, 11vw, 180px); line-height: .92; letter-spacing: -.035em;
  color: var(--ink); max-width: 14ch;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--amber) 0%, var(--violet) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero .rotator {
  font-family: var(--mono); font-size: clamp(14px, 1.3vw, 18px);
  color: var(--ink-2); letter-spacing: .02em; margin-top: 28px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.hero .rotator .tag { color: var(--ink-3); text-transform: uppercase; font-size: 11px; letter-spacing: .18em; }
.hero .rotator .role { color: var(--ink); position: relative; transition: opacity .22s ease; }
.hero .rotator .role::after { content: "|"; margin-left: 4px; animation: caret 1s steps(2) infinite; color: var(--amber); }
@keyframes caret { 50% { opacity: 0; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; margin-top: clamp(32px, 5vw, 56px); max-width: 640px; }
.hero-manifesto {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; color: var(--ink-2);
  max-width: 46ch; text-wrap: balance;
  padding-left: 20px; border-left: 1px solid var(--line-2);
}
.hero-manifesto em { color: var(--ink); font-style: italic; }
.hero-manifesto .sig { display: block; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.scrollcue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scrollcue .line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--ink-3)); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* -------- marquee -------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin: 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; animation: slide var(--marquee-speed) linear infinite; width: max-content; white-space: nowrap; }
.marquee span { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.01em; color: var(--ink); }
.marquee .num { color: var(--amber); font-style: italic; }
.marquee .dot { color: var(--ink-3); margin: 0 4px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* -------- section base -------- */
section.mod { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.sect-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 720px) { .sect-head { grid-template-columns: 1fr; } }
.sect-idx { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-direction: column; gap: 8px; }
.sect-idx .n { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); font-style: italic; font-weight: 400; color: var(--ink); line-height: 1; }
.sect-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1; letter-spacing: -.025em;
  text-wrap: balance; max-width: 20ch;
}
.sect-title em { font-style: italic; color: var(--amber); }

/* -------- story / manifesto -------- */
.manifesto-block { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; letter-spacing: -.01em; max-width: 32ch; text-wrap: balance; }
.manifesto-block p { margin-bottom: .8em; }
.manifesto-block .hl { background: linear-gradient(transparent 58%, color-mix(in oklab, var(--amber) 50%, transparent) 58%); padding: 0 .08em; }
.manifesto-block em { font-style: italic; color: var(--amber); }
.manifesto-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 900px) { .manifesto-split { grid-template-columns: 1fr; } }
.manifesto-side { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink-2); display: flex; flex-direction: column; gap: 28px; }
.manifesto-side h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; font-style: italic; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.manifesto-side em { font-style: italic; color: var(--amber); }

/* -------- reel justified grid (Flickr-style — native aspect, rows flush right) -------- */
/* JS sizes each tile: height = row-scaled target, width = height * aspect. Rows fill container. */
.reel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 14px);
  align-content: flex-start;
}
.reel {
  position: relative; overflow: hidden; border-radius: 3px; background: #000;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  /* width/height set by wireJustifiedGrid in JS. Before JS runs, tile uses aspect-ratio fallback. */
  aspect-ratio: var(--w, 16) / var(--h, 9);
  height: 260px;
  width: calc(260px * var(--w, 16) / var(--h, 9));
}
/* Mobile: stack full-width, natural aspect drives height */
@media (max-width: 560px) {
  .reel-grid { gap: 10px; }
  .reel { width: 100% !important; height: auto !important; aspect-ratio: var(--w, 16) / var(--h, 9); }
}

.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
/* Video is inserted dynamically on hover; absolute-overlay so it doesn't push the poster out of overflow */
.reel video { position: absolute; inset: 0; }
.reel:hover img, .reel:hover video { transform: scale(1.03); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .78)); opacity: .55; transition: opacity .4s; pointer-events: none; }
.reel:hover::after { opacity: .25; }
.reel .lbl { position: absolute; left: 14px; bottom: 12px; right: 14px; z-index: 2; display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .9); }
.reel .lbl .ttl { color: var(--ink); font-size: 13px; }
.reel .lbl .cap { color: rgba(255, 255, 255, .75); text-transform: none; letter-spacing: 0; line-height: 1.45; }
.reel .lbl .cat { color: var(--amber); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.reel .watch-full { position: absolute; top: 12px; right: 12px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); cursor: pointer; }
.reel .watch-full:hover { border-color: var(--amber); color: var(--amber); }

/* -------- capabilities stack (4 rows) -------- */
.cap-stack { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 80px 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: baseline; padding: clamp(20px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative; }
.cap-num { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }
.cap-body { display: flex; flex-direction: column; gap: 8px; }
.cap-name { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3.2vw, 44px); line-height: 1; letter-spacing: -.02em; }
.cap-caption { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: clamp(14px, 1.3vw, 18px); }
.cap-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); text-align: right; text-transform: lowercase; max-width: 34ch; line-height: 1.6; }
@media (max-width: 720px) { .cap-row { grid-template-columns: 1fr; gap: 12px; } .cap-meta { text-align: left; } }

/* -------- clients 3×2 grid -------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
@media (max-width: 900px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .clients { grid-template-columns: 1fr; } }
.client { background: var(--bg-2); padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 10px; transition: background .3s; }
.client:hover { background: color-mix(in oklab, var(--bg-2) 80%, var(--amber)); }
.client .num { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); font-size: 18px; }
.client .cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.client:hover .cat { color: var(--ink); }
.client .name { font-family: var(--serif); font-size: 20px; font-weight: 500; font-style: italic; letter-spacing: -.01em; color: var(--ink); }
.client .deliv { font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-top: auto; padding-top: 12px; line-height: 1.5; border-top: 1px solid var(--line); }

/* -------- receipts (stats list, large type) -------- */
.receipts { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }
.receipt-line { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -.02em; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: clamp(14px, 1.6vw, 22px); }
.receipt-line .lead { font-style: italic; color: var(--amber); }
.receipt-line .rest { font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: var(--ink-2); font-style: normal; letter-spacing: 0; }
.receipt-line .em { font-family: var(--mono); color: var(--ink-3); font-size: .8em; margin: 0 .15em; }

/* -------- process (4 cards) -------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: 3px; padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 12px; background: color-mix(in oklab, var(--bg-2) 40%, transparent); transition: border-color .3s, transform .3s; }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step .num { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(44px, 4vw, 64px); color: var(--ink); line-height: 1; }
.step .name { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.step .caption { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: clamp(16px, 1.4vw, 18px); }
.step .detail { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); }

/* -------- CTA + footer -------- */
.cta-hero { position: relative; padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); text-align: center; }
.cta-eye { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 32px; }
.cta-line { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(44px, 8vw, 128px); line-height: .96; letter-spacing: -.03em; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.cta-line .em { background: linear-gradient(92deg, var(--amber), var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 18px 28px; border-radius: 999px; border: 1px solid var(--line-2); transition: all .3s; color: var(--ink); }
.btn:hover, .btn:focus-visible { border-color: var(--ink); color: var(--ink); outline: none; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--amber); border-color: var(--amber); color: var(--bg); }
.cta-meta { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.cta-meta a { color: var(--ink); border-bottom: 1px dashed var(--line-2); }
.cta-meta a:hover { border-bottom-color: var(--amber); color: var(--amber); }

footer.end { border-top: 1px solid var(--line); padding: 48px 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
@media (max-width: 800px) { footer.end { grid-template-columns: 1fr 1fr; } }
footer.end h3 { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
footer.end a { display: block; padding: 4px 0; transition: color .2s; }
footer.end a:hover { color: var(--ink); }
footer.end .sig { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.copyr { grid-column: 1 / -1; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* -------- reveal on scroll -------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* -------- lightbox (Fatboy "watch full") -------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 56px); }
.lightbox[open] { display: flex; }
.lightbox video { max-width: 100%; max-height: 90vh; width: auto; height: auto; border: 1px solid var(--line-2); border-radius: 3px; background: #000; }
.lightbox .close { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.lightbox .close:hover, .lightbox .close:focus-visible { color: var(--amber); border-color: var(--amber); outline: none; }

/* -------- reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cosmos::before { animation: none; }
  .marquee-track { animation: none; transform: none; }
  .hero .rotator .role::after { animation: none; }
  .scrollcue .line { animation: none; }
  .reveal { opacity: 1; transform: none; }
  /* starfield canvas handled in JS (prefers-reduced-motion check) */
}
