/* Slim Lab marketing site. Tokens first; components below; breakpoints last. */
:root {
  --ink: #171c27;
  --ink-2: #2a3142;
  --muted: #5f6a7d;
  --soft: #8a93a3;
  --orange: #ff571e;
  --orange-2: #f04a12;
  --orange-tint: #fff1ea;
  --paper: #f7f8fb;
  --card: #ffffff;
  --line: #e6e9ef;
  --accent: var(--orange);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 6px 20px rgba(23, 28, 39, .06);
  --shadow: 0 22px 60px rgba(23, 28, 39, .10);
  --shadow-lg: 0 40px 90px rgba(23, 28, 39, .18);
  --gutter: 44px;
  --display: 'Outfit', 'Arial Black', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: #ffc6ad; color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--soft); font-size: 14px; }

.container { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.container-narrow { width: min(720px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.container-wide { width: min(1040px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

.ico { width: 20px; height: 20px; flex: none; }
.ico .f { fill: currentColor; stroke: none; }
.ico-lg { width: 30px; height: 30px; }

/* ---------- type helpers */
.eyebrow { font: 800 11.5px/1.2 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--orange); }
.eyebrow-muted { color: #7b8698; }
.eyebrow .sep { color: var(--orange); padding: 0 .55em; }
.dot { color: var(--orange); }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }
.privacy-copy { padding-block: 64px 96px; }
.privacy-copy section + section { margin-top: 40px; }
.privacy-copy h2 { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 14px; }
.privacy-copy p { color: var(--muted); line-height: 1.8; }
.hand { font: 600 26px/1 var(--hand); color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #eef1f5; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.tag-light { background: rgba(255, 255, 255, .8); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 var(--body); letter-spacing: .04em; border-radius: 999px; padding: 7px 11px; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(23, 28, 39, .10); white-space: nowrap; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-concept { color: #7a5af8; }
.chip-prototype { color: #d97706; }
.chip-in_development { color: #0f8a5f; }
.chip-soft_launch { color: #2563eb; }
.chip-released { color: var(--orange-2); }
.chip-soft { color: var(--ink-2); background: #f1f3f7; box-shadow: none; font-weight: 700; }
.chip-soft::before { display: none; }
.chip .ico { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; padding: 16px 26px; font: 800 15px/1 var(--body); white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(255, 87, 30, .26); }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 87, 30, .32); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #b9c0cc; }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-sm); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-sm { padding: 13px 20px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font: 800 14px/1 var(--body); color: var(--ink); transition: color .2s; }
.text-link .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--orange); }
.text-link:hover .ico { transform: translateX(3px); }
.round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d6dbe4; background: #fff; flex: none; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.round .ico { width: 18px; height: 18px; }

/* ---------- preview ribbon */
.preview-ribbon { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; font: 700 12.5px/1.3 var(--body); color: #6a3b00; text-align: center;
  background: repeating-linear-gradient(-45deg, #ffe7a8 0 14px, #ffdf8f 14px 28px); }
.preview-ribbon .ico { width: 15px; height: 15px; color: var(--orange); }

/* ---------- header */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-color: rgba(230, 233, 239, .9); box-shadow: 0 8px 30px rgba(23, 28, 39, .05); }
.header-in { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav > a:not(.btn) { position: relative; font: 700 14.5px/1 var(--body); color: var(--ink-2); padding: 8px 0; transition: color .2s; }
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.lang-menu { position: relative; flex: none; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 6px; min-width: 66px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 12px; list-style: none; cursor: pointer; font: 800 12.5px/1 var(--body); color: var(--ink-2); background: #fff; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.lang-menu summary .ico { width: 15px; height: 15px; }
.lang-caret { width: 7px; height: 7px; margin: -3px 2px 0 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.lang-menu[open] .lang-caret { margin-top: 3px; transform: rotate(225deg); }
.lang-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; display: grid; min-width: 185px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.lang-option { display: block; padding: 10px 12px; border-radius: 9px; font: 700 13px/1.3 var(--body); white-space: nowrap; }
.lang-option:hover, .lang-option:focus-visible, .lang-option.is-current { background: var(--orange-tint); color: var(--orange-2); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; margin-right: -8px; }
.menu-toggle .ico { width: 26px; height: 26px; }
.menu-toggle .ico-close { display: none; }

/* ---------- Slim Lab studio */
.studio-hero { overflow: hidden; background: radial-gradient(ellipse 55% 85% at 88% 22%, #ffe6d4, transparent 72%), #fffaf6; }
.studio-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(34px, 5vw, 80px); min-height: 680px; padding-block: clamp(80px, 9vw, 130px); }
.studio-hero-copy h1 { max-width: 12ch; margin: 18px 0 24px; font-size: clamp(52px, 6vw, 86px); letter-spacing: -.055em; }
.studio-hero-copy .lead { max-width: 520px; margin-bottom: 32px; }
.studio-hero-art { position: relative; margin: 0; min-height: 520px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.studio-hero-art::after { content: ''; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, #151923a8); pointer-events: none; }
.studio-hero-art img { width: 100%; height: 520px; object-fit: cover; }
.studio-hero-art figcaption { position: absolute; z-index: 1; bottom: 24px; left: 28px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.studio-story { background: #fff; border-block: 1px solid var(--line); }
.studio-story-grid { display: grid; grid-template-columns: .35fr 1fr; gap: 6vw; }
.studio-story h2 { max-width: 16ch; font-size: clamp(42px, 5vw, 72px); margin-bottom: 22px; }
.studio-story .lead { max-width: 760px; }
.studio-process { background: var(--paper); }
.studio-process .section-head .lead { margin-top: 16px; max-width: 660px; }
.studio-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.studio-step { min-height: 255px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.studio-step span { display: block; margin-bottom: 52px; color: var(--orange); font: 800 13px/1 var(--body); letter-spacing: .18em; }
.studio-step h3 { margin-bottom: 12px; font-size: clamp(25px, 2.5vw, 34px); }
.studio-step p { max-width: 30ch; color: var(--muted); }
.studio-parent { padding-block: clamp(70px, 8vw, 110px); color: #fff; background: #171c27; }
.studio-parent-inner { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.studio-parent .eyebrow { color: #ffa37b; }
.studio-parent h2 { margin: 15px 0 20px; font-size: clamp(38px, 4.4vw, 62px); }
.studio-parent p:not(.eyebrow) { max-width: 660px; color: #c5cad4; font-size: 18px; }
.studio-parent .btn-ghost { flex: none; color: #fff; box-shadow: inset 0 0 0 1.5px #ffffffa0; }
.studio-parent .btn-ghost:hover { color: var(--ink); }


/* ---------- hero: the lab */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(ellipse 55% 70% at 76% 48%, #ffe4d2 0%, transparent 62%),
  radial-gradient(ellipse 45% 55% at 100% 0%, #d9eaff 0%, transparent 70%),
  radial-gradient(ellipse 40% 50% at 0% 100%, #fff1d6 0%, transparent 70%),
  linear-gradient(180deg, #fffaf6 0%, #f4f8ff 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(23, 28, 39, .075) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%); }
.home .hero { margin-bottom: 0; }
.hero-in { position: relative; z-index: 1; min-height: 700px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 4; padding: 64px 0 88px; }
.hero h1 { font-weight: 900; font-size: clamp(44px, 5vw, 78px); line-height: .98; letter-spacing: -.045em; margin: 26px 0 24px; max-width: 640px; text-wrap: balance; }
.hero .lead { max-width: 500px; }
.hl { padding-bottom: .04em; background-repeat: no-repeat; background-position: 0 100%; background-size: 0% .3em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9C34 3 58 12 92 7S160 3 197 6' fill='none' stroke='%23ff571e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: underline 1.1s .35s var(--ease) forwards; }
@keyframes underline { to { background-size: 100% .3em; } }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.lab-scene { position: relative; height: 660px; --mx: 0; --my: 0; }
.lab-scene > * { translate: calc(var(--mx) * var(--depth, 0) * 1px) calc(var(--my) * var(--depth, 0) * 1px); transition: translate .7s var(--ease); }
.lab-islands { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.lab-islands > .island { pointer-events: auto; translate: calc(var(--mx) * var(--depth, 0) * 1px) calc(var(--my) * var(--depth, 0) * 1px); transition: translate .7s var(--ease); }
.lab-scene.is-paused *, .lab-scene.is-paused *::before, .lab-scene.is-paused *::after { animation-play-state: paused !important; }
.lab-sun { position: absolute; left: 50%; top: 54%; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; --depth: 3;
  background: radial-gradient(circle, rgba(255, 176, 128, .7) 0%, rgba(255, 210, 180, .45) 30%, rgba(255, 236, 222, 0) 66%); }
.lab-sun::before { content: ''; position: absolute; inset: -6%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 150, 96, .2) 0deg 3deg, transparent 3deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%); mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lab-orbits { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; --depth: 4; pointer-events: none; }
.lab-orbits ellipse { fill: none; stroke: rgba(23, 28, 39, .1); stroke-width: 1.4; stroke-dasharray: 2 9; stroke-linecap: round; }
.lab-orbits ellipse:first-child { transform: rotate(-9deg); transform-origin: 300px 330px; }
.cloud { position: absolute; display: block; width: 150px; height: 46px; border-radius: 46px; background: #fff; pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(80, 110, 160, .12)); animation: drift 26s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 42%; aspect-ratio: 1; left: 14%; top: -56%; }
.cloud::after { width: 32%; aspect-ratio: 1; left: 48%; top: -38%; }
.cloud-a { left: 44%; top: 25%; width: 120px; height: 36px; --depth: 6; }
.cloud-b { left: 82%; top: 16%; width: 104px; height: 32px; --depth: 11; animation-duration: 34s; }
.cloud-c { left: -4%; top: 86%; width: 170px; height: 50px; --depth: 18; animation-duration: 22s; }
@keyframes drift { from { transform: translateX(-20px); } to { transform: translateX(24px); } }
.spark { position: absolute; width: calc(20px * var(--s)); height: calc(20px * var(--s)); color: #ffb020; --depth: 12; pointer-events: none;
  animation: twinkle 3.4s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.spark .ico { width: 100%; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.55) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

.lab-core { position: absolute; left: 50%; bottom: 0; width: 330px; margin-left: -165px; z-index: 2; display: grid; justify-items: center; }
.lab-scene:is([data-game-count="3"], [data-game-count="4"], [data-game-count="5"]) .lab-core { width: 240px; margin-left: -120px; }
.lab-scene:is([data-game-count="3"], [data-game-count="4"], [data-game-count="5"]) .lab-flask { width: 160px; margin-bottom: -32px; }
.lab-scene:is([data-game-count="3"], [data-game-count="4"], [data-game-count="5"]) .lab-pedestal { width: 240px; }
.lab-flask { position: relative; z-index: 2; width: 218px; height: auto; margin-bottom: -44px; overflow: visible;
  filter: drop-shadow(0 22px 26px rgba(226, 60, 11, .22)); animation: hover-flask 6s ease-in-out infinite; }
.lab-pedestal { position: relative; z-index: 1; width: 330px; height: auto; filter: drop-shadow(0 24px 22px rgba(40, 40, 70, .16)); animation: bob 7.5s ease-in-out infinite; }
.wave-a { animation: wave 4.6s linear infinite; }
.wave-b { animation: wave 7.2s linear infinite reverse; }
@keyframes wave { to { transform: translateX(24px); } }
.lb { fill: #fff; opacity: 0; animation: rise var(--t) ease-in infinite; animation-delay: calc(var(--d) * -1); }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .85; } 100% { transform: translateY(-21px); opacity: 0; } }
.lab-eyes { transform: translate(calc(var(--mx) * 1.6px), calc(var(--my) * 1.1px)); transition: transform .5s var(--ease); }
.lab-blink { transform-box: fill-box; transform-origin: center; animation: blink 5.6s infinite; }
@keyframes blink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
@keyframes hover-flask { 0%, 100% { transform: translateY(0) rotate(-1.6deg); } 50% { transform: translateY(-12px) rotate(1.6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.lab-bubbles { position: absolute; left: 50%; top: 58px; width: 0; height: 0; z-index: 3; }
.lab-bubbles i { position: absolute; left: var(--x); top: 0; width: calc(16px * var(--s)); aspect-ratio: 1; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 34% 30%, #fff 0 16%, rgba(255, 160, 110, .55) 42%, rgba(255, 87, 30, .22) 72%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); animation: float-up 6.4s ease-in infinite; animation-delay: calc(var(--d) * -1); }
@keyframes float-up { 0% { transform: translate(0, 0) scale(.35); opacity: 0; } 14% { opacity: .95; } 100% { transform: translate(calc(var(--x) * 1.8), -330px) scale(1.25); opacity: 0; } }

.island { position: absolute; left: clamp(24px, var(--x), calc(100% - var(--w) * var(--scale, 1) - 24px)); top: var(--y); z-index: 3; width: calc(var(--w) * var(--scale, 1)); --tile-h: calc(var(--w) * var(--scale, 1) * .6875); }
.lab-scene[data-game-count="1"] .island { left: 50%; top: 8%; transform: translateX(-50%); }
.island:focus-visible { outline: none; }
.island:focus-visible .island-tile { outline: 3px solid var(--orange); outline-offset: 4px; }
.island-float { position: relative; display: block; animation: bob 6.6s ease-in-out infinite; animation-delay: var(--phase); }
.island-tile { position: relative; z-index: 2; display: block; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; border: 4px solid #fff;
  background: color-mix(in srgb, var(--accent) 30%, #fff); box-shadow: 0 18px 36px rgba(40, 50, 80, .2);
  transform: perspective(700px) rotateX(9deg) rotateZ(var(--tilt)); transform-origin: 50% 100%; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.island-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.island-tile::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 38%, rgba(0, 0, 0, .14)); }
.island-rock { position: relative; z-index: 1; display: block; width: 96%; height: calc(var(--w) * var(--scale, 1) * .38); margin: -14px auto 0;
  filter: drop-shadow(0 16px 14px rgba(40, 40, 70, .18)); }
.island-root { fill: none; stroke: #6b5440; stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.island-label { position: absolute; z-index: 3; left: 50%; top: calc(var(--tile-h) - 18px); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; width: max-content; max-width: calc(100% + 20px);
  padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 24px rgba(40, 50, 80, .16); text-align: center;
  transition: background .3s, color .3s, transform .4s var(--ease); }
.island-label b { font: 800 14px/1.1 var(--display); letter-spacing: -.01em; }
.island-label small { font: 700 10.5px/1.2 var(--body); color: var(--soft); transition: color .3s; }
.island-now { position: absolute; z-index: 4; top: -12px; left: -10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  background: var(--orange); color: #fff; font: 800 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 22px rgba(255, 87, 30, .35); transform: rotate(-6deg); }
.island-now .ico { width: 13px; height: 13px; }
.island:hover .island-tile, .island:focus-visible .island-tile { transform: perspective(700px) rotateX(0deg) rotateZ(0deg) translateY(-10px) scale(1.05); box-shadow: 0 34px 56px rgba(40, 50, 80, .28); }
.island:hover .island-tile img { transform: scale(1.07); }
.island:hover .island-label, .island:focus-visible .island-label { background: var(--accent); color: #fff; transform: translateX(-50%) translateY(-6px); }
.island:hover .island-label small { color: rgba(255, 255, 255, .8); }
.pebble { position: absolute; display: block; width: 14px; height: 12px; background: linear-gradient(#8d89a0, #4a4660);
  clip-path: polygon(20% 0, 85% 10%, 100% 60%, 55% 100%, 0 70%); animation: bob 4.6s ease-in-out infinite; }
.pebble-a { left: -7%; bottom: 22%; animation-delay: -1.2s; }
.pebble-b { right: -5%; bottom: 8%; width: 9px; height: 8px; animation-delay: -2.6s; }


/* ---------- brand */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 44px; flex: none; overflow: visible; transition: transform .45s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-9deg) translateY(-2px); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font: 900 28px/1 var(--display); letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.brand-word em { font-style: normal; color: var(--orange); }
.brand-sm .brand-mark { width: 32px; height: 37px; }
.brand-sm .brand-word { font-size: 24px; }

/* ---------- sections */
.section { padding: 96px 0; }
.section-tight { padding-top: 24px; }
.section-soft { background: #f1f4f8; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.035em; margin-top: 12px; max-width: 760px; text-wrap: balance; }
.page-head { padding: 80px 0 40px; background: radial-gradient(ellipse 40% 80% at 90% 0%, #ffe9de 0%, transparent 70%), radial-gradient(ellipse 40% 80% at 10% 0%, #e3f1ff 0%, transparent 70%); }
.page-head h1 { font-weight: 900; font-size: clamp(44px, 6vw, 80px); letter-spacing: -.045em; margin: 18px 0 18px; }
.page-head .lead { max-width: 620px; }

/* ---------- spotlight */
.spotlight { position: relative; z-index: 2; overflow: hidden; margin-top: -46px; padding: 110px 0 100px; border-radius: 52px 52px 0 0; box-shadow: 0 -22px 44px rgba(31, 48, 52, .09); background:
  radial-gradient(ellipse 45% 55% at 85% 40%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 70%),
  linear-gradient(180deg, #fbf8f3 0%, color-mix(in srgb, var(--accent) 7%, #fbf8f3) 100%); }
.spotlight::before { content: ''; position: absolute; top: 0; left: 50%; width: min(46vw, 480px); height: 4px; transform: translateX(-50%); border-radius: 0 0 99px 99px; background: linear-gradient(90deg, transparent, #d6b9a7 22%, var(--orange) 50%, #d6b9a7 78%, transparent); }
.spot-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.spotlight .eyebrow { color: var(--accent); }
.spotlight .eyebrow .sep { color: var(--accent); }
.spot-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 16px 0 14px; }
.spot-title h2 { font-weight: 900; font-size: clamp(36px, 4.2vw, 60px); letter-spacing: -.04em; }
.spot-tagline { font: 700 italic 22px/1.35 var(--display); color: var(--ink-2); letter-spacing: -.01em; }
.spot-summary { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 540px; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.55; }
.checks strong { color: var(--ink); }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.6; margin-top: -1px; }
.spot-media { position: relative; display: flex; justify-content: center; padding: 10px 0 40px 40px; }
.spot-art img { border-radius: 28px; box-shadow: var(--shadow-lg); }

/* ---------- stores */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; background: var(--ink); color: #fff; transition: transform .2s var(--ease), background .2s; }
.store:hover { transform: translateY(-2px); background: #000; }
.store .ico { width: 24px; height: 24px; }
.store-txt { display: grid; line-height: 1.1; font: 800 15px/1.15 var(--display); }
.store-txt small { font: 600 10.5px/1.2 var(--body); opacity: .75; letter-spacing: .02em; }
.store-soon { background: rgba(255, 255, 255, .7); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px rgba(23, 28, 39, .14); cursor: default; }
.stores-stack { flex-direction: column; margin: 22px 0 0; }
.stores-stack .store { justify-content: flex-start; }

/* ---------- before/after */
.compare { position: relative; margin: 0; width: min(460px, 100%); aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); --pos: 50%; background: #e9e2d6; touch-action: pan-y; }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-label { position: absolute; top: 18px; font: 800 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(23, 28, 39, .55); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; pointer-events: none; }
.compare-l { left: 18px; }
.compare-r { right: 18px; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px rgba(0, 0, 0, .25); pointer-events: none; }
.compare-handle > span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: 0; transform: translate(-50%, -50%); width: 52px; height: 52px; justify-content: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.compare-handle .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible ~ .compare-handle > span, .compare:focus-within .compare-handle > span { outline: 3px solid var(--orange); outline-offset: 3px; }
.compare figcaption { position: absolute; right: 16px; bottom: 16px; font: 700 12px/1 var(--body); color: var(--ink); background: rgba(255, 255, 255, .9); padding: 9px 14px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.compare-wrap { display: flex; justify-content: flex-start; margin-top: 48px; }

/* ---------- phone frames */
.phone { display: block; position: relative; width: 230px; padding: 7px; border-radius: 34px; background: #11141c; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2c3240; }
.phone::before { content: ''; position: absolute; top: 14px; left: 50%; width: 30%; height: 6px; margin-left: -15%; border-radius: 6px; background: #11141c; z-index: 2; opacity: .9; }
.phone-img { width: 100%; height: auto; border-radius: 27px; }
.phone-float { position: absolute; left: 0; bottom: 0; width: 190px; transform: rotate(-6deg); z-index: 2; }
.wide { display: block; padding: 7px; border-radius: 26px; background: #11141c; box-shadow: var(--shadow-lg); }
.wide-img { border-radius: 20px; width: 100%; }

/* ---------- game cards */
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card { background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.game-card-link { display: flex; flex-direction: column; height: 100%; }
.game-card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: color-mix(in srgb, var(--accent) 20%, #eee); }
.game-card-media .cover { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.game-card:hover .cover { transform: scale(1.05); }
.card-chips { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-chips .tag { box-shadow: 0 4px 14px rgba(23, 28, 39, .10); background: rgba(255, 255, 255, .92); }
.game-card-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.game-card-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 22px; flex: 1; }
.game-card-body h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.genre { font: 700 12.5px/1.4 var(--body); color: var(--soft); }
.game-card-tag { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.game-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.game-card:hover .round { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg); }
.platforms { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.platforms li { font: 700 12px/1 var(--body); color: var(--ink-2); padding: 8px 11px; border-radius: 999px; background: #f1f3f7; }

/* ---------- pillars */
.about { background: #fff; }
.about .section-head { align-items: center; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 8px 24px 8px 0; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar-icon { display: grid; place-items: center; flex: none; width: 66px; height: 66px; border-radius: 50%; background: var(--orange-tint); color: var(--ink); }
.pillar-icon .f { fill: var(--orange); }
.pillar h3 { font-weight: 800; font-size: 20px; margin: 6px 0 8px; }
.pillar p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ---------- posts */
.news { background: #f3f5f9; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-grid-single { grid-template-columns: minmax(0, 940px); }
.post-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card > a { display: grid; grid-template-columns: 40% 1fr; height: 100%; }
.post-card-media { position: relative; overflow: hidden; background: #e9edf3; min-height: 170px; }
.post-card-media .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .cover { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 18px; }
.post-card h3 { font-weight: 800; font-size: 18px; line-height: 1.15; }
.post-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.post-card .text-link { margin-top: auto; padding-top: 6px; font-size: 13px; }
.post-card:hover .text-link { color: var(--orange); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font: 700 12px/1.3 var(--body) !important; color: var(--soft) !important; }
.post-meta span { color: var(--orange); }
.post-card-wide { margin-bottom: 22px; }
.post-card-wide > a { grid-template-columns: 1.15fr 1fr; }
.post-card-wide .post-card-media { min-height: 360px; }
.post-card-wide .post-card-body { padding: 44px; justify-content: center; gap: 14px; }
.post-card-wide h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.post-card-wide p { font-size: 16px; }
.empty { color: var(--muted); padding: 40px 0; }

/* ---------- band + footer */
.band { padding: 80px 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 87, 30, .35), transparent 65%); }
.band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { font-weight: 900; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.04em; margin: 12px 0 10px; }
.band p { color: #b5bfd0; }
.band-note { margin-top: 8px; font-size: 14px; color: #8e9ab0 !important; }
.band-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; transition: background .2s, color .2s, transform .2s var(--ease); }
.socials-band a { background: rgba(255, 255, 255, .08); color: #fff; }
.socials-band a:hover { background: var(--orange); transform: translateY(-2px); }
.socials-footer a { width: 40px; height: 40px; background: #f1f3f7; color: var(--ink-2); }
.socials-footer a:hover { background: var(--orange); color: #fff; }
.footer { background: #fff; padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); align-items: start; gap: 40px; }
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 320px; }
.footer h2 { font: 800 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-bottom: 18px; }
.footer ul:not(.socials) { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul:not(.socials) a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.footer ul:not(.socials) a:hover { color: var(--orange); }
.footer-mail { display: flex; width: fit-content; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 14px; }
.footer-mail:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.footer-pages ul { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 26px !important; padding-top: 12px !important; }
.footer-pages a { white-space: nowrap; }
.footer-motto b { color: var(--orange); padding: 0 8px; }

/* ---------- game page */
.game-hero { position: relative; overflow: hidden; background: #fbf8f3; }
.game-hero-bg { position: absolute; inset: -60px; opacity: .38; }
.game-hero-bg .cover { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.3); }
.game-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 248, 243, .97) 30%, rgba(251, 248, 243, .55) 70%, rgba(251, 248, 243, .2)); }
.game-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 56px 0 72px; }
.game-hero-in.has-reel { grid-template-areas: 'copy reel' 'highlights highlights'; row-gap: 44px; padding-bottom: 58px; }
.has-reel .game-hero-copy { grid-area: copy; }
.game-hero-reel { grid-area: reel; justify-self: center; width: min(100%, 360px); display: grid; place-items: center; }
.game-hero-highlights { grid-area: highlights; padding-top: 34px; border-top: 1px solid rgba(44, 78, 64, .18); }
.game-hero-highlights .reel-highlights { max-width: none; color: var(--ink); }
.game-hero-highlights .reel-highlights .eyebrow { color: var(--accent); }
.game-hero-highlights .reel-highlights h2 { max-width: 940px; color: var(--ink); font-size: clamp(26px, 2.8vw, 38px); }
.game-hero-highlights .reel-highlights ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.game-hero-highlights .reel-feature { grid-template-columns: 44px 1fr; gap: 13px; padding: 20px; border: 1px solid rgba(44, 78, 64, .13); border-radius: 18px; background: rgba(255, 255, 255, .75); }
.game-hero-highlights .reel-feature-icon { width: 44px; height: 44px; }
.game-hero-highlights .reel-feature h3 { color: var(--ink); font-size: 17px; }
.game-hero-highlights .reel-feature p { color: var(--muted); font-size: 14px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--body); color: var(--muted); margin-bottom: 28px; transition: color .2s, gap .2s; }
.crumb .ico { width: 17px; height: 17px; }
.crumb:hover { color: var(--ink); gap: 12px; }
.game-hero .eyebrow { color: var(--accent); }
.game-title { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 16px 0 16px; }
.game-title h1 { font-weight: 900; font-size: clamp(42px, 5.4vw, 78px); letter-spacing: -.045em; text-wrap: balance; }
.game-hero .lead { font: 700 italic clamp(19px, 1.8vw, 24px)/1.4 var(--display); color: var(--ink-2); max-width: 560px; }
.game-hero .chips { margin: 26px 0 26px; }
.game-hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 26px 0 22px; }
.game-hero-facts > div { display: grid; align-content: center; gap: 6px; min-height: 76px; padding: 12px 14px; border: 1px solid rgba(44, 78, 64, .16); border-radius: 14px; background: rgba(255, 255, 255, .72); }
.game-hero-facts dt { color: #69756e; font: 700 11px/1.1 var(--body); text-transform: uppercase; letter-spacing: .08em; }
.game-hero-facts dd { margin: 0; color: var(--ink); font: 800 13px/1.3 var(--display); }
.game-hero-copy .facts-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -10px; }
.game-hero-copy .facts-actions .btn { background: rgba(255, 255, 255, .7); }
.game-hero-compare { justify-self: end; width: min(100%, 470px); }
.game-hero-compare .compare { width: 100%; }
.game-hero-art { margin: 0; position: relative; justify-self: end; width: min(100%, 470px); }
.game-hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.game-hero-art.is-wide { width: 100%; }
.game-hero-art.is-wide img { aspect-ratio: 16 / 10; }
.game-hero-art figcaption { position: absolute; right: 16px; bottom: 16px; font: 700 11.5px/1 var(--body); color: #fff; background: rgba(23, 28, 39, .55); backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 999px; }
.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.story-section { background: #315b47; }
.story-heading { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.story-heading .eyebrow { color: #d7e9d6; margin-bottom: 12px; }
.story-heading h2 { color: #fffaf0; font-size: clamp(31px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.story-album { position: relative; max-width: 800px; margin: 0 auto; border: 10px solid #77614b; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 58px rgba(69, 49, 27, .20), inset 0 0 0 1px #b79a78; }
.story-album::after { content: ''; position: absolute; top: 0; bottom: 68px; left: 0; width: 24px; pointer-events: none; background: linear-gradient(90deg, rgba(58, 43, 27, .2), rgba(255, 255, 255, .15), transparent); z-index: 2; }
.album-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.album-track::-webkit-scrollbar { display: none; }
.album-page { flex: 0 0 100%; min-width: 0; min-height: 670px; display: flex; flex-direction: column; padding: clamp(24px, 5vw, 54px); scroll-snap-align: start; color: #44372a; background: radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .68), transparent 52%), linear-gradient(135deg, #f8f1df, #eee3ca); }
.album-page-1 { box-shadow: inset 12px 0 20px -18px #4e3924; }
.album-page:not(:first-child) { box-shadow: inset 12px 0 20px -18px #4e3924; }
.album-page-top { color: #8a6747; font: 600 29px/1 'Caveat', cursive; margin-bottom: 18px; transform: rotate(-3deg); }
.album-photo { margin: 0 0 22px; padding: 8px 8px 14px; background: #fffaf0; box-shadow: 0 9px 18px rgba(74, 52, 31, .18); transform: rotate(-1deg); }
.album-page:nth-child(even) .album-photo { transform: rotate(1deg); }
.album-photo img { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.album-photo figcaption { margin-top: 12px; text-align: center; font: italic 16px/1.3 Georgia, serif; color: #6a5a45; }
.album-page > p { font: 19px/1.65 Georgia, serif; margin: 8px 0 0; }
.album-controls { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 68px; background: #77614b; color: #fff8e9; font: 700 13px/1 var(--body); letter-spacing: .13em; }
.album-controls button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 248, 233, .5); border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.album-controls button:hover:not(:disabled) { background: rgba(255, 248, 233, .16); }
.album-controls button:disabled { opacity: .35; cursor: default; }
.album-controls .ico { width: 20px; height: 20px; }
.game-main .eyebrow { color: var(--accent); margin-bottom: 18px; }
.facts { position: sticky; top: 110px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); border-top: 4px solid var(--accent); }
.facts h2 { font-size: 22px; margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { color: var(--soft); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts-note { margin-top: 16px; font-size: 13px; color: var(--muted); background: #f5f6f9; padding: 12px 14px; border-radius: 12px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: f; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: 0 1px 0 var(--line); }
.feature-num { display: block; font: 900 40px/1 var(--display); color: var(--accent); opacity: .9; letter-spacing: -.04em; margin-bottom: 18px; }
.feature-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.game-page .section-head h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; }
.gallery { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; }
.gallery li { display: grid; justify-items: center; gap: 14px; }
.gallery a { display: block; transition: transform .35s var(--ease); }
.gallery a:hover { transform: translateY(-8px) rotate(-1deg); }
.gallery .phone { width: 250px; }
.gallery .shot-wide { flex: 1 1 560px; max-width: 760px; }
.gallery .shot-wide a { width: 100%; }
.gallery p { font: 700 12px/1 var(--body); color: var(--soft); letter-spacing: .04em; }
.trailer { margin-top: 36px; }
.trailer-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.trailer-btn .cover { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .6s var(--ease), opacity .3s; }
.trailer-btn:hover .cover { transform: scale(1.04); opacity: .6; }
.trailer-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff; font: 800 16px var(--display); }
.trailer-play .ico { width: 76px; height: 76px; padding: 22px 20px 22px 24px; border-radius: 50%; background: var(--orange); box-shadow: 0 10px 30px rgba(255, 87, 30, .45); }
.trailer iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }

/* ---------- prose / posts */
.prose { color: var(--ink-2); font-size: 17.5px; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 23px; font-weight: 800; margin-top: 1.6em; color: var(--ink); }
.prose a { color: var(--orange-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font: 600 italic 21px/1.5 var(--display); color: var(--ink); }
.prose code { font-size: .9em; background: #f0f2f6; padding: 2px 6px; border-radius: 6px; }
.prose-lg { font-size: 19px; }
.prose-lg p:first-child::first-letter { float: left; font: 900 64px/.85 var(--display); color: var(--accent); padding: 6px 10px 0 0; }
.md-figure { margin: 2em 0; }
.md-figure img { border-radius: var(--radius); }
.post-head { padding: 64px 0 36px; }
.post-head h1 { font-weight: 900; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.04em; margin: 14px 0 18px; text-wrap: balance; }
.post-head h1, .post-head .lead { max-width: 880px; }
.post-cover { margin-top: 0; margin-bottom: 56px; }
.post-cover .cover { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.post-body { padding-bottom: 96px; }
.post-body.has-game { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 380px); justify-content: space-between; gap: clamp(28px, 5vw, 72px); align-items: start; }
.post-copy { min-width: 0; max-width: 880px; }
.post-copy > .chips { margin-top: 36px; }
.post-game { padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.post-game .eyebrow { margin-bottom: 16px; }
.post-game .game-card { max-width: 420px; }

/* ---------- press */
.press-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.press-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.press-card h2 { font-size: 22px; margin-bottom: 18px; }
.press-card h2:not(:first-child) { margin-top: 32px; }
.sheet { margin: 0; }
.sheet > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet dt { color: var(--soft); font-weight: 700; }
.sheet dd { margin: 0; }
.sheet a { color: var(--orange-2); font-weight: 700; }
.logo-tile { display: grid; place-items: center; padding: 40px 20px; margin-bottom: 18px; border-radius: 16px; background: repeating-conic-gradient(#f5f6f9 0 25%, #fff 0 50%) 0 0 / 22px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.swatches li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; font-size: 14px; }
.swatches span { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatches code { color: var(--soft); font-size: 12.5px; }
.press-games { display: grid; gap: 22px; }
.press-game { display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.press-game-art { background: color-mix(in srgb, var(--accent) 20%, #eee); }
.press-game-art .cover { width: 100%; height: 100%; object-fit: cover; }
.press-game-body { padding: 28px 32px; }
.press-game-body .game-title { margin: 0 0 6px; }
.press-game-body h3 { font-size: 28px; font-weight: 800; }
.press-game-body > p:not(.genre) { color: var(--muted); margin-top: 12px; max-width: 640px; }
.press-game-body h4 { font: 800 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 24px 0 12px; }
.downloads { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.downloads a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #f3f5f9; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.downloads a:hover { background: var(--accent); color: #fff; }
.downloads small { font-weight: 500; opacity: .7; }
.downloads .ico { width: 16px; height: 16px; }

/* ---------- link hub */
.links-body { background: radial-gradient(ellipse 60% 50% at 80% 0%, #ffe3d5 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 0% 100%, #dcefff 0%, transparent 70%), var(--paper); min-height: 100vh; }
.links-page { display: grid; place-items: start center; padding: 56px 16px 40px; }
.links-card { width: min(480px, 100%); display: grid; justify-items: center; text-align: center; gap: 14px; }
.links-title { margin: 0; font: inherit; }
.links-card .lead { font-size: 16px; margin-bottom: 14px; }
.links-list { display: grid; gap: 12px; width: 100%; }
.link-item { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; background: #fff; border-radius: 18px; text-align: left; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.link-item:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow); }
.link-item > span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.link-item strong { font: 800 16px/1.2 var(--display); }
.link-item small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.link-item > .ico:last-child { color: var(--soft); }
.link-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 13px; flex: none; }
.link-social > .ico:first-child, .link-store > .ico:first-child { width: 56px; height: 56px; padding: 15px; border-radius: 13px; background: var(--orange-tint); color: var(--orange-2); }
.links-foot { display: flex; gap: 16px; align-items: center; margin-top: 18px; font-size: 13px; color: var(--soft); font-weight: 700; }

/* ---------- 404 */
.nf { padding: 120px 0; text-align: center; background: radial-gradient(ellipse 50% 60% at 50% 0%, #ffe9de 0%, transparent 70%); }
.nf-in { display: grid; justify-items: center; gap: 18px; }
.nf-code { font: 900 clamp(110px, 18vw, 200px)/.9 var(--display); letter-spacing: -.06em; }
.nf-code span { color: var(--orange); }
.nf .lead { max-width: 460px; margin-bottom: 12px; }

/* ---------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgba(13, 16, 23, .92); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lightbox figcaption { color: #c8d0dd; font-size: 14px; text-align: center; }
.lb-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.lb-btn:hover { background: var(--orange); }
.lb-close { position: absolute; top: 18px; right: 18px; }


/* ---------- filters */
.filters { display: grid; gap: 12px; margin-bottom: 30px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font: 800 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-right: 6px; min-width: 64px; }
.filter { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 15px; background: #fff; color: var(--ink-2); font: 700 13.5px/1 var(--body); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.filter span { font-size: 11.5px; font-weight: 800; color: var(--soft); background: #f1f3f7; border-radius: 999px; padding: 3px 7px; }
.filter:hover { box-shadow: inset 0 0 0 1px #b9c0cc; }
.filter.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.filter.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
[data-filter-item][hidden] { display: none !important; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font: 700 12px/1 var(--body); color: var(--ink-2); padding: 8px 11px; border-radius: 999px; background: #f1f3f7; }

/* ---------- post kinds */
.kind { display: inline-flex; align-items: center; gap: 6px; font: 800 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 7px; background: #eef1f5; color: var(--ink-2); }
.kind b { font-weight: 900; letter-spacing: 0; }
.kind-lab { background: #efeafe; color: #5b3fd6; }
.kind-devlog { background: #e3f3ea; color: #146c43; }
.kind-patch { background: #e4efff; color: #1d5bd8; }
.kind-news { background: var(--orange-tint); color: var(--orange-2); }

/* ---------- trailer + dark media */
.trailer-band { position: relative; overflow: hidden; padding: 88px 0; color: #fff; background:
  radial-gradient(ellipse 50% 70% at 75% 50%, color-mix(in srgb, var(--accent) 45%, transparent) 0%, transparent 70%),
  linear-gradient(160deg, #141820 0%, #1c2230 100%); }
.trailer-in { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(28px, 6vw, 88px); }
.trailer-phone { flex: 0 0 auto; }
.reel-phone { width: min(100%, 320px); padding: 4px; overflow: hidden; border: 1px solid #b9c6bd; border-radius: 40px; background: #f4f1e8; box-shadow: 0 24px 50px rgba(44, 57, 46, .16), 0 5px 13px rgba(44, 57, 46, .09), inset 0 0 0 1px rgba(255, 255, 255, .86); }
.reel-phone::before { display: none; }
.reel-screen { position: relative; overflow: hidden; aspect-ratio: var(--reel-aspect, 9 / 19.5); border-radius: 34px 34px 13px 13px; background: #f4f1e8; touch-action: pan-y; }
.reel-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.reel-slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.reel-slide img, .reel-slide video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.reel-slide .reel-ambient { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; filter: blur(22px) saturate(.85); transform: scale(1.09); }
.reel-slide > img:not(.reel-ambient), .reel-slide > video { position: relative; z-index: 1; }
.reel-phone-controls { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 6px; min-height: 48px; padding: 4px 11px 3px; background: #f4f1e8; }
.reel-phone-controls > button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #cad5ca; border-radius: 50%; color: #315744; background: #fffdf8; box-shadow: 0 1px 3px rgba(42, 59, 47, .08); cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.reel-phone-controls > button:hover { background: #e4eee3; border-color: #8eaf96; }
.reel-phone-controls > button:active { transform: scale(.95); }
.reel-phone-controls > button .ico { display: block; width: 18px; height: 18px; stroke-width: 2; }
.reel-icon-paused, .reel-icon-muted { display: none; }
[data-reel-play][aria-pressed="false"] .reel-icon-playing, [data-reel-sound][aria-pressed="false"] .reel-icon-audible { display: none; }
[data-reel-play][aria-pressed="false"] .reel-icon-paused, [data-reel-sound][aria-pressed="false"] .reel-icon-muted { display: block; }
.reel-phone-controls > button:focus-visible, .reel-dots button:focus-visible { outline: 2px solid #315744; outline-offset: 2px; }
.reel-phone-controls > button[hidden] { display: none; }
.reel-dots { display: flex; justify-content: center; align-items: center; gap: 2px; min-width: 0; }
.reel-dots button { flex: 0 0 20px; display: grid; place-items: center; width: 20px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.reel-dots button::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a0afa3; transition: background .18s, transform .18s; }
.reel-dots button[aria-current="true"]::after { background: #315744; transform: scale(1.3); }
.reel-highlights { color: #f5f4ef; max-width: 570px; }
.reel-highlights .eyebrow { color: #a9cfad; margin-bottom: 15px; }
.reel-highlights h2 { font: 800 clamp(25px, 2.65vw, 38px)/1.12 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.reel-highlights ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.reel-feature { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.reel-feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #315b47; color: #d5ebd4; }
.reel-feature-icon .ico { width: 25px; height: 25px; stroke-width: 1.8; }
.reel-feature h3 { color: #fff; font: 800 19px/1.15 var(--display); margin-bottom: 6px; }
.reel-feature p { color: #bac8be; font-size: 14.5px; line-height: 1.55; }
.trailer-copy .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.trailer-copy h2 { font-weight: 900; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.035em; margin: 14px 0 16px; max-width: 620px; }
.trailer-copy .lead { color: #c3cbd8; max-width: 520px; }
.trailer-kind { margin-top: 18px; font: 700 12.5px/1 var(--body); color: #8e9ab0; }
.phone-xl { width: 300px; }
.phone-xl video { display: block; width: 100%; border-radius: 27px; background: #000; }
.trailer-band-wide .trailer-copy { margin-bottom: 32px; }
.trailer-wide video, .trailer-wide .trailer-btn { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.section-dark { background: #12151d; color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .gallery p { color: #8e9ab0; }
.section-dark .phone, .section-dark .wide { box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #2c3240; }
.shot-video .phone, .shot-video .wide { position: relative; }
.phone video.phone-img, .wide video.wide-img { display: block; background: #000; }
.play-badge { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 7px 8px; border-radius: 999px; background: rgba(255, 87, 30, .95); color: #fff; font: 800 11.5px/1 var(--body); letter-spacing: .04em; pointer-events: none; }
.play-badge .ico { width: 14px; height: 14px; }
.phone-live { display: block; }
.phone-live .play-badge { left: 50%; transform: translateX(-50%); bottom: 18px; }

/* ---------- updates timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.timeline li { position: relative; }
.timeline a { display: block; background: #fff; border-radius: 18px; padding: 20px 24px; box-shadow: 0 1px 0 var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.timeline a:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.timeline-dot { position: absolute; left: -34px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #f1f4f8; }
.timeline h3 { font-size: 21px; font-weight: 800; margin: 10px 0 6px; }
.timeline p:not(.post-meta) { color: var(--muted); font-size: 14.5px; }

/* ---------- community */
.community-head { margin-bottom: 20px; }
.community-head h2 { font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; margin-top: 10px; }
.community-card { display: grid; justify-items: start; gap: 16px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.community-card > p { color: var(--muted); max-width: 560px; }
.community-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--orange-tint); color: var(--orange-2); }
.comments-thread { width: 100%; }
.comments-thread:empty { display: none; }
.community-intro { max-width: 760px !important; }
.comments-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 430px); gap: clamp(24px, 5vw, 70px); width: 100%; align-items: start; }
.comments-list { min-width: 0; }
.comments-list > ul { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.comments-list li { padding: 18px 20px; border-radius: 15px; background: #f7f8fb; border: 1px solid var(--line); }
.comments-list li > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 16px; margin-bottom: 8px; }
.comments-list strong { color: var(--ink); font-size: 14px; }
.comments-list time { color: var(--soft); font-size: 12px; }
.comments-list li > p { color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.6; }
.comments-list:has(.comments-empty) { display: grid; place-items: center; min-height: 330px; padding: 24px; border: 1px dashed #cbd1db; border-radius: 18px; background: #fafbfc; }
.comments-list .comments-empty { color: var(--muted); border: 0; background: transparent; text-align: center; font-size: 17px; }
.comments-form { padding: 24px; border-radius: 18px; background: #f7f8fb; border: 1px solid var(--line); }
.comments-form textarea { min-height: 110px; }
.comments-privacy { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.comments-privacy a { color: var(--orange-2); text-decoration: underline; }
@media (max-width: 760px) { .comments-layout { grid-template-columns: 1fr; } .comments-form { padding: 18px; } }
@media (max-width: 900px) { .post-body.has-game { grid-template-columns: 1fr; } }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-grid.is-preview { grid-template-columns: minmax(0, 760px); justify-content: center; }
.contact-card, .contact-aside { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font: 700 13.5px/1.2 var(--body); color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 400 15.5px/1.5 var(--body); color: var(--ink); background: #f7f8fb; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.contact-form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.contact-form .check a { color: var(--orange-2); text-decoration: underline; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 700; font-size: 14px; }
.form-status.is-ok { color: #0f8a5f; }
.form-status.is-error { color: #c2410c; }
.contact-aside h2 { font-size: 20px; margin-bottom: 16px; }
.contact-alt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.contact-alt:hover { color: var(--orange-2); }
.facts-actions { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.facts-actions .btn { justify-content: flex-start; gap: 10px; }
.page-head-game-in { display: flex; align-items: center; gap: 28px; }
.page-head-thumb { width: 120px; height: 120px; border-radius: 26px; object-fit: cover; box-shadow: var(--shadow); flex: none; }
.page-head-game .crumb { margin-bottom: 8px; }
.page-head-game h1 { margin-top: 4px; }

/* ---------- lightbox stage */
.lb-stage img, .lb-stage video { max-height: calc(100vh - 110px); width: auto; max-width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); background: #000; }

/* ---------- motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- breakpoints */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .nav { gap: 20px; }
  .spot-in { gap: 48px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .menu-toggle { display: block; }
  .header-in { height: 72px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: #fff; box-shadow: 0 24px 40px rgba(23, 28, 39, .10); border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .lang-menu { align-self: flex-start; margin: 16px 0 4px; }
  .nav .btn { margin-top: 12px; }
  .menu-open .menu-toggle .ico-open { display: none; }
  .menu-open .menu-toggle .ico-close { display: block; }
  .spot-in, .game-hero-in, .game-body, .press-grid { grid-template-columns: 1fr; }
  .spotlight { padding: 80px 0; }
  .spot-media { padding: 10px 0 40px 30px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .game-hero::after { background: linear-gradient(180deg, rgba(251, 248, 243, .96) 40%, rgba(251, 248, 243, .7)); }
  .game-hero-art { justify-self: center; }
  .game-hero-compare { justify-self: center; }
  .facts { position: static; }
  .album-page { min-height: 570px; padding: 30px; }
  .album-page > p { font-size: 17px; }
  .post-card-wide > a { grid-template-columns: 1fr; }
  .post-card-wide .post-card-media { min-height: 260px; }
  .post-card-wide .post-card-body { padding: 28px; }
  .press-game { grid-template-columns: 1fr; }
  .press-game-art { aspect-ratio: 16 / 9; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .lead { font-size: 16.5px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .btn { padding: 15px 22px; }
  .actions .btn { flex: 1 1 auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .about .section-head { align-items: flex-start; }
  .game-grid, .post-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; row-gap: 22px; }
  .pillar, .pillar + .pillar { padding: 0; border: 0; }
  .post-card > a { grid-template-columns: 38% 1fr; }
  .post-card-media { min-height: 150px; }
  .spot-media { padding: 0 0 30px 22px; }
  .phone-float { width: 130px; left: -6px; }
  .compare { border-radius: 24px; }
  .gallery { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter)); gap: 18px; }
  .gallery li { scroll-snap-align: center; }
  .gallery .phone { width: 210px; }
  .gallery .shot-wide { flex: 0 0 86%; }
  .facts { padding: 22px; }
  .game-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-hero-facts > div:last-child { grid-column: 1 / -1; }
  .story-heading { margin-bottom: 26px; }
  .story-album { max-width: 470px; border-width: 7px; }
  .album-page { min-height: 560px; padding: 24px; }
  .album-page > p { font-size: 15px; }
  .album-photo figcaption { font-size: 14px; }
  .reel-phone { width: min(82vw, 320px); }
  .sheet > div { grid-template-columns: 1fr; gap: 4px; }
  .press-card { padding: 24px; }
  .press-game-body { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .band { padding: 64px 0; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 24px; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-stage img, .lb-stage video { max-height: calc(100vh - 190px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% .3em; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .trailer-phone { justify-self: center; }
  .trailer-band { padding: 64px 0; }
}
@media (max-width: 620px) {
  .filter-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filter-label { display: none; }
  .filter { flex: none; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card, .contact-aside { padding: 22px; }
  .phone-xl { width: 250px; }
  .page-head-game-in { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-head-thumb { width: 88px; height: 88px; border-radius: 20px; }
  .timeline { padding-left: 20px; }
  .timeline-dot { left: -28px; }
}

@media (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lab-scene { height: 600px; }
  .island { --scale: .84; }
}
@media (max-width: 900px) {
  .hero-in { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-copy { padding: 52px 0 0; }
  .home .hero { margin-bottom: 0; }
  .spotlight { margin-top: -26px; border-radius: 34px 34px 0 0; padding-top: 80px; }
  .game-hero-in.has-reel { grid-template-areas: 'copy' 'reel' 'highlights'; grid-template-columns: 1fr; gap: 34px; }
  .game-hero-highlights .reel-highlights ul { grid-template-columns: 1fr; }
  .lab-scene { height: 560px; margin: 0 calc(-1 * var(--gutter)); }
  .island { --scale: .78; }
  .lab-scene:not([data-game-count="1"]) .lab-islands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; align-content: start; padding: 28px 24px 0; }
  .lab-scene:not([data-game-count="1"]) .island { position: relative; left: auto; top: auto; width: min(200px, 100%); --scale: 1; --tile-h: 138px; justify-self: center; }
  .lab-scene:not([data-game-count="1"]) .island-rock { height: 76px; }
  .lab-scene:not([data-game-count="1"]) .island:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lab-scene[data-game-count="3"], .lab-scene[data-game-count="4"] { height: 820px; }
  .lab-scene[data-game-count="5"] { height: 1050px; }
  .hero::before { -webkit-mask-image: none; mask-image: none; opacity: .6; }
}
@media (max-width: 620px) {
  .brand-mark { width: 32px; height: 37px; }
  .brand-word { font-size: 24px; }
  .lab-scene { height: 470px; }
  .island { --scale: .6; }
  .lab-scene:not([data-game-count="1"]) .lab-islands { grid-auto-rows: 175px; gap: 12px; padding: 20px 16px 0; }
  .lab-scene:not([data-game-count="1"]) .island { width: min(140px, 100%); --tile-h: 96px; }
  .lab-scene:not([data-game-count="1"]) .island-rock { height: 53px; }
  .lab-scene[data-game-count="3"], .lab-scene[data-game-count="4"] { height: 700px; }
  .lab-scene[data-game-count="5"] { height: 870px; }
  .island-label { padding: 6px 10px; }
  .island-label b { font-size: 12px; }
  .island-label small { display: none; }
  .island-now { font-size: 9px; padding: 5px 8px; }
  .lab-core { width: 240px; margin-left: -120px; }
  .lab-flask { width: 156px; margin-bottom: -32px; }
  .lab-pedestal { width: 240px; }
  .lab-bubbles { top: 40px; }
  .lab-sun { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
}

@media (max-width: 900px) {
  .studio-hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 72px; }
  .studio-hero-copy h1 { max-width: 16ch; }
  .studio-hero-art, .studio-hero-art img { min-height: 0; height: clamp(360px, 52vw, 540px); }
  .studio-steps { gap: 10px; }
  .studio-step { padding: 24px; }
}
@media (max-width: 620px) {
  .studio-hero-grid { padding-block: 50px 64px; gap: 34px; }
  .studio-hero-copy h1 { font-size: clamp(46px, 12vw, 62px); }
  .studio-hero-art, .studio-hero-art img { height: 360px; }
  .studio-story-grid, .studio-steps { grid-template-columns: 1fr; }
  .studio-story-grid { gap: 24px; }
  .studio-step { min-height: auto; }
  .studio-step span { margin-bottom: 28px; }
  .studio-parent-inner { display: block; }
  .studio-parent .btn { margin-top: 30px; }
}

/* A fixed physical frame keeps previews from stretching with their media. */
.phone:not(.reel-phone) { aspect-ratio: 9 / 19.5; padding: 12px 7px 10px; }
.phone:not(.reel-phone)::before { top: 5px; height: 3px; width: 20%; margin-left: -10%; }
.phone:not(.reel-phone) > .phone-img { height: 100%; object-fit: contain; background: #2c4e40; }

.contact-grid, .contact-grid.is-preview { grid-template-columns: minmax(0, 760px); justify-content: center; }
.contact-captcha { margin: 1.5rem 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-captcha img { width: 190px; height: 68px; object-fit: contain; border: 1px solid #c8ccd2; border-radius: 10px; background: #f4f1ea; }
.contact-captcha input { width: 92px; }
.contact-captcha button { border: 0; background: transparent; color: var(--accent); text-decoration: underline; cursor: pointer; }
.feature-num { display: none; }

.captcha-image { display: block; width: 190px; height: 68px; object-fit: contain; margin: .5rem 0; background: #f6f2e9; border: 1px solid #c8ccd2; border-radius: 10px; }

.privacy-copy { max-width: 1160px; margin-inline: auto; }
.privacy-copy > p { max-width: 780px; }
.privacy-copy .privacy-section { max-width: 930px; margin-top: 36px; }
.legal-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 64px; }
.legal-index a { display: inline-flex; padding: 11px 17px; border: 1px solid #d8dce0; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.legal-index a:hover { border-color: var(--orange); color: var(--orange); }
.legal-chapter { scroll-margin-top: 100px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-chapter + .legal-chapter { margin-top: 68px !important; }
.legal-chapter > p { max-width: 740px; }
.legal-hub .privacy-section { margin-top: 30px; }
.legal-hub .privacy-section h3 { font-size: clamp(18px, 2vw, 23px); margin-bottom: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } .footer-pages ul { justify-content: flex-start; } }
