/* ============================================================
   THE MERIDIAN — page layouts (front page, article, section,
   blog, pricing, newsletters, help, account, legal).
   Extends base.css.
   ============================================================ */

/* topbar center label on narrow */
.topbar__center { display: none; }
@media (min-width: 720px) { .topbar__center { display: block; letter-spacing: 0.06em; } }

/* mobile nav menu button hidden on desktop */
.navmenu-btn { display: none; background: none; border: none; padding: 8px 8px 8px 0; color: var(--ink); }
.navmenu-btn svg { width: 22px; height: 22px; }

/* section head rule label */
.section-head {
  font-family: var(--f-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink); position: relative; margin: 0 0 var(--s5);
  display: flex; align-items: center; gap: var(--s4);
}
.section-head::after { content: ""; flex: 1; border-top: 1px solid var(--rule-dark); }
.rule-heavy { border: 0; border-top: 2px solid var(--ink); margin: var(--s5) 0; }

/* ---- shared art blocks ---- */
.art { display: block; overflow: hidden; background: var(--paper-band); border-radius: 2px; }
.art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 8/5; }
.art--proc {
  aspect-ratio: 8/5; position: relative;
  background:
    radial-gradient(120% 120% at 20% 15%, color-mix(in srgb, var(--hue) 22%, #fff) 0%, transparent 55%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--hue) 92%, #000) 0 2px, transparent 2px 22px),
    var(--hue);
}
.art--proc span {
  position: absolute; left: 12px; bottom: 10px; font-family: var(--f-sans); font-weight: 800;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.art--proc::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 100% at 80% 90%, rgba(0,0,0,.28), transparent 60%);
}
.art--thumb { width: 130px; flex: 0 0 130px; align-self: flex-start; }
.art--thumb.art--proc { aspect-ratio: 1/1; }

.dek { font-family: var(--f-body); color: var(--ink-soft); font-size: 16px; line-height: 1.5; margin: 8px 0 10px; }
.dek--sm { font-size: 15px; }

/* ============ FRONT PAGE ============ */
.front { padding-top: var(--s6); }
.front__grid { display: grid; grid-template-columns: 1fr 320px; gap: var(--s7); }
.front__main { min-width: 0; }

.lead { }
.lead .art--lead { aspect-ratio: 16/9; margin-bottom: var(--s4); }
.lead__hl { font-size: clamp(34px, 4.4vw, 54px); margin: 10px 0 6px; }
.lead__hl a { color: var(--ink); }
.lead__hl a:hover { color: var(--ink-soft); text-decoration: none; }

.front__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s5); }

.story__hl, .row-story__hl { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.12; margin: 8px 0 6px; }
.story__hl a, .row-story__hl a { color: var(--ink); }
.story__hl a:hover, .row-story__hl a:hover { color: var(--ink-soft); text-decoration: none; }
.story .art { margin-bottom: 4px; }

/* right rail */
.front__rail { display: flex; flex-direction: column; gap: var(--s6); }
.rail-box { border-top: 3px solid var(--ink); padding-top: var(--s3); }
.rail-box__title { font-family: var(--f-sans); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; margin: 0 0 var(--s3); }
.op-list { list-style: none; padding: 0; margin: 0; }
.op-item { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.op-item:last-child { border-bottom: none; }
.op-item a { display: block; color: var(--ink); }
.op-item a:hover { text-decoration: none; }
.op-item__hl { display: block; font-family: var(--f-head); font-weight: 700; font-size: 17px; line-height: 1.2; }
.op-item a:hover .op-item__hl { color: var(--ink-soft); }
.op-item__by { display: block; font-family: var(--f-sans); font-size: 12px; color: var(--ink-mute); margin-top: 3px; }

/* games rail card */
.games-card {
  display: block; background: var(--ink); color: #fff; border-radius: 6px; padding: 22px 20px;
  text-align: center; transition: transform .15s;
}
.games-card:hover { text-decoration: none; transform: translateY(-2px); }
.games-card__kick { font-family: var(--f-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g-correct); }
.games-card__mark { font-family: var(--f-slab); font-weight: 700; font-size: 44px; letter-spacing: 0.03em; margin: 6px 0 14px; color: #fff; }
.games-card__grid { display: flex; justify-content: center; gap: 5px; margin-bottom: 16px; }
.games-card__grid span { width: 26px; height: 26px; border-radius: 3px; background: var(--c); }
.games-card__cta { font-family: var(--f-sans); font-weight: 700; font-size: 14px; color: #fff; }
.games-card--sm { padding: 18px; }
.games-card--sm .games-card__mark { font-size: 32px; margin: 4px 0 10px; }

/* story grid + list */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.story-list { display: flex; flex-direction: column; }
.row-story { display: flex; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
.row-story:first-child { border-top: 1px solid var(--rule); }
.row-story__text { flex: 1; min-width: 0; }
.band-row { margin: var(--s7) 0; }

/* promo band */
.promo-band { background: var(--ink); color: #fff; padding: var(--s8) 0; margin: var(--s8) 0; }
.promo-band__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: center; }
.promo-band__hl { font-size: clamp(30px, 3.6vw, 44px); color: #fff; margin: 12px 0 14px; }
.promo-band__p { color: #cfcfcf; font-size: 17px; max-width: 40ch; margin-bottom: var(--s5); }
.promo-band__board { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mini-row { display: flex; gap: 8px; }
.mini-tile {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-sans); font-weight: 700; font-size: 24px; color: #fff;
  border: 2px solid #3a3a3a; border-radius: 3px;
}
.mini-tile[data-s="correct"] { background: var(--g-correct); border-color: var(--g-correct); }
.mini-tile[data-s="present"] { background: var(--g-present); border-color: var(--g-present); }
.mini-tile[data-s="absent"]  { background: var(--g-absent);  border-color: var(--g-absent); }

/* newsletter band */
.news-band { background: var(--paper-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--s8) 0; }
.news-band__in { text-align: center; }
.news-band__hl { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 10px; }
.news-band p { color: var(--ink-soft); }
.news-form { display: flex; gap: 10px; max-width: 460px; margin: var(--s5) auto 12px; }
.news-form--inline { max-width: none; margin-top: 14px; }
.news-form input {
  flex: 1; font-family: var(--f-sans); font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--rule-dark); border-radius: 4px; background: #fff; min-width: 0;
}
.news-form input:focus { outline: 2px solid var(--link); border-color: var(--link); }
.news-form__note { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute); }
.news-form__note.ok { color: var(--g-correct); font-weight: 600; }
.news-form__note.err { color: var(--flag); font-weight: 600; }

/* ============ ARTICLE PAGE ============ */
.article-wrap {
  max-width: 1140px; margin: var(--s7) auto 0; padding: 0 var(--s5);
  display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: var(--s8); justify-content: center;
}
.article-wrap--solo { grid-template-columns: minmax(0, 720px); }
.article { min-width: 0; }
.article__head { max-width: var(--readw); }
.article__title { font-size: clamp(32px, 4.6vw, 50px); margin: 14px 0 12px; letter-spacing: -0.01em; }
.article__dek { font-family: var(--f-head); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ink-soft); margin: 0 0 var(--s5); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--f-sans); font-size: 13.5px; color: var(--ink-mute); padding: var(--s4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.article__meta time { color: var(--ink-mute); }
.article__dot { color: var(--rule-dark); }
.article__tools { display: flex; gap: 10px; margin: var(--s4) 0; }
.tool {
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; color: var(--ink-soft);
  background: none; border: 1px solid var(--rule-dark); border-radius: 20px; padding: 6px 16px; transition: all .15s;
}
.tool:hover { border-color: var(--ink); color: var(--ink); }
.tool.done { background: var(--ink); color: #fff; border-color: var(--ink); }

.art-hero { margin: var(--s5) 0; }
.art-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; }
.art-hero figcaption { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; }
.art-hero--proc { aspect-ratio: 16/9; position: relative; border-radius: 2px; overflow: hidden;
  background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--hue) 26%, #fff) 0%, transparent 55%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--hue) 92%, #000) 0 2px, transparent 2px 26px), var(--hue); }
.art-hero--proc span { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-sans); font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.9); }

.article__body { max-width: var(--readw); font-size: 20px; line-height: 1.65; }
.article__body p { margin: 0 0 var(--s5); }
.lede-para::first-letter {
  font-family: var(--f-disp); font-weight: 700; float: left; font-size: 3.4em;
  line-height: 0.82; padding: 6px 10px 0 0; color: var(--ink);
}
.article__end { text-align: center; color: var(--ink-faint); font-size: 14px; margin-top: var(--s6) !important; }
.back-link { display: inline-block; margin-top: var(--s6); font-family: var(--f-sans); font-weight: 600; }

/* metered paywall */
.article-wrap.metered .article__body { max-height: 340px; overflow: hidden; position: relative; }
.article-wrap.metered .paywall { display: block; }
.paywall { grid-column: 1; max-width: var(--readw); margin-top: -120px; position: relative; z-index: 5; }
.paywall__fade { height: 120px; background: linear-gradient(to bottom, transparent, #fff 85%); margin-bottom: -1px; }
.paywall__card { background: #fff; border-top: 2px solid var(--ink); padding: var(--s6) 0 var(--s5); text-align: center; }
.paywall__card h2 { font-size: 30px; margin: 8px 0 12px; }
.paywall__card p { font-family: var(--f-sans); font-size: 15px; color: var(--ink-soft); max-width: 42ch; margin: 0 auto var(--s5); line-height: 1.5; }
.paywall__cta { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
.paywall__note { font-size: 12px !important; color: var(--ink-mute) !important; margin-top: var(--s4) !important; }

/* meter pill (shown by meter.js) */
.meter-pill {
  position: sticky; top: 60px; z-index: 20; margin: 0 auto var(--s4); width: fit-content;
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 20px; padding: 6px 16px;
}
.meter-pill b { color: var(--flag); }

.article-rail { min-width: 0; }
.article-rail .rail-box__title { border-top: 3px solid var(--ink); padding-top: var(--s3); }
.article-rail .games-card { margin-top: var(--s6); }

/* ============ SECTION / HERO ============ */
.section-page, .blog-index, .games-hub, .help, .newsletters, .pricing { padding-top: var(--s6); }
.section-hero { padding: var(--s5) 0 var(--s4); }
.section-hero--center { text-align: center; max-width: 720px; margin: 0 auto; }
.section-hero__h { font-size: clamp(38px, 5.5vw, 64px); margin: 10px 0 12px; }
.section-hero__blurb { font-family: var(--f-head); font-style: italic; font-size: 20px; color: var(--ink-soft); max-width: 52ch; }
.section-hero--center .section-hero__blurb { margin: 0 auto; }

/* ============ BLOG ============ */
.blog-list { display: flex; flex-direction: column; }
.blog-item { padding: var(--s6) 0; border-bottom: 1px solid var(--rule); max-width: 760px; }
.blog-item__date { font-family: var(--f-sans); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
.blog-item__hl { font-size: 30px; margin: 8px 0 8px; }
.blog-item__hl a { color: var(--ink); }
.blog-item__hl a:hover { color: var(--ink-soft); text-decoration: none; }

/* ============ PRICING ============ */
.demo-flag {
  font-family: var(--f-sans); font-size: 13px; color: #7a5a1a; background: #fdf6e3;
  border: 1px solid #f0e3bf; border-radius: 6px; padding: 10px 16px; margin: var(--s5) auto 0; max-width: 560px; line-height: 1.4;
}
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin: var(--s7) 0 var(--s5); align-items: start; }
.plan { border: 1px solid var(--rule-dark); border-radius: 10px; padding: var(--s6) var(--s5); position: relative; background: #fff; }
.plan--featured { border: 2px solid var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--g-correct); color: #fff; font-family: var(--f-sans); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
.plan__name { font-family: var(--f-sans); font-weight: 800; font-size: 20px; margin: 0 0 12px; }
.plan__price { display: flex; align-items: baseline; gap: 2px; }
.plan__amt { font-family: var(--f-slab); font-weight: 700; font-size: 44px; line-height: 1; }
.plan__per { font-family: var(--f-sans); font-size: 15px; color: var(--ink-mute); }
.plan__billed { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute); margin: 6px 0 14px; }
.plan__who { font-family: var(--f-head); font-style: italic; font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; min-height: 44px; }
.plan__features { list-style: none; padding: 0; margin: 0 0 var(--s5); }
.plan__features li { font-family: var(--f-sans); font-size: 14px; padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--rule); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--g-correct); font-weight: 700; }
.family-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 10px; padding: var(--s5) var(--s6); margin-bottom: var(--s8); }
.family-strip__right { display: flex; align-items: baseline; gap: 12px; }
.faq { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--rule); padding: 0; }
.faq__item summary { font-family: var(--f-sans); font-weight: 600; font-size: 17px; padding: var(--s4) 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 400; font-size: 22px; color: var(--ink-mute); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { font-family: var(--f-body); font-size: 16px; color: var(--ink-soft); margin: 0 0 var(--s4); max-width: 60ch; }

/* checkout modal */
.checkout-modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.checkout-modal[hidden] { display: none; }
.checkout-card { background: #fff; border-radius: 10px; max-width: 440px; width: 100%; padding: var(--s7) var(--s6) var(--s6); position: relative; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.checkout-card h2 { font-family: var(--f-sans); font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.checkout-card .co-sum { font-family: var(--f-body); color: var(--ink-soft); margin-bottom: var(--s5); }
.checkout-card .co-line { display: flex; justify-content: space-between; font-family: var(--f-sans); font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.checkout-card .co-total { font-weight: 800; border-bottom: none; font-size: 17px; }
.co-ok { color: var(--g-correct); font-size: 40px; }
.co-order { font-family: var(--f-sans); font-size: 12px; color: var(--ink-mute); word-break: break-all; margin-top: 12px; background: var(--paper-warm); padding: 8px 12px; border-radius: 6px; }

/* ============ NEWSLETTERS ============ */
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin: var(--s7) 0; }
.nl-card { border: 1px solid var(--rule-dark); border-radius: 10px; padding: var(--s6); }
.nl-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.nl-tag { font-family: var(--f-sans); font-weight: 700; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: var(--paper-band); color: var(--ink-mute); }
.nl-tag--free { background: var(--g-correct); color: #fff; }
.nl-card__cadence { font-family: var(--f-sans); font-size: 12.5px; color: var(--ink-mute); margin-bottom: 10px; }
.nl-card p { font-size: 15px; color: var(--ink-soft); }
.sample-issue { margin: var(--s8) 0; }
.issue { max-width: 620px; margin: 0 auto; border: 1px solid var(--rule); border-radius: 8px; padding: var(--s7) var(--s6); background: #fff; }
.issue__head { text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: var(--s4); margin-bottom: var(--s5); }
.issue__name { font-family: var(--f-disp); font-weight: 700; font-size: 32px; }
.issue__date { font-family: var(--f-sans); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 6px; }
.issue__greet { font-family: var(--f-head); font-size: 18px; font-style: italic; margin-bottom: var(--s5); }
.issue__sec { margin-bottom: var(--s5); }
.issue__sec h3 { font-family: var(--f-sans); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--flag); margin: 0 0 8px; }
.issue__sec p { font-size: 16px; color: var(--ink-soft); margin: 0; }
.issue__sign { font-family: var(--f-head); font-style: italic; color: var(--ink-mute); border-top: 1px solid var(--rule); padding-top: var(--s4); }

/* ============ HELP ============ */
.help-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: var(--s5) 0 var(--s7); }
.help-nav a { font-family: var(--f-sans); font-weight: 600; font-size: 13px; padding: 7px 16px; border: 1px solid var(--rule-dark); border-radius: 20px; color: var(--ink-soft); }
.help-nav a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.help-cat { max-width: 760px; margin: 0 auto var(--s7); scroll-margin-top: 80px; }
.help-contact { max-width: 620px; margin: var(--s8) auto 0; scroll-margin-top: 80px; }
.contact-form, .account-form { display: flex; flex-direction: column; gap: 4px; margin-top: var(--s5); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--s4); }
.field label, .account-form label { font-family: var(--f-sans); font-weight: 600; font-size: 13px; }
.field input, .field select, .field textarea, .account-form input {
  font-family: var(--f-sans); font-size: 15px; padding: 11px 13px; border: 1px solid var(--rule-dark);
  border-radius: 5px; background: #fff; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .account-form input:focus { outline: 2px solid var(--link); border-color: var(--link); }

/* ============ ACCOUNT ============ */
.account { padding-top: var(--s6); }
.account__h { font-size: clamp(34px, 5vw, 52px); margin: 10px 0 var(--s3); }
.account-card { border: 1px solid var(--rule-dark); border-radius: 10px; padding: var(--s6); margin: var(--s5) 0; }
.account-card p { font-family: var(--f-sans); font-size: 15px; color: var(--ink-soft); margin: 0 0 var(--s4); }
.account-form { margin-top: 0; }
.account-form input { margin-bottom: 12px; }
.account-links { display: flex; gap: 12px; align-items: center; font-family: var(--f-sans); font-size: 14px; color: var(--ink-mute); }
.acct-welcome { text-align: center; }
.acct-welcome .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-slab); font-weight: 700; font-size: 28px; margin: 0 auto 14px; }
.acct-stat-row { display: flex; justify-content: center; gap: var(--s6); margin: var(--s5) 0; }
.acct-stat b { display: block; font-family: var(--f-slab); font-size: 28px; }
.acct-stat span { font-family: var(--f-sans); font-size: 12px; color: var(--ink-mute); }

/* ============ GAMES HUB ============ */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s5); margin: var(--s7) 0 var(--s5); }
.hub-card { border: 1px solid var(--rule-dark); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.hub-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.1); }
.hub-card--flag .hub-card__art { background: var(--ink); padding: var(--s6); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hub-card__body { padding: var(--s5) var(--s6) var(--s6); }
.hub-card__name { font-family: var(--f-slab); font-weight: 700; font-size: 30px; }
.hub-card__name--soon { color: var(--ink-faint); }
.hub-card__tag { font-family: var(--f-body); color: var(--ink-soft); margin: 6px 0 12px; font-size: 15px; }
.hub-card__date { font-family: var(--f-sans); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g-absent); }
.hub-card--soon { background: var(--paper-warm); border-style: dashed; }
.hub-note { text-align: center; font-family: var(--f-sans); font-size: 14px; color: var(--ink-mute); margin: var(--s6) 0; }

/* ============ PROSE / LEGAL / 404 ============ */
.prose-page { padding: var(--s7) var(--s5) 0; }
.prose-page__h { font-size: clamp(34px, 5vw, 54px); margin: 10px 0 var(--s5); }
.prose-page__lede { font-family: var(--f-head); font-size: 21px; font-style: italic; color: var(--ink-soft); margin-bottom: var(--s6); }
.prose-page h2 { font-family: var(--f-head); font-size: 26px; margin: var(--s6) 0 var(--s3); }
.prose-page p { font-size: 18px; line-height: 1.65; margin: 0 0 var(--s4); color: var(--ink-soft); }
.about-cta { display: flex; gap: 12px; margin: var(--s6) 0; flex-wrap: wrap; }
.legal__updated { font-family: var(--f-sans); font-size: 13px; color: var(--ink-mute); margin-bottom: var(--s5); }
.legal p { font-size: 16px; }
.notfound { text-align: center; padding: var(--s9) var(--s5); }
.notfound__code { font-size: clamp(80px, 16vw, 160px); line-height: 1; color: var(--ink); }
.notfound h1 { font-family: var(--f-head); font-size: 28px; margin: var(--s4) 0 var(--s4); }
.notfound p { max-width: 46ch; margin: 0 auto var(--s5); color: var(--ink-soft); }

/* ============ mobile nav drawer ============ */
.navdrawer { position: fixed; inset: 0; z-index: 100; display: none; }
.navdrawer.open { display: block; }
.navdrawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.navdrawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; background: #fff; padding: var(--s5); overflow-y: auto; box-shadow: 4px 0 30px rgba(0,0,0,.2); animation: slidein .2s; }
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }
.navdrawer__panel a { display: block; font-family: var(--f-head); font-weight: 700; font-size: 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.navdrawer__panel a:hover { text-decoration: none; }
.navdrawer__close { background: none; border: none; font-size: 28px; color: var(--ink); float: right; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .front__grid { grid-template-columns: 1fr; }
  .front__rail { flex-direction: row; flex-wrap: wrap; }
  .front__rail > * { flex: 1; min-width: 240px; }
  .article-wrap { grid-template-columns: minmax(0, 720px); }
  .article-rail { display: none; }
  .promo-band__in { grid-template-columns: 1fr; text-align: center; }
  .promo-band__p { margin-left: auto; margin-right: auto; }
  .promo-band__board { margin-top: var(--s5); }
}
@media (max-width: 720px) {
  .navmenu-btn { display: inline-flex; }
  .sectionnav__inner > a:not(.sectionnav__cta) { display: none; }
  .sectionnav__inner > a.sectionnav__cta { margin-left: auto; }
  .front__pair { grid-template-columns: 1fr; gap: var(--s6); }
  .story-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .nl-grid { grid-template-columns: 1fr; }
  .row-story { flex-direction: row-reverse; }
  .art--thumb { width: 96px; flex-basis: 96px; }
  .article__body { font-size: 18px; }
  .lead__hl { font-size: 32px; }
}
@media (max-width: 420px) {
  .row-story { flex-direction: column; }
  .art--thumb { width: 100%; flex-basis: auto; }
  .art--thumb.art--proc { aspect-ratio: 16/9; }
  .news-form { flex-direction: column; }
}
