:root {
  color-scheme: dark;
  --night: #0a1820;
  --night-2: #0f2530;
  --night-3: #16333f;
  --fog: #9db8c6;
  --ink: #e9f0f2;
  --muted: #a8bcc6;
  --lamp: #ffb45a;
  --lamp-hi: #ffd9a0;
  --tung-core: #ffd9a0;
  --tung-mid: #ffb45a;
  --tung-edge: #6e3e17;
  --tung-deep: #2a1a0c;
  --moon: #dbe7ec;
  --line: rgba(157, 184, 198, 0.2);
  --shadow: rgba(3, 10, 14, 0.65);
  --mask-on: #000;
  --mask-off: rgba(0, 0, 0, 0.14);
  --street: #06111a;
  --far: #12303d;
  --near: #0b1d27;
  --fg: #03090e;
  --pane: #1a3744;
  --smoke: #2b4553;
  --olive: #6b7048;
  --olive-deep: #2b3023;
  --amber: #c9913f;
  --haze: #8f8b5c;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  color-scheme: dark;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  touch-action: pan-y pinch-zoom;
  -webkit-text-size-adjust: 100%;
}
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.98; margin: 0; overflow-wrap: break-word; }
p { margin: 0; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
:focus-visible { outline: 2px solid var(--lamp-hi); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lamp); color: var(--night); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.35rem; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .mk { stroke: var(--lamp-hi); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--lamp-hi); }

/* Light outside the hero: only headings, doodles and poster details the pointer passes over.
   Tungsten colors, small radius, no page-wide wash. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .glow-text {
    background-image:
      radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), var(--tung-core) 0%, var(--tung-mid) 52%, transparent 100%),
      linear-gradient(var(--ink), var(--ink));
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}
.detail {
  -webkit-mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), var(--mask-on) 0%, var(--mask-on) 40%, var(--mask-off) 100%);
  mask-image: radial-gradient(circle 170px at var(--mx, -999px) var(--my, -999px), var(--mask-on) 0%, var(--mask-on) 40%, var(--mask-off) 100%);
}
/* Hero details are revealed through the same cone as the canvas beam (crisp edge). */
.cone-lit {
  --ox: -9999px; --oy: -9999px; --ang: 0deg; --half: 11deg; --rr: 700px;
  -webkit-mask-image:
    conic-gradient(from calc(var(--ang) - var(--half)) at var(--ox) var(--oy), var(--mask-on) 0deg, var(--mask-on) calc(var(--half) * 2), transparent calc(var(--half) * 2)),
    radial-gradient(circle var(--rr) at var(--ox) var(--oy), var(--mask-on) 0%, var(--mask-on) 62%, transparent 100%);
  mask-image:
    conic-gradient(from calc(var(--ang) - var(--half)) at var(--ox) var(--oy), var(--mask-on) 0deg, var(--mask-on) calc(var(--half) * 2), transparent calc(var(--half) * 2)),
    radial-gradient(circle var(--rr) at var(--ox) var(--oy), var(--mask-on) 0%, var(--mask-on) 62%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 6px;
  background:
    radial-gradient(110% 70% at 88% 0%, color-mix(in srgb, var(--fog) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 48%, var(--night-3) 100%);
}
.scene { position: absolute; bottom: 0; right: -24px; width: max(calc(100% + 48px), 900px); max-width: none; aspect-ratio: 1600 / 820; z-index: 1; }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; overflow: visible; }
.fog { position: absolute; left: -30%; width: 160%; border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fog) 17%, transparent), transparent);
  animation: drift 58s ease-in-out infinite alternate; }
.fog.fa { bottom: 30%; height: 26%; animation-duration: 74s; opacity: 0.8; }
.fog.fb { bottom: 6%; height: 22%; animation-duration: 52s; animation-direction: alternate-reverse; }
.fog.fc { bottom: -7%; height: 20%; animation-duration: 88s; opacity: 0.75; }
@keyframes drift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(130% 95% at 0% 0%, color-mix(in srgb, var(--night) 66%, transparent) 0%, color-mix(in srgb, var(--night) 40%, transparent) 45%, transparent 75%); }
.hero-copy { position: relative; z-index: 3; padding: clamp(56px, 10vw, 150px) clamp(18px, 5vw, 56px) 310px; max-width: 100%; }
.hero h1 { font-size: clamp(3.6rem, 15vw, 8rem); text-shadow: 0 4px 30px var(--shadow); padding-bottom: 0.04em; color: var(--ink); }
.hero .what { font-size: clamp(1.15rem, 2.6vw, 1.45rem); margin-top: 18px; color: var(--ink); text-shadow: 0 2px 14px var(--shadow); }
.hero .meta { margin-top: 12px; color: var(--muted); max-width: 34rem; text-shadow: 0 2px 14px var(--shadow); }
.hero .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.beam { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: 4; pointer-events: none; mix-blend-mode: plus-lighter; }
@supports not (mix-blend-mode: plus-lighter) { .beam { mix-blend-mode: screen; } }
.grain { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay;
  background-size: 180px 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 3px; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid var(--fog); background: transparent; color: var(--ink); }
.btn:hover { border-color: var(--lamp-hi); color: var(--lamp-hi); }
.btn.primary { background: var(--lamp); border-color: var(--lamp); color: var(--night); }
.btn.primary:hover { background: var(--lamp-hi); border-color: var(--lamp-hi); color: var(--night); }
.status { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.3em 0.9em; border: 1px solid var(--line); border-radius: 99px; font-size: 0.92rem; color: var(--ink); background: color-mix(in srgb, var(--night) 55%, transparent); }
.status::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 8px var(--tung-edge); animation: flicker 7s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 31% { opacity: 0.92; } 44% { opacity: 0.8; } 58% { opacity: 1; } 79% { opacity: 0.88; } }

/* svg art classes */
.sky-far { fill: var(--far); }
.sky-near { fill: var(--near); }
.p-sky { fill: var(--near); }
.star { fill: var(--fog); }
.win { fill: var(--pane); opacity: 0.55; }
.win-on { fill: var(--lamp); opacity: 0.7; }
.win-hot { fill: var(--lamp-hi); opacity: 0.95; }
.street { fill: var(--street); }
.curb { fill: var(--pane); opacity: 0.6; }
.car { fill: var(--fg); }
.car-edge { fill: none; stroke: var(--lamp); stroke-width: 1.2; opacity: 0.45; }
.car-crack { fill: none; stroke: var(--tung-core); stroke-width: 0.9; stroke-linecap: round; }
.car-rim { fill: none; stroke: var(--tung-mid); stroke-width: 1.2; stroke-linejoin: round; }
.wire { fill: none; stroke: var(--near); stroke-width: 1.6; }
.pole { fill: var(--street); }
.pole-line { fill: none; stroke: var(--street); stroke-width: 6; stroke-linecap: round; }
.lamp-head { fill: var(--street); stroke: var(--lamp); stroke-width: 1; stroke-opacity: 0.5; }
.streaks rect { fill: var(--lamp); opacity: 0.12; }
.figure { fill: var(--street); }
.figure-hot { fill: var(--street); stroke: var(--lamp-hi); stroke-width: 1; }
.crow { fill: var(--street); stroke: var(--lamp-hi); stroke-width: 2.4; stroke-linecap: round; }
.chalk { fill: none; stroke: var(--lamp-hi); stroke-width: 2.2; stroke-linecap: round; opacity: 0.9; }
.paper { fill: var(--moon); opacity: 0.65; }
.ring { stroke: var(--fog); stroke-width: 2; }
.ring-hot { stroke: var(--lamp-hi); stroke-width: 2.4; opacity: 0.8; }
.p-title { font-family: var(--display); font-weight: 800; font-size: 82px; letter-spacing: 3px; fill: var(--ink); }
.p-sub { font-family: var(--body); font-weight: 600; font-size: 17px; letter-spacing: 7px; fill: var(--muted); }
.smoke circle { fill: var(--olive-deep); }
.stumps { fill: none; stroke: var(--olive-deep); stroke-width: 3; stroke-linecap: round; }
.furrow path { fill: none; stroke: var(--olive-deep); stroke-width: 2; opacity: 0.6; }
.post path { fill: none; stroke: var(--lamp-hi); stroke-width: 5; stroke-linecap: round; }
.wire-hot { fill: none; stroke: var(--lamp-hi); stroke-width: 2; }
.barb { fill: none; stroke: var(--lamp-hi); stroke-width: 1.6; stroke-linecap: round; }
.crow-sky path { fill: none; stroke: var(--olive-deep); stroke-width: 3; stroke-linecap: round; }

/* scene depth */
.smoke-col { fill: url(#smG); transform-box: fill-box; transform-origin: 50% 100%; animation: sway 16s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg) skewX(-1deg); } to { transform: rotate(1.8deg) skewX(1.2deg); } }
.fence-post { fill: none; stroke: var(--fg); stroke-width: 6; stroke-linecap: round; }
.fence-wire { fill: none; stroke: var(--fg); stroke-width: 1.8; stroke-linecap: round; }
.fence-barb { fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; }
.fence-rim { fill: none; stroke: url(#rimG); stroke-width: 1.3; stroke-linecap: round; }
.fence-lit-post { fill: none; stroke: var(--tung-mid); stroke-width: 2; stroke-linecap: round; opacity: 0.55; }
.fence-lit-wire { fill: none; stroke: var(--tung-core); stroke-width: 1.6; stroke-linecap: round; }
.fence-lit-barb { fill: none; stroke: var(--tung-core); stroke-width: 1.5; stroke-linecap: round; }
.zed-base { fill: var(--street); opacity: 0.5; }
.zed-lit { fill: var(--tung-edge); stroke: var(--tung-mid); stroke-width: 1; stroke-linejoin: round; opacity: var(--rv, 0); }
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: zsway 7s ease-in-out infinite alternate; }
.sway.s2 { animation-duration: 9s; animation-delay: -3s; }
.sway.s3 { animation-duration: 11s; animation-delay: -6s; }
@keyframes zsway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.6deg); } }
#lampGlow { mix-blend-mode: plus-lighter; }

/* sections */
.sec { padding-block: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 5vw, 48px); }
.sec-head > div { flex: 1 1 18rem; min-width: 0; }
.sec h2 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.sec-head p { margin-top: 12px; color: var(--muted); max-width: 36rem; }
.doodle { flex: 0 0 auto; width: 120px; height: auto; fill: none; stroke: var(--lamp-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.games { display: grid; gap: clamp(20px, 3vw, 32px); }
.game { display: grid; grid-template-columns: minmax(0, var(--pw, 300px)) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: center; padding: clamp(16px, 3vw, 30px); background: var(--night-2); border: 1px solid var(--line); border-radius: 6px; }
.game.no-poster { grid-template-columns: minmax(0, 1fr); }
.game.feature { --pw: 340px; }
.game.second { --pw: 260px; }
.poster { position: relative; width: 100%; max-width: 100%; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; background: var(--night); }
.poster svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.game-body { min-width: 0; }
.game h3 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.game.second h3 { font-size: clamp(2rem, 5vw, 2.8rem); }
.game .lead { margin-top: 14px; font-size: 1.15rem; }
.game .status { margin-top: 18px; }
.game .actions { margin-top: 22px; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 22px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 699px) {
  .game { grid-template-columns: minmax(0, 1fr); }
  .poster { max-width: 340px; }
}

.studio-text { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 34rem; }
.studio-text strong { color: var(--ink); font-weight: 500; }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.contact { min-width: 0; padding: clamp(18px, 3vw, 28px); background: var(--night-2); border: 1px solid var(--line); border-radius: 6px; }
.contact h3 { font-size: 1.25rem; letter-spacing: 0.08em; color: var(--ink); }
.contact .for { margin-top: 8px; color: var(--muted); }
.addr { display: block; margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 5.4vw, 2rem); letter-spacing: 0.02em; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.contact .actions { margin-top: 18px; }
.note { margin-top: 18px; min-height: 1.6em; color: var(--lamp-hi); font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); padding-block: 36px 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; color: var(--muted); }
footer a { color: var(--ink); }
footer .brand { font-size: 1.15rem; }

@media (min-width: 900px) {
  .hero-copy { padding-bottom: 150px; max-width: min(100%, 680px); }
  .hero h1 { font-size: clamp(5.5rem, 11vw, 9rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.btn.soon { border-style: dashed; color: var(--fog); cursor: default; }
.btn.soon:hover { border-color: var(--line); color: var(--fog); }
.game .desc { margin-top: 14px; max-width: 38rem; }
.poster.cover img { display: block; width: 100%; height: auto; border-radius: 4px; }

