/* ==========================================================================
   Vedorian — The Console Quarterly (luxury editorial, print-inspired)
   Palette: bone paper · ink · warm graphite · wine · brass
   Type: Bodoni Moda (display serif) · Mulish (body)
   ========================================================================== */

:root {
  --paper: #f3eee3;
  --paper-2: #ebe4d5;
  --paper-3: #e2d9c6;
  --ink: #17130d;
  --ink-soft: #514a3c;
  --ink-faint: #837a68;
  --wine: #7c2233;
  --wine-2: #93293e;
  --brass: #a97e33;
  --brass-2: #c39a4c;
  --line: rgba(23, 19, 13, 0.16);
  --line-soft: rgba(23, 19, 13, 0.08);
  --shadow: 0 40px 70px -45px rgba(35, 25, 12, 0.4);
  --maxw: 1240px;
  --disp: "Bodoni Moda", Georgia, serif;
  --body: "Mulish", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body);
  background: var(--paper); color: var(--ink);
  line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
/* subtle paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(23,19,13,0.05) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--disp); font-weight: 500; line-height: 1.04; letter-spacing: 0; margin: 0 0 0.4em; }

.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.chapter { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }

.folio { font-family: var(--body); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--wine); }
.folio.brass { color: var(--brass); }
.serif-it { font-family: var(--disp); font-style: italic; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-thick { height: 3px; background: var(--ink); border: 0; margin: 0; }
.ink-soft { color: var(--ink-soft); }
.wine { color: var(--wine); }

/* Buttons — squared editorial */
.ink-btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.95rem 1.7rem; cursor: pointer; border: 1px solid var(--ink); transition: background 0.3s var(--ease), color 0.3s, transform 0.3s var(--ease); }
.ink-btn svg { width: 15px; height: 15px; }
.ink-btn.fill { background: var(--ink); color: var(--paper); }
.ink-btn.fill:hover { background: var(--wine); border-color: var(--wine); transform: translateY(-2px); }
.ink-btn.hollow { background: transparent; color: var(--ink); }
.ink-btn.hollow:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.readmore { font-family: var(--disp); font-style: italic; font-size: 1.05rem; color: var(--wine); border-bottom: 1px solid var(--wine); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.readmore:hover { color: var(--brass); border-color: var(--brass); }

/* ===================== MASTHEAD / NAV ===================== */
.masthead { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--ink); transition: box-shadow 0.4s; }
.masthead.lifted { box-shadow: 0 12px 30px -24px rgba(35,25,12,0.5); }
.mast-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0.9rem 0; }
.mast-left, .mast-right { display: flex; align-items: center; gap: 1.3rem; }
.mast-right { justify-content: flex-end; }
.mast-left a, .mast-right a { font-family: var(--body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); position: relative; transition: color 0.25s; }
.mast-left a:hover, .mast-right a:hover, .mast-left a[aria-current], .mast-right a[aria-current] { color: var(--wine); }
.mast-left a[aria-current]::after, .mast-right a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--wine); }
.wordmark { display: flex; align-items: center; gap: 0.5rem; justify-self: center; font-family: var(--disp); font-weight: 500; font-size: 1.7rem; letter-spacing: 0.02em; }
.wordmark img { width: 26px; height: 26px; }
.mast-strip { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0; border-top: 1px solid var(--line); font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: 0.3s; }
.burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(84%, 340px); background: var(--paper); border-left: 1px solid var(--ink); transform: translateX(105%); transition: transform 0.5s var(--ease); z-index: 120; padding: 5.5rem 2rem 2rem; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer a { font-family: var(--disp); font-size: 1.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer a:hover { color: var(--wine); font-style: italic; }
.veil { position: fixed; inset: 0; background: rgba(23,19,13,0.35); opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 110; }
.veil.show { opacity: 1; pointer-events: auto; }

/* ===================== HOME 1 · MASTHEAD HERO ===================== */
.lede { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.lede-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.lede h1 { font-size: clamp(3rem, 9vw, 8rem); font-weight: 500; line-height: 0.96; letter-spacing: -0.01em; }
.lede h1 em { font-family: var(--disp); font-style: italic; color: var(--wine); }
.lede .sub { font-size: 1.2rem; color: var(--ink-soft); max-width: 42ch; margin: 1.6rem 0 0; }
.lede-media { position: relative; }
.lede-media .plate { border: 1px solid var(--ink); padding: 8px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(1.4deg); }
.lede-media .plate img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: sepia(0.12) contrast(1.02); }
.lede-media .stamp { position: absolute; top: -1.1rem; left: -1.1rem; width: 78px; height: 78px; border-radius: 50%; background: var(--wine); color: var(--paper); display: grid; place-items: center; text-align: center; font-family: var(--disp); font-style: italic; font-size: 0.8rem; line-height: 1.1; transform: rotate(-8deg); }
.lede-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }

/* ===================== HOME 2 · CONTENTS (table of contents) ===================== */
.contents { background: var(--ink); color: var(--paper); }
.contents .folio { color: var(--brass-2); }
.contents h2 { color: var(--paper); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-style: italic; margin: 0.6rem 0 2rem; }
.toc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 6vw, 5rem); }
.toc a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.8rem; padding: 1rem 0; border-top: 1px solid rgba(243,238,227,0.16); transition: color 0.25s; }
.toc a:hover { color: var(--brass-2); }
.toc .no { font-family: var(--disp); font-style: italic; color: var(--brass-2); font-size: 1.1rem; }
.toc .ti { font-family: var(--disp); font-size: 1.3rem; }
.toc .dots { border-bottom: 1px dotted rgba(243,238,227,0.4); transform: translateY(-4px); }
.toc .pg { font-family: var(--body); font-size: 0.8rem; color: rgba(243,238,227,0.6); letter-spacing: 0.1em; }

/* ===================== HOME 3 · THE MACHINES (filmstrip) ===================== */
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.strip-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; margin: 0.4rem 0 0; }
.filmstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 1.4rem; overflow-x: auto; padding-bottom: 1.2rem; scroll-snap-type: x mandatory; }
.reel { scroll-snap-align: start; }
.reel .pic { overflow: hidden; border: 1px solid var(--ink); aspect-ratio: 3/4; }
.reel .pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 0.9s var(--ease), filter 0.5s; }
.reel:hover .pic img { transform: scale(1.05); filter: grayscale(0); }
.reel .meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 0.7rem; }
.reel .meta .tier { font-family: var(--body); font-weight: 800; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); }
.reel h3 { font-size: 1.35rem; margin: 0.2rem 0 0; }
.reel .rn { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.4rem; }

/* ===================== HOME 4 · GALLERY WALL (asymmetric frames) ===================== */
.wall { position: relative; columns: 3; column-gap: 1.6rem; }
.plate2 { break-inside: avoid; margin-bottom: 1.6rem; border: 1px solid var(--ink); padding: 7px; background: var(--paper); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.plate2:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plate2 img { width: 100%; object-fit: cover; filter: sepia(0.1) contrast(1.02); }
.plate2 figcaption { padding: 0.7rem 0.3rem 0.2rem; }
.plate2 figcaption .cn { font-family: var(--body); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.plate2 figcaption h4 { font-family: var(--disp); font-weight: 500; font-size: 1.15rem; margin: 0.15rem 0 0; }
.plate2 figcaption p { font-size: 0.86rem; color: var(--ink-soft); margin: 0.2rem 0 0; }
.plate2.tall img { aspect-ratio: 3/4.4; }

/* ===================== HOME 5 · MANIFESTO (wine pull-quote) ===================== */
.manifesto { background: var(--wine); color: var(--paper); text-align: center; }
.manifesto .q { font-family: var(--disp); font-weight: 400; font-size: clamp(1.7rem, 4.4vw, 3.2rem); line-height: 1.22; max-width: 22ch; margin: 1.4rem auto 0; }
.manifesto .q em { color: var(--brass-2); font-style: italic; }
.manifesto .attr { margin-top: 2rem; font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243,238,227,0.7); }
.manifesto .mono { width: 44px; height: 44px; border: 1px solid rgba(243,238,227,0.4); border-radius: 50%; display: grid; place-items: center; margin: 0 auto; font-family: var(--disp); font-style: italic; }

/* ===================== HOME 6 · FIELD NOTES (drop-cap + rail) ===================== */
.notes { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.notes-body h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 500; }
.notes-body .col { column-count: 2; column-gap: 2rem; margin-top: 1.4rem; }
.notes-body .col p { margin: 0 0 1rem; color: var(--ink-soft); }
.notes-body .col p:first-child::first-letter { font-family: var(--disp); font-weight: 500; font-size: 3.4em; line-height: 0.72; float: left; padding: 0.08em 0.1em 0 0; color: var(--wine); }
.rail { border-top: 3px solid var(--ink); }
.rail .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.rail .row .n { font-family: var(--disp); font-weight: 500; font-size: 2rem; }
.rail .row .n .u { color: var(--brass); font-size: 0.55em; font-style: italic; }
.rail .row .k { font-family: var(--body); font-size: 0.82rem; color: var(--ink-soft); text-align: right; max-width: 16ch; }

/* ===================== HOME 7 · ATMOSPHERES (offset trio) ===================== */
.atmos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.atmo { position: relative; }
.atmo:nth-child(2) { transform: translateY(2.4rem); }
.atmo:nth-child(3) { transform: translateY(-1.4rem); }
.atmo .pic { overflow: hidden; border: 1px solid var(--ink); aspect-ratio: 4/5; }
.atmo .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.atmo:hover .pic img { transform: scale(1.05); }
.atmo .lab { padding-top: 0.8rem; }
.atmo .lab .cn { font-family: var(--body); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wine); }
.atmo .lab h3 { font-size: 1.5rem; margin: 0.2rem 0 0.3rem; }
.atmo .lab p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ===================== HOME 8 · ENQUIRIES (definition list) ===================== */
.enq { max-width: 900px; margin-inline: auto; }
.dl { border-top: 1px solid var(--ink); }
.dl details { border-bottom: 1px solid var(--line); }
.dl summary { list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; font-family: var(--disp); font-size: 1.3rem; }
.dl summary::-webkit-details-marker { display: none; }
.dl summary .mk { font-family: var(--body); font-weight: 300; font-size: 1.6rem; color: var(--wine); transition: transform 0.3s; }
.dl details[open] summary .mk { transform: rotate(45deg); }
.dl .ans { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 66ch; }

/* ===================== FOOTER ===================== */
.colophon { border-top: 3px solid var(--ink); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; }
.colo-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.colo-top .about p { color: var(--ink-soft); max-width: 34ch; font-size: 0.92rem; margin: 1rem 0; }
.colo-top h5 { font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0.9rem; }
.colo-top a { display: block; color: var(--ink-soft); font-size: 0.92rem; padding: 0.28rem 0; transition: 0.25s; }
.colo-top a:hover { color: var(--wine); }
.colo-mark { font-family: var(--disp); font-size: clamp(3rem, 12vw, 9rem); font-weight: 500; letter-spacing: 0.01em; margin: 2.5rem 0 0; line-height: 0.9; }
.colo-mark em { font-style: italic; color: var(--wine); }
.colo-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; margin-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.82rem; }
.quills { display: flex; gap: 0.5rem; }
.quills a { width: 36px; height: 36px; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.quills a:hover { border-color: var(--wine); color: var(--wine); }
.quills svg { width: 16px; height: 16px; }

/* ===================== INNER PAGE HEADER ===================== */
.dept { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--ink); }
.dept .kick { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dept .crumb { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.dept .crumb a:hover { color: var(--wine); }
.dept h1 { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 500; margin: 1.2rem 0 0; }
.dept h1 em { font-style: italic; color: var(--wine); }
.dept .lead { color: var(--ink-soft); max-width: 58ch; font-size: 1.14rem; margin: 1.1rem 0 0; }

/* CATALOGUE (consoles) — spec sheets */
.spec { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2.5rem,5vw,4rem) 0; border-bottom: 1px solid var(--line); }
.spec:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.spec:nth-child(even) .spec-media { order: 2; }
.spec-media { border: 1px solid var(--ink); padding: 7px; background: var(--paper); }
.spec-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; filter: sepia(0.1); }
.spec .no { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.3rem; }
.spec h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin: 0.2rem 0 0.5rem; }
.spec p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.spec .lines { border-top: 1px solid var(--line); }
.spec .lines .li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec .lines .li b { font-family: var(--disp); font-weight: 500; }
.spec .lines .li .v { color: var(--wine); font-weight: 700; }

/* INDEX (games) — printed list with thumbs */
.ledger { border-top: 3px solid var(--ink); }
.entry { display: grid; grid-template-columns: 56px 84px 1fr auto; gap: 1.4rem; align-items: center; padding: 1rem 0.4rem; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.entry:hover { background: var(--paper-2); }
.entry .idx { font-family: var(--disp); font-style: italic; font-size: 1.3rem; color: var(--brass); }
.entry .th { width: 84px; height: 56px; overflow: hidden; border: 1px solid var(--ink); }
.entry .th img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: 0.5s; }
.entry:hover .th img { filter: grayscale(0); }
.entry h3 { font-family: var(--disp); font-weight: 500; font-size: 1.3rem; margin: 0; }
.entry .gm { font-size: 0.84rem; color: var(--ink-soft); }
.entry .sc { font-family: var(--disp); font-weight: 500; font-size: 1.6rem; }
.entry .sc .u { color: var(--brass); font-size: 0.6em; font-style: italic; }

/* PLATES (universe) — large editorial plates */
.bigplate { position: relative; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.bigplate:last-child { margin-bottom: 0; }
.bigplate .pic { border: 1px solid var(--ink); padding: 9px; background: var(--paper); box-shadow: var(--shadow); }
.bigplate .pic img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: sepia(0.08); }
.bigplate .cap { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: baseline; margin-top: 1rem; }
.bigplate .cap .no { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.4rem; }
.bigplate .cap h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); margin: 0; }
.bigplate .cap p { color: var(--ink-soft); grid-column: 2; max-width: 60ch; margin: 0.3rem 0 0; }
.bigplate .cap .tag { font-family: var(--body); font-weight: 800; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); }

/* VERDICTS (reviews) */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.feature .pic { border: 1px solid var(--ink); padding: 8px; background: var(--paper); }
.feature .pic img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: sepia(0.1); }
.verdict { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.verdict:first-of-type { border-top: 1px solid var(--ink); }
.verdict .rank { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.2rem; }
.verdict h3 { font-family: var(--disp); font-weight: 500; font-size: 1.4rem; margin: 0 0 0.15rem; }
.verdict p { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
.verdict .sc { font-family: var(--disp); font-weight: 500; font-size: 2.2rem; }
.verdict .sc .u { color: var(--wine); font-size: 0.45em; font-style: italic; }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.scale .cell { padding: 1.6rem; border-right: 1px solid var(--line); }
.scale .cell:last-child { border-right: 0; }
.scale .cell .g { font-family: var(--disp); font-weight: 500; font-size: 1.8rem; }
.scale .cell .d { color: var(--ink-soft); font-size: 0.86rem; margin-top: 0.2rem; }

/* about pair */
.pair { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.pair-media { border: 1px solid var(--ink); padding: 8px; background: var(--paper); }
.pair-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: sepia(0.1); }
.checks { display: grid; gap: 0.8rem; margin-top: 1.4rem; }
.checks li { display: flex; gap: 0.7rem; color: var(--ink-soft); }
.checks .b { color: var(--wine); font-family: var(--disp); font-style: italic; }
.tenets { border-top: 1px solid var(--ink); margin-top: 1rem; }
.tenets .li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.tenets .li .no { font-family: var(--disp); font-style: italic; color: var(--brass); font-size: 1.4rem; }
.tenets .li h3 { font-size: 1.4rem; margin: 0 0 0.2rem; }
.tenets .li p { color: var(--ink-soft); margin: 0; }

/* prose */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: none; padding-left: 0; display: grid; gap: 0.5rem; margin: 1rem 0; }
.prose ul li { padding-left: 1.3rem; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--wine); }
.prose a { color: var(--wine); border-bottom: 1px solid var(--wine); }
.prose .stamp { color: var(--ink-faint); font-size: 0.9rem; font-style: italic; font-family: var(--disp); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select { width: 100%; padding: 0.85rem 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--disp); font-size: 1.05rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--wine); }
.field textarea { min-height: 120px; resize: vertical; }
.cinfo .li { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.cinfo .li:first-child { border-top: 1px solid var(--ink); }
.cinfo .k { font-family: var(--body); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.cinfo .v { font-family: var(--disp); font-size: 1.4rem; margin-top: 0.2rem; }

/* Reveal */
[data-fade] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-fade].shown { opacity: 1; transform: none; }
[data-fade][data-s="1"] { transition-delay: 0.08s; }
[data-fade][data-s="2"] { transition-delay: 0.16s; }
[data-fade][data-s="3"] { transition-delay: 0.24s; }

/* back-to-top */
#totop { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(16px); transition: 0.4s var(--ease); z-index: 90; }
#totop:hover { background: var(--wine); color: var(--paper); border-color: var(--wine); }
#totop.show { opacity: 1; pointer-events: auto; transform: none; }
#totop svg { width: 18px; height: 18px; }

/* cookie */
#cookie { position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 150; max-width: 540px; margin-inline: auto; padding: 1.3rem 1.5rem; background: var(--ink); color: var(--paper); box-shadow: var(--shadow); display: none; }
#cookie.show { display: block; }
#cookie p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(243,238,227,0.8); }
#cookie a { color: var(--brass-2); }
#cookie .row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
#cookie .ink-btn.fill { background: var(--paper); color: var(--ink); border-color: var(--paper); }
#cookie .ink-btn.fill:hover { background: var(--brass-2); border-color: var(--brass-2); }
#cookie .ink-btn.hollow { color: var(--paper); border-color: rgba(243,238,227,0.5); }
#cookie .ink-btn.hollow:hover { background: rgba(243,238,227,0.12); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .wall { columns: 2; }
  .toc { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .colo-top { grid-template-columns: 1fr 1fr; }
  .scale { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mast-left, .mast-right { display: none; }
  .mast-top { grid-template-columns: auto 1fr auto; }
  .wordmark { justify-self: start; }
  .burger { display: block; }
  .lede-grid, .spec, .spec:nth-child(even), .feature, .pair, .contact-grid { grid-template-columns: 1fr; }
  .spec:nth-child(even) .spec-media { order: 0; }
  .lede-media { max-width: 340px; }
  .wall { columns: 1; }
  .atmos { grid-template-columns: 1fr; }
  .atmo:nth-child(2), .atmo:nth-child(3) { transform: none; }
  .notes-body .col { column-count: 1; }
  .scale { grid-template-columns: 1fr; }
  .scale .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .colo-top { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 40px 1fr auto; }
  .entry .th { display: none; }
  .bigplate .cap { grid-template-columns: 1fr; }
  .bigplate .cap p { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-fade] { opacity: 1; transform: none; }
  .atmo:nth-child(2), .atmo:nth-child(3), .lede-media .plate { transform: none; }
}
