/* Some Game Studio. A studio front door in the usual order (art and logo, our games, who we are, recent updates,
   stay connected) in the studio's own colours: the logo's white on Otter Space's ink. Each game slide carries its own
   art and accent (Slime Farmer's slime green, Otter Space's lamplight). */
:root {
  --ink: #070b14;          /* Otter Space splash ink */
  --ink-2: #0b1120;
  --ink-3: #121a2b;
  --panel: #0e1526;
  --white: #ffffff;
  --text: #e9edf3;
  --muted: #a3aec0;
  --dim: #6f7b8f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --slime: #8ee04a;
  --slime-hi: #e8ffb0;
  --gold: #e7c27a;
  --lamp: #f2c79a;
  --lamp-hot: #ffb867;
  --f-ui: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --f-otter: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --col: 1200px;
  --top-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap {
  width: 100%; max-width: calc(var(--col) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.75), rgba(5, 8, 15, 0));
  transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(7, 11, 20, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: var(--top-h); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.top-logo img { width: 158px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav > a, .drop-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; background: none; cursor: pointer; border-radius: 8px;
  font: 600 13px/1 var(--f-ui); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: #d3dae5; transition: color .2s, background-color .2s;
}
.top-nav > a:hover, .drop-btn:hover, .drop-btn[aria-expanded="true"] { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.drop-btn svg { width: 14px; height: 14px; transition: transform .25s; }
.drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop { position: relative; }
.drop-menu {
  position: absolute; left: 50%; top: calc(100% + 10px); width: 340px; padding: 8px; border-radius: 14px; background: rgba(11, 17, 32, 0.97);
  border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); display: grid; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.drop.open .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease); }
.drop-game { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.drop-game:hover { background: rgba(255, 255, 255, 0.06); }
.drop-game img { width: 96px; height: 54px; object-fit: cover; border-radius: 6px; }
.drop-game b { display: block; color: var(--white); font-size: 15px; }
.drop-game small { color: var(--muted); font-size: 13px; }
.top-end { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.icon-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: #d3dae5; transition: border-color .2s, color .2s; }
.icon-link:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.icon-link svg { width: 17px; height: 17px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: none; cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .top-in { grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .top-nav {
    position: fixed; inset: calc(var(--top-h) + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: rgba(7, 11, 20, 0.98); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--top-h)); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .top.menu-open .top-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .top.menu-open { background: rgba(7, 11, 20, 0.98); }
  .top-nav > a, .drop-btn { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 14px; }
  .drop-menu { position: static; width: auto; transform: none; box-shadow: none; border: 0; background: none; padding: 6px 0 10px; display: none; opacity: 1; visibility: visible; }
  .drop.open .drop-menu { display: grid; transform: none; }
}

/* ---------- hero: art and logo ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: var(--ink); }
/* the studio's own night sky: slow nebula light behind the chrome logo, no game art */
.hero-art { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: radial-gradient(120% 90% at 50% 120%, #101a33 0%, var(--ink) 60%); }
.neb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .9; will-change: transform; }
.neb-a { width: 70vmax; height: 50vmax; left: -12vmax; top: -6vmax; background: radial-gradient(closest-side, rgba(76, 98, 190, 0.42), transparent); animation: nebA 46s ease-in-out infinite alternate; }
.neb-b { width: 60vmax; height: 46vmax; right: -14vmax; top: 18vmax; background: radial-gradient(closest-side, rgba(128, 76, 176, 0.34), transparent); animation: nebB 52s ease-in-out infinite alternate; }
.neb-c { width: 54vmax; height: 30vmax; left: 22vmax; bottom: -16vmax; background: radial-gradient(closest-side, rgba(169, 190, 230, 0.16), transparent); animation: nebA 60s ease-in-out infinite alternate-reverse; }
@keyframes nebA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vmax, 3vmax, 0) scale(1.12); } }
@keyframes nebB { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-7vmax, -4vmax, 0) scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 0%, transparent 72%, var(--ink) 100%); }
.sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-in { display: grid; justify-items: center; gap: clamp(18px, 2.6vw, 30px); padding: 96px var(--gutter) 120px; text-align: center; }
.hero-logo img { width: min(820px, 86vw); height: auto; filter: drop-shadow(0 6px 40px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 24px rgba(180, 200, 255, 0.25)); }
.hero-line { font-size: clamp(14px, 1.5vw, 20px); letter-spacing: 0.32em; text-transform: uppercase; color: #dfe5ee; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9); }
.cue {
  position: absolute; left: 50%; bottom: max(26px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #c3ccd8;
}
.cue svg { width: 20px; height: 20px; animation: bob 2.6s ease-in-out infinite; }
.cue:hover { color: var(--white); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
/* the splash's timing: the logo fades in, the line follows */
.js .hero-logo, .js .hero-line, .js .cue { opacity: 0; }
.js .ready .hero-logo { animation: rise 1.2s cubic-bezier(.3, .6, .3, 1) .15s both; }
.js .ready .hero-line { animation: rise .9s ease 1.05s both; }
.js .ready .cue { animation: fade 1s ease 1.6s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- section titles ---------- */
.sec-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin: -12px auto clamp(24px, 3vw, 36px); padding-inline: var(--gutter); text-align: center; color: var(--muted); font-size: 15px; }
.statuses { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.build-pill {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ffd68a;
  border: 1px solid rgba(255, 196, 92, 0.45); background: repeating-linear-gradient(135deg, rgba(255, 196, 92, 0.16) 0 6px, rgba(255, 196, 92, 0.04) 6px 12px);
}
.sec-title { text-align: center; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: var(--white); margin-bottom: clamp(24px, 3vw, 40px); letter-spacing: -0.01em; }

/* ---------- our games: one big slide per game ---------- */
.games { padding-block: clamp(72px, 9vw, 120px); background: radial-gradient(80% 60% at 50% 0%, rgba(120, 140, 220, 0.08), transparent 70%), var(--ink); }
.deck { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); min-height: clamp(520px, 44vw, 620px); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; isolation: isolate; }
.slide.is-on { position: relative; min-height: inherit; opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide-art { position: absolute; inset: 0 0 0 30%; z-index: -1; overflow: hidden; }
.slide-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s var(--ease); }
.slide.is-on .slide-art img { transform: scale(1); }
.slide-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 22%, transparent 55%); }
.slide-copy { display: grid; align-content: center; justify-items: center; text-align: center; gap: 18px; padding: clamp(36px, 4vw, 56px) clamp(24px, 3.4vw, 52px) 96px; }
.slide-slime { --bg: #120d07; background: radial-gradient(70% 90% at 0% 50%, #1c140a, #120d07 70%); }
.slide-otter { --bg: #070b14; background: radial-gradient(70% 90% at 0% 50%, #0d1528, #070b14 70%); }
.slide-slime .slide-art img { object-position: 50% 60%; }
.slide-otter .slide-art img { object-position: 28% 45%; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.status i { width: 8px; height: 8px; border-radius: 50%; }
.status-live { color: var(--slime); } .status-live i { background: var(--slime); box-shadow: 0 0 10px var(--slime); }
.status-soon { color: var(--lamp); } .status-soon i { background: var(--lamp); box-shadow: 0 0 10px var(--lamp-hot); }
.slide-text { color: #d6dce6; max-width: 46ch; }
.byline { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--slime); text-decoration: none; font-weight: 600; font-size: 15px; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s; }
.text-link:hover svg { transform: translateX(3px); }
.sf-logo { display: grid; justify-items: center; gap: 4px; width: min(340px, 80%); filter: drop-shadow(0 0 28px rgba(120, 220, 80, 0.2)); }
.sf-logo img { image-rendering: pixelated; height: auto; }
.sf-slime { width: 82%; } .sf-farmer { width: 100%; }
.os-lockup { display: flex; align-items: center; gap: 12px; color: #fff; }
.os-lockup svg { width: 92px; height: 64px; flex: none; }
.os-lockup span { font: 900 46px/0.95 var(--f-otter); letter-spacing: -0.055em; }
.os-lockup span b { font-weight: 400; }
.os-ring { fill: none; stroke: currentColor; stroke-width: 1.7; }
.os-planet { fill: none; stroke: currentColor; stroke-width: 2.2; }
.os-o { font: normal 70px Georgia, "Times New Roman", serif; fill: currentColor; }
.deck-ctrl { position: absolute; left: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 28px); z-index: 2; display: flex; align-items: center; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(7, 11, 20, 0.6); cursor: pointer; backdrop-filter: blur(6px); transition: border-color .2s, background-color .2s; }
.round:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.round svg { width: 20px; height: 20px; }
.dots { display: flex; gap: 8px; margin-left: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.dots button[aria-selected="true"] { width: 26px; background: var(--white); }
@media (max-width: 860px) {
  .deck { min-height: 0; border-radius: 16px; }
  .slide { grid-template-columns: 1fr; }
  .slide-art { position: relative; inset: auto; height: clamp(220px, 56vw, 380px); }
  .slide-art::after { background: linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
  .slide-copy { padding: 8px 20px 96px; margin-top: -48px; }
  .deck-ctrl { left: 50%; transform: translateX(-50%); }
  .os-lockup span { font-size: 38px; }
}

/* ---------- about ---------- */
.about { padding-block: clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--ink), var(--ink-2)); border-top: 1px solid var(--line); overflow: hidden; }
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy { display: grid; gap: 18px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; color: var(--white); font-weight: 700; letter-spacing: -0.01em; }
.about-copy p { color: #c9d1dd; font-size: clamp(17px, 1.4vw, 19px); max-width: 52ch; }
.about-copy b { color: var(--white); }
.collage { position: relative; aspect-ratio: 5 / 4; isolation: isolate; }
.collage img { position: absolute; width: 74%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -30px rgba(0, 0, 0, 0.9); transition: transform 1.2s var(--ease); }
.c-back { right: 0; top: 4%; transform: rotate(4deg); object-position: 28% 45%; }
.c-front { left: 0; bottom: 4%; transform: rotate(-3.5deg); object-position: 50% 60%; }
.collage:hover .c-back { transform: rotate(6deg) translate(8px, -6px); }
.collage:hover .c-front { transform: rotate(-5deg) translate(-8px, 6px); }
.c-glow { position: absolute; inset: 15% 15%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 140, 0.25), rgba(142, 224, 74, 0.12) 45%, transparent 70%); filter: blur(30px); }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } .collage { max-width: 520px; width: 100%; margin-inline: auto; } }

/* ---------- recent updates ---------- */
.news { padding-block: clamp(72px, 9vw, 120px); background: var(--ink-2); }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.news-head h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--white); font-weight: 700; letter-spacing: -0.01em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.card a { height: 100%; display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--ink-3); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.card a:hover { border-color: rgba(142, 224, 74, 0.45); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card a:hover .card-img img { transform: scale(1.04); }
.card-img .tag { position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 6px; background: rgba(7, 11, 20, 0.8); font: 700 12px/1 ui-monospace, Consolas, monospace; color: var(--slime); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; }
.card time { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 19px; line-height: 1.25; color: var(--white); }
.card p { font-size: 15px; color: #c3cbd6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .more { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: rgba(142, 224, 74, 0.14); color: var(--slime-hi); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card a { grid-template-columns: 38% 1fr; grid-template-rows: none; } .card-img { aspect-ratio: auto; } }
@media (max-width: 560px) { .card a { grid-template-columns: 1fr; } .card-img { aspect-ratio: 16 / 8; } .news-head { flex-wrap: wrap; } }

/* ---------- stay connected ---------- */
.connect { padding-block: clamp(80px, 10vw, 130px); text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(255, 200, 140, 0.08), transparent 70%), radial-gradient(40% 60% at 20% 100%, rgba(142, 224, 74, 0.06), transparent 70%), var(--ink); }
.connect-in { display: grid; justify-items: center; gap: 16px; }
.connect h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); }
.connect p { color: var(--muted); max-width: 56ch; }
.form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(520px, 100%); margin-top: 8px; }
.form input { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--white); font: 400 16px/1 var(--f-ui); }
.form input::placeholder { color: var(--dim); }
.form input:focus { outline: none; border-color: rgba(255, 255, 255, 0.7); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--slime-hi); }
.form-status.err { color: #ffb19c; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font: 700 15.5px/1 var(--f-ui); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, box-shadow .3s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #dfe6f0; }
.btn-slime { background: var(--slime); color: #0e1a0a; box-shadow: 0 10px 30px -12px rgba(142, 224, 74, 0.7); }
.btn-slime:hover { background: var(--slime-hi); box-shadow: 0 0 0 6px rgba(142, 224, 74, 0.15), 0 16px 40px -10px rgba(142, 224, 74, 0.8); }
.btn-lamp { background: var(--lamp); color: #1a1208; box-shadow: 0 10px 30px -12px rgba(255, 184, 103, 0.6); }
.btn-lamp:hover { background: var(--lamp-hot); box-shadow: 0 0 0 6px rgba(255, 184, 103, 0.14), 0 16px 40px -10px rgba(255, 184, 103, 0.75); }
.btn-ghost { background: rgba(7, 11, 20, 0.45); border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn-soon { cursor: default; color: #c3ccd8; }
.btn-soon:hover { transform: none; border-color: var(--line-strong); }
.btn-soon small { font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--white); }
@media (max-width: 480px) { .ctas { width: 100%; } .ctas .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- patch notes (the updates page) ---------- */
.notes-list { display: grid; gap: 12px; }
.pn { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); transition: border-color .25s, background-color .25s; }
.pn[open] { border-color: rgba(142, 224, 74, 0.28); background: rgba(142, 224, 74, 0.03); }
.pn summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 16px; padding: 18px 20px; }
.pn summary::-webkit-details-marker { display: none; }
.pn summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--slime); transition: transform .3s; align-self: center; }
.pn[open] summary::after { transform: rotate(45deg); }
.pn-ver { font: 700 13px/1 ui-monospace, Consolas, monospace; color: var(--slime); padding: 6px 8px; border-radius: 6px; background: rgba(142, 224, 74, 0.1); }
.pn-title { font-weight: 700; font-size: 18px; color: var(--white); }
.pn time { font-size: 13.5px; color: var(--dim); white-space: nowrap; }
.pn-body { padding: 4px 20px 22px; display: grid; gap: 20px; }
.pn-sec h4 { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pn-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pn-sec li { position: relative; padding-left: 20px; color: #ccd4df; font-size: 15.5px; line-height: 1.55; }
.pn-sec li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 6px; height: 6px; border-radius: 2px; background: var(--slime); opacity: .75; }
@media (max-width: 560px) {
  .pn summary { grid-template-columns: auto minmax(0, 1fr) auto; padding: 16px; }
  .pn time { grid-column: 2 / 3; grid-row: 2; }
  .pn summary::after { grid-column: 3; grid-row: 1 / 3; }
  .pn-body { padding: 0 16px 18px; }
}
.page-head { padding: calc(var(--top-h) + clamp(48px, 7vw, 88px)) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 0% 0%, rgba(142, 224, 74, 0.08), transparent 70%), var(--ink); }
.page-head .wrap { display: grid; gap: 14px; justify-items: start; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: var(--white); }
.page-head p { color: var(--muted); max-width: 60ch; }
.page-head .ctas { justify-content: flex-start; margin-top: 8px; }
.notes-mark { width: 120px; image-rendering: pixelated; }
.page-body { padding-block: 40px 120px; }
.page-body .notes-list { max-width: 900px; }
.back { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.back:hover { color: var(--white); }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 96px var(--gutter); }
.lost-in { display: grid; gap: 18px; justify-items: center; }
.lost h1 { font-size: clamp(30px, 4vw, 44px); color: var(--white); }
.lost p { color: var(--muted); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #04070d; padding-block: 56px max(40px, env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-logo img { width: 200px; height: auto; }
.foot-brand p { color: var(--dim); font-size: 13.5px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: var(--white); }
@media (max-width: 680px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .neb { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
