:root {
  --ink: #111014;
  --ink-2: #1a191e;
  --graphite: #2a2830;
  --line: rgba(244, 241, 234, 0.12);
  --paper: #f4f1ea;
  --muted: #9a97a3;
  --lime: #d8fd53;
  --display: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1680px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
section[id], main { scroll-margin-top: 84px; }
main:focus { outline: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(var(--maxw), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lime); color: var(--ink); border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.label, .kicker, .live-pill, .step-no, .footer-bottom {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label { color: var(--muted); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 16, 20, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; color: rgba(244, 241, 234, 0.72); transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--paper); background: var(--ink-2); }
.live-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color 0.2s; }
.live-pill:hover { border-color: var(--lime); }

/* HERO */
.hero { position: relative; padding: clamp(72px, 12vw, 168px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 28px; }
.kicker-dot { width: 10px; height: 10px; border-radius: 1px; background: var(--lime); }
.hero-title {
  position: relative; z-index: 1;
  font-size: clamp(48px, 9.4vw, 148px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.hl { color: var(--lime); }
.hero-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.hero-lede { max-width: 520px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; background: var(--lime); color: var(--ink); border-radius: 999px; font-weight: 600; font-size: 17px; transition: transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(216, 253, 83, 0.6); }
.hero-mark { position: absolute; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); top: 50%; width: clamp(220px, 27vw, 460px); transform: translateY(-58%) rotate(-8deg); }
.hero-mark img { width: 100%; filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5)); }

/* TICKER */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--ink-2); }
.ticker-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track img { width: auto; flex: none; }
.t-cupder { height: clamp(44px, 5vw, 64px); }
.t-phasepunk { height: clamp(26px, 2.9vw, 38px); }
.ticker-track i { flex: none; width: 12px; height: 12px; background: var(--lime); }
@keyframes ticker { to { transform: translateX(calc(-100% / 6)); } }

/* SECTION HEAD */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(44px, 7vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; }

/* UNIVERSE */
.universe { padding: clamp(88px, 11vw, 160px) 0; }
.roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.ip-link { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.ip-link img { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.ip-link:hover img { transform: scale(1.05); }
.cupder-logo { width: min(78%, 520px); }
.phasepunk-logo { width: min(82%, 560px); }

/* FACTORY */
.factory { padding: clamp(88px, 11vw, 160px) 0; background: var(--paper); color: var(--ink); border-radius: clamp(28px, 4vw, 56px); margin: 0 clamp(8px, 1vw, 16px); }
.factory .label { color: #6b6874; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 28px 28px 8px 0; border-right: 1px solid rgba(17,16,20,0.15); margin-right: 28px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.step-no { display: inline-grid; place-items: center; min-width: 44px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--lime); }
.steps h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin: 28px 0 12px; }
.steps p { color: #55525d; font-size: 16px; }

/* ABOUT */
.about { padding: clamp(96px, 12vw, 180px) 0; }
.about-statement { font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; max-width: 21ch; margin: 24px 0 clamp(40px, 5vw, 72px); }
.dim { color: var(--lime); }
.about-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); max-width: 1040px; margin-left: auto; color: var(--muted); font-size: 18px; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-cta { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; }
.footer-wordmark { width: 100%; height: auto; margin: clamp(56px, 8vw, 112px) 0 28px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom a:hover { color: var(--lime); }

/* LEGAL */
.legal-links { display: flex; flex-wrap: wrap; gap: 24px; }
.legal-links a:hover { color: var(--lime); }
.legal { padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.legal-inner { max-width: calc(760px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.035em; margin: 16px 0 14px; }
.legal-updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal-lede { font-size: 20px; color: var(--paper); margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal p, .legal li { color: #c9c6cf; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal a:not(.brand) { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(244, 241, 234, 0.35); text-underline-offset: 3px; }
.legal a:not(.brand):hover { color: var(--lime); text-decoration-color: var(--lime); }
.site-footer--legal { padding-top: 0; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-mark { opacity: 0.22; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .brand img { height: 28px; }
  .live-pill { padding: 8px 12px; }
  .section-head { grid-template-columns: 1fr; }
  .hero-mark { opacity: 0.18; top: 22%; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(17,16,20,0.15); padding-bottom: 28px; }
  .steps li:last-child { border-bottom: 0; }
  .about-cols { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
