@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=EB+Garamond:wght@400;500;600&family=Jost:wght@300;400;500;600&display=swap");

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fbf6ec;
    color: #2e2016;
    font-family: "EB Garamond", Georgia, serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(251, 246, 236, 0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px -24px rgba(46, 32, 22, 0.5);
}

.nav-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-badge {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(169, 132, 60, 0.55);
    background: rgba(255, 255, 255, 0.65);
    color: #a9843c;
    font-size: 1.05rem;
}

.brand-badge img {
    width: 24px;
    height: 24px;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.brand-name span {
    color: #a9843c;
}

.brand-sub {
    margin-top: 4px;
    font-family: "Jost", sans-serif;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: rgba(138, 109, 59, 0.82);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-family: "Jost", sans-serif;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4a3826;
}

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: 0.28s ease;
}

.nav-button {
    border: 1px solid rgba(169, 132, 60, 0.75);
    padding: 11px 20px;
    color: #a9843c;
}

.nav-button:hover,
.button:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(169, 132, 60, 0.45);
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: #2e2016;
    margin: 5px auto;
    transition: 0.25s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media,
.hero-media img,
.quote-media,
.quote-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img,
.quote-media img,
.feature-card img,
.about-visual img {
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(46, 32, 22, 0.55), rgba(46, 32, 22, 0.32), rgba(46, 32, 22, 0.72)),
        linear-gradient(to top, rgba(251, 246, 236, 0.9), transparent 26%);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(201, 163, 91, 0.28), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 120px 20px 40px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 18px;
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: #f8f1e3;
}

.eyebrow.dark {
    color: #a9843c;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.7rem);
    color: #fbf6ec;
}

.hero h1 span {
    display: block;
    color: #c9a35b;
    font-style: italic;
}

.hero-copy {
    max-width: 720px;
    margin: 28px auto 0;
    font-size: 1.28rem;
    line-height: 1.75;
    color: rgba(248, 241, 227, 0.96);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    padding: 14px 28px;
    font-family: "Jost", sans-serif;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.button-primary {
    background: #a9843c;
    color: #fbf6ec;
    box-shadow: 0 18px 40px -18px rgba(169, 132, 60, 0.9);
}

.button-primary:hover {
    background: #c9a35b;
}

.button-secondary,
.button-outline {
    border: 1px solid rgba(248, 241, 227, 0.55);
    color: #f8f1e3;
    background: rgba(255, 255, 255, 0.05);
}

.button-outline {
    border-color: rgba(169, 132, 60, 0.7);
    color: #a9843c;
    background: transparent;
}

.button-outline:hover {
    background: #a9843c;
    color: #fbf6ec;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1px solid rgba(248, 241, 227, 0.5);
    border-radius: 999px;
    display: grid;
    place-items: start center;
    padding-top: 8px;
    z-index: 2;
}

.scroll-cue span {
    width: 4px;
    height: 10px;
    border-radius: 999px;
    background: #c9a35b;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.section {
    padding: 96px 20px;
}

.section-pillars,
.section-prayers,
.section-about {
    background:
        radial-gradient(circle at 20% 20%, rgba(201, 163, 91, 0.05), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(138, 109, 59, 0.05), transparent 45%),
        #fbf6ec;
}

.section-churches,
.section-stories {
    background: linear-gradient(to bottom, #f8f1e3, #f3e9d6);
}

.section-heading,
.section-split,
.pillars-grid,
.feature-grid,
.prayer-grid,
.stories-grid,
.about-layout,
.disclaimer-grid,
.contact-shell,
.footer-grid {
    max-width: 1180px;
    margin: 0 auto;
}

.section-heading.centered {
    max-width: 760px;
    text-align: center;
}

.section-heading h2,
.about-copy h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #2e2016;
}

.section-heading p,
.about-copy p,
.feature-copy p,
.story-card p,
.pillar-card p,
.notice-card p,
.contact-copy p,
.site-footer p {
    color: rgba(74, 56, 38, 0.84);
    line-height: 1.75;
    font-size: 1.1rem;
}

.ornament-line {
    width: 160px;
    height: 1px;
    margin: 24px auto 0;
    background: linear-gradient(to right, transparent, #c9a35b 20%, #c9a35b 80%, transparent);
}

.pillars-grid,
.feature-grid,
.stories-grid,
.disclaimer-grid {
    margin-top: 56px;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-card,
.story-card,
.notice-card {
    background: linear-gradient(to bottom, #ffffff, rgba(248, 241, 227, 0.92));
    border: 1px solid rgba(232, 220, 196, 0.9);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 20px 50px -40px rgba(46, 32, 22, 0.7);
    transition: 0.35s ease;
}

.pillar-card:hover,
.story-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 36px 70px -40px rgba(138, 109, 59, 0.65);
    border-color: rgba(201, 163, 91, 0.6);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(201, 163, 91, 0.45);
    background: rgba(243, 233, 214, 0.75);
    color: #a9843c;
    font-size: 1.5rem;
}

.pillar-card h3,
.feature-copy h3,
.story-card h3,
.notice-card h3,
.footer-grid h3,
.footer-grid h4 {
    margin: 24px 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: #2e2016;
}

.pillar-card h3,
.feature-copy h3,
.story-card h3 {
    font-size: 2rem;
}

.card-link {
    margin-top: 20px;
    display: inline-block;
    font-family: "Jost", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a9843c;
}

.section-split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-split .section-heading {
    max-width: 720px;
}

.feature-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(232, 220, 196, 0.9);
    border-radius: 24px;
    box-shadow: 0 24px 60px -45px rgba(46, 32, 22, 0.8);
    transition: 0.35s ease;
}

.feature-card img {
    width: 100%;
    height: 260px;
    display: block;
}

.feature-copy {
    padding: 30px;
}

.feature-meta,
.story-card small,
.footer-bottom,
.form-note,
.char-count {
    font-family: "Jost", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: rgba(138, 109, 59, 0.82);
}

.feature-copy a {
    display: inline-block;
    margin-top: 16px;
    color: #a9843c;
    font-family: "Jost", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.quote-band {
    position: relative;
    overflow: hidden;
    padding: 110px 20px;
    background: #2e2016;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(46, 32, 22, 0.96), rgba(46, 32, 22, 0.84), rgba(46, 32, 22, 0.7)),
        radial-gradient(circle at 50% 50%, rgba(201, 163, 91, 0.18), transparent 60%);
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    margin: 0;
    font-size: 4rem;
    color: rgba(201, 163, 91, 0.72);
}

.quote-content blockquote {
    margin: 0;
    color: #fbf6ec;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-style: italic;
}

.quote-content cite {
    display: block;
    margin-top: 22px;
    color: #c9a35b;
    font-family: "Jost", sans-serif;
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: 0.3em;
    font-size: 0.74rem;
}

.prayer-grid {
    margin-top: 56px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prayer-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(232, 220, 196, 0.9);
    background: rgba(255, 255, 255, 0.74);
    transition: 0.3s ease;
}

.prayer-card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: rgba(201, 163, 91, 0.6);
    box-shadow: 0 28px 60px -42px rgba(138, 109, 59, 0.7);
}

.prayer-card span {
    font-size: 1.2rem;
    color: #a9843c;
}

.prayer-card strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.prayer-card small {
    margin-top: 4px;
}

.centered-action {
    text-align: center;
    margin-top: 42px;
}

.about-layout,
.contact-shell {
    display: grid;
    gap: 46px;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    min-height: 640px;
    border-radius: 28px;
    border: 1px solid rgba(201, 163, 91, 0.3);
    box-shadow: 0 40px 90px -50px rgba(46, 32, 22, 0.8);
}

.about-badge {
    position: absolute;
    right: -8px;
    bottom: -18px;
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(201, 163, 91, 0.4);
    background: #2e2016;
    box-shadow: 0 16px 40px rgba(46, 32, 22, 0.24);
    color: #f8f1e3;
    max-width: 220px;
}

.about-badge strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.5rem;
    color: #c9a35b;
}

.about-links {
    margin-top: 28px;
}

.notice-card h3 {
    font-size: 1.8rem;
}

.contact-shell {
    background: linear-gradient(to bottom, #ffffff, rgba(248, 241, 227, 0.92));
    border: 1px solid rgba(232, 220, 196, 0.9);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 24px 60px -45px rgba(46, 32, 22, 0.8);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label span {
    display: block;
    margin-bottom: 8px;
    font-family: "Jost", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    color: #8a6d3b;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(217, 196, 167, 1);
    background: #fffdf9;
    color: #2e2016;
    font: inherit;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.form-status {
    display: none;
    padding: 13px 14px;
    border-radius: 16px;
    background: #f7eddc;
    border: 1px solid rgba(223, 197, 157, 1);
    color: #5e2323;
}

.form-status.visible {
    display: block;
}

.site-footer {
    background: #fbf6ec;
    padding: 68px 20px 26px;
}

.footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: 1.3fr 1fr 1fr;
}

.footer-grid h3 {
    font-size: 2rem;
    margin-top: 0;
}

.footer-grid h4 {
    margin-top: 0;
    font-size: 1.3rem;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.footer-grid li {
    margin-bottom: 12px;
}

.footer-bottom {
    max-width: 1180px;
    margin: 28px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(201, 163, 91, 0.35);
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.page-main {
    padding-top: 96px;
}

.content-hero {
    padding: 54px 20px 30px;
}

.content-hero-inner,
.content-section,
.directory-controls,
.table-wrap,
.summary-wrap,
.detail-wrap,
.stories-wrap,
.prayer-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.content-hero-card,
.content-card,
.summary-card,
.detail-panel,
.prayer-category,
.story-volume,
.directory-highlight,
.filter-panel {
    background: linear-gradient(to bottom, #ffffff, rgba(248, 241, 227, 0.95));
    border: 1px solid rgba(232, 220, 196, 0.9);
    border-radius: 26px;
    box-shadow: 0 20px 50px -40px rgba(46, 32, 22, 0.7);
}

.content-hero-card {
    padding: 38px 32px;
}

.content-hero-card h1,
.content-section h2,
.content-card h2,
.detail-panel h1,
.detail-panel h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #2e2016;
}

.content-hero-card h1,
.detail-panel h1 {
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    line-height: 1.05;
}

.content-subtitle,
.content-section p,
.content-card p,
.detail-panel p,
.detail-panel li,
.table-note,
.results-note {
    color: rgba(74, 56, 38, 0.86);
    font-size: 1.08rem;
    line-height: 1.75;
}

.stats-row,
.summary-grid,
.category-grid,
.volume-grid {
    display: grid;
    gap: 22px;
}

.stats-row,
.summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.stat-tile,
.summary-card,
.directory-highlight,
.filter-panel,
.content-card,
.prayer-category,
.story-volume {
    padding: 24px;
}

.stat-tile strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.4rem;
    color: #a9843c;
}

.stat-tile span {
    color: rgba(74, 56, 38, 0.82);
}

.content-section {
    padding: 30px 20px 70px;
}

.section-stack {
    display: grid;
    gap: 26px;
}

.directory-controls {
    padding: 0 20px 30px;
}

.filter-panel {
    display: grid;
    gap: 18px;
}

.filter-panel h2,
.content-card h2,
.summary-card h2,
.prayer-category h2,
.story-volume h2 {
    margin-top: 0;
    font-size: 2rem;
}

.filter-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 2fr 1fr 1fr auto;
}

.filter-grid input,
.filter-grid select,
.filter-grid button,
.contact-form input,
.contact-form textarea {
    font: inherit;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(217, 196, 167, 1);
    background: #fffdf9;
    color: #2e2016;
}

.filter-grid button {
    padding: 0 22px;
    border: 0;
    cursor: pointer;
}

.results-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.table-wrap {
    padding: 0 20px 30px;
}

.data-table-shell {
    overflow: auto;
    border-radius: 24px;
    border: 1px solid rgba(232, 220, 196, 0.9);
    box-shadow: 0 20px 50px -40px rgba(46, 32, 22, 0.7);
    background: #fffdf9;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(232, 220, 196, 0.9);
    vertical-align: top;
}

.data-table th {
    background: #f3e9d6;
    font-family: "Jost", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8a6d3b;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(248, 241, 227, 0.45);
}

.directory-link,
.back-link,
.inline-link {
    color: #a9843c;
    font-family: "Jost", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.detail-wrap,
.prayer-wrap,
.stories-wrap {
    padding: 38px 20px 70px;
}

.detail-panel {
    padding: 36px 32px;
}

.detail-panel .detail-meta {
    margin: 0 0 16px;
    font-family: "Jost", sans-serif;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a9843c;
}

.detail-panel .detail-theme {
    margin: 10px 0 24px;
    color: rgba(74, 56, 38, 0.84);
}

.detail-panel .detail-text p {
    margin: 0 0 16px;
}

.detail-panel .reflection-box {
    margin-top: 28px;
    padding: 22px 24px;
    border-left: 4px solid #a9843c;
    border-radius: 16px;
    background: rgba(243, 233, 214, 0.72);
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.prayer-category ul,
.story-volume ol,
.summary-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.prayer-category li,
.story-volume li,
.summary-card li {
    margin-bottom: 10px;
    color: rgba(74, 56, 38, 0.86);
}

.volume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.directory-highlight {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: start;
    flex-wrap: wrap;
}

.directory-highlight p:last-child {
    margin-bottom: 0;
}

.protect-note {
    font-size: 0.96rem;
}

@media (max-width: 1024px) {
    .pillars-grid,
    .feature-grid,
    .stories-grid,
    .disclaimer-grid,
    .prayer-grid,
    .about-layout,
    .contact-shell,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-row,
    .summary-grid,
    .category-grid,
    .volume-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-layout,
    .contact-shell {
        align-items: start;
    }

    .section-split {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        padding: 12px 16px;
        gap: 12px;
    }

    .brand {
        gap: 10px;
        min-width: 0;
    }

    .brand-badge {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .brand-badge img {
        width: 22px;
        height: 22px;
    }

    .brand-name {
        font-size: 1.7rem;
    }

    .brand-sub {
        font-size: 0.54rem;
        letter-spacing: 0.2em;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(251, 246, 236, 0.98);
        border: 1px solid rgba(201, 163, 91, 0.25);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        font-size: 0.92rem;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .section,
    .quote-band {
        padding: 84px 18px;
    }

    .pillars-grid,
    .feature-grid,
    .prayer-grid,
    .stories-grid,
    .disclaimer-grid,
    .about-layout,
    .contact-shell,
    .footer-grid,
    .stats-row,
    .summary-grid,
    .category-grid,
    .volume-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .contact-shell {
        padding: 28px 20px;
    }

    .hero-copy {
        font-size: 1.1rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .about-badge {
        position: static;
        margin-top: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .nav-wrap {
        padding: 10px 14px;
    }

    .brand-name {
        font-size: 1.45rem;
    }

    .brand-sub {
        font-size: 0.48rem;
        letter-spacing: 0.16em;
    }
}
