/* ============================================================
   AfterMass design system — "Companion shell, Book-style reading"
   (Ana's approved direction, 2026-07: Concept 3 navigation warmth
   + Concept 2 reading surfaces + Concept 1's one-action discipline.)

   Rules of the house (DesignBrief.md):
   - every destination labeled in words; no icon-only UI
   - two clicks to anything; one primary action per screen
   - older-skewing audience: generous type, high contrast,
     large targets, nothing hover-only
   ============================================================ */

:root {
  /* Companion palette — ivory warmth + Ana's oxblood */
  --ivory: #faf7f1;          /* page ground */
  --panel: #fffdf9;          /* cards, nav */
  --line: #eadfd2;           /* hairlines */
  --ink: #362b26;            /* primary text */
  --ink-soft: #6d5f56;       /* secondary text */
  --oxblood: #6b1f2a;        /* brand accent */
  --oxblood-ink: #fbf3ee;    /* text on oxblood */
  --rose: #f3e6e0;           /* active-pill fill */
  --gold: #b98a2f;           /* sparing highlight (feasts) */

  /* AfterMass Monthly newsletter — layout sizing only (Design Boutique "The
     Ordo", 2026-07-22). Every color/face is reused from above. */
  --nl-rail: 210px;    /* almanac rail width (desktop) */
  --nl-measure: 640px; /* reading measure (~66ch at 18px serif) */
  --nl-gap: 48px;      /* gap between rail and measure */

  /* Book palette — the reading surface */
  --paper: #f8f3e8;
  --paper-ink: #2e2418;
  --paper-soft: #6d5c42; /* darkened to clear WCAG AA 4.5:1 on --paper #f8f3e8 (was #8a7a62 = 3.81:1) */
  --paper-line: #d9cdb6;
  --rubric: #9e2b25;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;            /* generous base for a 45+ audience */
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--oxblood); }

/* ---------- wordmark: roman "after" + italic "mass" ---------- */
.wm { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }
.wm em { font-style: italic; font-weight: 500; }

/* ---------- shared shell ---------- */
.shell { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

.nav {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.nav .logo { font-size: 27px; color: var(--oxblood); text-decoration: none; }
.nav .links { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.nav .links a {
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  padding: 9px 15px; border-radius: 999px;
}
.nav .links a.on { background: var(--rose); color: var(--oxblood); }
.nav .links a.cta { background: var(--oxblood); color: var(--oxblood-ink); }
.nav .links a.cta:hover, .nav .links a.cta:focus-visible { background: #5a1a23; color: var(--oxblood-ink); }
.nav .logo.ana { font-family: var(--serif); font-size: 23px; color: var(--ink); text-decoration: none; }
.nav .links a:hover, .nav .links a:focus-visible { color: var(--oxblood); outline-offset: 2px; }
.nav .links form { display: inline; }
.nav .links button {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-soft);
  background: none; border: 0; padding: 9px 15px; border-radius: 999px; cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 10px; border: 0; cursor: pointer;
  text-decoration: none; text-align: center;
}
.btn-primary { background: var(--oxblood); color: var(--oxblood-ink); }
.btn-primary:hover { background: #5a1a23; }
.btn-quiet {
  background: var(--panel); color: var(--oxblood); border: 1.5px solid var(--line);
}
.btn-quiet:hover { border-color: var(--oxblood); }
.btn-on-oxblood { background: var(--oxblood-ink); color: var(--oxblood); }
.btn a { text-decoration: none; }

/* Consistent keyboard focus ring on the primary interactive controls
   (buttons, nav links/logout, modal close, date-picker controls). Mouse
   clicks stay clean via :focus-visible; only keyboard focus shows the ring. */
.btn:focus-visible, .nav .links a:focus-visible, .nav .links button:focus-visible,
.close:focus-visible, .dp-day:focus-visible, .dp-nav:focus-visible,
.dp-clear:focus-visible, .link:focus-visible, .datepicker-display:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--oxblood); outline-offset: 2px; border-radius: 8px;
}

/* Skip-to-content link (WCAG 2.4.1) — off-screen until keyboard-focused. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--oxblood); color: var(--oxblood-ink); font-weight: 700;
  padding: 12px 18px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- headings + greeting ---------- */
h1, h2, h3, .greet h1 { font-family: var(--serif); font-weight: 500; }
.greet { padding: 40px 0 8px; }
.greet h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 6px; }
.greet p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.greet .feast { color: var(--gold); font-weight: 600; }

.secrow { display: flex; justify-content: space-between; align-items: baseline; padding: 36px 0 16px; gap: 12px; flex-wrap: wrap; }
.secrow h2 { font-size: 23px; margin: 0; }
.secrow a { font-size: 15px; font-weight: 600; text-decoration: none; }

/* ---------- the live card (oxblood banner) ---------- */
.livecard {
  margin-top: 26px; background: var(--oxblood); color: var(--oxblood-ink);
  border-radius: 14px; padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.livecard .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #e6b8a6; margin-bottom: 6px; }
.livecard .t { font-family: var(--serif); font-size: 21px; }
.livecard .when { font-size: 15px; color: #ddb9ad; margin-top: 5px; }

/* ---------- content cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; position: relative;
}
.card > a.cover-link { display: block; color: inherit; text-decoration: none; }
.card .img {
  height: 190px; position: relative; background-size: cover; background-position: center;
  background-color: #d8cdbd;
}
.card .badge {
  position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; background: rgba(255,253,249,.94); color: var(--ink);
}
.card .badge.mem { background: var(--oxblood); color: var(--oxblood-ink); }
.card .done {
  position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; background: #2f5c3b; color: #eef7ef;
}
.card .ov {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(180deg, rgba(25,12,9,0) 0%, rgba(25,12,9,.78) 78%);
  color: #fdf8f3;
}
.card .ov .ot { font-family: var(--serif); font-size: 19px; line-height: 1.25; padding-right: 108px; text-wrap: balance; }
.card .ov .om { font-size: 13px; color: rgba(253,248,243,.85); margin-top: 5px; }
.card .act {
  position: absolute; right: 14px; bottom: 14px; font-size: 13.5px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px; background: rgba(255,253,249,.95); color: var(--oxblood);
  white-space: nowrap;
}
.card .act.locked { background: rgba(107,31,42,.94); color: var(--oxblood-ink); }
.card .pad { padding: 15px 18px 17px; }
.card .pad .m { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 700px) { .cards, .cards.cols-3 { grid-template-columns: 1fr; } }

/* ---------- flash messages ---------- */
.flash {
  margin: 22px 0 0; padding: 14px 18px; border-radius: 10px; font-size: 15.5px;
  background: var(--rose); color: var(--oxblood); border: 1px solid #e4cec2;
}
.flash.ok { background: #edf4ee; color: #2f5c3b; border-color: #cfe0d2; }

/* ---------- the Book reading surface ---------- */
.book {
  background: var(--paper); color: var(--paper-ink); font-family: var(--serif);
  border: 1px solid var(--paper-line); border-radius: 14px;
  margin: 34px 0 48px; padding: 46px clamp(22px, 6vw, 72px) 56px;
}
.book .runhead {
  display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-soft);
  border-bottom: 1px solid var(--paper-line); padding-bottom: 10px;
}
.book .page { max-width: 620px; margin: 0 auto; }
.book h1.title { text-align: center; font-size: clamp(27px, 4vw, 34px); font-weight: 500; margin: 38px 0 6px; }
.book .subtitle { text-align: center; font-size: 15px; font-style: italic; color: var(--paper-soft); margin-bottom: 30px; }
.book .rubric {
  font-family: var(--sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rubric); text-align: center; margin: 36px 0 14px; font-weight: 600;
}
.book .rubric::before, .book .rubric::after { content: " \2726 "; color: #c9b896; }
.book .body p { font-size: 18px; line-height: 1.75; margin: 0 0 15px; }
.book .body p:first-of-type::first-letter {
  font-size: 54px; float: left; line-height: .85; padding: 5px 9px 0 0; color: var(--rubric);
}
.book video, .book .video-note { border-radius: 8px; margin: 8px 0 4px; width: 100%; }
.book .video-note {
  font-family: var(--sans); font-size: 14.5px; color: var(--paper-soft);
  border: 1.5px dashed var(--paper-line); padding: 26px 20px; text-align: center;
}
.book .practice {
  border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line);
  padding: 18px 10px; margin: 34px 0; text-align: center; font-size: 16.5px; font-style: italic;
}
.book .practice b { font-style: normal; color: var(--rubric); font-weight: 600; }
.book .actions { text-align: center; margin-top: 30px; font-family: var(--sans); }
.book audio { width: 100%; margin: 10px 0; }

/* ---------- lists (live sessions, journey, calendar) ---------- */
.rowcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.rowcard .t { font-family: var(--serif); font-size: 20px; }
.rowcard .m { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }
.rowcard .m .lock { color: var(--oxblood); font-weight: 600; }

.progress-track { background: var(--line); border-radius: 999px; height: 12px; overflow: hidden; margin: 10px 0 6px; }
.progress-fill { background: var(--oxblood); height: 100%; border-radius: 999px; }

/* ---------- forms ---------- */
.formcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 34px 38px; max-width: 480px; margin: 48px auto;
}
.formcard.wide { max-width: 720px; }
.formcard h1 { font-size: 26px; margin: 0 0 4px; }
.formcard .sub { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=url], .field input[type=number], .field input[type=datetime-local],
.field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--oxblood); outline-offset: 1px; border-color: var(--oxblood);
}
.field .err { color: var(--rubric); font-size: 14px; margin-top: 6px; }
.field.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.field.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--oxblood); }
.formfoot { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
/* two-up field rows that collapse to one column on narrow screens */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label .req { color: var(--rubric); margin-left: 2px; }
.speakform button { margin-top: 6px; }

/* ---------- modal (Book Ana to speak) ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
  background: rgba(46, 36, 24, .55);
}
.modal .dialog {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  width: 100%; max-width: 560px; margin: auto;
  padding: 30px clamp(20px, 5vw, 34px) 34px; position: relative;
  box-shadow: 0 24px 60px rgba(46, 36, 24, .3);
}
.modal .dialog h2 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 0 0 4px; }
.modal .close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: 0; border-radius: 999px; background: var(--ivory); color: var(--ink-soft);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.modal .close:hover { background: var(--rose); color: var(--oxblood); }
.modal .modal-sent { text-align: center; padding: 20px 4px 8px; }
.modal .modal-sent .mark {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 999px;
  background: #edf4ee; color: #2f5c3b; display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.modal .modal-sent h2 { color: var(--oxblood); }

/* ---------- custom date picker (AfterMass aesthetic) ---------- */
.datepicker { position: relative; }
.datepicker-display { cursor: pointer; }
.datepicker-pop {
  position: absolute; z-index: 1100; top: 100%; left: 0; margin-top: 8px;
  width: 316px; max-width: calc(100vw - 40px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 50px -18px rgba(46, 36, 24, .42); padding: 16px 16px 15px;
}
.datepicker-pop[hidden] { display: none; }
/* Flipped variant — opens above the field when there isn't room below
   (set by the picker's place() logic so it stays inside the booking modal). */
.datepicker-pop.dp-up { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 8px; }
.dp-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line);
}
.dp-title { font-family: var(--serif); font-size: 18.5px; color: var(--ink); letter-spacing: .01em; }
.dp-nav {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  font-size: 17px; line-height: 1; color: var(--oxblood); cursor: pointer; padding: 0;
  transition: background .12s, border-color .12s;
}
.dp-nav:hover { background: var(--rose); border-color: transparent; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-dow { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-soft); padding: 2px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.dp-day {
  background: none; border: 0; font: inherit; font-size: 14.5px; color: var(--ink);
  aspect-ratio: 1; border-radius: 50%; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s;
}
.dp-day:hover { background: var(--rose); color: var(--oxblood); }
.dp-day.today { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--oxblood) 42%, transparent); font-weight: 700; }
.dp-day.sel, .dp-day.sel.today {
  background: var(--oxblood); color: var(--oxblood-ink); font-weight: 700;
  box-shadow: 0 5px 13px -5px color-mix(in srgb, var(--oxblood) 62%, transparent);
}
.dp-clear {
  display: block; width: 100%; margin-top: 12px; padding: 9px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: .02em; cursor: pointer; transition: background .12s, color .12s, border-color .12s;
}
.dp-clear:hover { color: var(--oxblood); background: var(--rose); border-color: transparent; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.plan.best { border-color: var(--oxblood); }
.plan .name { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.plan .price { font-family: var(--serif); font-size: 38px; }
.plan .price small { font-size: 16px; color: var(--ink-soft); font-family: var(--sans); }
.plan .note { color: var(--ink-soft); font-size: 15px; flex: 1; }
.plan .save { color: var(--oxblood); font-weight: 700; font-size: 14px; }

/* ============================================================
   Marketing surfaces — faithful to the approved concept deck
   (DesignConcepts.html models: m2 = aftermass.org, m1 = anamunley.com).
   Type sizes run a step larger than the deck mock frames where the
   mock dipped below the older-audience floor (DesignBrief.md).
   ============================================================ */

/* ---- portrait hero (anamunley.com, deck m1) ---- */
.hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; padding: 56px 0 48px; align-items: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero .portrait { max-width: 300px; margin: 0 auto; } }
.hero .portrait { width: 100%; border-radius: 200px 200px 14px 14px; box-shadow: 0 14px 36px rgba(61,25,26,.18); }
.hero .kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 16px; }
.hero .lede { color: var(--ink-soft); font-size: 17px; max-width: 46ch; margin: 0 0 26px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .cta-row .quiet { font-size: 15px; color: var(--ink-soft); }

/* ---- centered promise hero (aftermass.org, deck m2) ---- */
.mhero { text-align: center; padding: 64px 24px 46px; max-width: 780px; margin: 0 auto; }
.mhero .kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); font-weight: 700; }
.mhero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.14; margin: 14px 0 16px; text-wrap: balance; }
.mhero .lede { color: var(--ink-soft); font-size: 17px; max-width: 54ch; margin: 0 auto 26px; }
.mhero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.mhero .note { font-size: 14px; color: var(--ink-soft); margin-top: 16px; }

.btn-ghost { background: none; border: 1.5px solid var(--oxblood); color: var(--oxblood); }
.btn-ghost:hover { background: var(--rose); }

/* ---- the three doors: Learn / Pray / Live (deck m2 feats) ---- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feat .img { height: 130px; position: relative; }
.feat .fw { position: absolute; left: 16px; bottom: 12px; font-family: var(--serif); font-size: 24px; color: #fdf8f3; text-shadow: 0 1px 10px rgba(25,12,9,.55); }
.feat .pad { padding: 14px 18px 18px; }
.feat .d { font-size: 15px; color: var(--ink-soft); }

/* ---- the free public layer (deck m2 seo box) ---- */
.seobox { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 22px 26px; margin-top: 34px; }
.seobox .h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.seobox .h b { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.seobox .h span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.seobox .row { display: flex; gap: 14px 28px; flex-wrap: wrap; margin-top: 14px; font-size: 15.5px; font-weight: 600; }
.seobox .row a { text-decoration: none; }
.seobox .today { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }

/* ---- marketing plans row (deck m2; app pricing keeps 2-col .plans) ---- */
.plans.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .plans.cols-3 { grid-template-columns: 1fr; } }
.plans-note { font-size: 13.5px; color: var(--ink-soft); margin: -10px 0 0; }

/* ---- stats + oxblood band (anamunley.com, deck m1) ---- */
.stats { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .s { flex: 1 1 180px; background: var(--panel); text-align: center; padding: 22px 10px; }
.stats .n { font-family: var(--serif); font-size: 26px; color: var(--oxblood); }
.stats .l { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.band { background: var(--oxblood); color: var(--oxblood-ink); }
.band .inner { max-width: 1060px; margin: 0 auto; padding: 30px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.band .t { font-family: var(--serif); font-size: 22px; }
.band .m { font-size: 15px; color: #ddb9ad; margin-top: 4px; }

/* ---- social row (both marketing sites, deck) ---- */
.socialband { border-top: 1px solid var(--line); background: var(--panel); }
.socialband .inner { max-width: 1060px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.socialband .sl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--oxblood); }
.socialband a { font-size: 15px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.socialband a:hover, .socialband a:focus-visible { color: var(--oxblood); }

.leadmag { background: var(--oxblood); color: var(--oxblood-ink); border-radius: 14px; padding: 34px 34px 38px; margin: 52px 0; }
.leadmag h2 { margin: 0 0 6px; font-size: 25px; }
.leadmag p { color: #ddb9ad; margin: 0 0 18px; font-size: 15.5px; max-width: 60ch; }
.leadmag form { display: flex; gap: 12px; flex-wrap: wrap; }
.leadmag input[type=email] {
  flex: 1; min-width: 240px; font: inherit; font-size: 16px; border: 0; border-radius: 10px; padding: 13px 16px;
  background: var(--oxblood-ink); color: var(--ink);
}
.leadmag .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #ddb9ad; margin-top: 12px; width: 100%; }
.leadmag .consent input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--oxblood-ink); }
.leadmag .err {
  /* Was pale text lost against the oxblood panel, so a real error read as a
     footnote while the browser's own validation bubble shouted. Given a chip of
     its own so it carries the same weight as the message it sits beside. */
  width: 100%; font-size: 14.5px; font-weight: 600; color: #fff1ec; margin-top: 10px;
  background: rgba(0,0,0,.28); border-left: 3px solid #ffd7cc;
  padding: 8px 12px; border-radius: 0 6px 6px 0;
}

/* ---------- liturgical calendar ---------- */
/* Each day/season carries its liturgical color via a --lit var set on the
   .cal-<color> modifier; the swatch, bar, tile accent, and season pill all
   read from it, so the color system is the visual spine of the page. */
.cal-green  { --lit: #2f5c3b; --lit-soft: #eaf1ec; }
.cal-violet { --lit: #5b3a72; --lit-soft: #efe9f3; }
.cal-red    { --lit: var(--rubric); --lit-soft: #f6e7e5; }
.cal-white  { --lit: #7d5e12; --lit-soft: #f6efdf; } /* darkened gold: pill text clears WCAG AA 4.5:1 (display --gold = 2.75:1) */
.cal-rose   { --lit: #9a4d69; --lit-soft: #f5e8ee; } /* darkened rose: pill text clears WCAG AA 4.5:1 (was #b06a86 = 3.38:1) */

/* Today — the hero panel. */
.cal-today {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 34px 32px 40px; margin: 26px 0 12px;
  box-shadow: 0 12px 30px -22px rgba(54,43,38,.5);
}
.cal-today::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: var(--lit);
}
.cal-today-flag { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cal-today .cal-swatch {
  width: 12px; height: 12px; border-radius: 50%; background: var(--lit);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lit) 18%, transparent);
}
.cal-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-soft);
}
.cal-today-label {
  font-family: var(--serif); font-size: clamp(26px, 4.4vw, 38px); line-height: 1.12;
  color: var(--ink); margin: 0 0 16px; max-width: 22ch;
}
.cal-today-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Season pill — filled with the liturgical color. */
.cal-season-pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--lit); background: var(--lit-soft);
  border: 1px solid color-mix(in srgb, var(--lit) 30%, transparent);
  padding: 6px 13px; border-radius: 999px;
}
.cal-today-meta .cal-season-pill { font-size: 12.5px; padding: 8px 16px; }

.cal-feast-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: #7d5e12; background: #f6efdf;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
  padding: 7px 14px; border-radius: 999px;
}
.cal-feast-tag.sm { font-size: 11px; padding: 3px 9px; letter-spacing: .04em; }

.cal-ahead {
  font-family: var(--serif); font-size: 21px; color: var(--ink);
  margin: 34px 0 14px;
}

/* The two weeks ahead — calendar tiles. */
.cal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cal-day {
  position: relative; display: flex; align-items: center; gap: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
  padding: 12px 18px 12px 22px; overflow: hidden;
}
.cal-day .cal-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lit); }
.cal-tile {
  flex: 0 0 auto; width: 58px; text-align: center; line-height: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.cal-dow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lit); }
.cal-dnum { font-family: var(--serif); font-size: 27px; color: var(--ink); line-height: 1; }
.cal-body { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.cal-label { font-size: 16.5px; color: var(--ink); }
.cal-day .cal-season-pill { margin-left: auto; flex: 0 0 auto; }

/* Sundays anchor the week — warmer ground + heavier label. */
.cal-day.is-sunday { background: color-mix(in srgb, var(--lit-soft) 60%, var(--panel)); border-color: color-mix(in srgb, var(--lit) 22%, var(--line)); }
.cal-day.is-sunday .cal-label { font-weight: 700; }
.cal-day.is-sunday .cal-bar { width: 7px; }

/* Feast days — gold-accented and lifted. */
.cal-day.is-feast { background: #fbf6ea; border-color: color-mix(in srgb, var(--gold) 34%, var(--line)); }
.cal-day.is-feast .cal-label { font-family: var(--serif); font-size: 18px; }

.cal-note { font-size: 13px; color: var(--ink-soft); margin: 16px 2px 40px; }

@media (max-width: 560px) {
  .cal-today { padding: 24px 22px 26px 28px; border-radius: 15px; }
  .cal-day { gap: 13px; padding: 11px 14px 11px 18px; }
  .cal-tile { width: 46px; }
  .cal-dnum { font-size: 23px; }
  .cal-day .cal-season-pill { margin-left: 0; }
  .cal-body { gap: 6px; }
}

.sitefoot { padding: 44px 0 60px; color: var(--ink-soft); font-size: 14.5px; }
.sitefoot .wm { color: var(--oxblood); font-size: 19px; }
.sitefoot.mini { text-align: center; font-size: 13.5px; color: var(--ink-soft); padding: 22px 18px 30px; }

/* ---------- admin tables ---------- */
table.admin { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table.admin th, table.admin td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
table.admin th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
table.admin .inline-actions { display: flex; gap: 10px; align-items: center; }
table.admin form { display: inline; }
table.admin button.link, a.link { font: inherit; font-size: 15px; font-weight: 600; color: var(--oxblood); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* ---------- utility ---------- */
.spacer { height: 48px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- founding-member page + free samples ---------- */
.joinbenefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; margin-top: 6px; }
.joinbenefits > div { display: flex; flex-direction: column; gap: 3px; }
.joinbenefits b { font-size: 16px; color: var(--ink); }
.joinbenefits span { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

.samplegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.samplecard {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 22px 20px; transition: border-color .14s, box-shadow .14s, transform .14s;
}
.samplecard:hover { border-color: color-mix(in srgb, var(--oxblood) 30%, var(--line)); box-shadow: 0 14px 30px -20px rgba(54,43,38,.5); transform: translateY(-2px); }
.samplecard .tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--oxblood); background: var(--rose); padding: 4px 10px; border-radius: 999px;
}
.samplecard h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); margin: 2px 0 0; line-height: 1.2; }
.samplecard p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin: 0; flex: 1; }
.samplecard .go { font-size: 14.5px; font-weight: 700; color: var(--oxblood); margin-top: 4px; }
.samplecard.feature { grid-column: 1 / -1; background: var(--oxblood); border-color: var(--oxblood); }
.samplecard.feature .tag { color: var(--oxblood); background: #f2ded3; }
.samplecard.feature h3 { color: var(--oxblood-ink); font-size: 26px; }
.samplecard.feature p { color: #e9d9d2; max-width: 60ch; }
.samplecard.feature .go { color: #fff; }

/* Join CTA at the foot of a sample page (inside the .book surface). */
.joincta {
  margin: 40px auto 8px; max-width: 620px; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px;
}
.joincta h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--ink); margin: 0 0 8px; }
.joincta p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin: 0 auto 18px; max-width: 48ch; }
.joincta .btn { margin: 0 6px; }
.joincta .link { display: inline-block; margin-top: 14px; font-size: 14.5px; color: var(--oxblood); }

@media (max-width: 720px) {
  .samplegrid { grid-template-columns: 1fr; }
  .joinbenefits { grid-template-columns: 1fr; }
}

/* ---------- "Coming soon" surfaces (announced content, not yet built) ----------
   Used by the Pray pillar's upcoming course, the newsletter offer, and the
   printable-supplements shelf. Deliberately quieter than a real content card:
   no hover-lift and no link affordance, so nothing here reads as clickable
   material a member can open today. Content lives in config/roadmap.php. */
.soon {
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  padding: 26px 26px 28px; margin-top: 8px;
}
.soon-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.soon-head h2 { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--ink); margin: 0; line-height: 1.2; }
.pill-soon {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--oxblood); background: var(--rose); padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.soon-kicker { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.soon-blurb { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 8px 0 0; max-width: 62ch; }
.soon-cadence { font-size: 14.5px; color: var(--oxblood); font-weight: 700; margin: 12px 0 0; }

/* The course syllabus — numbered topics with a sentence or three each. */
.soon-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 22px; }
.soon-topic { display: flex; gap: 13px; align-items: flex-start; }
.soon-topic .n {
  flex: none; width: 27px; height: 27px; border-radius: 999px; margin-top: 2px;
  background: var(--rose); color: var(--oxblood);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.soon-topic h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); margin: 0 0 4px; line-height: 1.25; }
.soon-topic p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Printable supplements shelf — grouped by pillar. No prices: pricing is unset. */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.shelf-col { border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); padding: 18px 18px 16px; }
.shelf-col h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--oxblood); margin: 0 0 10px; }
.shelf-col ul { margin: 0; padding-left: 18px; }
.shelf-col li { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 8px; }

@media (max-width: 720px) {
  .soon-topics { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
}

/* Newsletter signup (inside .leadmag, so it sits on the oxblood ground). */
.nl-sample { font-size: 14px; color: #e9d9d2; margin: 16px 0 0; }
.nl-sample a { color: #fff; text-decoration: underline; }


/* ---------- printables shop + cart ----------
   Prototype commerce surface: browse, cart, fake $0 checkout, download. */
.protonote {
  background: #f4ede1; border: 1px solid #e3d5bd; border-left: 3.5px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0 6px;
  font-size: 14.5px; line-height: 1.55; color: #5a4c3a;
}

.shopgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shopcard {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px 18px;
}
.shopcard .tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--oxblood); background: var(--rose); padding: 4px 10px; border-radius: 999px;
}
.shopcard h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); margin: 2px 0 0; line-height: 1.25; }
.shopcard p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; flex: 1; }
.shopfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.shopfoot .price { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.shopfoot .price.owned { color: #2f5c3b; font-weight: 600; font-size: 16px; }

/* Cart table */
.carttable { width: 100%; border-collapse: collapse; margin-top: 16px; }
.carttable th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-soft); border-bottom: 1.5px solid var(--line); padding: 8px 12px 8px 0;
}
.carttable td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.carttable td .muted { display: block; font-size: 13px; margin-top: 2px; }
.carttable .num { text-align: right; }
.carttable tfoot th, .carttable tfoot td { border-bottom: 0; padding-top: 16px; font-size: 16px; }
.qtyform { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
.qtyform input { width: 62px; padding: 7px 8px; text-align: right; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--oxblood); text-decoration: underline; cursor: pointer; }
.cartactions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.cartcount {
  display: inline-block; min-width: 19px; padding: 1px 6px; border-radius: 999px;
  background: var(--oxblood); color: var(--oxblood-ink); font-size: 12px; font-weight: 700; text-align: center;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  .shopgrid { grid-template-columns: 1fr; }
  .carttable td, .carttable th { padding-right: 6px; }
}

/* Shop toolbar: the one explicit route to checkout. Sticky so it stays reachable
   while scrolling a long catalogue. */
.shoptools {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 18px 0 4px; padding: 12px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 8px 18px -16px rgba(54,43,38,.55);
}
.shoptools form { margin: 0; }
.shoptools .cartcount { margin-left: 6px; background: rgba(255,253,249,.92); color: var(--oxblood); }

/* "In your cart" is a state label, not a button — the card must not look like a
   second way to check out. */
.incart {
  font-size: 14.5px; font-weight: 600; color: #2f5c3b;
  background: #eaf3ec; border-radius: 999px; padding: 7px 14px; white-space: nowrap;
}

/* Download dialog actions (shop/downloads). */
.pdfactions { display: flex; gap: 12px; flex-wrap: wrap; }
.pdfactions .btn { flex: 1 1 auto; text-align: center; }

/* ============================================================================
   AfterMass Monthly — broadsheet (true two-column newsletter, 2026-07-22)
   A full-width nameplate + almanac band, then the letter in GENUINE two-column
   flow on desktop (CSS multi-column), one column on mobile. Pull quote, prompt,
   and the feature span both columns. Palette + type are the accepted system.
   ============================================================================ */
.nl { background: var(--paper); color: var(--paper-ink); max-width: 940px; margin: 0 auto; padding: 40px 30px 56px; }
.nl a { color: var(--oxblood); }
.nl a.btn-primary { color: var(--oxblood-ink); }   /* keep primary-button text readable; .nl a would tint it oxblood-on-oxblood */

/* ---- nameplate masthead (full width) ---- */
.nl-mast { border-top: 2.5px solid var(--oxblood); padding-top: 16px; margin-bottom: 22px; }
.nl-mast .wm { font-size: 40px; line-height: 1; color: var(--oxblood); letter-spacing: -0.4px; }
.nl-mast .wm em { font-style: italic; color: var(--paper-ink); }
.nl-monthly { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--oxblood); margin-top: 6px; }
.nl-folio {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 12px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--paper-soft); margin-top: 14px; padding: 8px 0;
  border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line);
}
.nl-standfirst { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--paper-ink); max-width: 46em; margin-bottom: 26px; }
/* Launch note (issue-01): a warm oxblood-accented banner above the standfirst
   announcing that the AfterMass site is now open. */
.nl-launch { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--paper-ink);
    max-width: 46em; margin-bottom: 20px; padding: 12px 16px; background: #f4ecdc;
    border-left: 3px solid var(--oxblood); border-radius: 0 6px 6px 0; }

/* ---- almanac band (full width, replaces the floating rail) ---- */
.nl-almanac { border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); padding: 14px 0; margin-bottom: 30px; }
.nl-almanac-head { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oxblood); margin-bottom: 12px; }
.nl-almanac-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0; padding: 0; }
.nl-aday { display: flex; align-items: baseline; gap: 8px; }
.nl-aday .nl-dot { align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--lit); }
.nl-anum { font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--paper-ink); font-variant-numeric: oldstyle-nums; }
.nl-astack { display: flex; flex-direction: column; }
.nl-adow { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lit); }
.nl-aname { font-family: var(--serif); font-size: 15px; line-height: 1.15; color: var(--paper-ink); }
.nl-aday.is-feast .nl-aname { color: var(--rubric); }
/* liturgical colors (mirror /calendar's --lit values) */
.lit-white  { --lit: #7d5e12; }
.lit-green  { --lit: #2f5c3b; }
.lit-red    { --lit: var(--rubric); }
.lit-violet { --lit: #5b3a72; }
.lit-rose   { --lit: #9a4d69; }

/* ---- the letter, in TRUE two columns ---- */
.nl-columns { column-count: 2; column-gap: 44px; column-rule: 1px solid var(--paper-line); }
/* Sections FLOW across the column break (true newspaper columns) so the columns
   fill evenly with minimal rag. A section's kicker+headline are kept together
   and not left orphaned at a column foot (.nl-head), but the body is free to
   continue into the next column. (Operator preference 2026-07-22: flowing fill
   over atomic blocks, accepting a title at a column foot with its text
   continuing in the next column.) */
.nl-section { margin: 0 0 20px; }
.nl-head { break-inside: avoid; break-after: avoid; }
.nl-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--oxblood); margin-bottom: 8px;
}
.nl-kicker::after { content: ""; flex: 1; height: 1px; background: var(--paper-line); }
.nl-h { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; color: var(--paper-ink); margin: 0 0 9px; text-wrap: balance; }
.nl-text p { font-size: 16.5px; line-height: 1.62; margin-bottom: 13px; }
.nl-text p:last-child { margin-bottom: 0; }
.nl-text em { font-style: italic; }
/* drop initial on the lead section only */
.nl-section.is-lead .nl-text p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 50px; line-height: .82; padding: 4px 8px 0 0; color: var(--rubric);
}
.nl-note { font-family: var(--serif); font-size: 14.5px; font-style: italic; color: var(--paper-soft); margin-top: 11px; padding-left: 13px; border-left: 2px solid var(--paper-line); }
.nl-aside { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--paper-soft); border-left: 3px solid var(--gold); padding-left: 13px; margin: 14px 0; break-inside: avoid; }
.nl-aside strong { color: var(--paper-ink); }

/* ---- full-measure devices: span both columns ---- */
.nl-pull { column-span: all; background: var(--oxblood); color: var(--oxblood-ink); border-radius: 8px; padding: 24px 28px; margin: 28px 0; }
.nl-pull q { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.45; quotes: "\201C" "\201D"; }
.nl-pull .nl-src { font-family: var(--sans); font-size: 13px; line-height: 1.5; color: #e9d9d2; margin-top: 12px; }
.nl-pull .url { display: block; word-break: break-all; font-size: 11.5px; margin-top: 4px; color: #e9d9d2; }
.nl-pull a, .nl-pull a:visited { color: #e9d9d2; }   /* citation link matches the panel, not browser blue */
.nl-prompt { column-span: all; background: var(--rose); border-radius: 8px; padding: 26px 22px; margin: 28px 0; text-align: center; }
.nl-prompt .nl-kicker { justify-content: center; color: var(--rubric); }
.nl-prompt .nl-kicker::after { content: none; }
.nl-prompt .nl-plines { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--oxblood); }
.nl-prompt .nl-plines::before { content: "\2726"; display: block; color: var(--gold); font-size: 16px; margin-bottom: 12px; }

/* ---- feature (What's new): full width, its own two-up ---- */
.nl-feature { column-span: all; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--paper-line); }
.nl-feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.nl-feature h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.25; margin: 0 0 6px; }
.nl-feature p, .nl-feature li { font-size: 15px; line-height: 1.55; color: var(--paper-soft); }
.nl-feature ul { margin: 0 0 0 16px; }
.nl-feature li { margin-bottom: 7px; }

/* ---- colophon + actions ---- */
.nl-invite { column-span: all; background: var(--panel); border: 1px solid var(--paper-line); border-radius: 12px; padding: 28px 30px; margin-top: 30px; text-align: center; }
.nl-invite .nl-kicker { justify-content: center; }
.nl-invite .nl-kicker::after { content: none; }
.nl-invite .nl-h { font-size: 24px; margin-bottom: 10px; }
.nl-invite p { font-size: 16px; line-height: 1.6; color: var(--paper-soft); max-width: 58ch; margin: 0 auto 18px; }
.nl-colophon { border-top: 2px solid var(--oxblood); margin-top: 40px; padding-top: 12px; font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--paper-soft); }
.nl-copyright { display: block; margin-top: 6px; }
.nl-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---- mobile: one column; the almanac band wraps to pill chips ---- */
@media (max-width: 720px) {
  .nl { padding: 28px 22px 44px; }
  .nl-columns { column-count: 1; column-rule: none; }
  .nl-mast .wm { font-size: 34px; }
  .nl-feature-cols { grid-template-columns: 1fr; gap: 20px; }
  .nl-almanac-row { gap: 8px; }
  .nl-aday { gap: 8px; min-height: 44px; padding: 6px 14px; background: var(--panel); border: 1px solid var(--paper-line); border-radius: 999px; align-items: center; }
  .nl-anum { font-size: 18px; }
  .nl-astack { flex-direction: row; align-items: baseline; gap: 8px; }
}
@media (max-width: 560px) {
  .nl-h { font-size: 21px; }
  .nl-section.is-lead .nl-text p:first-of-type::first-letter { font-size: 42px; }
}

/* Home doors are links (pivot 2026-07-22): keep them looking like cards. */
a.feat { text-decoration: none; color: inherit; display: block; transition: transform .14s, box-shadow .14s; }
a.feat:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(54,43,38,.5); }

/* ---------- anamunley.com — About + Sponsors (2026-07-22) ---------- */
.anabio { padding: 10px 0 6px; }
.anabio .shell { max-width: 780px; }
.anabio .lead { font-size: 21px; line-height: 1.65; color: var(--ink); }
.anabio p { font-size: 18px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }
.anabio p:last-child { margin-bottom: 0; }

.sponsors { border-top: 1px solid var(--line); margin-top: 44px; padding: 40px 0 46px; text-align: center; }
.sponsors .k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: 24px; }
.sponsors .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.sponsor { display: inline-flex; }
.sponsor img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.sponsor:hover img, .sponsor:focus-visible img { filter: none; opacity: 1; }
/* placeholder tiles until real logos are supplied */
.sponsor-ph { width: 150px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, #f0e9dd, #e6ddcc); }
.sponsor-note { font-size: 13px; color: var(--ink-soft); margin-top: 20px; }

/* ---------- prominent "Follow Ana" section (2026-07-22) ---------- */
.followana { padding: 46px 0 6px; }
.followana .kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); font-weight: 700; margin-bottom: 10px; }
.followana h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 30px); color: var(--ink); margin: 0 0 8px; }
.followana-lede { font-size: 17px; color: var(--ink-soft); max-width: 54ch; margin: 0 0 22px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px;
  transition: border-color .14s, box-shadow .14s, transform .14s;
}
.channel:hover, .channel:focus-visible {
  border-color: color-mix(in srgb, var(--c) 45%, var(--line));
  box-shadow: 0 14px 30px -20px rgba(54,43,38,.5); transform: translateY(-2px); outline: none;
}
.channel .dot { flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 15%, transparent); }
.channel .txt { display: flex; flex-direction: column; line-height: 1.25; }
.channel .cn { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.channel .cd { font-size: 13px; color: var(--ink-soft); margin-top: 1px; }

@media (max-width: 760px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .channels { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Checkout (Stripe Elements, on our own page — 2026-07-28)
   The card inputs themselves are Stripe iframes styled through the appearance
   API in shop/checkout.blade.php; everything here is the frame around them.
   Order summary sits SECOND in the DOM so a narrow screen shows the payment
   form first, and is pulled left on desktop where the summary reads better
   alongside. --------------------------------------------------------------- */
.checkoutgrid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; margin-top: 20px;
}
.checkoutgrid h2 {
  font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-soft); margin: 0 0 12px;
}

.ordersummary {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
}
.summarylines { list-style: none; margin: 0 0 14px; padding: 0; }
.summarylines li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.summarylines li:last-child { border-bottom: 0; }
.summarylines .t { flex: 1; color: var(--ink); }
.summarylines .q { color: var(--ink-soft); font-size: 13px; }
.summarylines .p { font-family: var(--serif); color: var(--ink); white-space: nowrap; }

.summarytotals { border-top: 1.5px solid var(--line); padding-top: 12px; }
.summarytotals .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 4px 0; }
.summarytotals .row.discount { color: #2f5c3b; }
.summarytotals .row.total { font-family: var(--serif); font-size: 19px; color: var(--ink); padding-top: 10px; }

.paypanel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
}
.payloading { color: var(--ink-soft); font-size: 14.5px; padding: 26px 0; text-align: center; }
.paybtn { width: 100%; margin-top: 18px; justify-content: center; }
.paysecure { font-size: 13px; margin: 12px 0 4px; line-height: 1.5; }
#payment-message:not([hidden]) { display: block; margin-top: 14px; }

@media (max-width: 860px) {
  .checkoutgrid { grid-template-columns: 1fr; gap: 20px; }
  /* Payment first on a phone; the summary is confirmation, not the task. */
  .paypanel { order: -1; }
}
