:root {
    --bg: #10202d;
    --bg-deep: #0a1722;
    --ink: #1f3342;
    --paper: #f7f2e9;
    --paper-2: #f2ecdf;
    --mist: #dbe7f1;
    --sky: #bfdaf0;
    --water: #8eb9db;
    --foam: #edf5fb;
    --sand: #eadbc9;
    --rose: #e5cbc3;
    --gold: #f4dfbf;
    --text: #213646;
    --text-soft: #5f7382;
    --white: #ffffff;
    --line: rgba(26, 48, 64, 0.12);
    --shadow: 0 18px 48px rgba(16, 31, 44, 0.16);
    --shadow-deep: 0 22px 60px rgba(8, 19, 29, 0.24);
    --radius: 28px;
    --radius-lg: 36px;
    --max: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(191, 218, 240, 0.55), transparent 28%),
        radial-gradient(circle at top right, rgba(234, 219, 201, 0.45), transparent 26%),
        linear-gradient(180deg, #edf3f7 0%, #f6f2eb 35%, #f4efe6 100%);
    line-height: 1.6;
}

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: 50;
    background: rgba(247, 242, 233, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(31, 51, 66, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.site-nav a {
    color: #436073;
    font-weight: 600;
    font-size: 0.96rem;
}

.site-nav a:hover {
    color: var(--ink);
}

.nav-pill {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(244, 223, 191, 0.75), rgba(191, 218, 240, 0.75));
    border: 1px solid rgba(67, 96, 115, 0.12);
}

.hero-paint {
    position: relative;
    padding: 5.5rem 0 4rem;
    isolation: isolate;
}

.hero-wash,
.hero-paper {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-wash-one {
    background:
        radial-gradient(circle at 16% 24%, rgba(191, 218, 240, 0.48), transparent 22%),
        radial-gradient(circle at 82% 18%, rgba(234, 219, 201, 0.42), transparent 20%),
        radial-gradient(circle at 55% 84%, rgba(229, 203, 195, 0.28), transparent 18%);
    filter: blur(24px);
    z-index: 0;
}

.hero-wash-two {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03)),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), transparent 55%);
    opacity: 0.9;
    z-index: 0;
}

.hero-paper {
    background-image:
        linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.04)),
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.18) 0 1px, transparent 1px);
    background-size: auto, 26px 26px, 34px 34px;
    opacity: 0.28;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.hero-text-block {
    padding: 1rem 0;
}

.eyebrow,
.section-kicker,
.mini-kicker,
.footer-kicker {
    display: inline-block;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6e8aa0;
}

.hero-paint h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.9rem, 6vw, 5.2rem);
    line-height: 0.98;
    color: var(--ink);
    max-width: 10ch;
}

.hero-lead {
    margin: 1.35rem 0 0;
    max-width: 58ch;
    color: var(--text-soft);
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions,
.hero-notes,
.memory-pills,
.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-notes {
    margin-top: 1.35rem;
}

.hero-notes span,
.memory-pills span {
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(67, 96, 115, 0.12);
    color: #4f6877;
    font-size: 0.94rem;
    box-shadow: 0 10px 24px rgba(34, 56, 74, 0.06);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.button:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.button-primary {
    color: #17324d;
    background: linear-gradient(135deg, #f7e6d6, #a8d6ff);
    box-shadow: 0 14px 32px rgba(63, 92, 114, 0.18);
}

.button-secondary {
    color: #365164;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(67, 96, 115, 0.12);
    box-shadow: 0 12px 28px rgba(63, 92, 114, 0.08);
}

.hero-art-frame {
    display: flex;
    justify-content: center;
}

.paint-frame {
    position: relative;
    width: min(100%, 520px);
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.58)),
        linear-gradient(135deg, rgba(244,223,191,0.34), rgba(191,218,240,0.34));
    border-radius: 38px;
    box-shadow: var(--shadow-deep);
    transform: rotate(-2deg);
}

.paint-frame::before {
    content: "";
    position: absolute;
    inset: -14px 20px auto;
    height: 48px;
    background: rgba(255,255,255,0.24);
    filter: blur(20px);
    border-radius: 999px;
    z-index: -1;
}

.paint-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 30px;
    filter: saturate(0.88) contrast(0.95) brightness(1.03);
}

.story-section,
.gallery-section,
.sara-section,
.memory-callout {
    position: relative;
    padding: 5.5rem 0;
}

.story-grid,
.section-head,
.sara-grid,
.footer-inner,
.memory-card {
    display: grid;
    gap: 1.5rem;
}

.story-grid {
    grid-template-columns: 1.08fr 0.92fr;
}

.story-card {
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.5));
    border: 1px solid rgba(67, 96, 115, 0.08);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.story-card-large h2,
.section-head h2,
.sara-copy h2,
.memory-card h2,
.footer-copy h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
    color: var(--ink);
    text-wrap: balance;
}

.story-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card p,
.section-side-copy,
.sara-copy p,
.memory-card p,
.footer-copy p,
.gallery-panel figcaption,
.footer-bottom p {
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.section-head {
    grid-template-columns: 1fr 0.95fr;
    align-items: end;
    margin-bottom: 2rem;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.7fr;
    gap: 1.5rem;
    grid-template-areas:
        "wide tall"
        "soft tall";
}

.gallery-panel {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255,255,255,0.64);
    border: 1px solid rgba(67, 96, 115, 0.08);
    box-shadow: var(--shadow);
}

.gallery-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.84) contrast(0.95) brightness(1.04);
}

.gallery-panel figcaption {
    padding: 1rem 1.15rem 1.2rem;
    background: rgba(255, 255, 255, 0.72);
}

.gallery-panel-wide {
    grid-area: wide;
    min-height: 410px;
}

.gallery-panel-tall {
    grid-area: tall;
    min-height: 100%;
}

.gallery-panel-soft {
    grid-area: soft;
    min-height: 280px;
}

.sara-grid {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: center;
}

.sara-portrait-wrap {
    display: flex;
    justify-content: center;
}

.portrait-matte {
    width: min(100%, 420px);
    padding: 1rem;
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.58)),
        linear-gradient(135deg, rgba(244,223,191,0.26), rgba(191,218,240,0.28));
    box-shadow: var(--shadow-deep);
    transform: rotate(1.5deg);
}

.portrait-matte img {
    width: 100%;
    border-radius: 26px;
    filter: saturate(0.88) contrast(0.96) brightness(1.03);
}

.sara-copy {
    padding: 1rem 0;
}

.memory-card {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    border-radius: 36px;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.54)),
        radial-gradient(circle at top left, rgba(191, 218, 240, 0.35), transparent 42%),
        radial-gradient(circle at bottom right, rgba(234, 219, 201, 0.34), transparent 38%);
    border: 1px solid rgba(67, 96, 115, 0.08);
    box-shadow: var(--shadow);
}

.memory-note {
    margin: 1rem 0 0;
    color: #6a7d8d;
}

.site-footer {
    margin-top: 1rem;
    padding: 4rem 0 2rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
    border-top: 1px solid rgba(67, 96, 115, 0.08);
}

.footer-inner {
    grid-template-columns: 1.2fr auto;
    align-items: center;
}

.footer-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.footer-cta,
.footer-switchboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.22s ease;
}

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

.footer-cta {
    color: #17324d;
    background: linear-gradient(135deg, #f7e6d6, #a8d6ff);
    box-shadow: 0 14px 30px rgba(63, 92, 114, 0.16);
}

.footer-switchboard {
    color: #446072;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(67, 96, 115, 0.12);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(67, 96, 115, 0.08);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 980px) {
    .hero-grid,
    .story-grid,
    .section-head,
    .gallery-layout,
    .sara-grid,
    .memory-card,
    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .gallery-panel-wide,
    .gallery-panel-tall,
    .gallery-panel-soft {
        min-height: 360px;
    }

    .site-nav {
        display: none;
    }

    .paint-frame {
        transform: none;
    }

    .portrait-matte {
        transform: none;
    }

    .hero-paint h1 {
        max-width: none;
    }
}

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

    .site-header {
        position: relative;
    }

    .hero-paint,
    .story-section,
    .gallery-section,
    .sara-section,
    .memory-callout {
        padding: 4.25rem 0;
    }

    .story-card,
    .memory-card,
    .gallery-panel figcaption {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .hero-notes span,
    .memory-pills span {
        width: 100%;
    }
}