/* Tutifruti Studio — one stylesheet for every page.
   The look (Oct 2026): the Aurum crest — deep night or ivory, brushed gold for
   accents only, Cinzel capitals for headings, Bricolage for reading, hairlines
   instead of boxes. Colours are tokens on :root; dark mode follows the system
   unless the visitor picks a theme with the toggle (data-theme on <html>). */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* light: ivory paper, ink, a deeper gold that reads on ivory */
  --bg: #f4efe6;
  --surface: #fbf8f2;
  --surface-2: #ece5d8;
  --text: #17131c;
  --muted: #645b6b;
  --line: rgba(23, 19, 28, 0.12);
  --line-gold: rgba(142, 100, 36, 0.4);
  --gold: #8e6424;
  --gold-grad: linear-gradient(120deg, #b88a3e 0%, #8e6424 40%, #c49a4f 70%, #7d5719 100%);
  --btn-bg: var(--text);
  --btn-ink: var(--bg);
  --glow: rgba(196, 154, 79, 0.16);
  --shadow: 0 1px 0 rgba(23, 19, 28, 0.03), 0 30px 60px -36px rgba(60, 40, 10, 0.45);
  --grain-opacity: 0.035;

  --radius: 4px;
  --radius-lg: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0b11;
    --surface: #15121a;
    --surface-2: #1d1923;
    --text: #f4efe6;
    --muted: #a39bab;
    --line: rgba(244, 239, 230, 0.09);
    --line-gold: rgba(216, 179, 102, 0.34);
    --gold: #d8b366;
    --gold-grad: linear-gradient(120deg, #f7e7b4 0%, #d8b366 28%, #a47731 55%, #ecd28d 80%, #b98d42 100%);
    --btn-bg: var(--gold-grad);
    --btn-ink: #17131c;
    --glow: rgba(216, 179, 102, 0.13);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 30px 60px -30px rgba(0, 0, 0, 0.85);
    --grain-opacity: 0.045;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0b11;
  --surface: #15121a;
  --surface-2: #1d1923;
  --text: #f4efe6;
  --muted: #a39bab;
  --line: rgba(244, 239, 230, 0.09);
  --line-gold: rgba(216, 179, 102, 0.34);
  --gold: #d8b366;
  --gold-grad: linear-gradient(120deg, #f7e7b4 0%, #d8b366 28%, #a47731 55%, #ecd28d 80%, #b98d42 100%);
  --btn-bg: var(--gold-grad);
  --btn-ink: #17131c;
  --glow: rgba(216, 179, 102, 0.13);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  --grain-opacity: 0.045;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-variation-settings: "opsz" 14;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #d8b366; color: #17131c; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: 0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }

/* paper grain over everything — subtle, no image file */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* gold lettering */
.gilded {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 12s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }

/* a small label: gold, spaced out, with a hairline */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: 0.7; }
.hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: 0.7; }

/* the divider between sections: two hairlines and a small diamond */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: min(32vw, 300px); background: linear-gradient(90deg, transparent, var(--line-gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand span { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.16em; }
.brand small { font-family: var(--font); font-weight: 600; font-size: 10px; letter-spacing: 0.46em; color: var(--muted); margin-top: 6px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 12px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex: none;
  transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--line-gold); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header-row .theme-toggle { margin-left: auto; }
}
@media (max-width: 380px) { .brand span { font-size: 16px; } .brand img { width: 36px; height: 36px; } }

/* ---------- buttons, badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.6s, border-color 0.25s, background-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--btn-bg); background-size: 200% 100%; color: var(--btn-ink); box-shadow: 0 14px 30px -16px rgba(164, 119, 49, 0.7); }
.btn-primary:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-gold); }
.btn-ghost:hover { border-color: var(--gold); background-color: var(--surface); }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(13, 11, 17, 0.78);
  color: #f4efe6;
  border: 1px solid rgba(216, 179, 102, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d8b366; }
.badge.out::before { background: #5fd17a; box-shadow: 0 0 0 3px rgba(95, 209, 122, 0.22); animation: pulse 2.4s infinite; }
.badge.soon::before { background: #d8b366; }
.badge.test::before { background: #8f9bff; }
.badge.secret { border-color: rgba(199, 140, 255, 0.35); color: #e9d6ff; }
.badge.secret::before { background: #e0203a; box-shadow: 0 0 10px #e0203a; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 100px); text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -10%; width: min(1100px, 140vw); aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.hero-crest { width: clamp(120px, 15vw, 176px); height: auto; margin: 0 auto 34px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); animation: rise 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
.hero h1 { font-size: clamp(38px, 6.6vw, 88px); margin: 22px auto 24px; max-width: 16ch; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 52ch; margin: 0 auto 38px; }
.hero .lede strong { color: var(--text); font-weight: 600; }
.hero .btn-row { justify-content: center; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 56px); }
.section-head p { color: var(--muted); max-width: 46ch; }

/* the game filter: quiet tabs */
.filters { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.chip {
  appearance: none;
  font: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 0;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--gold); }
.chip .n { color: var(--gold); margin-left: 6px; }

/* ---------- game cards ---------- */
.games { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.game {
  grid-column: span 6;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(.2, .8, .2, 1), border-color 0.4s, box-shadow 0.4s;
}
.game.wide { grid-column: span 12; flex-direction: row; }
.game:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow); }
.game[hidden] { display: none; }
.game-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--art-bg, #222); }
.game.wide .game-art { flex: 1 1 58%; aspect-ratio: auto; min-height: 380px; }
.game-art img, .game-art svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.game:hover .game-art img { transform: scale(1.035); }
.game-art .badge { position: absolute; left: 16px; top: 16px; z-index: 2; }
.game-body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.game.wide .game-body { flex: 1 1 42%; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); }
.game h3 { font-size: clamp(26px, 3vw, 36px); }
.game h3 small { display: block; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.game p { color: var(--muted); }
.game .btn-row { margin-top: auto; padding-top: 8px; }
.game .stretch, .game .stretch:hover { position: static; transform: none; }
.game .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.game .btn-row a:not(.stretch) { position: relative; z-index: 2; }

.game.pet { --art-bg: #f6c99a; }
.game.planet { --art-bg: #0d0f2a; }
.game.box { --art-bg: #2a1f16; }
.game.secret { --art-bg: #07050a; }

/* the secret project keeps its own dark look in both themes */
.game.secret { background: #110b15; color: #ede6f2; border-color: rgba(155, 77, 255, 0.28); }
.game.secret:hover { border-color: rgba(155, 77, 255, 0.55); }
.game.secret p, .game.secret .tag { color: #b9a8c8; }
.game.secret .tag { border-color: rgba(255, 255, 255, 0.1); }
.game.secret h3 { color: #ede6f2; }
.game.secret h3 small { color: #c78cff; }
.game.secret .btn-primary { background: transparent; color: #ede6f2; border-color: rgba(199, 140, 255, 0.45); box-shadow: none; }
.game.secret .btn-primary:hover { border-color: #c78cff; }
.redacted { background: #ede6f2; color: transparent; border-radius: 2px; padding: 0 .2em; user-select: none; }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .6; }
.glitch::before { color: #e0203a; animation: glitch 3.4s infinite steps(1); }
.glitch::after { color: #9b4dff; animation: glitch 2.9s infinite reverse steps(1); }
@keyframes glitch {
  0%, 92%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  93% { transform: translate(-2px, 1px); clip-path: inset(10% 0 55% 0); }
  95% { transform: translate(2px, -1px); clip-path: inset(60% 0 8% 0); }
  97% { transform: translate(-1px, 0); clip-path: inset(35% 0 35% 0); }
}

@media (max-width: 900px) {
  .game, .game.wide { grid-column: span 12; flex-direction: column; }
  .game.wide .game-art { min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- studio ---------- */
.studio { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.studio h2 { font-size: clamp(30px, 4.6vw, 56px); margin: 20px 0 24px; }
.studio p { color: var(--muted); font-size: 18px; margin-bottom: 16px; max-width: 52ch; }
.studio p strong { color: var(--text); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 34px); background: var(--bg); }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  margin-bottom: 10px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }

/* ---------- follow ---------- */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s;
}
.social:hover { transform: translateY(-3px); border-color: var(--line-gold); }
.social .ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); flex: none; }
.social .ico svg { width: 22px; height: 22px; }
.social b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; }
.social span { color: var(--muted); font-size: 15px; word-break: break-all; }
@media (max-width: 860px) { .socials { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 100px) clamp(22px, 5vw, 60px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-gold);
  background: radial-gradient(ellipse at 50% 0%, var(--glow), transparent 70%), var(--surface);
  overflow: hidden;
}
.contact h2 { font-size: clamp(34px, 6vw, 72px); margin: 0 auto 18px; }
.contact p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 0 auto 26px; }
.mail { display: inline-block; font-weight: 600; font-size: clamp(19px, 3vw, 30px); letter-spacing: 0.01em; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line-gold); margin-bottom: 32px; word-break: break-all; }
.mail:hover { border-bottom-color: var(--gold); }
.contact .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { padding: 46px 0 42px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

/* ---------- game pages ---------- */
.page-hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 44px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: min(900px, 120vw); aspect-ratio: 1; background: radial-gradient(closest-side, var(--glow), transparent 70%); pointer-events: none; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 30px; }
.back:hover { color: var(--gold); }
.back svg { width: 16px; height: 16px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); margin: 20px 0 12px; }
.page-hero .sub { font-size: clamp(13px, 1.6vw, 15px); font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.page-hero .lede { font-size: 19px; color: var(--muted); margin-bottom: 30px; max-width: 48ch; }
.hero-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-gold); }
.hero-art img, .hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: clamp(24px, 3vw, 34px); background: var(--bg); transition: background 0.3s; }
.feature:hover { background: var(--surface); }
.feature .num { display: block; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--gold); padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line-gold); width: 44px; }
.feature h3 { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px; scrollbar-width: thin; }
.shots img { flex: none; width: min(260px, 70vw); aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-lg); scroll-snap-align: start; border: 1px solid var(--line); }

.callout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-gold);
}
.callout h3 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 8px; }
.callout p { color: var(--muted); }

.animals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.animal { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 2px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }

/* ---------- press kit ---------- */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: clamp(24px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.card h3 { font-size: 21px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.facts dt { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; color: var(--muted); }
.facts a, .boiler a, .kit-note a, .prose a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.boiler p, .boiler li { color: var(--muted); margin-bottom: 12px; }
.boiler ul { padding-left: 20px; margin: 0; }
.boiler .btn { margin-top: 6px; }
.press-game { margin-bottom: clamp(52px, 7vw, 84px); }
.press-game > h3 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 20px; }
.press-game > h3 small { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-left: 10px; }
.press-game .press-grid { margin-bottom: 16px; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-items: start; }
.kit a { display: block; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s, border-color 0.3s; }
.kit a:hover { transform: translateY(-3px); border-color: var(--line-gold); }
.kit img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); }
.kit img.tall { aspect-ratio: 9 / 16; }
.kit img.wide { aspect-ratio: 2 / 1; object-fit: contain; }
.kit img.on-check { object-fit: contain; padding: 16px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 20px 20px; }
.kit img.on-dark { object-fit: contain; padding: 16px; background: #0d0b11; }
.kit img.on-light { object-fit: contain; padding: 16px; background: #f4efe6; }
.kit span { display: block; padding: 12px 14px 14px; font-size: 14px; font-weight: 700; }
.kit small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.kit-note { color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* ---------- legal ---------- */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(34px, 5vw, 60px); margin: 10px 0 34px; }
.prose h2 { font-size: 24px; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; color: var(--muted); }
.prose ul { padding-left: 20px; }
@media (max-width: 520px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(.2, .8, .2, 1), transform 0.9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
