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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.55;
    color-scheme: light;
    overflow-x: clip;
}

body.nav-open {
    overflow: hidden;
}

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

h1,
h2,
h3,
p,
blockquote {
    margin: 0;
}

h1,
h2,
h3,
.page-title,
.masthead__name,
.panel__name,
.panel__index,
.stage__quote p,
.person-row__name,
.media-name,
.project-name {
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1,
.page-title {
    font-size: clamp(2.15rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 0.94;
    text-wrap: balance;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.02;
    text-wrap: balance;
    text-transform: uppercase;
}

h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    text-transform: uppercase;
}

p {
    text-wrap: pretty;
}

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

a:hover {
    color: var(--cyan-deep);
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

::selection {
    background: var(--cyan);
    color: var(--white);
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 40;
    background: var(--ink);
    color: var(--white);
    padding: 0.55rem 0.8rem;
    text-decoration: none;
}

.skip:focus {
    top: 1rem;
}

.wrap {
    width: min(100%, var(--wrap));
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.wrap--narrow {
    width: min(100%, var(--narrow));
}

.kicker {
    margin: 0 0 0.7rem;
    color: var(--cyan-deep);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lede {
    max-width: 40rem;
    font-size: 1.12rem;
    line-height: 1.55;
}

.muted {
    color: var(--muted);
}

.section {
    padding-block: 2.5rem 4rem;
}

.offset-top {
    margin-top: 1rem;
}

.offset-block {
    margin-top: 1.75rem;
}

@media (max-width: 700px) {
    .wrap,
    .wrap--narrow {
        padding-inline: 1.15rem;
    }

    h1,
    .page-title {
        font-size: 1.9rem;
        max-width: 100%;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
