/* ==========================================================================
   I Can Smell You from Here — site stylesheet (no framework, no build step)
   ========================================================================== */

/* --- Self-hosted fonts (OFL: Cormorant Garamond, Karla) ------------------ */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: "Karla";
  src: url("/assets/fonts/karla-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2212;
}

/* --- Reset --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-3));
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Painterly atmosphere: warm lamp glow, cold window light, film grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(200, 118, 58, 0.2), transparent 58%),
    radial-gradient(90% 70% at 96% 8%, rgba(127, 176, 178, 0.09), transparent 62%),
    radial-gradient(120% 100% at 50% 118%, rgba(12, 16, 22, 0.85), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/assets/grain.svg");
  background-size: 180px 180px;
  opacity: 0.05;
  mix-blend-mode: soft-light;
}

img { max-width: 100%; height: auto; }
svg { max-width: 100%; }

a {
  color: var(--accent);
  text-decoration-color: rgba(240, 180, 124, 0.45);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease);
}
a:hover { color: var(--focus); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text-strong);
  margin: 0 0 var(--sp-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-lg); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.35em; }
li { margin-bottom: var(--sp-1); }
li:last-child { margin-bottom: 0; }

strong { color: var(--text-strong); font-weight: 700; }
em { font-style: italic; }

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: var(--sp-6) 0;
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.9em; }

blockquote {
  margin: var(--sp-4) 0;
  padding-left: var(--sp-3);
  border-left: 2px solid var(--line-strong);
  color: var(--paper-dim);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  line-height: var(--lh-normal);
}
blockquote > p:first-child { margin-bottom: var(--sp-1); }
.quote { margin: var(--sp-3) 0; }
.quote footer { font-family: var(--font-sans); font-style: normal; font-size: var(--fs-xs); }
.quote [data-quote-translation] { font-family: var(--font-sans); font-style: normal; font-size: var(--fs-sm); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

::selection { background: rgba(200, 118, 58, 0.4); color: var(--text-strong); }

/* --- Skip link ----------------------------------------------------------- */
.skip {
  position: absolute;
  left: var(--sp-2);
  top: -100px;
  z-index: 100;
  padding: var(--sp-1) var(--sp-2);
  background: var(--paper);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: var(--r-2);
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: var(--sp-2); color: var(--ink-900); }

/* --- Layout shell -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}
.wrap--prose { max-width: 760px; }

@media (min-width: 720px) {
  :root { --gutter: var(--sp-4); }
  .wrap { padding-inline: var(--sp-4); }
}

main { display: block; }

.section {
  padding-block: var(--sp-8);
  border-top: 1px solid var(--line-soft);
}
.section:first-of-type { border-top: 0; }
@media (min-width: 900px) {
  .section { padding-block: var(--sp-10); }
}

.kicker {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.kicker__num { color: var(--paper-mute); font-family: var(--font-mono); letter-spacing: 0.1em; }

.lede {
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--paper-dim);
  max-width: var(--w-prose);
}
.prose { max-width: var(--w-prose); }
.prose > p + h2, .prose > p + h3 { margin-top: var(--sp-5); }

.eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--paper-mute);
  margin: 0 0 var(--sp-2);
}

/* --- Masthead ------------------------------------------------------------ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 8, 5, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: var(--header-h);
  padding-block: var(--sp-1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--text-strong);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  flex: 0 1 auto;
}
.brand:hover { color: var(--text-strong); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: flex; flex-direction: column; }
.brand__sub {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__link {
  display: inline-block;
  padding: var(--sp-1) 0;
  color: var(--paper-dim);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.nav__link:hover { color: var(--text-strong); border-bottom-color: var(--line-strong); }
.nav__link[aria-current="page"] {
  color: var(--text-strong);
  border-bottom-color: var(--accent);
}

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: var(--sp-2);
  padding-left: var(--sp-3);
  border-left: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.langswitch a {
  color: var(--paper-mute);
  text-decoration: none;
  padding: var(--sp-1) 2px;
}
.langswitch a:hover { color: var(--text-strong); }
.langswitch [aria-current="true"] { color: var(--accent); font-weight: 700; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-2);
  padding: var(--sp-1) var(--sp-2);
  font: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.nav__toggle:hover { border-color: var(--line-strong); color: var(--text-strong); }

@media (max-width: 860px) {
  .masthead__inner { flex-wrap: wrap; }
  .nav__toggle { display: inline-block; }
  .nav {
    margin-left: 0;
    width: 100%;
    display: none;
    padding-bottom: var(--sp-2);
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: var(--sp-2) 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--fs-base);
  }
  .langswitch {
    margin: var(--sp-2) 0 0;
    padding: var(--sp-2) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    width: 100%;
  }
}

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs { padding-top: var(--sp-4); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: var(--sp-1); color: var(--line-strong); }
.crumbs a { color: var(--paper-mute); text-decoration: none; }
.crumbs a:hover { color: var(--text-strong); }
.crumbs [aria-current="page"] { color: var(--paper-dim); }

/* --- Page header --------------------------------------------------------- */
.pagehead { padding-block: var(--sp-6) var(--sp-5); }
.pagehead h1 { margin-bottom: var(--sp-3); }
.pagehead .lede { margin-bottom: 0; }
.pagehead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--paper-mute);
}

/* --- Hero ---------------------------------------------------------------- */
.hero { padding-block: var(--sp-6) var(--sp-8); }
.hero__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: var(--sp-8); }
}
.hero__title {
  font-size: var(--fs-5xl);
  line-height: 0.94;
  margin-bottom: var(--sp-3);
}
.hero__title span { display: block; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__pitch {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: var(--lh-snug);
  color: var(--paper-dim);
  max-width: 34ch;
  margin-bottom: var(--sp-4);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__tags li {
  margin: 0;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-round);
  padding: 2px var(--sp-1);
}

.art {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 520px);
}
.art__frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-1);
  padding: 10px;
  background: linear-gradient(160deg, rgba(246, 225, 188, 0.07), rgba(11, 8, 5, 0.5));
  box-shadow: var(--shadow-art);
  transform: rotate(-0.7deg);
}
.art__frame img {
  display: block;
  width: 100%;
  border-radius: var(--r-1);
  filter: saturate(1.03) contrast(1.03);
}
.art__glow {
  position: absolute;
  inset: -18% 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(200, 118, 58, 0.3), transparent 72%);
  filter: blur(6px);
}
.art figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--paper-mute);
  line-height: var(--lh-normal);
}
.art figcaption a { color: var(--paper-mute); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  --btn-line: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  min-height: 48px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--btn-line);
  border-radius: var(--r-1);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: linear-gradient(180deg, #e2914f, #b96730);
  --btn-fg: var(--on-accent);
  --btn-line: #f0b47c;
  box-shadow: var(--shadow-inset), 0 12px 26px -18px rgba(231, 155, 91, 0.9);
}
.btn--primary:hover {
  --btn-bg: linear-gradient(180deg, #f0a765, #c8763a);
  box-shadow: var(--shadow-inset), 0 18px 32px -18px rgba(231, 155, 91, 1);
}
.btn--secondary { --btn-line: var(--line-strong); --btn-fg: var(--text-strong); }
.btn--secondary:hover { --btn-line: var(--focus); --btn-bg: rgba(246, 225, 188, 0.06); }
.btn--quiet {
  --btn-line: transparent;
  --btn-fg: var(--accent);
  padding-inline: var(--sp-1);
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: rgba(240, 180, 124, 0.4);
}
.btn--quiet:hover { --btn-fg: var(--focus); background: none; }
.btn--small { min-height: 40px; padding: var(--sp-1) var(--sp-2); font-size: var(--fs-xs); }

.btn__hint {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.82;
}
.btn--stack { flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: stretch; }
.cta-row--center { justify-content: center; }
.cta-note { font-size: var(--fs-sm); color: var(--paper-mute); }

/* --- Notices / callouts -------------------------------------------------- */
.notice {
  --notice-line: var(--line-strong);
  --notice-ink: var(--paper-dim);
  --notice-bg: rgba(246, 225, 188, 0.035);
  position: relative;
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--notice-line);
  border-radius: var(--r-1);
  background: var(--notice-bg);
  margin: 0 0 var(--sp-3);
}
.notice:last-child { margin-bottom: 0; }
.notice h3, .notice h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--notice-ink);
  margin-bottom: var(--sp-1);
}
.notice p, .notice li { font-size: var(--fs-sm); line-height: var(--lh-normal); color: var(--paper-dim); margin-bottom: var(--sp-1); }
.notice p:last-child, .notice li:last-child { margin-bottom: 0; }
.notice--warn { --notice-line: #e0a45c; --notice-ink: #e0a45c; --notice-bg: rgba(224, 164, 92, 0.06); }
.notice--danger { --notice-line: var(--blood); --notice-ink: #d8806f; --notice-bg: rgba(194, 86, 74, 0.07); }
.notice--info { --notice-line: var(--teal); --notice-ink: var(--teal); --notice-bg: rgba(127, 176, 178, 0.06); }
.notice--plain { --notice-line: var(--line-strong); --notice-ink: var(--paper-dim); }

.notice-grid {
  display: grid;
  gap: var(--sp-2);
  margin-block: var(--sp-4) var(--sp-5);
}
@media (min-width: 760px) {
  .notice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .notice-grid > .notice { margin: 0; height: 100%; }
}

/* --- Play panel ---------------------------------------------------------- */
.play {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background:
    linear-gradient(180deg, rgba(200, 118, 58, 0.1), rgba(11, 8, 5, 0)),
    var(--surface);
  box-shadow: var(--shadow-lift);
  margin-block: var(--sp-5);
}
@media (min-width: 860px) {
  .play { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); gap: var(--sp-5); padding: var(--sp-5); }
}
.play h2 { margin-bottom: var(--sp-2); }
.play__actions { display: flex; flex-direction: column; gap: var(--sp-2); }
.play__actions .btn { width: 100%; }
.play__meta {
  margin: var(--sp-3) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--paper-mute);
}
.play__meta li { margin-bottom: var(--sp-1); }
.play__meta strong { color: var(--paper-dim); }

/* --- Row list (navigation / index) -------------------------------------- */
.rows {
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.rows li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.row {
  display: grid;
  grid-template-areas: "num title arrow" "num desc arrow";
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0 var(--sp-2);
  align-items: center;
  padding: var(--sp-3) var(--sp-1);
  text-decoration: none;
  color: var(--text);
  transition: background-color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.row:hover { background: rgba(246, 225, 188, 0.04); padding-left: var(--sp-2); color: var(--text); }
.row__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: #97836c;
  letter-spacing: 0.12em;
  transition: color var(--dur) var(--ease);
}
.row:hover .row__num { color: var(--accent); }
.row__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-strong);
}
.row__desc {
  grid-area: desc;
  font-size: var(--fs-sm);
  color: var(--paper-mute);
  line-height: var(--lh-normal);
}
.row__arrow {
  grid-area: arrow;
  color: var(--line-strong);
  font-size: 1.2rem;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.row:hover .row__arrow { transform: translateX(4px); color: var(--accent); }

/* --- Facts (definition grid) -------------------------------------------- */
.facts {
  margin: var(--sp-4) 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}
.facts > div {
  display: grid;
  gap: 0 var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 700px) {
  .facts > div { grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr); }
}
.facts dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
  padding-top: 4px;
}
.facts dd { margin: 0; color: var(--paper-dim); font-size: var(--fs-base); }
.facts dd a { color: var(--accent); }

/* --- Key table (controls) ----------------------------------------------- */
.control-list {
  margin: var(--sp-4) 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.control {
  display: grid;
  gap: var(--sp-1) var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 760px) {
  .control { grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr); align-items: baseline; }
}
.control__keys { display: flex; flex-wrap: wrap; gap: var(--sp-1); align-items: center; }
.control__action { color: var(--paper-dim); font-size: var(--fs-sm); line-height: var(--lh-normal); }
kbd {
  display: inline-block;
  padding: 3px var(--sp-1);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: var(--r-2);
  background: linear-gradient(180deg, rgba(246, 225, 188, 0.1), rgba(246, 225, 188, 0.03));
  color: var(--text-strong);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
}

/* --- Steps --------------------------------------------------------------- */
.steps {
  counter-reset: step;
  margin: var(--sp-4) 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.steps > li {
  position: relative;
  counter-increment: step;
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-6);
  border-bottom: 1px solid var(--line-soft);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--accent);
  letter-spacing: 0.08em;
}
.steps h3 { margin-bottom: var(--sp-1); }
.steps p { font-size: var(--fs-sm); color: var(--paper-dim); margin: 0; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { margin: var(--sp-4) 0 0; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  padding: var(--sp-3) var(--sp-5) var(--sp-3) 0;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
  line-height: var(--lh-snug);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: var(--sp-1);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--focus); }
.faq__body { padding: 0 0 var(--sp-3); max-width: var(--w-prose); color: var(--paper-dim); }

/* --- Two column prose ---------------------------------------------------- */
.cols { display: grid; gap: var(--sp-4); }
@media (min-width: 880px) { .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }

/* --- Source list --------------------------------------------------------- */
.sources { margin: var(--sp-3) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.sources li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-dim);
  line-height: var(--lh-normal);
}
.sources li:first-child { border-top: 1px solid var(--line-soft); }
.sources span { display: block; color: var(--paper-mute); font-size: var(--fs-xs); }

/* --- Share --------------------------------------------------------------- */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-6);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
}
.share__label {
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-right: var(--sp-1);
}
.share a, .share button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--paper-dim);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.share a:hover, .share button:hover { border-color: var(--focus); color: var(--text-strong); }
.share [hidden] { display: none !important; }
.share__status { font-size: var(--fs-xs); color: var(--accent-quiet); }

/* --- Footer -------------------------------------------------------------- */
.footer {
  margin-top: var(--sp-8);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 20, 14, 0.6), rgba(7, 5, 3, 0.9));
  padding-block: var(--sp-6) var(--sp-5);
}
.footer__grid { display: grid; gap: var(--sp-5); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--sp-6); } }
.footer h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: var(--sp-2);
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: var(--sp-1); font-size: var(--fs-sm); }
.footer a { color: var(--paper-dim); text-decoration: none; }
.footer a:hover { color: var(--focus); text-decoration: underline; }
.footer__note { font-size: var(--fs-sm); color: var(--paper-mute); max-width: 46ch; }
.footer__bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--paper-mute);
}
.footer__bottom p { margin: 0; }
.footer__tools { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--paper-dim);
  font: inherit;
  font-size: var(--fs-xs);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.linkish:hover { color: var(--focus); }

/* --- Consent ------------------------------------------------------------- */
.consent {
  position: fixed;
  left: var(--sp-2);
  right: var(--sp-2);
  bottom: var(--sp-2);
  z-index: 60;
  padding: var(--sp-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  background: rgba(18, 14, 9, 0.97);
  box-shadow: var(--shadow-lift);
}
.consent[hidden] { display: none; }
.consent__inner { max-width: var(--w-page); margin-inline: auto; }
@media (min-width: 900px) {
  .consent { left: auto; right: var(--sp-3); bottom: var(--sp-3); width: min(520px, 92vw); }
}
.consent h2 { font-size: var(--fs-lg); font-family: var(--font-sans); font-weight: 700; }
.consent p { font-size: var(--fs-sm); color: var(--paper-dim); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-2); }

.dialog {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--text);
  padding: 0;
  width: min(560px, 94vw);
  box-shadow: var(--shadow-lift);
}
.dialog::backdrop { background: rgba(7, 5, 3, 0.78); }
.dialog__inner { padding: var(--sp-4); }
.dialog h2 { font-size: var(--fs-xl); font-family: var(--font-display); }
.dialog p { font-size: var(--fs-sm); color: var(--paper-dim); }
.dialog__row {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  padding: var(--sp-2) 0;
  border-top: 1px solid var(--line-soft);
}
.dialog__row label { font-size: var(--fs-sm); color: var(--text-strong); font-weight: 700; }
.dialog__row p { margin: 4px 0 0; }
.dialog__row input { margin-top: 6px; width: 20px; height: 20px; accent-color: var(--rust); }
.dialog__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

/* --- Visited / helper utilities ----------------------------------------- */
.muted { color: var(--paper-mute); }
.small { font-size: var(--fs-sm); }
.tiny { font-size: var(--fs-xs); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.stack > * + * { margin-top: var(--sp-3); }
.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;
}

/* --- 404 ----------------------------------------------------------------- */
.notfound { padding-block: var(--sp-10); text-align: center; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 9rem);
  line-height: 1;
  color: var(--rust);
  margin: 0;
}
.notfound .lede { margin-inline: auto; }

/* --- Motion & print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body::before, body::after, .masthead, .consent, .dialog, .share, .footer__tools { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111; }
  .section { break-inside: avoid; }
}
