:root {
  --paper: #ffffff;
  --paper-deep: #e9efff;
  --ink: #090b12;
  --ink-soft: #41495b;
  --orange: #064df5;
  --orange-dark: #0035c7;
  --acid: #ffd21c;
  --lime: #b8eb18;
  --coral: #ff6547;
  --white: #ffffff;
  --line: rgba(9, 11, 18, 0.2);
  --display: "DM Sans", "Trebuchet MS", sans-serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; letter-spacing: -0.03em; font-size: 1.06rem; }
.brand-mark { position: relative; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 9px; height: 2px; right: -7px; bottom: 1px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.brand-mark span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); font-size: 0.82rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-play { border: 0; border-bottom: 1px solid var(--ink); padding: 6px 0; background: transparent; cursor: pointer; font-weight: 700; }
.nav-play span { display: inline-block; margin-left: 8px; transition: transform 180ms ease; }
.nav-play:hover span { transform: translate(2px, -2px); }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 140px) clamp(24px, 5.4vw, 96px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; color: var(--ink-soft); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow span { color: var(--orange); }
.eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--line); }
h1, h2, blockquote { font-family: var(--display); }
h1 { max-width: 750px; margin: 0; font-size: clamp(4rem, 7.4vw, 8.4rem); line-height: 0.84; letter-spacing: 0.01em; font-weight: 700; }
h1 em, h2 em { color: var(--orange); font-weight: 700; }
.hero-intro { max-width: 610px; margin: 38px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 58px; padding: 0 19px 0 24px; border: 1px solid transparent; border-radius: 0; cursor: pointer; text-decoration: none; font-weight: 700; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-primary { min-width: 190px; background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 var(--orange); }
.button-primary:hover { background: var(--orange); box-shadow: 6px 6px 0 var(--ink); }
.button-icon { font-size: 1.2rem; }
.text-link { font-size: 0.82rem; font-weight: 700; text-underline-offset: 6px; }
.text-link span { margin-left: 9px; }
.edition-note { display: flex; gap: 18px; margin-top: 68px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.edition-note span + span::before { content: "/"; margin-right: 18px; color: var(--orange); }

.hero-art { position: relative; min-height: 720px; overflow: hidden; background: var(--orange); border-left: 1px solid var(--ink); }
.art-grid { position: absolute; inset: 0; opacity: 0.42; background-image: linear-gradient(rgba(9,11,18,.21) 1px, transparent 1px), linear-gradient(90deg, rgba(9,11,18,.21) 1px, transparent 1px); background-size: 54px 54px; }
.art-grid::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 72% 30%, transparent 0, transparent 28%, rgba(9,11,18,.1) 28.2%, transparent 28.6%), linear-gradient(130deg, transparent 0 62%, rgba(255,255,255,.18) 62% 63%, transparent 63%); }
.lens { position: absolute; left: 50%; top: 47%; width: min(34vw, 510px); aspect-ratio: 1; border: clamp(16px, 2vw, 30px) solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: inset 0 0 0 2px var(--paper), 18px 24px 0 rgba(9,11,18,.18); animation: lens-arrive 900ms cubic-bezier(.2,.8,.2,1) both; }
.lens::after { content: ""; position: absolute; width: 32%; height: 8%; right: -25%; bottom: 2%; background: var(--ink); transform: rotate(43deg); transform-origin: left center; }
.lens-surface { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; background: var(--acid); }
.lens-surface::before { content: ""; position: absolute; width: 130%; height: 28%; left: -15%; top: 34%; background: var(--paper); transform: rotate(-20deg); border-block: 2px solid var(--ink); }
.lens-surface::after { content: ""; position: absolute; width: 38%; height: 130%; left: 45%; top: -15%; border-left: 8px double var(--orange); transform: rotate(18deg); }
.lens-line { position: absolute; z-index: 2; width: 64%; height: 1px; left: 18%; background: var(--ink); transform-origin: left; }
.line-one { top: 26%; transform: rotate(31deg); }.line-two { bottom: 28%; transform: rotate(-28deg); }
.lens-dot { position: absolute; z-index: 3; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); }
.dot-one { width: 11%; aspect-ratio: 1; top: 17%; right: 25%; }.dot-two { width: 7%; aspect-ratio: 1; bottom: 25%; left: 20%; }.dot-three { width: 17%; aspect-ratio: 1; bottom: 9%; right: 24%; background: var(--paper); }
.lens-crosshair { position: absolute; z-index: 4; background: var(--ink); opacity: .55; }.lens-crosshair.horizontal { left: -8%; top: 50%; width: 116%; height: 1px; }.lens-crosshair.vertical { top: -8%; left: 50%; width: 1px; height: 116%; }
.orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; opacity: .55; }.orbit-one { width: 78%; aspect-ratio: 1; left: 11%; top: 5%; }.orbit-two { width: 94%; aspect-ratio: 1; left: 3%; top: -3%; border-style: dashed; animation: rotate 32s linear infinite; }
.annotation { position: absolute; z-index: 4; font-size: 0.62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.annotation-a { top: 13%; left: 8%; }.annotation-a span { display: inline-block; width: 26px; height: 1px; margin: 0 8px 3px 0; background: var(--ink); }.annotation-b { right: 7%; bottom: 13%; writing-mode: vertical-rl; }
.specimen-label { position: absolute; z-index: 4; left: 7%; bottom: 7%; display: flex; gap: 12px; align-items: flex-start; }.specimen-label span { padding-top: 4px; font-size: .56rem; font-weight: 700; letter-spacing: .13em; }.specimen-label strong { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 2.4rem); line-height: .85; letter-spacing: .01em; }
.scribble { position: absolute; z-index: 4; right: 3%; top: 6%; width: 25%; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(9deg); }

.how { padding: clamp(90px, 12vw, 180px) clamp(24px, 6vw, 100px); }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 7rem); line-height: .9; letter-spacing: .01em; }
.steps { display: grid; grid-template-columns: 1.05fr .9fr 1.05fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { min-height: 500px; display: flex; flex-direction: column; position: relative; padding: 30px; background: var(--paper); transition: background-color 240ms ease; }
.step:hover { background: var(--white); }
.step-number { align-self: flex-end; color: var(--orange); font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.step-visual { position: relative; height: 220px; margin: 30px 0 38px; overflow: hidden; }
.visual-observe { background-color: var(--ink); background-image: radial-gradient(var(--paper) 1px, transparent 1px); background-size: 12px 12px; }
.mini-lens { position: absolute; width: 150px; height: 150px; left: 50%; top: 50%; border: 10px solid var(--paper); border-radius: 50%; transform: translate(-50%,-50%); background: var(--orange); box-shadow: 8px 8px 0 rgba(6,77,245,.35); }
.mini-lens::after { content: ""; position: absolute; width: 65px; height: 10px; right: -53px; bottom: -17px; background: var(--paper); transform: rotate(45deg); }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; top: 35%; background: var(--acid); animation: scan 3.2s ease-in-out infinite; }
.visual-guess { display: grid; place-items: center; background: var(--acid); border: 1px solid var(--ink); }.visual-guess span { position: absolute; left: 17px; top: 16px; font-size: .6rem; font-weight: 700; letter-spacing: .14em; }.visual-guess b { font-family: var(--display); font-size: 10rem; line-height: 1; color: var(--orange); transform: rotate(8deg); }
.visual-reveal { background: var(--coral); border: 1px solid var(--ink); }.reveal-door { position: absolute; inset: 22px; border: 2px solid var(--ink); background: var(--paper); transform-origin: left; transform: perspective(600px) rotateY(-38deg); box-shadow: 14px 7px 0 rgba(9,11,18,.12); }.reveal-sun { position: absolute; width: 74px; height: 74px; border-radius: 50%; right: 55px; top: 72px; background: var(--lime); border: 2px solid var(--ink); }
.step h3 { margin: auto 0 12px; font-family: var(--display); font-size: clamp(1.6rem, 2.2vw, 2.4rem); letter-spacing: .01em; }
.step p { max-width: 320px; margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }

.manifesto { min-height: 520px; display: grid; grid-template-columns: .4fr 1.3fr .5fr; gap: 40px; align-items: center; padding: clamp(70px, 10vw, 150px) clamp(24px, 6vw, 100px); background: var(--ink); color: var(--paper); overflow: hidden; }
.manifesto-mark { color: var(--orange); font-family: var(--display); font-size: clamp(5rem, 10vw, 12rem); font-weight: 900; letter-spacing: .01em; opacity: .92; }
.manifesto blockquote { max-width: 850px; margin: 0; font-size: clamp(2.7rem, 4.4vw, 5.4rem); line-height: .98; letter-spacing: .01em; }
.button-light { background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--orange); }
.button-light:hover { background: var(--acid); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; padding: 40px clamp(24px, 4vw, 72px); border-top: 1px solid var(--line); font-size: .75rem; }
.site-footer p { color: var(--ink-soft); text-align: center; }.site-footer > span { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.game-view { min-height: calc(100vh - 88px); padding: 34px clamp(20px, 4vw, 64px) 70px; }
.game-shell { max-width: 1480px; margin: 0 auto; }
.game-topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 14px; }
.back-button, .skip-button, .text-button { padding: 0; border: 0; background: transparent; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.back-button { justify-self: start; font-size: .75rem; text-decoration: none; }.back-button span { margin-right: 8px; }.back-button:hover { text-decoration: underline; }
.game-progress-copy { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.game-progress-copy span:nth-child(2) { color: var(--ink-soft); margin: 0 4px; }
.score-pill { justify-self: end; padding: 7px 11px; border: 1px solid var(--ink); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }.score-pill strong { margin-left: 6px; color: var(--orange); font-size: .85rem; }
.progress-track { height: 3px; margin-bottom: 34px; background: var(--paper-deep); }.progress-track span { display: block; width: 16.667%; height: 100%; background: var(--orange); transition: transform 400ms ease, width 400ms ease; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); min-height: 690px; border: 1px solid var(--ink); background: var(--white); }
.game-image-panel { min-width: 0; padding: clamp(20px, 3.5vw, 52px); background: var(--ink); }
.image-stage { height: 100%; display: flex; flex-direction: column; }
.image-meta, .image-caption { display: flex; justify-content: space-between; color: var(--paper); font-size: .58rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }.image-meta { margin-bottom: 14px; }.image-caption { margin-top: 14px; color: rgba(255,255,255,.65); }
.object-frame { position: relative; flex: 1; min-height: 480px; overflow: hidden; background: var(--paper-deep); }
.object-frame img { position: absolute; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 7)); transform-origin: var(--origin, 50% 50%); transition: transform 1.15s cubic-bezier(.22,.8,.24,1), object-fit .1s; }
.object-frame.revealed img { transform: scale(1); object-fit: contain; }
.focus-corners i { position: absolute; width: 28px; height: 28px; border-color: var(--paper); border-style: solid; opacity: .8; }.focus-corners i:nth-child(1) { top: 16px; left: 16px; border-width: 2px 0 0 2px; }.focus-corners i:nth-child(2) { top: 16px; right: 16px; border-width: 2px 2px 0 0; }.focus-corners i:nth-child(3) { bottom: 16px; left: 16px; border-width: 0 0 2px 2px; }.focus-corners i:nth-child(4) { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }
.object-frame.revealed .focus-corners { opacity: 0; transition: opacity 400ms ease; }
.game-question-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 90px); border-left: 1px solid var(--ink); }
.game-question-panel h2 { margin: 0; font-size: clamp(3rem, 5vw, 6rem); line-height: .91; letter-spacing: .01em; }.game-question-panel h2 em { display: inline-block; }
.question-prompt { max-width: 510px; margin: 28px 0 46px; color: var(--ink-soft); line-height: 1.65; }
#guess-form label { display: block; margin-bottom: 10px; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guess-control { display: flex; align-items: stretch; border-bottom: 2px solid var(--ink); }.guess-control input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 18px 8px 18px 0; background: transparent; color: var(--ink); font-size: 1.05rem; }.guess-control input::placeholder { color: #7a8293; }.guess-control:focus-within { border-color: var(--orange); }.guess-control .button { min-width: auto; min-height: 50px; box-shadow: none; margin-bottom: 5px; }
.form-hint { min-height: 20px; margin: 12px 0 0; color: var(--ink-soft); font-size: .72rem; }.form-hint.error { color: var(--orange-dark); font-weight: 700; }
.skip-button { align-self: flex-start; margin-top: 30px; color: var(--ink-soft); font-size: .73rem; }
.reveal-state .result-kicker { display: inline-block; margin: 0 0 24px; padding: 7px 11px; background: var(--acid); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.reveal-state .result-kicker.missed { background: var(--paper-deep); }
.answer-fact { max-width: 520px; margin: 28px 0; color: var(--ink-soft); line-height: 1.65; }
.guess-recap { margin-bottom: 34px; padding: 14px 0; border-block: 1px solid var(--line); font-size: .75rem; }.guess-recap strong { color: var(--orange); }
.reveal-state .button { min-width: 190px; }
.complete-state { position: relative; min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--ink); background: var(--acid); text-align: center; }.complete-state h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(4rem, 8vw, 8rem); line-height: .85; letter-spacing: .01em; }.complete-state h2 em { color: var(--orange); }.complete-score { position: relative; z-index: 2; margin: 34px 0 10px; font-size: 1.1rem; }.complete-message { position: relative; z-index: 2; max-width: 480px; color: var(--ink-soft); }.complete-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 26px; margin-top: 36px; }.complete-orbit { position: absolute; width: min(66vw, 800px); aspect-ratio: 1; border: 1px solid rgba(9,11,18,.25); border-radius: 50%; }.complete-orbit::before, .complete-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(9,11,18,.25); border-radius: 50%; }.complete-orbit::before { inset: 12%; }.complete-orbit::after { inset: 28%; }.complete-orbit span { position: absolute; width: 20px; height: 20px; top: 3%; left: 50%; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-in-out infinite; }
.text-button { font-size: .78rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes lens-arrive { from { opacity: 0; transform: translate(-50%,-45%) scale(.78) rotate(-8deg); } to { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes scan { 0%,100% { transform: translateY(-70px); opacity: 0; } 25%,75% { opacity: 1; } 50% { transform: translateY(130px); } }
@keyframes pulse { 50% { transform: scale(1.7); } }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }.hero-copy { min-height: 720px; }.hero-art { min-height: 700px; border-left: 0; border-top: 1px solid var(--ink); }.lens { width: min(60vw, 480px); }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }.steps { grid-template-columns: 1fr 1fr; }.step:last-child { grid-column: 1 / -1; }
  .manifesto { grid-template-columns: .3fr 1fr; }.manifesto .button { grid-column: 2; justify-self: start; }
  .game-layout { grid-template-columns: 1fr; }.game-question-panel { border-left: 0; border-top: 1px solid var(--ink); }.object-frame { min-height: 520px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 72px; }.site-nav a { display: none; }.hero { min-height: 0; }.hero-copy { min-height: calc(100svh - 72px); padding-top: 70px; padding-bottom: 60px; }.hero-art { min-height: 520px; }.lens { width: 68vw; border-width: 14px; }.orbit-one { width: 92%; left: 4%; top: 7%; }.orbit-two { width: 110%; left: -5%; top: -2%; }
  h1 { font-size: clamp(3.8rem, 18vw, 6rem); }.hero-intro { margin-top: 28px; }.hero-actions { align-items: flex-start; flex-direction: column; }.edition-note { flex-wrap: wrap; gap: 8px 12px; margin-top: 48px; }.edition-note span + span::before { margin-right: 12px; }
  .how { padding-inline: 18px; }.steps { grid-template-columns: 1fr; }.step:last-child { grid-column: auto; }.step { min-height: 460px; }
  .manifesto { grid-template-columns: 1fr; gap: 32px; }.manifesto-mark { font-size: 5rem; }.manifesto .button { grid-column: auto; }.site-footer { grid-template-columns: 1fr; text-align: left; }.site-footer p { text-align: left; }
  .game-view { padding: 22px 12px 50px; }.game-topbar { grid-template-columns: 1fr auto; }.game-progress-copy { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 18px; }.score-pill { grid-column: 2; grid-row: 1; }.progress-track { margin-top: 12px; }.game-image-panel { padding: 14px; }.object-frame { min-height: 390px; }.game-question-panel { padding: 42px 24px 52px; }.game-question-panel h2 { font-size: 3.4rem; }.guess-control { display: block; border-bottom: 0; }.guess-control input { width: 100%; border-bottom: 2px solid var(--ink); }.guess-control .button { width: calc(100% - 6px); margin-top: 18px; }.complete-state { min-height: 650px; padding: 40px 22px; }.complete-actions { flex-direction: column; }.complete-orbit { width: 110vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
