:root {
    --ink: #12314b;
    --ink-deep: #0a2439;
    --blue: #39769d;
    --sky: #edf4f7;
    --stone: #d8e1e4;
    --paper: #fbfcfc;
    --white: #ffffff;
    --focus: #b24d28;
    --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    --utility: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
    --page: min(1160px, calc(100vw - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink-deep);
    background: var(--paper);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

a:hover {
    text-decoration-thickness: 2px;
}

a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
    border-radius: 2px;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink-deep);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.site-footer,
main > section {
    width: var(--page);
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    border-bottom: 1px solid var(--stone);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    font-family: var(--display);
    font-size: 1.05rem;
}

.brand-name {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

nav {
    display: flex;
    gap: clamp(18px, 3vw, 38px);
    font-size: 0.84rem;
}

nav a {
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    min-height: 680px;
    border-bottom: 1px solid var(--stone);
}

.hero-copy {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 84px clamp(28px, 7vw, 100px) 84px 0;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--blue);
    font-family: var(--utility);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    color: var(--ink);
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

h1 {
    max-width: 700px;
    margin-bottom: 32px;
    font-size: clamp(3.6rem, 7vw, 6.7rem);
}

h2 {
    margin-bottom: 24px;
    font-size: clamp(2.4rem, 4.3vw, 4.2rem);
}

h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-family: var(--utility);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.intro {
    max-width: 560px;
    margin-bottom: 38px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-width: min(100%, 340px);
    padding: 16px 18px;
    color: var(--white);
    background: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.primary-link:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.address-panel {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: flex-end;
    min-height: 580px;
    padding: 56px;
    color: var(--white);
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg, transparent 74%, rgb(255 255 255 / 9%) 74%, rgb(255 255 255 / 9%) calc(74% + 1px), transparent calc(74% + 1px)),
        repeating-linear-gradient(0deg, transparent 0, transparent 63px, rgb(255 255 255 / 8%) 64px);
}

.address-panel::before,
.address-panel::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.address-panel::before {
    top: 88px;
    right: 13%;
    bottom: 0;
    left: 13%;
    border: 1px solid rgb(255 255 255 / 26%);
    border-bottom: 0;
    clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%);
}

.address-panel::after {
    top: 47%;
    right: 26%;
    bottom: 0;
    left: 26%;
    border: 1px solid rgb(255 255 255 / 20%);
    border-bottom: 0;
}

.street-number {
    position: absolute;
    z-index: 0;
    top: 50px;
    left: -14px;
    color: rgb(255 255 255 / 12%);
    font-family: var(--display);
    font-size: clamp(12rem, 24vw, 22rem);
    font-weight: 700;
    letter-spacing: -0.12em;
    line-height: 0.8;
}

.address-card {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 48%);
}

.address-card > span {
    display: block;
    margin-bottom: 10px;
    font-family: var(--utility);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

address {
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: normal;
    line-height: 1.35;
}

.residence,
.activity,
.legal {
    padding-block: clamp(84px, 11vw, 150px);
}

.residence {
    display: grid;
    grid-template-columns: 0.88fr 1fr;
    gap: clamp(50px, 10vw, 140px);
}

.section-copy {
    max-width: 620px;
    font-size: 1.14rem;
}

.activity {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(50px, 10vw, 140px);
    width: 100%;
    max-width: none;
    padding-inline: max(24px, calc((100vw - 1160px) / 2));
    color: var(--white);
    background: var(--sky);
}

.activity-statement h2,
.activity .eyebrow {
    color: var(--ink);
}

.activity-details {
    color: var(--ink-deep);
}

.activity-details > p {
    margin-bottom: 44px;
    font-size: 1.12rem;
}

dl {
    margin: 0;
}

dl div {
    padding: 20px 0;
    border-top: 1px solid #bdcdd4;
}

dt {
    margin-bottom: 5px;
    color: var(--blue);
    font-family: var(--utility);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

dd {
    margin: 0;
    font-weight: 650;
}

.legal {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(50px, 10vw, 140px);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 48px;
}

.legal article {
    padding-top: 20px;
    border-top: 1px solid var(--stone);
    font-size: 0.9rem;
}

.legal article p:last-child {
    margin-bottom: 0;
}

.legal article h3:not(:first-child) {
    margin-top: 38px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-block: 32px 48px;
    border-top: 1px solid var(--stone);
    font-family: var(--utility);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer p {
    margin-bottom: 0;
}

@media (max-width: 820px) {
    :root {
        --page: min(100% - 32px, 680px);
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-block: 24px;
    }

    nav {
        flex-wrap: wrap;
        gap: 10px 22px;
    }

    .hero,
    .residence,
    .activity,
    .legal {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
    }

    .hero-copy {
        padding: 80px 0 64px;
    }

    h1 {
        font-size: clamp(3.1rem, 15vw, 5rem);
    }

    .address-panel {
        min-height: 520px;
        padding: 32px;
    }

    .residence,
    .legal {
        gap: 22px;
    }

    .activity {
        gap: 30px;
        padding-inline: 16px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 480px) {
    nav {
        font-size: 0.76rem;
    }

    .primary-link {
        min-width: 100%;
    }

    .address-panel {
        min-height: 440px;
        padding: 24px;
    }

    .street-number {
        left: -8px;
        font-size: 12rem;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .primary-link {
        transition: none;
    }
}

@media print {
    .site-header nav,
    .primary-link,
    .site-footer a {
        display: none;
    }

    body {
        color: #000000;
        background: #ffffff;
    }

    .hero,
    .residence,
    .activity,
    .legal {
        display: block;
        min-height: auto;
        padding: 24px 0;
        color: #000000;
        background: #ffffff;
    }

    .address-panel {
        min-height: 240px;
        margin-top: 24px;
        color: #000000;
        background: #ffffff;
        border: 1px solid #000000;
    }
}
