/* Tutifruti Studio — one stylesheet for every page.
   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;
}

:root {
  /* the fruit — the same in both themes */
  --strawberry: #ff4f6d;
  --mango: #ffb238;
  --lime: #8fd94b;
  --blueberry: #5a6bff;
  --grape: #a25bf0;

  /* light */
  --bg: #fff7ec;
  --bg-2: #fdeedd;
  --surface: #ffffff;
  --surface-2: #fff3e4;
  --text: #1d1424;
  --muted: #6b5d78;
  --line: rgba(29, 20, 36, 0.12);
  --shadow: 0 1px 0 rgba(29, 20, 36, 0.04), 0 18px 40px -18px rgba(60, 30, 70, 0.28);
  --blob-opacity: 0.55;
  --grain-opacity: 0.05;

  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0b16;
    --bg-2: #160f20;
    --surface: #1a1325;
    --surface-2: #221a30;
    --text: #f6f0e8;
    --muted: #b6a9c4;
    --line: rgba(246, 240, 232, 0.12);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 50px -20px rgba(0, 0, 0, 0.7);
    --blob-opacity: 0.38;
    --grain-opacity: 0.07;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0b16;
  --bg-2: #160f20;
  --surface: #1a1325;
  --surface-2: #221a30;
  --text: #f6f0e8;
  --muted: #b6a9c4;
  --line: rgba(246, 240, 232, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  --blob-opacity: 0.38;
  --grain-opacity: 0.07;
  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.6;
  font-variation-settings: "opsz" 14;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--mango); color: #1d1424; }
:focus-visible { outline: 3px solid var(--blueberry); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.02; margin: 0; font-weight: 800; letter-spacing: -0.03em; font-variation-settings: "opsz" 96; }
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: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* the film 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");
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, 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: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 0.82em; margin-left: 2px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  flex: none;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.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: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .header-row .theme-toggle { margin-left: auto; }
}

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1.4), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--text); color: var(--bg); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(255,255,255,.9);
  color: #1d1424;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.out { color: #1f7a2e; }
.badge.out::before { background: #2fbf4a; box-shadow: 0 0 0 4px rgba(47,191,74,.2); animation: pulse 2s infinite; }
.badge.soon { color: #8a4b00; }
.badge.soon::before { background: var(--mango); }
.badge.test { color: #3540b8; }
.badge.test::before { background: var(--blueberry); }
.badge.secret { background: rgba(20,8,24,.8); color: #e9d6ff; border: 1px solid rgba(199,140,255,.35); }
.badge.secret::before { background: #e0203a; box-shadow: 0 0 10px #e0203a; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 90px); isolation: isolate; }
.blobs { position: absolute; inset: -10% 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: var(--blob-opacity); animation: drift 22s ease-in-out infinite alternate; }
.blob.b1 { width: 420px; height: 420px; background: var(--strawberry); left: -80px; top: 40px; }
.blob.b2 { width: 380px; height: 380px; background: var(--mango); right: 8%; top: -40px; animation-delay: -6s; }
.blob.b3 { width: 340px; height: 340px; background: var(--lime); right: -60px; top: 300px; animation-delay: -12s; }
.blob.b4 { width: 300px; height: 300px; background: var(--blueberry); left: 30%; top: 360px; animation-delay: -3s; }
.blob.b5 { width: 260px; height: 260px; background: var(--grape); left: 50%; top: 20px; animation-delay: -9s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(.95); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--strawberry), var(--mango), var(--lime)); }
.hero h1 { font-size: clamp(48px, 9.5vw, 132px); margin: 18px 0 26px; max-width: 12ch; }
.juicy {
  background: linear-gradient(100deg, var(--strawberry) 0%, var(--mango) 30%, var(--lime) 55%, var(--blueberry) 80%, var(--grape) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: juice 9s ease-in-out infinite alternate;
}
@keyframes juice { to { background-position: 100% 0; } }
.hero .lede { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.hero .lede strong { color: var(--text); font-weight: 700; }

/* the floating stickers next to the headline */
.stickers { position: absolute; right: var(--gutter); top: clamp(80px, 12vw, 140px); width: min(38vw, 420px); aspect-ratio: 1; pointer-events: none; }
.sticker {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  color: #1d1424;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.35);
  animation: bob 6s ease-in-out infinite;
  white-space: nowrap;
}
.sticker:nth-child(1) { background: var(--mango); left: 8%; top: 4%; transform: rotate(-8deg); }
.sticker:nth-child(2) { background: var(--lime); right: 0; top: 26%; transform: rotate(6deg); animation-delay: -1.5s; }
.sticker:nth-child(3) { background: var(--strawberry); color: #fff; left: 0; top: 52%; transform: rotate(4deg); animation-delay: -3s; }
.sticker:nth-child(4) { background: var(--blueberry); color: #fff; right: 10%; top: 76%; transform: rotate(-5deg); animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (max-width: 980px) { .stickers { display: none; } }

/* ---------- ribbon ---------- */
.ribbon {
  border-block: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 10px -20px 0;
}
.ribbon-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.ribbon span { padding: 14px 22px; font-weight: 800; font-size: clamp(16px, 2vw, 22px); letter-spacing: 0.02em; white-space: nowrap; }
.ribbon span:nth-child(5n+1) i { color: var(--strawberry); }
.ribbon span:nth-child(5n+2) i { color: var(--mango); }
.ribbon span:nth-child(5n+3) i { color: var(--lime); }
.ribbon span:nth-child(5n+4) i { color: var(--blueberry); }
.ribbon span:nth-child(5n+5) i { color: var(--grape); }
.ribbon i { font-style: normal; margin-left: 22px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(38px, 6vw, 72px); }
.section-head p { color: var(--muted); max-width: 44ch; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 600; }

/* ---------- game cards ---------- */
.games { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.game {
  --accent: var(--mango);
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s;
}
.game.wide { grid-column: span 12; flex-direction: row; }
.game:hover { transform: translateY(-6px); }
.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 0.8s cubic-bezier(.2,.8,.2,1); }
.game:hover .game-art img, .game:hover .game-art > svg { transform: scale(1.04); }
.game-art .badge { position: absolute; left: 16px; top: 16px; z-index: 2; }
.game-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.game.wide .game-body { flex: 1 1 42%; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.game-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.game h3 { font-size: clamp(28px, 3.4vw, 40px); }
.game h3 small { display: block; font-size: 0.48em; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-top: 6px; }
.game p { color: var(--muted); }
.game .btn-row { margin-top: auto; padding-top: 6px; }
.game .btn-primary { background: var(--accent); color: var(--accent-ink, #1d1424); box-shadow: 0 10px 24px -12px var(--accent); }
/* the whole card is clickable through its main button; the other buttons sit above */
.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 { --accent: #f27d2c; --accent-ink: #fff; --art-bg: #f6c99a; }
.game.planet { --accent: #ffc754; --art-bg: #0d0f2a; }
.game.box { --accent: #c98a4b; --accent-ink: #fff; --art-bg: #2a1f16; }
.game.secret { --accent: #9b4dff; --accent-ink: #fff; --art-bg: #07050a; }

/* the secret card stays dark in both themes */
.game.secret { background: #120a16; color: #ede6f2; border-color: rgba(155,77,255,.3); }
.game.secret p, .game.secret .tag { color: #b9a8c8; }
.game.secret .tag { background: rgba(255,255,255,.06); }
.game.secret h3 { color: #ede6f2; }
.redacted { background: #ede6f2; color: transparent; border-radius: 4px; 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: .7; }
.glitch::before { color: #e0203a; animation: glitch 3s infinite steps(1); }
.glitch::after { color: #9b4dff; animation: glitch 2.6s infinite reverse steps(1); }
@keyframes glitch {
  0%, 86%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  88% { transform: translate(-3px, 1px); clip-path: inset(20% 0 50% 0); }
  92% { transform: translate(3px, -1px); clip-path: inset(60% 0 10% 0); }
  96% { transform: translate(-2px, 0); clip-path: inset(40% 0 30% 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, 80px); align-items: center; }
.studio h2 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 22px; }
.studio p { color: var(--muted); font-size: 18px; margin-bottom: 16px; max-width: 52ch; }
.studio p strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stat b { display: block; font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; font-variation-settings: "opsz" 96; margin-bottom: 8px; }
.stat:nth-child(1) b { color: var(--strawberry); }
.stat:nth-child(2) b { color: var(--mango); }
.stat:nth-child(3) b { color: var(--lime); }
.stat:nth-child(4) b { color: var(--blueberry); }
.stat span { color: var(--muted); font-weight: 600; font-size: 15px; }
.stat:nth-child(even) { transform: translateY(26px); }
@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; }
  .stat:nth-child(even) { transform: none; }
}

/* ---------- follow ---------- */
.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social {
  --c: var(--strawberry);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1.3);
}
.social:hover { transform: translateY(-4px) rotate(-.6deg); }
.social::before { content: ""; position: absolute; inset: auto -30% -70% auto; width: 160px; height: 160px; border-radius: 50%; background: var(--c); opacity: .14; transition: opacity .3s, transform .5s; }
.social:hover::before { opacity: .28; transform: scale(1.4); }
.social .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; flex: none; }
.social .ico svg { width: 26px; height: 26px; }
.social b { display: block; font-size: 19px; }
.social span { color: var(--muted); font-size: 15px; word-break: break-all; }
.social.ig { --c: #e1306c; }
.social.tt { --c: #111; }
.social.yt { --c: #ff0000; }
:root[data-theme="dark"] .social.tt .ico { background: #fff; color: #111; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .social.tt .ico { background: #fff; color: #111; } }
@media (max-width: 860px) { .socials { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(36px, 7vw, 80px);
  background: var(--text);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.contact .blob { opacity: .5; }
.contact h2 { font-size: clamp(38px, 7vw, 88px); margin-bottom: 18px; max-width: 14ch; }
.contact p { opacity: .75; font-size: 19px; max-width: 46ch; margin-bottom: 30px; }
.contact .btn-primary { background: var(--bg); color: var(--text); }
.contact .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.mail { font-size: clamp(22px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; display: inline-block; margin-bottom: 26px; word-break: break-all; border-bottom: 3px solid var(--mango); }

/* ---------- footer ---------- */
.site-footer { padding: 50px 0 40px; color: var(--muted); font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- game pages ---------- */
.page-hero { position: relative; padding: clamp(40px, 7vw, 80px) 0 40px; isolation: isolate; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.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(46px, 7.5vw, 100px); margin: 16px 0 10px; }
.page-hero .sub { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--accent, var(--mango)); margin-bottom: 20px; letter-spacing: -0.01em; }
.page-hero .lede { font-size: 19px; color: var(--muted); margin-bottom: 28px; max-width: 48ch; }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--art-bg, #222); }
.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: 16px; }
.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent, var(--mango)); color: var(--accent-ink, #1d1424); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.feature h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.15; }
.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: 22px; scroll-snap-align: start; box-shadow: var(--shadow); border: 1px solid var(--line); }

.callout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.callout h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.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: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff; }

/* ---------- press kit ---------- */
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
.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(48px, 7vw, 80px); }
.press-game > h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.press-game > h3 small { font-size: 0.5em; font-weight: 600; color: var(--muted); margin-left: 6px; }
.press-game .press-grid { margin-bottom: 16px; }
.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; align-items: start; }
.kit a { display: block; text-decoration: none; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.2s; }
.kit a:hover { transform: translateY(-3px); }
.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.on-check { object-fit: contain; padding: 14px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 20px 20px; }
.kit span { display: block; padding: 10px 14px 12px; font-size: 15px; 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: 8px; } }

/* ---------- legal ---------- */
.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(40px, 6vw, 68px); margin: 10px 0 30px; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; color: var(--muted); }
.prose ul { padding-left: 20px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s 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; }
}
