:root {
    --heritage-earth: #2f2017;
    --heritage-clay: #9b4d2f;
    --heritage-gold: #d0a452;
    --heritage-sand: #f1e8db;
    --heritage-ink: #17120f;
}

.heritage-page {
    color: var(--heritage-ink);
    background: #f8f4ee;
}

.heritage-page .events-nav {
    background: linear-gradient(180deg, rgba(23, 18, 15, .9), rgba(23, 18, 15, .5), transparent);
}

.heritage-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: #fff;
    background: var(--heritage-earth);
}

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

.heritage-hero-media img {
    object-fit: cover;
    object-position: center;
}

.heritage-hero-overlay {
    background: linear-gradient(90deg, rgba(23, 18, 15, .92) 0%, rgba(23, 18, 15, .67) 48%, rgba(23, 18, 15, .18) 100%);
}

.heritage-hero h1,
.heritage-display,
.heritage-interest h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -.045em;
}

.heritage-hero h1 {
    max-width: 950px;
    margin: 1rem 0 1.5rem;
    color: #fff;
    font-size: clamp(3.4rem, 8vw, 7.6rem);
    line-height: .88;
}

.heritage-hero h1 em {
    color: #f0cf99;
    font-weight: 400;
}

.heritage-hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.heritage-concept-note {
    display: flex;
    max-width: 760px;
    margin: 2rem 0 0;
    align-items: flex-start;
    gap: .65rem;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    line-height: 1.5;
}

.heritage-concept-note i {
    margin-top: .15rem;
    color: #f0cf99;
}

.heritage-section {
    padding: clamp(5rem, 10vw, 9rem) 0;
    scroll-margin-top: 5rem;
}

.heritage-display {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: .98;
}

.heritage-lead {
    color: #5b514a;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.75;
}

.heritage-vision {
    background: var(--heritage-sand);
}

.heritage-callout {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(47, 32, 23, .12);
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(47, 32, 23, .09);
}

.heritage-callout i {
    margin-bottom: 2rem;
    color: var(--heritage-clay);
    font-size: 2rem;
}

.heritage-callout h3,
.heritage-memory-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.heritage-development,
.heritage-notice {
    display: flex;
    margin: 1.5rem 0 0;
    padding: 1rem;
    gap: .75rem;
    color: #5b514a;
    background: rgba(155, 77, 47, .08);
    border-radius: 1rem;
    line-height: 1.55;
}

.heritage-journey {
    color: #fff;
    background: var(--heritage-earth);
}

.heritage-place {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    background: #17120f;
    border-radius: 1.5rem;
    box-shadow: 0 25px 65px rgba(0, 0, 0, .25);
}

.heritage-place picture,
.heritage-place img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.heritage-place img {
    object-fit: cover;
    transition: transform 500ms ease;
}

.heritage-place::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 25%, rgba(23, 18, 15, .92) 100%);
}

.heritage-place-copy {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2rem;
}

.heritage-place-copy span,
.heritage-question > span {
    color: #f0cf99;
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .18em;
}

.heritage-place h3 {
    margin: .7rem 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
}

.heritage-place p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.heritage-more {
    max-width: 850px;
    margin: 3rem auto 0;
    color: rgba(255, 255, 255, .66);
    text-align: center;
}

.heritage-participation {
    background: #f8f4ee;
}

.heritage-participation-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.heritage-participation-list li {
    display: flex;
    min-height: 74px;
    padding: 1.2rem 0;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid rgba(47, 32, 23, .18);
    font-size: 1.05rem;
}

.heritage-participation-list span {
    color: var(--heritage-clay);
    font-size: .72rem;
    font-weight: 800;
}

.heritage-family {
    color: #fff;
    background: linear-gradient(125deg, #1d2922, #101813);
}

.heritage-question {
    height: 100%;
    min-height: 280px;
    padding: 2rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.5rem;
}

.heritage-question h3 {
    margin: 3.5rem 0 1rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
}

.heritage-question p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.65;
}

.heritage-remembrance {
    background: linear-gradient(135deg, #f4ead8, #ead6b6);
}

.heritage-remembrance-image {
    display: block;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 30px 70px rgba(47, 32, 23, .2);
}

.heritage-remembrance-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.heritage-memory-card {
    margin-top: 2rem;
    padding: 1.5rem;
    color: #fff;
    background: var(--heritage-clay);
    border-radius: 1.25rem;
}

.heritage-memory-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
}

.heritage-interest {
    padding: clamp(5rem, 10vw, 9rem) 0;
    scroll-margin-top: 5rem;
    color: #fff;
    background: #17120f;
}

.heritage-interest h2 {
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: .98;
}

.heritage-interest > .container > .row > div:first-child > p:last-child {
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
    line-height: 1.7;
}

.heritage-form {
    padding: clamp(1.25rem, 4vw, 2.5rem);
    color: #231a15;
    background: #fffaf3;
    border-radius: 1.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}

.heritage-form .form-label {
    font-weight: 700;
}

.heritage-form .form-control,
.heritage-form .form-select {
    min-height: 54px;
    padding: .85rem 1rem;
    border-color: rgba(47, 32, 23, .2);
    border-radius: .9rem;
    font-size: 1rem;
}

.heritage-form textarea.form-control {
    min-height: 150px;
}

.heritage-form .form-control:focus,
.heritage-form .form-select:focus,
.heritage-form .form-check-input:focus {
    border-color: var(--heritage-clay);
    box-shadow: 0 0 0 .25rem rgba(155, 77, 47, .16);
}

.heritage-form .form-check-input {
    width: 1.3rem;
    height: 1.3rem;
    margin-top: .1rem;
}

.heritage-form .form-check-label {
    margin-left: .35rem;
    line-height: 1.55;
}

.heritage-alert {
    border-radius: 1rem;
}

.heritage-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.heritage-credits {
    padding: 2rem 0;
    color: rgba(255, 255, 255, .7);
    background: #0d0a08;
}

.heritage-credits summary {
    min-height: 44px;
    cursor: pointer;
    color: #f0cf99;
    font-weight: 700;
}

.heritage-credits ul {
    padding-left: 1.2rem;
    font-size: .82rem;
    line-height: 1.7;
}

.heritage-credits a {
    color: #f0cf99;
}

@media (prefers-reduced-motion: no-preference) {
    .heritage-place:hover img {
        transform: scale(1.035);
    }
}

@media (max-width: 991.98px) {
    .heritage-page .events-nav {
        background: rgba(23, 18, 15, .96);
    }

    .heritage-hero-overlay {
        background: linear-gradient(90deg, rgba(23, 18, 15, .9), rgba(23, 18, 15, .58));
    }
}

@media (max-width: 767.98px) {
    .heritage-hero-media img {
        object-position: 62% center;
    }

    .heritage-hero-overlay {
        background: linear-gradient(180deg, rgba(23, 18, 15, .5), rgba(23, 18, 15, .92));
    }

    .heritage-hero .row {
        min-height: 100svh !important;
        height: auto;
        align-items: center !important;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .heritage-hero h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .heritage-place {
        min-height: 420px;
    }

    .heritage-question {
        min-height: 240px;
    }
}

@media (max-width: 430px) {
    .heritage-hero .btn,
    .heritage-form .btn {
        min-height: 52px;
    }

    .heritage-place-copy,
    .heritage-question {
        padding: 1.5rem;
    }
}
