:root {
    --c-bg: #fdfdfd;
    --c-surface: #f3f3f3;
    --c-text: #121213;
    --c-muted: #696a6d;
    --c-accent: #1e6fae;
    --c-on-accent: #ffffff;
    --c-border: #d4d5d5;
}

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

html {
    font-size: 110.2%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
    line-height: 1.78;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
    font-weight: 700;
    line-height: 1.18;
    margin: 1.52rem 0 0.57rem;
}

h1 {
    font-size: 3.76rem;
}

h2 {
    font-size: 1.94rem;
}

h3 {
    font-size: 1.39rem;
}

p {
    margin: 0 0 0.95rem;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--c-accent);
}

a:hover {
    border-bottom-color: currentColor;
    color: var(--c-accent);
}

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

.page__inner {
    max-width: 1142px;
    margin: 0 auto;
    padding: 0 1.19rem;
}

.page__masthead {
    padding: 1.43rem 0;
    border-bottom: 1px solid var(--c-border);
}

.page__masthead .page__inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.95rem;
    flex-wrap: wrap;
}

.page__body {
    padding: 1.91rem 0 2.86rem;
}

.page__logo {
    font-family: Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
    font-weight: 700;
    font-size: 1.41rem;
    text-decoration: none;
    color: inherit;
    border: 0;
    text-transform: lowercase;
}

.page__links {
    display: flex;
    gap: 1.09rem;
    flex-wrap: wrap;
}

.page__menu-item {
    text-decoration: none;
    border: 0;
    color: var(--c-muted);
}

.page__menu-item[aria-current] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page__opening {
    padding: 1.43rem 0 1.91rem;
}

.page__headline {
    font-size: 3.76rem;
    margin-top: 0;
}

.page__hero-text {
    color: var(--c-muted);
    font-size: 1.27rem;
    max-width: 45ch;
    margin: 0 0 0.95rem;
}

.page__opening .page__figure {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.43rem;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.page__pill {
    display: inline-block;
    padding: 0.57rem 1.14rem;
    background: var(--c-accent);
    color: var(--c-on-accent);
    border-radius: 12px;
    text-decoration: none;
    border: 0;
    font-weight: 600;
}

.page__block {
    margin: 2.38rem 0;
}

.page__section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    font-family: Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
    font-weight: 600;
}

.page__services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 1.43rem;
}

.page__feature {
    border-top: 3px solid var(--c-accent);
    padding-top: 0.71rem;
}

.page__feature h3 {
    margin-top: 0;
    font-size: 1.39rem;
}

.page__callout {
    font-family: Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
    font-size: 1.94rem;
    margin: 2.86rem 0;
    padding-left: 1.19rem;
    border-left: 3px solid var(--c-accent);
}

.page__archive {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page__teaser {
    padding: 0.48rem 0;
    border-bottom: 1px solid var(--c-border);
}

.page__teaser ul, .page__archive ul {
    list-style: none;
    padding: 0;
}

.page__post-title {
    margin: 0 0 0.29rem;
    font-size: 1.39rem;
}

.page__post-title a {
    color: inherit;
    text-decoration: none;
    border: 0;
}

.page__meta {
    color: var(--c-muted);
    font-size: 0.83rem;
    margin: 0 0 0.38rem;
    text-transform: uppercase;
}

.page__abstract {
    margin: 0;
    color: var(--c-muted);
}

.page__season {
    font-size: 1.39rem;
    color: var(--c-muted);
    margin: 1.43rem 0 0.38rem;
}

.page__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.41rem;
}

.page__card {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

.page__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.page__text {
    padding: 0.57rem 0;
    font-size: 0.9rem;
    color: var(--c-muted);
}

.page__copy {
    max-width: 694px;
    margin: 0 auto;
}

.page__copy figure {
    margin: 1.43rem 0;
}

.page__copy img {
    border-radius: 12px;
    width: 100%;
}

blockquote {
    margin: 1.43rem 0;
    padding: 0.19rem 1.14rem;
    border-left: 5px solid var(--c-accent);
    color: var(--c-muted);
}

pre {
    background: var(--c-surface);
    padding: 0.95rem;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--c-border);
    font-size: 0.88rem;
    line-height: 1.5;
}

code {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

.page__tag {
    display: inline-block;
    margin: 0 0.38rem 0.38rem 0;
    padding: 0.14rem 0.57rem;
    font-size: 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    color: var(--c-muted);
}

.page__pager {
    display: flex;
    justify-content: space-between;
    gap: 0.95rem;
    margin: 2.86rem auto 0;
    max-width: 694px;
    padding-top: 1.43rem;
    border-top: 1px solid var(--c-border);
    font-size: 0.92rem;
}

.page__footer {
    padding: 1.91rem 0;
    color: var(--c-muted);
    font-size: 0.88rem;
}

.page__footer p {
    margin: 0 0 0.29rem;
}

@media (max-width: 720px) {
    .page__gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    h1 {
        font-size: 2.7rem;
    }

    .page__headline {
        font-size: 2.7rem;
    }

}

