/* ==========================================================================
   Distraction HQ — main stylesheet
   Brand: #E73E1E orange-red · #FEF3F0 cream · #000 black · Space Grotesk
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --orange: #E73E1E;
  --orange-deep: #C42E12;   /* button fill: white text passes WCAG AA */
  --orange-soft: #FF8A6B;   /* accent text on black */
  --cream: #FEF3F0;
  --cream-2: #F8E3DC;
  --black: #000;
  --ink: #0E0E0E;
  --ink-2: #181818;
  --ink-3: #242424;
  --text: #F5ECE8;
  --muted: #B9AFAB;
  --muted-dark: #5C5450;
  --line: rgba(254, 243, 240, .12);
  --line-dark: rgba(0, 0, 0, .12);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.2vw, 4.25rem);
  --step-5: clamp(2.8rem, 1.7rem + 5vw, 6rem);

  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

  --radius: 14px;
  --radius-l: 24px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--orange-soft); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--cream); color: var(--black);
  padding: .75rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, 780px); margin-inline: auto; }
.section { padding-block: var(--space-xl); position: relative; }
.section--black { background: var(--black); }
.section--ink2 { background: var(--ink-2); }
.section--cream { background: var(--cream); color: var(--black); }
.section--cream a:hover { color: var(--orange-deep); }
.section--orange { background: var(--orange); color: #fff; }
.section--tight { padding-block: var(--space-l); }

.grid { display: grid; gap: var(--space-m); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split {
  display: grid; gap: var(--space-l); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: var(--step--1);
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-soft); margin-bottom: var(--space-s);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--cream .eyebrow { color: var(--orange-deep); }
.section--orange .eyebrow { color: #fff; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.section--cream .lead { color: var(--muted-dark); }
.section--orange .lead { color: #fff; }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }
.accent { color: var(--orange); }
.section-head { margin-bottom: var(--space-l); max-width: 760px; }
.section-head.text-center { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange-deep); color: #fff; box-shadow: 0 8px 24px -10px rgba(231, 62, 30, .7); }
.btn--primary:hover { background: #A92510; color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.section--cream .btn--ghost:hover { background: var(--black); color: var(--cream); border-color: var(--black); }
.btn--light { background: var(--cream); color: var(--black); }
.btn--light:hover { background: #fff; color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.text-center .btn-row { justify-content: center; }

.store-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  min-height: 56px; padding: .55rem 1.4rem .55rem 1.1rem;
  background: var(--black); color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px; text-decoration: none; line-height: 1.1;
  transition: transform .2s var(--ease), border-color .2s;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); border-color: #fff; }
.store-btn svg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
.store-btn small { display: block; font-size: .72rem; letter-spacing: .03em; }
.store-btn strong { display: block; font-family: var(--font-head); font-size: 1.3rem; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
/* blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and squash it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 14, 14, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
body.nav-open .site-header::before { background: var(--black); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text);
  position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--black);
  padding: var(--space-l) 1.25rem;
  display: flex; flex-direction: column; gap: var(--space-l);
  overflow-y: auto;
  opacity: 0; transform: translateY(-12px); visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a {
  display: block; padding: .6rem 0;
  font-family: var(--font-head); font-size: var(--step-3); font-weight: 600;
  text-decoration: none; color: var(--text);
}
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav .btn { align-self: flex-start; }
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; opacity: 1; transition: none;
    flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: none; overflow: visible;
  }
  .site-nav ul { flex-direction: row; gap: 1.5rem; }
  .site-nav a { font-size: .98rem; padding: .4rem 0; position: relative; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav ul a:hover { color: var(--text); }
  .site-nav .btn { padding: .65rem 1.2rem; min-height: 42px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 2rem + 6vw, 7rem) clamp(4rem, 3rem + 6vw, 8rem);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(231, 62, 30, .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(231, 62, 30, .12), transparent 60%),
    var(--black);
}
.hero__grid { display: grid; gap: var(--space-l); align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: var(--step-5); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-bottom: var(--space-l); }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hero__collage { width: min(100%, 520px); position: relative; z-index: 1; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: var(--space-l); color: var(--muted); font-size: var(--step--1); }
.hero__meta strong { color: var(--text); font-family: var(--font-head); font-size: var(--step-1); display: block; }

.page-hero {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) var(--space-l);
  background: radial-gradient(800px 420px at 90% 0%, rgba(231, 62, 30, .25), transparent 60%), var(--black);
}
.page-hero h1 { font-size: var(--step-5); max-width: 15ch; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- 8. Dice (signature motif) ----------
   The original Distraction die: dark faces, orange edges with a soft glow, orange pips,
   a slow spin on every axis, plus a gentle bob and zoom. */
.dice {
  --size: clamp(64px, 7.5vw, 120px);
  --half: calc(var(--size) / 2);
  position: absolute; z-index: 2;
  width: var(--size); height: var(--size);
  perspective: 1200px; perspective-origin: 80% 30%;
  pointer-events: none;
  animation: dice-zoom 8s ease-in-out infinite;
}
.dice__bob {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: dice-bob 6s ease-in-out infinite;
}
.dice__cube {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: dice-spin 50s linear infinite;
}
.dice__face {
  position: absolute; inset: 0;
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  padding: 12%;
  background: #1a1a1a;
  border: 2px solid var(--orange);
  box-shadow: 0 0 8px rgba(231, 62, 30, .6), inset 0 0 40px rgba(0, 0, 0, .35);
  backface-visibility: hidden;
}
.dice__face i { width: 62%; height: 62%; margin: auto; border-radius: 50%; background: var(--orange); }
.dice__face--1 { transform: translateZ(calc(var(--half) - .5px)); }
.dice__face--2 { transform: rotateY(180deg) translateZ(calc(var(--half) - .5px)); }
.dice__face--3 { transform: rotateY(90deg) translateZ(calc(var(--half) - .5px)); }
.dice__face--4 { transform: rotateY(-90deg) translateZ(calc(var(--half) - .5px)); }
.dice__face--5 { transform: rotateX(90deg) translateZ(calc(var(--half) - .5px)); }
.dice__face--6 { transform: rotateX(-90deg) translateZ(calc(var(--half) - .5px)); }
/* pip positions: c=center, tl/tr/ml/mr/bl/br */
.p-c { grid-area: 2 / 2; } .p-tl { grid-area: 1 / 1; } .p-tr { grid-area: 1 / 3; }
.p-ml { grid-area: 2 / 1; } .p-mr { grid-area: 2 / 3; } .p-bl { grid-area: 3 / 1; } .p-br { grid-area: 3 / 3; }

/* a large faint die behind the hero (Home and The App) */
.dice--ghost { --size: clamp(200px, 30vw, 520px); z-index: 0; top: 4%; right: 2%; opacity: .1; }

@keyframes dice-spin {
  0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  50%  { transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}
@keyframes dice-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes dice-zoom {
  0%, 100% { scale: 1; }
  50%      { scale: 1.05; }
}
.hero__photo { border-radius: var(--radius-l); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }

/* small dice-face bullet icon */
.pip-icon { width: 34px; height: 34px; flex-shrink: 0; }
.pip-icon rect { fill: var(--orange); }
.pip-icon circle { fill: var(--cream); }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: var(--space-m);
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform .25s var(--ease), border-color .25s;
}
.card:hover { border-color: rgba(231, 62, 30, .55); }
.card h3 { font-size: var(--step-2); margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .card__link { margin-top: auto; padding-top: .5rem; font-family: var(--font-head); font-weight: 700; color: var(--orange-soft); text-decoration: none; }
.card .card__link::after { content: " →"; }
.section--cream .card { background: #fff; border-color: var(--line-dark); }
.section--cream .card p { color: var(--muted-dark); }
.section--cream .card .card__link { color: var(--orange-deep); }

.pillar { padding: 0; overflow: hidden; }
.pillar__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pillar__body { padding: var(--space-m); display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.pillar__num { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: var(--step--1); letter-spacing: .14em; }

.feature { flex-direction: row; align-items: flex-start; gap: 1rem; }
.feature > div { display: flex; flex-direction: column; gap: .35rem; }
.feature h3 { font-size: var(--step-1); }

.list-check { list-style: none; padding: 0; display: grid; gap: .9rem; }
.list-check li { display: flex; gap: .9rem; align-items: flex-start; }
.list-check strong { font-family: var(--font-head); display: block; }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { position: relative; padding-top: 3.6rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.8rem; height: 2.8rem; display: grid; place-items: center;
  border-radius: 12px; background: var(--orange-deep); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.split .steps { grid-template-columns: 1fr; }
.steps p { color: var(--muted); margin: 0; }
.section--cream .steps p { color: var(--muted-dark); }

/* ---------- 11. Game carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-l); }
.carousel__track { display: flex; transition: transform .6s var(--ease); }
.carousel__slide {
  flex: 0 0 100%; position: relative;
  display: grid; min-height: clamp(460px, 60vw, 620px);
  background: var(--black);
}
.carousel__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 80%),
              linear-gradient(0deg, rgba(0,0,0,.7), transparent 50%);
}
.carousel__content {
  position: relative; z-index: 1; align-self: end;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); max-width: 620px;
}
.carousel__content h3 { font-size: var(--step-4); margin-bottom: .3em; }
.carousel__content p { color: #E9DFDB; }
.carousel__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; flex-wrap: wrap;
}
.carousel__dots { display: flex; gap: .5rem; flex-wrap: wrap; }
.carousel__dot {
  height: 44px; padding: 0 .9rem; border-radius: 999px; cursor: pointer;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font-head); font-size: .85rem; font-weight: 600;
}
.carousel__dot[aria-current="true"] { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }
.carousel__btns { display: flex; gap: .5rem; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 640px) {
  .carousel__slide::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 15%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.1)); }
  .carousel__dot { padding: 0 .7rem; font-size: .78rem; }
}

/* ---------- 12. Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.tag {
  display: inline-block; padding: .25rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .04em;
  background: rgba(254, 243, 240, .12); color: var(--text); border: 1px solid var(--line);
}
.tag--adult { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
a.tag { text-decoration: none; transition: background-color .2s, border-color .2s; }
a.tag:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.section--cream .tag { background: var(--cream-2); color: var(--black); border-color: transparent; }
.section--cream .tag--adult { background: var(--orange-deep); color: #fff; }

/* ---------- 13. Game grid (games page) ---------- */
.game {
  display: grid; gap: var(--space-l); align-items: center;
  padding-block: var(--space-l); border-top: 1px solid var(--line);
}
.game:first-child { border-top: 0; }
@media (min-width: 900px) {
  .game { grid-template-columns: 1fr 1.1fr; }
  .game:nth-child(even) .game__media { order: 2; }
}
.game__media { border-radius: var(--radius-l); overflow: hidden; background: var(--ink-2); aspect-ratio: 4 / 3; }
.game__media img { width: 100%; height: 100%; object-fit: cover; }
.game h2 { font-size: var(--step-3); }

/* ---------- 14. Gallery + lightbox ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  padding: 0; border: 0; cursor: zoom-in; background: var(--ink-2);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.05); }

.lightbox {
  width: min(100vw - 1rem, 1200px); max-height: calc(100vh - 1rem);
  padding: 0; border: 0; background: transparent; color: var(--text);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox img { max-height: calc(100vh - 8rem); width: auto; border-radius: var(--radius); }
.lightbox figcaption { color: var(--muted); font-size: var(--step--1); text-align: center; }
.lightbox__bar { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }

/* ---------- 15. FAQ (details) ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.25rem;
}
.section--cream .faq details { background: #fff; border-color: var(--line-dark); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: var(--step-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--orange); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 1.2rem; color: var(--muted); }
.section--cream .faq details > div { color: var(--muted-dark); }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  background: var(--ink-2); border: 1px solid rgba(254,243,240,.22); border-radius: 12px;
  color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(231, 62, 30, .3); }
.section--cream .field input, .section--cream .field select, .section--cream .field textarea { background: #fff; color: var(--black); border-color: rgba(0,0,0,.2); }
.check { font-size: var(--step--1); color: var(--muted); margin: 0; }
label.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--orange); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-weight: 600; margin: 0; }
.form-status.is-success { color: #7EE2A8; }
.form-status.is-error { color: var(--orange-soft); }
.section--orange .form-status.is-error, .section--orange .form-status.is-success { color: #fff; }

.newsletter { display: grid; gap: var(--space-m); align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter .inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter .inline-form input[type="email"] {
  flex: 1 1 240px; min-height: 52px; padding: .75rem 1.1rem; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.18); color: #fff;
}
.newsletter .inline-form input::placeholder { color: rgba(255,255,255,.8); }
.newsletter .inline-form input:focus { outline: none; border-color: #fff; }
.newsletter .check { color: #fff; }
.newsletter .check a { color: #fff; }

/* ---------- 17. Info blocks ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.info-list h3 { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: .3rem; }
.info-list p { font-size: var(--step-1); margin: 0; }
.info-list .socials { margin-top: .5rem !important; }

.stat-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat { border-left: 3px solid var(--orange); padding-left: 1rem; }
.stat strong { display: block; font-family: var(--font-head); font-size: var(--step-3); line-height: 1.1; }
.stat span { color: var(--muted); font-size: var(--step--1); }

.media-frame { border-radius: var(--radius-l); overflow: hidden; background: var(--ink-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.team { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.team li { background: #fff; border-radius: var(--radius-l); padding: 1.5rem; border: 1px solid var(--line-dark); }
.team .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin-bottom: 1rem;
  display: grid; place-items: center; background: var(--orange-deep); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
}
.team img.avatar { object-fit: cover; display: block; }
.team h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.team p { margin: 0; color: var(--muted-dark); }
.team__links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .75rem; }
.team__links a { color: var(--orange-deep); font-weight: 600; font-size: .9rem; text-decoration: none; }
.team__links a:hover, .team__links a:focus-visible { text-decoration: underline; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }

/* ---------- 18. Legal prose ---------- */
.prose { max-width: 75ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6em; }
.prose p, .prose li { color: #E3D8D4; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--orange-soft); }
.prose .updated { color: var(--muted); font-size: var(--step--1); }
.toc { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.toc ol { margin: 0; columns: 2 220px; }
.toc a { color: var(--text); }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-block: var(--space-xl) var(--space-l); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--space-l); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { color: var(--orange-soft); }
.site-footer address { font-style: normal; color: var(--muted); }
.footer-brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.socials { display: flex !important; flex-direction: row; gap: .5rem !important; margin: 1rem 0 0 !important; padding: 0; list-style: none; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); transition: background-color .2s, border-color .2s;
}
.socials a:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  color: var(--muted); font-size: var(--step--1);
}

/* ---------- 20. 404 ---------- */
.not-found { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: var(--space-xl); }
.not-found .big { font-family: var(--font-head); font-size: clamp(6rem, 4rem + 12vw, 13rem); line-height: .9; color: var(--orange); margin: 0 0 .1em; }

/* ---------- 21. Reveal on scroll (progressive; content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 22. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .dice__cube { transform: rotateX(-25deg) rotateY(35deg); }
}

/* ---------- 23. Print ---------- */
@media print {
  .site-header, .site-footer, .newsletter, .carousel__controls, .dice { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
