:root {
    --heritage-red: #d71920;
    --heritage-red-dark: #b30f16;
    --heritage-navy: #142f55;
    --heritage-navy-deep: #0c2340;
    --heritage-blue: #28679d;
    --heritage-green: #18845c;
    --heritage-ink: #1d2838;
    --heritage-muted: #5f6d80;
    --heritage-line: #dce3eb;
    --heritage-soft: #f3f6f9;
    --heritage-white: #ffffff;
    --heritage-shell: 1200px;
}

.heritage-page,
.heritage-page * {
    box-sizing: border-box;
}

.heritage-page {
    width: 100%;
    margin-left: 0;
    overflow: hidden;
    color: var(--heritage-ink);
    background: var(--heritage-white);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.heritage-page img {
    display: block;
    width: 100%;
    height: auto;
}

.heritage-shell {
    width: min(var(--heritage-shell), calc(100% - 48px));
    margin-inline: auto;
}

.heritage-hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: end;
    isolation: isolate;
    background: var(--heritage-navy-deep);
}

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

.heritage-hero__media {
    z-index: -3;
}

.heritage-hero__media img {
    object-fit: cover;
    object-position: center 53%;
}

.heritage-hero__overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 28, 53, .94) 0%, rgba(8, 28, 53, .78) 42%, rgba(8, 28, 53, .24) 75%),
        linear-gradient(0deg, rgba(8, 28, 53, .68) 0%, transparent 52%);
}

.heritage-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: var(--heritage-red);
}

.heritage-hero__content {
    padding-block: 120px 82px;
    color: var(--heritage-white);
}

.heritage-eyebrow,
.heritage-kicker,
.heritage-entry__label {
    margin: 0 0 16px;
    color: var(--heritage-red);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
}

.heritage-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--heritage-white);
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: .95;
}

.heritage-hero__lead {
    max-width: 780px;
    margin: 24px 0 0;
    color: var(--heritage-white);
    font-size: clamp(1.35rem, 2.7vw, 2.1rem);
    font-weight: 500;
    line-height: 1.25;
}

.heritage-hero__summary {
    max-width: 690px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 1.05rem;
    line-height: 1.75;
}

.heritage-jump {
    position: relative;
    z-index: 3;
    background: var(--heritage-white);
    border-bottom: 1px solid var(--heritage-line);
    box-shadow: 0 8px 24px rgba(18, 46, 83, .06);
}

.heritage-jump__inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.heritage-jump a {
    min-width: 0;
    padding: 22px 14px 20px;
    color: var(--heritage-navy);
    text-align: center;
    text-decoration: none;
    border-right: 1px solid var(--heritage-line);
    transition: color .2s ease, background-color .2s ease;
}

.heritage-jump a:first-child {
    border-left: 1px solid var(--heritage-line);
}

.heritage-jump a:hover,
.heritage-jump a:focus-visible {
    color: var(--heritage-red);
    background: #fff7f7;
}

.heritage-jump a:focus-visible {
    outline: 3px solid rgba(215, 25, 32, .34);
    outline-offset: -3px;
}

.heritage-jump span,
.heritage-jump small {
    display: block;
}

.heritage-jump span {
    font-size: .94rem;
    font-weight: 800;
}

.heritage-jump small {
    margin-top: 5px;
    color: var(--heritage-muted);
    font-size: .7rem;
    line-height: 1.35;
}

.heritage-introduction {
    padding-block: 100px;
    background: var(--heritage-white);
}

.heritage-introduction__grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 76px;
    align-items: start;
}

.heritage-introduction h2,
.heritage-entry h2,
.heritage-continuity h2 {
    margin: 0;
    color: var(--heritage-navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.heritage-prose {
    color: var(--heritage-muted);
    font-size: 1rem;
    line-height: 1.82;
}

.heritage-prose p {
    margin: 0;
}

.heritage-prose p + p {
    margin-top: 20px;
}

.heritage-prose strong {
    color: var(--heritage-ink);
    font-weight: 750;
}

.heritage-prose--lead {
    font-size: 1.08rem;
}

.heritage-timeline {
    padding-block: 10px 120px;
    background: var(--heritage-soft);
}

.heritage-timeline > .heritage-shell {
    position: relative;
}

.heritage-timeline > .heritage-shell::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 240px;
    width: 2px;
    background: linear-gradient(var(--heritage-red), #aebdcc 88%, transparent);
}

.heritage-entry {
    position: relative;
    display: grid;
    grid-template-columns: 200px 36px minmax(0, 1fr);
    column-gap: 22px;
    padding-top: 105px;
    scroll-margin-top: 24px;
}

.heritage-entry::before {
    content: "";
    position: absolute;
    top: 130px;
    left: 231px;
    width: 20px;
    height: 20px;
    border: 5px solid var(--heritage-soft);
    border-radius: 50%;
    background: var(--heritage-red);
    box-shadow: 0 0 0 2px var(--heritage-red);
}

.heritage-entry__year {
    grid-column: 1;
    padding-top: 2px;
    color: var(--heritage-red);
    font-size: clamp(2.75rem, 5.8vw, 4.85rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .9;
    text-align: right;
}

.heritage-entry__year span {
    display: block;
    height: .36em;
    color: #91a0b3;
    font-size: .45em;
    line-height: .55;
}

.heritage-entry__content {
    grid-column: 3;
    min-width: 0;
    padding: 48px;
    background: var(--heritage-white);
    border-top: 5px solid var(--heritage-red);
    box-shadow: 0 18px 55px rgba(18, 47, 85, .09);
}

.heritage-entry__content > .heritage-prose {
    max-width: 900px;
    margin-top: 28px;
}

.heritage-entry__content--media-left,
.heritage-entry__content--media-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
    align-items: center;
}

.heritage-entry__content--media-left > div,
.heritage-entry__content--media-right > div {
    min-width: 0;
}

.heritage-figure-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 40px;
}

.heritage-figure {
    min-width: 0;
    margin: 0;
}

.heritage-figure picture {
    display: block;
    overflow: hidden;
    background: #dfe5eb;
}

.heritage-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s ease;
}

.heritage-figure:hover img {
    transform: scale(1.015);
}

.heritage-figure figcaption {
    padding: 13px 2px 0;
    color: #6a7687;
    font-size: .78rem;
    line-height: 1.55;
}

.heritage-figure--feature img {
    aspect-ratio: 4 / 3;
}

.heritage-figure--portrait {
    width: min(100%, 470px);
    justify-self: end;
}

.heritage-figure--portrait img {
    aspect-ratio: 4 / 4.55;
    object-position: center top;
}

.heritage-prose--columns {
    max-width: none !important;
    columns: 2;
    column-gap: 46px;
}

.heritage-prose--columns p {
    break-inside: avoid;
}

.heritage-present-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
    gap: 48px;
    align-items: center;
}

.heritage-present-grid .heritage-prose {
    margin-top: 28px;
}

.heritage-present-facts {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--heritage-line);
}

.heritage-present-facts div {
    padding: 24px 0;
    border-bottom: 1px solid var(--heritage-line);
}

.heritage-present-facts dt {
    margin: 0 0 7px;
    color: var(--heritage-red);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
}

.heritage-present-facts dd {
    margin: 0;
    color: var(--heritage-muted);
    font-size: .91rem;
    line-height: 1.65;
}

.heritage-continuity {
    position: relative;
    padding-block: 110px;
    color: var(--heritage-white);
    background: var(--heritage-navy-deep);
}

.heritage-continuity::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: var(--heritage-red);
}

.heritage-continuity__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 70px;
    align-items: center;
}

.heritage-continuity h2 {
    color: var(--heritage-white);
}

.heritage-prose--light {
    margin-top: 28px;
    color: rgba(255,255,255,.76);
}

.heritage-prose--light strong {
    color: var(--heritage-white);
}

.heritage-figure--continuity picture {
    box-shadow: 0 22px 65px rgba(0,0,0,.3);
}

.heritage-figure--continuity img {
    aspect-ratio: 16 / 10;
}

.heritage-figure--continuity figcaption {
    color: rgba(255,255,255,.62);
}

@media (min-width: 1025px) and (max-width: 1920px) {
    .heritage-hero {
        min-height: 560px;
    }

    .heritage-hero__content {
        padding-block: 88px 60px;
    }

    .heritage-hero h1 {
        max-width: 760px;
        font-size: clamp(3.2rem, 5vw, 4.8rem);
        line-height: .98;
    }

    .heritage-hero__lead {
        max-width: 720px;
        margin-top: 18px;
        font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    }

    .heritage-hero__summary {
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 1024px) {
    .heritage-hero {
        min-height: 590px;
    }

    .heritage-jump__inner {
        width: 100%;
        overflow-x: auto;
        grid-template-columns: repeat(6, minmax(150px, 1fr));
        scrollbar-width: thin;
    }

    .heritage-introduction__grid,
    .heritage-continuity__grid {
        gap: 44px;
    }

    .heritage-timeline > .heritage-shell::before {
        left: 196px;
    }

    .heritage-entry {
        grid-template-columns: 160px 32px minmax(0, 1fr);
        column-gap: 20px;
    }

    .heritage-entry::before {
        left: 187px;
    }

    .heritage-entry__content {
        padding: 38px;
    }

    .heritage-entry__content--media-left,
    .heritage-entry__content--media-right,
    .heritage-present-grid {
        gap: 34px;
    }
}

@media (max-width: 820px) {
    .heritage-shell {
        width: min(100% - 36px, var(--heritage-shell));
    }

    .heritage-introduction {
        padding-block: 76px;
    }

    .heritage-introduction__grid,
    .heritage-continuity__grid,
    .heritage-entry__content--media-left,
    .heritage-entry__content--media-right,
    .heritage-present-grid {
        grid-template-columns: 1fr;
    }

    .heritage-entry__content--media-left .heritage-figure {
        order: 2;
    }

    .heritage-entry__content--media-right .heritage-figure {
        justify-self: start;
    }

    .heritage-continuity__grid > .heritage-figure {
        order: 2;
    }

    .heritage-figure-pair {
        grid-template-columns: 1fr;
    }

    .heritage-prose--columns {
        columns: 1;
    }

    .heritage-timeline > .heritage-shell::before {
        left: 148px;
    }

    .heritage-entry {
        grid-template-columns: 116px 28px minmax(0, 1fr);
        column-gap: 18px;
        padding-top: 82px;
    }

    .heritage-entry::before {
        top: 106px;
        left: 139px;
        width: 18px;
        height: 18px;
    }

    .heritage-entry__year {
        font-size: 2.65rem;
    }
}

@media (max-width: 600px) {
    .heritage-shell {
        width: min(100% - 30px, var(--heritage-shell));
    }

    .heritage-hero {
        min-height: 620px;
        align-items: end;
    }

    .heritage-hero__media img {
        object-position: 58% center;
    }

    .heritage-hero__overlay {
        background:
            linear-gradient(0deg, rgba(8, 28, 53, .96) 0%, rgba(8, 28, 53, .8) 55%, rgba(8, 28, 53, .34) 100%);
    }

    .heritage-hero__content {
        padding-block: 96px 58px;
    }

    .heritage-hero h1 {
        font-size: clamp(3.15rem, 16vw, 4.8rem);
    }

    .heritage-hero__lead {
        margin-top: 18px;
        font-size: 1.3rem;
    }

    .heritage-hero__summary {
        margin-top: 18px;
        font-size: .96rem;
        line-height: 1.65;
    }

    .heritage-jump a {
        padding-block: 18px 16px;
    }

    .heritage-introduction {
        padding-block: 66px;
    }

    .heritage-introduction__grid {
        gap: 28px;
    }

    .heritage-prose,
    .heritage-prose--lead {
        font-size: .96rem;
        line-height: 1.75;
    }

    .heritage-timeline {
        padding-bottom: 82px;
    }

    .heritage-timeline > .heritage-shell::before {
        display: none;
    }

    .heritage-entry {
        display: block;
        padding-top: 68px;
    }

    .heritage-entry::before {
        display: none;
    }

    .heritage-entry__year {
        margin-bottom: 20px;
        font-size: clamp(3.7rem, 18vw, 5.1rem);
        line-height: .85;
        text-align: left;
    }

    .heritage-entry__year span {
        display: inline;
        height: auto;
        padding-inline: .1em;
        font-size: .65em;
        line-height: inherit;
    }

    .heritage-entry__content {
        padding: 28px 22px 30px;
        border-top-width: 4px;
        box-shadow: 0 13px 38px rgba(18, 47, 85, .08);
    }

    .heritage-entry__content--media-left,
    .heritage-entry__content--media-right,
    .heritage-present-grid {
        gap: 28px;
    }

    .heritage-figure-pair {
        gap: 28px;
        margin-top: 30px;
    }

    .heritage-figure figcaption {
        font-size: .74rem;
    }

    .heritage-continuity {
        padding-block: 80px;
    }

    .heritage-continuity__grid {
        gap: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .heritage-page *,
    .heritage-page *::before,
    .heritage-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    .heritage-page {
        width: 100%;
        margin: 0;
    }

    .heritage-jump {
        display: none;
    }

    .heritage-hero {
        min-height: 0;
        padding: 0;
        background: var(--heritage-navy-deep);
    }

    .heritage-hero__content {
        padding: 48px 32px;
    }

    .heritage-entry,
    .heritage-entry__content,
    .heritage-figure {
        break-inside: avoid;
    }
}

