:root {
    --ink: #2f2925;
    --muted: #716860;
    --cream: #fbf6ee;
    --paper: #fffdf9;
    --sage: #6f8269;
    --sage-dark: #465640;
    --peach: #e7b49b;
    --line: #e8ded2;
    --accent: #b9553c;
    --shadow: 0 18px 45px rgba(73, 55, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--gh-font-body, Inter), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: var(--gh-font-heading, Georgia), "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.08;
}
h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.65rem; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.shell-narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 25px rgba(130, 64, 47, .2);
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(130, 64, 47, .28); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.button-light { color: var(--sage-dark); background: #fff; }
.text-link { font-weight: 700; text-decoration: none; }

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid rgba(232, 222, 210, .85);
    background: rgba(255, 253, 249, .92);
    backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 700; text-decoration: none; }


.inside-section {
    padding: 86px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--cream);
}
.inside-inner { width: min(900px, 100%); }
.inside-inner h2 { margin-bottom: 18px; }
.inside-lead {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.15rem;
}
.inside-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}
.inside-list li {
    position: relative;
    padding: 18px 20px 18px 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 8px 22px rgba(73, 55, 42, .06);
    font-weight: 700;
}
.inside-list li::before {
    position: absolute;
    top: 18px;
    left: 20px;
    color: var(--accent);
    content: "✓";
    font-weight: 900;
}
.inside-close {
    margin: 0;
    font-family: var(--gh-font-heading, Georgia), "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
}
@media (max-width: 700px) {
    .inside-section { padding: 64px 0; }
    .inside-list { grid-template-columns: 1fr; }
}
.header-actions { display: flex; align-items: center; gap: 18px; }

.hero { overflow: hidden; padding: 76px 0 84px; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(46px, 8vw, 100px); }
.hero-copy h1 { margin-bottom: 26px; }
.hero-lead { max-width: 650px; margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.45; }
.hero-note { max-width: 625px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 34px; }
.hero-signin { color: var(--muted); }
.hero-photo-wrap { position: relative; max-width: 470px; justify-self: center; }
.hero-photo-wrap::before { content: ""; position: absolute; inset: -24px 28px 24px -28px; border-radius: 48% 52% 45% 55%; background: #c9d3c1; transform: rotate(-3deg); }
.hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 46% 46% 28px 28px; box-shadow: var(--shadow); object-fit: cover; object-position: center 35%; }
.photo-note { position: absolute; right: -18px; bottom: 24px; padding: 13px 20px; border-radius: 4px; background: #fff; box-shadow: var(--shadow); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-style: italic; transform: rotate(-2deg); }

.promise { padding: 74px 0; border-block: 1px solid var(--line); background: #fff; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.promise-number { display: block; margin-bottom: 16px; color: var(--peach); font-family: Georgia, "Times New Roman", serif; font-size: 2.1rem; }
.promise h2 { margin-bottom: 12px; font-size: 1.6rem; }
.promise p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }

.sundays-section { padding: 92px 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { max-width: 670px; margin-bottom: 0; }
.member-welcome { color: var(--sage-dark); font-weight: 700; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sunday-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(73, 55, 42, .07); transition: transform .25s ease, box-shadow .25s ease; }
.sunday-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image-link { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream); }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sunday-card:hover .card-image { transform: scale(1.025); }
.card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; background: linear-gradient(135deg, var(--sage), var(--peach)); }
.card-placeholder span { font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-style: italic; }
.card-lock { position: absolute; top: 14px; right: 14px; padding: 6px 11px; border-radius: 999px; color: var(--sage-dark); background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.card-body { padding: 25px 25px 28px; }
.card-body time { display: block; margin-bottom: 10px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card-body h3 { margin-bottom: 12px; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-link { color: var(--sage-dark); font-weight: 800; text-decoration: none; }
a[href="/sunday-september-6/"] .card-image { object-position: center 20%; }

.support-section { padding: 84px 0; border-top: 1px solid var(--line); background: var(--cream); }
.support-heading { max-width: 720px; margin-bottom: 34px; }
.support-heading h2 { margin-bottom: 0; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.support-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: 0 10px 30px rgba(73, 55, 42, .07); }
.support-card-gift { background: #f4f7f1; }
.support-card h3 { margin-bottom: 12px; font-size: 1.8rem; }
.support-card > p:not(.support-icon) { max-width: 520px; margin-bottom: 24px; color: var(--muted); }
.support-icon { margin-bottom: 12px; color: var(--accent); font-size: 1.7rem; line-height: 1; }

.bottom-cta { padding: 84px 0; color: #fff; background: var(--sage-dark); text-align: center; }
.bottom-cta-inner { max-width: 820px; }
.bottom-cta .eyebrow { color: #f3cbb7; }
.bottom-cta h2 { margin-bottom: 18px; }
.bottom-cta p:not(.eyebrow) { margin-bottom: 28px; color: rgba(255,255,255,.82); }

.archive-intro { padding: 86px 0 42px; }
.archive-intro h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(3rem, 6vw, 5rem); }
.archive-intro > p:last-child { color: var(--muted); font-size: 1.2rem; }
.archive-intro + .shell { padding-bottom: 110px; }
.empty-state { padding: 70px 30px; border: 1px dashed #cabdad; border-radius: 20px; background: var(--cream); text-align: center; }
.empty-state h2 { margin-bottom: 12px; }

.post, .page { padding: 78px 0 110px; }
.post-header { text-align: center; }
.post-header h1 { margin-bottom: 22px; font-size: clamp(3rem, 6.5vw, 5.5rem); }
.post-excerpt { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--sage-dark); font-weight: 800; text-decoration: none; }
.post-feature { margin-top: 48px; margin-bottom: 54px; }
.post-feature img { width: 100%; max-height: 700px; border-radius: 22px; object-fit: cover; }
.post-feature figcaption { margin-top: 10px; color: var(--muted); font-size: .8rem; text-align: center; }
.gh-content { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.gh-content > * { max-width: 100%; }
.gh-content p { margin-bottom: 1.45em; }
.gh-content h2, .gh-content h3 { margin-top: 1.5em; }
.gh-content img, .gh-content video, .gh-content iframe { border-radius: 16px; }
.gh-content .kg-width-wide { width: min(980px, 100vw - 40px); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.post-preview { position: relative; max-height: 360px; overflow: hidden; }
.post-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--paper)); }
.paywall { margin-top: 36px; padding: 54px 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); text-align: center; }
.paywall h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3rem); }
.paywall > p:not(.eyebrow) { color: var(--muted); }
.lock-circle { display: grid; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; place-items: center; background: #fff; box-shadow: 0 8px 22px rgba(73,55,42,.1); }
.paywall-signin { display: block; margin-top: 18px; font-weight: 700; }
.post-comments { padding-bottom: 110px; }
.pagination { display: flex; justify-content: center; gap: 22px; margin-top: 48px; font-size: .9rem; }

.site-footer { padding: 64px 0; color: rgba(255,255,255,.78); background: #2f362d; text-align: center; }
.footer-title { margin-bottom: 4px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; }
.site-footer p { margin-bottom: 6px; }
.footer-small { margin-top: 20px; font-size: .78rem; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo-wrap { width: min(480px, 92%); }
    .promise-grid { grid-template-columns: 1fr; gap: 34px; }
    .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .shell, .shell-narrow { width: min(100% - 28px, 1160px); }
    .site-header { position: relative; }
    .header-inner { min-height: 68px; }
    .site-name { font-size: 1.07rem; }
    .header-actions .text-link { display: none; }
    .hero { padding: 54px 0 64px; }
    .hero-grid { gap: 48px; }
    .hero-copy h1 { font-size: 3.25rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-signin { text-align: center; }
    .photo-note { right: -6px; }
    .promise, .sundays-section { padding-block: 62px; }
    .section-heading { display: block; }
    .member-welcome { display: block; margin-top: 18px; }
    .post-grid { grid-template-columns: 1fr; }
    .support-section { padding-block: 62px; }
    .support-grid { grid-template-columns: 1fr; }
    .support-card { padding: 28px 24px; }
    .post, .page { padding-top: 58px; }
    .post-header h1 { font-size: 3.15rem; }
    .pagination { align-items: center; flex-direction: column; }
}
