*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --gold: #B8973A;
            --gold-light: #D4B96A;
            --gold-dark: #8B6E24;
            --parchment: #FAF6EE;
            --parchment-dark: #F0E8D5;
            --ink: #1C1710;
            --ink-soft: #3D3425;
            --ink-muted: #6B5E45;
            --red: #9B1C1C;
            --red-soft: #C0392B;
            --border: rgba(184,151,58,0.25);
            --border-strong: rgba(184,151,58,0.55);
            --green: #7A5800;
            --green-light: #A07020;
            --green-faint: rgba(122,88,0,0.08);
        }

        html { scroll-behavior: smooth; }

        body {
            background-color: #13100B;
            background-image:
                radial-gradient(ellipse at 50% 0%, rgba(122,88,0,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 50% 0%, rgba(184,151,58,0.05) 0%, transparent 70%),
                repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.013) 60px),
                repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.013) 60px);
            min-height: 100vh;
            font-family: 'Cormorant Garamond', serif;
            color: var(--ink);
        }

        /* ── HERO ── */
        .hero {
            text-align: center;
            padding: 56px 24px 44px;
            position: relative;
        }
        .hero::after {
            content: '';
            display: block;
            width: 200px;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--green-light), transparent);
            margin: 28px auto 0;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(160,112,32,0.4);
            border-radius: 2px;
            padding: 5px 14px;
            margin-bottom: 20px;
        }
        .hero-badge span {
            font-family: 'IM Fell English', serif;
            font-size: 10px;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: rgba(212,175,80,0.6);
        }
        .hero-season {
            font-family: 'IM Fell English', serif;
            font-size: 11px;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: rgba(212,175,80,0.55);
            margin-bottom: 12px;
        }
        .hero-title {
            font-family: 'IM Fell English', serif;
            font-size: clamp(26px, 5vw, 38px);
            font-weight: 400;
            color: var(--gold-light);
            letter-spacing: 0.04em;
            line-height: 1.2;
            margin-bottom: 10px;
        }
        .hero-subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 15px;
            color: rgba(255,255,255,0.3);
            letter-spacing: 0.06em;
            margin-bottom: 20px;
        }
        .hero-verse {
            max-width: 480px;
            margin: 0 auto;
            border-left: 2px solid rgba(160,112,32,0.5);
            padding: 10px 20px;
            text-align: left;
        }
        .hero-verse p {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 16px;
            color: rgba(255,255,255,0.5);
            line-height: 1.6;
        }
        .hero-verse cite {
            display: block;
            font-family: 'IM Fell English', serif;
            font-style: normal;
            font-size: 11px;
            letter-spacing: 0.2em;
            color: rgba(212,175,80,0.5);
            margin-top: 6px;
        }

        /* ── NAV ── */
        .toc {
            max-width: 860px;
            margin: 0 auto 32px;
            padding: 0 20px;
        }
        .toc-inner {
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--border-strong);
            border-radius: 3px;
            padding: 14px 18px;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            justify-content: center;
        }
        .toc-btn {
            font-family: 'Cormorant Garamond', serif;
            font-size: 12px;
            letter-spacing: 0.06em;
            color: rgba(212,185,106,0.7);
            text-decoration: none;
            padding: 4px 10px;
            border: 1px solid rgba(184,151,58,0.2);
            border-radius: 2px;
            transition: all 0.15s ease;
            white-space: nowrap;
        }
        .toc-btn:hover {
            background: rgba(184,151,58,0.1);
            border-color: rgba(184,151,58,0.5);
            color: var(--gold-light);
        }

        /* ── CONTAINER ── */
        .container {
            max-width: 860px;
            margin: 0 auto;
            padding: 0 20px 80px;
        }

        /* ── SECTION BLOCK ── */
        .block {
            background: var(--parchment);
            border: 1px solid var(--border-strong);
            border-radius: 3px;
            margin-bottom: 20px;
            overflow: hidden;
        }

        .block-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 22px;
            background: var(--green);
            border-bottom: 1px solid rgba(0,0,0,0.15);
        }
        .block-header .bar {
            width: 3px;
            height: 18px;
            background: rgba(255,220,100,0.6);
            border-radius: 2px;
            flex-shrink: 0;
        }
        .block-header h2 {
            font-family: 'IM Fell English', serif;
            font-size: 11.5px;
            font-weight: 400;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: rgba(255,245,200,0.9);
        }
        .block-header .ref {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 13px;
            color: rgba(240,210,120,0.5);
            margin-left: auto;
        }

        /* ── BILINGUAL LAYOUT ── */
        .bilingual {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
        }
        .col-la, .col-pt {
            padding: 22px 24px;
        }
        .col-la {
            border-right: 1px solid rgba(160,112,32,0.2);
        }
        .col-pt {
            background: rgba(0,0,0,0.02);
        }

        /* ── SINGLE COLUMN ── */
        .single {
            padding: 22px 28px;
        }

        /* ── TYPOGRAPHY within content ── */
        .col-la, .col-pt, .single {
            font-family: 'Cormorant Garamond', serif;
            font-size: 15px;
            line-height: 1.75;
            color: var(--ink-soft);
        }

        .versicle {
            display: flex;
            gap: 4px;
            margin: 4px 0;
            align-items: baseline;
        }
        .versicle .symbol {
            font-family: 'IM Fell English', serif;
            font-weight: 500;
            flex-shrink: 0;
            min-width: 18px;
        }
        .v-mark { color: var(--ink-soft); }
        .r-mark { color: var(--red); font-weight: 600; }

        .response {
            font-weight: 500;
            color: var(--ink);
        }
        .response-red {
            font-weight: 600;
            color: var(--red);
        }

        p.liturgy { margin-bottom: 12px; }
        p.liturgy:last-child { margin-bottom: 0; }

        .rubric {
            font-style: italic;
            color: var(--ink-muted);
            font-size: 13.5px;
            margin: 8px 0;
        }

        .section-title {
            font-family: 'IM Fell English', serif;
            font-size: 15px;
            font-weight: 400;
            color: var(--green);
            letter-spacing: 0.05em;
            margin-bottom: 10px;
            margin-top: 16px;
        }
        .section-title:first-child { margin-top: 0; }

        .section-title-red {
            font-family: 'IM Fell English', serif;
            font-size: 15px;
            font-weight: 400;
            color: var(--red);
            letter-spacing: 0.05em;
            margin-bottom: 10px;
        }

        .psalm-ref {
            font-size: 12.5px;
            color: var(--ink-muted);
            font-style: italic;
        }

        .all-text {
            font-style: italic;
            font-size: 14px;
            color: var(--ink-muted);
            margin-bottom: 8px;
        }

        /* Bold T. assembly marker */
        .assembly {
            font-weight: 600;
            color: var(--ink);
        }

        hr.divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 16px 0;
        }

        /* ── COVER BLOCK ── */
        .cover-block {
            background: var(--green);
            border: 1px solid rgba(160,112,32,0.6);
            border-radius: 3px;
            margin-bottom: 20px;
            padding: 40px 32px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .cover-block::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.07) 0%, transparent 70%);
            pointer-events: none;
        }
        .cover-block .cover-label {
            font-family: 'IM Fell English', serif;
            font-size: 11px;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: rgba(255,220,100,0.5);
            margin-bottom: 6px;
        }
        .cover-block .cover-title {
            font-family: 'IM Fell English', serif;
            font-size: clamp(36px, 8vw, 56px);
            color: rgba(255,255,255,0.9);
            line-height: 1;
            letter-spacing: 0.02em;
            margin-bottom: 4px;
        }
        .cover-block .cover-sub {
            font-family: 'IM Fell English', serif;
            font-size: clamp(22px, 5vw, 32px);
            color: rgba(255,240,160,0.7);
            letter-spacing: 0.06em;
            margin-bottom: 24px;
        }
        .cover-block .cover-verse {
            max-width: 400px;
            margin: 0 auto 20px;
            border: 1px solid rgba(255,220,100,0.2);
            padding: 14px 20px;
            text-align: left;
        }
        .cover-block .cover-verse p {
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 15px;
            color: rgba(255,255,255,0.75);
            line-height: 1.6;
            margin-bottom: 6px;
        }
        .cover-block .cover-verse cite {
            font-family: 'IM Fell English', serif;
            font-style: normal;
            font-size: 11px;
            letter-spacing: 0.2em;
            color: rgba(255,220,100,0.5);
        }
        .cover-block .cover-domingo {
            font-family: 'IM Fell English', serif;
            font-size: 13px;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: rgba(255,220,100,0.6);
            border: 1px solid rgba(255,220,100,0.25);
            display: inline-block;
            padding: 6px 20px;
        }

        /* ── REFLECTION PAUSE ── */
        .pause-block {
            background: rgba(122,88,0,0.06);
            border: 1px dashed rgba(160,112,32,0.3);
            border-radius: 3px;
            padding: 18px 24px;
            text-align: center;
            margin: 0;
        }
        .pause-block p {
            font-family: 'IM Fell English', serif;
            font-style: italic;
            font-size: 13px;
            letter-spacing: 0.15em;
            color: var(--ink-muted);
        }

        /* ── GENUFLECT marker ── */
        .genuflect {
            display: inline-block;
            background: rgba(155,28,28,0.07);
            border: 1px solid rgba(155,28,28,0.2);
            border-radius: 2px;
            padding: 2px 8px;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 13px;
            color: var(--red);
            margin: 6px 0;
        }

        /* ── BACK TO TOP ── */
        #back-to-top {
            position: fixed;
            bottom: 28px;
            right: 24px;
            width: 40px;
            height: 40px;
            background: rgba(19,16,11,0.88);
            border: 1px solid var(--border-strong);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.25s ease, transform 0.2s ease;
            z-index: 100;
            text-decoration: none;
            backdrop-filter: blur(6px);
        }
        #back-to-top.visible { opacity: 1; pointer-events: auto; }
        #back-to-top:hover { transform: translateY(-2px); }
        #back-to-top svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

        /* ── BACK LINK ── */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            font-size: 13px;
            color: rgba(184,151,58,0.5);
            text-decoration: none;
            letter-spacing: 0.06em;
            padding: 20px 20px 0;
            transition: color 0.15s;
        }
        .back-link:hover { color: var(--gold); }
        .back-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

        /* ── LANGUAGE TOGGLE (mobile only) ── */
        .lang-bar {
            display: none;
        }

        @media (max-width: 600px) {
            /* Show lang bar on mobile */
            .lang-bar {
                display: flex;
                position: sticky;
                top: 0;
                z-index: 50;
                background: rgba(19,16,11,0.96);
                border-bottom: 1px solid var(--border-strong);
                backdrop-filter: blur(8px);
                padding: 10px 16px;
                gap: 8px;
                align-items: center;
                justify-content: center;
            }
            .lang-bar-label {
                font-family: 'IM Fell English', serif;
                font-size: 9px;
                letter-spacing: 0.3em;
                text-transform: uppercase;
                color: rgba(184,151,58,0.4);
                margin-right: 4px;
            }
            .lang-btn {
                font-family: 'Cormorant Garamond', serif;
                font-size: 13px;
                letter-spacing: 0.1em;
                padding: 5px 16px;
                border-radius: 2px;
                border: 1px solid transparent;
                cursor: pointer;
                background: transparent;
                transition: all 0.18s ease;
                color: rgba(212,185,106,0.5);
                border-color: rgba(184,151,58,0.2);
            }
            .lang-btn.active {
                background: rgba(184,151,58,0.15);
                border-color: rgba(184,151,58,0.55);
                color: var(--gold-light);
            }
            .lang-btn:not(.active):hover {
                border-color: rgba(184,151,58,0.35);
                color: rgba(212,185,106,0.75);
            }

            /* Layout: stack columns */
            .bilingual { grid-template-columns: 1fr; }
            .col-la { border-right: none; border-bottom: 1px solid rgba(160,112,32,0.2); }
            .col-pt { background: rgba(0,0,0,0.015); }

            /* Hide/show columns based on lang state */
            body.lang-la .col-pt { display: none; }
            body.lang-pt .col-la { display: none; }

            /* Both visible when no preference set (default: both) */
            body:not(.lang-la):not(.lang-pt) .col-la,
            body:not(.lang-la):not(.lang-pt) .col-pt { display: block; }
        }