/* ============================================================
   DATRIX QUARTERLY — V2
   Print publication. Cream paper, burnt sienna ink.
   Fraunces + Newsreader. Asymmetric. Marginalia.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,100..900,0..100,0..1&family=Newsreader:opsz,wght,ital@6..72,200..800,0;6..72,200..800,1&family=DM+Mono:wght@300;400;500&family=DM+Sans:opsz,wght@9..40,400..700&display=swap');

:root {
  /* Paper stock */
  --paper:        #F2EAD8;   /* primary cream */
  --paper-2:      #ECE2CB;   /* slightly cooler cream */
  --paper-deep:   #DFD2B0;   /* darker — for callout panels */
  --paper-soft:   #F8F2E2;   /* lighter — hover states */

  /* Ink */
  --ink:          #14110A;   /* warm near-black (NOT pure black) */
  --ink-2:        #4A4234;
  --ink-3:        #7E7560;
  --ink-faint:    #ADA38A;
  --rule:         #C4B997;

  /* Spot colors — DatRix brand cyan + variants for cream paper */
  --sienna:       #1AB6F0;   /* primary accent — brand cyan (kept token name for compat) */
  --sienna-deep:  #0E7DA8;   /* darker for inline text — meets WCAG on cream */
  --sienna-soft:  #C2E5F4;   /* soft tint — backgrounds */
  --teal:         #084E6E;   /* deepest variant — quiet secondary */
  --gold:         #0E7DA8;   /* unused — aliased to brand-deep */
  --brand:        #1AB6F0;
  --brand-deep:   #0E7DA8;
  --brand-soft:   #C2E5F4;
  --brand-darker: #084E6E;

  /* Type stack */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Newsreader', 'Georgia', serif;
  --sans:    'DM Sans', 'Helvetica Neue', sans-serif;
  --mono:    'DM Mono', 'Courier New', monospace;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --container: 1340px;
  --reading: 640px;       /* body text column */
  --margin-pull: 200px;   /* marginalia pull */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --slow: 0.7s;
  --med:  0.4s;
  --fast: 0.2s;
}

/* ============================================================
   RESET + BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1, "ss01" 1;
  font-variation-settings: "opsz" 16;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain — subtle warm texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(176, 65, 26, 0.04), transparent 60%),
    radial-gradient(ellipse 600px 400px at 80% 90%, rgba(30, 85, 92, 0.04), transparent 60%);
}

/* Paper noise — barely there */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--fast); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--sienna); color: var(--paper); }

/* ============================================================
   TYPOGRAPHY — magazine
   ============================================================ */

/* Display: Fraunces, with WONKY axis on for charm */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 350;
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  color: var(--ink);
}
h1 {
  font-size: clamp(56px, 9.5vw, 168px);
  font-weight: 300;
  letter-spacing: -0.04em;
}
h2 { font-size: clamp(42px, 6vw, 96px); font-weight: 350; }
h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 400; }
h4 { font-size: clamp(20px, 2vw, 26px); font-weight: 450; }

em, .ital { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1; }

/* Body — Newsreader with proper book typography */
p {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  font-variation-settings: "opsz" 18;
  color: var(--ink);
  hanging-punctuation: first last;
}

p + p { text-indent: 1.4em; }       /* book-style paragraph indent */
p.no-indent + p { text-indent: 0; }

/* Drop cap */
.dropcap::first-letter,
.dropcap > p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 6.5em;
  line-height: 0.85;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  float: left;
  margin: 0.05em 0.08em -0.1em 0;
  color: var(--sienna);
}

/* Pull quote */
.pullquote {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  color: var(--sienna);
  padding: 28px 0;
  border-block: 1px solid var(--rule);
  position: relative;
}
.pullquote::before {
  content: '"';
  font-size: 1.4em;
  line-height: 0.5;
  color: var(--sienna);
  font-weight: 300;
  margin-right: 0.05em;
}

/* Folio (publication header/footer numerals) */
.folio {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.folio b { color: var(--ink); font-weight: 500; }

/* Section label — small caps, tracked */
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

/* Caption / marginalia */
.caption,
.margin-note {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  font-variation-settings: "opsz" 12;
}

/* Hairline rule */
hr,
.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 0;
}
.rule--double {
  height: 5px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

/* Inline link with underline */
a.link {
  color: var(--brand-deep);
  border-bottom: 1px solid var(--brand-deep);
  padding-bottom: 1px;
}
a.link:hover { color: var(--sienna-deep); border-color: var(--sienna-deep); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 3;
}

.wrap {
  position: relative;
  z-index: 3;
}

/* ============================================================
   MASTHEAD (top of page — like the publication's nameplate)
   ============================================================ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: padding var(--med);
}
.masthead__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.nameplate {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  line-height: 1;
  color: var(--ink);
}
.nameplate__logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nameplate__rule { color: var(--ink-faint); font-weight: 300; padding: 0 4px; align-self: center; }
.nameplate__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}

.masthead__nav {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.masthead__nav a {
  font-family: var(--body);
  font-size: 16px;
  font-style: italic;
  font-variation-settings: "opsz" 16;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.masthead__nav a:hover { color: var(--sienna); }
.masthead__nav a.active { color: var(--ink); }
.masthead__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--sienna);
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background var(--fast), transform var(--fast);
}
.subscribe-btn:hover { background: var(--sienna); transform: translateY(-1px); }

.burger { display: none; width: 28px; height: 18px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }

/* ============================================================
   FOLIO RAIL — vertical decoration on left edge
   ============================================================ */

.folio-rail {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  z-index: 4;
  pointer-events: none;
  white-space: nowrap;
}
.folio-rail b { color: var(--brand-deep); font-weight: 500; }

/* ============================================================
   COVER (homepage hero)
   ============================================================ */

.cover {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

/* Cover header strip — issue / date / barcode style */
.cover__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
}
.cover__header-left { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.cover__header-left b { color: var(--ink); font-weight: 500; }
.cover__center {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  font-variation-settings: "opsz" 14, "SOFT" 0, "WONK" 0;
}
.cover__header-right { text-align: right; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

/* Cover logo — sized as a masthead, not a hero billboard */
.cover__nameplate {
  text-align: center;
  margin: 0;
  padding: 12px 0;
}
.cover__logo {
  width: clamp(220px, 32vw, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.cover__tag {
  text-align: center;
  margin-top: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 350;
  font-variation-settings: "opsz" 18, "SOFT" 50, "WONK" 1;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* Cover-line — the "main feature" headline */
.cover__feature {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  align-items: end;
}
.cover__feature-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cover__feature-meta b { color: var(--brand-deep); font-weight: 500; }

.cover__feature-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  color: var(--ink);
}
.cover__feature-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sienna);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.cover__feature-side {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
}
.cover__feature-side .lbl {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
  display: block;
  margin-bottom: 10px;
}

/* Cover footer — barcode + tease lines */
.cover__footer {
  margin-top: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.barcode {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.barcode__bars {
  display: flex;
  align-items: end;
  gap: 1.5px;
  height: 36px;
}
.barcode__bars span {
  display: block;
  background: var(--ink);
  width: 1.5px;
  height: 100%;
}
.barcode__bars span:nth-child(2n) { width: 2.5px; height: 80%; }
.barcode__bars span:nth-child(3n) { width: 1px; height: 95%; }
.barcode__bars span:nth-child(5n) { width: 3px; }
.barcode__bars span:nth-child(7n) { height: 70%; }
.barcode__num {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  margin-top: 2px;
}

.cover__teases {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}
.cover__tease {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14;
  text-align: center;
  max-width: 200px;
  line-height: 1.4;
}
.cover__tease b {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 8px;
  font-weight: 500;
}

.cover__price {
  text-align: right;
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14, "SOFT" 80, "WONK" 1;
}
.cover__price b {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 500;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */

.toc {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
  padding: 80px 0;
  position: relative;
}
.toc__inner {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 80px;
}

.toc__head {
  position: sticky;
  top: 100px;
  align-self: start;
}
.toc__title {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 128px);
  font-weight: 250;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  color: var(--ink);
}
.toc__title em {
  font-style: italic;
  color: var(--sienna);
  font-weight: 250;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.toc__sub {
  margin-top: 32px;
  font-family: var(--body);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-2);
  font-variation-settings: "opsz" 16;
  max-width: 320px;
  line-height: 1.5;
}

.toc__list { display: flex; flex-direction: column; }

.toc__row {
  display: grid;
  grid-template-columns: 60px 1.4fr 2.2fr 80px;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding var(--med) var(--ease), background var(--med);
  position: relative;
}
.toc__row:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, var(--paper-soft), transparent);
}
.toc__row:hover .toc__row-title { color: var(--sienna); }
.toc__row:hover .toc__row-arrow { opacity: 1; transform: translateX(0); }

.toc__row-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.toc__row-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  transition: color var(--fast);
}
.toc__row-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  color: var(--ink-2);
}
.toc__row-summary {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.5;
  font-variation-settings: "opsz" 14;
}
.toc__row-page {
  text-align: right;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-feature-settings: "lnum" 0, "onum" 1;
}
.toc__row-arrow {
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translate(-8px, -50%);
  opacity: 0;
  font-family: var(--display);
  color: var(--sienna);
  font-size: 18px;
  transition: all var(--med) var(--ease);
}

/* ============================================================
   ARTICLE / EDITORIAL SECTION
   ============================================================ */

.article {
  padding: 120px 0;
  position: relative;
}

.article__head {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.article__pretitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
.article__pretitle b { color: var(--ink); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; }

.article__title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  color: var(--ink);
}
.article__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sienna);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.article__deck {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 350;
  line-height: 1.25;
  font-style: italic;
  color: var(--ink-2);
  font-variation-settings: "opsz" 32, "SOFT" 60, "WONK" 1;
  max-width: 720px;
  margin: 36px auto 0;
}

/* Two-column body layout */
.article__body {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.article__lede {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  font-weight: 350;
  line-height: 1.3;
  color: var(--ink);
  font-variation-settings: "opsz" 32, "SOFT" 50, "WONK" 1;
  position: sticky;
  top: 100px;
}
.article__lede::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--sienna);
  margin-bottom: 20px;
}

.article__column {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  max-width: var(--reading);
  font-variation-settings: "opsz" 18;
}
.article__column p {
  margin-bottom: 0;
}
.article__column p + p { text-indent: 1.4em; margin-top: 0; }

/* ============================================================
   FEATURES (services) — magazine-style article cards
   ============================================================ */

.features {
  padding: 100px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.features__list {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}

.feature {
  display: grid;
  grid-template-columns: 80px 1.4fr 2fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  position: relative;
  transition: background var(--med);
}
.feature:last-child { border-bottom: 1px solid var(--rule); }
.feature:hover { background: linear-gradient(90deg, transparent, var(--paper-soft), transparent); }
.feature:hover .feature__title { color: var(--sienna); }

.feature__page {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 350;
  line-height: 1;
  color: var(--ink-faint);
  font-feature-settings: "onum" 1;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  transition: color var(--fast);
}
.feature:hover .feature__page { color: var(--sienna); }

.feature__col-title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.feature__kicker b { color: var(--brand-deep); font-weight: 500; }
.feature__title {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  transition: color var(--fast);
}
.feature__title em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.feature__col-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feature__body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  font-variation-settings: "opsz" 18;
  max-width: 520px;
}
.feature__index {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 8px;
}
.feature__idx-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 4px 0;
}
.feature__idx-row b { color: var(--brand-deep); font-weight: 500; letter-spacing: 0.1em; }

/* Secondary feature — visually de-emphasised */
.feature.is-secondary { background-image: linear-gradient(to right, transparent 0, transparent 80px, rgba(176, 65, 26, 0.04) 80px); }
.feature.is-secondary .feature__page { color: var(--ink-faint); font-style: italic; }
.feature.is-secondary .feature__kicker b { color: var(--teal); }

/* ============================================================
   DEPARTMENTS (process / why)
   ============================================================ */

.dept {
  padding: 120px 0;
}

.dept__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.dept__head-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.dept__head-meta b { color: var(--ink); font-weight: 500; }

.dept__title {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
}
.dept__title em {
  font-style: italic;
  color: var(--sienna);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}

.dept__lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-2);
  font-variation-settings: "opsz" 24, "SOFT" 50, "WONK" 1;
  align-self: end;
  max-width: 480px;
}

/* Process — numbered annotations on a hand-drawn diagram feel */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.process__step {
  padding: 40px 32px 48px 0;
  border-right: 1px dashed var(--rule);
  position: relative;
}
.process__step:last-child { border-right: 0; }
.process__step::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -5px;
  width: 9px;
  height: 9px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.process__step:last-child::before { display: none; }

.process__num {
  font-family: var(--display);
  font-size: 88px;
  font-weight: 250;
  line-height: 0.9;
  color: var(--sienna);
  font-feature-settings: "onum" 1;
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}
.process__title {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32, "SOFT" 25, "WONK" 1;
}
.process__body {
  margin-top: 12px;
  font-family: var(--body);
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-2);
  font-variation-settings: "opsz" 14;
  max-width: 240px;
}
.process__tag {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============================================================
   FROM THE EDITOR / PULL-QUOTE BAND
   ============================================================ */

.from-editor {
  padding: 100px 0;
  background: var(--paper-deep);
  border-block: 1px solid var(--rule);
  position: relative;
}
.from-editor__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.editor__side {
  position: sticky;
  top: 100px;
}
.editor__portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--sienna-soft), var(--sienna)),
    var(--sienna);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
  box-shadow: inset 0 -8px 20px rgba(0,0,0,0.15);
  font-variation-settings: "opsz" 32, "SOFT" 50, "WONK" 1;
}
.editor__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.editor__role {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.editor__signoff {
  margin-top: 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  color: var(--sienna);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  line-height: 1;
}

.editor__body {
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  font-variation-settings: "opsz" 19;
}
.editor__body p + p { text-indent: 1.4em; margin-top: 0; }
.editor__body .pullquote { margin: 36px 0; }

/* ============================================================
   LETTERS (testimonials)
   ============================================================ */

.letters {
  padding: 120px 0;
}
.letters__grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.letter {
  padding: 56px 48px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  position: relative;
}
.letter:nth-child(2n) { border-right: 0; }

.letter__head {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
}
.letter__head b { color: var(--brand-deep); font-weight: 500; }

.letter__body {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 350;
  font-variation-settings: "opsz" 32, "SOFT" 60, "WONK" 1;
}

.letter__sig {
  margin-top: 32px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.letter__sig-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -0.005em;
}
.letter__sig-meta {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-2);
  font-variation-settings: "opsz" 13;
  text-align: right;
}

/* ============================================================
   COLOPHON (footer)
   ============================================================ */

.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 36px;
  position: relative;
}
.colophon * { color: inherit; }
.colophon a:hover { color: var(--sienna-soft); }

.colophon__masthead {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(244, 234, 216, 0.18);
  margin-bottom: 36px;
}

.colophon__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.colophon__nameplate {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 250;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.colophon__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.colophon__hex {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}
.colophon__word {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variation-settings: "opsz" 96, "SOFT" 25, "WONK" 1;
  color: var(--paper);
}
.colophon__word b { color: var(--brand); font-weight: 350; }
.colophon__nameplate em {
  font-style: italic;
  color: var(--brand-soft);
  font-weight: 250;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.colophon__motto {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.45;
  max-width: 320px;
  font-variation-settings: "opsz" 16, "SOFT" 60, "WONK" 1;
  color: var(--paper);
  opacity: 0.78;
}

.colophon__col h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sienna-soft);
  margin-bottom: 22px;
}
.colophon__col a,
.colophon__col li {
  display: block;
  padding: 5px 0;
  font-family: var(--body);
  font-style: italic;
  font-size: 15.5px;
  font-variation-settings: "opsz" 15;
  color: var(--paper);
  list-style: none;
  transition: color var(--fast);
}
.colophon__col a:hover { color: var(--sienna-soft); }

.colophon__sub {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.78;
  font-variation-settings: "opsz" 14;
  margin-bottom: 12px;
}

.colophon__sub-form {
  display: flex;
  border-bottom: 1px solid var(--paper);
  padding: 8px 0;
}
.colophon__sub-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  font-style: italic;
  padding: 4px 0;
}
.colophon__sub-form input::placeholder { color: rgba(244, 234, 216, 0.5); }
.colophon__sub-form button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sienna-soft);
  font-weight: 500;
}

.colophon__bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 234, 216, 0.62);
}
.colophon__bot a { color: inherit; }
.colophon__bot a:hover { color: var(--sienna-soft); }

/* Massive nameplate flourish at footer */
.colophon__flourish {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(80px, 24vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  margin: 60px 0 -20px;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 234, 216, 0.16);
}
.colophon__flourish em {
  font-style: italic;
  color: var(--sienna);
  -webkit-text-stroke: 0;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}

/* ============================================================
   PAGE-LEVEL UTILITIES
   ============================================================ */

[data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-fade].on { opacity: 1; transform: none; }
[data-fade].d1 { transition-delay: 0.08s; }
[data-fade].d2 { transition-delay: 0.16s; }
[data-fade].d3 { transition-delay: 0.24s; }
[data-fade].d4 { transition-delay: 0.32s; }

/* CTA inline button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: background var(--fast), transform var(--fast);
}
.cta-btn:hover { background: var(--sienna); transform: translateY(-2px); }
.cta-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.cta-btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* Page head (sub-pages) */
.page-head {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--rule);
}
.page-head__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.page-head__pretitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.page-head h1 {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
}
.page-head h1 em {
  font-style: italic;
  font-weight: 250;
  color: var(--sienna);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.page-head__lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 350;
  line-height: 1.35;
  color: var(--ink-2);
  font-variation-settings: "opsz" 24, "SOFT" 50, "WONK" 1;
  max-width: 480px;
}

/* Form fields (contact / subscribe) */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.field-row.full { grid-template-columns: 1fr; }
.field-block { display: flex; flex-direction: column; gap: 6px; }
.field-block label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field-block input,
.field-block select,
.field-block textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-variation-settings: "opsz" 17;
  outline: none;
  transition: border-color var(--fast);
}
.field-block input:focus,
.field-block select:focus,
.field-block textarea:focus { border-bottom-color: var(--sienna); }
.field-block textarea { min-height: 100px; resize: vertical; font-family: var(--body); }
.field-block select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }

/* Legal */
.legal-doc {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 0 100px;
}
.legal-doc__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.legal-doc__meta b { color: var(--ink); font-weight: 500; }
.legal-doc h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 350;
  letter-spacing: -0.025em;
  margin-top: 64px;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  scroll-margin-top: 100px;
}
.legal-doc h2 .num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--brand-deep);
  margin-bottom: 4px;
}
.legal-doc p { margin-bottom: 14px; font-size: 16.5px; line-height: 1.65; }
.legal-doc ul { padding-left: 22px; margin-bottom: 14px; }
.legal-doc li { margin-bottom: 6px; font-size: 16.5px; line-height: 1.55; }
.legal-doc strong { font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .masthead__inner { grid-template-columns: auto auto; }
  .masthead__nav { display: none; }
  .burger { display: block; }
  .folio-rail { display: none; }
  .cover__feature { grid-template-columns: 1fr; gap: 32px; }
  .cover__feature-side { border-left: 0; border-top: 1px solid var(--rule); padding: 20px 0 0; }
  .cover__footer { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .cover__price { text-align: center; }
  .toc__inner { grid-template-columns: 1fr; gap: 48px; }
  .toc__head { position: static; }
  .toc__row { grid-template-columns: 50px 1fr 60px; }
  .toc__row-summary { grid-column: 2 / span 2; padding-top: 8px; }
  .article__head,
  .dept__head { grid-template-columns: 1fr; gap: 24px; }
  .article__body,
  .from-editor__inner { grid-template-columns: 1fr; gap: 48px; }
  .article__lede,
  .editor__side { position: static; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2n) { border-right: 0; }
  .process__step:nth-child(-n+2) { border-bottom: 1px dashed var(--rule); }
  .features__list { gap: 0; }
  .feature { grid-template-columns: 60px 1fr; gap: 28px; }
  .feature__col-body { grid-column: 2; padding-top: 0; }
  .letters__grid { grid-template-columns: 1fr; }
  .letter { border-right: 0; }
  .colophon__masthead { grid-template-columns: 1fr 1fr; }
  .page-head__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .cover__nameplate { font-size: 88px; }
  .toc__row { grid-template-columns: 40px 1fr; }
  .toc__row-page { display: none; }
  .feature { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .feature__col-body { grid-column: 1; }
  .colophon__masthead { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .masthead__inner { padding: 14px 20px; }
  .nameplate__sub { display: none; }
  .cover__teases { gap: 24px; }
}

/* Mobile menu open */
.masthead__nav.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--paper);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px;
  z-index: 100;
  gap: 28px;
}
.masthead__nav.open a { font-size: 32px; font-style: italic; }
