:root {
    color-scheme: light;
    --paper: #f3efe4;
    --paper-raised: #faf7ef;
    --ink: #1c252b;
    --ink-soft: #5b6263;
    --blue: #153f78;
    --blue-bright: #245b9e;
    --oxblood: #711f2c;
    --yellow: #f1d77a;
    --rule: #c9c3b5;
    --rule-strong: #8f918d;
    --focus: #ffbf47;
    --font-serif: Georgia, "Times New Roman", Times, serif;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --type-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    --type-label: 0.75rem;
    --type-display-xl: clamp(3.25rem, 7vw, 7rem);
    --type-display-lg: clamp(2.4rem, 4.6vw, 4.75rem);
    --type-display-md: clamp(1.75rem, 3vw, 3.2rem);
    --leading-body: 1.58;
    --leading-display: 0.95;
    --leading-heading: 1.06;
    --tracking-display: -0.035em;
    --tracking-heading: -0.025em;
    --tracking-label: 0.12em;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: clamp(3rem, 5vw, 5rem);
    --space-section: clamp(5rem, 8vw, 8rem);
    --page-gutter: clamp(1rem, 4vw, 4.5rem);
    --page-width: 92rem;
    --measure: 65ch;
    --ease: 180ms ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --paper: #0b1420;
        --paper-raised: #101d2a;
        --ink: #eee9dc;
        --ink-soft: #aeb6ba;
        --blue: #86acd9;
        --blue-bright: #a8c7e8;
        --oxblood: #ed5a64;
        --yellow: #d8bd62;
        --rule: #344452;
        --rule-strong: #64727b;
        --focus: #f1d77a;
    }

    body > header > figure figcaption :is(h1, strong) {
        color: inherit;
    }
}

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

html {
    background: var(--paper);
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    min-width: 20rem;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    font-kerning: normal;
    line-height: var(--leading-body);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    transition: background-color var(--ease), color var(--ease);
}

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

::selection {
    background: var(--yellow);
    color: #18212a;
}

a {
    color: var(--blue);
    text-decoration-color: color-mix(in srgb, var(--blue) 45%, transparent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--oxblood);
    text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
    outline: 0.18rem solid var(--focus);
    outline-offset: 0.2rem;
}

button,
input,
textarea,
select {
    font: inherit;
}

body > a[href="#main-content"] {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 0.9rem;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--paper);
    font-size: var(--type-label);
    font-weight: 600;
    text-decoration: none;
}

body > a[href="#main-content"]:focus {
    transform: translateY(0);
}

body > header > nav,
body > main,
body > footer {
    width: min(100% - (2 * var(--page-gutter)), var(--page-width));
    margin-inline: auto;
}

body > header > figure {
    margin: 0;
    position: relative;
    min-height: clamp(24rem, 42vw, 39rem);
    overflow: hidden;
    background: #d9d9d1;
}

body > header > figure::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(243 239 228 / 0.08) 0%, transparent 54%);
    content: "";
    pointer-events: none;
}

body > header > figure > picture {
    position: absolute;
    inset: 0;
    display: block;
}

body > header > figure > picture > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
}

body > header > figure figcaption > a {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: clamp(1.25rem, 6vw, 6rem);
    display: inline-flex;
    max-width: 47%;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-50%);
    color: #681a27;
    text-decoration: none;
}

body > header > figure figcaption > a:hover {
    color: #681a27;
}

body > header > figure figcaption :is(h1, strong) {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.83;
    text-wrap: balance;
}

body > header > figure figcaption small {
    margin-top: clamp(1.25rem, 2.4vw, 2rem);
    padding-top: 0.65rem;
    border-top: 1px solid currentColor;
    font-size: clamp(0.65rem, 0.58rem + 0.28vw, 0.82rem);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    line-height: 1.4;
    text-transform: uppercase;
}

body > header > nav {
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) auto;
    min-height: 4.7rem;
    border-bottom: 0.24rem solid var(--blue);
}

body > header > nav > a {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.9rem;
    color: var(--ink);
    text-decoration: none;
}

body > header > nav > a:hover {
    color: var(--blue);
}

body > header > nav > a > span {
    display: block;
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1;
    background: var(--oxblood);
    -webkit-mask: url("/e.svg") center / contain no-repeat;
    mask: url("/e.svg") center / contain no-repeat;
}

body > header > nav > button[data-primary-navigation-toggle] {
    display: none;
}

body > header > nav > ul {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
    list-style: none;
}

body > header > nav > ul > li {
    position: relative;
    display: flex;
    height: 100%;
    align-items: stretch;
}

body > header > nav > ul > li > a {
    position: relative;
    display: grid;
    height: 100%;
    flex: 1;
    padding-inline: clamp(0.65rem, 1.3vw, 1.25rem);
    place-items: center;
    color: var(--ink);
    font-size: var(--type-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-decoration: none;
    text-transform: uppercase;
}

body > header > nav > ul > li > a::after {
    position: absolute;
    right: 50%;
    bottom: 1em;
    left: 50%;
    height: 0.18rem;
    background: var(--blue);
    content: "";
    transition: right var(--ease), left var(--ease);
}

body > header > nav > ul > li > a:hover::after,
body > header > nav > ul > li > a:focus-visible::after,
body > header > nav > ul > li > a[aria-current]::after {
    right: 0.65rem;
    left: 0.65rem;
}

body > header > nav > ul > li > button {
    display: grid;
    width: 1.6rem;
    padding: 0 0.5rem 0 0;
    border: 0;
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    place-items: center;
}

body > header > nav > ul > li > button > span {
    display: block;
    font-size: 0.9rem;
    line-height: 1;
    transition: transform var(--ease);
}

body > header > nav > ul > li:hover:not([data-dismissed]) > button > span,
body > header > nav:not([data-enhanced]) > ul > li:focus-within > button > span,
body > header > nav > ul > li > button[aria-expanded="true"] > span {
    transform: rotate(180deg);
}

body > header > nav > ul > li > ul {
    --subnavigation-shift: 0;
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    width: max-content;
    min-width: 12.5rem;
    margin: 0;
    padding: 0.45rem 0;
    transform: translate(var(--subnavigation-shift), -0.35rem);
    border: 1px solid var(--rule);
    border-top: 0.2rem solid var(--blue);
    background: var(--paper-raised);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
    visibility: hidden;
}

body > header > nav > ul > li:hover:not([data-dismissed]) > ul,
body > header > nav:not([data-enhanced]) > ul > li:focus-within > ul,
body > header > nav > ul > li > button[aria-expanded="true"] + ul {
    transform: translate(var(--subnavigation-shift), 0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

body > header > nav > ul > li > ul a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

body > header > nav > ul > li > ul a:hover,
body > header > nav > ul > li > ul a:focus-visible,
body > header > nav > ul > li > ul a[aria-current] {
    background: color-mix(in srgb, var(--yellow) 32%, transparent);
    color: var(--blue);
}

body > main {
    min-height: 40vh;
    padding-block: var(--space-section);
}

body[data-home] > main {
    padding-top: clamp(3.5rem, 5vw, 5rem);
}

body > main > header[aria-labelledby="page-title"] {
    max-width: 70rem;
    padding-bottom: clamp(2rem, 5vw, 4rem);
    border-bottom: 1px solid var(--rule);
}

h1,
h2,
h3 {
    color: var(--oxblood);
    font-family: var(--font-serif);
    font-weight: 400;
    text-wrap: balance;
}

h1 {
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
}

h2 {
    letter-spacing: var(--tracking-heading);
    line-height: 1.03;
}

h3 {
    letter-spacing: -0.015em;
    line-height: var(--leading-heading);
}

body > main > header[aria-labelledby="page-title"] h1 {
    max-width: 14ch;
    margin: 0;
    font-size: var(--type-display-xl);
    text-wrap: balance;
}

[data-prose] {
    width: min(100%, var(--measure));
    margin-top: var(--space-xl);
    margin-left: clamp(0rem, 18vw, 20rem);
}

[data-prose] h2 {
    margin: 2.6em 0 0.55em;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}

[data-prose] h3 {
    margin: 2.25em 0 0.5em;
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

[data-prose] h4 {
    margin: 2em 0 0.5em;
    color: var(--blue);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

[data-prose] p,
[data-prose] ul,
[data-prose] ol {
    margin-block: 0 0.9em;
}

[data-prose] p {
    text-wrap: pretty;
}

[data-prose] li + li {
    margin-top: 0.35em;
}

[data-prose] hr {
    width: 5rem;
    margin: var(--space-xl) 0;
    border: 0;
    border-top: 0.2rem solid var(--oxblood);
}

[data-prose] > :first-child {
    margin-top: 0;
}

[data-prose] strong {
    font-weight: 650;
}

[data-prose] blockquote {
    margin: var(--space-xl) 0;
    padding-left: var(--space-lg);
    border-left: 0.2rem solid var(--oxblood);
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

[data-prose] code {
    padding: 0.08em 0.28em;
    background: var(--paper-raised);
    color: var(--oxblood);
    font-size: 0.88em;
}

[data-prose] pre {
    overflow-x: auto;
    padding: 1rem;
    border-block: 1px solid var(--rule);
    background: var(--paper-raised);
}

[data-prose] pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

[data-prose] table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

[data-prose] th,
[data-prose] td {
    padding: 0.6rem;
    border-bottom: 1px solid var(--rule);
    text-align: left;
}

a[data-arrow] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--blue);
    font-size: var(--type-label);
    font-weight: 600;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

a[data-arrow] span {
    transition: transform var(--ease);
}

a[data-arrow]:hover span {
    transform: translateX(0.25rem);
}

body[data-masthead="section"] > header > figure {
    min-height: clamp(16rem, 24.5vw, 22rem);
}

body[data-masthead="detail"] > header > figure {
    min-height: clamp(14rem, 21vw, 19rem);
}

body[data-masthead="section"] > header > figure figcaption strong {
    font-size: clamp(3.25rem, 5.5vw, 5.5rem);
}

body[data-masthead="detail"] > header > figure figcaption strong {
    font-size: clamp(3rem, 4.8vw, 4.8rem);
}

body[data-masthead="section"] > header > figure figcaption small,
body[data-masthead="detail"] > header > figure figcaption small {
    margin-top: 0.85rem;
}

body[data-home] > main {
    display: grid;
    gap: var(--space-section);
}

body[data-home] > main > section[data-introduction] {
    max-width: 68rem;
}

#section-title,
body > main > article > header > h1,
#error-title {
    margin: 0;
    font-size: var(--type-display-xl);
    text-wrap: balance;
}

body[data-home] > main > section[data-introduction] > [data-prose],
body > main > header[aria-labelledby="section-title"] [data-prose] {
    width: auto;
    margin: 0;
}

body[data-home] > main > section[data-introduction] > [data-prose] {
    max-width: 65ch;
}

body[data-home] > main > section[data-introduction] > [data-prose] > p:first-child {
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.4;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > header,
body[data-home] > main > section[aria-labelledby="selected-title"] > header {
    display: grid;
    grid-template-columns: minmax(15rem, 0.75fr) minmax(20rem, 1fr);
    gap: clamp(2rem, 5vw, 6rem);
    max-width: 75rem;
    margin-bottom: var(--space-xl);
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > header h2,
body[data-home] > main > section[aria-labelledby="selected-title"] > header h2 {
    max-width: 13ch;
    margin: 0;
    font-size: var(--type-display-lg);
    text-wrap: balance;
}

#selected-title {
    font-size: var(--type-display-lg);
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > header > p,
body[data-home] > main > section[aria-labelledby="selected-title"] > header > p,
body > main > header[aria-labelledby="section-title"] > div > p:first-child,
main > section[aria-labelledby="error-title"] article > header > p {
    max-width: 40rem;
    margin: 1.2rem 0 0;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1rem + 0.55vw, 1.55rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.48;
}

#about,
#work,
#life {
    scroll-margin-top: 2rem;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-block: 1px solid var(--rule-strong);
    list-style: none;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li {
    border-right: 1px solid var(--rule);
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li > article {
    display: flex;
    min-height: 23.5rem;
    padding: clamp(1.35rem, 2.4vw, 2.25rem);
    flex-direction: column;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li:last-child {
    border-right: 0;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article h3 {
    min-height: 3.6em;
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 2.2vw, 2.4rem);
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article h3::after {
    display: block;
    width: 2rem;
    height: 0.1rem;
    margin-top: 1rem;
    background: var(--oxblood);
    content: "";
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article h3 a,
body[data-home] > main > section[aria-labelledby="selected-title"] article h3 a,
body > main > section[aria-labelledby="section-title"] > article h2 a {
    color: inherit;
    text-decoration: none;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article h3 a:hover,
body[data-home] > main > section[aria-labelledby="selected-title"] article h3 a:hover,
body > main > section[aria-labelledby="section-title"] > article h2 a:hover {
    color: var(--blue);
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article > p {
    margin: 0 0 1.75rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

body[data-home] > main > section[aria-labelledby="gateway-title"] article > a[data-arrow] {
    margin-top: auto;
}

body[data-home] > main > section[aria-labelledby="selected-title"] > ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-block: 0.24rem solid var(--blue);
    list-style: none;
}

body[data-home] > main > section[aria-labelledby="selected-title"] > ol > li {
    min-height: 22rem;
    padding: clamp(1.5rem, 3.3vw, 3.25rem);
    border-right: 1px solid var(--rule);
}

body[data-home] > main > section[aria-labelledby="selected-title"] > ol > li:last-child {
    border-right: 0;
}

body[data-home] > main > section[aria-labelledby="selected-title"] article > header > p {
    color: var(--blue);
    font-size: var(--type-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

body[data-home] > main > section[aria-labelledby="selected-title"] article > h3 {
    margin: var(--space-xl) 0 var(--space-md);
    font-size: var(--type-display-md);
}

body[data-home] > main > section[aria-labelledby="selected-title"] article > p,
body[data-home] > main > section[aria-labelledby="selected-title"] article > section {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

body[data-home] > main > section[aria-labelledby="selected-title"] article > section p {
    margin: 0;
}

body[data-home] > main > section[aria-labelledby="correspondence-title"] {
    display: grid;
    grid-template-columns: minmax(20rem, 1.2fr) auto;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: end;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    border-block: 1px solid var(--rule-strong);
}

body[data-home] > main > section[aria-labelledby="correspondence-title"] h2 {
    max-width: 17ch;
    margin: 0;
    font-size: var(--type-display-lg);
}

body > main > header[aria-labelledby="section-title"] {
    display: grid;
    grid-template-columns: minmax(20rem, 0.75fr) minmax(20rem, 1fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: start;
    padding-bottom: clamp(3rem, 7vw, 6.5rem);
}

body > main > header[aria-labelledby="section-title"] h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 6.5vw, 6.6rem);
}

body > main > header[aria-labelledby="section-title"] > div > p:first-child {
    margin-top: 0;
}

body > main > header[aria-labelledby="section-title"] [data-prose] {
    color: var(--ink-soft);
}

body > main > section[aria-labelledby="section-title"] {
    border-top: 0.24rem solid var(--blue);
}

body > main > section[aria-labelledby="section-title"] > article {
    display: grid;
    grid-template-columns: minmax(15rem, 0.75fr) minmax(18rem, 1fr);
    gap: clamp(1.5rem, 4vw, 5rem);
    padding-block: clamp(2rem, 5vw, 4.5rem);
    border-bottom: 1px solid var(--rule);
}

body > main > section[aria-labelledby="section-title"] > article h2 {
    margin: 0;
    font-size: var(--type-display-md);
}

body > main > section[aria-labelledby="section-title"] > article > section {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

body > main > section[aria-labelledby="section-title"] > article > section > :first-child {
    margin-top: 0;
}

body > main > section[aria-labelledby="section-title"] > article > section > ol {
    margin: 2rem 0 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}

body > main > section[aria-labelledby="section-title"] > article > section > ol li {
    padding-block: 0.65rem;
    border-bottom: 1px solid var(--rule);
}

body > main > section[aria-labelledby="section-title"] > article > section > ol a {
    color: var(--ink);
    text-decoration: none;
}

body > main > section[aria-labelledby="section-title"] > article > section > ol a:hover {
    color: var(--blue);
}

body > main nav[aria-label="Breadcrumb"] {
    display: flex;
    gap: 0.55rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    color: var(--ink-soft);
    font-size: var(--type-label);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body > main nav[aria-label="Breadcrumb"] a {
    color: var(--ink-soft);
    text-decoration: none;
}

body > main nav[aria-label="Breadcrumb"] a:hover {
    color: var(--blue);
}

body > main > article > header {
    max-width: 75rem;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--rule-strong);
}

body > main > article > header h1 {
    max-width: 13ch;
}

body > main > article > header > p {
    max-width: 45rem;
    margin: 1.75rem 0 0;
    color: var(--ink-soft);
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 1rem + 0.7vw, 1.65rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.48;
}

body > main > article > section {
    max-width: 75rem;
    padding-block: clamp(3rem, 7vw, 6.5rem);
}

body > main > article > section > [data-prose] {
    width: min(100%, var(--measure));
    margin: 0;
}

body > main > article > section > [data-prose] > p:first-child {
    font-size: 1.08em;
    line-height: 1.6;
}

[data-contact-form] {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

[data-contact-fields] {
    display: grid;
    gap: 1.25rem;
}

[data-contact-field] {
    display: grid;
    gap: 0.45rem;
}

[data-contact-field] label {
    color: var(--blue);
    font-size: var(--type-label);
    font-weight: 650;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
}

[data-contact-field] input,
[data-contact-field] textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--rule-strong);
    border-radius: 0;
    background: var(--paper-raised);
    color: var(--ink);
    line-height: 1.45;
}

[data-contact-field] textarea {
    min-height: 11rem;
    resize: vertical;
}

[data-contact-field] input:focus,
[data-contact-field] textarea:focus {
    border-color: var(--blue);
    outline: 0.18rem solid color-mix(in srgb, var(--focus) 70%, transparent);
    outline-offset: 0.1rem;
}

[data-contact-field] small {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.cf-turnstile {
    min-height: 4.1rem;
}

[data-contact-configuration] {
    margin: 0;
    color: var(--ink-soft);
}

[data-contact-form] > button {
    width: fit-content;
    min-height: 2.9rem;
    padding: 0.7rem 1.1rem;
    border: 0.16rem solid var(--blue);
    background: var(--blue);
    color: var(--paper);
    cursor: pointer;
    font-size: var(--type-label);
    font-weight: 650;
    letter-spacing: var(--tracking-label);
    line-height: 1.2;
    text-transform: uppercase;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease), opacity var(--ease);
}

[data-contact-form] > button:hover:not(:disabled) {
    border-color: var(--oxblood);
    background: var(--oxblood);
}

[data-contact-form] + noscript {
    display: block;
    margin-top: 1.5rem;
    color: var(--ink-soft);
}

body > main > article > footer {
    padding-top: 2rem;
    border-top: 0.24rem solid var(--blue);
}

body > main > article > footer a[data-arrow]:hover span {
    transform: translateX(-0.25rem);
}

body > main > section[aria-labelledby="error-title"] {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(20rem, 1.1fr);
    gap: clamp(3rem, 9vw, 10rem);
    min-height: 28rem;
    align-items: center;
}

body > main > section[aria-labelledby="error-title"] > strong {
    margin: 0;
    color: var(--blue);
    font-family: var(--font-serif);
    font-size: clamp(9rem, 20vw, 20rem);
    font-variant-numeric: lining-nums tabular-nums;
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.75;
}

#error-title {
    max-width: 9ch;
    font-size: clamp(3rem, 6vw, 6rem);
}

body > main > section[aria-labelledby="error-title"] nav[aria-label="Error actions"] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
    margin-top: 2rem;
}

body > main > section[aria-labelledby="error-title"] nav[aria-label="Error actions"] > a:not([data-arrow]) {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

body > footer {
    border-top: 0.24rem solid var(--blue);
    font-size: 0.78rem;
}

body > footer > section:first-of-type {
    display: grid;
    grid-template-columns: auto auto;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-lg);
}

body > footer nav[aria-label="Footer navigation"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem clamp(1rem, 1.7vw, 1.75rem);
}

body > footer nav[aria-label="Footer navigation"] a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    white-space: nowrap;
}

body > footer nav[aria-label="Social links"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

body > footer nav[aria-label="Social links"] a {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
}

body > footer nav[aria-label="Social links"] img {
    width: 1.65rem;
    height: 1.65rem;
    transition: opacity var(--ease);
}

body > footer nav[aria-label="Social links"] a:hover img {
    opacity: 0.78;
}

body > footer a {
    width: fit-content;
    color: var(--ink);
    text-decoration: none;
}

body > footer a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

body > footer > section:last-of-type {
    display: flex;
    align-items: center;
    padding: var(--space-md) 0 var(--space-lg);
    flex-direction: column;
    text-align: center;
}

body > footer > section:last-of-type > span {
    width: 3.75rem;
    height: 3.75rem;
    aspect-ratio: 1;
    background: var(--oxblood);
    -webkit-mask: url("/e.svg") center / contain no-repeat;
    mask: url("/e.svg") center / contain no-repeat;
}

body > footer > section:last-of-type > p {
    margin: var(--space-sm) 0 0;
    color: var(--ink-soft);
    font-size: var(--type-label);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: var(--tracking-label);
    line-height: 1.5;
    text-transform: uppercase;
}

@media (prefers-color-scheme: dark) {
    body > footer > section:last-of-type > span {
        background: var(--ink);
    }
}

@media (max-width: 72rem) {
    body > main > header[aria-labelledby="section-title"] {
        grid-template-columns: minmax(15rem, 0.75fr) minmax(20rem, 1fr);
    }

    body > main > header[aria-labelledby="section-title"] > div {
        grid-column: 2;
    }

    body[data-home] > main > section[aria-labelledby="correspondence-title"] {
        grid-template-columns: minmax(8rem, 0.35fr) minmax(20rem, 1fr);
    }

    body[data-home] > main > section[aria-labelledby="correspondence-title"] > a[data-arrow] {
        grid-column: 2;
        width: fit-content;
    }
}

@media (max-width: 54rem) {
    body > header > figure {
        min-height: clamp(26rem, 78vw, 34rem);
    }

    body > header > figure > picture > img {
        object-position: 58% center;
    }

    body > header > figure figcaption > a {
        top: auto;
        right: 1.25rem;
        bottom: 1.4rem;
        left: 1.25rem;
        max-width: none;
        transform: none;
        color: #fff9ec;
        text-shadow: 0 1px 12px rgb(13 17 21 / 0.55);
    }

    body > header > figure::after {
        background: linear-gradient(0deg, rgb(7 13 20 / 0.68), transparent 48%);
    }

    body > header > figure figcaption :is(h1, strong) {
        letter-spacing: -0.04em;
        line-height: 0.85;
    }

    body[data-masthead="section"] > header > figure {
        min-height: clamp(14rem, 40vw, 18rem);
    }

    body[data-masthead="detail"] > header > figure {
        min-height: clamp(12.5rem, 34vw, 15.5rem);
    }

    body[data-masthead="section"] > header > figure figcaption strong {
        font-size: clamp(2.9rem, 9vw, 4.25rem);
    }

    body[data-masthead="detail"] > header > figure figcaption strong {
        font-size: clamp(2.7rem, 8vw, 3.75rem);
    }

    [data-prose] {
        margin-left: 0;
    }

    body[data-home] > main {
        gap: 5.5rem;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > ol {
        grid-template-columns: 1fr;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li {
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li:last-child {
        border-bottom: 0;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > ol > li > article {
        min-height: 20rem;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] article h3 {
        min-height: 0;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > header,
    body[data-home] > main > section[aria-labelledby="selected-title"] > header,
    body > main > header[aria-labelledby="section-title"],
    body[data-home] > main > section[aria-labelledby="correspondence-title"],
    body > main > section[aria-labelledby="error-title"] {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    body[data-home] > main > section[aria-labelledby="gateway-title"] > header,
    body[data-home] > main > section[aria-labelledby="selected-title"] > header {
        margin-bottom: 2.5rem;
    }

    body[data-home] > main > section[aria-labelledby="selected-title"] > ol {
        grid-template-columns: 1fr;
    }

    body[data-home] > main > section[aria-labelledby="selected-title"] > ol > li {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    body[data-home] > main > section[aria-labelledby="selected-title"] > ol > li:last-child {
        border-bottom: 0;
    }

    body[data-home] > main > section[aria-labelledby="selected-title"] article > h3 {
        margin-top: 3.5rem;
    }

    body > main > header[aria-labelledby="section-title"] > div,
    body[data-home] > main > section[aria-labelledby="correspondence-title"] > a[data-arrow] {
        grid-column: 1;
    }

    body > main > section[aria-labelledby="section-title"] > article {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    body > main > section[aria-labelledby="section-title"] > article > section {
        grid-column: auto;
    }

    body > main > section[aria-labelledby="error-title"] {
        min-height: 0;
    }

    body > main > section[aria-labelledby="error-title"] > strong {
        font-size: clamp(8rem, 35vw, 13rem);
    }

    body > footer > section:first-of-type {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    body > footer nav[aria-label="Social links"] {
        justify-content: flex-start;
    }
}

@media (max-width: 48rem) {
    body > header > nav {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        border-bottom: 0;
    }

    body > header > nav::after {
        width: 100%;
        height: 0.24rem;
        grid-column: 1 / -1;
        grid-row: 2;
        background: var(--blue);
        content: "";
    }

    body > header > nav > a {
        min-height: 4rem;
        justify-self: start;
    }

    body > header > nav[data-enhanced] > button[data-primary-navigation-toggle] {
        display: flex;
        min-width: 2.75rem;
        min-height: 2.75rem;
        padding: 0 0 0 1rem;
        border: 0;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        color: var(--ink);
        cursor: pointer;
        font-family: var(--font-sans);
        font-size: var(--type-label);
        font-weight: 600;
        justify-self: end;
        letter-spacing: var(--tracking-label);
        text-transform: uppercase;
    }

    body > header > nav[data-enhanced] > button[data-primary-navigation-toggle][aria-expanded="true"] {
        color: var(--blue);
    }

    body > header > nav a:focus-visible,
    body > header > nav button:focus-visible {
        outline-color: var(--blue);
    }

    body > header > nav > ul {
        display: block;
        width: 100%;
        height: auto;
        min-width: 0;
        margin: 0;
        padding: 0.4rem 0 0.65rem;
        grid-column: 1 / -1;
        grid-row: 3;
        overflow: visible;
    }

    body > header > nav[data-enhanced] > ul {
        display: none;
    }

    body > header > nav[data-enhanced] > button[data-primary-navigation-toggle][aria-expanded="true"] + ul {
        display: block;
    }

    body > header > nav > ul > li {
        display: grid;
        min-width: 0;
        height: auto;
        grid-template-columns: minmax(0, 1fr) 2.75rem;
        border-bottom: 1px solid var(--rule);
    }

    body > header > nav > ul > li:last-child {
        border-bottom: 0;
    }

    body > header > nav > ul > li > a {
        display: flex;
        min-height: 3.5rem;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    body > header > nav > ul > li > a::after {
        right: auto;
        bottom: 0.55rem;
        left: 0;
        width: 0;
    }

    body > header > nav > ul > li > a:hover::after,
    body > header > nav > ul > li > a:focus-visible::after,
    body > header > nav > ul > li > a[aria-current]::after {
        right: auto;
        left: 0;
        width: 2rem;
    }

    body > header > nav > ul > li > button {
        width: 2.75rem;
        min-height: 3.5rem;
        padding: 0;
    }

    body > header > nav > ul > li > ul {
        position: static;
        width: auto;
        min-width: 0;
        margin: 0 0 0.65rem 0.1rem;
        padding: 0 0 0 1rem;
        transform: none;
        border: 0;
        border-left: 1px solid var(--rule);
        grid-column: 1 / -1;
        background: transparent;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        visibility: visible;
    }

    body > header > nav[data-enhanced] > ul > li > ul {
        display: none;
    }

    body > header > nav[data-enhanced] > ul > li > button[aria-expanded="true"] + ul {
        display: block;
    }

    body > header > nav > ul > li > ul a {
        display: flex;
        min-height: 2.75rem;
        padding: 0.35rem 0;
        align-items: center;
        color: var(--ink-soft);
        font-size: 0.68rem;
        white-space: normal;
    }

    body > header > nav > ul > li > ul a:hover,
    body > header > nav > ul > li > ul a:focus-visible,
    body > header > nav > ul > li > ul a[aria-current] {
        background: transparent;
        color: var(--blue);
    }
}

@media (max-width: 34rem) {
    :root {
        --page-gutter: 0.85rem;
    }

    body > header > figure figcaption :is(h1, strong) {
        font-size: clamp(3.75rem, 19vw, 5.7rem);
        letter-spacing: -0.035em;
        line-height: 0.86;
    }

    body > header > figure figcaption small {
        max-width: 17rem;
    }

    body[data-masthead="section"] > header > figure {
        min-height: 13.5rem;
    }

    body[data-masthead="detail"] > header > figure {
        min-height: 12rem;
    }

    body[data-masthead="section"] > header > figure figcaption strong {
        font-size: clamp(2.7rem, 12vw, 3.6rem);
        letter-spacing: -0.025em;
    }

    body[data-masthead="detail"] > header > figure figcaption strong {
        font-size: clamp(2.5rem, 11vw, 3.2rem);
        letter-spacing: -0.025em;
    }

    body > main {
        padding-block: 3.25rem;
    }

    body[data-home] > main {
        gap: 4.5rem;
    }

    #section-title,
    body > main > article > header > h1,
    #error-title {
        font-size: clamp(2.9rem, 14vw, 4.8rem);
    }

    h1 {
        letter-spacing: -0.025em;
    }

    h2 {
        letter-spacing: -0.018em;
    }

    h3 {
        letter-spacing: -0.01em;
    }

    body > main > section[aria-labelledby="section-title"] > article {
        padding-block: 2.25rem;
    }

    body > main > section[aria-labelledby="section-title"] > article h2 {
        font-size: 2rem;
    }

    body > main nav[aria-label="Breadcrumb"] {
        flex-wrap: wrap;
    }

    body[data-home] > main > section[aria-labelledby="correspondence-title"] > a[data-arrow] {
        margin-top: 0.5rem;
    }
}

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

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

@media print {
    :root {
        --paper: #fff;
        --ink: #111;
        --ink-soft: #444;
        --blue: #111;
        --oxblood: #111;
        --rule: #bbb;
        --rule-strong: #777;
    }

    body > header,
    body > footer,
    body > main > article > footer {
        display: none;
    }

    body > main {
        width: 100%;
        padding: 0;
    }

    body > main > article > section {
        display: block;
        padding-top: 2rem;
    }
}
