/* =============================================================================
   ControlF12 — site design system  ("Backlit keyboard")
   Bespoke stylesheet. NO framework. Component classes only (BEM-ish).
   Aesthetic: dark machine-room console — deep navy lifted straight from the
   CF12 keycap logo, blueprint hairlines, mono labels, folio numerals, one
   electric-cyan "backlight" accent. Keycaps are the recurring motif: buttons
   press, product badges are function keys.
   Sibling system: tenderobot.com "Editorial briefing" (paper-light). Same
   editorial discipline — eyebrows, folios, hairline panels — inverted to ink.
   -----------------------------------------------------------------------------
   Table of contents
     1. Design tokens (:root)
     2. Reset + base (incl. blueprint grid backdrop)
     3. Typography
     4. Layout primitives (.container, .section, .section__head)
     5. Motif kit (.eyebrow .folio .keycap .panel .tick-list .btn .link-out)
     6. Header + nav drawer
     7. Hero + stat strip
     8. Tape (marquee)
     9. Products
    10. Principles
    11. Company
    12. Contact
    13. Footer
    14. Keyframes + reduced-motion
   ========================================================================== */


/* 1. DESIGN TOKENS ========================================================== */
:root {
    /* --- Ink field (sampled from CF12 logo: #081120) --- */
    --ink-0: #081120;               /* page base            */
    --ink-1: #0C1728;               /* tinted section       */
    --ink-2: #111E36;               /* raised panel         */
    --text: #EAF0F7;
    --text-soft: #A7B3C7;
    --text-faint: #76839C;   /* ≥4.5:1 on --ink-0 (AA small text) */
    --rule: rgba(234, 240, 247, 0.10);
    --rule-strong: rgba(234, 240, 247, 0.32);
    --grid-line: rgba(234, 240, 247, 0.026);

    /* --- Accent (keycap backlight cyan) --- */
    --accent: #58D5FF;
    --accent-hi: #9AE7FF;
    --accent-dim: #2E86A8;
    --accent-wash: rgba(88, 213, 255, 0.08);
    --accent-glow: rgba(88, 213, 255, 0.22);

    /* --- Keycap hardware --- */
    --key-lip: rgba(234, 240, 247, 0.34);
    --key-face: linear-gradient(180deg, rgba(234, 240, 247, 0.055), rgba(234, 240, 247, 0.015));

    /* --- Font families --- */
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    /* --- Type scale (fluid) --- */
    --fs-display-1: clamp(2.9rem, 7vw, 5rem);
    --fs-display-2: clamp(2.1rem, 4.2vw, 3.25rem);
    --fs-display-3: clamp(1.6rem, 2.6vw, 2.25rem);
    --fs-lead: clamp(1.2rem, 1.8vw, 1.4rem);
    --fs-body: 1.0625rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;

    /* --- Line heights / letter spacing --- */
    --lh-display-1: 1.02;
    --lh-display-2: 1.1;
    --lh-display-3: 1.2;
    --lh-body: 1.65;
    --ls-display: -0.02em;
    --ls-eyebrow: 0.16em;
    --ls-mono: 0.06em;

    /* --- Spacing scale (0.25rem rhythm) --- */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* --- Rhythm & layout --- */
    --section-y: clamp(4.5rem, 10vw, 8rem);
    --container: 72rem;
    --container-pad: clamp(1.25rem, 4vw, 2rem);
    --header-h: 4.25rem;

    /* --- Radii (keycap geometry) --- */
    --r-xs: 3px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;

    /* --- Motion --- */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 170ms;
}


/* 2. RESET + BASE =========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

body {
    background: var(--ink-0);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Blueprint grid backdrop — fixed, behind everything */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 44px 44px;
}

::selection {
    background: var(--accent);
    color: var(--ink-0);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Skip link — visible only on keyboard focus */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: var(--ink-0);
    padding: 0.6em 1em;
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: 700;
    border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: var(--ink-0);
}


/* 3. TYPOGRAPHY ============================================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text);
    font-weight: 600;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-display-1);
    line-height: var(--lh-display-1);
    letter-spacing: var(--ls-display);
    font-weight: 700;
}

h2 {
    font-size: var(--fs-display-2);
    line-height: var(--lh-display-2);
    letter-spacing: -0.015em;
}

h3 {
    font-size: var(--fs-display-3);
    line-height: var(--lh-display-3);
}

p {
    text-wrap: pretty;
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--text-soft);
    font-weight: 400;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--dur) var(--ease-out);
}

a:hover {
    color: var(--accent);
}


/* 4. LAYOUT PRIMITIVES ====================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

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

.section--tint {
    background: var(--ink-1);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.section__head {
    max-width: 46rem;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head h2 {
    margin-top: var(--sp-4);
}

.section__head .lead {
    margin-top: var(--sp-5);
}

.page-offset {
    padding-top: var(--header-h);
}


/* 5. MOTIF KIT ============================================================== */

/* 5.1 Eyebrow — mono kicker with a short leading rule (backlight cyan) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: var(--accent);
    flex: none;
}

.section__head--center .eyebrow {
    justify-content: center;
}

/* 5.2 Rule-top — short strong bar above section heads */
.rule-top {
    width: 3rem;
    height: 2px;
    margin: 0 0 var(--sp-5);
    border: 0;
    background: var(--rule-strong);
}

.section__head--center .rule-top {
    margin-inline: auto;
}

/* 5.3 Folio — outsized margin numeral */
.folio {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

/* 5.4 Keycap — THE house motif. Bordered cap with a bottom lip that presses. */
.keycap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    padding: 0.7em 0.9em;
    border: 1.5px solid var(--rule-strong);
    border-radius: var(--r-md);
    background: var(--key-face);
    box-shadow:
        0 0.32em 0 -1px var(--key-lip),
        inset 0 1px 0 rgba(234, 240, 247, 0.08);
    font-family: var(--font-mono);
    color: var(--text);
    line-height: 1;
    transition:
        transform var(--dur) var(--ease-out),
        box-shadow var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out);
}

.keycap__tag {
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.keycap__glyph {
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.keycap--accent {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow:
        0 0.32em 0 -1px var(--accent-dim),
        0 0 28px var(--accent-glow),
        inset 0 1px 0 rgba(234, 240, 247, 0.08);
}

.keycap--accent .keycap__tag {
    color: var(--accent);
}

/* Pressed state — used by hover on interactive parents and :active */
.keycap--press:hover,
a:hover > .keycap,
.keycap:active {
    transform: translateY(0.22em);
    box-shadow:
        0 0.1em 0 -1px var(--key-lip),
        inset 0 1px 0 rgba(234, 240, 247, 0.08);
}

.keycap--accent.keycap--press:hover,
.keycap--accent:active {
    box-shadow:
        0 0.1em 0 -1px var(--accent-dim),
        0 0 36px var(--accent-glow),
        inset 0 1px 0 rgba(234, 240, 247, 0.08);
}

/* Sizes */
.keycap--xl {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    min-width: 2.9em;
    aspect-ratio: 1 / 0.92;
    border-radius: var(--r-lg);
    border-width: 2px;
}

.keycap--lg {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    min-width: 3em;
    aspect-ratio: 1 / 0.92;
    border-radius: var(--r-lg);
    border-width: 2px;
}

.keycap--sm {
    font-size: var(--fs-sm);
    padding: 0.5em 0.7em;
    border-radius: var(--r-sm);
}

/* 5.5 Panel — hairline console panel (sibling of tenderobot's .doc-card) */
.panel {
    background: var(--ink-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    padding: var(--sp-8);
}

.panel--hover {
    transition:
        transform var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out),
        box-shadow var(--dur) var(--ease-out);
}

.panel--hover:hover {
    transform: translateY(-2px);
    border-color: var(--rule-strong);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

/* 5.6 Tick list — verdict rows separated by hairlines */
.tick-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tick-list li {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    padding-block: var(--sp-3);
    border-bottom: 1px solid var(--rule);
    color: var(--text-soft);
    font-size: var(--fs-sm);
}

.tick-list li:last-child {
    border-bottom: 0;
}

.tick-list li::before {
    content: "✓";
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    flex: none;
}

/* 5.7 Buttons — keycap hardware applied to CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.85em 1.5em;
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition:
        transform var(--dur) var(--ease-out),
        box-shadow var(--dur) var(--ease-out),
        background var(--dur) var(--ease-out),
        color var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out);
}

.btn--accent {
    background: var(--accent);
    color: var(--ink-0);
    box-shadow: 0 0.28em 0 -1px var(--accent-dim);
}

.btn--accent:hover {
    background: var(--accent-hi);
    color: var(--ink-0);
    transform: translateY(0.18em);
    box-shadow: 0 0.08em 0 -1px var(--accent-dim);
}

.btn--ghost {
    background: var(--key-face);
    border-color: var(--rule-strong);
    color: var(--text);
    box-shadow: 0 0.28em 0 -1px var(--key-lip);
}

.btn--ghost:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(0.18em);
    box-shadow: 0 0.08em 0 -1px var(--key-lip);
}

.btn:active {
    transform: translateY(0.28em);
    box-shadow: none;
}

/* 5.8 Outbound link — mono, arrow slides on hover */
.link-out {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-out);
}

.link-out .arr {
    transition: transform var(--dur) var(--ease-out);
}

.link-out:hover {
    color: var(--accent-hi);
    border-bottom-color: var(--accent-hi);
}

.link-out:hover .arr {
    transform: translate(2px, -2px);
}


/* 6. HEADER ================================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: rgba(8, 17, 32, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
}

.brand__mark {
    width: 2.1rem;
    height: 2.1rem;
    flex: none;
}

.brand__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
}

.brand__name b {
    color: var(--accent);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.site-nav__link {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--text-soft);
}

.site-nav__link:hover {
    color: var(--accent);
}

.site-nav .btn {
    padding: 0.65em 1.1em;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--rule-strong);
    border-radius: var(--r-sm);
    padding: 0.45rem 0.6rem;
    cursor: pointer;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
}

@media (max-width: 63.9rem) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ink-1);
        border-bottom: 1px solid var(--rule);
        padding: var(--sp-4) var(--container-pad) var(--sp-6);
        display: none;
    }

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

    .site-nav__link {
        padding: var(--sp-4) 0;
        border-bottom: 1px solid var(--rule);
        font-size: var(--fs-sm);
    }

    .site-nav .btn {
        margin-top: var(--sp-5);
    }
}


/* 7. HERO =================================================================== */
.hero {
    position: relative;
    padding-block: clamp(4rem, 9vw, 7.5rem) 0;
    overflow: hidden;
}

/* Backlight bloom behind the key cluster */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(56rem 30rem at 78% 24%, var(--accent-wash), transparent 62%);
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(var(--sp-8), 5vw, var(--sp-16));
}

.hero__copy .eyebrow {
    margin-bottom: var(--sp-6);
}

.hero__copy .lead {
    margin-top: var(--sp-6);
    max-width: 34rem;
}

.hero__title .accent {
    color: var(--accent);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-top: var(--sp-10);
}

/* Key cluster: Ctrl + F12 */
.kbd-combo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(var(--sp-3), 2vw, var(--sp-6));
    transform: rotate(-4deg);
}

.kbd-combo__plus {
    font-family: var(--font-mono);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--text-faint);
}

.kbd-combo .keycap--accent {
    animation: backlight 3.2s ease-in-out infinite;
}

.hero__hint {
    margin-top: var(--sp-8);
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--text-faint);
}

/* Stat strip along the hero's bottom edge */
.hero__stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    margin-top: clamp(var(--sp-12), 7vw, var(--sp-20));
}

.hero__stat {
    padding: var(--sp-6) var(--sp-4);
    border-right: 1px solid var(--rule);
}

.hero__stat:last-child {
    border-right: 0;
}

.hero__stat b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.hero__stat span {
    display: block;
    margin-top: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--text-faint);
}

@media (max-width: 63.9rem) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__keys {
        order: -1;
    }

    .kbd-combo {
        transform: rotate(-3deg) scale(0.86);
    }

    .hero__hint {
        display: none;
    }
}

@media (max-width: 47.9rem) {

    /* keep the Ctrl+F12 cluster inside narrow viewports */
    .keycap--xl {
        font-size: clamp(1.7rem, 8.5vw, 2.4rem);
    }

    .kbd-combo {
        gap: 0.6rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__stat {
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .hero__stat:last-child {
        border-bottom: 0;
    }
}


/* 8. TAPE — mono marquee of the stack ====================================== */
.tape {
    border-block: 1px solid var(--rule);
    background: var(--ink-1);
    overflow: hidden;
    padding-block: var(--sp-4);
}

.tape__track {
    display: flex;
    width: max-content;
    animation: tape 42s linear infinite;
}

.tape:hover .tape__track {
    animation-play-state: paused;
}

.tape__item {
    /* trailing margin (not flex gap) so the -50% loop seam is exact */
    margin-right: var(--sp-10);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
}

.tape__item b {
    color: var(--accent);
    font-weight: 600;
}


/* 9. PRODUCTS =============================================================== */
.products .section__head {
    margin-bottom: clamp(var(--sp-12), 6vw, var(--sp-20));
}

.prod {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(var(--sp-8), 5vw, var(--sp-16));
    align-items: start;
    padding-block: clamp(var(--sp-10), 5vw, var(--sp-16));
    border-top: 1px solid var(--rule);
}

.prod:last-of-type {
    border-bottom: 1px solid var(--rule);
}

/* Identity column: folio + function keycap */
.prod__id {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-6);
}

.prod__id .folio {
    color: var(--text-faint);
}

.prod__key {
    display: inline-block;
}

.prod__key .keycap {
    transform: rotate(-3deg);
}

.prod__key:hover .keycap {
    transform: rotate(-3deg) translateY(0.22em);
}

.prod__domain {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--text-faint);
}

/* Body column */
.prod__body .eyebrow {
    margin-bottom: var(--sp-4);
}

.prod__name {
    font-size: var(--fs-display-2);
    line-height: var(--lh-display-2);
    letter-spacing: -0.015em;
    font-weight: 700;
}

.prod__tagline {
    margin-top: var(--sp-3);
    font-size: var(--fs-lead);
    color: var(--text-soft);
}

.prod__desc {
    margin-top: var(--sp-5);
    max-width: 38rem;
    color: var(--text-soft);
}

.prod__facts {
    margin-top: var(--sp-6);
    max-width: 32rem;
}

.prod__go {
    margin-top: var(--sp-8);
}

@media (max-width: 63.9rem) {
    .prod {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .prod__id {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--sp-6);
    }
}


/* 10. PRINCIPLES ============================================================ */
.principles .section__head {
    margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}

.principles__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
}

.principle {
    position: relative;
}

.principle__index {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    color: var(--accent);
}

.principle h3 {
    margin-top: var(--sp-4);
    font-size: 1.35rem;
}

.principle p {
    margin-top: var(--sp-3);
    color: var(--text-soft);
    font-size: var(--fs-sm);
}

@media (max-width: 47.9rem) {
    .principles__grid {
        grid-template-columns: 1fr;
    }
}


/* 11. COMPANY =============================================================== */
.company .section__head {
    margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}

.company__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
    max-width: 52rem;
    margin-inline: auto;
}

.office__region {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--accent);
}

.office address {
    margin-top: var(--sp-5);
    font-style: normal;
    color: var(--text-soft);
    font-size: var(--fs-sm);
    line-height: 1.8;
}

.office address strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.office__phone {
    display: inline-block;
    margin-top: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    color: var(--accent);
}

.office__phone:hover {
    color: var(--accent-hi);
}

@media (max-width: 47.9rem) {
    .company__grid {
        grid-template-columns: 1fr;
    }
}


/* 12. CONTACT =============================================================== */
.contact__panel {
    position: relative;
    text-align: center;
    padding: clamp(var(--sp-12), 7vw, var(--sp-20)) var(--sp-8);
    overflow: hidden;
}

.contact__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(40rem 18rem at 50% 0%, var(--accent-wash), transparent 70%);
}

.contact__panel > * {
    position: relative;
}

.contact__panel h2 {
    margin-top: var(--sp-4);
}

.contact__panel .lead {
    margin-top: var(--sp-5);
    max-width: 34rem;
    margin-inline: auto;
}

.contact__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--sp-5);
    margin-top: var(--sp-10);
}

.contact__mail {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-mono);
    color: var(--text-soft);
}

.contact__mail:hover {
    color: var(--accent);
}

.contact__note {
    margin-top: var(--sp-6);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--text-faint);
}


/* 13. FOOTER ================================================================ */
.site-footer {
    border-top: 1px solid var(--rule);
    background: var(--ink-1);
    padding-block: var(--sp-12) var(--sp-8);
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--sp-10);
    flex-wrap: wrap;
}

.site-footer__brand {
    max-width: 22rem;
    align-items: flex-start;
}

.site-footer__tagline {
    display: block;
    margin-top: var(--sp-4);
    color: var(--text-faint);
    font-size: var(--fs-sm);
}

.site-footer__links {
    display: flex;
    gap: var(--sp-12);
    flex-wrap: wrap;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.site-footer__col-title {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-2);
}

.site-footer__link {
    font-size: var(--fs-sm);
    color: var(--text-soft);
}

.site-footer__link:hover {
    color: var(--accent);
}

.site-footer__bottom {
    margin-top: var(--sp-12);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    gap: var(--sp-6);
    flex-wrap: wrap;
}

.site-footer__addresses,
.site-footer__copy {
    font-size: var(--fs-xs);
    color: var(--text-faint);
}


/* 14. KEYFRAMES + REDUCED MOTION =========================================== */
@keyframes tape {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes backlight {

    0%,
    100% {
        box-shadow:
            0 0.32em 0 -1px var(--accent-dim),
            0 0 22px var(--accent-glow),
            inset 0 1px 0 rgba(234, 240, 247, 0.08);
    }

    50% {
        box-shadow:
            0 0.32em 0 -1px var(--accent-dim),
            0 0 44px var(--accent-glow),
            inset 0 1px 0 rgba(234, 240, 247, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {

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

    .tape__track {
        animation: none;
    }

    .kbd-combo .keycap--accent {
        animation: none;
    }
}
