:root {
    --ink: #101113;
    --paper: #f4f4ee;
    --white: #ffffff;
    --acid: #d9ff43;
    --blue: #3144ff;
    --red: #ff4a32;
    --sky: #a9e8ff;
    --line: rgba(16, 17, 19, 0.18);
    --line-inverse: rgba(255, 255, 255, 0.22);
    --muted: #5f6269;
    --content: 1360px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --header-height: 92px;
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
address { font-style: normal; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

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

.section-dark { color: var(--white); background: var(--ink); }
.section-light { background: var(--paper); }
.section-accent { background: var(--acid); }

.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;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.8rem 1rem;
    color: var(--white);
    background: var(--blue);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

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

/* Header */
.site-header {
    position: absolute;
    z-index: 30;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: var(--ink);
    border-bottom: 1px solid rgba(16, 17, 19, 0.22);
}

.site-header.is-scrolled {
    position: fixed;
    background: rgba(244, 244, 238, 0.92);
    backdrop-filter: blur(18px);
    border-color: var(--line);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; }

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: var(--acid);
    background: var(--ink);
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-size: 0.82rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-name small { margin-top: 0.3rem; color: #65686e; font-size: 0.7rem; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem;
    color: var(--white);
    background: var(--ink);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
}

.site-nav > a { padding: 0.8rem 1rem; border-radius: 999px; }
.site-nav > a:not(.nav-cta):hover,
.site-nav > a[aria-current="page"] { color: var(--ink); background: var(--white); }
.site-nav .nav-cta { color: var(--ink); background: var(--acid); }
.site-nav .nav-cta:hover { background: var(--sky); }

.menu-toggle {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--ink);
    border: 0;
    border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: transform 180ms ease;
}

/* Shared controls */
.eyebrow,
.section-number {
    margin-bottom: 1.5rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.9rem 1.2rem;
    border: 2px solid currentColor;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button-dark,
.button-primary { color: var(--white); background: var(--ink); }
.button-dark:hover,
.button-primary:hover { color: var(--ink); background: var(--sky); }
.button-acid { color: var(--ink); background: var(--acid); }
.button-acid:hover { background: var(--sky); }
.button-light { color: var(--ink); background: var(--white); }
.button-ghost { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, 0.45); }

.text-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid currentColor;
    font-size: 0.86rem;
    font-weight: 800;
}

/* Home hero */
.hero {
    min-height: 820px;
    padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 5rem));
    padding-bottom: clamp(3rem, 6vw, 5rem);
    background: var(--acid);
}

.hero-grid {
    display: grid;
    min-height: 650px;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.8fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4.5rem);
}

.hero-copy { display: flex; justify-content: space-between; flex-direction: column; }

.hero-copy .eyebrow {
    width: fit-content;
    padding: 0.65rem 0.85rem;
    color: var(--white);
    background: var(--blue);
    border-radius: 999px;
}

.hero h1 {
    margin: 1rem 0 2rem;
    font-size: clamp(4.4rem, 8.9vw, 9.2rem);
    font-weight: 900;
    line-height: 0.75;
    letter-spacing: -0.09em;
    text-transform: uppercase;
}

.hero h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--ink);
}

.hero-bottom p { max-width: 590px; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; }

.hero-visual {
    position: relative;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    background: var(--ink);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    transform: rotate(1.2deg);
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(16, 17, 19, 0.82));
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-visual figcaption {
    position: absolute;
    z-index: 2;
    right: 1.35rem;
    bottom: 1.25rem;
    left: 1.35rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--white);
    font-family: "Courier New", Courier, monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.signal-strip { overflow: hidden; color: var(--white); background: var(--red); border-block: 2px solid var(--ink); }
.signal-strip div { width: max-content; padding-block: 0.95rem; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.12em; animation: ticker 22s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Home sections */
.intro { padding-block: clamp(7rem, 12vw, 12rem); background: var(--paper); }
.intro-grid,
.statement-grid { display: grid; grid-template-columns: 0.3fr 1fr; gap: clamp(2rem, 6vw, 7rem); }

.display-heading,
.about-statement h2 {
    max-width: 1050px;
    margin-bottom: 3rem;
    font-size: clamp(3.5rem, 7.6vw, 7.6rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.075em;
}

.large-copy { max-width: 760px; margin-left: auto; font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.4; }

.services-preview { padding-block: clamp(6rem, 9vw, 9rem); color: var(--white); background: var(--blue); }
.section-heading-row { display: grid; grid-template-columns: 0.3fr 1fr auto; align-items: end; gap: 2rem; margin-bottom: 3.5rem; }

.section-heading-row h2,
.approach h2,
.fit-section h2,
.location-section h2 {
    margin: 0;
    font-size: clamp(3.1rem, 6.2vw, 6.2rem);
    font-weight: 850;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.section-heading-row .section-number { margin: 0; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.service-row {
    display: flex;
    min-height: 440px;
    justify-content: space-between;
    flex-direction: column;
    gap: 2rem;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    transition: transform 220ms ease;
}

.service-row:nth-child(1) { background: var(--acid); }
.service-row:nth-child(3) { color: var(--white); background: var(--ink); border-color: var(--white); }
.service-row:hover { transform: translateY(-8px) rotate(-0.5deg); }

.service-index {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
}

.service-row > div { display: block; }
.service-row h3 { margin-bottom: 1.5rem; font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 850; line-height: 0.92; letter-spacing: -0.06em; }
.service-row p { margin: 0; opacity: 0.78; }

.approach { padding-block: clamp(7rem, 11vw, 11rem); background: var(--sky); }
.approach-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(4rem, 8vw, 9rem); }

.process-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 2px solid var(--ink);
    border-left: 2px solid var(--ink);
}

.process-list li {
    display: grid;
    min-height: 230px;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.process-list li > span { font-family: "Courier New", Courier, monospace; font-size: 0.78rem; font-weight: 800; }
.process-list h3 { margin-bottom: 0.7rem; font-size: 1.7rem; }
.process-list p { margin: 0; }

.home-contact { padding-block: clamp(6rem, 10vw, 10rem); color: var(--white); background: var(--ink); }
.home-contact-grid { display: grid; grid-template-columns: 0.25fr 1.2fr 0.55fr; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.home-contact h2 { margin: 0; font-size: clamp(4rem, 8vw, 8.5rem); font-weight: 850; line-height: 0.82; letter-spacing: -0.08em; }
.home-contact-grid > div:last-child p { margin-bottom: 2rem; color: #c8c9ce; }

/* Inner-page heroes */
.page-hero { position: relative; padding-top: calc(var(--header-height) + clamp(5rem, 9vw, 9rem)); padding-bottom: clamp(5rem, 8vw, 8rem); color: var(--ink); background: var(--acid); }
.route-about .page-hero { color: var(--white); background: var(--blue); }
.route-about .site-header:not(.is-scrolled) { color: var(--white); border-color: var(--line-inverse); }
.route-about .site-header:not(.is-scrolled) .brand-mark { color: var(--ink); background: var(--acid); }
.route-about .site-header:not(.is-scrolled) .brand-name small { color: #d9dcff; }
.page-hero-grid { display: grid; grid-template-columns: 0.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); }

.page-hero h1 {
    margin-bottom: 2.5rem;
    font-size: clamp(4.8rem, 10.5vw, 11rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.095em;
    text-transform: uppercase;
}

.page-hero h1 em,
.contact-page h1 em,
.error-section h1 em {
    color: transparent;
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
    -webkit-text-stroke: 2px currentColor;
}

.page-hero-grid > div > p { max-width: 660px; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; }

/* Services */
.service-detail { padding-block: clamp(4rem, 8vw, 8rem); background: var(--paper); }

.detail-row {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: clamp(3rem, 7vw, 8rem);
    margin-bottom: 1.25rem;
    padding: clamp(2rem, 4vw, 4rem);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.detail-row:nth-child(2) { color: var(--white); background: var(--blue); }
.detail-row:nth-child(3) { background: var(--acid); }
.detail-heading { display: grid; grid-template-columns: 50px 1fr; gap: 1.2rem; }
.detail-heading > span { font-family: "Courier New", Courier, monospace; font-weight: 800; }
.detail-heading h2 { margin: 0; font-size: clamp(3rem, 5.6vw, 5.9rem); font-weight: 850; line-height: 0.88; letter-spacing: -0.07em; }
.detail-copy .large-copy { margin: 0 0 2.5rem; }
.capability-list { margin: 0; padding: 0; list-style: none; }
.capability-list li { padding: 0.85rem 0; border-top: 1px solid currentColor; }

.fit-section { padding-block: clamp(6rem, 10vw, 10rem); color: var(--white); background: var(--red); }
.fit-grid { display: grid; grid-template-columns: 0.25fr 0.75fr 1fr; gap: 3rem; }
.fit-cards article { display: grid; grid-template-columns: 42px 1fr; column-gap: 1rem; padding-block: 1.5rem; border-top: 2px solid currentColor; }
.fit-cards article:last-child { border-bottom: 2px solid currentColor; }
.fit-cards span { grid-row: 1 / 3; font-family: "Courier New", Courier, monospace; font-size: 0.78rem; }
.fit-cards h3 { margin-bottom: 0.4rem; font-size: 1.35rem; }
.fit-cards p { margin: 0; }

/* About */
.about-statement { padding-block: clamp(7rem, 12vw, 12rem); background: var(--paper); }
.about-statement h2 { max-width: 980px; }
.principles { padding-bottom: clamp(7rem, 10vw, 10rem); background: var(--paper); }
.section-heading-row.compact { grid-template-columns: 0.3fr 1fr; color: var(--ink); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.principle-grid article {
    min-height: 320px;
    padding: clamp(1.7rem, 3vw, 3rem);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.principle-grid article:nth-child(2),
.principle-grid article:nth-child(3) { background: var(--sky); }
.principle-grid span { display: block; margin-bottom: 4rem; font-family: "Courier New", Courier, monospace; font-weight: 800; }
.principle-grid h3 { max-width: 390px; margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1; }
.principle-grid p { max-width: 430px; margin: 0; }

.location-section { padding-block: clamp(6rem, 10vw, 10rem); background: var(--acid); }
.location-grid { display: grid; grid-template-columns: 0.25fr 1fr auto; align-items: end; gap: 3rem; }
.location-section address { margin-top: 2rem; font-size: 1.1rem; }
.round-link { display: grid; width: 70px; height: 70px; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 1.5rem; }

/* Contact */
.contact-page { min-height: 820px; padding-top: calc(var(--header-height) + clamp(5rem, 9vw, 9rem)); padding-bottom: clamp(5rem, 8vw, 8rem); color: var(--white); background: var(--blue); }
.route-contact .site-header:not(.is-scrolled) { color: var(--white); border-color: var(--line-inverse); }
.route-contact .site-header:not(.is-scrolled) .brand-mark { color: var(--ink); background: var(--acid); }
.route-contact .site-header:not(.is-scrolled) .brand-name small { color: #d9dcff; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(4rem, 9vw, 9rem); }

.contact-page h1 {
    margin-bottom: 2rem;
    font-size: clamp(4.8rem, 9.8vw, 10rem);
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -0.095em;
    text-transform: uppercase;
}

.contact-intro { max-width: 620px; color: #d9dcff; font-size: 1.2rem; }
.contact-options { align-self: end; }

.contact-options > * {
    position: relative;
    display: block;
    margin-bottom: 0.75rem;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 18px;
}

.contact-options > *:nth-child(2) { background: var(--acid); }
.contact-options span { display: block; margin-bottom: 0.45rem; font-family: "Courier New", Courier, monospace; font-size: 0.75rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.contact-options strong { font-size: 1.05rem; font-style: normal; }
.contact-options i { position: absolute; top: 50%; right: 1.25rem; font-style: normal; transform: translateY(-50%); }

.contact-note { padding-block: clamp(6rem, 10vw, 10rem); background: var(--acid); }
.contact-note-grid { display: grid; grid-template-columns: 0.25fr 1fr; gap: 3rem; }
.contact-note h2 { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 850; line-height: 0.92; letter-spacing: -0.06em; }

/* Legal */
.legal-hero { padding-top: calc(var(--header-height) + 6rem); padding-bottom: 5rem; color: var(--white); background: var(--ink); }
.route-privacy .site-header:not(.is-scrolled),
.route-terms .site-header:not(.is-scrolled),
.error-page .site-header:not(.is-scrolled) { color: var(--white); border-color: var(--line-inverse); }
.route-privacy .site-header:not(.is-scrolled) .brand-mark,
.route-terms .site-header:not(.is-scrolled) .brand-mark,
.error-page .site-header:not(.is-scrolled) .brand-mark { color: var(--ink); background: var(--acid); }
.route-privacy .site-header:not(.is-scrolled) .brand-name small,
.route-terms .site-header:not(.is-scrolled) .brand-name small,
.error-page .site-header:not(.is-scrolled) .brand-name small { color: #b7b9bf; }
.legal-hero-grid { display: grid; grid-template-columns: 0.25fr 1fr; align-items: end; gap: 3rem; }
.legal-hero h1 { margin-bottom: 1rem; font-size: clamp(4rem, 8vw, 8rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.07em; }
.legal-hero-grid > div p { margin: 0; color: #aeb0b6; }

.legal-content { padding-block: clamp(5rem, 9vw, 9rem); background: var(--white); }
.legal-grid { display: grid; grid-template-columns: 0.28fr 1fr; gap: clamp(3rem, 8vw, 8rem); }

.legal-grid aside {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
    padding: 1.5rem;
    background: var(--acid);
    border: 2px solid var(--ink);
    border-radius: 18px;
}

.legal-grid aside p { font-family: "Courier New", Courier, monospace; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.legal-grid aside a { display: block; padding-block: 0.3rem; font-size: 0.9rem; }
.legal-grid article { max-width: 820px; }
.legal-grid article section { padding-block: 2.2rem; border-top: 2px solid var(--ink); }
.legal-grid h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.legal-grid p,
.legal-grid li { color: #44474d; }
.legal-grid a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Errors */
.error-section { display: grid; min-height: 100svh; place-items: center; padding-top: var(--header-height); color: var(--white); background: var(--ink); }
.error-inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }

.error-code {
    position: absolute;
    top: 50%;
    right: var(--gutter);
    margin: 0;
    color: transparent;
    font-size: clamp(12rem, 34vw, 33rem);
    font-weight: 900;
    line-height: 0.7;
    letter-spacing: -0.12em;
    -webkit-text-stroke: 2px rgba(217, 255, 67, 0.28);
    transform: translateY(-50%);
}

.error-section h1,
.error-section .eyebrow,
.error-section .button,
.error-section .error-inner > p:not(.error-code) { position: relative; z-index: 1; }
.error-section h1 { margin-bottom: 2rem; font-size: clamp(4.5rem, 9vw, 9rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.08em; text-transform: uppercase; }
.error-section .error-inner > p:not(.error-code):not(.eyebrow) { max-width: 520px; margin-bottom: 2rem; color: #c6c8cd; font-size: 1.1rem; }

/* Footer */
.site-footer { padding-top: clamp(5rem, 9vw, 9rem); color: var(--white); background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 0.22fr 1fr auto; align-items: end; gap: 2rem; padding-bottom: clamp(4rem, 8vw, 7rem); }

.footer-kicker {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    margin: 0;
    color: var(--ink);
    background: var(--red);
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 900;
}

.footer-top h2 { margin: 0; font-size: clamp(3.8rem, 7vw, 7.4rem); font-weight: 850; line-height: 0.84; letter-spacing: -0.07em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr 1fr; gap: 3rem; padding-block: 3rem; border-top: 1px solid var(--line-inverse); }
.brand-footer { margin-bottom: 1.25rem; }
.brand-footer .brand-mark { color: var(--ink); background: var(--acid); }
.brand-footer .brand-name small { color: #aeb0b6; }
.footer-brand > p { max-width: 340px; color: #aeb0b6; font-size: 0.9rem; }
.footer-label { margin-bottom: 1rem; color: #94969d; font-family: "Courier New", Courier, monospace; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }

.footer-grid > div:not(.footer-brand) a,
.footer-grid address a,
.text-button {
    display: block;
    width: fit-content;
    margin-bottom: 0.5rem;
    padding: 0;
    color: var(--white);
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 0.92rem;
}

.footer-grid a:hover,
.text-button:hover { color: var(--acid); }
.footer-grid address { color: #b8bac0; font-size: 0.92rem; }
.footer-grid address a { margin-top: 0.8rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 1.25rem; color: #83858c; border-top: 1px solid var(--line-inverse); font-family: "Courier New", Courier, monospace; font-size: 0.72rem; text-transform: uppercase; }
.footer-bottom p { margin: 0; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-left: 0.5rem; background: var(--acid); border-radius: 50%; }

/* Cookie notice */
.cookie-banner {
    position: fixed;
    z-index: 100;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    width: min(720px, calc(100% - 2.5rem));
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    padding: 1.25rem;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 22px;
    box-shadow: 10px 10px 0 var(--ink);
}

.cookie-banner[hidden] { display: none; }
.cookie-title { margin-bottom: 0.25rem; font-weight: 850; }
.cookie-banner > div > p:last-child { margin: 0; color: #55585e; font-size: 0.88rem; }
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 0.5rem; }
.cookie-actions .button { min-height: 44px; padding: 0.6rem 0.8rem; font-size: 0.68rem; }
.cookie-actions .button-ghost { color: var(--ink); border-color: var(--ink); }
.cookie-actions .button-primary { color: var(--ink); background: var(--acid); }

/* Motion */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 520ms ease, transform 520ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
    :root { --header-height: 78px; }
    .menu-toggle { display: block; }

    .site-nav {
        position: fixed;
        z-index: -1;
        inset: var(--header-height) 0 auto;
        height: calc(100svh - var(--header-height));
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem var(--gutter);
        visibility: hidden;
        opacity: 0;
        background: var(--ink);
        border-radius: 0;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav.is-open { z-index: 30; visibility: visible; opacity: 1; transform: none; }
    .site-nav > a { padding-block: 1rem; border-bottom: 1px solid var(--line-inverse); border-radius: 0; font-size: 1.45rem; }
    .site-nav > a:not(.nav-cta):hover,
    .site-nav > a[aria-current="page"] { color: var(--acid); background: transparent; }
    .site-nav .nav-cta { margin-top: 1.5rem; color: var(--ink); background: var(--acid); border: 0; border-radius: 999px; text-align: center; }
    .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { min-height: 610px; }
    .hero-visual { min-height: 580px; transform: none; }
    .service-list { grid-template-columns: 1fr; }
    .service-row { min-height: 320px; }
    .home-contact-grid,
    .fit-grid { grid-template-columns: 0.25fr 1fr; }
    .home-contact-grid > div:last-child,
    .fit-cards { grid-column: 2; }
    .footer-top { grid-template-columns: auto 1fr; }
    .footer-top .button { grid-column: 2; justify-self: start; }
    .footer-grid { grid-template-columns: 1.3fr 0.6fr 0.6fr; }
    .footer-grid address { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line-inverse); }
    .cookie-banner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --gutter: 1.15rem; --radius: 20px; }
    .brand-name small { display: none; }
    .brand-mark { width: 44px; height: 44px; }
    .hero { min-height: auto; padding-top: calc(var(--header-height) + 3rem); }
    .hero-copy { min-height: 520px; }
    .hero h1 { font-size: clamp(4rem, 22vw, 6.4rem); line-height: 0.78; }
    .hero-bottom { grid-template-columns: 1fr; align-items: start; }
    .hero-bottom .button { justify-self: start; }
    .hero-visual { min-height: 440px; }
    .hero-visual figcaption { align-items: flex-start; flex-direction: column; }

    .intro-grid,
    .statement-grid,
    .page-hero-grid,
    .legal-hero-grid,
    .legal-grid,
    .contact-note-grid,
    .location-grid,
    .home-contact-grid,
    .fit-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .display-heading,
    .about-statement h2 { font-size: clamp(3.1rem, 15vw, 5.4rem); }
    .large-copy { margin-left: 0; }
    .section-heading-row,
    .section-heading-row.compact { grid-template-columns: 1fr; }
    .section-heading-row h2,
    .approach h2,
    .fit-section h2,
    .location-section h2 { font-size: clamp(3rem, 14vw, 5rem); }
    .service-row { min-height: 360px; }
    .approach-grid,
    .detail-row,
    .contact-grid { grid-template-columns: 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .home-contact-grid > div:last-child,
    .fit-cards { grid-column: auto; }
    .home-contact h2 { font-size: clamp(4rem, 20vw, 6rem); }
    .page-hero h1,
    .contact-page h1,
    .error-section h1 { font-size: clamp(4rem, 20vw, 6.8rem); }
    .detail-row { padding: 1.5rem; }
    .detail-heading { grid-template-columns: 34px 1fr; }
    .principle-grid { grid-template-columns: 1fr; }
    .principle-grid article { min-height: 260px; }
    .legal-grid aside { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-top .button { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand,
    .footer-grid address { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
    .cookie-banner { right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); padding: 1rem; box-shadow: 6px 6px 0 var(--ink); }
    .cookie-actions { align-items: stretch; flex-direction: column-reverse; }
    .error-code { right: 1rem; font-size: 13rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
