/* ============================================================
   FAITHFUL · AI for the Church
   An editorial learning resource — not a product site.
   No cards, no funnels. Typography, rules, and whitespace
   carry the structure. Brand: navy + cobalt, gold sparingly.
   ============================================================ */

:root {
  /* --- Ink scale (navy) --- */
  --ink-0:  #ffffff;
  --ink-1:  #f4f3ef;
  --ink-2:  #e9e8e1;
  --ink-3:  #dcdbd2;
  --ink-4:  #b9bcc9;
  --ink-5:  #8b90a8;
  --ink-6:  #5f6585;
  --ink-7:  #444a73;
  --ink-8:  #2a2f69;
  --ink-9:  #11144b;
  --ink-10: #080b33;

  --accent:        #535e94;
  --accent-bright: #6f7ab4;
  --accent-soft:   #8a91c9;
  --accent-deep:   #11144b;

  --gold:        #b88a3c;
  --gold-bright: #c9a04a;
  --gold-pale:   #e7dcc2;

  /* --- Paper: warm near-white, a printed-guide feel --- */
  --paper:      #f7f6f2;
  --paper-warm: #efece4;
  --surface:    #fffefb;

  --rule:      rgba(17,20,75,.14);
  --rule-soft: rgba(17,20,75,.08);

  /* --- Type --- */
  --f-head:  "Newsreader", Georgia, "Times New Roman", serif;
  --f-label: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --f-body:  "Inter", ui-sans-serif, system-ui, sans-serif;
  --f-read:  "Newsreader", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --measure: 68ch;
  --ease: cubic-bezier(.2,.6,.2,1);
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-8);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  color: var(--ink-9);
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
em { font-style: italic; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink-9); color: #fff; padding: .7em 1.1em; z-index: 200;
}
.skip:focus { left: 0; top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) { .container { padding: 0 22px; } }
.container-narrow { max-width: 880px; }

/* ============================================================ TYPE HELPERS */
.serif-em { font-family: var(--f-head); font-style: italic; font-weight: 500; }

.kicker {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--f-label);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.kicker .kicker-no {
  font-variant-numeric: tabular-nums;
  color: var(--ink-5);
}
.kicker.on-dark { color: var(--accent-soft); }
.kicker.on-dark .kicker-no { color: var(--ink-5); }

/* a thin top-rule label, editorial section opener */
.sec-label {
  display: flex; align-items: baseline; gap: 16px;
  padding-top: 16px;
  border-top: 1.5px solid var(--ink-9);
  font-family: var(--f-label);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-9);
  margin-bottom: 36px;
}
.sec-label .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.sec-label .spacer { flex: 1; }
.sec-label .aside { color: var(--ink-5); font-weight: 600; letter-spacing: .14em; }
.on-dark .sec-label,
.zone-navy .sec-label { border-top-color: var(--accent-soft); color: var(--paper); }
.zone-navy .sec-label .aside { color: var(--ink-5); }

/* ============================================================ COLOR ZONES */
.zone-paper { background: var(--paper); }
.zone-warm  { background: var(--paper-warm); }
.zone-navy {
  background: linear-gradient(180deg, var(--ink-9), var(--ink-10));
  color: var(--ink-4);
}
.zone-navy h1, .zone-navy h2, .zone-navy h3, .zone-navy h4 { color: #fff; }
.section { padding: 116px 0; }
.section.tight { padding: 84px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section.tight { padding: 56px 0; } }

/* ============================================================ LINKS */
.tlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-label); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em;
  color: var(--ink-9);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--ink-9);
  transition: gap .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tlink svg { width: 15px; height: 15px; }
.tlink:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
.tlink.on-dark { color: #fff; border-color: var(--accent-soft); }
.tlink.on-dark:hover { color: var(--accent-soft); border-color: var(--accent-soft); }
.tlink.lg { font-size: .92rem; }

.inline-link {
  color: var(--accent-deep);
  border-bottom: 1px solid var(--ink-4);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.inline-link:hover { color: var(--accent); border-color: var(--accent); }
.zone-navy .inline-link { color: var(--accent-soft); border-color: rgba(138,145,201,.4); }
.zone-navy .inline-link:hover { color: #fff; border-color: #fff; }

/* ============================================================ MASTHEAD */
.masthead {
  position: sticky; top: 0; z-index: 80;
  background: rgba(247,246,242,.9);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
  transition: border-color .25s var(--ease);
}
.masthead.scrolled { border-bottom-color: var(--rule); }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding: 17px 40px;
}
@media (max-width: 640px) { .nav-row { padding: 14px 22px; } }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: 7px;
  background: radial-gradient(120% 120% at 24% 14%, #d5dafc 0%, var(--accent) 42%, var(--accent-deep) 92%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px -8px rgba(17,20,75,.55);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v18M5 8l7-5 7 5'/></svg>") center / contain no-repeat;
}
.brand-word {
  font-family: var(--f-label); font-weight: 800;
  font-size: 1.06rem; letter-spacing: .04em; color: var(--ink-9);
  line-height: 1;
}
.brand-word small {
  display: block; margin-top: 4px;
  font-size: .56rem; font-weight: 600; letter-spacing: .2em;
  color: var(--accent);
}
.on-dark .brand-word { color: #fff; }
.on-dark .brand-word small { color: var(--accent-soft); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--f-label); font-weight: 500;
  font-size: .82rem; letter-spacing: .05em;
  color: var(--ink-7); padding: 9px 15px; border-radius: 4px;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav-links a:hover { color: var(--ink-9); background: var(--ink-2); }
.nav-links a.current { color: var(--ink-9); }
.nav-links a.current::after {
  content: ""; display: block; height: 1.5px; margin-top: 4px;
  background: var(--accent);
}

.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--rule); border-radius: 5px;
  background: var(--surface); padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.8px; margin: 0 auto;
  background: var(--ink-9); transition: transform .22s var(--ease), opacity .16s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: fixed; inset: 65px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 16px 22px 26px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .24s var(--ease), opacity .24s var(--ease);
  }
  .nav-open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-menu .nav-links a { padding: 14px; font-size: 1rem; }
}

/* ============================================================ HERO */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 380px at 92% 0%, rgba(138,145,201,.2), transparent 70%),
    radial-gradient(520px 360px at 0% 100%, rgba(184,138,60,.08), transparent 66%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero-kicker { margin-bottom: 30px; }
.hero h1 {
  max-width: 17ch;
  font-weight: 400;
}
.hero h1 .lead-word { font-style: italic; color: var(--accent-strong, var(--accent)); }
.hero-intro {
  margin-top: 30px;
  font-family: var(--f-read);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-7);
  max-width: 40ch;
}
.hero-foot {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: 40px;
}
.hero-meta {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-5);
}

/* hero contents preview — a slim editorial index, not cards */
.hero-index {
  margin-top: 64px;
  border-top: 1.5px solid var(--ink-9);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-index a {
  display: block; padding: 22px 24px 26px 0;
  border-right: 1px solid var(--rule-soft);
  transition: background .2s var(--ease);
}
.hero-index a:last-child { border-right: none; }
.hero-index a:hover { background: rgba(17,20,75,.03); }
.hero-index .hi-no {
  font-family: var(--f-label); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; color: var(--accent);
}
.hero-index .hi-title {
  font-family: var(--f-head); font-size: 1.16rem; color: var(--ink-9);
  margin: 12px 0 6px; line-height: 1.2;
}
.hero-index .hi-desc { font-size: .86rem; color: var(--ink-6); }
.hero-index .hi-no, .hero-index .hi-title, .hero-index .hi-desc { display: block; }
@media (max-width: 860px) {
  .hero-index { grid-template-columns: 1fr 1fr; }
  .hero-index a { padding-left: 22px; padding-right: 22px; }
  .hero-index a:nth-child(even) { border-right: none; }
  .hero-index a { border-bottom: 1px solid var(--rule-soft); }
}
@media (max-width: 520px) {
  .hero-index { grid-template-columns: 1fr; }
  .hero-index a:nth-child(odd) { border-right: none; }
}

/* ============================================================ EDITORIAL SPREAD */
.spread {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px;
}
.spread.flip { grid-template-columns: 1.18fr 0.82fr; }
.spread.flip .spread-aside { order: 2; }
.spread-aside h2 { margin-bottom: 22px; }
.spread-aside .spread-note {
  font-family: var(--f-label); font-size: .8rem; line-height: 1.6;
  color: var(--ink-6); border-left: 2px solid var(--accent); padding-left: 16px;
}
.zone-navy .spread-aside .spread-note { color: var(--ink-4); }
.spread-body {
  font-family: var(--f-read);
  font-size: 1.22rem; line-height: 1.62; color: var(--ink-8);
}
.zone-navy .spread-body { color: var(--ink-4); }
.spread-body > * + * { margin-top: 1.3rem; }
.spread-body .big-first::first-letter {
  font-size: 3.6em; float: left; line-height: .82;
  font-family: var(--f-head); font-weight: 500;
  margin: .04em .12em 0 0; color: var(--accent);
}
@media (max-width: 860px) {
  .spread, .spread.flip { grid-template-columns: 1fr; gap: 32px; }
  .spread.flip .spread-aside { order: 0; }
}

/* a plain measured prose block */
.measure {
  max-width: var(--measure);
  font-family: var(--f-read);
  font-size: 1.22rem; line-height: 1.62; color: var(--ink-8);
}
.measure > * + * { margin-top: 1.3rem; }
.zone-navy .measure { color: var(--ink-4); }

/* ============================================================ USE-CASE LIST (numbered, ruled — no cards) */
.dossier { border-top: 1.5px solid var(--ink-9); }
.dossier-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 8px 36px;
  padding: 38px 16px 40px;
  border-bottom: 1px solid var(--rule);
  transition: background .22s var(--ease), padding-left .22s var(--ease);
}
.dossier-row:hover { background: rgba(17,20,75,.025); padding-left: 26px; }
.zone-navy .dossier { border-top-color: var(--accent-soft); }
.zone-navy .dossier-row { border-bottom-color: rgba(184,138,60,.22); }
.zone-navy .dossier-row:hover { background: rgba(255,255,255,.03); }
.dossier-no {
  font-family: var(--f-head); font-size: 2.6rem; font-weight: 400;
  color: var(--ink-4); line-height: 1; font-variant-numeric: tabular-nums;
}
.zone-navy .dossier-no { color: var(--accent-soft); }
.dossier-row:hover .dossier-no { color: var(--accent); }
.dossier-main h3 {
  font-size: 1.86rem; margin-bottom: 12px;
}
.dossier-main .d-body {
  font-family: var(--f-read); font-size: 1.13rem; line-height: 1.6;
  color: var(--ink-7); max-width: 62ch;
}
.zone-navy .dossier-main .d-body { color: var(--ink-4); }
.dossier-main .d-tag {
  display: inline-block; margin-top: 16px;
  font-family: var(--f-label); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.zone-navy .dossier-main .d-tag { color: var(--gold-bright); }
@media (max-width: 620px) {
  .dossier-row { grid-template-columns: 1fr; gap: 10px; padding: 30px 0 34px; }
  .dossier-row:hover { padding-left: 0; }
  .dossier-no { font-size: 1.7rem; }
  .dossier-main h3 { font-size: 1.5rem; }
}

/* ============================================================ BIG QUOTE */
.bigquote {
  text-align: center;
}
.bigquote blockquote {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--f-head); font-weight: 400; font-style: italic;
  font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.16;
  color: #fff; letter-spacing: -0.02em;
}
.bigquote .bq-mark {
  font-size: 4rem; line-height: 0; color: var(--accent-soft);
  display: block; margin-bottom: 28px; font-family: var(--f-head);
}
.bigquote cite {
  display: block; margin-top: 36px;
  font-family: var(--f-label); font-style: normal;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-soft);
}

/* ============================================================ CONTENTS INDEX (guides) */
.toc { border-top: 1.5px solid var(--ink-9); }
.toc-row {
  display: grid; grid-template-columns: 62px 1fr auto;
  gap: 28px; align-items: baseline;
  padding: 34px 18px 36px;
  border-bottom: 1px solid var(--rule);
  transition: background .22s var(--ease), padding-left .22s var(--ease);
}
.toc-row:hover { background: rgba(17,20,75,.03); padding-left: 30px; }
.toc-no {
  font-family: var(--f-label); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; color: var(--accent); font-variant-numeric: tabular-nums;
  padding-top: 8px;
}
.toc-main .toc-cat {
  font-family: var(--f-label); font-size: .68rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-5);
}
.toc-main h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin: 12px 0 10px;
  transition: color .18s var(--ease);
}
.toc-row:hover .toc-main h3 { color: var(--accent); }
.toc-main .toc-dek {
  font-family: var(--f-read); font-size: 1.1rem; color: var(--ink-7);
  max-width: 60ch; line-height: 1.55;
}
.toc-meta {
  text-align: right;
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; color: var(--ink-5);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
  padding-top: 6px;
}
.toc-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--rule); display: grid; place-items: center;
  color: var(--ink-7);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.toc-arrow svg { width: 16px; height: 16px; }
.toc-row:hover .toc-arrow { background: var(--ink-9); color: #fff; border-color: var(--ink-9); transform: rotate(-45deg); }
@media (max-width: 720px) {
  .toc-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0 30px; }
  .toc-row:hover { padding-left: 0; }
  .toc-meta { flex-direction: row; align-items: center; text-align: left; margin-top: 6px; gap: 16px; }
}

/* ============================================================ THE LATEST (dated updates) */
.feed { border-top: 1.5px solid var(--ink-9); }
.feed-row {
  display: grid; grid-template-columns: 168px 1fr; gap: 36px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
}
.feed-date {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5);
  padding-top: 6px;
}
.feed-date .feed-src {
  display: block; margin-top: 8px; color: var(--accent);
  font-weight: 700; letter-spacing: .12em;
}
.feed-main h3 { font-size: 1.46rem; margin-bottom: 10px; }
.feed-main p {
  font-family: var(--f-read); font-size: 1.08rem; color: var(--ink-7);
  line-height: 1.56; max-width: 60ch;
}
.feed-main .feed-take {
  margin-top: 14px; font-family: var(--f-label); font-size: .82rem;
  color: var(--ink-8); line-height: 1.55;
  border-left: 2px solid var(--gold); padding-left: 14px;
}
@media (max-width: 640px) {
  .feed-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
}

/* ============================================================ REFERENCE LIST */
.refgroup + .refgroup { margin-top: 64px; }
.refgroup-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 8px;
}
.refgroup-head h3 { font-size: 1.7rem; }
.refgroup-head .rg-count {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; color: var(--ink-5);
}
.refgroup-intro {
  font-family: var(--f-read); font-size: 1.08rem; color: var(--ink-7);
  max-width: 64ch; margin-bottom: 14px;
}
.reflist { border-top: 1px solid var(--ink-9); }
.refitem {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 28px;
  padding: 24px 14px; align-items: baseline;
  border-bottom: 1px solid var(--rule);
  transition: background .2s var(--ease), padding-left .2s var(--ease);
}
.refitem:hover { background: rgba(17,20,75,.025); padding-left: 22px; }
.refitem .ref-name {
  font-family: var(--f-head); font-size: 1.32rem; color: var(--ink-9);
}
.refitem:hover .ref-name { color: var(--accent); }
.zone-navy .refitem .ref-name { color: #fff; }
.zone-navy .refitem:hover .ref-name { color: var(--accent-soft); }
.zone-navy .refitem .ref-src { color: var(--ink-5); }
.zone-navy .refitem .ref-desc { color: var(--ink-4); }
.refitem .ref-src {
  font-family: var(--f-label); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-5);
  white-space: nowrap; padding-top: 6px;
}
.refitem .ref-desc {
  grid-column: 1 / -1;
  font-family: var(--f-read); font-size: 1.04rem; color: var(--ink-7);
  line-height: 1.54; max-width: 70ch;
}
.refitem .ref-ext {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; color: var(--accent);
}
.refitem .ref-ext svg { width: 13px; height: 13px; }
@media (max-width: 560px) {
  .refitem { grid-template-columns: 1fr; }
  .refitem .ref-src { padding-top: 0; }
}

/* ============================================================ PULL FEATURE (single editorial highlight, no card) */
.feature-read {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1.5px solid var(--ink-9);
  border-bottom: 1px solid var(--rule);
}
.feature-read .fr-text { padding: 44px 48px 48px 0; }
.feature-read .fr-side {
  padding: 44px 0 48px 48px;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: center;
}
.feature-read .fr-cat {
  font-family: var(--f-label); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent);
}
.feature-read h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 16px 0 16px;
}
.feature-read .fr-dek {
  font-family: var(--f-read); font-size: 1.16rem; color: var(--ink-7);
  line-height: 1.56; margin-bottom: 26px;
}
.feature-read .fr-side p {
  font-family: var(--f-read); font-style: italic; font-size: 1.3rem;
  line-height: 1.5; color: var(--ink-8);
}
.feature-read .fr-side .fr-side-label {
  font-family: var(--f-label); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-5);
  font-style: normal; margin-bottom: 16px;
}
@media (max-width: 780px) {
  .feature-read { grid-template-columns: 1fr; }
  .feature-read .fr-text { padding: 36px 0 32px; }
  .feature-read .fr-side { padding: 32px 0 38px; border-left: none; border-top: 1px solid var(--rule); }
}

/* ============================================================ CLOSING / ABOUT STRIP */
.closing { text-align: center; }
.closing .closing-mono {
  width: 70px; height: 70px; margin: 0 auto 28px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 24% 14%, #d5dafc 0%, var(--accent) 42%, var(--accent-deep) 92%);
  display: grid; place-items: center;
}
.closing .closing-mono svg { width: 34px; height: 34px; }
.closing h2 { max-width: 20ch; margin: 0 auto 20px; }
.closing .closing-body {
  font-family: var(--f-read); font-size: 1.2rem; line-height: 1.6;
  color: var(--ink-7); max-width: 52ch; margin: 0 auto 32px;
}
.zone-navy .closing .closing-body { color: var(--ink-4); }

/* ============================================================ COLOPHON FOOTER */
.colophon {
  background: var(--ink-10); color: var(--ink-5);
  padding: 80px 0 36px;
  font-family: var(--f-body);
}
.colophon-top {
  display: grid; grid-template-columns: 1.7fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(184,138,60,.2);
}
.colophon .brand-word { color: #fff; }
.colophon .brand-word small { color: var(--accent-soft); }
.colophon-blurb {
  margin-top: 18px; font-family: var(--f-read); font-size: 1.04rem;
  line-height: 1.55; color: var(--ink-4); max-width: 36ch;
}
.colophon h5 {
  font-family: var(--f-label); font-weight: 700;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-5); margin-bottom: 16px;
}
.colophon nav ul { list-style: none; display: grid; gap: 11px; }
.colophon nav a {
  font-family: var(--f-label); font-size: .86rem; color: var(--ink-4);
  transition: color .16s var(--ease);
}
.colophon nav a:hover { color: #fff; }
.colophon-note {
  font-family: var(--f-read); font-size: .98rem; line-height: 1.6;
  color: var(--ink-5);
}
.colophon-note a { color: var(--accent-soft); border-bottom: 1px solid rgba(138,145,201,.4); }
.colophon-note a:hover { color: #fff; }
.colophon-base {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 28px;
  font-family: var(--f-label); font-size: .74rem; letter-spacing: .04em;
  color: var(--ink-6);
}
@media (max-width: 760px) {
  .colophon-top { grid-template-columns: 1fr; gap: 34px; }
}

/* ============================================================ ARTICLE PAGE */
.read-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  background: var(--accent); z-index: 100; transition: width .1s linear;
}
.breadcrumb {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--f-label); font-size: .74rem; font-weight: 500;
  letter-spacing: .06em; color: var(--ink-5); margin-bottom: 30px;
}
.breadcrumb a { color: var(--ink-6); }
.breadcrumb a:hover { color: var(--ink-9); }
.breadcrumb svg { width: 12px; height: 12px; }
.on-dark .breadcrumb a { color: var(--ink-5); }
.on-dark .breadcrumb a:hover { color: #fff; }

.article-hero { padding: 56px 0 16px; }
.article-hero .container { max-width: 860px; }
.ah-tagrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5);
}
.tag {
  font-family: var(--f-label); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); padding-bottom: 4px;
  border-bottom: 1.5px solid var(--accent);
}
.tag.is-gold { color: var(--gold); border-color: var(--gold); }
.tag.is-solid { color: var(--accent); border-color: var(--accent); }
.meta-row { display: inline-flex; align-items: center; gap: 9px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-5); }
.article-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 400;
  letter-spacing: -0.022em; margin-bottom: 22px;
}
.article-hero .ah-dek {
  font-family: var(--f-read); font-size: 1.34rem; line-height: 1.5;
  font-style: italic; color: var(--ink-7); margin-bottom: 30px;
}
.ah-byline {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--f-label); font-weight: 700; font-size: .82rem; color: #fff;
  background: linear-gradient(150deg, var(--accent-soft), var(--accent-deep));
}
.avatar.is-sm { width: 32px; height: 32px; font-size: .7rem; }
.avatar.is-lg { width: 66px; height: 66px; font-size: 1.3rem; }
.byline-name { font-family: var(--f-label); font-weight: 600; font-size: .86rem; color: var(--ink-9); }
.byline-sub { font-family: var(--f-label); font-size: .76rem; color: var(--ink-6); }
.ah-share { margin-left: auto; display: flex; gap: 8px; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--rule); color: var(--ink-6);
  transition: all .16s var(--ease);
}
.share-btn:hover { color: var(--ink-9); border-color: var(--accent); transform: translateY(-2px); }
.share-btn svg { width: 16px; height: 16px; }

.article-figure {
  margin: 0; aspect-ratio: 21 / 9; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ink-8), var(--ink-10));
}
.article-figure::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(165,170,210,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165,170,210,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.article-figure .af-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(213,218,252,.32); }
.article-figure .af-glyph svg { width: 92px; height: 92px; }

/* prose */
.prose {
  max-width: var(--measure); margin: 0 auto;
  font-family: var(--f-read); font-size: 1.27rem; line-height: 1.72;
  color: var(--ink-8);
}
.prose > * + * { margin-top: 1.5rem; }
.prose p.lead {
  font-size: 1.46rem; line-height: 1.5; color: var(--ink-9);
}
.prose p.lead::first-letter {
  font-size: 3.4em; float: left; line-height: .82;
  font-weight: 500; margin: .03em .1em 0 0; color: var(--accent);
}
.prose h2 {
  font-family: var(--f-head); font-size: 2rem; font-weight: 500;
  margin-top: 3.2rem; padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
.prose h3 { font-family: var(--f-head); font-size: 1.5rem; margin-top: 2.4rem; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-4); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--ink-9); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .6rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote.pull {
  margin: 2.8rem 0; padding-left: 1.8rem;
  border-left: 2.5px solid var(--accent);
  font-size: 1.66rem; line-height: 1.36; font-style: italic; color: var(--ink-9);
}
.prose blockquote.pull cite {
  display: block; margin-top: .9rem; font-style: normal;
  font-family: var(--f-label); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; color: var(--accent);
}
.prose hr { border: none; height: 1px; background: var(--rule); margin: 2.8rem 0; }
.prose .callout {
  font-family: var(--f-body); font-size: 1.02rem; line-height: 1.62;
  background: var(--surface); border: 1px solid var(--rule);
  border-left: 3px solid var(--gold); padding: 24px 26px;
}
.prose .callout .callout-title {
  font-family: var(--f-label); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 9px;
}
.prose .callout p { color: var(--ink-7); }
.prose .callout p + p { margin-top: .8rem; }
.prose .callout.is-cobalt { border-left-color: var(--accent); }
.prose .callout.is-cobalt .callout-title { color: var(--accent); }
.prose .key-takeaways {
  font-family: var(--f-body);
  background: linear-gradient(160deg, var(--ink-9), var(--ink-10));
  color: var(--ink-4); padding: 32px 34px;
}
.prose .key-takeaways .callout-title {
  font-family: var(--f-label); font-weight: 700; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-5);
}
.prose .key-takeaways h4 {
  font-family: var(--f-head); color: #fff; font-size: 1.3rem; font-weight: 500;
  margin: 6px 0 16px;
}
.prose .key-takeaways ul { gap: .7rem; }
.prose .key-takeaways li { color: var(--ink-4); font-size: 1.04rem; }
.prose .key-takeaways li::marker { color: var(--accent-soft); }

.article-foot { max-width: var(--measure); margin: 56px auto 0; padding-top: 30px; border-top: 1px solid var(--rule); }
.tag-list { display: flex; gap: 18px; flex-wrap: wrap; }
.tag-list .tag { cursor: default; }

.author-bio {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  max-width: var(--measure); margin: 40px auto 0;
  padding: 30px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.author-bio h4 { font-family: var(--f-head); font-size: 1.32rem; font-weight: 500; margin-bottom: 4px; }
.author-bio .ab-role {
  font-family: var(--f-label); font-weight: 600; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.author-bio p { font-family: var(--f-read); font-size: 1.06rem; color: var(--ink-7); }
@media (max-width: 540px) { .author-bio { grid-template-columns: 1fr; } }

/* article: related as editorial list, not cards */
.keepreading { max-width: var(--measure); margin: 0 auto; }

/* ============================================================ PAGE HEAD (interior pages) */
.page-head {
  position: relative; overflow: hidden;
  padding: 88px 0 80px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 320px at 90% 0%, rgba(138,145,201,.16), transparent 70%);
  pointer-events: none;
}
.page-head > .container { position: relative; }
.page-head h1 { max-width: 19ch; margin-bottom: 24px; font-weight: 400; }
.page-head .ph-intro {
  font-family: var(--f-read); font-size: clamp(1.16rem, 1.9vw, 1.44rem);
  line-height: 1.5; color: var(--ink-7); max-width: 54ch;
}

/* ============================================================ 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .nf-code {
  font-family: var(--f-head); font-weight: 400; font-style: italic;
  font-size: clamp(5rem, 16vw, 9rem); color: var(--accent); line-height: 1;
}

/* ============================================================ MOTION */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .09s; }
[data-reveal-d="2"] { transition-delay: .18s; }
[data-reveal-d="3"] { transition-delay: .27s; }
[data-reveal-d="4"] { transition-delay: .36s; }

/* hero word reveal */
.hero h1 .reveal-line { display: block; overflow: hidden; }
.hero h1 .reveal-line > span {
  display: block; transform: translateY(102%);
  transition: transform .85s var(--ease);
}
.hero.lit h1 .reveal-line > span { transform: none; }
.hero h1 .reveal-line:nth-child(2) > span { transition-delay: .1s; }
.hero h1 .reveal-line:nth-child(3) > span { transition-delay: .2s; }

/* marquee */
.marquee {
  overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--f-head); font-style: italic; font-size: 1.5rem;
  color: var(--ink-5); white-space: nowrap;
}
.marquee span::after { content: "·"; margin-left: 56px; color: var(--accent); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .reveal-line > span { transform: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* ============================================================ HELPERS */
.lede-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-foot { margin-top: 52px; }
.text-measure { max-width: 58ch; }
