@font-face {
    font-family: "Black Ops One";
    src: url("../fonts/black-ops-one-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --ink: #11110f;
    --ink-deep: #090a09;
    --charcoal: #1b1c1a;
    --charcoal-2: #242522;
    --paper: #e3e3df;
    --paper-bright: #f1f0eb;
    --muted: #a7a7a2;
    --line: #3b3c38;
    --line-light: #b9b9b3;
    --mint: #08dfad;
    --rust: #df4008;
    --rust-dark: #aa2d04;
    --white: #f7f7f2;
    --display: "Black Ops One", Impact, sans-serif;
    --mono: "IBM Plex Mono", "Courier New", monospace;
    --page: 1280px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--paper);
    background: var(--ink);
    font-family: var(--mono);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

a,
button {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: 4px;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    transform: translateY(-150%);
    padding: 10px 14px;
    color: var(--ink);
    background: var(--mint);
    text-decoration: none;
    font-weight: 600;
}

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

.page-wrap {
    width: min(calc(100% - 64px), var(--page));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(17, 17, 15, 0.96);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: min(100%, 1440px);
    height: 100%;
    margin-inline: auto;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 290px;
    padding: 0 28px;
    border-right: 1px solid var(--line);
    text-decoration: none;
}

.brand-sigil {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--ink);
    background: var(--mint);
    font-family: var(--display);
    font-size: 0.9rem;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-copy strong {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.67rem;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: stretch;
}

.site-nav a {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 104px;
    padding: 0 18px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--white);
    background: var(--charcoal);
}

.site-nav a.active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 4px;
    background: var(--rust);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 76px;
    border: 0;
    border-left: 1px solid var(--line);
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
    height: clamp(560px, calc(100svh - 124px), 820px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--ink-deep);
}

.home-hero-copy-panel {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 58px clamp(44px, 6vw, 96px) 42px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    background: var(--ink-deep);
}

.home-hero-copy-panel::before {
    content: "";
    position: absolute;
    top: 42px;
    left: clamp(44px, 6vw, 96px);
    width: 44px;
    height: 3px;
    background: var(--mint);
}

.home-hero-portrait {
    position: relative;
    isolation: isolate;
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--charcoal);
}

.home-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(0.88) contrast(1.04);
}

.hero-copy {
    width: min(100%, 650px);
    margin-block: auto;
}

.eyebrow,
.chapter-label,
.mono-kicker {
    margin-bottom: 20px;
    color: var(--mint);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 24px;
    margin-right: 10px;
    color: var(--ink);
    background: var(--mint);
}

.hero-copy h1,
.page-masthead h1,
.display-heading,
.contact-band h2 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-copy h1 {
    margin-bottom: 30px;
    color: var(--white);
    font-size: 6.5rem;
    line-height: 0.82;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.46);
}

.hero-copy h1 span,
.page-masthead h1 span {
    color: var(--rust);
}

.hero-lede {
    max-width: 590px;
    margin-bottom: 28px;
    color: var(--paper);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-coordinate {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    align-self: flex-start;
    margin-top: 34px;
    padding-left: 18px;
    border-left: 2px solid var(--mint);
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 54px;
    padding: 13px 18px;
    border: 2px solid currentColor;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-rust {
    color: var(--rust);
    background: rgba(17, 17, 15, 0.46);
}

.button-rust:hover {
    color: var(--ink);
    background: var(--rust);
}

.button-light {
    color: var(--white);
    background: rgba(17, 17, 15, 0.46);
}

.button-light:hover {
    color: var(--ink);
    background: var(--white);
}

.button-dark {
    color: var(--ink);
    background: transparent;
}

.button-dark:hover {
    color: var(--mint);
    background: var(--ink);
}

.signal-strip {
    border-bottom: 1px solid var(--line);
    background: var(--charcoal);
}

.signal-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 1440px);
    margin-inline: auto;
}

.signal-item {
    min-width: 0;
    padding: 20px 28px;
    border-right: 1px solid var(--line);
}

.signal-item:first-child {
    border-left: 1px solid var(--line);
}

.signal-label {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.67rem;
    text-transform: uppercase;
}

.signal-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.signal-item-mint strong {
    color: var(--mint);
}

.signal-item-rust strong {
    color: var(--rust);
}

.section-band {
    padding: 112px 0;
    border-bottom: 1px solid var(--line);
}

.band-ink {
    color: var(--paper);
    background: var(--ink);
}

.band-charcoal {
    color: var(--paper);
    background: var(--charcoal);
}

.band-paper {
    color: var(--ink);
    background: var(--paper);
    border-bottom-color: var(--line-light);
}

.section-heading-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
    margin-bottom: 72px;
}

.chapter-label {
    margin: 9px 0 0;
}

.chapter-label-dark {
    color: var(--rust-dark);
}

.display-heading {
    margin-bottom: 24px;
    color: var(--paper-bright);
    font-size: 4.7rem;
    line-height: 0.9;
    text-shadow: 0 0 24px rgba(247, 247, 242, 0.13);
}

.display-heading-dark {
    color: var(--ink);
    text-shadow: none;
}

.section-lede {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.section-lede-dark {
    color: #4a4b47;
}

.system-directory {
    border-bottom: 1px solid var(--line);
}

.system-row {
    display: grid;
    grid-template-columns: 70px minmax(220px, 0.9fr) minmax(280px, 1.2fr) 42px;
    gap: 26px;
    align-items: center;
    min-height: 98px;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
    color: var(--paper);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.system-row:hover {
    color: var(--ink);
    background: var(--mint);
}

.system-index,
.system-description {
    color: var(--muted);
    font-size: 0.76rem;
}

.system-row:hover .system-index,
.system-row:hover .system-description {
    color: var(--ink);
}

.system-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
}

.system-title i {
    width: 20px;
    color: var(--mint);
}

.system-row:hover .system-title i {
    color: var(--ink);
}

.system-description {
    line-height: 1.55;
}

.system-arrow {
    justify-self: end;
    color: var(--rust);
    font-size: 1.4rem;
}

.system-row:hover .system-arrow {
    color: var(--ink);
}

.training-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 78px;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
}

.training-metrics > div {
    padding: 30px 24px;
    border-right: 1px solid var(--line-light);
}

.training-metrics > div:last-child {
    border-right: 0;
}

.training-metrics strong {
    display: block;
    margin-bottom: 9px;
    color: var(--rust-dark);
    font-family: var(--display);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 400;
}

.training-metrics span {
    display: block;
    color: #575852;
    font-size: 0.75rem;
    line-height: 1.5;
}

.field-story {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 72px;
    align-items: center;
}

.field-image {
    position: relative;
    margin-bottom: 0;
    border: 2px solid var(--ink);
    background: var(--ink);
}

.field-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 10px solid rgba(8, 223, 173, 0.1);
}

.field-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.08);
}

.field-image figcaption {
    padding: 10px 14px;
    color: var(--mint);
    background: var(--ink);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.field-story-copy h3 {
    margin-bottom: 22px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.field-story-copy > p:not(.mono-kicker) {
    max-width: 600px;
    color: #464743;
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--rust-dark);
    color: var(--rust-dark);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.field-log {
    border-bottom: 1px solid var(--line);
}

.field-log-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 34px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.field-log-row span {
    color: var(--rust);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.field-log-row p {
    margin: 0;
    color: var(--paper);
    font-size: 0.9rem;
}

.contact-band,
.project-route-band {
    padding: 76px 0;
    color: var(--ink);
    background: var(--mint);
}

.contact-band-inner,
.project-route-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.contact-band h2 {
    max-width: 850px;
    margin: 14px 0 0;
    font-size: 4.2rem;
    line-height: 0.95;
}

.site-footer {
    padding: 46px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--ink-deep);
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    width: min(calc(100% - 64px), var(--page));
    margin-inline: auto;
}

.footer-mark {
    display: block;
    margin-bottom: 10px;
    color: var(--mint);
    font-family: var(--display);
    font-size: 1.2rem;
}

.site-footer p {
    margin-bottom: 0;
    font-size: 0.75rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px;
}

.site-footer a {
    color: var(--paper);
    text-decoration: none;
    font-size: 0.75rem;
}

.site-footer a:hover {
    color: var(--rust);
}

/* Shared interior-page mastheads */
.page-masthead {
    position: relative;
    overflow: hidden;
    padding: 112px 0 104px;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
    background: var(--ink-deep);
}

.page-masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
}

.page-masthead-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
    gap: 50px;
    align-items: end;
}

.page-masthead h1 {
    margin-bottom: 26px;
    color: var(--paper-bright);
    font-size: 6.2rem;
    line-height: 0.86;
    text-shadow: 0 0 24px rgba(247, 247, 242, 0.12);
}

.page-masthead-grid > div > p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.page-masthead-compact {
    padding-block: 96px;
}

.index-strip {
    color: var(--paper);
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
}

.index-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.index-strip span {
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.index-strip span:first-child {
    border-left: 1px solid var(--line);
}

.index-strip-accent {
    color: var(--mint);
}

.directory-section {
    display: grid;
    grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1fr);
    gap: 70px;
}

.directory-heading h2 {
    margin-bottom: 16px;
    color: inherit;
    font-family: var(--display);
    font-size: 2.9rem;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
}

.directory-heading p:not(.chapter-label) {
    max-width: 620px;
    margin-bottom: 0;
    color: #5b5b56;
    font-size: 0.88rem;
    line-height: 1.7;
}

.band-ink .directory-heading p:not(.chapter-label),
.band-charcoal .directory-heading p:not(.chapter-label) {
    color: var(--muted);
}

.link-directory {
    border-bottom: 1px solid var(--line);
}

.directory-row {
    display: grid;
    grid-template-columns: 56px minmax(220px, 1fr) minmax(120px, 0.4fr) 30px;
    gap: 20px;
    align-items: center;
    min-height: 78px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    color: var(--paper);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.directory-row:hover {
    color: var(--ink);
    background: var(--mint);
}

.link-directory-dark {
    border-bottom-color: var(--line-light);
}

.link-directory-dark .directory-row {
    color: var(--ink);
    border-top-color: var(--line-light);
}

.link-directory-dark .directory-row:hover {
    color: var(--paper-bright);
    background: var(--rust-dark);
}

.directory-number,
.directory-meta {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.link-directory-dark .directory-number,
.link-directory-dark .directory-meta {
    color: #666760;
}

.directory-row:hover .directory-number,
.directory-row:hover .directory-meta {
    color: inherit;
}

.directory-name {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.directory-name i,
.directory-icon-image {
    flex: 0 0 auto;
    width: 19px;
    color: var(--mint);
    text-align: center;
}

.link-directory-dark .directory-name i {
    color: var(--rust-dark);
}

.directory-row:hover .directory-name i {
    color: inherit;
}

.directory-icon-image {
    height: 19px;
    object-fit: contain;
    filter: invert(1);
}

.link-directory-large .directory-row {
    min-height: 94px;
}

.link-directory-large .directory-name {
    font-size: 1rem;
}

.links-band {
    padding-block: 76px;
}

/* Personal slash pages */
.slash-page-masthead {
    padding-block: 106px;
}

.slash-page-masthead h1 {
    max-width: 980px;
    margin-bottom: 0;
}

.slash-page-band {
    min-height: 60vh;
}

.slash-page-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.slash-page-stamp {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    color: #5b5b56;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.slash-page-stamp::before {
    content: "";
    width: 42px;
    height: 3px;
    margin-bottom: 12px;
    background: var(--rust-dark);
}

.slash-page-stamp strong {
    color: var(--ink);
    font-size: 0.76rem;
}

.slash-page-copy {
    max-width: 860px;
}

.slash-page-lead {
    max-width: 820px;
    margin-bottom: 56px;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.45;
}

.focus-list {
    border-bottom: 1px solid var(--line-light);
}

.focus-list section {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    gap: 36px;
    padding: 30px 0;
    border-top: 1px solid var(--line-light);
}

.focus-list h2 {
    margin: 0;
    color: var(--rust-dark);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}

.focus-list p {
    margin: 0;
    color: #464743;
    line-height: 1.75;
}

.slash-page-note {
    margin: 48px 0 0;
    color: #575852;
    font-size: 0.82rem;
}

.slash-page-note a,
.indie-web-note a {
    color: var(--rust-dark);
    font-weight: 600;
}

.friend-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    border-top: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
}

.friend-card {
    min-width: 0;
    min-height: 230px;
    padding: 28px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    color: var(--ink);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.friend-card:hover {
    color: var(--paper-bright);
    background: var(--rust-dark);
}

.friend-name,
.friend-url {
    display: block;
}

.friend-name {
    margin-bottom: 8px;
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.friend-url {
    margin-bottom: 26px;
    color: var(--rust-dark);
    font-size: 0.7rem;
    overflow-wrap: anywhere;
}

.friend-card:hover .friend-url {
    color: var(--mint);
}

.friend-card p {
    margin: 0;
    color: #565752;
    font-size: 0.82rem;
    line-height: 1.7;
}

.friend-card:hover p {
    color: var(--paper-bright);
}

.friend-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 180px;
}

.indie-web-note {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 42px;
    color: #575852;
    font-size: 0.78rem;
}

.indie-web-note p {
    margin: 0;
}

.indie-web-note code {
    color: var(--ink);
    font-family: inherit;
    font-weight: 600;
}

.project-route-inner h2 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: 3.4rem;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
}

/* Folloze systems page */
.systems-masthead h1 span {
    color: var(--mint);
}

.systems-signal-strip .signal-item-rust strong {
    color: var(--rust);
}

.systems-intro-band {
    padding-bottom: 72px;
}

.case-directory {
    border-bottom: 1px solid var(--line);
}

.case-row {
    display: grid;
    grid-template-columns: 64px minmax(230px, 0.75fr) minmax(330px, 1.15fr) minmax(180px, 0.55fr);
    gap: 28px;
    padding: 38px 18px;
    border-top: 1px solid var(--line);
}

.case-index {
    color: var(--rust);
    font-family: var(--display);
    font-size: 1.45rem;
}

.case-heading > p {
    margin-bottom: 12px;
    color: var(--mint);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.case-heading h3 {
    margin-bottom: 0;
    color: var(--paper-bright);
    font-family: var(--display);
    font-size: 1.85rem;
    line-height: 1.08;
    font-weight: 400;
    text-transform: uppercase;
}

.case-copy p {
    margin-bottom: 14px;
    color: var(--paper);
    font-size: 0.8rem;
    line-height: 1.65;
}

.case-copy .case-impact {
    margin-bottom: 0;
    color: var(--muted);
}

.case-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.55;
    text-transform: uppercase;
}

.case-meta a,
.case-repo-private {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.case-meta a {
    color: var(--rust);
    text-decoration: none;
}

.case-meta a:hover {
    color: var(--mint);
}

/* Training page */
.training-masthead h1 span {
    color: var(--mint);
}

.workout-source-band {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    color: var(--paper);
    background: var(--charcoal);
}

.workout-source-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.workout-source-inner > div {
    max-width: 850px;
}

.source-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--mint);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.source-status i {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--mint);
    box-shadow: 0 0 12px rgba(8, 223, 173, 0.6);
}

.workout-source-inner strong {
    display: block;
    margin-bottom: 7px;
    color: var(--white);
    font-size: 0.95rem;
}

.workout-source-inner p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.6;
}

.workout-summary-band {
    border-bottom: 1px solid var(--line);
    background: var(--ink);
}

.workout-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(100%, 1440px);
    margin-inline: auto;
}

.workout-summary-item {
    min-width: 0;
    min-height: 138px;
    padding: 26px 20px;
    border-right: 1px solid var(--line);
}

.workout-summary-item:first-child {
    border-left: 1px solid var(--line);
}

.workout-summary-value {
    display: block;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    color: var(--mint);
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1;
}

.workout-summary-primary .workout-summary-value {
    color: var(--rust);
}

.workout-summary-label {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.workout-activity-band {
    padding-top: 88px;
}

.workout-activity-band .directory-heading,
.band-charcoal .directory-heading {
    display: grid;
    grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
    gap: 50px;
    margin-bottom: 46px;
}

.activity-directory {
    border-bottom: 1px solid var(--line-light);
}

.activity-row {
    display: grid;
    grid-template-columns: 90px minmax(220px, 1fr) repeat(3, minmax(90px, 0.35fr)) 30px;
    gap: 18px;
    align-items: center;
    min-height: 92px;
    padding: 16px;
    border-top: 1px solid var(--line-light);
    color: var(--ink);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.activity-row:hover {
    color: var(--paper-bright);
    background: var(--rust-dark);
}

.activity-date {
    color: var(--rust-dark);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.activity-row:hover .activity-date {
    color: var(--mint);
}

.activity-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.activity-main strong {
    font-size: 0.84rem;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.activity-main small,
.activity-row > span > small {
    display: block;
    color: #6d6e68;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.activity-row > span:not(.activity-main):not(.activity-date):not(.activity-arrow) {
    font-size: 0.76rem;
    font-weight: 600;
}

.activity-row:hover small {
    color: var(--paper);
}

.activity-arrow {
    justify-self: end;
    color: var(--rust-dark);
    font-size: 1.1rem;
}

.activity-row:hover .activity-arrow {
    color: var(--mint);
}

.sport-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.sport-column {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.sport-column header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.sport-column header i {
    color: var(--mint);
}

.sport-column h3 {
    margin: 0;
    color: var(--white);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 400;
    text-transform: uppercase;
}

.sport-column section {
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.sport-column section:last-child {
    border-bottom: 0;
}

.sport-column h4 {
    margin: 0 0 12px;
    color: var(--rust);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-column section > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    color: var(--muted);
    font-size: 0.7rem;
}

.sport-column section strong {
    color: var(--paper);
    font-weight: 600;
    text-align: right;
}

.effort-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.effort-item {
    min-height: 106px;
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.effort-item span {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.effort-item strong {
    color: var(--mint);
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 400;
}

.empty-state {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.empty-state > i {
    color: var(--rust-dark);
    font-size: 3rem;
}

.empty-state h2 {
    margin-bottom: 12px;
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 400;
    text-transform: uppercase;
}

.empty-state p {
    max-width: 700px;
    margin-bottom: 0;
}

/* Progressive motion keeps content visible even when scripting is unavailable. */
.js [data-reveal].is-visible {
    animation: field-rise 620ms ease both;
}

@keyframes field-rise {
    from {
        opacity: 0.55;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .site-brand {
        min-width: 240px;
    }

    .site-nav a {
        min-width: 88px;
        padding-inline: 12px;
    }

    .hero-copy h1 {
        font-size: 5.25rem;
    }

    .display-heading {
        font-size: 4rem;
    }

    .page-masthead h1 {
        font-size: 5.1rem;
    }

    .case-row {
        grid-template-columns: 52px minmax(220px, 0.8fr) minmax(300px, 1.2fr);
    }

    .case-meta {
        grid-column: 2 / -1;
        flex-direction: row;
        justify-content: space-between;
    }

    .workout-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .workout-summary-item:nth-child(3) {
        border-right: 0;
    }

    .workout-summary-item:nth-child(-n + 3) {
        border-bottom: 1px solid var(--line);
    }

    .sport-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 68px;
    }

    .page-wrap,
    .site-footer-inner {
        width: min(calc(100% - 40px), var(--page));
    }

    .site-brand {
        min-width: 0;
        padding-inline: 20px;
        border-right: 0;
    }

    .brand-copy small {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        max-height: calc(100svh - var(--header-height));
        overflow-y: auto;
        border-bottom: 1px solid var(--line);
        background: var(--ink-deep);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        display: flex;
        justify-content: space-between;
        min-height: 66px;
        padding: 0 24px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .site-nav a::before {
        content: "//";
        color: var(--mint);
    }

    .site-nav a.active::after {
        top: 14px;
        right: 0;
        bottom: 14px;
        left: auto;
        width: 4px;
        height: auto;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
        height: clamp(560px, calc(100svh - 108px), 760px);
    }

    .home-hero-copy-panel {
        padding: 48px 34px 34px;
    }

    .home-hero-copy-panel::before {
        top: 32px;
        left: 34px;
    }

    .hero-copy h1 {
        font-size: 4.5rem;
    }

    .hero-coordinate {
        margin-top: 26px;
    }

    .signal-strip-inner,
    .training-metrics,
    .index-strip-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signal-item:nth-child(2),
    .training-metrics > div:nth-child(2),
    .index-strip span:nth-child(2) {
        border-right: 0;
    }

    .signal-item:nth-child(-n + 2),
    .training-metrics > div:nth-child(-n + 2),
    .index-strip span:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .training-metrics > div:nth-child(-n + 2),
    .index-strip span:nth-child(-n + 2) {
        border-bottom-color: var(--line-light);
    }

    .section-band {
        padding-block: 86px;
    }

    .section-heading-grid,
    .page-masthead-grid,
    .directory-section,
    .workout-activity-band .directory-heading,
    .band-charcoal .directory-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-heading-grid {
        margin-bottom: 54px;
    }

    .display-heading {
        font-size: 3.7rem;
    }

    .system-row {
        grid-template-columns: 48px minmax(0, 1fr) 34px;
    }

    .system-description {
        grid-column: 2 / -1;
    }

    .field-story {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .page-masthead {
        padding-block: 86px;
    }

    .page-masthead h1 {
        font-size: 4.5rem;
    }

    .directory-section {
        gap: 44px;
    }

    .case-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .case-copy,
    .case-meta {
        grid-column: 2 / -1;
    }

    .activity-row {
        grid-template-columns: 82px minmax(180px, 1fr) repeat(2, minmax(80px, 0.35fr)) 26px;
    }

    .activity-row > span:nth-child(5) {
        display: none;
    }

    .effort-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr);
    }

    .home-hero-copy-panel {
        padding: 42px 28px 30px;
    }

    .home-hero-copy-panel::before {
        top: 28px;
        left: 28px;
        width: 34px;
    }

    .hero-copy h1 {
        margin-bottom: 20px;
        font-size: 3.35rem;
    }

    .hero-lede {
        margin-bottom: 18px;
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .hero-coordinate {
        display: none;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .button {
        justify-content: space-between;
        min-height: 48px;
        padding-block: 10px;
    }
}

@media (max-width: 640px) {
    .page-wrap,
    .site-footer-inner {
        width: min(calc(100% - 28px), var(--page));
    }

    .brand-copy strong {
        font-size: 0.8rem;
    }

    .home-hero {
        grid-template-columns: 1fr;
        grid-template-rows: 374px 338px;
        height: 712px;
        max-height: none;
    }

    .home-hero-copy-panel {
        padding: 30px 24px 26px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .home-hero-copy-panel::before {
        top: 22px;
        left: 24px;
        width: 34px;
    }

    .home-hero-portrait {
        min-height: 0;
    }

    .home-hero-image {
        object-position: 50% 17%;
    }

    .hero-copy {
        width: 100%;
        margin: 0;
    }

    .hero-copy h1 {
        margin-bottom: 16px;
        font-size: 3.45rem;
        line-height: 0.84;
    }

    .hero-lede {
        margin-bottom: 18px;
        font-size: 0.81rem;
        line-height: 1.5;
    }

    .hero-coordinate {
        display: none;
    }

    .button-row,
    .button {
        width: 100%;
    }

    .button {
        justify-content: space-between;
        min-height: 48px;
        padding-block: 10px;
    }

    .signal-strip-inner,
    .training-metrics,
    .index-strip-inner,
    .workout-summary-grid,
    .sport-grid,
    .effort-grid {
        grid-template-columns: 1fr;
    }

    .signal-item,
    .signal-item:first-child,
    .training-metrics > div,
    .index-strip span,
    .index-strip span:first-child,
    .workout-summary-item,
    .workout-summary-item:first-child {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .training-metrics > div,
    .index-strip span {
        border-bottom-color: var(--line-light);
    }

    .signal-item:last-child,
    .training-metrics > div:last-child,
    .index-strip span:last-child,
    .workout-summary-item:last-child {
        border-bottom: 0;
    }

    .signal-item,
    .training-metrics > div,
    .workout-summary-item {
        min-height: 0;
        padding: 18px 20px;
    }

    .section-band {
        padding-block: 68px;
    }

    .display-heading {
        font-size: 2.8rem;
        line-height: 0.94;
    }

    .system-row {
        grid-template-columns: 36px minmax(0, 1fr) 24px;
        gap: 14px;
        padding-inline: 4px;
    }

    .system-title {
        font-size: 0.78rem;
    }

    .system-description {
        font-size: 0.7rem;
    }

    .training-metrics {
        margin-bottom: 54px;
    }

    .training-metrics strong {
        font-size: 2rem;
    }

    .field-story-copy h3 {
        font-size: 2.05rem;
    }

    .field-log-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-band,
    .project-route-band {
        padding-block: 56px;
    }

    .contact-band-inner,
    .project-route-inner,
    .site-footer-inner,
    .workout-source-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-band h2 {
        font-size: 2.7rem;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .page-masthead {
        padding-block: 68px;
    }

    .page-masthead h1 {
        font-size: 3.4rem;
        line-height: 0.9;
    }

    .page-links .page-masthead h1 {
        font-size: 2.85rem;
    }

    .page-masthead-grid > div > p {
        font-size: 0.86rem;
    }

    .directory-heading h2,
    .project-route-inner h2 {
        font-size: 2.35rem;
    }

    .directory-row {
        grid-template-columns: 38px minmax(0, 1fr) 24px;
        gap: 12px;
        min-height: 76px;
        padding-inline: 4px;
    }

    .directory-meta {
        display: none;
    }

    .directory-name {
        font-size: 0.75rem;
    }

    .case-row {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 16px;
        padding-inline: 0;
    }

    .case-heading h3 {
        font-size: 1.5rem;
    }

    .case-meta {
        flex-direction: column;
    }

    .workout-source-inner .button {
        width: 100%;
    }

    .activity-row {
        grid-template-columns: 70px minmax(0, 1fr) 22px;
        gap: 12px;
        padding-inline: 4px;
    }

    .activity-row > span:nth-child(3),
    .activity-row > span:nth-child(4),
    .activity-row > span:nth-child(5) {
        display: none;
    }

    .sport-column {
        border-left: 0;
    }

    .effort-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .effort-item {
        min-height: 94px;
        padding: 16px;
    }

    .empty-state {
        grid-template-columns: 1fr;
    }

    .slash-page-masthead {
        padding-block: 72px;
    }

    .slash-page-layout,
    .focus-list section,
    .friend-list,
    .indie-web-note {
        grid-template-columns: 1fr;
    }

    .slash-page-layout {
        gap: 42px;
    }

    .slash-page-lead {
        margin-bottom: 40px;
        font-size: 1.25rem;
    }

    .focus-list section {
        gap: 14px;
    }

    .friend-card,
    .friend-card:last-child:nth-child(odd) {
        grid-column: auto;
        min-height: 0;
    }
}

@media (max-width: 640px) and (max-height: 800px) {
    .home-hero {
        grid-template-rows: minmax(310px, 0.56fr) minmax(250px, 0.44fr);
        height: max(570px, calc(100svh - var(--header-height) - 32px));
    }

    .home-hero-copy-panel {
        padding: 24px 18px 18px;
    }

    .home-hero-copy-panel::before {
        top: 16px;
        left: 18px;
        width: 30px;
    }

    .hero-copy h1 {
        margin-bottom: 12px;
        font-size: 3.05rem;
    }

    .hero-lede {
        margin-bottom: 14px;
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .button-row {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .button {
        flex: 1;
        width: auto;
        min-width: 0;
        gap: 6px;
        padding-inline: 10px;
        font-size: 0.6rem;
        white-space: nowrap;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal].is-visible {
        animation: none;
    }
}
