:root {
    --ink: #111111;
    --muted: #626262;
    --line: #ddddda;
    --paper: #ffffff;
    --soft: #f6f6f3;
    --display: "Iowan Old Style", Baskerville, "Times New Roman", serif;
    --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 20rem;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

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

h1,
h2 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    max-width: 15ch;
    margin: 0 auto 1.4rem;
    font-size: clamp(2.65rem, 11vw, 5.25rem);
}

h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 7vw, 3rem);
}

p {
    margin-bottom: 1.4rem;
}

::selection {
    color: #ffffff;
    background: var(--ink);
}

:focus-visible {
    outline: 0.1875rem solid currentColor;
    outline-offset: 0.25rem;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: #ffffff;
    background: var(--ink);
    font-weight: 700;
    transform: translateY(-160%);
}

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

.logo-header {
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 9vw, 5rem) 1.25rem clamp(2.5rem, 8vw, 4.5rem);
    border-bottom: 0.0625rem solid var(--line);
}

.logo-frame {
    position: relative;
    width: min(100%, 37rem);
    aspect-ratio: 2.11 / 1;
    display: block;
    overflow: hidden;
}

.logo-frame img {
    position: absolute;
    top: -53%;
    left: 0;
    width: 100%;
    max-width: none;
}

.page {
    width: min(100% - 2.5rem, 47rem);
    margin-inline: auto;
    padding-block: clamp(4rem, 11vw, 8rem);
}

.intro {
    padding-bottom: clamp(3.5rem, 9vw, 6rem);
    text-align: center;
}

.tagline {
    margin-bottom: 0.8rem;
    font-family: var(--display);
    font-size: clamp(1.3rem, 5vw, 1.75rem);
    line-height: 1.35;
}

.opening {
    max-width: 35rem;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.body-copy {
    max-width: 43rem;
    margin-inline: auto;
}

.body-copy > p:first-child {
    font-family: var(--display);
    font-size: clamp(1.45rem, 4.5vw, 2rem);
    line-height: 1.45;
}

section {
    margin-top: clamp(4.5rem, 12vw, 7.5rem);
    padding-top: clamp(2rem, 6vw, 3.5rem);
    border-top: 0.0625rem solid var(--line);
    scroll-margin-top: 1.5rem;
}

.guidance-list {
    margin: 2rem 0 0;
    padding: 0;
    border-top: 0.0625rem solid var(--line);
    list-style: none;
}

.guidance-list li {
    position: relative;
    padding: 1.1rem 0 1.1rem 1.75rem;
    border-bottom: 0.0625rem solid var(--line);
}

.guidance-list li::before {
    position: absolute;
    top: 1.1rem;
    left: 0;
    content: "—";
}

.contact {
    padding: clamp(2rem, 7vw, 4rem);
    border: 0;
    background: var(--soft);
}

.email {
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.9rem 1rem;
    color: #ffffff;
    background: var(--ink);
    font-size: clamp(0.72rem, 3.4vw, 0.94rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.email:hover {
    color: var(--ink);
    background: #ffffff;
    box-shadow: inset 0 0 0 0.0625rem var(--ink);
    transform: translateY(-0.125rem);
}

@media (min-width: 48rem) {
    .page {
        width: min(100% - 4rem, 47rem);
    }

    .body-copy {
        font-size: 1.0625rem;
    }

    .contact {
        margin-inline: -2.5rem;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
