/* ═══════════════════════════════════════════════════════════════════════════
   THE DOUBLE ENTRY — ISSUE 001
   A speculative refresh of Gemini, set as a printed financial journal.
   Designed & written by Dexter Barrett, Autumn MMXXVI.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── 00 — TOKENS ─────────────────────────────────────────────────────────── */

:root {
  /* ink & paper */
  --paper:        #F1EBDD;
  --paper-warm:   #EDE2CC;
  --paper-edge:   #E4DAC2;
  --ink:          #14100C;
  --ink-soft:     #2A241C;
  --muted:        #6B5E4B;
  --rule:         rgba(20,16,12,0.22);
  --rule-strong:  rgba(20,16,12,0.55);

  /* accents */
  --red:          #B4241A;
  --green:        #1F5638;
  --blue:         #1D2E5C;
  --hi:           #E8C24A;

  /* type */
  --display:      "Fraunces", "Times New Roman", serif;
  --body:         "Newsreader", "Georgia", serif;
  --mono:         "JetBrains Mono", ui-monospace, monospace;

  /* rhythm */
  --baseline: 24px;
  --gutter: 24px;
  --margin: clamp(20px, 4vw, 72px);

  /* type scale (magazine) */
  --t-nameplate: clamp(96px, 17vw, 260px);
  --t-chapter:   clamp(48px, 8.5vw, 132px);
  --t-huge:      clamp(60px, 10vw, 168px);
  --t-h2:        clamp(36px, 5vw, 72px);
  --t-h3:        clamp(24px, 3vw, 40px);
  --t-h4:        clamp(20px, 2vw, 28px);
  --t-deck:      clamp(17px, 1.3vw, 22px);
  --t-body:      17px;
  --t-cap:       13px;
  --t-micro:     10px;
}


/* ── 01 — RESET & BASE ───────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  overflow-x: hidden;

  /* subtle paper vignette so the ground doesn't sit flat */
  background-image:
    radial-gradient(ellipse at top left, rgba(20,16,12,0.03), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(20,16,12,0.04), transparent 55%);
}

::selection { background: var(--ink); color: var(--paper); }

a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

img { display: block; max-width: 100%; }

em { font-style: italic; }


/* ── 02 — GRAIN OVERLAY ──────────────────────────────────────────────────── */

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.55;
  mix-blend-mode: multiply;
}


/* ── 03 — RUNNING HEAD (top bar) ─────────────────────────────────────────── */

.running-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px var(--margin);
  background: var(--paper);
  border-bottom: 0.5px solid var(--rule);
  backdrop-filter: blur(6px);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
}
.rh-right { justify-self: end; }
.rh-center { text-align: center; }
.rh-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

/* return-to-annual chip in the running head — always visible */
.rh-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 6px;
  border: 0.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  white-space: nowrap;
}
.rh-return .mono-micro { color: var(--paper); letter-spacing: 0.14em; }
.rh-return .rh-arr {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.2s;
}
.rh-return .rh-amp {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 400;
  font-size: 12px;
  padding: 0 1px;
}
.rh-return:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.rh-return:hover .mono-micro { color: var(--paper); }
.rh-return:hover .rh-arr { transform: translateX(-3px); }


/* ── 04 — TICKER ─────────────────────────────────────────────────────────── */

.ticker {
  position: fixed;
  top: 33px;
  left: 0;
  right: 0;
  z-index: 89;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 0;
  border-bottom: 0.5px solid var(--rule);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  animation: tick 90s linear infinite;
  will-change: transform;
}
.tick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tick b { font-weight: 700; letter-spacing: 0.08em; opacity: 0.85; }
.tick em { font-style: normal; }
.tick .up   { color: #7ec295; }
.tick .down { color: #d97569; }
.tick .flat { color: rgba(241,235,221,0.45); }
@keyframes tick { to { transform: translateX(-50%); } }


/* ── 05 — MAIN & FOLIO LAYOUT ────────────────────────────────────────────── */

main { padding-top: 66px; } /* clear running-head + ticker */

.folio {
  position: relative;
  padding: clamp(56px, 8vw, 128px) var(--margin) clamp(72px, 10vw, 160px);
  border-bottom: 0.5px solid var(--rule);
  scroll-margin-top: 72px; /* clears the fixed running head + ticker */
}

/* section corner labels — folio number + section title */
.folio::before,
.folio::after {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.folio::before {
  content: "FOLIO " attr(data-folio);
  top: 20px;
  left: var(--margin);
}
.folio::after {
  content: attr(data-section);
  top: 20px;
  right: var(--margin);
}


/* ── 06 — TYPOGRAPHY UTILITIES ───────────────────────────────────────────── */

.mono, .mono-micro {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  font-feature-settings: "tnum" 1;
}
.mono-micro {
  font-size: var(--t-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.mono-micro.dim { color: var(--muted); }

.small-caps {
  font-family: var(--body);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.highlight {
  background: linear-gradient(to top, var(--hi) 42%, transparent 42%);
  padding: 0 0.15em;
}


/* ── 07 — SECTION HEADS (running band above each chapter) ────────────────── */

.section-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1.5px solid var(--ink);
}
.sh-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding: 2px 6px;
  background: var(--ink);
  color: var(--paper);
}
.sh-title {
  font-family: var(--display);
  font-size: var(--t-h4);
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 500;
  letter-spacing: -0.01em;
}
.sh-rule {
  height: 0.5px;
  background: var(--rule);
}
.sh-meta {
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}


/* ── 08 — CHAPTER TITLE ──────────────────────────────────────────────────── */

.chapter-title {
  font-family: var(--display);
  font-size: var(--t-chapter);
  line-height: 0.92;
  letter-spacing: -0.028em;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 600;
  margin-bottom: 48px;
  max-width: 18ch;
}
.chapter-title em {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
  color: var(--ink);
}
.chapter-title.tight { max-width: 16ch; }


/* ── 09 — DECK / LEDE ────────────────────────────────────────────────────── */

.deck {
  font-family: var(--display);
  font-size: var(--t-deck);
  line-height: 1.35;
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 400;
  color: var(--ink-soft);
  max-width: 40ch;
}
.deck.full { max-width: 62ch; margin-bottom: 48px; }
.deck.align-right { text-align: right; }


/* ── 10 — DROPCAP ────────────────────────────────────────────────────────── */

.dropcap {
  font-family: var(--display);
  font-size: 6.5em;
  line-height: 0.82;
  float: left;
  padding: 0.02em 0.1em 0 0;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  color: var(--ink);
}
.dropcap.alt { color: var(--red); font-size: 5.5em; }


/* ══════════════════════════════════════════════════════════════════════════
   § 00 — MASTHEAD
   ═════════════════════════════════════════════════════════════════════════ */

#masthead { padding-top: clamp(72px, 10vw, 148px); }

.cover-topline {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.rule-thick {
  height: 4px;
  background: var(--ink);
  position: relative;
}
.rule-thick::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
}

.nameplate {
  font-family: var(--display);
  font-size: var(--t-nameplate);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  text-align: left;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.np-line { display: block; }
.np-line em {
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
}
.np-line[data-line="2"] {
  padding-left: 12%;
  color: var(--ink-soft);
}

.cover-deck {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.deck-center {
  align-self: center;
}
.ornament { display: flex; justify-content: center; }
.dbl-mark {
  width: clamp(120px, 12vw, 200px);
  aspect-ratio: 1;
  color: var(--ink);
}

/* Contents / ToC — dot leaders */
.cover-toc { margin-bottom: clamp(56px, 8vw, 120px); }
.toc-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.rule-hair {
  height: 0.5px;
  background: var(--ink);
  align-self: center;
}
.rule-hair.grow { align-self: center; }

.toc { list-style: none; }
.toc li { border-bottom: 0.5px dotted var(--rule); }
.toc li > a {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 12px;
  align-items: baseline;
  padding: 10px 4px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(17px, 1.6vw, 22px);
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 500;
  transition: background 0.15s, color 0.15s, padding 0.15s;
}
.toc li > a:hover {
  background: var(--ink);
  color: var(--paper);
  padding-inline: 12px;
}
.toc li > a:hover .num,
.toc li > a:hover .page { color: var(--paper); }
.toc li > a:hover .name { color: var(--hi); }
.toc li > a:hover .dots { border-bottom-color: var(--paper); }
.toc .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.15s;
}
.toc .name { transition: color 0.15s; }
.toc .name em {
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 400;
}
.toc .dots {
  border-bottom: 1px dotted var(--rule-strong);
  min-width: 40px;
  transition: border-color 0.15s;
}
.toc .page {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  padding: 2px 6px;
  border: 0.5px solid var(--rule);
  transition: color 0.15s, border-color 0.15s;
}
.toc li > a:hover .page {
  border-color: var(--paper);
}

/* Cover footer */
.cover-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-top: 20px;
  border-top: 1.5px solid var(--ink);
  align-items: start;
}
.cf-center { text-align: center; }
.cf-right { text-align: right; }


/* ══════════════════════════════════════════════════════════════════════════
   § 01 — THESIS / EDITOR'S NOTE
   ═════════════════════════════════════════════════════════════════════════ */

.editors-note {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  column-gap: clamp(32px, 4vw, 64px);
  position: relative;
}
.two-col::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.5px;
  background: var(--rule);
}
.two-col .col p {
  margin-bottom: 1em;
  hyphens: auto;
  text-align: justify;
  text-wrap: pretty;
}
.two-col .col p:first-child { text-indent: 0; }
.two-col .col p + p { text-indent: 1.4em; }

.signature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule);
  max-width: 500px;
}
.sig-mark svg {
  width: 220px;
  height: 66px;
  color: var(--ink);
}
.sig-name {
  font-family: var(--display);
  font-size: 26px;
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 500;
}
.sig-role { margin-top: 2px; }


/* ══════════════════════════════════════════════════════════════════════════
   § 02 — DIAGNOSIS
   ═════════════════════════════════════════════════════════════════════════ */

.crypto-audit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.audit-tile {
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 20px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  transition: background 0.2s;
}
.audit-tile:hover { background: rgba(20,16,12,0.03); }
.audit-swatch {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--a), var(--b));
  position: relative;
}
.audit-swatch::after {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 60px;
  color: rgba(241,235,221,0.85);
  font-weight: 300;
}
.audit-label { padding-top: 2px; }
.audit-name {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 500;
  margin: 8px 0 6px;
}
.audit-count { color: var(--muted); }

.pull-quote {
  margin: clamp(48px, 6vw, 96px) auto;
  max-width: 32ch;
  text-align: left;
  position: relative;
  padding: 0 24px;
}
.quote-open, .quote-close {
  font-family: var(--display);
  font-size: 160px;
  line-height: 0.5;
  color: var(--red);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
  display: block;
}
.quote-open { text-align: left; margin-left: -0.3em; }
.quote-close { text-align: right; margin-right: -0.3em; }
.pull-quote p {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 500;
  padding: 8px 0;
}
.pull-quote em {
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 400;
}

.side-head {
  font-family: var(--display);
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 600;
}


/* ══════════════════════════════════════════════════════════════════════════
   § 03 — POSITIONING
   ═════════════════════════════════════════════════════════════════════════ */

.position-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0;
  border-top: 1.5px solid var(--ink);
  border-left: 0.5px solid var(--rule);
}
.position-cell {
  padding: clamp(20px, 2.5vw, 32px);
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.position-cell.tall {
  grid-row: span 2;
  background: var(--ink);
  color: var(--paper);
  border-right-color: var(--paper);
  min-height: 480px;
  justify-content: space-between;
}
.position-cell.tall .mono-micro { color: rgba(241,235,221,0.7); }
.position-hd {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 0.94;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 600;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.position-hd em {
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  color: var(--hi);
}
.position-cell h4 {
  font-family: var(--display);
  font-size: 22px;
  font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 600;
  line-height: 1.1;
  margin-top: 4px;
}
.voice-list {
  list-style: none;
  padding: 0;
}
.voice-list li {
  padding: 8px 0 8px 20px;
  border-bottom: 0.5px dotted var(--rule);
  font-size: 15px;
  position: relative;
}
.voice-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--mono);
}
.voice-list.dont li::before {
  content: "×";
  color: var(--red);
}


/* ══════════════════════════════════════════════════════════════════════════
   § 04 — TYPE SPECIMENS
   ═════════════════════════════════════════════════════════════════════════ */

.type-section { background: var(--paper-warm); }

.specimen-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--rule);
}
.spec-legend { max-width: 44ch; padding-bottom: 8px; }
.spec-legend p { font-size: 16px; }

.specimen {
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 0.5px solid var(--rule);
}
.specimen.alt { background: var(--paper); margin: 0 calc(-1 * var(--margin)); padding-inline: var(--margin); }
.spec-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.spec-mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  padding: 24px 0;
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: 32px;
}
.mega-char {
  font-family: var(--display);
  font-size: clamp(180px, 30vw, 480px);
  line-height: 0.82;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  color: var(--ink);
  text-align: center;
  display: block;
  transition: font-variation-settings 0.6s;
}
.mega-char.italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
  color: var(--red);
}
.spec-mega:hover .mega-char {
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 900;
}
.spec-mega:hover .mega-char.italic {
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
}

.spec-scale {
  border-top: 1px solid var(--ink);
  margin-bottom: 24px;
}
.scale-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--rule);
  align-items: baseline;
}
.scale-row .mono-micro { padding-top: 8px; }
.scale-sample {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.s144 { font-size: clamp(56px, 8vw, 132px); font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700; }
.s72  { font-size: clamp(38px, 5vw, 72px); }
.s42  { font-size: clamp(26px, 3vw, 42px); font-style: italic; font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 400; }
.s24  { font-size: clamp(18px, 1.8vw, 24px); font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 400; }

.spec-notes { padding-top: 16px; }
.spec-notes p { font-size: 15px; }

.spec-newsreader {
  columns: 2;
  column-gap: clamp(32px, 4vw, 64px);
  column-rule: 0.5px solid var(--rule);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
.spec-newsreader p { break-inside: avoid; margin-bottom: 1em; }
.spec-newsreader .dropcap { font-size: 4.2em; }

.spec-mono {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(24px, 3vw, 40px);
  font-family: var(--mono);
  font-size: 18px;
  border-radius: 0;
}
.mono-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(241,235,221,0.15);
  align-items: baseline;
}
.mono-row:last-child { border-bottom: none; }
.mono-lbl { color: rgba(241,235,221,0.6); font-size: 13px; letter-spacing: 0.06em; }
.mono-val {
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 500;
}
.mono-chg {
  font-family: var(--mono);
  font-size: 13px;
  padding: 2px 8px;
}
.mono-chg.up { color: #a8e6bd; border-left: 2px solid #7ec295; }
.mono-chg.down { color: #f2b5ac; border-left: 2px solid #d97569; }
.mono-chg.flat { color: rgba(241,235,221,0.5); border-left: 2px solid rgba(241,235,221,0.3); }
.spec-tinynote { margin-top: 12px; color: var(--muted); }


/* ══════════════════════════════════════════════════════════════════════════
   § 05 — COLOUR
   ═════════════════════════════════════════════════════════════════════════ */

.palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  margin: clamp(32px, 4vw, 64px) 0;
}
.swatch {
  background: var(--c);
  color: var(--t);
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 32px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.3s;
}
.swatch:hover { transform: translateY(-2px); }
.swatch.dark { color: var(--t); }
.swatch.dark .mono-micro { color: rgba(241,235,221,0.7); }
.sw-role { opacity: 0.75; margin-bottom: 24px; display: block; }
.sw-name {
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 500;
  margin-bottom: 8px;
}
.sw-hex { font-size: 15px; letter-spacing: 0.1em; }
.sw-foot {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 0.5px solid currentColor;
  opacity: 0.75;
  font-size: 9px;
}

.palette-note {
  padding: 24px;
  border: 1.5px solid var(--ink);
  border-top-width: 0;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.palette-note .mono-micro { color: rgba(241,235,221,0.7); }
.palette-note p { font-family: var(--body); font-style: italic; font-size: 17px; max-width: 60ch; }


/* ══════════════════════════════════════════════════════════════════════════
   § 06 — MARK
   ═════════════════════════════════════════════════════════════════════════ */

.mark-primary { margin-bottom: clamp(48px, 6vw, 80px); }
.mark-frame {
  position: relative;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px);
  border: 1.5px solid var(--ink);
  background: var(--paper-warm);
}
.mark-frame .tl { position: absolute; top: 12px; left: 16px; color: var(--muted); }
.mark-frame .br { position: absolute; bottom: 12px; right: 16px; color: var(--muted); }

.wordmark-primary { text-align: center; }
.wm-topline { display: block; margin-bottom: 12px; letter-spacing: 0.28em; }
.wm-baseline { display: block; margin-top: 12px; letter-spacing: 0.24em; }
.wm-rule { height: 1.5px; background: var(--ink); max-width: 640px; margin: 0 auto; }
.wm-title {
  font-family: var(--display);
  font-size: clamp(64px, 12vw, 200px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  padding: 20px 0;
}
.wm-title.small { font-size: clamp(40px, 6vw, 96px); padding: 12px 0; }

.mark-alt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 0.5px solid var(--rule);
  border-left: 0.5px solid var(--rule);
}
.mark-cell {
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 32px 20px;
  min-height: 280px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  transition: background 0.2s;
}
.mark-cell:hover { background: var(--paper-edge); }

.wordmark-stacked {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.88;
  font-variation-settings: "opsz" 96, "SOFT" 0, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
  text-align: center;
}
.wordmark-monogram { align-self: center; display: grid; place-items: center; }
.wordmark-monogram svg { width: 80%; max-width: 220px; color: var(--ink); }

.wordmark-ticker {
  align-self: center;
  text-align: center;
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  margin: 20px 0;
}
.wt-lbl { display: block; font-size: 11px; letter-spacing: 0.24em; color: rgba(241,235,221,0.7); margin-bottom: 8px; }
.wt-val {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.wordmark-moon { align-self: center; display: grid; place-items: center; }
.wordmark-moon svg { width: 60%; max-width: 160px; color: var(--ink); }

.mark-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--ink);
}
.mr-cell {
  padding: 24px;
  border-right: 0.5px solid var(--rule);
}
.mr-cell:last-child { border-right: none; }
.mr-cell p { margin-top: 12px; font-size: 15px; }


/* ══════════════════════════════════════════════════════════════════════════
   § 07 — GRID
   ═════════════════════════════════════════════════════════════════════════ */

.grid-demo {
  position: relative;
  padding: clamp(32px, 4vw, 56px) 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.grid-cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  pointer-events: none;
  z-index: 0;
}
.grid-cols span {
  border-right: 0.5px dashed var(--rule);
}
.grid-cols span:last-child { border-right: none; }

.grid-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.gd-eyebrow { grid-column: 1 / span 12; margin-bottom: 24px; }
.gd-title {
  grid-column: 2 / span 8;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.gd-body {
  grid-column: 2 / span 6;
  font-size: 17px;
  padding-block: 8px;
}
.gd-marginalia {
  grid-column: 9 / span 4;
  padding: 20px;
  background: var(--paper-warm);
  border-top: 3px solid var(--hi);
  align-self: start;
}
.gd-marginalia p { font-size: 14px; font-style: italic; margin-top: 8px; }


/* ══════════════════════════════════════════════════════════════════════════
   § 08 — SOCIAL
   ═════════════════════════════════════════════════════════════════════════ */

.social-section { background: var(--paper-warm); }

.ig-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Instagram grid */
.ig-frame { margin-bottom: clamp(56px, 8vw, 96px); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
  padding: 2px;
  max-width: 900px;
  margin: 0 auto;
}
.ig-post {
  aspect-ratio: 1;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s;
}
.ig-post:hover { transform: scale(0.99); }
.ig-post.dark { background: var(--ink); color: var(--paper); }
.ig-post.red { background: var(--red); color: var(--paper); }
.ig-post.green { background: var(--green); color: var(--paper); }
.ig-post.dark .mono-micro,
.ig-post.red .mono-micro,
.ig-post.green .mono-micro { color: rgba(241,235,221,0.8); }

.post-inner {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.post-corner.tl { justify-self: start; align-self: start; }
.post-corner.br { justify-self: end; align-self: end; text-align: right; }

.post-huge {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.9;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
  justify-self: start;
  padding-top: 12px;
}
.post-sub {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  align-self: end;
  justify-self: start;
  padding-bottom: 4px;
}
.post-sub .up { color: var(--green); font-weight: bold; }

.post-quote {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.1;
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 400;
  align-self: center;
  justify-self: start;
}

.post-receipt {
  font-family: var(--mono);
  font-size: 11px;
  align-self: center;
  justify-self: stretch;
  padding: 8px 0;
}
.rr-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 0.5px dotted var(--rule);
}
.rr-row.rule {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 6px;
  padding: 6px 0;
  font-weight: 700;
}
.rr-hash { padding-top: 8px; font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }

.post-head {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 600;
  align-self: center;
  justify-self: start;
}

.post-chart {
  width: 100%;
  height: auto;
  align-self: center;
  color: var(--ink);
}

.post-announce {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 0.98;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 700;
  letter-spacing: -0.02em;
  align-self: center;
  justify-self: start;
}

.post-margin p {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  line-height: 1.35;
  align-self: center;
  padding: 4px 0;
}
.hi {
  background: linear-gradient(to top, var(--hi) 42%, transparent 42%);
  padding: 0 0.15em;
  font-style: normal;
  color: var(--ink);
}

.post-mark { align-self: center; justify-self: center; }
.post-mark svg { width: 100px; color: var(--paper); }

.post-campaign {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.88;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
  justify-self: start;
}
.post-campaign em {
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  color: var(--red);
}

/* Stories */
.stories-frame { margin-bottom: clamp(56px, 8vw, 96px); }
.stories-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.story {
  aspect-ratio: 9 / 16;
  background: var(--paper);
  padding: 16px 12px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 0.5px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.story.dark { background: var(--ink); color: var(--paper); }
.story.red  { background: var(--red);  color: var(--paper); }
.story.green{ background: var(--green);color: var(--paper); }
.story.dark .mono-micro, .story.red .mono-micro, .story.green .mono-micro { color: rgba(241,235,221,0.75); }
.story-eye { align-self: start; }
.story-body {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.05;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 600;
  align-self: center;
  letter-spacing: -0.01em;
}
.story-body em { font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 400; }
.story-body.number {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 64px);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
}
.story-sub {
  font-family: var(--mono);
  font-size: 11px;
  padding-top: 8px;
}
.story-sub .up { color: #7ec295; }
.story-foot { align-self: end; letter-spacing: 0.14em; }

.story-checklist { align-self: center; display: grid; gap: 8px; }
.chk {
  font-family: var(--display);
  font-size: 15px;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 0.5px dotted var(--rule);
}
.chk span { font-family: var(--mono); font-size: 12px; color: var(--green); }
.chk.pending span { color: var(--hi); }

.por-num {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  line-height: 1;
  margin-bottom: 8px;
}
.por-lbl {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
}

/* X / Twitter */
.x-frame { margin-bottom: clamp(56px, 8vw, 96px); }
.x-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.x-post {
  background: var(--paper);
  border: 0.5px solid var(--rule);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.x-head { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.x-avatar {
  width: 40px;
  height: 40px;
  background: var(--ink);
  border-radius: 50%;
  position: relative;
}
.x-avatar::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  top: 8px; left: 8px;
  background: var(--paper);
  border-radius: 50%;
  clip-path: circle(50% at 70% 50%);
}
.x-name strong { font-family: var(--display); font-variation-settings: "opsz" 24, "SOFT" 30, "wght" 700; font-size: 16px; }
.x-body p { font-size: 16px; margin-bottom: 8px; line-height: 1.45; }
.x-body ol { padding-left: 20px; margin: 8px 0 12px; }
.x-body ol li { font-size: 16px; padding: 3px 0; }
.x-foot { padding-top: 8px; border-top: 0.5px solid var(--rule); }


/* ══════════════════════════════════════════════════════════════════════════
   § 09 — CAMPAIGN: MADE PUBLIC
   ═════════════════════════════════════════════════════════════════════════ */

.campaign-section { background: var(--paper); }

.campaign-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 0.5px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.cb-right p { margin-bottom: 1em; max-width: 50ch; }

/* Print hero */
.print-hero { margin-bottom: clamp(56px, 8vw, 120px); }
.ph-frame {
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.ph-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 0.5px solid var(--rule);
}
.ph-body { padding: clamp(32px, 5vw, 72px); }
.ph-rule {
  height: 1.5px;
  background: var(--ink);
}
.ph-rule.top { margin-bottom: clamp(24px, 3vw, 40px); }
.ph-rule.mid { margin: clamp(24px, 3vw, 40px) 0; height: 0.5px; }
.ph-rule.bot { margin: clamp(24px, 3vw, 40px) 0; height: 0.5px; }
.ph-headline {
  font-family: var(--display);
  font-size: clamp(90px, 15vw, 260px);
  line-height: 0.86;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  letter-spacing: -0.045em;
  text-align: left;
}
.ph-headline em {
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
  color: var(--red);
  display: block;
  padding-left: 8%;
}
.ph-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  column-rule: 0.5px solid var(--rule);
}
.ph-two > div p { margin-bottom: 1em; font-size: 16px; text-align: justify; hyphens: auto; text-wrap: pretty; }
.ph-two > div p + p { text-indent: 1.4em; }
.ph-lede { font-size: 17px; }
.signoff { font-style: italic; text-align: right; text-indent: 0 !important; margin-top: 8px; }

.ph-foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 12px;
}
.ph-mark { text-align: center; }
.ph-fine { max-width: 40ch; color: var(--muted); text-align: right; justify-self: end; font-style: italic; letter-spacing: 0.05em; text-transform: none; font-size: 10px; }

/* OOH */
.ooh-row { margin-bottom: clamp(56px, 8vw, 120px); }
.ooh-eyebrow {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.ooh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ooh {
  background: #2a251c;
  padding: 24px 24px 12px;
  border: 0.5px solid var(--rule);
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.ooh.dark { background: #1a1712; }
.ooh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), transparent 40%),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(0,0,0,0.05) 40px 41px);
  pointer-events: none;
}
.ooh-scene {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  height: 100%;
}
.ooh-poster {
  background: var(--paper);
  color: var(--ink);
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  min-height: 240px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.35);
}
.ooh-headline {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 0.92;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
}
.ooh-headline em {
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  color: var(--red);
}
.ooh-label {
  color: rgba(241,235,221,0.7);
  padding-top: 8px;
  border-top: 0.5px solid rgba(241,235,221,0.2);
}

/* Film treatment */
.film-treatment {
  padding: clamp(32px, 4vw, 64px);
  background: var(--ink);
  color: var(--paper);
  margin-bottom: clamp(56px, 8vw, 96px);
}
.film-treatment .mono-micro { color: rgba(241,235,221,0.7); }
.ft-eyebrow {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 0.5px solid rgba(241,235,221,0.2);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.ft-body .chapter-title { color: var(--paper); }
.ft-body .chapter-title em { color: var(--hi); }
.ft-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin: clamp(32px, 4vw, 48px) 0;
}
.ft-two p { margin-bottom: 1em; font-size: 16px; }
.ft-two .signoff { color: rgba(241,235,221,0.6); font-style: normal; text-transform: uppercase; letter-spacing: 0.12em; }

.storyboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 0.5px solid rgba(241,235,221,0.2);
}
.sb-frame { display: grid; gap: 10px; }
.sb-scene {
  aspect-ratio: 16 / 9;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border: 0.5px solid rgba(241,235,221,0.2);
}
.sb-scene.dark { background: var(--ink); color: var(--paper); border-color: rgba(241,235,221,0.4); }
.sb-inner { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; }
.sb1 .sb-line {
  width: 80%;
  height: 1.5px;
  background: var(--ink);
}
.sb2 .sb-hash {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}
.sb3 .sb-room {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(20,16,12,0.2) 24px 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(20,16,12,0.2) 24px 25px),
    linear-gradient(180deg, rgba(20,16,12,0.05), rgba(20,16,12,0.15));
}
.sb-title {
  font-family: var(--display);
  font-size: clamp(20px, 2.5vw, 34px);
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  font-style: italic;
  color: var(--hi);
  text-align: center;
}

/* Carousel */
.carousel-frame { margin-bottom: clamp(48px, 6vw, 80px); }
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: var(--rule); }
.carousel::-webkit-scrollbar-thumb { background: var(--ink); }

.ccard {
  flex: 0 0 320px;
  aspect-ratio: 4 / 5;
  padding: 20px;
  border: 0.5px solid var(--rule);
  background: var(--paper);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 12px;
  position: relative;
}
.ccard.dark { background: var(--ink); color: var(--paper); }
.ccard.red { background: var(--red); color: var(--paper); }
.ccard.green { background: var(--green); color: var(--paper); }
.ccard.dark .mono-micro, .ccard.red .mono-micro, .ccard.green .mono-micro { color: rgba(241,235,221,0.75); }

.cc-eye { padding-bottom: 8px; border-bottom: 0.5px solid currentColor; opacity: 0.85; }
.cc-hero {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.88;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
}
.cc-hero em {
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 400;
  color: var(--red);
}
.ccard.red .cc-hero em, .ccard.dark .cc-hero em { color: var(--hi); }

.cc-body {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 400;
  align-self: center;
}

.cc-big {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.92;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 700;
  letter-spacing: -0.03em;
  align-self: center;
}
.cc-big em {
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  color: var(--red);
}
.ccard.green .cc-big em, .ccard.red .cc-big em { color: var(--hi); }

.cc-note {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.85;
}


/* ══════════════════════════════════════════════════════════════════════════
   § 10 — COLOPHON
   ═════════════════════════════════════════════════════════════════════════ */

.colophon { background: var(--paper); }
.colophon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--ink);
  border-left: 0.5px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.col-block {
  padding: 32px 24px;
  border-right: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
.col-block p { margin-top: 12px; font-size: 16px; }

.correspondence {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 40px;
  align-items: center;
}
.corr-block { margin-top: 16px; }
.corr-name {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  font-variation-settings: "opsz" 48, "SOFT" 30, "wght" 700;
  letter-spacing: -0.02em;
}
.corr-role {
  font-family: var(--body);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
}
.corr-list { list-style: none; }
.corr-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 0.5px dotted var(--rule);
  align-items: baseline;
  font-size: 16px;
}
.corr-list .lbl { color: var(--muted); }

.closer {
  display: grid;
  gap: 20px;
  place-items: center;
  padding: 40px 20px;
  border: 1.5px solid var(--ink);
}
.closer-mark { width: 100px; }
.closer-text { text-align: center; line-height: 1.6; letter-spacing: 0.2em; }

.site-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 16px;
  gap: 24px;
}
.sf-center { text-align: center; }
.sf-right  { text-align: right; }
.sf-return {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
.sf-return:hover { color: var(--red); border-color: var(--red); }


/* ══════════════════════════════════════════════════════════════════════════
   RETURN CTA — the unmissable "back to the annual" block that lives
   right before the site footer. Styled like a chapter-end page-turn.
   ═════════════════════════════════════════════════════════════════════════ */

.return-cta {
  display: block;
  margin: clamp(48px, 6vw, 96px) 0 clamp(24px, 3vw, 48px);
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px);
  color: var(--ink);
  text-decoration: none;
  background: var(--paper-warm);
  border-top: 4px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: background 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
              color 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.return-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 0;
}
.return-cta:hover { color: var(--paper); }
.return-cta:hover::after { transform: translateY(0); }
.return-cta:hover .rc-rule { background: var(--paper); }
.return-cta:hover .rc-arrow { color: var(--hi); transform: translateX(-10px); }

.rc-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.rc-eyebrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.rc-rule {
  height: 0.5px;
  background: var(--ink);
  transition: background 0.4s;
}
.return-cta .mono-micro { color: inherit; }

.rc-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.rc-arrow {
  font-family: var(--display);
  font-size: clamp(88px, 12vw, 168px);
  line-height: 0.8;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 300;
  color: var(--red);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s;
  padding-right: 8px;
}

.rc-lines { display: grid; gap: 8px; }

.rc-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  transition: color 0.4s;
}
.return-cta:hover .rc-kicker { color: rgba(241,235,221,0.7); }

.rc-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.98;
  font-variation-settings: "opsz" 96, "SOFT" 30, "wght" 600;
  letter-spacing: -0.02em;
  color: inherit;
}
.rc-title em {
  font-variation-settings: "opsz" 96, "SOFT" 100, "wght" 400;
  color: var(--red);
  transition: color 0.4s;
}
.return-cta:hover .rc-title em { color: var(--hi); }

.rc-sub {
  color: var(--muted);
  transition: color 0.4s;
}
.return-cta:hover .rc-sub { color: rgba(241,235,221,0.7); }


/* ══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═════════════════════════════════════════════════════════════════════════ */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* stagger children */
.stagger > *   { opacity: 0; transform: translateY(12px); transition: opacity 0.6s, transform 0.6s; }
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.10s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.14s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.18s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.22s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.30s; }
.stagger.in > *:nth-child(9) { transition-delay: 0.34s; }


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .rh-center { display: none; }
  .cover-deck { grid-template-columns: 1fr; }
  .deck-right, .deck-center { text-align: left; }
  .deck.align-right { text-align: left; }
  .two-col { grid-template-columns: 1fr; }
  .two-col::before { display: none; }
  .crypto-audit { grid-template-columns: repeat(2, 1fr); }
  .position-grid { grid-template-columns: 1fr; }
  .position-cell.tall { grid-row: auto; min-height: auto; }
  .palette { grid-template-columns: 1fr 1fr; }
  .mark-alt-grid { grid-template-columns: 1fr 1fr; }
  .mark-rules { grid-template-columns: 1fr; }
  .grid-content { grid-template-columns: 1fr; }
  .gd-title, .gd-body, .gd-marginalia { grid-column: 1; }
  .stories-row { grid-template-columns: repeat(2, 1fr); }
  .x-grid { grid-template-columns: 1fr; }
  .ph-two { grid-template-columns: 1fr; }
  .ooh-grid { grid-template-columns: 1fr; }
  .storyboard { grid-template-columns: repeat(2, 1fr); }
  .colophon-grid { grid-template-columns: 1fr; }
  .correspondence { grid-template-columns: 1fr; }
  .spec-mega { grid-template-columns: 1fr; }
  .spec-newsreader { columns: 1; }
  .campaign-brief { grid-template-columns: 1fr; }
  .cover-footer { grid-template-columns: 1fr; gap: 12px; }
  .cf-center, .cf-right { text-align: left; }
  .site-foot { grid-template-columns: 1fr; }
  .sf-center, .sf-right { text-align: left; }
  .running-head { padding: 8px 20px; }
  .ticker { top: 33px; }
}

@media (max-width: 560px) {
  .crypto-audit { grid-template-columns: 1fr; }
  .palette { grid-template-columns: 1fr; }
  .mark-alt-grid { grid-template-columns: 1fr; }
  .stories-row { grid-template-columns: 1fr; }
  .storyboard { grid-template-columns: 1fr; }
  .rh-left > *:not(.rh-return) { display: none; }
  .rh-right .mono-micro:nth-child(n+2) { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════════
   PRINT (yes, this is the point)
   ═════════════════════════════════════════════════════════════════════════ */

@media print {
  .grain, .running-head, .ticker { display: none; }
  body { background: white; }
  .folio { page-break-after: always; }
}
