/* Holy Week in the four Gospels. A full-screen piece that opens from the article
   "When Did Jesus Rise From the Dead?". Type follows christianpure.com since 5 Nov 2026 (D-047):
   GT Sectra for headings, GT Pantheon Text for reading, GT Pantheon Micro for small text and labels.
   Colours, spacing and radii are the design system's tokens (christianpure-design-system e4c2092).
   Second pass, 7 Nov 2026: Scripture sits on the page ground; the explanations sit on the ivory band,
   so the Gospels' words and ours never share a ground.
   Laptop: the week stays on the left; the open moment fills the rest with the four texts side by side.
   Phone: the open moment fills the screen with the texts one under another; the week opens from the foot bar. */

@font-face { font-family: 'GT Sectra'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Sectra-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Sectra-Regular.woff2') format('woff2'); }
@font-face { font-family: 'GT Sectra'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Sectra-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Sectra-Medium.woff2') format('woff2'); }
@font-face { font-family: 'GT Pantheon Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Pantheon-Text-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Pantheon-Text-Regular.woff2') format('woff2'); }
@font-face { font-family: 'GT Pantheon Text'; font-style: italic; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Pantheon-Text-Regular-Italic.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Pantheon-Text-Regular-Italic.woff2') format('woff2'); }
@font-face { font-family: 'GT Pantheon Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Pantheon-Text-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Pantheon-Text-Medium.woff2') format('woff2'); }
@font-face { font-family: 'GT Pantheon Micro'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Pantheon-Micro-Regular.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Pantheon-Micro-Regular.woff2') format('woff2'); }
@font-face { font-family: 'GT Pantheon Micro'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/fonts/GT-Pantheon-Micro-Medium.woff2') format('woff2'), url('https://christianpure.com/wp-content/uploads/fonts/GT-Pantheon-Micro-Medium.woff2') format('woff2'); }

:root {
  /* design system semantic tokens */
  --ink: #002159;            /* color.ink */
  --muted: #67625d;          /* color.ink-muted */
  --page: #fbf8f3;           /* color.surface-page */
  --band: #f8f2e8;           /* color.surface-band */
  --inset: #f5ede1;          /* color.surface-inset */
  --raised: #ffffff;         /* color.surface-raised */
  --line: #e8e4df;           /* color.line */
  --line-band: #e6dccd;      /* the hairline on the band: color.line one step deeper, so it shows on ivory */
  --coral: #d8583f;          /* color.accent-coral: marker only, never type */
  --mark: rgba(216, 88, 63, 0.10);
  --focus: #0951b1;          /* color.focus-ring */
  --hover: #001b43;          /* color.interactive-hover */
  --head-h: 57px;
  --head-font: 'GT Sectra', 'Source Serif 4', Georgia, serif;
  --body-font: 'GT Pantheon Text', 'Source Serif 4', Georgia, serif;
  --ui-font: 'GT Pantheon Micro', 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body { font-family: var(--body-font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Buttons: the design system's shape. 4 px corners, Pantheon Micro 500 labels. */
.btn, .about-btn, .week-close, .stepper button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 4px; background: var(--raised); color: var(--ink); cursor: pointer;
  font: 500 15px/1.2 var(--ui-font); text-decoration: none; white-space: nowrap;
}
.btn:hover, .about-btn:hover, .week-close:hover, .stepper button:hover { background: var(--inset); }
.stepper .primary { background: var(--ink); color: #fffdf8; }
.stepper .primary:hover { background: var(--hover); }

/* ---------- Header: back to the article, the name, About ---------- */
.head {
  position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 4px 12px; padding-top: max(4px, env(safe-area-inset-top)); background: var(--page); border-bottom: 1px solid var(--line);
}
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 8px 0 0; font: 400 15px/1 var(--ui-font); color: var(--ink); text-decoration: none; white-space: nowrap; }
.back-arrow { font: 400 28px/1 var(--body-font); margin-top: -3px; }
.back-more, .title-more { display: none; }
.back:hover .back-word, .back:hover .back-more { text-decoration: underline; text-underline-offset: 3px; }
.head h1 { margin: 0; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 500 18px/1.2 var(--head-font); color: var(--ink); }
.about-btn { border-color: var(--line); }
@media (min-width: 900px) {
  .head { padding: 6px 24px; grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr); }
  .back-more, .title-more { display: inline; }
  .head h1 { font-size: 20px; }
  .about-btn { justify-self: end; }
}

/* ---------- The week ---------- */
.week { background: var(--page); }
.week-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.week-title { margin: 0; font: 500 18px/1.3 var(--head-font); color: var(--ink); }
.week-close { display: none; }
.week-cols, .wrow { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 48px); align-items: center; }
.week-cols { position: sticky; top: 0; z-index: 2; background: var(--page); padding: 12px 0 8px; border-bottom: 1px solid var(--line); font: 400 12px/1.2 var(--ui-font); color: var(--muted); }
.week-cols span { text-align: center; }
.week-list { list-style: none; margin: 0; padding: 0 0 8px; }
.wday { padding: 24px 0 8px 16px; }
.wday:first-child { padding-top: 16px; }
.wday-name { display: block; font: 500 17px/1.25 var(--head-font); color: var(--ink); }
.wday-mark { display: block; margin-top: 2px; font: italic 400 14px/1.4 var(--body-font); color: var(--muted); }
.wday-mark cite { font: normal 400 13px/1.4 var(--ui-font); white-space: nowrap; }
.wrow {
  position: relative; width: 100%; min-height: 40px; padding: 6px 0 6px 16px; border: 0; border-radius: 4px; background: transparent; text-align: left; cursor: pointer;
  font: 400 15px/1.3 var(--body-font); color: var(--ink);
}
.wrow:hover { background: var(--inset); }
.wrow[aria-current="true"] { background: var(--ink); color: #fffdf8; }
.wrow .wt { padding-right: 8px; }
.wrow .wt .dd { position: absolute; left: 5px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.wrow[aria-current="true"] .wt .dd { background: #f0a08e; }
.wc { display: flex; justify-content: center; }
.wc i { display: block; width: 14px; height: 14px; border-radius: 2px; border: 1.5px solid rgba(0, 33, 89, 0.26); }
.wc.on i { background: var(--ink); border-color: var(--ink); }
.wrow[aria-current="true"] .wc i { border-color: rgba(255, 253, 248, 0.4); }
.wrow[aria-current="true"] .wc.on i { background: #fffdf8; border-color: #fffdf8; }
.wc.longer i { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 4px); border-color: var(--ink); }
.wrow[aria-current="true"] .wc.longer i { background: repeating-linear-gradient(135deg, #fffdf8 0 2px, transparent 2px 4px); border-color: #fffdf8; }
.week-key { display: grid; gap: 4px; margin: 16px 0 0; padding: 16px 0 0 16px; border-top: 1px solid var(--line); font: 400 13px/1.4 var(--ui-font); color: var(--muted); }
.week-key > span { display: flex; align-items: center; gap: 8px; }
.k-told, .k-diff, .k-longer { flex: none; display: inline-block; }
.k-told { width: 12px; height: 12px; border-radius: 2px; background: var(--ink); }
.k-longer { width: 12px; height: 12px; border-radius: 2px; border: 1.5px solid var(--ink); background: repeating-linear-gradient(135deg, var(--ink) 0 2px, transparent 2px 4px); }
.k-diff { width: 7px; height: 7px; margin: 0 2.5px; order: -1; border-radius: 50%; background: var(--coral); }

/* ---------- The open moment: its name, then the four texts ---------- */
.m-head { max-width: 68ch; }
.m-day { margin: 0; font: 400 14px/1.4 var(--ui-font); color: var(--muted); }
.m-title { margin: 8px 0 0; font: 400 34px/1.12 var(--head-font); color: var(--ink); text-wrap: balance; letter-spacing: -0.005em; }
.m-told { margin: 12px 0 0; font: 400 18px/1.5 var(--body-font); }
.m-note { margin: 8px 0 0; font: italic 400 16px/1.55 var(--body-font); color: var(--muted); }

/* The questions this moment raises, as links down to their answers */
.jump { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.jump-h { flex-basis: 100%; margin: 0; font: 500 13px/1.4 var(--ui-font); color: var(--muted); }
.jump li { margin: 0; }
.jump a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 32px; padding: 4px 0; font: 400 16px/1.4 var(--body-font); text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.jump a:hover { text-decoration-color: var(--ink); }
.jump .arr { font-family: var(--ui-font); font-size: 14px; }

.texts { display: grid; column-gap: 32px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.col { min-width: 0; }
.col-h { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.col-h b { font: 500 20px/1.25 var(--head-font); }
.col-h span { font: 400 14px/1.25 var(--ui-font); color: var(--muted); font-variant-numeric: tabular-nums; }
.col p { margin: 0; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.col sup { font: 500 12px/1 var(--ui-font); color: var(--muted); margin-right: 3px; vertical-align: 0.5em; }
.col.absent .col-h b { color: var(--muted); }
.col.absent p { font: italic 400 15px/1.5 var(--body-font); color: var(--muted); }
.col .longer-note { margin: 0 0 12px; font: italic 400 15px/1.5 var(--body-font); color: var(--muted); }
.col .more-link { display: inline-block; margin-top: 12px; font: 400 14px/1.4 var(--ui-font); }
mark { background: var(--mark); color: inherit; box-shadow: inset 0 -2px 0 var(--coral); padding: 0 1px; border-radius: 1px; }
.col em.ins { font-style: italic; }
.absent-line { display: none; }

/* ---------- Where they differ: on the ivory band, apart from Scripture ---------- */
.diffs { margin: 56px 0 0; padding: 40px 40px 8px; background: var(--band); border-radius: 8px; }
.diffs-h { margin: 0; font: 400 32px/1.15 var(--head-font); }
.diff { padding: 32px 0 40px; scroll-margin-top: 72px; }
.diff + .diff { border-top: 1px solid var(--line-band); }
.diff h3 { margin: 0; font: 400 24px/1.25 var(--head-font); max-width: 34ch; }
.diff .what { margin: 12px 0 0; max-width: 68ch; }
.cmp { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 20px 0 0; max-width: 68ch; }
.cmp dt { font: 500 15px/1.6 var(--ui-font); }
.cmp dd { margin: 0; font-size: 17px; line-height: 1.5; }
.cmp cite { margin-left: 8px; font: normal 400 13px/1.2 var(--ui-font); color: var(--muted); white-space: nowrap; }
.cmp .cn { color: var(--muted); font-style: italic; }
.views-h { margin: 32px 0 16px; font: 500 14px/1.4 var(--ui-font); color: var(--muted); }
.views { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.view b { display: block; font: 500 19px/1.3 var(--head-font); }
.view p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; }
.view .src { margin-top: 8px; font: 400 13px/1.5 var(--ui-font); color: var(--muted); }
.view .src a { color: var(--muted); }
.diff .extra { margin: 28px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 68ch; }
.pending { color: var(--muted); font-style: italic; }

/* ---------- Previous and next ---------- */
.stepper { display: flex; justify-content: space-between; gap: 16px; margin: 48px 0 0; }
.stepper .step-name { overflow: hidden; text-overflow: ellipsis; }
.stepper button { max-width: 48%; }
.stepper button:disabled { visibility: hidden; }
.stepper .week-btn { display: none; }
.step-short { display: none; }

/* ---------- Laptop: the week on the left ---------- */
@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 372px minmax(0, 1fr); max-width: 1720px; margin: 0 auto; }
  .week { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); overflow-y: auto; padding: 0 16px 24px 16px; border-right: 1px solid var(--line); overscroll-behavior: contain; }
  .read { padding: 32px 32px 64px; min-width: 0; outline: none; }
  .m-title { font-size: 40px; }
  /* two by two until there is room for four readable columns */
  .texts { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (min-width: 1280px) {
  .layout { grid-template-columns: 392px minmax(0, 1fr); }
  .week { padding-left: 24px; }
  .read { padding-left: 40px; padding-right: 40px; }
  .texts { grid-template-columns: var(--cols); row-gap: 0; }
  .m-title { font-size: 44px; }
}
@media (min-width: 1600px) {
  .layout { grid-template-columns: 420px minmax(0, 1fr); }
  .read { padding: 40px 56px 72px; }
  .texts { column-gap: 40px; }
}

/* ---------- Phone and tablet: one moment fills the screen, the week opens over it ---------- */
@media (max-width: 899px) {
  .read { padding: 24px 16px 104px; outline: none; }
  .m-title { font-size: 32px; }
  .m-told { font-size: 17px; }
  .jump { display: block; margin-top: 20px; }
  .jump-h { margin-bottom: 4px; }
  .jump a { min-height: 44px; align-items: center; }
  .texts { display: block; margin-top: 32px; padding-top: 0; border-top: 0; }
  .col { padding: 24px 0 32px; border-top: 1px solid var(--line); }
  .col.absent { display: none; }
  .absent-line { display: block; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); font: italic 400 15px/1.5 var(--body-font); color: var(--muted); }
  .diffs { margin: 32px -16px 0; padding: 32px 16px 8px; border-radius: 0; }
  .diffs-h { font-size: 28px; }
  .diff { padding: 28px 0 32px; }
  .diff h3 { font-size: 22px; }
  .cmp { gap: 8px 16px; }
  .views { grid-template-columns: 1fr; gap: 24px; }
  .stepper {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; margin: 0; padding: 8px 12px; padding-bottom: max(8px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px;
    background: rgba(251, 248, 243, 0.97); border-top: 1px solid var(--line);
  }
  .stepper button { max-width: none; padding: 0 14px; }
  .stepper .week-btn { display: inline-flex; justify-self: center; border-color: var(--line); }
  .step-long { display: none; }
  .step-short { display: inline; }
  .week { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: 0 16px 24px; padding-top: env(safe-area-inset-top); transform: translateY(100%); visibility: hidden; transition: transform 0.25s ease, visibility 0s 0.25s; }
  body.week-open .week { transform: none; visibility: visible; transition: transform 0.25s ease; }
  body.week-open { overflow: hidden; }
  .week-head { position: sticky; top: 0; z-index: 3; background: var(--page); padding: 8px 0; }
  .week-title { font-size: 21px; }
  .week-close { display: inline-flex; border-color: var(--line); }
  .week-cols { top: 60px; }
  .week-cols, .wrow { grid-template-columns: minmax(0, 1fr) repeat(4, 52px); }
  .wrow { min-height: 44px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .read { padding-left: 32px; padding-right: 32px; }
  .jump { display: flex; }
  .jump a { min-height: 40px; }
  .texts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .diffs { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 380px) { .m-title { font-size: 29px; } .col p { font-size: 16.5px; } }
@media (prefers-reduced-motion: reduce) { .week { transition: none !important; } }

/* ---------- About ---------- */
dialog { width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--page); color: var(--ink); }
dialog::backdrop { background: rgba(0, 33, 89, 0.45); }
.about-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; background: var(--page); border-bottom: 1px solid var(--line); }
.about-head h2 { margin: 0; font: 400 24px/1.2 var(--head-font); }
.about-head .btn { border-color: var(--line); }
.about-body { padding: 8px 24px 32px; }
.about-body h3 { margin: 28px 0 8px; font: 500 19px/1.3 var(--head-font); }
.about-body p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.more { margin: 0; padding-left: 1.1em; }
.more li { margin: 6px 0; }
