/* ondraluda.com - guida-catalogo platformer & metroidvania (it-IT)
   Tema: arcadia "osservatorio caldo all'alba" - cream + canopy verde, LED menta, orb viola.
   CSS scritto a mano. Mobile-first, full-bleed, clamp(). Nessun framework. */

/* ---------- Tokens ---------- */
:root {
  --cream: #f4efe4;
  --cream-deep: #ece5d6;
  --canopy: #104336;
  --canopy-2: #0b332a;
  --mint: #3ff0a0;
  --mint-ink: #0a3f2a;
  --violet: #7c6cf0;
  --violet-soft: #a89ff5;
  --sheet: #ffffff;
  --bark: #101f1e;
  --ink: #08130f;
  --slate: #4f5a58;
  --muted: #7a8481;
  --sage: #b6c7c1;
  --sage-2: #cdd9d3;
  --hero-mid: #e7e6f4;

  --r-card: 16px;
  --r-btn: 10px;
  --r-tag: 999px;
  --r-input: 8px;

  --hair: 1px solid var(--sage);
  --hair-soft: 1px solid var(--sage-2);

  --pad-x: clamp(18px, 5vw, 84px);
  --sec-y: clamp(56px, 9vw, 120px);
  --measure: 66ch;

  --ff-display: "Zilla Slab", Georgia, "Times New Roman", serif;
  --ff-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shadow-lift: 0 18px 40px -28px rgba(16, 67, 54, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
/* prevent inline-SVG intrinsic width from forcing grid tracks wider than the viewport */
.hero-grid > *, .curator > *, .pick > *, .two-col > *, .games > *,
.stats-grid > *, .steps > *, .studio-note > *, .hero-scene { min-width: 0; }
.hero-scene svg, .curator-portrait svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(16px, 0.5vw + 15px, 18px);
  line-height: 1.62;
  color: var(--bark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; }
:focus-visible { outline: 2.5px solid var(--canopy); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; padding-inline: var(--pad-x); }
.shell { max-width: 1220px; margin-inline: auto; }
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--canopy);
}
.eyebrow .dot { color: var(--mint-ink); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--canopy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  border: 1.5px solid transparent; transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--mint); color: var(--mint-ink); box-shadow: 0 0 0 0 rgba(63,240,160,.0); }
.btn-mint:hover { box-shadow: 0 10px 26px -14px rgba(63,240,160,.9); transform: translateY(-1px); }
.btn-canopy { background: var(--canopy); color: #fff; }
.btn-canopy:hover { background: var(--canopy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--canopy); border-color: var(--sage); }
.btn-ghost:hover { border-color: var(--canopy); background: rgba(16,67,54,.04); }
.btn svg { width: 18px; height: 18px; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: var(--r-btn);
  border: 1.5px solid var(--canopy); background: var(--canopy); color: #fff;
  transition: transform .16s ease, background .16s ease;
}
.store-btn:hover { transform: translateY(-1px); background: var(--canopy-2); }
.store-btn.is-ios { background: var(--sheet); color: var(--canopy); }
.store-btn.is-ios:hover { background: #f5f8f6; }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn .lbl { display: flex; flex-direction: column; line-height: 1.05; }
.store-btn .lbl-top { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; opacity: .82; }
.store-btn .lbl-main { font-weight: 600; font-size: 14.5px; }
.store-note { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); align-self: center; padding-left: 4px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--canopy); color: #eaf5ef;
  font-size: 13px; text-align: center;
  padding: 8px var(--pad-x); letter-spacing: .01em;
}
.announce b { color: var(--mint); font-weight: 600; }

/* ---------- Nav ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(244,239,228,.86); backdrop-filter: blur(10px); border-bottom: var(--hair-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .name { font-family: var(--ff-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--canopy); }
.brand .name em { font-style: normal; color: var(--mint-ink); }
.nav-links { display: none; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--slate); transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--canopy); background: rgba(16,67,54,.06); }
.nav-cta { display: none; }
.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 40px; align-items: center; justify-content: center; background: transparent; border: var(--hair); border-radius: 10px; }
.burger span { width: 20px; height: 2px; background: var(--canopy); border-radius: 2px; transition: transform .22s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-bottom: var(--hair-soft); background: var(--cream); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 10px var(--pad-x) 18px; margin: 0; display: grid; gap: 2px; }
.mobile-menu a { display: block; padding: 12px 8px; border-bottom: var(--hair-soft); font-size: 17px; color: var(--bark); }
.mobile-menu a[aria-current="page"] { color: var(--canopy); font-weight: 600; }
.mobile-menu .btn-mint { margin: 14px 8px 0; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(120% 80% at 82% 8%, rgba(124,108,240,.14), transparent 46%),
    linear-gradient(207deg, #c6d5cf 0%, var(--hero-mid) 40%, var(--cream) 74%); }
.hero-grid { display: grid; gap: clamp(28px, 5vw, 56px); padding-block: clamp(40px, 7vw, 84px) clamp(52px, 8vw, 96px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; }
.hero h1 .accent { position: relative; color: var(--canopy); white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--mint); opacity: .5; border-radius: 3px; z-index: -1; }
.hero .lede { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: var(--slate); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--slate); }
.trust-line .led { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(63,240,160,.22); flex: none; }

/* hero scene (SVG platform/jump/orbs) */
.hero-scene { position: relative; }
.hero-scene svg { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(16,67,54,.16)); }
.orb-float { animation: floaty 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.orb-float.b { animation-duration: 7.5s; animation-delay: -1.2s; }
.orb-float.c { animation-duration: 8.5s; animation-delay: -.6s; }
.hop { animation: hop 3.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes hop { 0%,100% { transform: translateY(0); } 42% { transform: translateY(-16px); } 60% { transform: translateY(-3px); } }

/* mini stat rail under hero */
.hero-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--sage); border: var(--hair); border-radius: var(--r-card); overflow: hidden; margin-top: clamp(30px, 5vw, 44px); }
.hero-rail .cell { background: var(--sheet); padding: 18px 20px; }
.hero-rail .num { font-family: var(--ff-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--canopy); }
.hero-rail .lbl { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (min-width: 720px) { .hero-rail { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--sec-y); }
.section.tint { background: var(--sheet); border-block: var(--hair-soft); }
.section.deep { background: var(--canopy); color: #dff0e8; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 600; letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep p { color: #bfd8cd; }
.section.deep .eyebrow { color: var(--mint); }
.lead-measure { max-width: var(--measure); }

/* ---------- Curator block ---------- */
.curator { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
.curator-portrait { border: var(--hair); border-radius: var(--r-card); overflow: hidden; background: var(--cream-deep); }
.curator-portrait svg { width: 100%; height: auto; }
.curator-name { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--canopy); margin-bottom: 8px; }
.curator blockquote { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.28; color: var(--ink); }
.curator .sig { margin-top: 18px; font-size: 15px; color: var(--slate); }
.curator .sig b { color: var(--bark); }
.curator .facts { margin-top: 22px; display: grid; gap: 10px; list-style: none; padding: 0; }
.curator .facts li { display: flex; gap: 12px; font-size: 15.5px; color: var(--slate); }
.curator .facts .k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-ink); min-width: 78px; padding-top: 3px; }
@media (min-width: 860px) { .curator { grid-template-columns: 320px 1fr; } }

/* ---------- Category filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.chip {
  font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 8px 15px; border-radius: var(--r-tag); border: 1.5px solid var(--sage);
  background: var(--sheet); color: var(--slate); text-transform: lowercase;
  transition: border-color .15s, color .15s, background .15s, transform .12s;
}
.chip:hover { border-color: var(--canopy); color: var(--canopy); }
.chip[aria-pressed="true"] { background: var(--canopy); border-color: var(--canopy); color: #fff; }
.chip .ct { opacity: .6; margin-left: 5px; }
.filter-status { font-size: 14px; color: var(--muted); margin-top: 14px; font-family: var(--ff-mono); letter-spacing: .04em; }

/* ---------- Index list ---------- */
.index-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--sage-2); border: var(--hair-soft); border-radius: var(--r-card); overflow: hidden; }
.index-list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 20px; background: var(--sheet); transition: background .15s; }
.index-list a:hover { background: #f4f8f6; }
.index-list .ix { font-family: var(--ff-mono); font-size: 13px; color: var(--mint-ink); }
.index-list .ti { font-family: var(--ff-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.index-list .mt { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
@media (min-width: 760px) { .index-cols { columns: 2; column-gap: 20px; } }

/* ---------- Game cards ---------- */
.games { display: grid; gap: clamp(22px, 3vw, 34px); }
@media (min-width: 780px) { .games { grid-template-columns: repeat(2, 1fr); } }
.card { display: none; grid-column: auto; background: var(--sheet); border: var(--hair); border-radius: var(--r-card); overflow: hidden; }
.card.show { display: flex; flex-direction: column; }
.card.feature-wide { grid-column: 1 / -1; }
@media (min-width: 780px) {
  .card.feature-wide.show { display: grid; grid-template-columns: 1.1fr 1fr; }
  .card.feature-wide .card-media { border-bottom: none; border-right: var(--hair-soft); }
}
.card-media { position: relative; border-bottom: var(--hair-soft); background: var(--cream-deep); }
.card-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-media .flag {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(11,51,42,.9); color: #ffe9b8; padding: 5px 11px; border-radius: 999px;
}
.card-media .flag.italia { background: var(--mint); color: var(--mint-ink); }
.card-media .credit, .pick-media .credit { position: absolute; bottom: 8px; right: 10px; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .05em; color: rgba(255,255,255,.72); background: rgba(8,19,15,.5); padding: 3px 7px; border-radius: 6px; }
.card-body { padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-num { font-family: var(--ff-mono); font-size: 12px; color: var(--mint-ink); letter-spacing: .08em; }
.card-genre { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--canopy); background: rgba(63,240,160,.16); padding: 4px 10px; border-radius: 999px; }
.card h3 { font-size: clamp(21px, 2.3vw, 27px); font-weight: 700; }
.card h3 a:hover { color: var(--canopy); }
.card .studio { font-size: 14px; color: var(--muted); margin-top: -6px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.meta-row span { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--slate); border: var(--hair-soft); border-radius: 6px; padding: 3px 8px; background: #f8faf9; }
.meta-row span.star { color: var(--mint-ink); border-color: rgba(63,240,160,.5); background: rgba(63,240,160,.1); }
.card .review { color: var(--slate); font-size: 15.5px; }
.why { list-style: none; padding: 0; display: grid; gap: 8px; }
.why li { position: relative; padding-left: 24px; font-size: 15px; color: var(--bark); }
.why li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 11px; background: var(--mint); border-radius: 3px; transform: rotate(45deg); }
.caveat { display: flex; gap: 10px; font-size: 14px; color: var(--slate); background: #f6f2e8; border-left: 3px solid var(--violet); padding: 11px 14px; border-radius: 0 8px 8px 0; }
.caveat b { color: var(--bark); }
.card .stores { margin-top: auto; }

/* ---------- Dataviz / by the numbers ---------- */
.stats-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--sheet); border: var(--hair); border-radius: var(--r-card); padding: 22px; }
.stat .v { font-family: var(--ff-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); color: var(--canopy); line-height: 1; }
.stat .k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stat .d { font-size: 13.5px; color: var(--slate); margin-top: 6px; }

.chart-card { background: var(--sheet); border: var(--hair); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); }
.chart-card h3 { font-size: 20px; font-weight: 600; }
.chart-note { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 52px; gap: 12px; align-items: center; }
.bar-row .bl { font-size: 14px; color: var(--bark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: var(--cream-deep); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--canopy); transform-origin: left; transition: width .9s cubic-bezier(.16,1,.3,1); }
.bar-fill.mint { background: var(--mint); }
.bar-fill.violet { background: var(--violet); }
.bar-row .bv { font-family: var(--ff-mono); font-size: 13px; color: var(--slate); text-align: right; }
@media (max-width: 520px) { .bar-row { grid-template-columns: 108px 1fr 44px; } .bar-row .bl { font-size: 12.5px; } }

/* ---------- Steps (come funziona / getting started) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--sheet); border: var(--hair); border-radius: var(--r-card); padding: 26px 24px; position: relative; }
.step .sn { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; color: var(--mint-ink); }
.step h3 { font-size: 19px; font-weight: 600; margin-top: 12px; }
.step p { margin-top: 10px; color: var(--slate); font-size: 15px; }
.steps.on-deep .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.steps.on-deep .step h3 { color: #fff; }
.steps.on-deep .step p { color: #c3ddd1; }
.steps.on-deep .step .sn { color: var(--mint); }

/* ---------- Featured / pick of the week ---------- */
.pick { display: grid; gap: clamp(24px, 4vw, 44px); align-items: center; background: var(--sheet); border: var(--hair); border-radius: var(--r-card); overflow: hidden; }
.pick-media { position: relative; background: var(--cream-deep); }
.pick-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pick-body { padding: clamp(24px, 3.6vw, 44px); }
.pick-body .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-ink); background: rgba(63,240,160,.18); padding: 5px 12px; border-radius: 999px; }
.pick-body h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; margin-top: 16px; }
.pick-body .studio { color: var(--muted); font-size: 14px; margin-top: 4px; }
.pick-body p { margin-top: 16px; color: var(--slate); }
@media (min-width: 880px) { .pick { grid-template-columns: 1fr 1.05fr; } }

/* ---------- Studio note ---------- */
.studio-note { background: linear-gradient(200deg, rgba(63,240,160,.14), rgba(124,108,240,.1)); border: var(--hair); border-radius: var(--r-card); padding: clamp(26px, 4vw, 46px); display: grid; gap: 20px; align-items: center; }
.studio-note .tag { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--canopy); }
.studio-note h3 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; }
.studio-note p { margin-top: 12px; color: var(--slate); }
.studio-note .flag-it { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mint-ink); }
@media (min-width: 820px) { .studio-note { grid-template-columns: 1.4fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border: var(--hair); border-radius: var(--r-card); overflow: hidden; background: var(--sheet); }
.faq details { border-bottom: var(--hair-soft); }
.faq details:last-child { border-bottom: none; }
.faq summary { list-style: none; cursor: pointer; padding: 20px clamp(18px, 2.4vw, 28px); display: flex; justify-content: space-between; gap: 18px; align-items: center; font-family: var(--ff-display); font-weight: 600; font-size: clamp(17px, 1.7vw, 20px); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--canopy); border-radius: 2px; transition: transform .2s ease; }
.faq summary .pm::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq summary .pm::after { top: 3px; left: 10px; width: 2px; height: 16px; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .ans { padding: 0 clamp(18px, 2.4vw, 28px) 22px; color: var(--slate); font-size: 15.5px; max-width: var(--measure); }

/* ---------- Contact form ---------- */
.form-wrap { background: var(--sheet); border: var(--hair); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 40px); }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--bark); }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--sage);
  border-radius: var(--r-input); background: #fbfcfb; color: var(--bark); width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--canopy); outline: none; background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--slate); margin-bottom: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--canopy); flex: none; }
.consent a { color: var(--canopy); text-decoration: underline; text-underline-offset: 2px; }
.form-help { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Article (review pages) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article .kicker { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); }
.article h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: -0.025em; margin-top: 14px; }
.article .dek { font-size: clamp(18px, 1.8vw, 22px); color: var(--slate); margin-top: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.article-figure { margin: clamp(28px, 4vw, 44px) 0; border: var(--hair); border-radius: var(--r-card); overflow: hidden; background: var(--cream-deep); }
.article-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-figure figcaption { font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); padding: 10px 16px; background: var(--sheet); border-top: var(--hair-soft); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 600; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--bark); }
.prose p.note { color: var(--slate); font-size: 15px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; color: var(--bark); }
.prose li { margin-bottom: 7px; }
.pull { border-left: 3px solid var(--mint); padding: 6px 0 6px 20px; font-family: var(--ff-display); font-size: clamp(20px, 2.3vw, 26px); font-weight: 500; line-height: 1.3; color: var(--ink); margin: 30px 0; }

/* legal pages */
.legal { max-width: 800px; margin-inline: auto; }
.legal h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.legal .updated { font-family: var(--ff-mono); font-size: 12px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 34px 0 12px; color: var(--ink); }
.legal p, .legal li { color: var(--slate); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--canopy); text-decoration: underline; text-underline-offset: 2px; }

/* thank you / 404 */
.centered-panel { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.centered-panel .inner { max-width: 560px; }
.centered-panel h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 700; }
.centered-panel p { margin-top: 18px; color: var(--slate); font-size: 18px; }
.centered-panel .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.big404 { font-family: var(--ff-mono); font-size: clamp(70px, 16vw, 150px); color: var(--canopy); line-height: .9; letter-spacing: -.04em; }
.big404 .m { color: var(--mint); }

/* ---------- Footer ---------- */
.site-foot { background: var(--canopy); color: #cfe4da; padding-block: clamp(48px, 7vw, 84px) 30px; }
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand .name { font-family: var(--ff-display); font-weight: 700; font-size: 24px; color: #fff; }
.foot-brand .name em { font-style: normal; color: var(--mint); }
.foot-brand p { margin-top: 14px; font-size: 15px; color: #a8c8bb; max-width: 40ch; }
.foot-brand .support { margin-top: 16px; font-size: 15px; }
.foot-brand .support a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.foot-col h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8fb3a5; font-weight: 500; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.foot-col a { font-size: 15px; color: #cfe4da; }
.foot-col a:hover { color: #fff; }
.foot-disc { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; line-height: 1.6; color: #8aa99c; max-width: 92ch; }
.foot-base { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #7fa093; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb-float, .hop { animation: none; }
  .bar-fill { transition: none; }
}

/* breadcrumb */
.crumb { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .05em; color: var(--muted); padding-top: clamp(20px, 4vw, 40px); }
.crumb a { color: var(--canopy); }
.crumb a:hover { text-decoration: underline; }

/* page hero (interior) */
.page-hero { background:
  radial-gradient(90% 70% at 88% 0%, rgba(124,108,240,.12), transparent 50%),
  linear-gradient(206deg, #cdd9d3 0%, var(--hero-mid) 46%, var(--cream) 82%);
  padding-block: clamp(36px, 6vw, 72px) clamp(30px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; max-width: 18ch; }
.page-hero .lede { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); color: var(--slate); max-width: 56ch; }

/* generic prose grid for about/method */
.two-col { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.3fr 0.7fr; } }
.aside-card { background: var(--sheet); border: var(--hair); border-radius: var(--r-card); padding: 26px; align-self: start; position: sticky; top: 88px; }
.aside-card h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--canopy); margin-bottom: 14px; }
.aside-card ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.aside-card li { font-size: 14.5px; color: var(--slate); display: grid; gap: 3px; }
.aside-card li b { color: var(--bark); font-size: 15px; }
