:root {
    --spg-meadow-green: #4F7F24;
    --spg-sky-blue: #8FC6E8;
    --spg-earth-brown: #7A5A2B;
    --spg-warm-mist: #F3F0E6;
    --spg-ink: #2d2a24;
    --spg-paper: rgba(255, 253, 248, 0.96);
    --spg-line: rgba(122, 90, 43, 0.16);
    --spg-shadow: 0 24px 56px rgba(45, 42, 36, 0.11);
    --spg-header-height: 136px;
    --spg-content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-shell {
    margin: 0;
    color: var(--spg-ink);
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(143, 198, 232, 0.28), transparent 24%),
        linear-gradient(180deg, #f9f6ef 0%, #eef5f9 100%);
}

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

a {
    color: var(--spg-earth-brown);
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    border-bottom: 1px solid rgba(122, 90, 43, 0.14);
    background: linear-gradient(
        180deg,
        rgba(143, 198, 232, 0.96) 0%,
        rgba(184, 220, 239, 0.92) 15%,
        rgba(243, 240, 230, 0.9) 35%,
        rgba(243, 240, 230, 0.88) 100%
    );
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(45, 42, 36, 0.08);
}

.site-header-inner,
.hero-inner,
.page-title-inner,
.page-content-shell,
.footer-inner {
    max-width: var(--spg-content-width);
    margin: 0 auto;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--spg-header-height);
    padding: 0.9rem 1.5rem 1rem;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.brand-mark {
    flex: 0 0 auto;
    width: 300px;
    padding: 0.5rem 0.75rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(122, 90, 43, 0.12);
}

.brand-mark img {
    width: 100%;
    height: auto;
}

.brand-copy {
    min-width: 0;
}

.brand-copy p {
    margin: 0;
}

.brand-kicker,
.hero-eyebrow,
.section-label,
.contact-label {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--spg-earth-brown);
}

.brand-kicker {
    margin-bottom: 0.3rem;
    font-size: 0.76rem;
}

.brand-title {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(45, 42, 36, 0.82);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.site-nav-toggle {
    display: none;
    position: relative;
    width: 3rem;
    height: 3rem;
    padding: 0.7rem;
    border: 1px solid rgba(122, 90, 43, 0.2);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.72);
    color: var(--spg-earth-brown);
}

.site-nav-toggle-line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav-toggle-line:nth-of-type(2) {
    transform: translate(-50%, -50%) translateY(-7px);
}

.site-nav-toggle-line:nth-of-type(3) {
    transform: translate(-50%, -50%);
}

.site-nav-toggle-line:nth-of-type(4) {
    transform: translate(-50%, -50%) translateY(7px);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-line:nth-of-type(2) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-line:nth-of-type(3) {
    opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-line:nth-of-type(4) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.site-nav-link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(108, 159, 58, 0.1);
    color: var(--spg-earth-brown);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
    background: rgba(108, 159, 58, 0.18);
    color: var(--spg-earth-brown);
}

.site-nav-link.is-active {
    background: var(--spg-meadow-green);
    color: #fffdf8;
}

.hero-shell {
    padding-top: var(--spg-header-height);
}

.hero-image {
    position: relative;
    min-height: 30rem;
    background-position: center bottom;
    background-size: cover;
}

/*.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.36));
}*/

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: start;
    min-height: 30rem;
    padding: 2.4rem 1.5rem;
}

.title-panel,
.page-title-band,
.content-card,
.footer-inner {
    border: 1px solid var(--spg-line);
    box-shadow: var(--spg-shadow);
}

.title-panel {
    padding: 1.6rem 1.75rem;
    border-radius: 1.75rem;
    color: #fffdf8;
    background: rgba(45, 42, 36, 0.42);
    backdrop-filter: blur(8px);
}

.page-title-band {
    margin: 0 1.5rem;
    border-radius: 0 0 1.75rem 1.75rem;
    background: var(--spg-paper);
}

.page-title-inner {
    padding: 1.8rem 1.5rem;
}

.hero-eyebrow,
.section-label,
.contact-label {
    margin-bottom: 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.title-panel .hero-eyebrow,
.title-panel h1,
.title-panel .hero-intro {
    color: #fffdf8;
}

.title-panel .hero-eyebrow {
    background: rgba(255, 255, 255, 0.16);
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.hero-intro {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.7;
}

.title-panel h1,
.page-title-band h1,
.content-card h2,
.content-card h3 {
    margin: 0 0 0.8rem;
    font-family: "Libre Baskerville", Georgia, serif;
    line-height: 1.12;
}

.title-panel h1,
.page-title-band h1,
.content-card h2,
.content-card h3 {
    color: var(--spg-earth-brown);
}

.title-panel h1 {
    color: #fffdf8;
}

.title-panel h1,
.page-title-band h1 {
    font-size: clamp(2.1rem, 4vw, 4rem);
}

.site-main {
    padding: 1.75rem 0 3rem;
}

.site-main-no-hero {
    padding-top: calc(var(--spg-header-height) + 1.75rem);
}

.page-content-shell {
    padding: 0 1.5rem;
}

.section-shell {
    margin-bottom: 1.4rem;
}

.content-card {
    height: 100%;
    padding: 1.75rem;
    border-radius: 1.9rem;
    background: var(--spg-paper);
}

.feature-card {
    background:
        linear-gradient(180deg, rgba(143, 198, 232, 0.16), rgba(143, 198, 232, 0)),
        var(--spg-paper);
}

.home-story-card,
.memorial-card,
.founder-card,
.contact-prompt-card {
    height: 100%;
}

.archive-card {
    background:
        linear-gradient(180deg, rgba(143, 198, 232, 0.32), rgba(143, 198, 232, 0.12)),
        var(--spg-paper);
}

.home-lead {
    font-size: 1.08rem;
}

.photo-card,
.memorial-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.photo-card img,
.memorial-card img,
.founder-photo img,
.mini-photo-frame img {
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
}

.photo-caption,
.memorial-copy {
    margin: 0;
}

.memorial-summary {
    color: var(--spg-meadow-green);
}

.memorial-author {
    margin: 0;
    font-size: 0.82rem;
    font-style: italic;
    text-align: right;
    color: rgba(77, 82, 76, 0.78);
}

.home-split-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.5rem;
}

.mini-photo-frame {
    margin: 0;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(122, 90, 43, 0.14);
}

.home-link-list {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.home-link-list li {
    margin-bottom: 0.45rem;
}

.founder-grid {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.founder-photo {
    margin: 0;
}

.about-founder-grid {
    margin-top: 1.5rem;
}

.quote-accent {
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--spg-meadow-green);
    border-radius: 0 1rem 1rem 0;
    background: rgba(143, 198, 232, 0.16);
    font-style: italic;
}

.contact-prompt-links {
    margin-bottom: 0;
    font-weight: 700;
}

.content-card p,
.content-card li,
.contact-value,
.footer-inner {
    line-height: 1.72;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.9rem 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 1rem 1.1rem;
    border-radius: 1.35rem;
    background: rgba(143, 198, 232, 0.18);
}

.service-option-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--spg-earth-brown);
}

.service-option-list {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.archive-intro {
    margin-bottom: 1.2rem;
}

.archive-stack {
    display: grid;
    gap: 1rem;
}

@media (max-width: 1199.98px) {
    .archive-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.archive-item {
    margin: 0;
    padding: 0.85rem;
    border-radius: 1.2rem;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(122, 90, 43, 0.14);
}

.archive-item img {
    width: 100%;
    max-width: 225px;
    height: auto;
    margin: 0 auto;
    border-radius: 0.9rem;
}

.archive-item figcaption {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    font-style: italic;
    color: rgba(122, 90, 43, 0.9);
    text-align: center;
}

.about-story-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

@media (min-width: 1080px) {
    .service-option-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn-brand,
.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.btn-brand {
    color: #fffdf8;
    border: 0;
    background: var(--spg-meadow-green);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    color: #fffdf8;
    background: #46741F;
}

.btn-outline-brand {
    color: var(--spg-earth-brown);
    border: 1px solid rgba(122, 90, 43, 0.16);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
    color: var(--spg-earth-brown);
    background: rgba(143, 198, 232, 0.18);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-label {
    margin-bottom: 0.4rem;
}

.contact-value {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-value a {
    overflow-wrap: anywhere;
}

.callout-card {
    color: #fffdf8;
    background:
        linear-gradient(135deg, rgba(122, 90, 43, 0.96), rgba(122, 90, 43, 0.86));
}

.callout-card .section-label,
.callout-card h2,
.callout-card h3,
.callout-card a {
    color: #fffdf8;
}

.callout-copy {
    font-weight: 700;
}

.site-footer {
    padding: 0 1.5rem 2rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 1.35rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(122, 90, 43, 0.92);
    color: #fffdf8;
}

.footer-inner a {
    color: #fffdf8;
    font-weight: 700;
    text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
    text-decoration: underline;
}

.site-credit {
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.96rem;
    color: var(--df-muted);
}

.site-credit a {
    color: var(--df-accent);
    font-weight: 600;
    text-decoration: none;
}

.site-credit a:hover,
.site-credit a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    :root {
        --spg-header-height: 132px;
    }

    .site-header {
        position: relative;
        inset: auto;
    }

    .site-header-inner {
        flex-flow: row wrap;
        align-items: center;
    }

    .brand-wrap {
        flex: 1 1 0;
    }

    .brand-mark {
        width: min(300px, 100%);
    }

    .site-header.is-nav-enhanced .site-nav-toggle {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: space-between;
    }

    .site-header.is-nav-enhanced .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-header.is-nav-enhanced .site-nav.is-open {
        display: flex;
    }

    .site-header.is-nav-enhanced .site-nav-link {
        width: 100%;
        text-align: center;
    }

    .hero-shell {
        padding-top: 0;
    }

    .site-main-no-hero {
        padding-top: 1.75rem;
    }

    .hero-image,
    .hero-inner {
        min-height: 24rem;
    }

    .title-panel,
    .content-card {
        padding: 1.35rem;
        border-radius: 1.35rem;
    }

    .page-title-band {
        margin: 0 1rem;
    }

    .page-content-shell,
    .site-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-value {
        font-size: 1.15rem;
    }

    .home-split-media,
    .founder-grid,
    .about-story-columns {
        grid-template-columns: 1fr;
    }
}
