:root {
    --paper: #f7f2ea;
    --paper-2: #f1ebe2;
    --ink: #2b4156;
    --ink-soft: #5e7180;
    --line: rgba(40, 66, 86, 0.16);
    --sky: #d7e4ef;
    --water: #8ba9c1;
    --sand: #e6d6c2;
    --gold: #f1dfc5;
    --blue: #a9cae4;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(30, 49, 66, 0.10);
    --radius: 30px;
    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)),
        url("img/splash4-paper.jpg") center top / cover repeat-y;
}

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

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

.page-shell {
    overflow: clip;
}

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 242, 234, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-row {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(2, auto) 1fr repeat(2, auto);
    align-items: center;
    gap: 1rem 2rem;
}

.brand {
    justify-self: center;
}

.brand img {
    height: 64px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.mini-nav {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    color: var(--ink);
    opacity: 0.92;
}

.mini-nav:hover {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 740px;
    background:
        linear-gradient(rgba(247, 242, 234, 0.06), rgba(247, 242, 234, 0.06)),
        url("img/splash4-hero-scene.jpg") center top / cover no-repeat;
    border-bottom: 1px solid rgba(43, 65, 86, 0.08);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(247,242,234,0.35), rgba(247,242,234,0.12) 38%, rgba(247,242,234,0.28)),
        radial-gradient(circle at center, rgba(255,255,255,0.28), transparent 46%);
}

.hero-wash {
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(247, 242, 234, 0.9));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 740px;
    padding: 7rem 0 6rem;
}

.hero-copy {
    max-width: 620px;
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(247, 242, 234, 0.18);
    border-radius: 28px;
}

.eyebrow,
.section-kicker,
.footer-kicker {
    margin: 0 0 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #5f7890;
}

.hero h1,
.section-title,
.site-footer h3 {
    margin: 0;
    font-weight: 400;
    line-height: 1.02;
    color: var(--ink);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.4rem);
    max-width: 12ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-text,
.service-card p,
.about-copy p,
.memory-copy p,
.site-footer p {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink-soft);
    font-size: 1.04rem;
    line-height: 1.8;
}

.hero-text {
    max-width: 48ch;
    margin: 1.25rem auto 0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button,
.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.footer-button:hover {
    transform: translateY(-2px);
}

.button-primary,
.footer-button-primary {
    color: #17324d;
    background: linear-gradient(135deg, var(--gold), var(--blue));
    box-shadow: 0 14px 28px rgba(43, 65, 86, 0.15);
}

.button-secondary,
.footer-button {
    color: var(--ink);
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(43, 65, 86, 0.12);
}

.services,
.about-sara,
.memory-strip {
    padding: 5.5rem 0;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 4rem);
    text-wrap: balance;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-card {
    text-align: center;
}

.service-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(43, 65, 86, 0.12);
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.65);
}

.service-card h3 {
    margin: 1rem 0 0.45rem;
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 400;
    color: var(--ink);
}

.about-grid,
.memory-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-grid {
    grid-template-columns: 1fr 0.9fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-image img,
.memory-photo img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(43, 65, 86, 0.1);
}

.memory-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.memory-note {
    font-style: italic;
}

.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,0.2);
}

.footer-grid {
    grid-template-columns: 1.2fr auto;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

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

    .about-grid,
    .memory-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 1.25rem), var(--max));
    }

    .site-header {
        position: relative;
    }

    .nav-row {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 1rem 0;
        gap: 0.5rem;
    }

    .brand {
        order: -1;
    }

    .hero {
        min-height: 620px;
        background-position: center center;
    }

    .hero-inner {
        min-height: 620px;
        padding: 4rem 0;
    }

    .hero-copy {
        padding: 1rem 0.75rem;
    }

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

    .services,
    .about-sara,
    .memory-strip {
        padding: 4rem 0;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-copy-no-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 288px;
}

.hero-text-hero-art {
    max-width: 42rem;
}



@media (max-width: 640px) {
    .hero-copy-no-title {
        padding-top: 160px;
    }
}

.hero-art-only .hero-inner {
    min-height: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
}

.brand-logo img {
    display: block;
    width: min(240px, 42vw);
    height: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.brand-logo img {
    display: block;
    width: min(240px, 42vw);
    height: auto;
}

.site-nav-pills {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.site-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    color: #446072;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(67, 96, 115, 0.14);
    box-shadow: 0 10px 24px rgba(34, 56, 74, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-pill:hover,
.site-pill:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.9);
}

.site-pill-primary {
    color: #17324d;
    background: linear-gradient(135deg, #f7e6d6, #a8d6ff);
    border: 1px solid rgba(67, 96, 115, 0.12);
    box-shadow: 0 12px 28px rgba(63, 92, 114, 0.16);
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-logo {
        justify-content: center;
    }

    .site-nav-pills {
        margin-left: 0;
        justify-content: center;
    }
}