:root {
    --bg: #f7f2ea;
    --bg-strong: #efe3d3;
    --surface: rgba(255, 252, 247, 0.82);
    --surface-strong: #fffaf4;
    --text: #1e1b18;
    --muted: #665d54;
    --accent: #c55c3b;
    --accent-dark: #934026;
    --line: rgba(30, 27, 24, 0.12);
    --shadow: 0 24px 80px rgba(66, 42, 24, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(197, 92, 59, 0.16), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(105, 157, 125, 0.18), transparent 24%),
        linear-gradient(180deg, #fcf7f0 0%, var(--bg) 40%, #f2e8dc 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
    opacity: 0.35;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.hero,
.section,
.footer {
    position: relative;
    z-index: 1;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    margin-bottom: 30px;
    background: rgba(255, 250, 244, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(79, 51, 30, 0.08);
}

.brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 0.96rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-card,
.story-panel,
.moment-card,
.gather-panel,
.contact-card,
.footer {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--radius-xl);
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-dark);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 0.98;
    font-weight: 400;
    font-family: "Instrument Serif", serif;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 8vw, 6.9rem);
}

h2 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
}

h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.lede,
.story-panel p,
.moment-card p,
.gather-panel p,
.contact-card p,
.footer,
.highlight-list p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.lede {
    max-width: 58ch;
    margin: 24px 0 0;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fffaf4;
    background: linear-gradient(135deg, var(--accent) 0%, #d87b57 100%);
}

.button-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
}

.hero-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    align-self: end;
}

.card-label {
    margin: 0 0 22px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-dark);
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 22px;
}

.highlight-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.highlight-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(197, 92, 59, 0.12);
    color: var(--accent-dark);
    font-weight: 800;
}

.highlight-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.section {
    padding-top: 88px;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.story-layout,
.hello-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.story-panel,
.contact-card,
.gather-panel {
    padding: 30px;
    border-radius: var(--radius-lg);
}

.accent-panel {
    display: grid;
    align-content: center;
    background: linear-gradient(180deg, rgba(197, 92, 59, 0.9), rgba(147, 64, 38, 0.9));
    color: #fffaf4;
}

.accent-panel .stat-caption,
.accent-panel .stat {
    color: #fffaf4;
}

.stat {
    margin: 0;
    font-family: "Instrument Serif", serif;
    font-size: clamp(4rem, 9vw, 6rem);
    line-height: 0.9;
}

.stat-caption {
    margin: 12px 0 0;
    font-size: 1.02rem;
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.moment-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.moment-tag {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(105, 157, 125, 0.14);
    color: #355848;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gather-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.84), rgba(243, 231, 217, 0.92)),
        linear-gradient(90deg, rgba(197, 92, 59, 0.2), rgba(105, 157, 125, 0.12));
}

.contact-card {
    display: grid;
    gap: 20px;
    align-content: start;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 88px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-delay-1 {
    transition-delay: 100ms;
}

.reveal-delay-2 {
    transition-delay: 180ms;
}

.reveal-delay-3 {
    transition-delay: 260ms;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .button {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .story-layout,
    .hello-layout,
    .moments-grid,
    .gather-panel {
        grid-template-columns: 1fr;
    }

    h1,
    h2 {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--container));
        padding-top: 12px;
    }

    .topbar,
    .footer {
        border-radius: 28px;
    }

    .topbar,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        gap: 14px;
    }

    .hero-copy,
    .hero-card,
    .story-panel,
    .contact-card,
    .moment-card,
    .gather-panel {
        padding: 22px;
    }

    .section {
        padding-top: 64px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}