/* ==========================================================================
   INECTIO — "Connected Precision" design system
   Brand colours from the INECTIO logo (#D51A2D) with ink, charcoal and white.
   ========================================================================== */

/* ---------- Fonts (Geist, SIL OFL 1.1 — see /fonts/OFL.txt) ---------- */
@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Geist";
    src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Geist Mono";
    src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    --red: #D51A2D;
    --red-hover: #B71526;
    --red-ink: #A3111F;
    --red-bright: #FF4A5B;
    --red-tint: rgba(213, 26, 45, .14);

    --ink: #0B0B0D;
    --ink-2: #121215;
    --ink-3: #1A1A1E;
    --ink-4: #26262B;
    --on-dark: #F5F5F6;
    --on-dark-2: #ABABB2;
    --on-dark-3: #7E7E86;
    --line-dark: rgba(255, 255, 255, .1);
    --line-dark-2: rgba(255, 255, 255, .2);

    --text: #0B0B0D;
    --text-2: #45454B;
    --text-3: #67676E;
    --surface: #FFFFFF;
    --surface-2: #F4F4F5;
    --surface-3: #EBEBED;
    --line: #E2E2E5;
    --line-2: #CACACF;

    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

    --fs-display: clamp(2.375rem, 1.5rem + 3.4vw, 4.5rem);
    --fs-h1: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
    --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
    --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
    --fs-statement: clamp(1.625rem, 1.15rem + 1.9vw, 2.75rem);
    --fs-lead: clamp(1.125rem, 1.06rem + .3vw, 1.3125rem);
    --fs-body: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
    --fs-small: .9375rem;
    --fs-xs: .8125rem;
    --fs-mono: .75rem;

    --container: 1280px;
    --gutter: clamp(1.5rem, 4vw, 2.5rem);
    --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
    --header-h: 72px;
    --radius: 4px;
    --radius-lg: 8px;

    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --shadow: 0 1px 2px rgba(11, 11, 13, .05), 0 16px 40px -20px rgba(11, 11, 13, .25);
    --hatch: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 5px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
html.no-scroll { overflow: hidden; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.on-red :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.visually-hidden {
    position: absolute !important;
    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: .75rem; left: .75rem;
    z-index: 100;
    padding: .75rem 1rem;
    background: var(--red);
    color: #fff;
    font-weight: 500;
    border-radius: var(--radius);
    transform: translateY(-200%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

main:focus { outline: none; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section + .section:not(.section--alt):not(.section--dark) { border-top: 1px solid var(--line); }
.section--alt + .section, .section--dark + .section { border-top: 0; }

/* ---------- Typography ---------- */
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.032em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 40em; }
.statement { font-size: var(--fs-statement); line-height: 1.18; letter-spacing: -.03em; font-weight: 450; text-wrap: balance; }
.muted { color: var(--text-3); }
.on-dark .muted, .section--dark .muted { color: var(--on-dark-3); }
.on-dark .lead, .section--dark .lead { color: var(--on-dark-2); }

.mono, .mono-label {
    font-family: var(--mono);
    font-size: var(--fs-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 450;
}
.mono-label { color: var(--text-3); display: block; margin-bottom: .75rem; }
.on-dark .mono-label, .section--dark .mono-label { color: var(--on-dark-3); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55em;
    margin-bottom: 1.5rem;
    font-family: var(--mono);
    font-size: var(--fs-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-3);
}
.eyebrow__num { color: var(--text); font-weight: 500; }
.eyebrow__slash { color: var(--red); font-weight: 600; font-size: 1.15em; transform: skewX(-8deg); }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--on-dark-3); }
.on-dark .eyebrow__num, .section--dark .eyebrow__num { color: var(--on-dark); }
.on-dark .eyebrow__slash, .section--dark .eyebrow__slash { color: var(--red-bright); }

/* ---------- Buttons & links ---------- */
.btn {
    --btn-bg: var(--red);
    --btn-fg: #fff;
    --btn-bd: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 3.125rem;
    padding: .8rem 1.35rem;
    border: 1px solid var(--btn-bd);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.005em;
    white-space: nowrap;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .icon { width: 1.125rem; height: 1.125rem; transition: transform .3s var(--ease-out); }
.btn:hover { --btn-bg: var(--red-hover); --btn-bd: var(--red-hover); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover .icon--external { transform: translate(2px, -2px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2); }
.btn--secondary:hover { --btn-bg: transparent; --btn-bd: var(--text); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: var(--line-dark-2); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: var(--on-dark); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--surface-3); --btn-bd: var(--surface-3); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 2px;
    transition: background-size .35s var(--ease-out), color .2s;
}
.link-arrow .icon { width: 1.05rem; height: 1.05rem; color: var(--red); transition: transform .3s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .icon, *:hover > .link-arrow .icon { transform: translateX(4px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--on-dark); }
.on-dark .link-arrow .icon, .section--dark .link-arrow .icon { color: var(--red-bright); }

/* Stretched link: the whole card is clickable while markup stays semantic. */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-2);
    line-height: 1.2;
}
.tag--red { border-color: var(--red); color: var(--red-ink); }
.on-dark .tag, .section--dark .tag { border-color: var(--line-dark-2); color: var(--on-dark-2); }
.on-dark .tag--red, .section--dark .tag--red { border-color: var(--red-bright); color: var(--red-bright); }
.tag--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: var(--on-dark);
    transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), box-shadow .3s var(--ease);
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--line-dark);
    transition: background-color .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, .97);
    color: var(--text);
}
@supports (backdrop-filter: blur(1px)) {
    .site-header.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header.is-scrolled::after, .site-header.is-open::after { background: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { background: var(--ink); color: var(--on-dark); backdrop-filter: none; }
.site-header.menu-open::after { background: var(--line-dark); }

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; position: relative; z-index: 2; }
.brand img { height: 26px; width: auto; }
.brand__logo--red { display: none; }
.is-scrolled .brand__logo--red, .is-open .brand__logo--red { display: block; }
.is-scrolled .brand__logo--white, .is-open .brand__logo--white { display: none; }
.menu-open .brand__logo--red { display: none; }
.menu-open .brand__logo--white { display: block; }

.nav { margin-left: clamp(1rem, 3vw, 3rem); display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: var(--header-h);
    padding-inline: .8rem;
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: -.005em;
    opacity: .92;
    transition: opacity .2s;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .8rem; right: .8rem; bottom: -1px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
    z-index: 1;
}
.nav__link:hover, .nav__link[aria-current], .nav__link[aria-expanded="true"] { opacity: 1; }
.nav__link:hover::after, .nav__link.is-current::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link.is-current { opacity: 1; }
.nav__link .icon { width: .9rem; height: .9rem; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.utility-link {
    display: none;
    align-items: center;
    gap: .35rem;
    padding: .5rem .75rem;
    font-size: .875rem;
    font-weight: 500;
    opacity: .85;
    transition: opacity .2s;
}
.utility-link:hover { opacity: 1; }
.utility-link .icon { width: .9rem; height: .9rem; }
.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius);
    transition: background-color .2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, .14); }
.header-cta { display: none; margin-left: .5rem; }

.menu-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
}
.menu-toggle__bar {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 1.5px;
    margin-left: -10px;
    background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__bar:nth-child(1) { top: calc(50% - 4px); }
.menu-toggle__bar:nth-child(2) { top: calc(50% + 3px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { top: 50%; transform: rotate(-45deg); }

@media (min-width: 960px) {
    .nav { display: block; }
    .header-cta { display: inline-flex; }
    .menu-toggle { display: none; }
}
@media (min-width: 1180px) {
    .utility-link { display: inline-flex; }
}

/* Mega panel (one compact panel per menu, as specified in the blueprint) */
.mega {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(11, 11, 13, .35);
    animation: mega-in .32s var(--ease-out);
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
.mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 6fr) minmax(0, 3fr);
    gap: 3rem;
    padding-block: 2.5rem 3rem;
}
.mega__intro p { color: var(--text-2); font-size: var(--fs-small); margin: .75rem 0 1.25rem; max-width: 26em; }
.mega__intro .mega__title { font-size: 1.5rem; color: var(--text); margin: 0; letter-spacing: -.025em; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; align-content: start; }
.mega__item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .25rem 1rem;
    padding: 1rem;
    margin-inline: -1rem;
    border-radius: var(--radius);
    transition: background-color .2s;
}
.mega__item:hover { background: var(--surface-2); }
.mega__item-num { font-family: var(--mono); font-size: var(--fs-mono); color: var(--red); padding-top: .2rem; }
.mega__item-title { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.mega__item-text { grid-column: 2; color: var(--text-3); font-size: .875rem; line-height: 1.45; }
.mega__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--ink);
    color: var(--on-dark);
    border-radius: var(--radius);
    overflow: hidden;
}
.mega__feature .glyph { color: var(--on-dark-2); max-height: 110px; }
.mega__feature > span { display: grid; gap: .25rem; }
.mega__feature .mono-label { color: var(--on-dark-3); margin-bottom: .25rem; }
.mega__feature-title { display: block; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }
.mega__feature .link-arrow { color: var(--on-dark); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 49;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink);
    color: var(--on-dark);
    padding-block: 1.5rem 3rem;
    animation: menu-in .35s var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; } }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -.02em;
    text-align: left;
}
.mobile-menu__link .icon { width: 1.1rem; height: 1.1rem; color: var(--on-dark-3); transition: transform .3s var(--ease); }
.mobile-menu__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__sub { padding-bottom: 1rem; }
.mobile-menu__sub a { display: flex; gap: .9rem; padding: .6rem 0; color: var(--on-dark-2); }
.mobile-menu__sub a:hover { color: var(--on-dark); }
.mobile-menu__sub span { font-family: var(--mono); font-size: var(--fs-mono); color: var(--red-bright); padding-top: .3rem; }
.mobile-menu__foot { display: grid; gap: 1rem; margin-top: 2rem; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__contact { margin-top: 1.5rem; color: var(--on-dark-3); font-size: var(--fs-small); display: grid; gap: .35rem; }

/* Search dialog */
.search-dialog {
    width: min(720px, calc(100% - 2rem));
    max-width: none;
    margin: 12vh auto auto;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.search-dialog::backdrop { background: rgba(11, 11, 13, .7); backdrop-filter: blur(4px); }
.search-dialog[open] { animation: mega-in .3s var(--ease-out); }
.search-form { display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.search-form .icon { color: var(--text-3); width: 1.4rem; height: 1.4rem; }
.search-form input {
    flex: 1;
    min-width: 0;
    height: 3rem;
    border: 0;
    background: transparent;
    font-size: 1.25rem;
    letter-spacing: -.01em;
    outline: none;
}
.search-dialog__hints { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.search-dialog__hints .mono-label { margin: 0 .5rem 0 0; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: .4rem .8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .875rem;
    color: var(--text-2);
    transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--text); color: var(--text); }
kbd {
    font-family: var(--mono);
    font-size: .6875rem;
    padding: .15rem .4rem;
    border: 1px solid var(--line-2);
    border-bottom-width: 2px;
    border-radius: 3px;
    color: var(--text-3);
}

/* ---------- Home hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: var(--on-dark);
}
.hero__bg, .page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 75% 75% at 70% 40%, #000 15%, transparent 72%);
}
.hero--home {
    display: flex;
    flex-direction: column;
    min-height: max(660px, min(100svh, 960px));
    padding-top: var(--header-h);
}
.hero__layout {
    flex: 1;
    display: grid;
    align-items: center;
    gap: 2rem;
    padding-block: clamp(2.5rem, 6vh, 5rem) 2rem;
}
.hero__title { font-size: var(--fs-display); line-height: 1.0; letter-spacing: -.045em; font-weight: 500; }
.hero__line { display: block; }
.hero__dot { color: var(--red); }
.hero__lead { margin-top: 1.75rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark-2); max-width: 33em; }
.hero__actions { margin-top: 2.5rem; }
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 2.5rem;
    padding-block: 1.25rem 1.5rem;
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-3);
}
.hero__meta li { display: flex; align-items: center; gap: .6rem; }
.hero__meta li::before { content: ""; width: 5px; height: 5px; background: var(--red-bright); transform: skewX(-12deg); }
.hero__meta .hero__coords { margin-left: auto; }
.hero__meta .hero__coords::before { display: none; }

/* Entrance — CSS only, never blocks content */
@media (prefers-reduced-motion: no-preference) {
    .hero__text > * { animation: rise 1s var(--ease-out) both; }
    .hero__text > :nth-child(2) { animation-delay: .08s; }
    .hero__text > :nth-child(3) { animation-delay: .16s; }
    .hero__text > :nth-child(4) { animation-delay: .24s; }
    .hero-art { animation: fade 1.6s .2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }

/* Hero art: distinct systems converging into one operational workflow */
.hero-art { position: relative; height: 300px; margin-inline: calc(var(--gutter) * -1); pointer-events: none; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ha-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ha-pulse {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 2.5 97.5;
    stroke-dashoffset: 100;
    vector-effect: non-scaling-stroke;
    opacity: .85;
    animation: ha-flow 6s linear infinite;
}
.ha-pulse:nth-child(2) { animation-duration: 7.2s; animation-delay: -2.1s; }
.ha-pulse:nth-child(3) { animation-duration: 5.4s; animation-delay: -4.3s; }
.ha-pulse:nth-child(4) { animation-duration: 6.6s; animation-delay: -1.2s; }
.ha-pulse:nth-child(5) { animation-duration: 5.8s; animation-delay: -3.6s; }
.ha-pulse:nth-child(6) { animation-duration: 7.6s; animation-delay: -5.2s; }
.ha-pulse:nth-child(7) { animation-duration: 6.2s; animation-delay: -.6s; }
@keyframes ha-flow { to { stroke-dashoffset: 0; } }
.ha-node { fill: var(--ink); stroke: rgba(255, 255, 255, .55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ha-label { fill: var(--on-dark-3); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; }
.ha-label--hub { fill: var(--on-dark-2); }
.ha-label--out { fill: var(--red-bright); }
.ha-out { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ha-out-pulse {
    fill: none;
    stroke: #FF8A95;
    stroke-width: 2.5;
    stroke-dasharray: 6 94;
    stroke-dashoffset: 100;
    vector-effect: non-scaling-stroke;
    animation: ha-flow 3.4s linear infinite;
}
.ha-hub { fill: var(--red); }
.ha-hub-glow { fill: var(--red); opacity: .18; transform-origin: 440px 320px; animation: ha-breathe 4s var(--ease) infinite; }
.ha-hub-ring { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; transform-origin: 440px 320px; animation: ha-spin 40s linear infinite; }
.ha-hub-frame { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ha-tick { stroke: rgba(255, 255, 255, .3); stroke-width: 1; vector-effect: non-scaling-stroke; }
@keyframes ha-spin { to { transform: rotate(360deg); } }
@keyframes ha-breathe { 50% { transform: scale(1.6); opacity: .06; } }
.ha-labels { display: none; }

@media (min-width: 640px) {
    .hero-art { height: 380px; }
}
@media (min-width: 1000px) {
    .hero__layout { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0; }
    .hero-art { height: min(640px, 70vh); margin: 0 calc(var(--gutter) * -1) 0 0; }
    .ha-labels { display: block; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: var(--on-dark);
    padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem));
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: min(28vw, 320px);
    height: 3px;
    background: var(--red);
}
.page-hero--compact { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); }
.page-hero__title { font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; max-width: 18ch; }
.page-hero__lead { margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--on-dark-2); max-width: 38em; line-height: 1.55; }
.page-hero__actions { margin-top: 2.25rem; }
.page-hero__art { color: var(--on-dark-2); max-width: 520px; width: 100%; justify-self: end; }
.page-hero__art .glyph { width: 100%; }
@media (min-width: 1000px) {
    .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .page-hero__text > *, .page-hero .breadcrumbs { animation: rise .9s var(--ease-out) both; }
    .page-hero__text > :nth-child(2) { animation-delay: .06s; }
    .page-hero__text > :nth-child(3) { animation-delay: .12s; }
    .page-hero__text > :nth-child(4) { animation-delay: .18s; }
    .page-hero__art { animation: fade 1.4s .25s var(--ease) both; }
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.breadcrumbs li + li::before { content: "/"; color: var(--red-bright); margin: 0 .7em; font-weight: 600; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs [aria-current] { color: var(--on-dark-2); }

/* ---------- Section heads ---------- */
.section-head {
    display: grid;
    gap: 1.5rem 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head__aside { display: grid; gap: 1.25rem; justify-items: start; align-content: end; }
.section-head__aside p { color: var(--text-2); max-width: 32em; }
.section--dark .section-head__aside p { color: var(--on-dark-2); }
@media (min-width: 900px) {
    .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

/* ---------- Vision ---------- */
.vision__grid { display: grid; gap: 2.5rem; }
.vision__quote { font-size: clamp(1.75rem, 1.05rem + 2.75vw, 3.6rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.vision__quote p { display: inline; }
.vision__mark { color: var(--red); }
.vision__quote .w { transition: color .5s var(--ease); }
.vision__quote.is-split .w { color: var(--line-2); }
.vision__quote.is-split .w.on { color: var(--text); }
.vision__aside { display: grid; gap: 1.5rem; align-content: start; justify-items: start; color: var(--text-2); }
.vision__aside p { max-width: 34em; }
.vision__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 1000px) {
    .vision__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 4rem; row-gap: 3.5rem; }
    .vision__grid > .eyebrow { padding-top: 1.1rem; align-self: start; }
    .vision__aside { grid-column: 2; grid-template-columns: 1fr auto; align-items: end; column-gap: 4rem; }
}

/* ---------- Solution cards ---------- */
.sol-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sol-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--surface);
    transition: background-color .3s var(--ease);
}
.sol-card::before {
    content: "";
    position: absolute;
    left: -1px; right: -1px; top: -1px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}
.sol-card:hover::before, .sol-card:focus-within::before { transform: scaleX(1); }
.sol-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--text-3); }
.sol-card__top .icon { color: var(--red); transition: transform .35s var(--ease-out); }
.sol-card:hover .sol-card__top .icon { transform: translate(3px, -3px); }
.sol-card__glyph { color: var(--text-2); margin-block: .5rem 1rem; }
.sol-card__glyph .glyph { width: 100%; max-width: 360px; height: auto; }
.sol-card__title { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.025em; }
.sol-card__text { color: var(--text-2); max-width: 32em; }
.sol-card .link-arrow { margin-top: .75rem; }
.section--alt .sol-card { background: var(--surface); }
@media (min-width: 760px) {
    .sol-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
    .sol-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Compact cards (related content) */
.mini-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mini-card { position: relative; display: grid; gap: .75rem; align-content: start; padding: 1.75rem; background: var(--surface); transition: background-color .25s; }
.mini-card:hover { background: var(--surface-2); }
.mini-card__num { font-family: var(--mono); font-size: var(--fs-mono); color: var(--red-ink); letter-spacing: .1em; text-transform: uppercase; }
.mini-card__title { font-size: 1.1875rem; letter-spacing: -.02em; }
.mini-card__text { color: var(--text-3); font-size: var(--fs-small); }
@media (min-width: 760px) { .mini-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } .mini-grid--2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Integration story ---------- */
.story__note { margin-bottom: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.flow { position: relative; display: grid; gap: 2.5rem; counter-reset: flow; }
.flow::before {
    content: "";
    position: absolute;
    left: 31px; top: 32px; bottom: 32px;
    width: 1px;
    background: var(--line-dark-2);
}
.flow__stage { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 1.5rem; }
.flow__stage > :not(.flow__node) { grid-column: 2; }
.flow__node {
    grid-row: 1 / span 5;
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line-dark-2);
    background: var(--ink-2);
    color: var(--on-dark);
    border-radius: 2px;
}
.flow__node .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.flow__node--inectio { border-color: var(--red); color: var(--red-bright); box-shadow: 0 0 0 6px var(--red-tint); }
.flow__node--partner { border-style: dashed; border-color: rgba(255, 255, 255, .45); }
.flow__node--customer { color: var(--on-dark-2); }
.flow__node--customer::before { content: ""; position: absolute; inset: 0; color: rgba(255, 255, 255, .07); background: var(--hatch); }
.flow__index { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .12em; color: var(--on-dark-3); text-transform: uppercase; padding-top: .2rem; }
.flow__title { font-size: 1.5rem; margin-top: .35rem; }
.flow__sub { color: var(--on-dark-2); font-size: var(--fs-small); margin-top: .25rem; }
.flow__text { color: var(--on-dark-2); margin-top: .9rem; font-size: var(--fs-small); line-height: 1.6; max-width: 30em; }
.owners { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.owner { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.owner::before { content: ""; width: 10px; height: 10px; flex: none; }
.owner--inectio::before { background: var(--red); }
.owner--partner::before { border: 1px dashed rgba(255, 255, 255, .6); }
.owner--customer::before { color: rgba(255, 255, 255, .5); background: var(--hatch); border: 1px solid rgba(255, 255, 255, .25); }
.legend { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
@media (min-width: 1000px) {
    .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
    .flow::before {
        left: 32px; right: 0; top: 32px; bottom: auto;
        width: auto; height: 1px;
        background-color: var(--line-dark-2);
        background-image: linear-gradient(90deg, transparent, var(--red-bright) 45%, #fff 50%, var(--red-bright) 55%, transparent);
        background-size: 18% 100%;
        background-repeat: no-repeat;
        background-position: -30% 0;
        animation: flow-run 5s var(--ease) infinite;
    }
    .flow__stage { grid-template-columns: 1fr; }
    .flow__stage > :not(.flow__node) { grid-column: 1; }
    .flow__node { grid-row: auto; margin-bottom: 1.5rem; }
}
@keyframes flow-run { 0% { background-position: -30% 0; } 70%, 100% { background-position: 130% 0; } }

/* ---------- Proof / case study ---------- */
.proof { display: grid; gap: 3rem; }
.proof__intro { display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.proof__intro p { color: var(--text-2); max-width: 30em; }
@media (min-width: 1000px) {
    .proof { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; }
    .proof__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.case-feature {
    position: relative;
    display: grid;
    gap: 2rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--ink);
    color: var(--on-dark);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
}
.case-feature::before {
    content: "";
    position: absolute;
    right: -10%; top: -40%;
    width: 60%; height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .03));
    transform: skewX(-12deg);
    z-index: -1;
}
.case-feature__top { display: flex; flex-wrap: wrap; gap: .5rem; }
.case-feature__title { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); letter-spacing: -.03em; max-width: 18em; }
.case-feature__title a { transition: color .2s; }
.case-feature:hover .case-feature__title a { color: #fff; }
.case-feature .link-arrow { justify-self: start; }
.case-feature__body { display: grid; gap: 1.75rem; }
.case-feature__body p { color: var(--on-dark-2); font-size: var(--fs-small); line-height: 1.65; }
@media (min-width: 760px) { .case-feature__body { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }

.datasheet { display: grid; border-top: 1px solid var(--line); }
.datasheet > div { display: grid; grid-template-columns: minmax(7.5rem, 2fr) 5fr; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.datasheet dt { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .2rem; }
.datasheet dd { font-size: var(--fs-small); }
.on-dark .datasheet, .on-dark .datasheet > div, .case-feature .datasheet, .case-feature .datasheet > div { border-color: var(--line-dark); }
.on-dark .datasheet dt, .case-feature .datasheet dt { color: var(--on-dark-3); }

/* ---------- Delivery steps ---------- */
.steps { display: grid; gap: 0 2rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 0 2rem; border-top: 1px solid var(--line-2); }
.step::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -1px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s var(--ease-out);
    transition-delay: inherit;
}
.step.is-visible::before, html:not(.js-reveal) .step::before { transform: scaleX(1); }
.step__num { display: block; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; color: var(--red-ink); margin-bottom: 1.25rem; }
.step__title { font-size: 1.25rem; margin-bottom: .6rem; }
.step__text { color: var(--text-2); font-size: var(--fs-small); line-height: 1.55; }
.steps-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.steps-foot p { color: var(--text-3); font-size: var(--fs-small); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 0 1.5rem; } }

/* ---------- Insights ---------- */
.insight-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 760px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .9rem; align-content: start; }
.insight-card__media { aspect-ratio: 16 / 10; background: var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: .5rem; }
.insight-card__media .cover { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.insight-card:hover .insight-card__media .cover { transform: scale(1.04); }
.insight-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.insight-card__meta span:first-child { color: var(--red-ink); }
.insight-card__title { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.02em; }
.insight-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.insight-card:hover .insight-card__title a { background-size: 100% 1px; }
.insight-card__text { color: var(--text-2); font-size: var(--fs-small); }
.insight-card__foot { font-size: var(--fs-xs); color: var(--text-3); }
.insight-card--feature { gap: 1.25rem; }
@media (min-width: 1100px) {
    .insight-card--feature { grid-column: 1 / -1; grid-template-columns: 7fr 5fr; grid-template-rows: auto; column-gap: 3rem; align-items: center; }
    .insight-card--feature .insight-card__media { grid-row: 1 / span 5; margin: 0; }
    .insight-card--feature .insight-card__title { font-size: 2rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--red);
    color: #fff;
    padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}
.cta-band::before, .cta-band::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    z-index: -1;
    transform: skewX(-12deg);
}
.cta-band::before { right: 8%; width: 34%; background: rgba(0, 0, 0, .12); }
.cta-band::after { right: calc(8% + 34% + 3rem); width: 2px; background: rgba(255, 255, 255, .22); }
.cta-band__inner { display: grid; gap: 2.5rem; align-items: end; }
.cta-band .eyebrow { color: rgba(255, 255, 255, .78); }
.cta-band .eyebrow__slash { color: #fff; }
.cta-band__title { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.035em; max-width: 14ch; }
.cta-band__text { margin-top: 1.25rem; max-width: 32em; color: rgba(255, 255, 255, .88); font-size: var(--fs-lead); }
.routes { display: grid; gap: .75rem; }
.route {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .25rem 1.5rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.route:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.route__label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.route__title { grid-column: 1; font-size: 1.1875rem; font-weight: 500; letter-spacing: -.015em; }
.route .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--red); width: 1.4rem; height: 1.4rem; transition: transform .35s var(--ease-out); }
.route:hover .icon { transform: translateX(4px); }
.route:hover .icon--external { transform: translate(3px, -3px); }
.route--quiet { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.route--quiet .route__label { color: rgba(255, 255, 255, .75); }
.route--quiet .icon { color: #fff; }
.route--quiet:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
@media (min-width: 1000px) {
    .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: var(--fs-small); padding-top: clamp(4rem, 6vw, 6rem); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer__top { display: grid; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__top .brand img { height: 30px; }
.site-footer__vision { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.3; letter-spacing: -.02em; color: var(--on-dark); max-width: 26em; font-weight: 450; }
.site-footer__vision::before { content: "“"; color: var(--red-bright); }
.site-footer__vision::after { content: "”"; color: var(--red-bright); }
.site-footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 3rem; }
.footer-heading { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 450; margin-bottom: 1.25rem; }
.site-footer__grid ul { display: grid; gap: .65rem; }
.site-footer__contact { grid-column: 1 / -1; display: grid; gap: .65rem; }
.site-footer__contact address { color: var(--on-dark-2); line-height: 1.6; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer__contact .icon { width: 1rem; height: 1rem; color: var(--on-dark-3); }
.site-footer__certs { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); }
.cert-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .85rem; border: 1px solid var(--line-dark-2); border-radius: 2px; color: var(--on-dark); font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.cert-pill .icon { width: .95rem; height: .95rem; color: var(--red-bright); }
.cert-pill:hover { border-color: var(--on-dark-2); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-3); font-size: var(--fs-xs); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__social { display: flex; gap: .25rem; margin-left: auto; }
.site-footer__social a { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-dark); border-radius: 50%; }
.site-footer__social a:hover { border-color: var(--on-dark-2); }
.site-footer__social .icon { width: 1rem; height: 1rem; }
@media (min-width: 900px) {
    .site-footer__top { grid-template-columns: auto 1fr; align-items: start; gap: 4rem; }
    .site-footer__top .site-footer__vision { justify-self: end; text-align: right; }
    .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); }
    .site-footer__contact { grid-column: auto; }
}

/* ---------- Detail pages ---------- */
.detail { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 6rem); }
.toc { display: none; }
@media (min-width: 1100px) {
    .detail { grid-template-columns: 220px minmax(0, 1fr); gap: 6rem; }
    .toc { display: block; position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
}
.toc ol { display: grid; border-left: 1px solid var(--line); }
.toc a {
    display: block;
    margin-left: -1px;
    padding: .5rem 0 .5rem 1.1rem;
    border-left: 2px solid transparent;
    color: var(--text-3);
    font-size: .875rem;
    transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--text); }
.toc a[aria-current] { color: var(--text); border-left-color: var(--red); }
.toc .mono-label { margin-bottom: 1rem; }

.d-section { padding-block: clamp(2.5rem, 4vw, 3.75rem); border-top: 1px solid var(--line); }
.d-section:first-child { border-top: 0; padding-top: 0; }
.d-section__label { display: flex; gap: .75rem; align-items: center; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.25rem; }
.d-section__label span { color: var(--red); }
.d-section__title { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -.03em; margin-bottom: 1.75rem; max-width: 22em; }
.d-section > p { color: var(--text-2); max-width: 42em; }
.d-section > p + p { margin-top: 1rem; }
.d-section .statement { color: var(--text); max-width: 30em; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.3; letter-spacing: -.022em; }
.d-section .btn-row { margin-top: 1.75rem; gap: 1rem 2rem; }
.d-section .checklist { max-width: 44em; }

.detail__aside { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 1100px) {
    .detail__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
}
.detail__aside .datasheet > div { grid-template-columns: 1fr; gap: .25rem; }

.audience { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.audience li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem; background: var(--surface); }
.audience li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; flex: none; background: var(--red); transform: skewX(-12deg); }
@media (min-width: 760px) { .audience { grid-template-columns: 1fr 1fr; } }

.feature-grid { display: grid; gap: 0 3rem; counter-reset: feat; }
.feature { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding-block: 1.5rem; border-top: 1px solid var(--line); counter-increment: feat; }
.feature::before { content: counter(feat, decimal-leading-zero); grid-row: 1 / span 2; padding-top: .4rem; font-family: var(--mono); font-size: var(--fs-mono); color: var(--red); letter-spacing: .08em; }
.feature__title { font-size: 1.1875rem; letter-spacing: -.015em; }
.feature__text { color: var(--text-2); margin-top: .6rem; font-size: var(--fs-small); }
@media (min-width: 760px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

.wf { display: grid; gap: 0; counter-reset: wf; }
.wf__step { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1.25rem; padding-bottom: 1.75rem; counter-increment: wf; }
.wf__step::before {
    content: counter(wf);
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 2.5rem; height: 2.5rem;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--surface);
    font-family: var(--mono);
    font-size: .8125rem;
    position: relative;
    z-index: 1;
}
.wf__step::after { content: ""; position: absolute; left: calc(1.25rem - .5px); top: 2.5rem; bottom: 0; width: 1px; background: var(--line-2); }
.wf__step:last-child::after { display: none; }
.wf__step:last-child::before { background: var(--red); border-color: var(--red); color: #fff; }
.wf__title { font-weight: 500; font-size: 1.0625rem; padding-top: .45rem; }
.wf__text { color: var(--text-3); font-size: var(--fs-small); margin-top: .3rem; }
.wf-note { margin-top: .5rem; }
@media (min-width: 900px) {
    .wf { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
    .wf__step { grid-template-columns: 1fr; padding-bottom: 0; }
    .wf__step::before { grid-row: auto; margin-bottom: 1.25rem; }
    .wf__step::after { left: 2.5rem; right: -1.5rem; top: 1.25rem; bottom: auto; width: auto; height: 1px; }
}

.boundaries { display: grid; gap: 1rem; }
.boundary { padding: 1.75rem; border: 1px solid var(--line); border-top-width: 3px; background: var(--surface); }
.boundary--inectio { border-top-color: var(--red); }
.boundary--partner { border-top-color: var(--text-3); border-top-style: dashed; }
.boundary--customer { border-top-color: var(--line-2); }
.boundary__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.boundary__head::before { content: ""; width: 12px; height: 12px; flex: none; }
.boundary--inectio .boundary__head::before { background: var(--red); }
.boundary--partner .boundary__head::before { border: 1px dashed var(--text-2); }
.boundary--customer .boundary__head::before { color: var(--text-3); background: var(--hatch); border: 1px solid var(--line-2); }
.boundary__title { font-size: 1.0625rem; font-weight: 500; }
.boundary ul { display: grid; gap: .6rem; }
.boundary li { position: relative; padding-left: 1.25rem; color: var(--text-2); font-size: var(--fs-small); }
.boundary li::before { content: ""; position: absolute; left: 0; top: .72em; width: .6rem; height: 1px; background: var(--text-3); }
@media (min-width: 900px) { .boundaries { grid-template-columns: repeat(3, 1fr); } }

.note {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface-2);
    border-left: 2px solid var(--red);
    color: var(--text-2);
    font-size: var(--fs-small);
    max-width: 52em;
}
.note .icon { color: var(--red); margin-top: .15rem; }

.case-teaser {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: 2rem;
    background: var(--ink);
    color: var(--on-dark);
    border-radius: var(--radius);
}
.case-teaser__title { font-size: 1.5rem; letter-spacing: -.025em; }
.case-teaser p { color: var(--on-dark-2); font-size: var(--fs-small); max-width: 40em; }

.practice-list { display: grid; }
.practice { display: grid; gap: .5rem 3rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.practice:last-child { border-bottom: 1px solid var(--line); }
.practice__num { font-family: var(--mono); font-size: var(--fs-mono); color: var(--red); letter-spacing: .1em; }
.practice__title { font-size: 1.3125rem; letter-spacing: -.02em; }
.practice__text { color: var(--text-2); max-width: 36em; }
@media (min-width: 900px) { .practice { grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; } }

.checklist { display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.checklist .icon { color: var(--red); margin-top: .2rem; width: 1.1rem; height: 1.1rem; stroke-width: 2; }
@media (min-width: 760px) { .checklist--2 { grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; } }

.split { display: grid; gap: 2.5rem; }
.split > .eyebrow { align-self: start; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } .split--even { grid-template-columns: 1fr 1fr; } }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.article-meta span:first-child { color: var(--red-bright); }
.article-meta--light { margin: 0 0 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); color: var(--text-3); }
.article-meta--light > :first-child { color: var(--text); }
.article-meta--light span:first-child { color: inherit; }
.article-layout { display: grid; gap: 3rem; padding-block: clamp(3rem, 6vw, 5.5rem); }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 6rem; } .article-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.prose { max-width: 42rem; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.7; color: var(--text-2); }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { color: var(--text); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.025em; line-height: 1.2; margin-top: 2.2em; }
.prose h3 { color: var(--text); font-size: 1.25rem; margin-top: 1.8em; }
.prose p:first-child { font-size: 1.15em; color: var(--text); line-height: 1.6; }
.prose ul { display: grid; gap: .65em; margin-top: 1em; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .7rem; height: 2px; background: var(--red); }
.prose blockquote { margin-block: 2em; padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--red); font-size: 1.3em; line-height: 1.4; letter-spacing: -.02em; color: var(--text); font-weight: 450; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--text); font-weight: 600; }
.article-aside { display: grid; gap: 1.5rem; align-content: start; }
.aside-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .75rem; }
.aside-card p { color: var(--text-2); font-size: var(--fs-small); }
.aside-card__title { font-size: 1.125rem; font-weight: 500; letter-spacing: -.015em; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-2); padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, color .2s; }
.share-btn:hover { border-color: var(--text); color: var(--text); }
.share-btn .icon { width: 1rem; height: 1rem; }
.article-nav { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .article-nav { grid-template-columns: 1fr 1fr; } }
.article-nav > :only-child { grid-column: 1 / -1; }

/* ---------- Company ---------- */
.principles { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.principle { padding: 2rem; background: var(--ink); display: grid; gap: .75rem; align-content: start; }
.principle__num { font-family: var(--mono); font-size: var(--fs-mono); color: var(--red-bright); letter-spacing: .1em; }
.principle__title { font-size: 1.375rem; letter-spacing: -.02em; }
.principle p { color: var(--on-dark-2); font-size: var(--fs-small); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, 1fr); } }

.cert-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cert-card { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.cert-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.cert-card__standard { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); letter-spacing: -.03em; font-weight: 500; overflow-wrap: anywhere; }
.cert-card__name { color: var(--text-3); font-size: var(--fs-small); margin-top: .25rem; }
.cert-seal { flex: none; width: 56px; height: 56px; color: var(--red); }
.cert-card .datasheet > div { grid-template-columns: minmax(7rem, 2fr) 4fr; padding-block: .7rem; }

.place { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .place { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 5rem; } }
.place__map { color: var(--on-dark-3); max-width: 520px; }
.place .lead { margin-top: 1.5rem; }
.place .datasheet { margin-top: 2.5rem; }

/* ---------- Approach ---------- */
.stage { display: grid; gap: 1.5rem 4rem; padding-block: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage__head { display: grid; gap: .5rem; align-content: start; }
.stage__num { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; color: var(--red-ink); text-transform: uppercase; }
.stage__title { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); letter-spacing: -.03em; }
.stage__summary { color: var(--text-3); }
.stage__body { display: grid; gap: 1.5rem; }
.stage__body > p { color: var(--text-2); max-width: 40em; }
.stage__cols { display: grid; gap: 1.5rem; }
.stage__gate { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; background: var(--surface-2); border-radius: var(--radius); font-size: var(--fs-small); }
.stage__gate .icon { color: var(--red); margin-top: .1rem; }
@media (min-width: 760px) { .stage__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ---------- Forms ---------- */
.contact-layout { display: grid; gap: 3.5rem; padding-block: clamp(3rem, 6vw, 5.5rem); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6rem; } }
.contact-aside { display: grid; gap: 2.5rem; align-content: start; }
.contact-block { display: grid; gap: .5rem; }
.contact-block address, .contact-block p { color: var(--text-2); }
.contact-block a { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; }
.contact-block a:hover { color: var(--red-ink); }
.contact-block .icon { width: 1.05rem; height: 1.05rem; color: var(--text-3); }
.support-card { padding: 1.75rem; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); display: grid; gap: 1rem; justify-items: start; }
.support-card p { color: var(--on-dark-2); font-size: var(--fs-small); }

.form { display: grid; gap: 1.75rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 1rem; font-weight: 500; }
.form-row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field label, .field__label { font-weight: 500; font-size: .9375rem; }
.field__optional { color: var(--text-3); font-weight: 400; }
.input {
    width: 100%;
    min-height: 3.25rem;
    padding: .8rem 1rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: var(--text-3); }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--red-tint); }
textarea.input { min-height: 11rem; resize: vertical; line-height: 1.55; }
.input.input-validation-error, .input[aria-invalid="true"] { border-color: var(--red); }
.field-error, .field-validation-error { color: var(--red-ink); font-size: .875rem; }
.field-validation-valid { display: none; }
.form-summary { padding: 1rem 1.25rem; border: 1px solid var(--red); border-left-width: 3px; border-radius: var(--radius); color: var(--red-ink); font-size: var(--fs-small); }
.form-summary ul { margin-top: .5rem; display: grid; gap: .25rem; }
.form-summary.validation-summary-valid { display: none; }
.field__hint { color: var(--text-3); font-size: .875rem; }

.choice-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    font-weight: 500;
}
.choice__box::before {
    content: "";
    flex: none;
    width: 1.1rem; height: 1.1rem;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: border .2s, background-color .2s;
}
.choice:hover .choice__box { border-color: var(--text-3); }
.choice input:checked + .choice__box { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice input:checked + .choice__box::before { border: 5px solid var(--red); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--red); outline-offset: 2px; }

.check { display: flex; gap: .85rem; align-items: flex-start; cursor: pointer; font-size: var(--fs-small); color: var(--text-2); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; border: 1px solid var(--line-2); border-radius: 3px; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { opacity: 1; }
.check a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.form__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-top: .5rem; }
.form__foot p { color: var(--text-3); font-size: .875rem; max-width: 28em; }

.confirm { display: grid; gap: 1.5rem; justify-items: start; max-width: 44rem; padding-block: clamp(3rem, 6vw, 5rem); }
.confirm__ref { font-family: var(--mono); font-size: 1.25rem; letter-spacing: .06em; padding: .75rem 1rem; border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- Search & listing ---------- */
.results { display: grid; border-top: 1px solid var(--line); }
.result { position: relative; display: grid; gap: .4rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.result__kind { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.result__title { font-size: 1.25rem; letter-spacing: -.015em; }
.result__title a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.result__text { color: var(--text-2); font-size: var(--fs-small); }
.result__url { color: var(--text-3); font-size: var(--fs-xs); font-family: var(--mono); }
.page-search { display: flex; gap: .75rem; margin-top: 2rem; max-width: 40rem; }
.page-search .input { background: rgba(255, 255, 255, .06); border-color: var(--line-dark-2); color: var(--on-dark); }
.page-search .input::placeholder { color: var(--on-dark-3); }
.page-search .input:focus { border-color: var(--on-dark); }

/* ---------- Glyphs & covers ---------- */
.glyph { width: 100%; height: auto; overflow: visible; }
.g-line { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.g-soft { fill: none; stroke: currentColor; stroke-width: 1; opacity: .35; vector-effect: non-scaling-stroke; }
.g-dash { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 4; opacity: .6; vector-effect: non-scaling-stroke; }
.g-accent { fill: none; stroke: var(--red); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.g-accent-fill { fill: var(--red); }
.g-fill { fill: currentColor; }
.g-bg { fill: var(--surface); }
.on-dark .g-bg, .page-hero .g-bg, .mega__feature .g-bg, .section--dark .g-bg { fill: var(--ink); }
.g-label { fill: currentColor; opacity: .7; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; }
.page-hero .g-accent, .mega__feature .g-accent { stroke: var(--red-bright); }
.page-hero .g-accent-fill { fill: var(--red-bright); }
@media (prefers-reduced-motion: no-preference) {
    .g-scan { animation: g-scan 3.6s var(--ease) infinite alternate; }
    .g-orbit { transform-box: fill-box; transform-origin: center; animation: ha-spin 30s linear infinite; }
    .g-blink { animation: g-blink 2.4s var(--ease) infinite; }
}
@keyframes g-scan { from { transform: translateY(-18px); } to { transform: translateY(18px); } }
@keyframes g-blink { 50% { opacity: .25; } }

.cover { display: block; width: 100%; height: 100%; }
.cover .c-bg { fill: var(--ink); }
.cover .c-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.cover .c-line { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.cover .c-soft { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cover .c-accent { fill: none; stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cover .c-accent-fill { fill: var(--red); }
.cover .c-text { fill: rgba(255, 255, 255, .85); font-family: var(--sans); font-weight: 500; letter-spacing: -.03em; }
.cover .c-mono { fill: rgba(255, 255, 255, .45); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }

/* ---------- Error pages ---------- */
.error-links { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1rem; }
@media (min-width: 760px) { .error-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .error-links { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal .prose { max-width: 46rem; }
.legal .prose p:first-child { font-size: inherit; color: var(--text-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.legal th, .legal td { text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 450; }
.legal td:first-child { font-family: var(--mono); font-size: .8125rem; color: var(--text); word-break: break-all; }
.table-wrap { overflow-x: auto; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js-reveal [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(26px); }
.js-reveal .step[data-reveal]:not(.is-visible) { transform: none; opacity: .25; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .ha-pulse, .ha-out-pulse { display: none; }
}

@media print {
    .site-header, .mobile-menu, .cta-band, .site-footer__social, .hero-art, .toc { display: none !important; }
    .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
}

/* ---------- CMS-driven components ---------- */
.case-feature + .case-feature { margin-top: 1.5rem; }
.cover--photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.article-cover img { width: 100%; height: auto; }

.feed-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { display: inline-flex; align-items: center; padding: .5rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .9375rem; color: var(--text-2); transition: border-color .2s, color .2s, background-color .2s; }
.filter:hover { border-color: var(--text); color: var(--text); }
.filter[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

.team-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.person { display: grid; gap: .5rem; align-content: start; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); display: grid; place-items: center; margin-bottom: .75rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
.person:hover .person__photo img { filter: none; }
.person__photo span { font-size: 3rem; font-weight: 500; letter-spacing: -.04em; color: var(--on-dark-2); }
.person__name { font-size: 1.25rem; letter-spacing: -.02em; }
.person__role { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.person__bio { color: var(--text-2); font-size: var(--fs-small); margin-top: .25rem; }

.org-group + .org-group { margin-top: 3.5rem; }
.org-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.org-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.org-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.org-card__logo { aspect-ratio: 16 / 7; display: grid; place-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); }
.org-card__logo img { max-width: 70%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.org-card:hover .org-card__logo img { filter: none; opacity: 1; }
.org-card__initials { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; color: var(--text-3); text-align: center; }
.org-card__body { display: grid; gap: .6rem; align-content: start; padding: 1.5rem 1.75rem 1.75rem; }
.org-card__name { font-size: 1.1875rem; letter-spacing: -.02em; }
.org-card__sector { color: var(--red-ink); }
.org-card__text { color: var(--text-2); font-size: var(--fs-small); }

.jobs .job { padding-block: 1.75rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--text-3); margin-top: .35rem; }
.applying { display: grid; gap: .25rem; padding: 1rem 1.25rem; border-left: 2px solid var(--red); background: var(--surface-2); }
.applying .mono-label { margin: 0; }

.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: .7rem var(--gutter); background: #FFD166; color: #3d2a00; font-size: .875rem; text-align: center; box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .35); }

.notice {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 45;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem 1rem 1.25rem 1.5rem;
    background: var(--ink);
    color: var(--on-dark);
    border-left: 3px solid var(--on-dark-3);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
    animation: rise .6s var(--ease-out) both;
}
.notice--important { border-left-color: var(--red); }
.notice__body { display: grid; gap: .4rem; flex: 1; }
.notice__title { font-weight: 500; }
.notice__text { color: var(--on-dark-2); font-size: var(--fs-small); }
.notice .link-arrow { color: var(--on-dark); font-size: .9375rem; }
.notice .link-arrow .icon { color: var(--red-bright); }
.notice__close { color: var(--on-dark-2); width: 2.25rem; height: 2.25rem; }
