/* pages.css: the inner "places" of the arcade (/start, /videos, /about, /partners, /work-with-me).
   Loads AFTER styles.css + oasis.css and only adds. Spacing on 8px steps. Transform + opacity only. */

/* ---------- shared: nav extras, page hero, reveal ---------- */
.nav-links .only-menu { display: none; }
@media (max-width: 899px) { .nav.menu-open .nav-links .only-menu { display: block; } }
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--gold); border-radius: 2px; }
@media (max-width: 899px) { .nav.menu-open .nav-links a[aria-current="page"]::after { display: none; } }

.page-hero { position: relative; isolation: isolate; overflow: clip; padding-block: 56px 48px; text-align: center; }
@media (min-width: 900px) { .page-hero { padding-block: 72px 64px; } }
.page-hero .scene-art { opacity: 0.4; object-position: center 40%; mask-image: linear-gradient(to bottom, #000 40%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.page-hero .wrap { display: grid; gap: 16px; justify-items: center; max-width: 880px; }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .lede { max-width: 38em; text-shadow: 0 1px 2px rgba(11, 8, 20, 0.9), 0 0 24px rgba(11, 8, 20, 0.85); }
.page-hero .hud { margin-bottom: 16px; }
.pixel { font-family: var(--font-pixel); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.level-chip { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; max-width: 100%; line-height: 1.5; gap: 0.25rem 0.6rem; padding: 0.45rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in oklab, var(--bg) 80%, transparent); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.level-chip b { color: var(--gold); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero-actions .btn { min-height: 44px; }

.section-head.centred { margin-bottom: 32px; }
.section-head.centred h2 { font-size: var(--step-3); }
.note-line { color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 60ch; margin-inline: auto; text-align: center; }
.note-line b { color: var(--text); }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-group] > * { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal-group].is-revealed > * { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-reveal-group] > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; transition: none; } }

/* ---------- shared: forms (demo, not connected) ---------- */
.form-card { width: 100%; max-width: 640px; margin-inline: auto; padding: 32px 24px; border: 2px solid var(--gold); border-radius: 26px; background: color-mix(in oklab, var(--surface) 88%, transparent); box-shadow: 0 0 40px color-mix(in oklab, var(--gold) 18%, transparent), inset 0 0 0 6px var(--bg); display: grid; gap: 16px; }
@media (min-width: 640px) { .form-card { padding: 40px 32px; } }
.form-card h2, .form-card h3 { text-align: center; }
.form-card .lede { font-size: 1.05rem; text-align: center; margin-inline: auto; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field label small { font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.75rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23cfc7e6' stroke-width='2' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--magenta); }
.field-error { display: none; color: #ffb3d6; font-size: 0.875rem; }
.field.has-error .field-error { display: block; }
.two-up { display: grid; gap: 16px; }
@media (min-width: 640px) { .two-up { grid-template-columns: 1fr 1fr; } }
.form-card .btn { min-height: 48px; justify-content: center; width: 100%; }
.form-card .demo-note { text-align: center; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.form-card.is-done .form-fields, .form-card.is-done .demo-note, .form-card.is-done .btn-submit { display: none; }
.form-done { display: none; padding: 16px 20px; border: 1px solid var(--gold); border-radius: 14px; background: var(--surface); color: var(--text); text-align: center; line-height: 1.55; }
.form-card.is-done .form-done { display: block; }
.form-fields { display: grid; gap: 16px; }

/* ---------- shared: video slot (poster first, swap one attribute for a real file) ---------- */
.vslot { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #07050d; border: 1px solid var(--line-strong); box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7); }
.vslot img, .vslot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vslot .scanlines { opacity: 0.7; z-index: 2; }
.vslot-state { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; background: radial-gradient(ellipse at 50% 60%, color-mix(in oklab, var(--violet) 26%, transparent), transparent 70%), rgba(11, 8, 20, 0.72); }
.vslot-state h3, .vslot-state h2, .vslot-state p { text-shadow: 0 1px 2px rgba(11, 8, 20, 0.9), 0 0 24px rgba(11, 8, 20, 0.85); }
.vslot-state .pixel { animation: blink 1.2s steps(2, start) infinite; }
.vslot-state h3, .vslot-state h2 { font-size: var(--step-2); color: var(--text); }
.vslot-state p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.vslot-state .rec { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.vslot-state .rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); animation: blink 1s steps(2, start) infinite; }
.vslot-play { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; background: linear-gradient(to top, rgba(11, 8, 20, 0.75), transparent 55%); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.vslot-play .ring { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in oklab, var(--gold) 25%, transparent), 0 20px 50px -20px #000; transition: transform 200ms var(--ease-out); }
.vslot-play .ring svg { margin-left: 4px; }
.vslot-play:hover .ring, .vslot-play:focus-visible .ring { transform: scale(1.06); }
.vslot-play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.vslot-play .hint { position: absolute; left: 0; right: 0; bottom: 16px; font-size: 0.9rem; font-weight: 600; color: var(--text); text-shadow: 0 1px 2px #000; }
.vslot.is-playing .vslot-play, .vslot.is-playing .vslot-state, .vslot.is-playing .scanlines, .vslot.is-playing > img { display: none; }
.vslot[data-video-src=""] .vslot-play, .vslot:not([data-video-src]) .vslot-play { display: none; }
.vslot:not([data-video-src=""]) .vslot-state { display: none; }
.vslot .vslot-state .btn-ghost { min-height: 44px; }
.no-js .vslot-play { display: none; }
@media (prefers-reduced-motion: reduce) { .vslot-state .pixel, .vslot-state .rec i { animation: none; } }

/* ================================================================= */
/* /start/ : three cartridges                                         */
/* ================================================================= */
.cartridges { display: grid; gap: 24px; max-width: 1100px; margin-inline: auto; }
@media (min-width: 900px) {
  .cartridges { grid-template-columns: 1fr 1fr; }
  .cart.featured { grid-column: 1 / -1; }
  .cart.featured .cart-body { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 32px; padding: 32px; align-items: start; }
  .cart.featured .cart-body .vslot { grid-column: 1; grid-row: 1 / span 4; align-self: center; }
  .cart.featured .cart-body > :not(.vslot) { grid-column: 2; }
}
.cart { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line-strong); border-radius: 20px 20px 28px 28px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: clip; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .cart:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--gold) 60%, var(--line-strong)); } }
.cart-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in oklab, var(--gold) 14%, var(--surface-2)), var(--surface-2)); }
.cart-top .ep { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cart-top .ep b { color: var(--gold); font-weight: 500; }
.cart-top .status { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.cart-top .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.cart-top .status.locked i { background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.cart-body { display: grid; gap: 16px; padding: 24px; align-content: start; }
.cart-body h2, .cart-body h3 { font-size: var(--step-2); }
.cart-body .runtime { color: var(--muted); font-size: 0.9rem; }
.cart-body p.what { color: var(--muted); line-height: 1.6; }
.learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.learn li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 0.95rem; line-height: 1.5; color: var(--text); }
.learn li::before { content: "\25B8"; color: var(--gold); font-family: var(--font-mono); font-size: 1rem; line-height: 1.4; }
.cart .lockscreen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: #07050d; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 16px; }
.cart .lockscreen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: blur(2px) saturate(0.6); }
.cart .lockscreen > * { position: relative; z-index: 1; }
.lock-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-strong); color: var(--gold); }
.cart .lockscreen p { color: var(--muted); font-size: 0.9rem; max-width: 28ch; }
.cart .lockscreen .link-arrow { font-size: 0.95rem; min-height: 44px; }
.gate { margin-top: 48px; }
.after-gate { margin-top: 48px; display: grid; gap: 16px; justify-items: center; text-align: center; }
.after-gate .btn { min-height: 44px; }

/* ================================================================= */
/* /videos/ : the picker wheel + big player + bonus round             */
/* ================================================================= */
.arcade-stage { display: grid; gap: 32px; max-width: 1180px; margin-inline: auto; }
@media (min-width: 1000px) { .arcade-stage { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 48px; } }

/* the wheel: 6 cartridges on a ring; the chosen one is at the top */
.wheel-wrap { display: grid; gap: 16px; justify-items: center; max-width: 100%; }
.wheel { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wheel-ring { position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed var(--line-strong); }
.wheel-ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, color-mix(in oklab, var(--violet) 22%, transparent), transparent 65%); }
.wheel-ring::after { content: ""; position: absolute; inset: 38%; border-radius: 50%; background: radial-gradient(circle, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7); }
.wheel-centre { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.wheel-centre .pixel { font-size: 0.5rem; }
.wheel-centre b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.wheel-centre small { display: block; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; width: 22px; height: 22px; transform: translateX(-50%) rotate(45deg); background: var(--gold); border-radius: 4px; box-shadow: 0 0 16px color-mix(in oklab, var(--gold) 60%, transparent); z-index: 4; }
.wheel-items { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transition: transform 700ms cubic-bezier(0.2, 0.9, 0.25, 1.05); will-change: transform; }
.wheel.is-dragging .wheel-items { transition: none; }
.wheel-item { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px; }
.wheel-item button { width: 100%; height: 100%; padding: 0; border: 2px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--text); cursor: pointer; display: grid; grid-template-rows: 1fr auto; transition: transform 700ms cubic-bezier(0.2, 0.9, 0.25, 1.05), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); box-shadow: 0 10px 30px -15px #000; }
.wheel-item button img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.wheel-item button span { display: block; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0; text-transform: uppercase; color: var(--text); background: var(--surface-2); padding: 6px 2px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wheel-item button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 30%, transparent), 0 0 32px color-mix(in oklab, var(--gold) 45%, transparent); }
.wheel-item button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) { .wheel-item button:hover { border-color: var(--gold); } }
@media (max-width: 420px) { .wheel-item { width: 100px; height: 100px; margin: -50px; } .wheel-item button span { letter-spacing: 0; padding: 6px 3px; } }
.wheel-ball { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--gold), inset -3px -3px 4px rgba(0, 0, 0, 0.4); z-index: 3; transition: transform 700ms cubic-bezier(0.2, 0.9, 0.25, 1.05); pointer-events: none; }
.wheel-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.wheel-controls .icon-btn { width: 48px; height: 48px; }
.wheel-controls .spin-state { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 0.5rem; }
.wheel-controls .spin-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.wheel-controls .spin-state.paused i { background: var(--dim); box-shadow: none; }
.wheel-help { color: var(--muted); font-size: 0.875rem; text-align: center; max-width: 36ch; }
@media (prefers-reduced-motion: reduce) { .wheel-items, .wheel-item button, .wheel-ball { transition: none; } }
.no-js .wheel { display: none; }
.no-js .arcade-list { display: grid; }

/* the big player */
.player-card { display: grid; gap: 16px; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.player-head .now { color: var(--gold); display: inline-flex; align-items: center; gap: 0.5rem; }
.player-head .now i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.player-head .len { color: var(--text); }
.big-player { aspect-ratio: 16 / 9; border-radius: 16px; }
.player-copy { display: grid; gap: 8px; text-align: center; justify-items: center; }
.player-copy h2 { font-size: var(--step-2); }
.player-copy p { color: var(--muted); line-height: 1.6; max-width: 44ch; }
.player-copy .btn { min-height: 44px; margin-top: 8px; }
.player-copy .trim-note { font-size: 0.875rem; color: var(--muted); }

/* plain list of every video (always there for keyboard users, screen readers and no-JS) */
.arcade-list { display: grid; gap: 16px; margin-top: 56px; max-width: 1180px; margin-inline: auto; }
@media (min-width: 640px) { .arcade-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .arcade-list { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: clip; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .vcard:hover { transform: translateY(-4px); border-color: var(--gold); } }
.vcard.is-current { border-color: var(--gold); }
.vcard-shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg); cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .vcard-shot:hover img { transform: scale(1.04); } }
.vcard-shot .len { position: absolute; right: 10px; bottom: 10px; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; padding: 4px 8px; border-radius: 6px; background: rgba(11, 8, 20, 0.85); color: var(--text); }
.vcard-shot .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: 0 0 0 8px color-mix(in oklab, var(--gold) 22%, transparent); }
.vcard-shot:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.vcard-body { display: grid; gap: 8px; padding: 16px 20px 24px; text-align: center; justify-items: center; }
.vcard-body h3 { font-size: 1.15rem; }
.vcard-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; max-width: 32ch; }
.vcard-body .btn { min-height: 44px; margin-top: 4px; font-size: 0.9rem; }

/* bonus round: ten short feature clips, muted loops on hover / tap */
.bonus { margin-top: 72px; }
.bonus-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 8px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.bonus-row::-webkit-scrollbar { height: 6px; }
.bonus-row::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
@media (min-width: 1100px) { .bonus-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }
.clip { scroll-snap-align: start; display: grid; grid-template-rows: auto auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: clip; padding: 0; color: inherit; text-align: left; cursor: pointer; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .clip:hover { transform: translateY(-3px); border-color: var(--gold); } }
.clip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.clip-screen { position: relative; aspect-ratio: 16 / 9; background: #07050d; }
.clip-screen img, .clip-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-screen video { opacity: 0; transition: opacity 300ms var(--ease-out); }
.clip.is-playing .clip-screen video { opacity: 1; }
.clip-screen .len { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 0.8125rem; padding: 3px 7px; border-radius: 6px; background: rgba(11, 8, 20, 0.85); color: var(--text); }
.clip-screen .hover-hint { position: absolute; left: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(11, 8, 20, 0.85); color: var(--gold); }
.clip.is-playing .hover-hint { display: none; }
.clip-body { padding: 12px 14px 14px; display: grid; gap: 2px; min-height: 44px; }
.clip-body b { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.clip-body span { font-size: 0.875rem; color: var(--muted); }

/* ================================================================= */
/* /about/ : stages                                                   */
/* ================================================================= */
.player-card-top { display: grid; gap: 8px; justify-items: center; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.stats li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in oklab, var(--bg) 80%, transparent); font-size: 0.9rem; color: var(--muted); }
.stats li b { color: var(--text); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.intro-slot { width: 100%; max-width: 880px; margin: 32px auto 0; display: grid; gap: 12px; }
.intro-slot .vslot { aspect-ratio: 16 / 9; }

.stages { display: grid; gap: 48px; max-width: 1100px; margin-inline: auto; }
.stage { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .stage { grid-template-columns: 1fr 1fr; gap: 48px; } .stage.flip .stage-art { order: 2; } }
.stage-copy { display: grid; gap: 16px; }
.stage-copy .level-chip { justify-self: start; }
.stage-copy h2 { font-size: var(--step-3); }
.stage-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 46ch; }
.stage-copy p b { color: var(--text); font-weight: 600; }
.stage-art { margin: 0; position: relative; }
.stage-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); display: block; }
.stage-art figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: rgba(11, 8, 20, 0.88); color: var(--text); }
/* code-drawn screens for the stages with no photo */
.crt { aspect-ratio: 4 / 3; border-radius: 18px; border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 50% 50%, #1b1433, #07050d 75%); box-shadow: var(--shadow-float), inset 0 0 60px rgba(0, 0, 0, 0.8); display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; position: relative; overflow: hidden; padding: 24px; }
.crt .scanlines { opacity: 0.9; }
.crt .pixel { font-size: clamp(0.8rem, 2.6vw, 1.3rem); line-height: 1.6; text-shadow: 0 0 18px color-mix(in oklab, var(--gold) 60%, transparent); }
.crt .pixel.small { font-size: 0.6rem; color: var(--muted); text-shadow: none; }
.crt .pixel.dim { color: var(--muted); text-shadow: none; }
.crt .press { animation: crtblink 1.2s steps(2, start) infinite; }
@keyframes crtblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.crt .score { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; }
.crt .score b { color: var(--gold); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .crt .press { animation: none; } }
.stage-next .btn { min-height: 48px; }

/* ================================================================= */
/* /partners/ : co-op mode                                            */
/* ================================================================= */
.coop-grid { display: grid; gap: 24px; max-width: 1100px; margin-inline: auto; }
@media (min-width: 900px) { .coop-grid { grid-template-columns: repeat(3, 1fr); } }
.coop-step { display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); text-align: center; justify-items: center; }
.coop-step .num-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 20px color-mix(in oklab, var(--gold) 30%, transparent); }
.coop-step h3 { font-size: 1.3rem; }
.coop-step p { color: var(--muted); line-height: 1.6; max-width: 30ch; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 720px; margin-inline: auto; }
.perks li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); line-height: 1.55; }
.perks li .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; }
.perks li b { color: var(--text); display: block; }
.perks li span { color: var(--muted); font-size: 0.95rem; }
.honest-box { max-width: 720px; margin: 32px auto 0; padding: 16px 20px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; text-align: center; }
.honest-box b { color: var(--text); }
.two-players { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.two-players .hud-item { font-family: var(--font-pixel); font-size: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; }
.two-players .hud-item b { color: var(--gold); font-weight: 400; margin-right: 0.5em; }

/* ================================================================= */
/* /work-with-me/ : boss level                                        */
/* ================================================================= */
.boss-grid { display: grid; gap: 24px; max-width: 1100px; margin-inline: auto; }
@media (min-width: 640px) { .boss-grid { grid-template-columns: repeat(2, 1fr); } }
.boss { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: clip; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .boss:hover { transform: translateY(-4px); border-color: var(--gold); } }
.boss-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.boss-top .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in oklab, var(--gold) 16%, var(--surface)); border: 1px solid color-mix(in oklab, var(--gold) 50%, var(--line-strong)); color: var(--gold); }
.boss-top .hp { display: grid; gap: 4px; justify-items: end; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.boss-top .hp i { display: block; width: 96px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-strong); overflow: hidden; }
.boss-top .hp i::after { content: ""; display: block; height: 100%; width: var(--hp, 60%); background: var(--gold); }
.boss h3 { font-size: var(--step-2); }
.boss p { color: var(--muted); line-height: 1.6; }
.boss ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--text); font-size: 0.95rem; }
.boss ul li::before { content: "+ "; color: var(--gold); font-family: var(--font-mono); }
.boss .btn { min-height: 44px; justify-self: start; }
.how { display: grid; gap: 16px; max-width: 760px; margin: 48px auto 0; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { list-style: none; display: grid; gap: 6px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: center; }
.how li b { color: var(--text); font-family: var(--font-display); font-weight: 700; }
.how li span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.how li .pixel { font-size: 0.5rem; margin-bottom: 4px; }

/* ---------- footer tweak: five link columns on wide screens ---------- */
@media (min-width: 760px) { .footer .wrap.five { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; } }
