/* He Still Reigns — site styles
   Black-and-white old-time newsprint. Plain CSS, no build step. */

@font-face { font-family: "Manufacturing Consent"; src: url("fonts/manufacturing-consent-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("fonts/old-standard-tt-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("fonts/old-standard-tt-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Old Standard TT"; src: url("fonts/old-standard-tt-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "IM Fell English"; src: url("fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "IM Fell English SC"; src: url("fonts/im-fell-english-sc-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #3d3d3d;        /* 10.6:1 on white */
  --rule: #111111;
  --measure: 38rem;
  --page: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --f-black: "Manufacturing Consent", "Old English Text MT", Georgia, serif;
  --f-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Old Standard TT", Georgia, "Times New Roman", serif;
  --f-fell: "IM Fell English", Georgia, serif;
  --f-sc: "IM Fell English SC", Georgia, serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.0625rem, 0.35vw + 1rem, 1.1875rem);
  line-height: 1.6;
  font-kerning: normal;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 10;
  padding: 0.5rem 1rem; background: var(--ink); color: var(--paper);
  font-family: var(--f-sc); text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; outline-color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- rules & ornaments ---------- */
.rule-double { border: 0; border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); height: 6px; margin: 0; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.kicker {
  font-family: var(--f-sc); font-size: 0.95em; letter-spacing: 0.14em;
  margin: 0 0 0.5rem; text-align: center;
}
.kicker::before, .kicker::after { content: "✦"; font-size: 0.7em; vertical-align: 0.15em; margin-inline: 0.6em; }
.kicker.plain::before, .kicker.plain::after { content: none; }

/* ---------- site header (masthead bar) ---------- */
/* Frozen top bar: logo (negative form on white), name and navigation stay visible while scrolling */
:root { --bar-h: 6.4rem; }
html { scroll-padding-top: calc(var(--bar-h) + 0.6rem); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); padding-top: 0.6rem; }
.brand-emblem { width: auto; height: 60px; flex: 0 0 auto; }
.masthead-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem 2rem; flex-wrap: wrap; padding-bottom: 0.5rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand-name { font-family: var(--f-black); font-size: clamp(2.3rem, 2.7vw + 1.5rem, 3.2rem); line-height: 1; white-space: nowrap; }
.brand-name sup { font-family: var(--f-body); font-weight: 700; font-size: 0.3em; vertical-align: 1.5em; margin-left: 0.05em; }
.brand:hover .brand-name { text-decoration: underline; text-decoration-thickness: 1px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.site-nav a {
  display: inline-block; padding: 0.4rem 0; min-height: 44px; line-height: 2;
  font-family: var(--f-sc); font-size: 1.12rem; letter-spacing: 0.08em; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-desc { display: none; }
.menu-btn { display: none; }

.dateline {
  display: flex; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap;
  padding: 0.35rem 0; font-family: var(--f-sc); font-size: 0.9rem; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rule);
}

/* Phones and tablets: a floating Menu button (lower left, always on screen) opens the page list.
   With JavaScript off, the list simply shows under the title. */
@media (max-width: 56rem) {
  .masthead-bar { justify-content: center; text-align: center; }
  .js .site-nav { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 0.6rem; position: fixed; z-index: 80;
    left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    min-height: 48px; padding: 0.55rem 1.05rem; cursor: pointer;
    font-family: var(--f-sc); font-size: 1.05rem; letter-spacing: 0.1em;
    color: #fff; background: #0d0d0d; border: 2px solid #fff; outline: 1px solid #0d0d0d;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
  /* the list rises from the bottom of the screen, above the button */
  .js .site-nav.open {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    max-height: 85vh; overflow-y: auto; background: var(--paper); text-align: left;
    border-top: 3px double var(--ink); box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  html.menu-open { overflow: hidden; }
  .js .site-nav ul { display: block; padding: 0.6rem 1.25rem 0; max-width: 40rem; margin: 0 auto; }
  .js .site-nav li + li { border-top: 1px solid var(--rule); }
  .js .site-nav a { display: block; min-height: 0; line-height: 1.3; padding: 0.85rem 0; border-bottom: 0; }
  .js .site-nav .nav-label { display: block; font-size: 1.35rem; letter-spacing: 0.06em; }
  .js .site-nav .nav-desc { display: block; font-family: var(--f-fell); font-style: italic; font-size: 1rem; letter-spacing: 0; margin-top: 0.15rem; }
  .js .site-nav a[aria-current="page"] .nav-label::after { content: " ·  You are here"; font-family: var(--f-fell); font-style: italic; font-size: 0.75em; letter-spacing: 0; }
  .js .site-nav a:hover .nav-label { text-decoration: underline; text-decoration-thickness: 1px; }
  /* keep the last lines of every page clear of the floating button */
  .js .site-footer { padding-bottom: 5rem; }
}
@media (max-width: 40rem) {
  :root { --bar-h: 4.6rem; }
  .site-header { padding-top: 0.4rem; }
  .brand-emblem { height: min(44px, 11vw); }
  .brand { gap: 0.55rem; }
  .brand-name { font-size: min(2.15rem, 8.4vw); }
  .masthead-bar { gap: 0.5rem; padding-bottom: 0.35rem; }
  html:not(.js) .site-nav { width: 100%; border-top: 1px solid var(--rule); }
  html:not(.js) .site-nav ul { justify-content: space-between; gap: 0 0.75rem; }
  html:not(.js) .site-nav a { font-size: 1.02rem; letter-spacing: 0.04em; min-height: 40px; line-height: 1.6; padding: 0.3rem 0; }
  .dateline { justify-content: center; text-align: center; }
  .dateline .opt { display: none; }
}
@media print { .menu-btn { display: none !important; } }

/* ---------- buttons ---------- */
.button {
  display: inline-block; padding: 0.8rem 1.6rem; min-height: 44px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  font-family: var(--f-sc); font-size: 1.15rem; letter-spacing: 0.1em; text-decoration: none;
}
.button:hover { background: var(--paper); color: var(--ink); }
.button:focus-visible { outline-offset: 3px; }
.button.secondary { background: var(--paper); color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; }
.file-note { font-family: var(--f-fell); font-style: italic; color: var(--ink-soft); }

/* ---------- home: front page ---------- */
.front { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem); text-align: center; }
/* Logo: original lion-logo.svg on dark backgrounds, its exact negative on light ones. Never shown below 190px tall, so its built-in TM stays legible;
   capped at 238px (half its 476px source) so it stays sharp on high-density screens. */
.front-emblem { width: auto; height: clamp(220px, 30vw, 238px); margin: 0 auto 1.6rem; }
.front h1 {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.15rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: 0.005em;
  margin: 0 auto; max-width: 18ch;
}
.front h1 .line { display: block; }
h1, h2, h3, .deck, .kicker { text-wrap: balance; }
.front .deck {
  font-family: var(--f-fell); font-style: italic; font-size: clamp(1.2rem, 1.1vw + 1rem, 1.5rem);
  line-height: 1.4; max-width: 36rem; margin: 1.25rem auto 2rem;
}
.front .actions { justify-content: center; }

/* ---------- home: through every age ---------- */
.ages { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head { text-align: center; padding: 1.4rem 0 1.2rem; }
.section-head h2 {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; margin: 0;
}
.section-head p { font-family: var(--f-fell); font-style: italic; margin: 0.4rem 0 0; font-size: 1.1rem; }

.columns { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.columns > article { padding: 1.2rem 1.25rem 0.5rem; border-left: 1px solid var(--rule); }
.columns > article:first-child { border-left: 0; padding-left: 0; }
.columns > article:last-child { padding-right: 0; }
.age-no { font-family: var(--f-sc); letter-spacing: 0.12em; font-size: 0.95rem; margin: 0; }
.columns h3 {
  font-family: var(--f-head); font-weight: 900; font-size: 1.45rem; line-height: 1.1;
  margin: 0.2rem 0 0.9rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule);
}
.columns p { margin: 0 0 0.9rem; hyphens: auto; }
/* Scripture: ESV only, exact text pasted by the publisher, cited on each */
blockquote.verse { margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px dotted var(--ink); }
blockquote.verse:last-child { border-bottom: 0; }
blockquote.verse p { font-family: var(--f-fell); font-style: italic; font-size: 1.12em; line-height: 1.45; margin: 0 0 0.35rem; }
blockquote.verse cite { display: block; font-family: var(--f-sc); font-style: normal; letter-spacing: 0.08em; font-size: 0.95rem; }
.lord { font-variant-caps: small-caps; }
.columns blockquote.verse p, blockquote.verse p { hyphens: manual; -webkit-hyphens: manual; }
/* Through Every Age: one row per age, the age on the left and the Word on the right */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 60rem; border-top: 3px double var(--ink); }
.age { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ink); align-items: start; }
.age-mark { border-right: 1px solid var(--ink); padding-right: 1.5rem; }
.age-mark .age-no { display: block; font-family: var(--f-head); font-weight: 900; font-size: 2.4rem; line-height: 1; letter-spacing: 0; }
.age-mark h3 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; margin: 0.4rem 0 0.3rem; }
.age-era { font-family: var(--f-fell); font-style: italic; margin: 0; font-size: 1.05rem; }
.age-word blockquote.verse { margin: 0 0 1.1rem; }
.age-word blockquote.verse:last-child { margin-bottom: 0; }
.age-word blockquote.verse p { font-size: 1.25rem; line-height: 1.45; }
@media (max-width: 40rem) {
  .age { grid-template-columns: 1fr; gap: 0.8rem; }
  .age-mark { border-right: 0; padding-right: 0; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
  .age-mark .age-no { display: inline; font-size: 1.6rem; }
  .age-mark h3 { margin: 0; }
  .age-era { flex-basis: 100%; }
}
.about-sec { padding: 1.6rem 0 1rem; max-width: 60rem; margin: 0 auto; }
/* Home: the four ages as a single band */
.age-band { list-style: none; padding: 0; margin: 0 auto; max-width: 60rem; display: grid; grid-template-columns: repeat(4, 1fr);
            border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.age-band li + li { border-left: 1px solid var(--ink); }
.age-band a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.75rem; text-align: center;
              padding: 1.6rem 0.8rem; min-height: 9rem; color: inherit; text-decoration: none; height: 100%; }
.age-band a:hover .band-title, .age-band a:focus-visible .band-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.band-no { font-family: var(--f-head); font-weight: 900; letter-spacing: 0.02em; font-size: 1.5rem; line-height: 1; }
.band-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.05rem, 1vw + 0.7rem, 1.4rem); line-height: 1.15; }
@media (max-width: 40rem) {
  .age-band { grid-template-columns: 1fr 1fr; }
  .age-band li:nth-child(3) { border-left: 0; }
  .age-band li:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .age-band a { min-height: 7rem; padding: 1.2rem 0.6rem; }
}
.fine-print { margin: 0.8rem 0 0; font-size: 0.6875rem; line-height: 1.35; color: #e6e6e6; }
.about-sec .prose { max-width: 42rem; }

blockquote.verse-head { max-width: 34rem; margin: 0.6rem auto 0; padding: 0; border: 0; }
.verse-head p { font-size: 1.15rem; }
.front-verses { max-width: 36rem; margin: 1.4rem auto 2rem; }
.front-verses blockquote.verse p { font-size: clamp(1.2rem, 1.1vw + 1rem, 1.45rem); }
blockquote.quote { margin: 0; }
blockquote.quote p { margin: 0 0 0.3rem; }
cite.src { display: block; font-family: var(--f-sc); font-style: normal; letter-spacing: 0.06em; font-size: 0.9rem; color: var(--ink-soft); }
.feature-body blockquote.quote { max-width: var(--measure); border-left: 3px solid var(--ink); padding-left: 1rem; }
.quote-center { max-width: 34rem; margin: 0.8rem auto 0; font-family: var(--f-fell); font-style: italic; font-size: 1.15rem; }
.esv-notice { margin: 0.6rem 0 0; font-family: var(--f-body); font-size: 0.6875rem; line-height: 1.35; color: #e6e6e6; }

@media (max-width: 60rem) {
  .columns { grid-template-columns: repeat(2, 1fr); }
  .columns > article:nth-child(odd) { border-left: 0; padding-left: 0; }
  .columns > article:nth-child(even) { padding-right: 0; }
  .columns > article:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 0.8rem; }
}
@media (max-width: 36rem) {
  .columns { grid-template-columns: 1fr; }
  .columns > article { border-left: 0; padding-left: 0; padding-right: 0; }
  .columns > article + article { border-top: 1px solid var(--rule); margin-top: 0.8rem; }
}

/* ---------- home: the paper feature ---------- */
.paper-feature { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.feature-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--rule); padding-top: 1.6rem; align-items: start;
}
.front-page-link { display: block; border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); background: var(--paper); }
.front-page-link:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(3px, 3px); }
.front-page-link img { width: 100%; }
.figcap { font-family: var(--f-fell); font-style: italic; font-size: 0.98rem; margin-top: 0.9rem; text-align: center; }

.edition-meta { font-family: var(--f-sc); letter-spacing: 0.1em; margin: 0 0 0.4rem; }
.feature-body h3 {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; margin: 0;
}
.feature-body .deck { font-family: var(--f-fell); font-style: italic; font-size: 1.2rem; line-height: 1.4; margin: 0.8rem 0 1.2rem; }
.feature-body p { max-width: var(--measure); }

.index { margin: 1.4rem 0 1.6rem; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding: 0.8rem 0; max-width: var(--measure); }
.index h4 { font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.14em; font-size: 1rem; margin: 0 0 0.4rem; }
.index ol { list-style: none; margin: 0; padding: 0; }
.index li { display: flex; gap: 0.75rem; padding: 0.2rem 0; border-bottom: 1px dotted #999; }
.index li:last-child { border-bottom: 0; }
.index .pg { font-family: var(--f-sc); min-width: 5.6rem; letter-spacing: 0.04em; }

.standards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.standards > div { padding: 1rem 1.25rem; border-left: 1px solid var(--rule); }
.standards > div:first-child { border-left: 0; padding-left: 0; }
.standards > div:last-child { padding-right: 0; }
.standards h4 { font-family: var(--f-head); font-weight: 900; font-size: 1.1rem; margin: 0 0 0.3rem; }
.standards p { margin: 0; font-size: 0.98em; }

@media (max-width: 52rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .front-page-link { max-width: 22rem; margin-inline: auto; }
  .standards { grid-template-columns: 1fr; }
  .standards > div { border-left: 0; padding-inline: 0; }
  .standards > div + div { border-top: 1px dotted var(--ink); }
}

/* ---------- inner pages (stubs for now) ---------- */
.page-head { text-align: center; padding: clamp(2rem, 5vw, 3rem) 0 1.4rem; }
.page-head h1 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; margin: 0; }
.page-head .deck { font-family: var(--f-fell); font-style: italic; font-size: 1.25rem; margin: 0.6rem auto 0; max-width: 34rem; }
.prose { max-width: var(--measure); margin: 0 auto; padding: 1.6rem 0 clamp(3rem, 7vw, 5rem); }
.notice { border: 1px dashed var(--ink); padding: 1rem 1.2rem; font-family: var(--f-fell); font-style: italic; }

/* ---------- footer ---------- */
.site-footer { background: #0d0d0d; /* matches the logo's black field */ color: var(--paper); margin-top: 0; padding: 2.4rem 0 1.6rem; }
.site-footer a:focus-visible { outline-color: var(--paper); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: auto; height: 190px; }
.footer-brand .brand-name { font-size: 2.6rem; }
.footer-brand .sub { display: block; font-family: var(--f-sc); letter-spacing: 0.1em; font-size: 0.95rem; margin-top: 0.35rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.footer-nav a { display: inline-block; min-height: 44px; line-height: 44px; font-family: var(--f-sc); letter-spacing: 0.08em; font-size: 1.05rem; }
.colophon { border-top: 1px solid #fff; margin-top: 1.6rem; padding-top: 0.9rem; font-family: var(--f-sc); letter-spacing: 0.06em; font-size: 0.92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem; }

@media (max-width: 40rem) {
  .footer-grid, .footer-brand { justify-content: center; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-nav ul { justify-content: center; }
  .colophon { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .front-page-link { transition: transform 0.15s ease, box-shadow 0.15s ease; }
}

/* HSR attribution */
.stamp { font-family: var(--f-sc); letter-spacing: 0.04em; font-size: 0.78rem; line-height: 1.4; color: var(--ink-soft);
  border-top: 1px dotted var(--ink); padding-top: 0.3rem; margin: 0.4rem 0 1.6rem; max-width: none !important; overflow-wrap: anywhere; grid-column: 1 / -1; }
.box + .stamp { grid-column: 2; margin-top: -1.2rem; }
.archive-no { font-family: var(--f-sc); letter-spacing: 0.06em; margin: 0.5rem 0 0; font-size: 0.95rem; }
.print-credit { display: none; }

@media print {
  .site-nav, .skip-link, .actions, .ed-tools .ed-pdf { display: none; }
  .site-header { position: static; }
  .site-footer { background: none; color: var(--ink); }
  .site-footer img { display: none; }
  /* repeats at the foot of every printed page */
  .print-credit { display: block; position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding-top: 2pt;
    border-top: 0.5pt solid #000; background: #fff; font: 8pt/1.3 Georgia, serif; text-align: center; color: #000; }
  body { margin-bottom: 1.4cm; }
  a[href^="http"]::after { content: none; }
}

.esv-notice + .esv-notice { margin-top: 0.3rem; }

/* ---------- The Paper: web edition ---------- */
.feature-hed { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; margin: 0; }
.edition { padding-bottom: clamp(3rem, 7vw, 5rem); }
.ed-mast { text-align: center; padding: clamp(1.6rem, 4vw, 2.6rem) 0 0.8rem; }
.nameplate { font-family: var(--f-black); font-weight: 400; font-size: clamp(3.4rem, 8.6vw, 6.2rem); line-height: 1; margin: 0.2rem 0 0.4rem; }
.nameplate sup { font-family: var(--f-body); font-weight: 700; font-size: 0.22em; vertical-align: 2.6em; margin-left: 0.1em; }
.ed-sub { font-family: var(--f-sc); letter-spacing: 0.3em; font-size: clamp(0.95rem, 1.4vw, 1.2rem); margin: 0; }
.motto { font-family: var(--f-fell); font-style: italic; margin: 0.3rem auto 1rem; max-width: 44rem; }
.ed-dateline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.3rem 1.5rem; font-family: var(--f-sc); letter-spacing: 0.06em; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); padding: 0.35rem 0; }
.ed-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 1.6rem 0 0; }
.ed-tools .toc { margin: 0; flex: 1 1 22rem; max-width: 34rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { padding: 0.15rem 0; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.ed-pdf { margin: 0; }

.ed-section { margin-top: clamp(2.5rem, 6vw, 4rem); }
.ed-head { text-align: center; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 0.5rem 0 0.7rem; margin-bottom: 1.6rem; position: relative; }
.ed-head .pg { font-family: var(--f-sc); letter-spacing: 0.1em; margin: 0; font-size: 0.95rem; }
.ed-head h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.02; margin: 0.1rem 0 0; }
.ed-head .sub { font-family: var(--f-fell); font-style: italic; margin: 0.3rem 0 0; font-size: 1.1rem; }
.ed-body { display: flow-root; }
.ed-body > *, .ed-article > * { max-width: 42rem; }
.ed-body > .regions, .ed-body > .ed-fig { max-width: none; }

.ed-article { margin: 0 0 2.2rem; display: flow-root; }
.ed-kicker { font-family: var(--f-sc); letter-spacing: 0.12em; font-size: 0.95rem; margin: 0 0 0.2rem; }
.ed-kicker::before, .ed-kicker::after { content: "✦"; font-size: 0.7em; vertical-align: 0.15em; margin-inline: 0.5em; }
.ed-kicker::before { margin-left: 0; }
.hed { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.04; margin: 0 0 0.4rem; text-wrap: balance; }
.ed-article .deck { font-family: var(--f-fell); font-style: italic; font-size: 1.2rem; line-height: 1.35; margin: 0 0 0.8rem; text-wrap: balance; }
.byline { font-family: var(--f-sc); letter-spacing: 0.08em; margin: 0 0 0.8rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 0.2rem 0; display: inline-block; }
.ed-article p, .region p, .box p { hyphens: auto; }
.ed-article > p { margin: 0 0 0.85rem; }
.dl { font-family: var(--f-sc); letter-spacing: 0.05em; }
.lbl { font-family: var(--f-sc); letter-spacing: 0.04em; }
.rate { font-family: var(--f-head); font-weight: 900; letter-spacing: 0.04em; font-size: 0.85em; }
.rating { font-family: var(--f-sc); letter-spacing: 0.05em; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 0.25rem 0; margin: 1rem 0 0.6rem; }
.srcline { font-family: var(--f-fell); font-style: italic; font-size: 0.98rem; color: var(--ink-soft); margin: 0.6rem 0 1rem; }
.subhead { font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.1em; font-size: 1.05rem; margin: 1.2rem 0 0.4rem; border-bottom: 1px solid var(--ink); padding-bottom: 0.2rem; }
ul.pointing { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.pointing li { position: relative; padding-left: 1.6rem; margin: 0 0 0.45rem; }
ul.pointing li::before { content: "☞"; position: absolute; left: 0; top: -0.05em; }

.ed-fig { margin: 0 0 1.2rem; }
.ed-fig img { width: 100%; border: 1px solid var(--ink); }
.ed-fig figcaption { font-family: var(--f-fell); font-style: italic; font-size: 0.98rem; line-height: 1.4; margin-top: 0.5rem; }

.box { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; padding: 1rem 1.2rem; margin: 0.4rem 0 1.8rem; background: var(--paper); }
.box-title { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; text-align: center; margin: 0 0 0.7rem; }
.box > p:last-child, .box .srcline:last-child { margin-bottom: 0; }
.box .ed-fig img { border: 0; }
@media (min-width: 64rem) {
  /* newspaper layout: articles in the main column, boxes in a sidebar beside them */
  .ed-body { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; column-gap: 2.6rem; grid-auto-flow: row dense; align-items: start; }
  .ed-body > * { grid-column: 1; }
  .ed-body > .box { grid-column: 2; margin: 0.2rem 0 1.6rem; }
  .ed-body > .regions, .ed-body > .chron, .ed-body > .ed-fig.wide, .ed-body > .srcline, .ed-body > p, .ed-body > .src-group, .ed-body > ol.sources { grid-column: 1 / -1; }
  .ed-article .box { float: right; width: 18rem; margin: 0.2rem 0 1rem 1.6rem; }
}

table.ed-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.3; }
table.ed-table th, table.ed-table td { text-align: left; vertical-align: top; padding: 0.4rem 0.35rem; border-bottom: 1px dotted var(--ink); }
table.ed-table thead th { font-family: var(--f-sc); font-weight: 400; letter-spacing: 0.06em; border-bottom: 1px solid var(--ink); }
table.glance tbody th { font-family: var(--f-head); font-weight: 900; }
table.scale tbody th { white-space: nowrap; width: 1%; padding-right: 1rem; }

.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; text-align: center; margin-bottom: 0.8rem; }
.numbers > div:first-child { grid-column: 1 / -1; border-bottom: 1px dotted var(--ink); padding-bottom: 0.6rem; }
.numbers .big { display: block; font-family: var(--f-head); font-weight: 900; font-size: 1.7rem; line-height: 1.1; }
.numbers .lab { display: block; font-size: 0.95rem; line-height: 1.3; }

.chron { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.chron li { padding: 0.8rem 0.6rem; text-align: center; border-left: 1px dotted var(--ink); }
.chron li:first-child { border-left: 0; }
.chron .day { display: block; font-family: var(--f-sc); letter-spacing: 0.06em; font-size: 0.9rem; }
.chron .date { display: block; font-family: var(--f-sc); font-size: 0.85rem; margin: 0.2rem 0; }
.chron .date b { display: block; font-family: var(--f-head); font-weight: 900; font-size: 1.6rem; line-height: 1; }
.chron .who { display: block; font-family: var(--f-head); font-weight: 900; text-transform: uppercase; line-height: 1.1; margin-bottom: 0.25rem; }
.chron .what { display: block; font-size: 0.92rem; line-height: 1.3; }
@media (max-width: 60rem) {
  .chron { grid-template-columns: 1fr; }
  .chron li { display: grid; grid-template-columns: 5.5rem 1fr; text-align: left; border-left: 0; border-top: 1px dotted var(--ink); column-gap: 1rem; }
  .chron li:first-child { border-top: 0; }
  .chron .day, .chron .date { grid-column: 1; } .chron .who, .chron .what { grid-column: 2; }
  .chron .day { grid-row: 1; } .chron .date { grid-row: 2 / span 2; } .chron .who { grid-row: 1; } .chron .what { grid-row: 2; }
}

.regions { display: grid; grid-template-columns: 1fr; gap: 0 2.4rem; margin: 0 0 1rem; }
@media (min-width: 52rem) { .regions { grid-template-columns: 1fr 1fr; } }
.region { border-top: 1px solid var(--ink); padding: 0.8rem 0 0.6rem; break-inside: avoid; }
.region header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.region .rn { flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 900; font-size: 0.9rem; }
.region h3 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; margin: 0; flex: 1; }
.region .st { font-family: var(--f-sc); letter-spacing: 0.06em; font-size: 0.85rem; border: 1px solid var(--ink); padding: 0 0.4rem; white-space: nowrap; }
.region .st-active { background: var(--ink); color: var(--paper); }
.region p { margin: 0 0 0.5rem; }

.src-group { font-family: var(--f-head); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.02em; border-bottom: 1px solid var(--ink); padding-bottom: 0.2rem; margin: 1.6rem 0 0.6rem; max-width: none !important; }
ol.sources { margin: 0; padding-left: 2.2rem; max-width: none !important; columns: 1; }
@media (min-width: 60rem) { ol.sources { columns: 2; column-gap: 2.6rem; } }
ol.sources li { margin: 0 0 0.55rem; break-inside: avoid; font-size: 0.98rem; line-height: 1.4; }
ol.sources .dom { font-family: var(--f-fell); font-style: italic; color: var(--ink-soft); overflow-wrap: anywhere; }
#sources .ed-body > p { font-family: var(--f-fell); font-style: italic; }
.ed-body > .chron, .ed-body > .srcline { max-width: none; }
.chron .who { font-size: 0.95rem; overflow-wrap: anywhere; hyphens: auto; }
.ed-article > .ed-fig { max-width: 30rem; }

/* ---------- weekly editorial ---------- */
.editorial .ed-head { border-top-width: 5px; }
.editorial-body { max-width: 40rem; font-size: 1.08em; }
.editorial-body p { margin: 0 0 1rem; hyphens: auto; }
.editorial-body p:first-child::first-letter { font-family: var(--f-head); font-weight: 900; float: left; font-size: 3.4em; line-height: 0.85; padding: 0.08em 0.08em 0 0; }
.editorial-teaser { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; padding: 1.2rem 1.4rem; margin: 2.4rem 0 0; }
.ed-label { font-family: var(--f-sc); letter-spacing: 0.08em; margin: 0 0 0.4rem; }
.editorial-teaser .feature-hed { margin: 0 0 0.7rem; }

/* ---------- edition navigation & archive ---------- */
.archived-note { border: 2px solid var(--ink); padding: 0.6rem 1rem; margin: 1.2rem 0 0; font-family: var(--f-fell); font-style: italic; text-align: center; }
.ed-nav { font-family: var(--f-sc); letter-spacing: 0.05em; margin: 0.5rem 0 0; }
.to-archive { font-family: var(--f-sc); letter-spacing: 0.06em; margin: 1.6rem 0 0; text-align: center; }
.badge { font-family: var(--f-sc); background: var(--ink); color: var(--paper); padding: 0 0.4rem; margin-left: 0.4rem; }
.archive-list { list-style: none; margin: 0; padding: 1.4rem 0 3rem; }
.arc-item { display: grid; grid-template-columns: 9rem 1fr; gap: 1.4rem; padding: 1.2rem 0; border-bottom: 1px solid var(--ink); }
.arc-thumb img { width: 100%; border: 1px solid var(--ink); }
.arc-hed { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; margin: 0.2rem 0 0.4rem; }
.arc-hed a { text-decoration: none; } .arc-hed a:hover { text-decoration: underline; }
.arc-item .deck { font-family: var(--f-fell); font-style: italic; margin: 0 0 0.5rem; }
.arc-ed, .arc-links { margin: 0.2rem 0; }
@media (max-width: 36rem) { .arc-item { grid-template-columns: 5.5rem 1fr; gap: 1rem; } }

/* ---------- reader comments ---------- */
.comments-body { max-width: 42rem; }
.comments-note { font-family: var(--f-fell); font-style: italic; }
.comment-list { list-style: none; padding: 0; margin: 1rem 0 2rem; }
.comment { border-top: 1px solid var(--ink); padding: 0.9rem 0; }
.comment-head { font-family: var(--f-sc); letter-spacing: 0.04em; margin: 0 0 0.3rem; }
.comment-text { margin: 0 0 0.5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-reply { border-left: 3px solid var(--ink); padding-left: 1rem; margin: 0.6rem 0 0 1rem; }
.comment-empty { font-family: var(--f-fell); font-style: italic; }
.comment-form { border: 1px solid var(--ink); padding: 1.2rem 1.4rem; }
.comment-form h3 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; margin: 0 0 0.8rem; font-size: 1.2rem; }
.field { margin: 0 0 0.9rem; }
.field label { display: block; font-family: var(--f-sc); letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.field label span { font-family: var(--f-fell); font-style: italic; letter-spacing: 0; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 0.55rem 0.6rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--f-fell); font-style: italic; min-height: 1.4em; }

/* ---------- discussion ---------- */
.disc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 2.4rem; padding: 1.6rem 0 3rem; align-items: start; }
.disc-side { border-left: 1px solid var(--ink); padding-left: 2rem; display: grid; gap: 2rem; }
.disc-h { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 1.35rem; letter-spacing: 0.02em; margin: 0 0 0.8rem; padding-bottom: 0.4rem; border-bottom: 3px double var(--ink); }
.disc-week .feature-hed { margin: 0.3rem 0 0.4rem; }
.disc-week .feature-hed a { color: inherit; text-decoration: none; }
.disc-week .feature-hed a:hover { text-decoration: underline; }
.disc-week .comments { margin-top: 1.4rem; }
.disc-ed { font-family: var(--f-fell); font-style: italic; }
.topic-list, .past-list { list-style: none; padding: 0; margin: 0; }
.topic-item, .past-list li { border-top: 1px solid var(--ink); padding: 0.7rem 0; }
.topic-item:first-child, .past-list li:first-child { border-top: 0; padding-top: 0; }
.topic-title { font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; line-height: 1.3; margin: 0 0 0.2rem; }
.topic-title a { color: inherit; }
.topic-meta { display: block; font-family: var(--f-fell); font-style: italic; font-size: 0.98rem; margin: 0.15rem 0 0; }
.topic-meta .badge { font-style: normal; margin: 0 0.3rem 0 0; }
.disc-box .comment-form { padding: 1rem 1.1rem; }
.disc-box .quote { margin: 0 0 1rem; font-size: 0.98rem; }
.crumbs { font-family: var(--f-sc); letter-spacing: 0.05em; margin: 1.2rem 0 0; }
.topic-head { text-align: left; }
.topic-head .kicker { text-align: left; }
.topic-head .topic-h1 { font-family: var(--f-head); font-weight: 900; text-transform: none; line-height: 1.1; margin: 0.3rem 0 0.6rem; }
.topic-body { max-width: 42rem; margin-top: 1rem; }
.topic-body p { white-space: pre-wrap; overflow-wrap: anywhere; }
.topic-page section.comments { max-width: 42rem; padding: 1.2rem 0 3rem; }
@media (max-width: 52rem) {
  .disc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .disc-side { border-left: 0; padding-left: 0; border-top: 3px double var(--ink); padding-top: 1.6rem; }
}
@media print { .comments, .ed-nav, .disc-side, .topic-form { display: none; } }
