@font-face {
    font-family: Tajawal;
    src: url('../fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Tajawal;
    src: url('../fonts/tajawal/Tajawal-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

:root {
    --paper: #f9faf6;
    --ink: #193e32;
    --muted: #64746b;
    --line: #dce5d9;
    --green: #214e3c;
    --lime: #d9edba;
    --surface: #fff;
    --serif: Georgia, 'Times New Roman', serif;
    --body: Tajawal, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
    margin: 0;
    background: radial-gradient(ellipse at 5% 0, #e8f0df80, transparent 34%), var(--paper);
    color: var(--ink);
    font: 400 16px/1.7 var(--body);
    -webkit-font-smoothing: antialiased;
}
::selection { background: #d8e6bd; color: #193e32; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid #9c7b3e;
    outline-offset: 5px;
}
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }

/* A light, floating navigation keeps the reading destinations within reach. */
.site-header {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
    margin-top: 22px;
    padding: 14px 25px;
    border: 1px solid #ffffff;
    border-radius: 24px;
    background: #ffffffed;
    box-shadow: 0 8px 32px #244a3210, 0 0 0 1px #dfe7d870;
    backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 700; line-height: 1; }
.brand small { display: block; margin-top: 7px; font: 9px/1 Arial, sans-serif; letter-spacing: 3.5px; color: var(--muted); }
.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--green);
    color: #e0edc9;
    font-size: 40px;
    box-shadow: inset 0 0 0 1px #ffffff20;
}
.site-header nav { display: flex; gap: 8px; padding: 4px; background: #f1f5ed; border: 1px solid #e6ece1; border-radius: 30px; }
.site-header nav a { padding: 8px 25px; border-radius: 25px; font-size: 14px; font-weight: 700; }
.site-header nav a:hover { background: white; box-shadow: 0 2px 8px #193e3210; }
.header-actions { display: flex; align-items: center; }
.language { min-width: 52px; min-height: 42px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; font-size: 14px; }
.language:hover { background: #edf3e7; border-color: #acbea1; }

/* Verse artwork is drawn in CSS so Arabic stays crisp at every size. */
.hero {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 45px;
    padding-block: 76px 64px;
    position: relative;
}
.hero-copy { padding-block: 15px; }
.eyebrow { margin: 0 0 22px; display: flex; gap: 9px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #5c754c; }
.hero .eyebrow { display: inline-flex; padding: 7px 14px; border: 1px solid #d8e4cc; border-radius: 24px; background: #edf3e6; }
.eyebrow > span { width: 6px; height: 6px; background: #6a8d48; border-radius: 50%; box-shadow: 0 0 0 4px #7fa25716; }
h1 { margin-bottom: 24px; font: 400 clamp(54px, 5.5vw, 78px)/1.08 var(--serif); letter-spacing: -3px; }
h1 em { position: relative; display: block; margin-top: 4px; color: #708651; font-weight: 400; }
.intro { max-width: 470px; color: var(--muted); font-size: 18px; line-height: 1.9; margin-bottom: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; padding: 15px 24px; font-size: 15px; font-weight: 700; border-radius: 16px; }
.button > span { font-family: Arial, sans-serif; font-size: 19px; }
.primary { background: var(--green); color: white; box-shadow: 0 8px 18px #214e3c16; }
.primary:hover { background: #30634c; box-shadow: 0 12px 24px #214e3c25; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px; border: 1px solid #cddbc4; border-radius: 16px; font-size: 15px; font-weight: 700; }
.text-link:hover { background: white; border-color: #9cb58e; }
.hero-note { margin: 26px 0 0; display: flex; align-items: center; gap: 10px; color: #6a7c6b; font-size: 13px; }
.hero-note > span { font-size: 24px; color: #779153; }
.hero-art { height: 480px; display: grid; place-items: center; position: relative; isolation: isolate; }
.hero-art::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 16px -6px -8px;
    border-radius: 48% 48% 28% 28%;
    background: radial-gradient(ellipse at center, #dce9c7, #eef3e5 64%, transparent 65%);
}
.hero-art::after {
    content: '';
    position: absolute;
    inset: 55px 15px;
    z-index: -1;
    opacity: .5;
    background-image: radial-gradient(#9cb48b 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.verse-arch {
    width: min(340px, 80%);
    min-height: 430px;
    margin: 0;
    padding: 14px;
    border-radius: 180px 180px 25px 25px;
    background: linear-gradient(155deg, #356149, #193f31 78%);
    border: 1px solid #53765a;
    box-shadow: 0 22px 45px #23483120, 10px 10px 0 #dce5cf, 12px 12px 0 #c5d4b5;
    transform: rotate(-3deg);
}
[dir=rtl] .verse-arch { transform: rotate(3deg); }
.arch-inner { min-height: 400px; padding: 35px 28px 26px; border: 1px solid #b8cd8e55; border-radius: 170px 170px 15px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.arch-ornament { font-size: 36px; color: #d0dda9; margin-bottom: 15px; }
.verse-arch blockquote { margin: 0 0 20px; font: 400 34px/1.9 var(--body); color: #faf5de; }
.verse-arch figcaption p { font-size: 12px; line-height: 1.8; color: #d4dec8; max-width: 220px; margin-bottom: 12px; }
.verse-arch figcaption span { color: #d4ddae; font-size: 11px; }
.arch-line { margin-top: 18px; width: 30px; height: 1px; background: #b3c68d; }
.orbit { position: absolute; z-index: -1; width: 435px; height: 435px; max-width: 100%; border: 1px solid #bdceb280; border-radius: 50%; transform: rotate(-28deg) scaleX(.86); }
.orbit-two { transform: rotate(28deg) scaleX(.86); }
.art-star { position: absolute; color: #829b59; font-size: 44px; }
.star-one { top: 20px; inset-inline-end: 26px; }
.star-two { bottom: 38px; inset-inline-start: 20px; font-size: 34px; }
.art-label { position: absolute; bottom: -8px; inset-inline-end: 12px; padding: 10px 18px; font-size: 14px; background: #fffffff0; border: 1px solid #e5eada; border-radius: 14px; box-shadow: 0 8px 20px #294a3510; transform: rotate(-4deg); }
.qualities { border-block: 1px solid var(--line); background: #ffffff65; }
.qualities .wrap { display: flex; justify-content: space-around; gap: 20px; padding-block: 18px; font-size: 14px; color: #657953; }

/* Two distinct collections form the entry point to the library. */
.section { padding-block: 75px 80px; }
.section-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { font: 400 40px/1.25 var(--serif); letter-spacing: -1px; margin-bottom: 0; }
.section-heading > p { max-width: 260px; color: var(--muted); font-size: 15px; margin-bottom: 3px; }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.collection { position: relative; overflow: hidden; padding: 28px 32px; background: #eaf2de; border: 1px solid #d5e2c7; border-radius: 28px; }
.collection.duaa { background: #f3eee2; border-color: #e7decb; }
.collection::before { content: ''; position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1px solid #8da86a20; inset-inline-end: -90px; top: 10px; pointer-events: none; box-shadow: 0 0 0 30px #8da86a08, 0 0 0 60px #8da86a05; }
.collection:hover { transform: translateY(-5px); box-shadow: 0 18px 35px #2e503b10; border-color: #adc497; }
.collection.duaa:hover { border-color: #cdbb96; }
.collection-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.collection-arrow { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #b4c7a5; background: #ffffff50; border-radius: 50%; font: 20px Arial, sans-serif; }
.duaa .collection-arrow { border-color: #d3c6ac; }
.collection-calligraphy { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 5px 10px; font: 400 62px/1.6 var(--body); color: #355a3e; }
.collection-calligraphy > span { font: 75px var(--serif); color: #8fa26a; }
.duaa .collection-calligraphy > span { color: #a99770; }
.collection-bottom { position: relative; padding-top: 20px; border-top: 1px solid #b6c7a460; }
.duaa .collection-bottom { border-color: #c7b99850; }
.collection h3 { font-size: 24px; margin-bottom: 6px; font-weight: 700; }
.collection p { max-width: 375px; color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
.collection-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.collection-count { color: #5d7252; padding: 5px 12px; border: 1px solid #a5bc8c55; border-radius: 20px; font-size: 12px; }
.duaa .collection-count { color: #7b6c50; border-color: #c2b28d60; }
.feed-link { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }

/* A quieter, focused surface for reading and keeping count. */
.reading-section { padding-block: 75px 80px; background: linear-gradient(180deg, #edf2e7, #f4f6ef); border-block: 1px solid #dce5d4; }
.reading-section > .wrap { max-width: 1020px; }
.reader-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 25px; }
.reader-heading .eyebrow { margin-bottom: 12px; }
.reader-search { min-width: 300px; max-width: 100%; }
.reader-search label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.reader-search input { width: 100%; min-height: 52px; padding: 13px 18px; color: var(--ink); background: #ffffffd9; border: 1px solid #d0ddc8; border-radius: 16px; box-shadow: 0 4px 14px #274b3210; font-size: 15px; }
.reader-search input::placeholder { color: #788571; opacity: 1; }
.reader-toolbar { display: flex; gap: 25px; align-items: center; justify-content: space-between; padding-block: 20px; border-block: 1px solid #d8e2cf; }
.reader-shortcuts { display: flex; gap: 8px; flex-shrink: 0; }
.reader-shortcuts a { padding: 8px 16px; border: 1px solid #cad9be; border-radius: 30px; font-weight: 700; font-size: 14px; background: #fff8; }
.reader-shortcuts a:hover { background: var(--green); color: white; border-color: var(--green); }
.reader-shortcuts a > span { font-size: 20px; margin-inline-end: 6px; vertical-align: middle; }
.reader-hint { margin-bottom: 0; color: var(--muted); font-size: 14px; max-width: 500px; }
.reader-instructions { display: flex; align-items: baseline; gap: 10px; color: #68785f; font-size: 13px; margin: 16px 0 0; }
.reader-instructions > span { color: #688644; font-size: 21px; }
.reader-library { margin-top: 55px; scroll-margin-top: 125px; }
.reader-library-title { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 26px; }
.reader-library-name { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.reader-library-name .eyebrow { font-size: 9px; margin-bottom: 2px; }
.reader-library-title h2 { font-size: 32px; }
.reader-library-title > span { max-width: 400px; color: var(--muted); font-size: 14px; }
.library-symbol { display: grid; place-items: center; width: 60px; height: 60px; font: 38px var(--serif); border-radius: 20px; color: #687e47; background: #e0eacb; border: 1px solid #cfddbc; }
#duaa .library-symbol { color: #9b8658; background: #eee7d8; border-color: #e1d7c3; }
.reader-category { border: 1px solid #d5e0cc; border-radius: 22px; background: #ffffffa6; margin-bottom: 16px; overflow: hidden; }
.reader-category[open] { background: #f9fbf6; box-shadow: 0 8px 30px #284c3310; }
.reader-category summary { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 24px 28px; cursor: pointer; list-style: none; font-size: 22px; font-weight: 700; }
.reader-category summary::-webkit-details-marker { display: none; }
.reader-category summary:hover { background: #e7efdd; }
.reader-category summary:focus-visible { outline: 3px solid #9c7b3e; outline-offset: -4px; border-radius: 22px; }
.category-meta { display: flex; align-items: center; gap: 15px; flex-shrink: 0; font-size: 13px; color: var(--muted); font-weight: 400; }
.category-meta > span:first-child { padding: 4px 11px; border: 1px solid #d9e3cf; background: #f1f6e9; border-radius: 20px; white-space: nowrap; }
.details-toggle { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #cbd9bf; background: white; border-radius: 50%; color: var(--green); font: 23px Arial, sans-serif; transition: transform .2s; }
.reader-category[open] .details-toggle { transform: rotate(45deg); background: #e0ebd3; }
.reader-entries { padding: 0 20px 8px; }
.reading-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 0 6px 15px; }
.reading-reset { margin-inline-start: auto; border: 0; border-bottom: 1px dashed #afc29b; border-radius: 0; padding: 4px 0; background: transparent; color: #667f52; font-size: 12px; }
.reading-reset:hover { color: #244f35; border-color: #244f35; }
.reading-complete { margin: 0; color: #456c32; padding: 15px 20px; border: 1px solid #ccddbc; background: #eaf3df; border-radius: 16px; font-size: 16px; flex: 1 1 250px; }
.reading-card { position: relative; margin-bottom: 16px; padding: 28px 30px; border: 1px solid #e0e7da; border-radius: 20px; background: white; box-shadow: 0 3px 10px #254d3204; }
.reading-card.is-countable { cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.reading-card.is-countable:hover { border-color: #a9c391; background: #fefffc; box-shadow: 0 7px 22px #234b3210; }
.reading-card:focus-within { border-color: #93b378; }
.reading-card-header { display: flex; gap: 25px; align-items: start; justify-content: space-between; margin-bottom: 18px; }
.reading-card h3 { flex: 1; font: 700 20px/1.9 var(--body); margin: 7px 0 0; text-align: start; overflow-wrap: anywhere; }
.repeat-badge { display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; gap: 0; flex-shrink: 0; min-width: 69px; min-height: 69px; padding: 8px; border: 1px solid #c9dcb8; outline: 4px solid #f4f8ef; background: #edf5e4; color: #3b6131; border-radius: 50%; font-size: 10px; line-height: 1.4; }
[data-remaining] { font: 700 25px/1.2 var(--body); }
.reading-text { color: #294837; font: 400 26px/2.3 var(--body); overflow-wrap: anywhere; text-align: start; padding-block: 4px 8px; }
.reading-text p:last-child { margin-bottom: 0; }
.reading-text a { text-decoration: underline; text-underline-offset: 4px; }
.reading-text h2, .reading-text h3 { font-family: inherit; letter-spacing: normal; line-height: 1.8; }
.reading-text ul, .reading-text ol { padding-inline-start: 30px; }
.reading-text .ql-align-center { text-align: center; }
.reading-text .ql-align-right { text-align: right; }
.reading-text .ql-align-justify { text-align: justify; }
.reading-action { display: block; margin-top: 22px; padding: 9px 17px; border: 1px solid #dae5d0; border-radius: 12px; background: #f3f7ed; color: #4b6b3d; font-size: 13px; font-weight: 700; }
.reading-action:hover { background: var(--green); border-color: var(--green); color: white; }
.reading-action:active { transform: scale(.97); }
.reader-empty { padding: 25px; margin-top: 22px; border: 1px dashed #bbceaa; border-radius: 20px; color: var(--muted); background: #ffffff70; font-size: 16px; }

.closing { position: relative; overflow: hidden; text-align: center; padding: 50px 35px; margin-block: 65px; border-radius: 32px; border: 1px solid #d8e3cd; background: radial-gradient(ellipse at 50% 120%, #d7e6c0, transparent 70%), #eef3e6; }
.closing::before, .closing::after { content: ''; position: absolute; border: 1px solid #a6bf8220; border-radius: 50%; width: 300px; height: 300px; top: 10%; pointer-events: none; }
.closing::before { inset-inline-start: -150px; box-shadow: 0 0 0 35px #a6bf8208; }
.closing::after { inset-inline-end: -150px; box-shadow: 0 0 0 35px #a6bf8208; }
.closing-flower { font-size: 38px; color: #7c9459; }
.closing h2 { font-size: 38px; margin: 12px 0 15px; }
.closing p { color: var(--muted); font-size: 16px; margin-bottom: 25px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px 35px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-brand { font-size: 23px; font-weight: 700; color: var(--ink); }
.footer-brand > span { margin-inline-start: 12px; font: 11px Arial, sans-serif; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer > a:last-child:hover { color: var(--green); }

html[lang=ar] h1, html[lang=ar] h2 { font-family: var(--body); letter-spacing: 0; line-height: 1.45; }
html[lang=ar] h1 { font-size: clamp(48px, 5vw, 68px); font-weight: 700; }
html[lang=ar] h1 em { font-style: normal; }
html[lang=ar] .intro { font-size: 20px; }
html[lang=ar] .eyebrow, html[lang=ar] .collection-top { letter-spacing: 0; font-size: 13px; }
html[lang=ar] .reader-library-name .eyebrow { font-size: 11px; }
html[lang=ar] .repeat-badge { font-size: 12px; }
html[lang=ar] .reader-hint, html[lang=ar] .reader-library-title > span { font-size: 16px; }

@media (min-width: 1500px) {
    .hero { padding-block: 100px 90px; }
}
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 48px); }
    .hero { gap: 20px; padding-block: 60px; }
    h1 { font-size: 60px; }
    .hero-art { height: 460px; }
    .verse-arch { width: 300px; }
    .arch-inner { padding-inline: 22px; }
    .verse-arch blockquote { font-size: 31px; }
    .art-label { inset-inline-end: 0; }
    .reader-library-title > span { max-width: 330px; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 150px; }
    .wrap { width: calc(100% - 32px); }
    .site-header { top: 10px; gap: 12px; flex-wrap: wrap; padding: 13px 16px; margin-top: 12px; border-radius: 20px; }
    .brand { font-size: 25px; }
    .brand-mark { width: 39px; height: 39px; font-size: 34px; border-radius: 12px; }
    .site-header nav { order: 3; width: 100%; justify-content: center; gap: 10px; padding: 2px; }
    .site-header nav a { width: 50%; text-align: center; padding-block: 6px; font-size: 14px; }
    .language { min-height: 38px; min-width: 48px; border-radius: 12px; }
    .hero { grid-template-columns: 1fr; padding-block: 42px 30px; gap: 20px; }
    .hero-copy { padding-inline: 8px; }
    h1 { font-size: clamp(47px, 10vw, 65px); letter-spacing: -2px; }
    html[lang=ar] h1 { font-size: clamp(43px, 9.5vw, 57px); }
    .intro { max-width: 520px; font-size: 17px; }
    html[lang=ar] .intro { font-size: 19px; }
    .hero-actions { gap: 12px; }
    .button, .text-link { padding: 13px 18px; font-size: 14px; border-radius: 14px; gap: 18px; }
    .hero-note { margin-top: 20px; }
    .hero-art { height: 450px; width: min(440px, 100%); margin-inline: auto; }
    .hero-art::before { inset-inline: 0; }
    .verse-arch { width: 300px; min-height: 400px; }
    .arch-inner { min-height: 372px; padding-top: 28px; }
    .orbit { width: 365px; height: 410px; }
    .star-one { inset-inline-end: 8px; }
    .star-two { inset-inline-start: 7px; }
    .art-label { bottom: 0; inset-inline-end: 12px; font-size: 12px; }
    .qualities .wrap { gap: 10px 20px; flex-wrap: wrap; justify-content: center; font-size: 12px; padding-block: 15px; }
    .section { padding-block: 48px; }
    .section-heading { display: block; margin-bottom: 24px; }
    h2 { font-size: 34px; }
    .section-heading > p { max-width: none; margin-top: 14px; }
    .collection-grid { grid-template-columns: 1fr; gap: 18px; }
    .collection { padding: 24px; border-radius: 24px; }
    .collection-calligraphy { font-size: 55px; padding-block: 10px; }
    .collection p { max-width: none; }
    .reading-section { padding-block: 45px; }
    .reader-heading { display: block; }
    .reader-heading h2 { font-size: 32px; }
    .reader-search { min-width: 0; margin-top: 24px; }
    .reader-toolbar { display: block; padding-block: 16px; }
    .reader-shortcuts { margin-bottom: 16px; }
    .reader-hint { font-size: 14px; }
    .reader-instructions { font-size: 12px; }
    .reader-library { margin-top: 38px; scroll-margin-top: 160px; }
    .reader-library-title { display: block; margin-bottom: 20px; }
    .reader-library-title > span { display: block; max-width: none; margin-top: 15px; }
    .library-symbol { width: 50px; height: 50px; border-radius: 16px; font-size: 33px; }
    .reader-library-title h2 { font-size: 29px; }
    .reader-category { border-radius: 18px; }
    .reader-category summary { padding: 19px 16px; font-size: 19px; gap: 12px; }
    .category-meta { gap: 8px; font-size: 11px; }
    .category-meta > span:first-child { padding: 4px 8px; }
    .details-toggle { width: 27px; height: 27px; font-size: 20px; }
    .reader-entries { padding-inline: 10px; }
    .reading-tools { padding-inline: 5px; }
    .reading-card { padding: 21px 18px; border-radius: 16px; margin-bottom: 12px; }
    .reading-card-header { gap: 15px; margin-bottom: 14px; }
    .reading-card h3 { font-size: 18px; margin-top: 2px; }
    .repeat-badge { min-width: 58px; min-height: 58px; padding: 6px; font-size: 9px; outline-width: 3px; }
    html[lang=ar] .repeat-badge { font-size: 10px; }
    [data-remaining] { font-size: 23px; }
    .reading-text { font-size: 24px; line-height: 2.15; }
    .reading-action { font-size: 13px; margin-top: 20px; }
    .closing { padding: 35px 22px; margin-block: 35px; border-radius: 24px; }
    .closing h2 { font-size: 29px; }
    .closing p { font-size: 15px; }
    .site-footer { flex-wrap: wrap; padding-block: 25px; font-size: 12px; }
    .site-footer p { order: 3; width: 100%; text-align: center; }
    .site-footer > a:last-child { margin-inline-start: auto; }
}
@media (max-width: 380px) {
    .hero-copy { padding-inline: 2px; }
    .hero-art { height: 430px; }
    .verse-arch { width: 270px; }
    .verse-arch blockquote { font-size: 29px; }
    .hero-actions { gap: 8px; }
    .button, .text-link { padding-inline: 15px; gap: 12px; }
    .reading-card { padding-inline: 14px; }
    .reading-text { font-size: 22px; }
    .category-meta > span:first-child { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    a, button, .reading-card.is-countable, .details-toggle { transition: none; }
    .primary:hover, .collection:hover, .reading-action:active { transform: none; }
}
