/* ==========================================================================
   FitBox International — site styles
   Content and palette from the Elementor home export. Mobile-first.
   Breakpoints: 600px (2-up cards) · 900px (two-column splits) · 1100px (desktop nav, 4-up cards)
   ========================================================================== */

/* Fonts (self-hosted Latin subsets, SIL Open Font License) ------------------ */

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

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

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

/* Tokens ----------------------------------------------------------------- */

:root {
    /* Brand palette (from the export) */
    --ink: #12151A;
    --ink-2: #1C2028;
    --paper: #F1F3F2;
    --paper-2: #F4F5F1;
    --mist: #E4E7E7;
    --teal: #3E7688;
    --teal-light: #6FA3B3;
    --teal-dark: #254A56;
    --gold: #A9895A;
    --gold-light: #C9AD84;

    /* Text roles (all ≥ 4.5:1 on their backgrounds) */
    --text: #2E333B;            /* body on light: 11.6:1 on paper */
    --text-muted: #4A5059;      /* secondary on light: 7.4:1 on paper, 6.7:1 on mist */
    --on-dark: #F4F5F1;
    --on-dark-muted: rgba(244, 245, 241, 0.74); /* 9:1 on ink */
    --on-dark-subtle: rgba(244, 245, 241, 0.6); /* 6.5:1 on ink */

    --line: rgba(18, 21, 26, 0.14);
    --line-strong: rgba(18, 21, 26, 0.26);
    --line-dark: rgba(244, 245, 241, 0.14);

    /* Type */
    --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --fs-xs: 0.75rem;                                  /* 12 */
    --fs-sm: 0.875rem;                                 /* 14 */
    --fs-base: 1rem;                                   /* 16 */
    --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);  /* 17–20 */
    --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);      /* 22–28 */
    --fs-statement: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); /* 28–44 */
    --fs-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);       /* 34–56 */
    --fs-hero: clamp(5rem, 2.4rem + 10.5vw, 10rem);         /* 80–160 */
    --fs-cta: clamp(3.25rem, 1.6rem + 7vw, 7.5rem);         /* 52–120 */

    /* Spacing scale (4px base) */
    --s-1: 0.25rem;  /* 4 */
    --s-2: 0.5rem;   /* 8 */
    --s-3: 0.75rem;  /* 12 */
    --s-4: 1rem;     /* 16 */
    --s-5: 1.5rem;   /* 24 */
    --s-6: 2rem;     /* 32 */
    --s-7: 3rem;     /* 48 */
    --s-8: 4rem;     /* 64 */
    --s-9: 6rem;     /* 96 */

    /* Layout */
    --content: 1240px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 2.6rem + 6vw, 8rem);
    --header-h: 4.5rem;
    --radius: 3px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, address {
    margin: 0;
}

address {
    font-style: normal;
}

ul[role="list"],
ol[role="list"] {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
}

strong {
    font-weight: 600;
    color: var(--ink);
}

main:focus {
    outline: none;
}

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

.section--dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
    outline-color: var(--teal-light);
}

.skip-link {
    position: absolute;
    left: var(--s-4);
    top: var(--s-4);
    z-index: 10001;
    padding: var(--s-3) var(--s-4);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: 100%;
    max-width: calc(var(--content) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Sections --------------------------------------------------------------- */

.section {
    padding-block: var(--section-y);
}

.section--paper { background: var(--paper); }
.section--mist  { background: var(--mist); }
.section--dark  { background: var(--ink); color: var(--on-dark-muted); }

.section--dark strong { color: var(--on-dark); }

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(var(--s-6), 4vw, var(--s-7));
}

.section-head--row {
    max-width: none;
    display: grid;
    gap: var(--s-4);
}

@media (min-width: 900px) {
    .section-head--row {
        grid-template-columns: 1fr minmax(0, 26rem);
        align-items: end;
        gap: var(--s-7);
    }
}

/* Splits: stacked on mobile, two columns from 900px */
.split {
    display: grid;
    gap: var(--s-6);
}

@media (min-width: 900px) {
    .split { gap: clamp(var(--s-7), 5vw, var(--s-9)); align-items: start; }
    .split--5-7 { grid-template-columns: 5fr 7fr; }
    .split--6-6 { grid-template-columns: 1fr 1fr; }
    .split--center { align-items: center; }
    .split__body { padding-top: 2.1rem; }
}

/* Card grids */
.grid {
    display: grid;
    gap: var(--s-4);
}

@media (min-width: 600px) {
    .grid--2,
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
}

@media (min-width: 1100px) {
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Typography ------------------------------------------------------------- */

.eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: var(--fs-xs);
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: currentColor;
}

.eyebrow--on-dark {
    color: var(--teal-light);
}

.hero .eyebrow {
    column-gap: var(--s-3);
}

.h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-h2);
    line-height: 1.02;
    letter-spacing: -0.005em;
    color: var(--ink);
    text-wrap: balance;
}

.section--dark .h2 {
    color: var(--on-dark);
}

.h2 + .body,
.h2 + .lead {
    margin-top: var(--s-5);
}

.statement {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-statement);
    line-height: 1.12;
    color: var(--ink);
    text-wrap: balance;
}

.nowrap {
    white-space: nowrap;
}

.statement em {
    font-style: normal;
    color: var(--teal);
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: var(--text);
    max-width: 38rem;
}

.body {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text);
    max-width: 36rem;
}

.section--dark .lead,
.section--dark .body {
    color: var(--on-dark-muted);
}

.mono-note {
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-dark);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-light);
    max-width: 36rem;
}

/* Buttons ---------------------------------------------------------------- */

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-6);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-height: 3.25rem;
    padding: var(--s-4) var(--s-5);
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.btn:active {
    transform: translateY(1px);
}

.btn--sm {
    min-height: 2.5rem;
    padding: var(--s-2) var(--s-4);
    font-size: var(--fs-xs);
}

.btn--primary {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff; /* 4.9:1 on teal */
}

.btn--primary:hover {
    background: var(--teal-light);
    border-color: var(--teal-light);
    color: var(--ink);
}

.btn--ghost-light {
    background: transparent;
    border-color: rgba(244, 245, 241, 0.5);
    color: var(--on-dark);
}

.btn--ghost-light:hover {
    background: var(--on-dark);
    border-color: var(--on-dark);
    color: var(--ink);
}

.btn--ghost-dark {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

.btn--ghost-dark:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn__addr {
    text-transform: none;
    letter-spacing: 0.02em;
}

@media (max-width: 599px) {
    .btn-row .btn { flex: 1 1 100%; }
    .btn--email { flex-wrap: wrap; column-gap: 0.4em; }
    .btn__addr { overflow-wrap: anywhere; }
}

/* Header ----------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 900;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(18, 21, 26, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line-dark);
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--on-dark);
    text-decoration: none;
    flex-shrink: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--ink);
    border: 1px solid var(--gold);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--gold);
}

.brand__word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.375rem;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--on-dark);
}

.brand__word small {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.5625rem;
    letter-spacing: 0.24em;
    color: var(--gold-light);
}

.site-nav {
    display: none;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2vw, 2rem);
}

.site-nav a {
    position: relative;
    display: inline-block;
    padding-block: var(--s-2);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(244, 245, 241, 0.8);
    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--teal-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
    color: var(--on-dark);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    color: var(--on-dark);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.icon-btn:hover {
    border-color: rgba(244, 245, 241, 0.4);
    background: rgba(244, 245, 241, 0.06);
}

@media (max-width: 479px) {
    .site-header__cta { display: none; }
}

@media (min-width: 1100px) {
    .site-nav { display: block; }
    .nav-toggle { display: none; }
}

/* Mobile menu (dialog) */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0 var(--gutter) var(--s-7);
    background: var(--ink);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-0.75rem);
    transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu.is-open {
    opacity: 1;
    transform: none;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    margin-bottom: var(--s-6);
    border-bottom: 1px solid var(--line-dark);
}

.mobile-menu nav li {
    border-bottom: 1px solid var(--line-dark);
}

.mobile-menu nav a {
    display: block;
    padding-block: var(--s-4);
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--on-dark);
    transition: color 0.2s ease, padding-left 0.25s var(--ease);
}

.mobile-menu nav a:hover {
    color: var(--teal-light);
    padding-left: var(--s-2);
}

.mobile-menu__cta {
    align-self: flex-start;
    margin-top: var(--s-6);
}

@media (max-width: 479px) {
    .mobile-menu__cta { align-self: stretch; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
    padding-bottom: clamp(var(--s-6), 4vw, var(--s-7));
    background:
        radial-gradient(60rem 30rem at 85% 10%, rgba(62, 118, 136, 0.18), transparent 70%),
        var(--ink);
    color: var(--on-dark-muted);
}

/* Faint measurement grid behind the hero (decorative) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(244, 245, 241, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 245, 241, 0.045) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
}

.hero .eyebrow {
    margin-bottom: var(--s-5);
}

.hero__grid {
    display: grid;
    gap: var(--s-6);
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        align-items: end;
        gap: var(--s-8);
    }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--fs-hero);
    line-height: 0.88;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--on-dark);
}

.hero__title span {
    display: block;
}

.hero__title .hero__accent {
    color: var(--teal);
}

.hero__aside {
    max-width: 34rem;
}

@media (min-width: 900px) {
    .hero__aside { padding-bottom: var(--s-2); }
}

.hero__lead {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: rgba(244, 245, 241, 0.86);
}

.hero .btn-row {
    margin-top: var(--s-5);
}

.vital {
    margin-top: clamp(var(--s-6), 5vw, var(--s-8));
}

.vital svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.vital__path {
    fill: none;
    stroke: url(#vitalGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: vital-draw 2.4s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    filter: drop-shadow(0 0 8px rgba(62, 118, 136, 0.35));
}

@media (max-width: 599px) {
    .vital__path { stroke-width: 6; }
    .vital__dot { r: 12px; }
}

.vital__dot {
    fill: var(--teal-light);
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: vital-dot-in 0.4s 2.5s ease forwards, vital-pulse 2.2s 3s ease-in-out infinite;
}

@keyframes vital-draw { to { stroke-dashoffset: 0; } }
@keyframes vital-dot-in { to { opacity: 1; } }
@keyframes vital-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

.hero__note {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-top: var(--s-5);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line-dark);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--on-dark-subtle);
}

.dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--teal-light);
    box-shadow: 0 0 0 4px rgba(111, 163, 179, 0.18);
}

/* Cards ------------------------------------------------------------------ */

.card {
    padding: clamp(var(--s-5), 2.5vw, var(--s-6));
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card__title {
    margin-bottom: var(--s-3);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: var(--fs-sm);
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
}

.card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Features */
.feature {
    border-top: 2px solid var(--teal);
}

.feature__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--s-6);
}

.feature__icon {
    color: var(--teal-dark);
}

.feature__num {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Globe ------------------------------------------------------------------ */

.globe svg {
    width: 100%;
    max-width: 30rem;
    height: auto;
    margin-inline: auto;
    overflow: visible;
}

.globe__rings {
    fill: none;
    stroke: rgba(244, 245, 241, 0.16);
    stroke-width: 1;
}

.globe__line {
    fill: none;
    stroke: var(--teal-light);
    stroke-width: 1.4;
    stroke-dasharray: 5 5;
    animation: globe-flow 1.6s linear infinite;
}

.globe__dot { fill: var(--teal-light); }
.globe__dot--hub { fill: var(--teal-light); }
.globe__halo {
    fill: rgba(111, 163, 179, 0.18);
    transform-box: fill-box;
    transform-origin: center;
    animation: vital-pulse 2.6s ease-in-out infinite;
}

.globe__node {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.06em;
    fill: rgba(244, 245, 241, 0.82);
}

.globe__node--hub {
    font-weight: 600;
    fill: var(--on-dark);
}

@keyframes globe-flow { to { stroke-dashoffset: -20; } }

/* High-performers -------------------------------------------------------- */

.media {
    position: relative;
}

.media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
}

.media::after {
    content: "";
    position: absolute;
    left: calc(-1 * var(--s-3));
    bottom: calc(-1 * var(--s-3));
    width: 38%;
    height: 38%;
    border-left: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    pointer-events: none;
}

@media (max-width: 599px) {
    .media::after { left: -6px; bottom: -6px; }
}

.checklist {
    display: grid;
    gap: var(--s-3);
    margin-top: var(--s-5);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--ink);
}

.checklist li {
    position: relative;
    padding-left: var(--s-6);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 50%;
    background: var(--teal);
}

.checklist li::after {
    content: "";
    position: absolute;
    left: 0.375rem;
    top: 0.33em;
    width: 0.3rem;
    height: 0.55rem;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

/* Stats ------------------------------------------------------------------ */

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: var(--s-2);
    padding: clamp(var(--s-5), 3vw, var(--s-6));
    background: var(--ink-2);
}

.stat__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
    line-height: 1;
    color: var(--teal-light);
}

.stat__label {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

/* Mission arrow list ----------------------------------------------------- */

.arrow-list {
    border-top: 1px solid var(--line-strong);
}

.arrow-list li {
    display: flex;
    gap: var(--s-4);
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--line-strong);
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--ink);
}

.arrow-list__mark {
    flex-shrink: 0;
    margin-top: 0.2em;
    color: var(--teal);
}

/* Coaches ---------------------------------------------------------------- */

.coach {
    display: grid;
    grid-template-rows: auto 1fr;
    background: var(--mist);
    border-radius: var(--radius);
    overflow: hidden;
}

.coach__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
    background: var(--mist);
}

.coach__body {
    display: flex;
    flex-direction: column;
    padding: clamp(var(--s-5), 2.5vw, var(--s-6));
}

@media (min-width: 1100px) {
    .coach { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: none; }
    .coach__img { height: 100%; aspect-ratio: auto; min-height: 26rem; }
}

.coach__role {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

.coach__name {
    margin-top: var(--s-2);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-h3);
    line-height: 1.05;
    color: var(--ink);
}

.coach__title {
    margin-top: var(--s-1);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--teal-dark);
}

.coach__bio {
    margin-top: var(--s-4);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text);
}

.creds {
    display: grid;
    gap: var(--s-2);
    margin-top: auto;
    padding-top: var(--s-5);
}

.creds li {
    padding-top: var(--s-2);
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: var(--text-muted);
}

.creds li:first-child {
    margin-top: var(--s-2);
}

/* Case log --------------------------------------------------------------- */

.case {
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.25s var(--ease);
}

.case:hover {
    border-color: var(--teal);
}

.case__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    margin-bottom: var(--s-2);
}

.case__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-h3);
    line-height: 1.1;
    color: var(--ink);
}

.case__tag {
    flex-shrink: 0;
    padding: var(--s-1) var(--s-2);
    border-radius: 2px;
    background: var(--teal-dark);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.case__type {
    margin-bottom: var(--s-4);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

/* Journal ---------------------------------------------------------------- */

.article {
    display: flex;
    flex-direction: column;
    min-height: 15rem;
    padding: clamp(var(--s-5), 3vw, var(--s-7));
    background: var(--mist);
    border: 1px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.article__cat {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dark);
}

.article__title {
    display: block;
    margin-block: var(--s-4) var(--s-6);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
    line-height: 1.1;
    text-wrap: balance;
}

.article__more {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article__more svg {
    transition: transform 0.25s var(--ease);
}

.article:hover {
    background: var(--ink);
    color: var(--on-dark);
}

.article:hover .article__cat {
    color: var(--teal-light);
}

.article:hover .article__more svg {
    transform: translateX(4px);
}

/* Contact CTA ------------------------------------------------------------ */

.cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50rem 26rem at 10% 100%, rgba(62, 118, 136, 0.22), transparent 70%),
        var(--ink);
}

.cta__inner {
    position: relative;
    display: grid;
    gap: var(--s-6);
}

@media (min-width: 900px) {
    .cta__inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: end;
        gap: var(--s-8);
    }
}

.cta__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--fs-cta);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--on-dark);
}

.cta .lead {
    color: var(--on-dark-muted);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
    padding-block: var(--s-8) var(--s-6);
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
}

.site-footer__top {
    display: grid;
    gap: var(--s-6);
    padding-bottom: var(--s-6);
    border-bottom: 1px solid var(--line-dark);
}

@media (min-width: 900px) {
    .site-footer__top {
        grid-template-columns: 1fr auto auto;
        align-items: start;
        gap: var(--s-8);
    }
}

.site-footer__tag {
    margin-top: var(--s-4);
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
    color: var(--on-dark-subtle);
}

.site-footer__nav ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: var(--s-2) var(--s-6);
}

.site-footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__nav a,
.site-footer__contact a {
    display: inline-block;
    padding-block: var(--s-1);
}

.site-footer__contact {
    display: grid;
    gap: var(--s-1);
    color: var(--on-dark);
}

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

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--s-2) var(--s-5);
    padding-top: var(--s-5);
    font-size: var(--fs-xs);
    color: var(--on-dark-subtle);
}

/* 404 -------------------------------------------------------------------- */

.notfound {
    min-height: 70vh;
    display: grid;
    align-content: center;
    padding-top: calc(var(--header-h) + var(--s-8));
}

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
    }
    .vital__path { stroke-dashoffset: 0; }
    .vital__dot { opacity: 1; }
}
