/*
 * OrthodoxLife public site. Plain CSS, no build step.
 * The brand (docs/design/directie-vizuala.md): dark lapis and gold leaf, like Vespers by candlelight,
 * for the header, the hero and the footer; the reading pages use the app's light reading theme.
 */

/* Fonts: Cinzel, EB Garamond and Manrope (SIL Open Font License), latin subset, served by the site. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/cinzel-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cinzel-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/eb-garamond-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/eb-garamond-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/eb-garamond-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/eb-garamond-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/manrope-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/manrope-500.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/manrope-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
    /* Dark: lapis and gold, the app's dark theme. */
    --lapis-night: #080c16;
    --lapis-panel: #0f1628;
    --lapis-deep: #142142;
    --gold-leaf: #d6b062;
    --gold-light: #f3d58a;
    --parchment: #eee8d8;
    --mist: #a9b0c2;
    /* The app's page background (backend components/layout, Android Root.kt lapisGlow, iOS LapisBackground): an
       ellipse of blue light that fades into the night. */
    --lapis-glow-color: #16244a;
    --lapis-glow: radial-gradient(110% 520px at 50% 120px, var(--lapis-glow-color) 0%, var(--lapis-night) 70%) var(--lapis-night);
    --lapis-glow-top: radial-gradient(110% 520px at 50% 0, var(--lapis-glow-color) 0%, var(--lapis-night) 70%) var(--lapis-night);

    /* Light: the app's reading theme. */
    --paper: #f5efe1;
    --paper-deep: #ebe2cc;
    --paper-edge: #e0d4b6;
    --ink: #2b2418;
    --ink-soft: #6a604e;
    --gold: #8a6516;
    --cinnabar: #b03a20;
    --rule: #ddd0b2;

    --font-inscription: "Cinzel", "Trajan Pro", Georgia, serif;
    --font-liturgical: "EB Garamond", "Iowan Old Style", Georgia, serif;
    --font-interface: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --measure: 40rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-liturgical);
    font-size: 1.25rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

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

a { color: var(--cinnabar); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-leaf); outline-offset: 3px; }

h1, h2, h3 {
    font-family: var(--font-liturgical);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.4rem; }

.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; padding: 0.6rem 1rem; background: var(--gold-leaf); color: var(--lapis-night); z-index: 10; }
.skip:focus { left: 1rem; }

.muted { color: var(--ink-soft); }

.eyebrow {
    margin: 0 0 0.7rem;
    font-family: var(--font-interface);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.inscription {
    display: block;
    margin: 0 0 1.1rem;
    font-family: var(--font-inscription);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-leaf);
}

.arrow-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--font-interface);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}
.arrow-link::after { content: " →"; }

/* Buttons */

.button {
    display: inline-block;
    padding: 0.8rem 1.45rem;
    border: 1px solid var(--cinnabar);
    border-radius: 999px;
    background: var(--cinnabar);
    color: #fff;
    font-family: var(--font-interface);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button--gold { background: var(--gold-leaf); border-color: var(--gold-leaf); color: var(--lapis-night); }
.button--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--lapis-night); }
.button--line { background: transparent; border-color: rgba(214, 176, 98, 0.5); color: var(--parchment); }
.button--line:hover { background: transparent; border-color: var(--gold-leaf); color: var(--gold-light); }

/* Store buttons */

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 11.5rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--gold-leaf);
    border-radius: 14px;
    background: var(--gold-leaf);
    color: var(--lapis-night);
    font-family: var(--font-interface);
    text-decoration: none;
}
.store:hover { background: var(--gold-light); color: var(--lapis-night); }
.store--soon { background: rgba(8, 12, 22, 0.6); border-color: rgba(214, 176, 98, 0.45); color: var(--parchment); cursor: default; }
.store__label { display: flex; flex-direction: column; line-height: 1.15; }
.store__label small { font-size: 0.68rem; opacity: 0.75; }
.store__label strong { font-size: 1.05rem; font-weight: 600; }

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(8, 12, 22, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(214, 176, 98, 0.18);
    font-family: var(--font-interface);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold-leaf);
    font-family: var(--font-inscription);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-decoration: none;
    white-space: nowrap;
}
.wordmark:hover { color: var(--gold-light); }
.wordmark__cross { fill: currentColor; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--parchment); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); }
.site-header .button { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.menu { display: none; }

@media (max-width: 899px) {
    .site-nav { display: none; }
    .menu { display: block; }
    .menu__toggle {
        display: grid;
        place-items: center;
        width: 2.75rem;
        height: 2.75rem;
        border: 1px solid rgba(214, 176, 98, 0.4);
        border-radius: 999px;
        cursor: pointer;
        list-style: none;
    }
    .menu__toggle::-webkit-details-marker { display: none; }
    .menu__bars, .menu__bars::before, .menu__bars::after {
        display: block;
        width: 1.1rem;
        height: 1.5px;
        background: var(--gold-leaf);
        content: "";
    }
    .menu__bars { position: relative; }
    .menu__bars::before { position: absolute; top: -6px; }
    .menu__bars::after { position: absolute; top: 6px; }
    .menu[open] .menu__bars { background: transparent; }
    .menu[open] .menu__bars::before { top: 0; transform: rotate(45deg); }
    .menu[open] .menu__bars::after { top: 0; transform: rotate(-45deg); }

    .menu__panel {
        display: flex;
        position: fixed;
        inset: 4.25rem 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.25rem 1.25rem 1.75rem;
        background: var(--lapis-glow-top);
        border-bottom: 1px solid rgba(214, 176, 98, 0.25);
    }
    .nav { flex-direction: column; gap: 0; }
    .nav a { display: block; padding: 0.9rem 0; border-bottom: 1px solid rgba(214, 176, 98, 0.14); font-size: 1.05rem; }
    .menu .button { text-align: center; padding: 0.85rem 1.1rem; }
}

/* Footer */

.site-footer {
    /* The light rises from the bottom here, so it does not meet the app band's light at the seam above. */
    background: radial-gradient(110% 520px at 50% 100%, var(--lapis-glow-color) 0%, var(--lapis-night) 70%) var(--lapis-night);
    color: var(--mist);
    font-family: var(--font-interface);
    font-size: 0.92rem;
    line-height: 1.6;
    border-top: 1px solid rgba(214, 176, 98, 0.25);
}
.site-footer a { color: var(--parchment); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__top { display: grid; gap: 3rem; padding-block: 4rem 3rem; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.1fr 1.4fr; gap: 5rem; } }
.site-footer__about p { max-width: 26rem; }
.site-footer__about .wordmark { color: var(--gold-leaf); }
.site-footer__motto { margin: 0.75rem 0 1rem; font-family: var(--font-liturgical); font-size: 1.25rem; font-style: italic; color: var(--parchment); }
.site-footer__about p a { color: var(--gold-leaf); }
.site-footer__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2rem; }
.site-footer__columns h2 {
    margin: 0 0 1rem;
    font-family: var(--font-inscription);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-leaf);
}
.site-footer__columns ul { margin: 0; padding: 0; list-style: none; }
.site-footer__columns li { margin-bottom: 0.55rem; }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem 2rem;
    border-top: 1px solid rgba(214, 176, 98, 0.15);
    font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__bottom a { color: var(--mist); }

/* Home: hero */

.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(60rem 40rem at 78% 30%, rgba(214, 176, 98, 0.09), transparent 60%), radial-gradient(110% 520px at 50% 120px, var(--lapis-glow-color) 0%, var(--lapis-night) 70%) var(--lapis-night);
    color: var(--parchment);
}
.hero__inner { display: grid; gap: 3.5rem; align-items: center; padding-block: 4.5rem 5.5rem; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; padding-block: 6rem 7rem; } }
.hero h1 { max-width: 13ch; color: var(--parchment); font-size: clamp(2.8rem, 6.4vw, 4.75rem); line-height: 1.02; }
.hero__lead { max-width: 34rem; margin: 1.5rem 0 0; font-size: 1.35rem; line-height: 1.55; color: rgba(238, 232, 216, 0.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.25rem 0 0; }

.niche { margin: 0 auto; width: min(100%, 22rem); text-align: center; }
.niche__frame {
    padding: 0.6rem;
    border: 1px solid rgba(214, 176, 98, 0.7);
    border-radius: 999px 999px 0 0;
    box-shadow: 0 0 0 1px rgba(214, 176, 98, 0.15), 0 40px 80px -40px rgba(243, 213, 138, 0.35);
}
.niche__frame img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid rgba(214, 176, 98, 0.4);
    border-radius: 999px 999px 0 0;
    background: var(--lapis-deep);
}
.niche figcaption { margin-top: 1.5rem; font-size: 1.45rem; line-height: 1.3; }
.niche figcaption .inscription { margin-bottom: 0.5rem; }
.niche figcaption a { color: var(--parchment); text-decoration: none; }
.niche figcaption a:hover { color: var(--gold-light); }

/* Home: sections */

.today, .explore, .questions, .author { padding-block: 5rem; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p.muted { margin: 0; }

.today__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .today__grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; } }
.today h3 { font-size: 1.3rem; color: var(--ink-soft); }

.saint-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.saint-list__item { display: flex; align-items: center; gap: 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
.saint-list__thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 3.5rem;
    height: 4.5rem;
    overflow: hidden;
    border: 1px solid var(--paper-edge);
    border-radius: 999px 999px 0 0;
    background: var(--paper-deep);
    fill: var(--gold);
}
.saint-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.saint-list__text { display: flex; flex-direction: column; font-size: 1.3rem; line-height: 1.3; }
.saint-list__text a { color: var(--ink); text-decoration: none; }
.saint-list__text a:hover { color: var(--cinnabar); }
.saint-list__text small { margin-top: 0.2rem; font-family: var(--font-interface); font-size: 0.82rem; color: var(--ink-soft); }
.saint-list__item.is-great .saint-list__text a, .saint-list__item.is-great .saint-list__text > span { color: var(--cinnabar); }

.today__card { align-self: start; padding: 1.75rem; background: var(--paper-deep); border-top: 3px solid var(--gold); }
.today__card h3 { margin-bottom: 0.3rem; }
.today__fast { margin: 0 0 0.4rem; font-size: 1.6rem; line-height: 1.25; }
.today__note { margin: 0 0 1rem; font-style: italic; color: var(--ink); }
.today__card .muted { font-family: var(--font-interface); font-size: 0.88rem; line-height: 1.55; }

.explore { background: var(--paper-deep); border-block: 1px solid var(--rule); }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
    display: block;
    padding: 1.75rem;
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.card__count { display: block; margin-bottom: 0.75rem; font-family: var(--font-inscription); font-size: 1.5rem; color: var(--gold); }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--ink-soft); }

.questions__inner { display: grid; gap: 2rem; }
@media (min-width: 900px) { .questions__inner { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.question-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.question-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    font-size: 1.35rem;
    text-decoration: none;
}
.question-list a::after { content: "→"; color: var(--gold); }
.question-list a:hover { color: var(--cinnabar); }

.author { padding-top: 0; }
.author__inner { display: flex; gap: 1.75rem; max-width: 46rem; padding-top: 4rem; border-top: 1px solid var(--rule); }
.author__cross { flex: none; fill: var(--gold); color: var(--gold); margin-top: 0.4rem; }
.author p { margin: 0 0 0.5rem; }

.app-band { background: var(--lapis-glow-top); color: var(--parchment); border-top: 1px solid rgba(214, 176, 98, 0.2); }
.app-band__inner { display: grid; gap: 2rem; align-items: center; padding-block: 4.5rem; }
@media (min-width: 900px) { .app-band__inner { grid-template-columns: 1.3fr 1fr; gap: 4rem; } .app-band .stores { justify-content: flex-end; } }
.app-band h2 { color: var(--parchment); }
.app-band p { margin: 0; color: rgba(238, 232, 216, 0.8); max-width: 34rem; }

/* Breadcrumb */

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-block: 1.5rem 0; font-family: var(--font-interface); font-size: 0.85rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--cinnabar); text-decoration: underline; }

/* The saint's page */

.saint { padding-bottom: 5rem; }
.saint__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 2rem; }
@media (min-width: 900px) {
    .saint__layout { grid-template-columns: 19rem minmax(0, 1fr); gap: 4.5rem; }
    .saint__aside { position: sticky; top: 6rem; align-self: start; }
}

.icon { margin: 0; }
.icon img {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid var(--gold);
    border-radius: 999px 999px 0 0;
    background: var(--paper-deep);
    box-shadow: 0 24px 48px -30px rgba(43, 36, 24, 0.55);
}
.icon figcaption { margin-top: 0.9rem; font-family: var(--font-interface); font-size: 0.75rem; line-height: 1.45; color: var(--ink-soft); }
.icon figcaption a { color: inherit; }
@media (max-width: 899px) { .icon { max-width: 12rem; } }

.facts { margin: 1.75rem 0 0; border-top: 1px solid var(--rule); font-family: var(--font-interface); font-size: 0.95rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.saint__main { max-width: var(--measure); }
.saint__header { margin-bottom: 2.75rem; }
.answer { margin: 1.1rem 0 0; font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.byline { margin: 1.1rem 0 0; font-family: var(--font-interface); font-size: 0.8rem; color: var(--ink-soft); }
.faq__item { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.faq__item h3 { margin-bottom: 0.35rem; font-size: 1.25rem; }
.faq__item p { margin: 0; }
.lead { margin: 1rem 0 0; font-size: 1.45rem; line-height: 1.55; font-style: italic; color: var(--ink-soft); }

.saint section { margin-top: 3.25rem; }
.saint section > h2 { padding-bottom: 0.6rem; border-bottom: 1px solid var(--rule); }

.hymns { padding: 1.9rem 2rem 0.6rem; background: var(--paper-deep); border-top: 3px solid var(--cinnabar); }
.hymns > h2 { border-bottom-color: var(--paper-edge); }
.hymn { margin-top: 1.5rem; }
.hymn h3 { font-size: 1.2rem; color: var(--cinnabar); }
.hymn__text p { margin: 0 0 0.75em; }
.hymn__text p:first-child { font-family: var(--font-interface); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }

.prose p { margin: 0 0 1.1em; }
.prose > p:first-of-type::first-letter {
    float: left;
    margin: 0.04em 0.1em 0 0;
    font-family: var(--font-inscription);
    font-size: 3.6em;
    line-height: 0.85;
    color: var(--cinnabar);
}
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 2px solid var(--gold); font-style: italic; color: var(--ink-soft); }

.prayers h3 { margin-top: 1.6rem; font-size: 1.2rem; color: var(--ink-soft); }
.prayers ul { margin: 0; padding: 0; list-style: none; }
.prayers li { padding-block: 0.55rem; border-bottom: 1px dotted var(--rule); }

.next-step { margin-top: 4rem; padding: 2.25rem; background: radial-gradient(110% 320px at 50% 0, var(--lapis-glow-color) 0%, var(--lapis-night) 75%) var(--lapis-night); color: var(--parchment); }
.next-step h2 { color: var(--parchment); }
.next-step .eyebrow { color: var(--gold-leaf); }
.next-step p { color: rgba(238, 232, 216, 0.82); }

@media (max-width: 899px) {
    .niche { width: min(100%, 15rem); }
    .hero__inner { padding-block: 3rem 4rem; gap: 2.5rem; }
}

/* A link to a section that is not live yet: plain text (x-live-link). */
.card.is-pending:hover { transform: none; border-color: var(--rule); }
.question-list .is-pending { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.95rem; border-bottom: 1px solid var(--rule); font-size: 1.35rem; }
.site-footer .is-pending { color: var(--mist); opacity: 0.6; }
.arrow-link.is-pending { display: none; }

/* /saints: the list of saints and feasts, A to Z, with the search */
[hidden] { display: none !important; }
.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; }
.saints-index { padding-bottom: 5rem; }
.saints-index__head { max-width: var(--measure); padding-block: 2rem 2rem; }
.saints-index__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.saints-index__head .answer { margin: 1rem 0 0; font-size: 1.3rem; line-height: 1.55; }

.finder {
    position: sticky;
    top: 4.25rem;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.9rem 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
}
.finder__search {
    display: flex;
    flex: 1 1 18rem;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1rem;
    background: #fffdf7;
    border: 1px solid var(--paper-edge);
    border-radius: 999px;
    color: var(--ink-soft);
}
.finder__search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(138, 101, 22, 0.15); }
.finder__search input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 500 1rem/1.2 var(--font-interface);
    outline: none;
}
.finder__select select {
    height: 100%;
    min-height: 2.9rem;
    padding: 0 2.2rem 0 1rem;
    border: 1px solid var(--paper-edge);
    border-radius: 999px;
    background: #fffdf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a6516' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
    color: var(--ink);
    font: 500 0.95rem/1 var(--font-interface);
    appearance: none;
    cursor: pointer;
}
.finder__select select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(138, 101, 22, 0.15); }

.letters { display: flex; flex-wrap: wrap; gap: 0.15rem; padding-block: 1.25rem 0.25rem; font-family: var(--font-liturgical); }
.letters a {
    display: grid;
    place-items: center;
    min-width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    color: var(--cinnabar);
    font-size: 1.15rem;
    text-decoration: none;
}
.letters a:hover { background: var(--paper-deep); }
.letters a.is-empty { color: var(--paper-edge); pointer-events: none; }

.finder__status { margin: 0.75rem 0 0; font-family: var(--font-interface); font-size: 0.85rem; color: var(--ink-soft); }
.finder__empty { margin: 2rem 0 0; font-size: 1.2rem; }

.letter-group { padding-top: 2.25rem; scroll-margin-top: 9.5rem; }
.letter-group[hidden], .saint-list__item[hidden] { display: none; }
.letter-group__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0.5rem;
    color: var(--cinnabar);
    font-family: var(--font-liturgical);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
}
.letter-group__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.6; }
.saint-list--columns { border-top: 0; }
@media (min-width: 760px) { .saint-list--columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
@media (min-width: 1100px) { .saint-list--columns { grid-template-columns: 1fr 1fr 1fr; } }
.saint-list--columns .saint-list__text { font-size: 1.15rem; }
@media (max-width: 899px) { .finder { top: 3.75rem; } .finder__select { flex: 1 1 8rem; } .finder__select select { width: 100%; } }

/* /calendar/{month-day} and /today */
.day-page { padding-bottom: 5rem; }
.day-page__layout { display: grid; gap: 2.5rem; padding-top: 2rem; }
@media (min-width: 900px) { .day-page__layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4.5rem; } .day-page__aside { position: sticky; top: 6rem; align-self: start; } }
.day-page__head h1 { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.02; }
.day-page__head .answer { max-width: var(--measure); margin: 1rem 0 2.25rem; font-size: 1.3rem; line-height: 1.55; }
.day-page__title { margin: 0 0 0.75rem; font-size: 1.35rem; color: var(--ink-soft); }
.day-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-family: var(--font-interface); font-size: 0.95rem; }
.day-nav a { color: var(--cinnabar); text-decoration: none; }
.day-nav a:hover { text-decoration: underline; }
.day-card { padding: 1.5rem 1.6rem; background: var(--paper-deep); border-top: 3px solid var(--gold); }
.day-card + .day-card { margin-top: 1.25rem; }
.day-card p { margin: 0 0 0.6rem; }
.day-card .inscription { color: var(--gold); }
.day-card a { color: var(--cinnabar); }
.faq { margin-top: 3.5rem; max-width: var(--measure); }
.faq h2 { font-size: 1.6rem; }
.faq__item { padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.faq__item h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.faq__item p { margin: 0; }

/* /calendar: the twelve months */
.calendar-index { padding-bottom: 5rem; }
.calendar-index__head { max-width: var(--measure); padding-block: 2rem 1rem; }
.calendar-index__head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.calendar-index__head .answer { margin: 1rem 0 1.5rem; font-size: 1.3rem; line-height: 1.55; }
.month-index { position: sticky; top: 4.25rem; z-index: 5; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; padding: 0.9rem 0; background: var(--paper); border-bottom: 1px solid var(--rule); font-family: var(--font-liturgical); font-size: 1.1rem; }
.month-index a { color: var(--cinnabar); text-decoration: none; }
.month-index a:hover { text-decoration: underline; }
.month { padding-top: 2.25rem; scroll-margin-top: 8rem; }
.month__days { margin: 0; padding: 0; list-style: none; display: grid; column-gap: 3rem; }
@media (min-width: 760px) { .month__days { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .month__days { grid-template-columns: 1fr 1fr 1fr; } }
.month__days li { border-bottom: 1px solid var(--rule); }
.month__days a { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.55rem 0; color: var(--ink); text-decoration: none; }
.month__days a:hover .month__saint { color: var(--cinnabar); }
.month__date { flex: none; width: 1.8rem; font-family: var(--font-liturgical); font-size: 1.35rem; color: var(--gold); text-align: right; }
.month__saint { font-size: 1.08rem; line-height: 1.35; }
.month__saint small { font-family: var(--font-interface); font-size: 0.78rem; color: var(--ink-soft); }
.month__days li.is-great .month__saint { color: var(--cinnabar); }
.month__days li.is-today a { background: var(--paper-deep); box-shadow: -0.6rem 0 0 var(--paper-deep), 0.6rem 0 0 var(--paper-deep); }
@media (max-width: 899px) { .month-index { top: 3.75rem; } }
