/* ============================================================
   DeSciAI — twin-ring research-identity landing page (lab + digital authentication)
   Palette: night navy #070b14 · cyan #4ae4ff · emerald #19f0b0
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0a1220;
  --ink: #eaf4ff;
  --muted: #8ea3bd;
  --cyan: #4ae4ff;
  --emerald: #19f0b0;
  --line: rgba(120, 190, 255, .16);
  --card: rgba(11, 20, 35, .72);
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Syne", "Outfit", ui-sans-serif, system-ui, "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ── background atmosphere ─────────────────────────────────── */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 90vh;
  background:
    radial-gradient(45% 55% at 22% 30%, rgba(74, 228, 255, .22), transparent 70%),
    radial-gradient(45% 55% at 78% 26%, rgba(25, 240, 176, .18), transparent 70%),
    radial-gradient(60% 60% at 50% 0%, rgba(90, 120, 255, .16), transparent 75%);
  filter: blur(20px);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(2%, 3%, 0) scale(1.08); }
}
.city-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 55vh;
  background-image:
    linear-gradient(rgba(74, 228, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 228, 255, .13) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  opacity: .5;
}
.windows {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.3px),
    radial-gradient(rgba(74, 228, 255, .09) 1px, transparent 1.1px);
  background-size: 120px 90px, 74px 130px;
  background-position: 0 0, 40px 20px;
  mask-image: linear-gradient(to bottom, transparent 20%, #000 90%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 20%, #000 90%);
  opacity: .55;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 34%;
  border-radius: 50%;
  border: 1px solid rgba(74, 228, 255, .18);
  transform: translate(-50%, -50%) rotate(-18deg);
}
.orbit-a { width: 62vw; height: 62vw; border-color: rgba(74, 228, 255, .14); animation: spin 58s linear infinite; }
.orbit-b { width: 88vw; height: 88vw; border-color: rgba(25, 240, 176, .10); animation: spin 92s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(342deg); } }
.bokeh span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(2px);
  opacity: .35;
  animation: float 14s ease-in-out infinite;
}
.bokeh span:nth-child(1) { left: 8%;  top: 22%; animation-delay: 0s; }
.bokeh span:nth-child(2) { left: 82%; top: 14%; animation-delay: 1.4s; background: var(--emerald); }
.bokeh span:nth-child(3) { left: 26%; top: 68%; animation-delay: 2.6s; }
.bokeh span:nth-child(4) { left: 68%; top: 74%; animation-delay: 3.8s; background: var(--emerald); }
.bokeh span:nth-child(5) { left: 46%; top: 10%; animation-delay: 5s; }
.bokeh span:nth-child(6) { left: 92%; top: 46%; animation-delay: 6.2s; background: var(--emerald); }
.bokeh span:nth-child(7) { left: 14%; top: 52%; animation-delay: 7.4s; }
.bokeh span:nth-child(8) { left: 58%; top: 88%; animation-delay: 8.6s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .2; }
  50%      { transform: translate3d(10px, -26px, 0); opacity: .6; }
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 40%, transparent 40%, rgba(3, 6, 12, .82) 100%);
}
.pointer-glow {
  position: fixed;
  z-index: 1;
  width: 520px; height: 520px;
  left: 0; top: 0;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 228, 255, .12), rgba(25, 240, 176, .06) 45%, transparent 70%);
  pointer-events: none;
  transition: opacity .4s ease;
  opacity: 0;
}

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(7, 11, 20, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .16em;
  font-size: 1.02rem;
}
.mark { width: 40px; height: 25px; flex: none; }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: .93rem;
  color: var(--muted);
}
.site-nav a { position: relative; padding: 4px 0; transition: color .2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  transition: width .25s ease;
}
.site-nav a:hover::after { width: 100%; }
.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.nav-social::after { display: none; }
.menu-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
}

/* ── layout ────────────────────────────────────────────────── */
main { position: relative; z-index: 2; }
.section {
  padding: clamp(56px, 9vw, 120px) clamp(18px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.kicker {
  margin: 0 0 8px;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--emerald);
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 14px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.45rem); }
.sub { color: var(--muted); margin: 0; }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(30px, 5vw, 60px);
  max-width: 1320px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(25, 240, 176, .55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px rgba(25, 240, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 240, 176, 0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.2rem);
  font-weight: 800;
  letter-spacing: .01em;
  margin: 0;
  max-width: 100%;
  background: linear-gradient(100deg, #ffffff 10%, var(--cyan) 46%, var(--emerald) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 40px rgba(74, 228, 255, .25));
}
.symbol {
  margin: 2px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: .3em;
  color: var(--cyan);
}
.tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin: 0 0 16px;
}
.tagline em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hearts { display: inline-flex; gap: 3px; }
.heart { width: 19px; height: 19px; }
.heart-blue { fill: var(--cyan); animation: beat 2.6s ease-in-out infinite; }
.heart-green { fill: var(--emerald); animation: beat 2.6s ease-in-out infinite .3s; }
@keyframes beat { 50% { transform: translateY(-3px) scale(1.08); } }
.lede { color: var(--muted); max-width: 56ch; margin: 0 0 26px; }

.ca {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ca:hover { border-color: rgba(74, 228, 255, .45); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.ca > span:first-child {
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--emerald);
  border: 1px solid rgba(25, 240, 176, .35);
  border-radius: 6px;
  padding: 2px 7px;
}
.ca code {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .84rem;
  color: #cfe6ff;
}
.ca-state { font-size: .78rem; color: var(--muted); }
.ca-note { margin: 8px 0 0; font-size: .78rem; color: #ffcf8a; max-width: 620px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn img { filter: brightness(1.6) saturate(0); }
.btn-fill {
  background: linear-gradient(100deg, var(--cyan), var(--emerald));
  color: #04121a;
  font-weight: 700;
  box-shadow: 0 14px 40px rgba(25, 240, 176, .22);
}
.btn-fill img { filter: brightness(.15); }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(25, 240, 176, .32); }
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(74, 228, 255, .45); }
.chain-line { font-size: .8rem; color: var(--muted); margin: 0; }
.chain-line code { color: var(--cyan); }

/* hero stage */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.spin-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(74, 228, 255, .3);
}
.spin-a { width: 78%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.spin-b { width: 96%; aspect-ratio: 1; border-color: rgba(25, 240, 176, .22); animation: spin 70s linear infinite reverse; }
.hero-frame {
  position: relative;
  margin: 0;
  width: min(100%, 460px);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0a1220;
}
.hero-frame img { display: block; width: 100%; height: auto; }
.sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 6.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
/* credential-authentication overlays: sweeping scan bar + status label */
.scan-line {
  position: absolute;
  left: 0; right: 0;
  top: 6%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(25, 240, 176, .9), transparent);
  box-shadow: 0 0 20px rgba(25, 240, 176, .55);
  animation: scanSweep 4.6s ease-in-out infinite;
}
@keyframes scanSweep { 0%, 100% { top: 6%; } 50% { top: 92%; } }
.scan-label {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 19, 31, .8);
  border: 1px solid rgba(25, 240, 176, .42);
  color: #9dffdf;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.medallion {
  position: absolute;
  right: -2%;
  bottom: -4%;
  width: 132px; height: 132px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(25, 240, 176, .5);
  box-shadow: 0 0 40px rgba(74, 228, 255, .35), var(--shadow);
}
.medallion img { width: 100%; height: 100%; object-fit: cover; }
.float-chip {
  position: absolute;
  left: -2%;
  top: 8%;
  margin: 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(7, 11, 20, .82);
  border: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--cyan);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-9px); } }
.float-chip .ok { color: var(--emerald); }
.chip-2 {
  top: 22%;
  left: -4%;
  font-size: .7rem;
  animation-delay: 1.4s;
}
@media (max-width: 980px) { .chip-2 { display: none; } }

/* ── ticker ────────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 14, 26, .7);
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  letter-spacing: .22em;
  font-size: .84rem;
  color: var(--muted);
}
.ticker-track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  display: inline-block;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── panels ────────────────────────────────────────────────── */
.panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.panel-flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.panel-flip .panel-photo { order: 2; }
.panel-photo { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.panel-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.panel-photo.tall img { max-height: 460px; }

/* clickable panel image → identity console */
.panel-link {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
}
.panel-link img { transition: transform .6s cubic-bezier(.2, .7, .3, 1), filter .6s ease; }
.panel-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 92px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(4, 10, 20, .95), rgba(4, 10, 20, .6) 45%, transparent);
}
.panel-link:hover img,
.panel-link:focus-visible img { transform: scale(1.04); filter: brightness(1.08) saturate(1.05); }
.panel-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.panel-link-cta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--emerald));
  color: #04121c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(74, 228, 255, .28);
  transition: transform .35s ease, box-shadow .35s ease;
}
.panel-link:hover .panel-link-cta,
.panel-link:focus-visible .panel-link-cta {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(74, 228, 255, .45);
}
.panel-link-arrow { transition: transform .35s ease; }
.panel-link:hover .panel-link-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .panel-link img, .panel-link-cta, .panel-link-arrow { transition: none; }
  .panel-link:hover img { transform: none; }
}
.panel-copy p { color: var(--muted); margin: 0 0 12px; }

/* ── stats ─────────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.stat-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat small { color: var(--muted); }
.ca-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.ca-row code { font-size: .84rem; color: #cfe6ff; word-break: break-all; }
.mini-btn {
  font: inherit;
  font-size: .82rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease;
}
.mini-btn:hover { border-color: rgba(74, 228, 255, .5); }

/* ── steps ─────────────────────────────────────────────────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease;
}
.steps li:hover { transform: translateY(-4px); border-color: rgba(74, 228, 255, .4); }
.step-no {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(74, 228, 255, .22);
  display: block;
  margin-bottom: 10px;
}
.steps p { color: var(--muted); font-size: .93rem; margin: 0 0 12px; }
.steps code { color: var(--cyan); font-size: .82rem; word-break: break-all; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: .88rem;
  color: var(--emerald);
  cursor: pointer;
}
.text-link img { filter: brightness(1.6) saturate(0); }
.text-link:hover { color: var(--cyan); text-decoration: underline; }

/* ── chart ─────────────────────────────────────────────────── */
.chart-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}
.chart-shell iframe { display: block; width: 100%; height: min(74vh, 620px); border: 0; }
.chart-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 60px 24px;
}
.chart-placeholder svg { width: 84px; height: 52px; opacity: .8; }
.chart-placeholder p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }
.chart-placeholder small { color: var(--muted); max-width: 52ch; }

/* ── film / showreel ───────────────────────────────────────── */
.film-section { max-width: 1100px; }
.film-shell {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #04080e;
  box-shadow: var(--shadow);
}
.film-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #04080e;
  border: 0;
}
.film-shell .scan-line { animation-duration: 6.5s; opacity: .75; }
.film-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(7, 19, 31, .72);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.film-caption .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #a9c6db;
}
.film-caption i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
}
.film-btn {
  margin-left: auto;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s ease;
}
.film-btn:hover { border-color: rgba(74, 228, 255, .5); }

/* ── join ──────────────────────────────────────────────────── */
.banner { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.banner img { display: block; width: 100%; height: auto; }
.join-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.join-links a {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.join-links a:hover { transform: translateY(-4px); border-color: rgba(25, 240, 176, .45); box-shadow: 0 18px 46px rgba(0, 0, 0, .42); }
.join-links img { margin-bottom: 6px; opacity: .95; }
.join-links span { font-family: var(--font-display); }
.join-links small { color: var(--muted); }

/* ── footer ────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 52px 24px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer .mark { width: 52px; height: 32px; margin-bottom: 10px; }
.footer p { margin: 4px 0; }
.footer .muted { font-size: .88rem; }
.footer .tiny { font-size: .74rem; max-width: 62ch; margin: 14px auto 0; opacity: .7; }

/* ── toast + reveal ────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 130%);
  z-index: 80;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(9, 16, 28, .95);
  border: 1px solid rgba(25, 240, 176, .45);
  color: var(--ink);
  font-size: .88rem;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  box-shadow: var(--shadow);
}
.toast.is-on { transform: translate(-50%, 0); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { order: -1; min-height: 300px; }
  .medallion { width: 104px; height: 104px; }
  .panel, .panel-flip { grid-template-columns: 1fr; }
  .panel-flip .panel-photo { order: 0; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px clamp(16px, 4vw, 54px) 24px;
    background: rgba(7, 11, 20, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .ca code { font-size: .74rem; }
  .btn { padding: 11px 16px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
