:root {
    --deep-slate: #102833;
    --deep-slate-soft: #183945;
    --stone: #f0ece4;
    --paper: #fbfaf7;
    --text: #1f2d35;
    --muted: #58686f;
    --line: #d7cfc4;
    --copper: #b86a49;
    --copper-soft: #d8a188;
    --white: #ffffff;
    --fst-red: #ca1818;
    --shell: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 50;
    padding: 8px 12px;
    background: var(--white);
    color: var(--deep-slate);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    background: var(--deep-slate);
    color: var(--white);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.wordmark {
    color: var(--white);
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.wordmark span,
h1 span {
    margin-left: 2px;
    font-size: .42em;
    font-weight: 400;
    vertical-align: super;
}

.contact-link {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: .86rem;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.contact-link:hover,
.contact-link:focus-visible {
    color: var(--white);
    border-bottom-color: var(--copper-soft);
}

.hero {
    background: var(--deep-slate);
    color: var(--white);
}

.hero-inner {
    max-width: 920px;
    padding-top: 112px;
    padding-bottom: 118px;
}

h1 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: clamp(4rem, 9vw, 7rem);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 650;
}

.identity {
    margin: 0 0 38px;
    color: var(--copper-soft);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -.018em;
}

.hero-copy {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.72;
}

.substance {
    background: var(--paper);
}

.substance-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 92px;
    padding-top: 96px;
    padding-bottom: 102px;
}

.lead-copy p,
.detail-copy p {
    margin-top: 0;
}

.lead-copy p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--deep-slate);
    font-size: clamp(1.55rem, 3vw, 2.22rem);
    line-height: 1.38;
    letter-spacing: -.022em;
}

.detail-copy {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.detail-copy p {
    max-width: 610px;
    margin-bottom: 22px;
    color: #46555d;
    font-size: 1.03rem;
}

.detail-copy p:last-child {
    margin-bottom: 0;
}

.closing {
    background: var(--stone);
    border-top: 1px solid var(--line);
}

.closing-inner {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.closing p {
    margin: 0;
    color: var(--muted);
}

.closing a {
    color: var(--deep-slate);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--copper);
}

.closing a:hover,
.closing a:focus-visible {
    border-bottom-color: var(--deep-slate);
}

.site-footer {
    position: relative;
    background: #0d171d;
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--fst-red);
}

.footer-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, .64);
    text-decoration: none;
}

.copyright:hover,
.copyright:focus-visible {
    color: var(--white);
}

@media (max-width: 820px) {
    .hero-inner {
        padding-top: 92px;
        padding-bottom: 96px;
    }

    .substance-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        padding-top: 72px;
        padding-bottom: 78px;
    }

    .detail-copy {
        max-width: 680px;
    }

    .closing-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding-top: 42px;
        padding-bottom: 42px;
    }
}

@media (max-width: 620px) {
    .shell {
        width: min(calc(100% - 32px), var(--shell));
    }

    .header-inner {
        min-height: 70px;
    }

    h1 {
        font-size: clamp(3.45rem, 18vw, 4.9rem);
    }

    .identity {
        margin-bottom: 30px;
        font-size: 1.55rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .footer-inner {
        min-height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
