@font-face {
    font-family: "Black Ops One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/black-ops-one-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-600.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    --background: #111212;
    --text: #e7e4de;
    --muted: #aaa7a1;
    --rule: #8d8982;
    --content-width: 48rem;
    font-family: "IBM Plex Mono", "DejaVu Sans Mono", monospace;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.55;
}

.document {
    width: min(var(--content-width), calc(100% - 3rem));
    margin-inline: auto;
    padding: 1.65rem 0 1.25rem;
}

.hero h1 {
    margin: 0;
    color: #ebe9e4;
    font-family: "Black Ops One", "Arial Narrow", sans-serif;
    font-size: clamp(3.25rem, 5vw, 3.65rem);
    font-weight: 400;
    letter-spacing: 0.045em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.subtitle {
    margin: 0.05rem 0 0;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.015em;
}

.metadata-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
}

.metadata {
    margin: 0.8rem 0 0;
    color: #cbc7c0;
    font-size: 0.78rem;
}

.version {
    margin: 0.9rem 0 0;
    color: #7e7b75;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.metadata div {
    display: flex;
    gap: 0.65ch;
}

.metadata dt,
.metadata dd {
    margin: 0;
}

.rule {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 1.15rem 0 1rem;
    color: var(--muted);
}

.rule::before {
    flex: 1;
    overflow: hidden;
    color: var(--rule);
    content: "-----------------------------------------------------------------------------------------------";
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

h2 {
    width: fit-content;
    margin: 0 0 0.75rem;
    border-bottom: 1px dashed var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    line-height: 1.75;
    text-transform: uppercase;
}

h3,
p,
ul {
    margin-top: 0;
}

.section-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.section-copy {
    margin-bottom: 0;
    line-height: 1.75;
}

.aligned-fields {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 1ch;
    margin: 0;
}

.aligned-fields dt,
.aligned-fields dd {
    margin: 0;
}

.aligned-fields dd {
    overflow-wrap: anywhere;
}

.legal-registration {
    margin: 1.55em 0 0;
    font-size: 0.8rem;
}

.disciplines,
.references {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

.disciplines li+li {
    margin-top: 0.22rem;
}

.project h3 {
    margin-bottom: 0.05rem;
    font-size: 1rem;
    font-weight: 700;
}

.project-index {
    font-weight: 400;
}

.project p {
    margin-bottom: 0.25rem;
}

.project-primary h3 {
    font-size: 1.05rem;
}

.references li::before {
    margin-right: 1ch;
    content: "→";
}

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

a:hover,
a:focus-visible {
    color: #fff;
    text-decoration-color: #fff;
}

a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 0.22rem;
}

.contact-link {
    text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
    text-decoration: underline;
}

address {
    margin-bottom: 0.25rem;
    font-style: normal;
}

address strong,
address span {
    display: block;
}

address strong {
    margin-bottom: 0.25rem;
}

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

.end-marker {
    display: grid;
    grid-template-columns: minmax(3rem, 1fr) auto minmax(6rem, 1.15fr);
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    color: var(--text);
}

.end-line {
    border-top: 1px dashed var(--rule);
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
}

@media (max-width: 48rem) {
    .document {
        padding-top: 1.25rem;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 12vw, 3.65rem);
        letter-spacing: 0.035em;
        white-space: normal;
    }

    .metadata-row {
        position: relative;
        display: flow-root;
    }

    .version {
        position: absolute;
        top: 0;
        right: 0;
    }

    .metadata div {
        display: block;
    }

    .metadata div+div {
        margin-top: 0.25rem;
    }

    .metadata dt,
    .metadata dd {
        display: inline;
    }

    .metadata dt {
        margin-right: 0.65ch;
    }

    .section-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    a {
        transition: color 120ms ease, text-decoration-color 120ms ease;
    }
}
