/* ==========================================================================
   AN COMPUTING — DESIGN SYSTEM  ("Clinical Clarity")
   css/anc.css
   --------------------------------------------------------------------------
   Single stylesheet, no build step. Layer order:
     1. Tokens        design decisions as custom properties
     2. Reset         modern, minimal
     3. Primitives    layout + typography utilities
     4. Components    header, hero, cards, bands, footer
     5. Motion        reveal animations (reduced-motion safe)
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
    /* -- Brand blue: anchored on the existing #0066cc so brand equity carries over */
    --brand-50:  #eef6ff;
    --brand-100: #d9ecff;
    --brand-200: #b7dbff;
    --brand-300: #82c1ff;
    --brand-400: #429fff;
    --brand-500: #1a7fe6;
    --brand-600: #0066cc;   /* primary */
    --brand-700: #0052a8;
    --brand-800: #004085;
    --brand-900: #002d5c;

    /* -- Amber: "in progress / pending", never used decoratively */
    --amber-50:  #fdf7e9;
    --amber-200: #f3dcab;
    --amber-600: #b8820c;
    --amber-800: #7a5408;

    /* -- Support accent: clinical teal, used sparingly for health/outcome cues */
    --teal-50:  #e8faf7;
    --teal-100: #c6f2eb;
    --teal-500: #12a394;
    --teal-600: #0d8478;
    --teal-700: #0a6a60;

    /* -- Ink */
    --ink-900: #0b1524;
    --ink-800: #16223a;
    --ink-700: #2c3a55;
    --ink-600: #4a5878;
    --ink-500: #6b7897;
    --ink-400: #94a0b8;

    /* -- Surfaces */
    --bg:        #ffffff;
    --bg-subtle: #f6f8fb;
    --bg-sunken: #eef2f8;
    --line:      #e2e8f0;
    --line-soft: #edf1f7;

    /* -- Semantic */
    --text:        var(--ink-800);
    --text-muted:  var(--ink-600);
    --text-faint:  var(--ink-500);
    --heading:     var(--ink-900);

    /* -- Type */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
                 "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono",
                 Menlo, Consolas, monospace;

    /* Fluid type scale — clamp(min, preferred, max) */
    --fs-xs:   0.8125rem;                                  /* 13 */
    --fs-sm:   0.875rem;                                   /* 14 */
    --fs-base: 1rem;                                       /* 16 */
    --fs-md:   clamp(1.0625rem, 0.2vw + 1rem, 1.125rem);   /* 17→18 */
    --fs-lg:   clamp(1.125rem, 0.4vw + 1rem, 1.3125rem);   /* 18→21 */
    --fs-xl:   clamp(1.375rem, 0.7vw + 1.15rem, 1.625rem); /* 22→26 */
    --fs-2xl:  clamp(1.625rem, 1.2vw + 1.3rem, 2.125rem);  /* 26→34 */
    --fs-3xl:  clamp(2rem, 2.2vw + 1.4rem, 3rem);          /* 32→48 */
    --fs-4xl:  clamp(2.375rem, 3.4vw + 1.4rem, 4rem);      /* 38→64 */

    --lh-tight: 1.08;
    --lh-snug:  1.25;
    --lh-base:  1.6;
    --lh-relax: 1.75;

    --tracking-tight: -0.022em;
    --tracking-wide:  0.08em;

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

    /* Section rhythm scales with viewport */
    --section-y: clamp(4rem, 7vw, 7.5rem);

    /* -- Layout */
    --wrap:        1200px;
    --wrap-narrow: 760px;
    --gutter:      clamp(1.25rem, 4vw, 2.5rem);
    --header-h:    76px;

    /* -- Radii */
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   18px;
    --r-xl:   26px;
    --r-full: 999px;

    /* -- Elevation: low-spread, layered, cool-tinted */
    --shadow-xs: 0 1px 2px rgba(11, 21, 36, 0.05);
    --shadow-sm: 0 1px 3px rgba(11, 21, 36, 0.06), 0 1px 2px rgba(11, 21, 36, 0.04);
    --shadow-md: 0 6px 16px -4px rgba(11, 21, 36, 0.09), 0 2px 6px -2px rgba(11, 21, 36, 0.05);
    --shadow-lg: 0 20px 44px -14px rgba(11, 21, 36, 0.18), 0 8px 18px -10px rgba(11, 21, 36, 0.10);
    --shadow-xl: 0 40px 80px -28px rgba(11, 21, 36, 0.28), 0 14px 30px -16px rgba(11, 21, 36, 0.12);
    --ring-brand: 0 0 0 4px rgba(0, 102, 204, 0.18);

    /* -- Motion */
    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 140ms;
    --dur:      240ms;
    --dur-slow: 560ms;
}

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

* { margin: 0; }

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

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

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

button { cursor: pointer; background: none; border: 0; padding: 0; }

ul, ol { list-style: none; padding: 0; }

a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

h1, h2, h3, h4 {
    color: var(--heading);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    line-height: var(--lh-snug);
    text-wrap: balance;
}

p { text-wrap: pretty; }

:where(a, button, summary, input, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

::selection { background: var(--brand-200); color: var(--ink-900); }

/* Skip link */
.skip-link {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% -120%;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    background: var(--ink-900);
    color: #fff;
    border-radius: 0 0 var(--r-md) var(--r-md);
    font-weight: 600;
    text-decoration: none;
    transition: translate var(--dur) var(--ease-out);
}
.skip-link:focus-visible { translate: -50% 0; outline-offset: -4px; }

/* ==========================================================================
   3. PRIMITIVES
   ========================================================================== */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--subtle  { background: var(--bg-subtle); }
.section--sunken  { background: var(--bg-sunken); }
.section--tight   { padding-block: clamp(2.5rem, 4vw, 4rem); }

/* Hairline divider that fades at the edges */
.section--edge { border-top: 1px solid var(--line-soft); }

/* --- Section heading block --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--brand-700);
}
.eyebrow::before {
    content: "";
    inline-size: 22px;
    block-size: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.55;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-head h2 {
    font-size: var(--fs-3xl);
    margin-top: var(--sp-4);
}
.section-head p {
    margin-top: var(--sp-4);
    font-size: var(--fs-lg);
    color: var(--text-muted);
    line-height: var(--lh-relax);
}

/* --- Pill / badge --- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem 0.4rem 0.6rem;
    border: 1px solid var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-800);
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.005em;
}
.pill svg { inline-size: 15px; block-size: 15px; color: var(--brand-600); }
.pill--teal { border-color: var(--teal-100); background: var(--teal-50); color: var(--teal-700); }
.pill--teal svg { color: var(--teal-500); }

/* In-progress / pending state — amber, deliberately distinct from "achieved" */
.pill--pending { border-color: var(--amber-200); background: var(--amber-50); color: var(--amber-800); }
.pill--pending svg { color: var(--amber-600); }

/* --- Buttons --- */
.btn {
    --_bg: var(--brand-600);
    --_fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--r-full);
    background: var(--_bg);
    color: var(--_fg);
    font-size: var(--fs-sm);
    font-weight: 650;
    letter-spacing: 0.005em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: background var(--dur-fast) var(--ease-soft),
                box-shadow var(--dur) var(--ease-out),
                translate var(--dur) var(--ease-out);
}
.btn svg { inline-size: 17px; block-size: 17px; flex: none; }
.btn:hover { --_bg: var(--brand-700); translate: 0 -2px; box-shadow: var(--shadow-md), var(--ring-brand); }
.btn:active { translate: 0 0; box-shadow: var(--shadow-xs); }

.btn--lg { padding: 1.0625rem 2rem; font-size: var(--fs-base); }

.btn--ghost {
    --_bg: #fff;
    --_fg: var(--ink-800);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}
.btn--ghost:hover {
    --_bg: #fff;
    --_fg: var(--brand-700);
    border-color: var(--brand-300);
    box-shadow: var(--shadow-sm);
}

.btn--quiet {
    --_bg: transparent;
    --_fg: var(--ink-700);
    box-shadow: none;
    padding-inline: 0.75rem;
}
.btn--quiet:hover { --_bg: transparent; --_fg: var(--brand-700); box-shadow: none; }

.btn--on-dark {
    --_bg: #fff;
    --_fg: var(--brand-800);
}
.btn--on-dark:hover { --_bg: #fff; --_fg: var(--brand-900); box-shadow: var(--shadow-lg); }

.btn--outline-light {
    --_bg: transparent;
    --_fg: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}
.btn--outline-light:hover {
    --_bg: rgba(255, 255, 255, 0.12);
    --_fg: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* --- Inline text link with arrow --- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-sm);
    font-weight: 650;
    color: var(--brand-700);
    text-decoration: none;
}
.link-arrow svg {
    inline-size: 16px; block-size: 16px;
    transition: translate var(--dur) var(--ease-out);
}
.link-arrow:hover { color: var(--brand-800); }
.link-arrow:hover svg { translate: 3px 0; }

/* --- Icon tile --- */
.icon-tile {
    display: grid;
    place-items: center;
    inline-size: 48px;
    block-size: 48px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    flex: none;
}
.icon-tile svg { inline-size: 24px; block-size: 24px; }
.icon-tile--teal { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-600); }
.icon-tile--solid { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* --- Grids --- */
.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------- 4.1 Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-soft),
                box-shadow var(--dur) var(--ease-soft),
                background var(--dur) var(--ease-soft);
}
.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 1px 12px rgba(11, 21, 36, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    min-height: var(--header-h);
    padding-block: 0.625rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { block-size: 46px; inline-size: auto; }

.nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 550;
    color: var(--ink-700);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-soft),
                background var(--dur-fast) var(--ease-soft);
}
.nav-link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-link[aria-current="page"] { color: var(--brand-700); font-weight: 700; }

.header-cta { flex: none; margin-inline-start: var(--sp-3); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    inline-size: 44px;
    block-size: 44px;
    margin-inline-start: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink-800);
    background: #fff;
    place-items: center;
}
.nav-toggle svg { inline-size: 22px; block-size: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 62rem) {
    .nav-toggle { display: grid; }
    .header-cta { display: none; }

    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        margin: 0;
        padding: var(--sp-4) var(--gutter) var(--sp-8);
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        max-block-size: calc(100dvh - var(--header-h));
        overflow-y: auto;
        /* closed state */
        visibility: hidden;
        opacity: 0;
        translate: 0 -8px;
        transition: opacity var(--dur) var(--ease-soft),
                    translate var(--dur) var(--ease-out),
                    visibility var(--dur);
    }
    .nav.is-open { visibility: visible; opacity: 1; translate: 0 0; }

    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li + li { border-top: 1px solid var(--line-soft); }
    .nav-link { padding: 0.95rem 0.25rem; font-size: var(--fs-md); border-radius: 0; }
    .nav-link:hover { background: transparent; }
    .nav-cta-mobile { margin-top: var(--sp-5); }
    .nav-cta-mobile .btn { width: 100%; }
}
@media (min-width: 62.0625rem) {
    .nav-cta-mobile { display: none; }
}

/* --------------------------------------------------------------- 4.2 Hero */
.hero {
    position: relative;
    padding-block: clamp(3rem, 6vw, 6rem) clamp(3rem, 5vw, 5rem);
    background:
        radial-gradient(58rem 34rem at 78% -12%, var(--brand-50) 0%, transparent 62%),
        radial-gradient(42rem 30rem at 4% 6%, var(--teal-50) 0%, transparent 58%),
        var(--bg);
    overflow: hidden;
}

/* Faint engineering grid, masked to fade out */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11, 21, 36, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 21, 36, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}
@media (min-width: 64rem) {
    .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero h1 {
    font-size: var(--fs-4xl);
    line-height: var(--lh-tight);
    margin-top: var(--sp-5);
}
.hero h1 .accent {
    background: linear-gradient(100deg, var(--brand-600), var(--teal-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lede {
    margin-top: var(--sp-6);
    font-size: var(--fs-lg);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    max-width: 34rem;
}
.hero .btn-row { margin-top: var(--sp-8); }

.hero-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: var(--sp-8);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--line-soft);
    font-size: var(--fs-sm);
    color: var(--text-faint);
}
.hero-assurance li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-assurance svg { inline-size: 16px; block-size: 16px; color: var(--teal-500); flex: none; }

/* --- Product mockup (decorative, aria-hidden) --- */
.mock {
    position: relative;
    border-radius: var(--r-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    rotate: -0.6deg;
    transition: rotate var(--dur-slow) var(--ease-out), translate var(--dur-slow) var(--ease-out);
}
.mock:hover { rotate: 0deg; translate: 0 -4px; }

.mock-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--line-soft);
}
.mock-dot { inline-size: 9px; block-size: 9px; border-radius: 50%; background: #d3dae4; }
.mock-url {
    margin-inline-start: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: var(--r-full);
    background: #fff;
    border: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--ink-400);
}

.mock-body { display: grid; grid-template-columns: 108px minmax(0, 1fr); min-block-size: 340px; }

.mock-side { padding: 1rem 0.75rem; background: #fbfcfe; border-inline-end: 1px solid var(--line-soft); }
.mock-side-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.44rem 0.5rem; border-radius: var(--r-sm); margin-bottom: 0.2rem;
}
.mock-side-item.is-active { background: var(--brand-50); }
.mock-side-glyph { inline-size: 14px; block-size: 14px; border-radius: 4px; background: #dde4ee; flex: none; }
.mock-side-item.is-active .mock-side-glyph { background: var(--brand-500); }
.mock-line { block-size: 6px; border-radius: 3px; background: #e5eaf2; }
.mock-side-item.is-active .mock-line { background: var(--brand-200); }

.mock-main { padding: 1.15rem; display: grid; gap: 0.9rem; align-content: start; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mock-kpi {
    padding: 0.7rem;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    background: #fff;
}
.mock-kpi-label { font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; }
.mock-kpi-value { font-size: 20px; font-weight: 750; color: var(--ink-900); letter-spacing: -0.02em; line-height: 1.2; }
.mock-kpi-trend { font-size: 9.5px; font-weight: 700; color: var(--teal-600); }

.mock-panel {
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 0.85rem;
    background: #fff;
}
.mock-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.mock-panel-title { font-size: 10.5px; font-weight: 700; color: var(--ink-700); }
.mock-tag {
    font-size: 8.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.15rem 0.4rem; border-radius: var(--r-full);
    background: var(--teal-50); color: var(--teal-700);
}

.mock-chart { display: flex; align-items: flex-end; gap: 6px; block-size: 84px; }
.mock-chart span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
    opacity: 0.9;
    animation: mock-grow var(--dur-slow) var(--ease-out) backwards;
}
.mock-chart span:nth-child(even) { background: linear-gradient(180deg, var(--brand-200), var(--brand-300)); }

.mock-rows { display: grid; gap: 0.5rem; }
.mock-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 0.55rem; }
.mock-avatar { inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--bg-sunken); }
.mock-chip {
    font-size: 8.5px; font-weight: 700; padding: 0.1rem 0.38rem; border-radius: var(--r-full);
    background: var(--brand-50); color: var(--brand-700);
}

@keyframes mock-grow { from { block-size: 0; opacity: 0; } }

/* --------------------------------------------------- 4.3 Client logo strip */
.logos { padding-block: clamp(2rem, 3.5vw, 3rem); border-block: 1px solid var(--line-soft); background: var(--bg); }
.logos-label {
    text-align: center;
    font-size: var(--fs-xs);
    font-weight: 650;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-6);
}
.logos-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3.25rem);
}
.logos-track img {
    block-size: clamp(30px, 4.5vw, 42px);
    inline-size: auto;
    max-inline-size: 150px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.62;
    transition: filter var(--dur) var(--ease-soft), opacity var(--dur) var(--ease-soft);
}
.logos-track img:hover { filter: grayscale(0); opacity: 1; }

/* ------------------------------------------------------- 4.4 Two-path cards */
.paths { display: grid; gap: var(--sp-6); }
@media (min-width: 56rem) { .paths { grid-template-columns: 1fr 1fr; } }

.path {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--dur) var(--ease-out),
                translate var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-soft);
}
.path::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    block-size: 3px;
    background: linear-gradient(90deg, var(--brand-600), var(--teal-500));
    opacity: 0;
    transition: opacity var(--dur) var(--ease-soft);
}
.path:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.path:hover::after { opacity: 1; }

.path h3 { font-size: var(--fs-xl); }
.path > p { color: var(--text-muted); line-height: var(--lh-relax); }

.path-list { display: grid; gap: 0.7rem; margin-top: auto; }
.path-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.65rem;
    font-size: var(--fs-sm);
    color: var(--ink-700);
}
.path-list svg { inline-size: 18px; block-size: 18px; color: var(--brand-600); margin-top: 0.15rem; }
.path--services .path-list svg { color: var(--teal-500); }

/* --------------------------------------------------------- 4.5 Product cards */
.product {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
.product:hover { translate: 0 -5px; box-shadow: var(--shadow-lg); }

.product-top {
    padding: clamp(1.5rem, 2.5vw, 1.875rem);
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(165deg, var(--brand-50), #fff 72%);
}
.product--teal .product-top { background: linear-gradient(165deg, var(--teal-50), #fff 72%); }

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}
.product-abbr {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-700);
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.7);
}
.product-top h3 { font-size: var(--fs-xl); }
.product-tagline { margin-top: var(--sp-2); color: var(--text-muted); font-size: var(--fs-sm); }

.product-body {
    padding: clamp(1.5rem, 2.5vw, 1.875rem);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    flex: 1;
}
.product-body > p { color: var(--text-muted); font-size: var(--fs-sm); line-height: var(--lh-relax); }

.check-list { display: grid; gap: 0.6rem; }
.check-list li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 0.6rem;
    font-size: var(--fs-sm);
    color: var(--ink-700);
}
.check-list svg { inline-size: 16px; block-size: 16px; color: var(--brand-600); margin-top: 0.2rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
    font-size: 11.5px;
    font-weight: 600;
    padding: 0.24rem 0.6rem;
    border-radius: var(--r-full);
    background: var(--bg-sunken);
    color: var(--ink-600);
}

.product-foot {
    margin-top: auto;
    padding-top: var(--sp-4);
    border-top: 1px solid var(--line-soft);
}

/* ---------------------------------------------------------- 4.6 Stats band */
.stats-band {
    background:
        radial-gradient(48rem 24rem at 88% 0%, rgba(18, 163, 148, 0.35) 0%, transparent 60%),
        linear-gradient(135deg, var(--brand-800), var(--brand-900) 60%, #001a38);
    color: #fff;
    padding-block: clamp(3rem, 5vw, 4.5rem);
}
.stats-band h2 { color: #fff; }

.stats-list {
    display: grid;
    gap: var(--sp-8) var(--sp-6);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.stat { border-top: 2px solid rgba(255, 255, 255, 0.22); padding-top: var(--sp-4); }
.stat-value {
    font-size: clamp(2.25rem, 3.5vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.stat-value .unit { font-size: 0.55em; margin-inline-start: 0.06em; color: var(--brand-200); }
.stat-label { margin-top: var(--sp-3); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78); line-height: 1.5; }

/* ------------------------------------------------------- 4.7 Feature/service */
.feature {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    padding: clamp(1.5rem, 2.4vw, 1.875rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    transition: box-shadow var(--dur) var(--ease-out),
                translate var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-soft);
}
.feature:hover { translate: 0 -4px; box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.feature h3 { font-size: var(--fs-md); }
.feature p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relax); }

/* Bare (borderless) variant for "why us" */
.value { display: flex; flex-direction: column; gap: var(--sp-4); }
.value h3 { font-size: var(--fs-md); }
.value p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relax); }

/* ------------------------------------------------------- 4.8 Testimonials */
.quotes { display: grid; gap: var(--sp-6); }
@media (min-width: 60rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }

.quote {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    padding: clamp(1.625rem, 2.5vw, 2rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.quote-mark { inline-size: 30px; block-size: 30px; color: var(--brand-200); flex: none; }
.quote blockquote { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--ink-700); }
.quote-author { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }
.quote-author strong { display: block; font-size: var(--fs-sm); color: var(--ink-900); }
.quote-author span { font-size: var(--fs-xs); color: var(--text-faint); }

/* -------------------------------------------------------- 4.9 Certifications */
.certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}
.certs img {
    block-size: clamp(56px, 7vw, 84px);
    inline-size: auto;
    max-inline-size: 160px;
    object-fit: contain;
    transition: scale var(--dur) var(--ease-out);
}
.certs img:hover { scale: 1.06; }

/* ---------------------------------------------------------- 4.10 CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-900));
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(2.25rem, 5vw, 4rem);
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(30rem 20rem at 92% 110%, rgba(18, 163, 148, 0.45), transparent 62%),
        radial-gradient(24rem 16rem at 6% -20%, rgba(130, 193, 255, 0.30), transparent 60%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    display: grid;
    gap: var(--sp-8);
    align-items: center;
}
@media (min-width: 58rem) {
    .cta-inner { grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--sp-12); }
}
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-band p { margin-top: var(--sp-4); color: rgba(255, 255, 255, 0.82); font-size: var(--fs-md); line-height: var(--lh-relax); }
.cta-band .eyebrow { color: var(--brand-200); }

/* ------------------------------------------------------------ 4.11 Footer */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.72); padding-block: clamp(3rem, 5vw, 4.5rem) 0; }
.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color var(--dur-fast) var(--ease-soft); }
.site-footer a:hover { color: #fff; }

.footer-grid {
    display: grid;
    gap: var(--sp-10);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
@media (min-width: 64rem) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
}

.footer-brand img { block-size: 44px; inline-size: auto; margin-bottom: var(--sp-5); }
.footer-brand p { font-size: var(--fs-sm); line-height: var(--lh-relax); max-width: 26rem; }

.footer-col h3 {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--sp-5);
}
.footer-col ul { display: grid; gap: 0.7rem; font-size: var(--fs-sm); }

.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 0.7rem; align-items: start; }
.footer-contact svg { inline-size: 16px; block-size: 16px; color: var(--brand-400); margin-top: 0.2rem; }
.footer-contact address { font-style: normal; line-height: 1.55; }

.footer-bar {
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-block: var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-6);
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.55);
}
.footer-bar ul { display: flex; flex-wrap: wrap; gap: var(--sp-5); }

/* --------------------------------------------------- 4.12 Cookie consent */
.cookie {
    position: fixed;
    inset-inline: var(--sp-4);
    bottom: var(--sp-4);
    z-index: 1500;
    max-inline-size: 46rem;
    margin-inline: auto;
    padding: var(--sp-6);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    display: none;
}
.cookie[data-open="true"] { display: block; animation: cookie-in var(--dur-slow) var(--ease-out); }
.cookie-inner { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 44rem) { .cookie-inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-8); } }
.cookie h2 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.cookie p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 auto; }

@keyframes cookie-in { from { opacity: 0; translate: 0 16px; } }

/* ==========================================================================
   4b. INNER-PAGE COMPONENTS
   ========================================================================== */

/* ------------------------------------------------------- 4b.1 Page hero */
.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.75rem);
    background:
        radial-gradient(46rem 26rem at 88% -30%, var(--brand-50) 0%, transparent 62%),
        radial-gradient(34rem 22rem at 2% 0%, var(--teal-50) 0%, transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11, 21, 36, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 21, 36, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(60% 70% at 50% 20%, #000 0%, transparent 76%);
    -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000 0%, transparent 76%);
    pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 52rem; }
.page-hero h1 { font-size: var(--fs-3xl); margin-top: var(--sp-4); }
.page-hero .lede {
    margin-top: var(--sp-5);
    font-size: var(--fs-lg);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    max-width: 42rem;
}
.page-hero .btn-row { margin-top: var(--sp-7, 1.75rem); }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); }
.breadcrumb a { color: var(--text-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; color: var(--ink-400); }
.breadcrumb [aria-current="page"] { color: var(--ink-700); font-weight: 600; }

/* ------------------------------------------------- 4b.2 Split with aside */
.split { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 62rem) {
    .split { grid-template-columns: minmax(0, 1fr) 21rem; }
    .split--aside-first { grid-template-columns: 19rem minmax(0, 1fr); }
    .split--even { grid-template-columns: 1fr 1fr; }
    .split-aside--sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Facts / summary card */
.facts {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-subtle);
}
.facts h2, .facts h3 {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: var(--sp-5);
}
.facts dl { display: grid; gap: var(--sp-4); }
.facts dt { font-size: var(--fs-xs); color: var(--text-faint); font-weight: 600; }
.facts dd { font-size: var(--fs-sm); color: var(--ink-800); font-weight: 550; margin-top: 0.15rem; }

/* Callout */
.callout {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    padding: var(--sp-5) var(--sp-6);
    border: 1px solid var(--brand-100);
    border-left: 3px solid var(--brand-600);
    border-radius: var(--r-md);
    background: var(--brand-50);
}
.callout svg { inline-size: 20px; block-size: 20px; color: var(--brand-600); margin-top: 0.15rem; }
.callout p { font-size: var(--fs-sm); color: var(--ink-700); line-height: var(--lh-relax); }
.callout p + p { margin-top: var(--sp-3); }

/* ---------------------------------------------------------- 4b.3 Prose */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 {
    font-size: var(--fs-xl);
    margin-top: var(--sp-12);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--line-soft);
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-8); }
.prose p, .prose li { color: var(--text-muted); line-height: var(--lh-relax); }
.prose ul { display: grid; gap: 0.6rem; padding-inline-start: 1.35rem; list-style: disc; }
.prose ul li::marker { color: var(--brand-400); }
.prose strong { color: var(--ink-900); font-weight: 650; }
.prose a { color: var(--brand-700); }

.prose-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    color: var(--text-faint);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    background: var(--bg-subtle);
}

.prose-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose-table th, .prose-table td {
    text-align: left;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}
.prose-table th { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.prose-table td { color: var(--text-muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }

/* Table of contents */
.toc { font-size: var(--fs-sm); }
.toc h2 {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-4);
}
.toc ol { display: grid; gap: 0.15rem; counter-reset: toc; }
.toc a {
    display: block;
    padding: 0.4rem 0.7rem;
    border-radius: var(--r-sm);
    border-left: 2px solid var(--line);
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-soft),
                border-color var(--dur-fast) var(--ease-soft),
                background var(--dur-fast) var(--ease-soft);
}
.toc a:hover, .toc a.is-current {
    color: var(--brand-700);
    border-left-color: var(--brand-600);
    background: var(--brand-50);
}

/* --------------------------------------------------------- 4b.4 Subnav */
.subnav {
    position: sticky;
    top: var(--header-h);
    z-index: 900;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.subnav-track {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-block: 0.65rem;
    -webkit-overflow-scrolling: touch;
}
.subnav-track::-webkit-scrollbar { display: none; }
.subnav-track a {
    flex: none;
    padding: 0.45rem 0.85rem;
    border-radius: var(--r-full);
    font-size: var(--fs-sm);
    font-weight: 550;
    color: var(--ink-700);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}
.subnav-track a:hover { background: var(--brand-50); color: var(--brand-700); }
.subnav-track a.is-current { background: var(--brand-600); color: #fff; }

/* --------------------------------------------------- 4b.5 Product detail */
.product-detail {
    padding-block: clamp(3rem, 5vw, 4.5rem);
    scroll-margin-top: calc(var(--header-h) + 4rem);
}
.product-detail + .product-detail { border-top: 1px solid var(--line-soft); }

.product-lead h2 { font-size: var(--fs-2xl); margin-top: var(--sp-4); }
.product-lead > p { margin-top: var(--sp-5); font-size: var(--fs-md); color: var(--text-muted); line-height: var(--lh-relax); max-width: 40rem; }
.product-question {
    margin-top: var(--sp-6);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--brand-800);
}

/* Disclosure groups (feature lists) */
.disclosures { display: grid; gap: var(--sp-3); }
.disclosure {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    overflow: hidden;
}
.disclosure[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: 0.95rem 1.15rem;
    font-size: var(--fs-sm);
    font-weight: 650;
    color: var(--ink-900);
    list-style: none;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-soft);
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary:hover { background: var(--bg-subtle); }
.disclosure > summary::after {
    content: "";
    flex: none;
    inline-size: 9px;
    block-size: 9px;
    border-right: 2px solid var(--ink-400);
    border-bottom: 2px solid var(--ink-400);
    rotate: 45deg;
    translate: 0 -2px;
    transition: rotate var(--dur) var(--ease-out);
}
.disclosure[open] > summary::after { rotate: -135deg; translate: 0 2px; }
.disclosure[open] > summary { color: var(--brand-800); border-bottom: 1px solid var(--line-soft); }
.disclosure-body { padding: 1.15rem; }
.disclosure-count {
    margin-inline-start: auto;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-faint);
}

/* ---------------------------------------------------------- 4b.6 Process */
.process { display: grid; gap: var(--sp-6); counter-reset: step; }
@media (min-width: 48rem) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .process { grid-template-columns: repeat(3, 1fr); } }

.process-step {
    position: relative;
    padding: var(--sp-6);
    padding-top: var(--sp-8);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    counter-increment: step;
}
.process-step::before {
    content: "0" counter(step);
    position: absolute;
    top: var(--sp-5);
    right: var(--sp-6);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-300);
}
.process-step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.process-step p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relax); }

/* ------------------------------------------------------ 4b.7 Tech stack */
.tech-group { padding-block: var(--sp-6); border-top: 1px solid var(--line-soft); }
.tech-group:first-child { border-top: 0; padding-top: 0; }
.tech-head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.tech-head h3 { font-size: var(--fs-md); }
.tech-head p { font-size: var(--fs-sm); color: var(--text-faint); }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-700);
    transition: border-color var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.badge:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* -------------------------------------------------------- 4b.8 Timeline */
.timeline { position: relative; }
.timeline-group { position: relative; padding-bottom: var(--sp-10); }
.timeline-year {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--sp-6);
    font-family: var(--font-mono);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-700);
}
.timeline-year small { font-size: var(--fs-xs); font-weight: 600; color: var(--text-faint); letter-spacing: 0.04em; }

.timeline-items {
    display: grid;
    gap: var(--sp-4);
    padding-inline-start: clamp(1.25rem, 3vw, 2rem);
    border-inline-start: 2px solid var(--line);
}
.timeline-item {
    position: relative;
    padding: var(--sp-5) var(--sp-6);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    transition: box-shadow var(--dur) var(--ease-out),
                translate var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-soft);
}
.timeline-item:hover { translate: 4px 0; box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.timeline-item::before {
    content: "";
    position: absolute;
    left: calc(clamp(1.25rem, 3vw, 2rem) * -1 - 6px);
    top: 1.65rem;
    inline-size: 10px;
    block-size: 10px;
    border-radius: 50%;
    background: var(--brand-600);
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--brand-100);
}
.timeline-item h3 { font-size: var(--fs-md); }
.timeline-item p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relax); }
.timeline-kind {
    display: inline-block;
    margin-bottom: var(--sp-3);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: var(--r-full);
    background: var(--bg-sunken);
    color: var(--ink-600);
}
.timeline-kind--cert { background: var(--brand-50); color: var(--brand-700); }
.timeline-kind--milestone { background: var(--teal-50); color: var(--teal-700); }
.timeline-kind--progress { background: var(--amber-50); color: var(--amber-800); }

/* Pending entries read as open, not achieved: dashed edge, hollow marker */
.timeline-item--pending { border-style: dashed; border-color: var(--amber-200); }
.timeline-item--pending:hover { border-color: var(--amber-600); }
.timeline-item--pending::before {
    background: #fff;
    border: 2px solid var(--amber-600);
    box-shadow: 0 0 0 4px #fff;
}

/* ------------------------------------------------------------ 4b.9 Team */
.team-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-8) var(--sp-5);
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    transition: box-shadow var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
.team-card:hover { translate: 0 -4px; box-shadow: var(--shadow-md); }
.team-card--lead { border-color: var(--brand-200); background: linear-gradient(170deg, var(--brand-50), #fff 60%); }

.avatar {
    display: grid;
    place-items: center;
    inline-size: 76px;
    block-size: 76px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand-500), var(--brand-800));
    color: #fff;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
}
.team-card--lead .avatar { background: linear-gradient(140deg, var(--teal-500), var(--brand-700)); }
.team-card h3 { font-size: var(--fs-md); }
.team-role { font-size: var(--fs-sm); color: var(--brand-700); font-weight: 600; }

/* --------------------------------------------------------- 4b.10 Clients */
.client-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.client-tile {
    display: grid;
    place-items: center;
    min-block-size: 8.5rem;
    padding: var(--sp-6);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    transition: box-shadow var(--dur) var(--ease-out),
                translate var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-soft);
}
.client-tile:hover { translate: 0 -4px; box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.client-tile img {
    max-block-size: 68px;
    max-inline-size: 100%;
    inline-size: auto;
    object-fit: contain;
}

.sector-list { display: grid; gap: var(--sp-4); }
.sector-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-5);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
}
.sector-list h3 { font-size: var(--fs-sm); }
.sector-list p { margin-top: 0.35rem; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.65; }

/* Featured (full-length) quote */
.quote--feature { border-left: 3px solid var(--brand-600); }
.quote--feature blockquote { font-size: var(--fs-md); }

/* --------------------------------------------------------- 4b.11 Forms */
.form-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.form-card > h2 { font-size: var(--fs-xl); }
.form-card > p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }

.field-grid { display: grid; gap: var(--sp-5); margin-top: var(--sp-8); }
@media (min-width: 40rem) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); }
.field label .opt { font-weight: 500; color: var(--text-faint); }
.field .hint { font-size: var(--fs-xs); color: var(--text-faint); }

.input, .textarea, .select {
    inline-size: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: var(--fs-sm);
    color: var(--ink-900);
    transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: var(--ring-brand);
}
.textarea { min-block-size: 9.5rem; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7897' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

[aria-invalid="true"].input, [aria-invalid="true"].textarea, [aria-invalid="true"].select {
    border-color: #c0392b;
    background: #fffafa;
}
.field-error { font-size: var(--fs-xs); font-weight: 600; color: #a5281b; }
.field-error:empty { display: none; }

.checkbox { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.checkbox input {
    inline-size: 18px;
    block-size: 18px;
    margin-top: 0.15rem;
    accent-color: var(--brand-600);
}
.checkbox label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-muted); line-height: 1.55; }

/* Honeypot — visually and programmatically out of the way, still fillable by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: var(--sp-6); }
.form-status:empty { display: none; }
.alert {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    line-height: 1.6;
}
.alert svg { inline-size: 18px; block-size: 18px; margin-top: 0.15rem; }
.alert--error   { background: #fdf1f0; border: 1px solid #f3c4bf; color: #8f2318; }
.alert--success { background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); }
.alert a { color: inherit; font-weight: 650; }

.form-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-top: var(--sp-8); }
.form-actions .note { font-size: var(--fs-xs); color: var(--text-faint); }

.btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.btn[aria-busy="true"] .btn-label::after {
    content: "";
    display: inline-block;
    inline-size: 13px;
    block-size: 13px;
    margin-inline-start: 0.5rem;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* ----------------------------------------------------- 4b.12 Info list */
.info-list { display: grid; gap: var(--sp-5); }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: start; }
.info-list h3 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.info-list p, .info-list address {
    margin-top: 0.3rem;
    font-size: var(--fs-sm);
    font-style: normal;
    color: var(--ink-800);
    line-height: 1.6;
}
.info-list a { color: var(--brand-700); text-decoration: none; font-weight: 550; }
.info-list a:hover { text-decoration: underline; }

/* ==========================================================================
   5. MOTION
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    translate: 0 18px;
    transition: opacity var(--dur-slow) var(--ease-out),
                translate var(--dur-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* No-JS safeguard: never leave content invisible */
.no-js [data-reveal] { opacity: 1; translate: none; }

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

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
    .site-header, .cookie, .cta-band, .mock { display: none !important; }
    body { color: #000; }
    a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* ==========================================================================
   6. EDITORIAL LAYER
   --------------------------------------------------------------------------
   Breaks the uniform card-grid rhythm. Devices used consistently:
     · monospace index numerals (01, 02...) as a running motif
     · hairline rules instead of boxes wherever a box isn't load-bearing
     · oversized "ghost" numerals bled behind content
     · asymmetric 12-column grid, alternating sides
     · angled section edges so not every band is a rectangle
   ========================================================================== */

:root {
    --red-500: #c0392b;
    --amber-500: #d99413;
}

/* ------------------------------------------------ 6.1 Section index head */
.sec-index {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin-bottom: var(--sp-6);
}
.sec-index b { color: var(--brand-600); font-weight: 700; }
.sec-index::after {
    content: "";
    flex: 1;
    block-size: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}
.sec-index--light { color: rgba(255, 255, 255, 0.5); }
.sec-index--light b { color: var(--brand-200); }
.sec-index--light::after { background: linear-gradient(90deg, rgba(255,255,255,.28), transparent); }

.sec-lead {
    display: grid;
    gap: var(--sp-6);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
@media (min-width: 62rem) {
    .sec-lead { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--sp-12); }
}
.sec-lead h2 { font-size: var(--fs-3xl); }
.sec-lead h2 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand-600), var(--teal-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.sec-lead > p {
    font-size: var(--fs-md);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    padding-bottom: 0.3rem;
}

/* 12-column canvas for asymmetric placement */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-6); }

/* ------------------------------------------------------- 6.2 Two paths */
.paths-ed {
    display: grid;
    gap: 0;
    border-block: 1px solid var(--line);
}
@media (min-width: 60rem) {
    .paths-ed { grid-template-columns: 1fr 1px 1fr; }
}
.paths-rule { background: var(--line); }
@media (max-width: 59.9375rem) { .paths-rule { block-size: 1px; } }

.path-col {
    position: relative;
    padding: clamp(2.25rem, 4vw, 3.5rem) 0;
    overflow: hidden;
}
@media (min-width: 60rem) {
    .path-col { padding-inline: clamp(1.5rem, 3vw, 3rem); }
    .path-col:first-child { padding-inline-start: 0; }
    .path-col:last-child  { padding-inline-end: 0; }
}
@media (max-width: 59.9375rem) {
    .path-col + .path-col { border-top: 1px solid var(--line); }
}

/* Oversized ghost numeral bled behind the content */
.path-ghost {
    position: absolute;
    top: clamp(0.5rem, 2vw, 1.25rem);
    right: -0.15em;
    font-family: var(--font-mono);
    font-size: clamp(6rem, 13vw, 11rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.05em;
    color: var(--brand-600);
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
}
.path-col--services .path-ghost { color: var(--teal-600); opacity: 0.08; }

.path-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--brand-700);
}
.path-col--services .path-kicker { color: var(--teal-700); }
.path-kicker svg { inline-size: 16px; block-size: 16px; }

.path-col h3 { position: relative; font-size: var(--fs-2xl); margin-top: var(--sp-4); }
.path-col > p {
    position: relative;
    margin-top: var(--sp-5);
    font-size: var(--fs-md);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    max-width: 30rem;
}

/* Hairline feature rows — no card, no bullet */
.rule-list { position: relative; margin-top: var(--sp-8); }
.rule-list li {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: var(--sp-3);
    align-items: baseline;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line-soft);
    font-size: var(--fs-sm);
    color: var(--ink-700);
    transition: color var(--dur-fast) var(--ease-soft);
}
.rule-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.rule-list li:hover { color: var(--ink-900); }
.rule-list .idx {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--brand-400);
}
.path-col--services .rule-list .idx { color: var(--teal-500); }

.path-col .link-arrow { position: relative; margin-top: var(--sp-7, 1.75rem); }

/* --------------------------------------------------- 6.3 Product rows */
.prod {
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 7rem);
    border-top: 1px solid var(--line-soft);
}
.prod:first-of-type { border-top: 0; padding-top: clamp(1rem, 2vw, 2rem); }

.prod-inner { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 64rem) {
    .prod-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
    /* Alternate which side the visual sits on */
    .prod:nth-of-type(even) .prod-figure { order: -1; }
}

.prod-num {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--brand-400);
    margin-bottom: var(--sp-4);
}
.prod h3 {
    font-size: var(--fs-2xl);
    line-height: var(--lh-snug);
}
.prod h3 small {
    display: block;
    margin-top: var(--sp-2);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-faint);
}
.prod-desc {
    margin-top: var(--sp-5);
    font-size: var(--fs-md);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    max-width: 34rem;
}
.prod-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}

/* ---------------------------------- 6.4 Bespoke per-product visuals */
.figure-stack { position: relative; }

/* Depth: two offset sheets behind the main card */
.figure-stack::before,
.figure-stack::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    z-index: 0;
}
.figure-stack::before { translate: 14px 14px; opacity: 0.55; }
.figure-stack::after  { translate: 7px 7px;  opacity: 0.8; }

.viz {
    position: relative;
    z-index: 1;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: clamp(1.15rem, 2vw, 1.6rem);
    overflow: hidden;
}
.viz-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}
.viz-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-800); }
.viz-chip {
    font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.2rem 0.5rem; border-radius: var(--r-full);
    background: var(--teal-50); color: var(--teal-700);
}
.viz-chip--brand { background: var(--brand-50); color: var(--brand-700); }
.viz-chip--amber { background: var(--amber-50); color: var(--amber-800); }

/* -- 1S4H: KPI scorecard sheet -- */
.viz-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 1rem; }
.viz-kpi { padding: 0.65rem; border: 1px solid var(--line-soft); border-radius: var(--r-sm); }
.viz-kpi dt { font-size: 8.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; }
.viz-kpi dd { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: var(--ink-900); line-height: 1.15; }
.viz-kpi span { font-size: 9px; font-weight: 700; color: var(--teal-600); }

.viz-bars { display: flex; align-items: flex-end; gap: 5px; block-size: 76px; margin-bottom: 0.9rem; }
.viz-bars i {
    flex: 1; border-radius: 3px 3px 0 0; display: block;
    background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
}
.viz-bars i:nth-child(even) { background: linear-gradient(180deg, var(--brand-200), var(--brand-300)); }

.viz-rows { display: grid; gap: 0.45rem; }
.viz-row { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: center;
           font-size: 10px; color: var(--ink-600); padding: 0.3rem 0; border-top: 1px solid var(--line-soft); }
.viz-row b { font-family: var(--font-mono); font-size: 10px; color: var(--ink-900); }

/* -- DFD: phone -- */
.viz--phone { padding: 0; border: 0; box-shadow: none; background: none; display: grid; place-items: center; }
.phone {
    inline-size: min(232px, 68%);
    aspect-ratio: 9 / 18.5;
    border-radius: 30px;
    border: 8px solid var(--ink-900);
    background: #fff;
    box-shadow: var(--shadow-xl);
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}
.phone::before {
    content: "";
    position: absolute; top: 0; left: 50%; translate: -50% 0;
    inline-size: 62px; block-size: 15px;
    background: var(--ink-900);
    border-radius: 0 0 10px 10px;
}
.phone-greet { font-size: 10px; color: var(--ink-400); font-weight: 600; margin-top: 0.6rem; }
.phone-greet b { display: block; font-size: 14px; color: var(--ink-900); letter-spacing: -0.01em; }

.ring { position: relative; inline-size: 106px; block-size: 106px; margin: 0.25rem auto 0; }
.ring svg { inline-size: 100%; block-size: 100%; rotate: -90deg; }
.ring-track { fill: none; stroke: var(--bg-sunken); stroke-width: 9; }
.ring-fill  { fill: none; stroke: url(#ringGrad); stroke-width: 9; stroke-linecap: round; }
.ring-label {
    position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.ring-label b { display: block; font-size: 21px; font-weight: 750; letter-spacing: -0.03em; color: var(--ink-900); line-height: 1; }
.ring-label span { font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; }

.phone-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.phone-metric { padding: 0.45rem 0.5rem; border-radius: var(--r-sm); background: var(--bg-subtle); }
.phone-metric dt { font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; }
.phone-metric dd { font-size: 13px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }

.phone-habits { display: flex; gap: 4px; margin-top: auto; }
.phone-habits i {
    flex: 1; block-size: 26px; border-radius: 5px; display: block;
    background: var(--bg-sunken);
}
.phone-habits i.on { background: linear-gradient(180deg, var(--teal-500), var(--teal-600)); }

/* -- Health Checks: RAG outcomes flowing into a GP letter -- */
.rag { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.rag-row {
    display: grid; grid-template-columns: 1fr auto auto; gap: 0.7rem; align-items: center;
    padding: 0.5rem 0.6rem; border: 1px solid var(--line-soft); border-radius: var(--r-sm);
    font-size: 10.5px; color: var(--ink-700);
}
.rag-val { font-family: var(--font-mono); font-size: 10px; color: var(--ink-900); }
.rag-dot { inline-size: 9px; block-size: 9px; border-radius: 50%; display: block; }
.rag-dot--g { background: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-50); }
.rag-dot--a { background: var(--amber-500); box-shadow: 0 0 0 3px var(--amber-50); }
.rag-dot--r { background: var(--red-500); box-shadow: 0 0 0 3px #fdf1f0; }

.rag-flow { display: flex; align-items: center; gap: 0.6rem; margin: 0.9rem 0; color: var(--ink-400); }
.rag-flow::before, .rag-flow::after { content: ""; flex: 1; block-size: 1px; background: var(--line); }
.rag-flow span { font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; }

.letter {
    border: 1px solid var(--brand-200);
    background: linear-gradient(165deg, var(--brand-50), #fff 70%);
    border-radius: var(--r-sm);
    padding: 0.75rem 0.85rem;
}
.letter-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.55rem; }
.letter-top b { font-size: 10.5px; color: var(--brand-800); }
.letter i { display: block; block-size: 5px; border-radius: 3px; background: var(--brand-100); margin-bottom: 4px; }

/* ----------------------------------------------- 6.5 Stats, editorial */
.stats-ed {
    position: relative;
    background:
        radial-gradient(46rem 24rem at 85% 0%, rgba(18, 163, 148, 0.30) 0%, transparent 60%),
        linear-gradient(135deg, var(--brand-800), var(--brand-900) 62%, #001a38);
    color: #fff;
    padding-block: calc(clamp(3rem, 5vw, 4.5rem) + 5vw) clamp(3rem, 5vw, 4.5rem);
    margin-top: 5vw;
    overflow: hidden;
}
/* Angled top edge — the band is not a plain rectangle */
.stats-ed::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto 0;
    block-size: 5vw;
    background: var(--bg-subtle);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.stats-ed h2 { color: #fff; }

.stat-strip { display: grid; gap: var(--sp-8); }
@media (min-width: 48rem) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .stat-strip { grid-template-columns: repeat(4, 1fr); gap: 0; } }

.stat-cell { position: relative; padding-block: var(--sp-2); }
@media (min-width: 72rem) {
    .stat-cell { padding-inline: clamp(1.25rem, 2.5vw, 2.5rem); }
    .stat-cell:first-child { padding-inline-start: 0; }
    .stat-cell:last-child { padding-inline-end: 0; }
    .stat-cell + .stat-cell::before {
        content: "";
        position: absolute;
        inset-block: 0.35rem;
        left: 0;
        inline-size: 1px;
        background: linear-gradient(180deg, transparent, rgba(255,255,255,.28) 22%, rgba(255,255,255,.28) 78%, transparent);
    }
}
.stat-big {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 0.92;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.stat-big .unit { font-size: 0.46em; color: var(--brand-200); margin-inline-start: 0.05em; letter-spacing: -0.02em; }
.stat-big--word { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.stat-cell p {
    margin-top: var(--sp-4);
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 15rem;
}

/* --------------------------------------------- 6.6 Capability spec list */
.spec { display: grid; gap: 0; }
@media (min-width: 56rem) { .spec { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); } }

.spec-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-5);
    align-items: start;
    padding: clamp(1.35rem, 2.2vw, 1.85rem) 0;
    border-top: 1px solid var(--line);
    transition: background var(--dur) var(--ease-soft);
}
.spec-item:hover { background: linear-gradient(90deg, var(--brand-50), transparent 70%); }
.spec-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-400);
    padding-top: 0.35rem;
    transition: color var(--dur-fast) var(--ease-soft);
}
.spec-item:hover .spec-num { color: var(--brand-600); }
.spec-item h3 { font-size: var(--fs-md); }
.spec-item p { margin-top: var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); max-width: 32rem; }

/* -------------------------------------------- 6.7 Differentiator stagger */
.stagger { display: grid; gap: var(--sp-6); }
@media (min-width: 60rem) {
    .stagger { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); align-items: start; }
    /* progressive vertical offset creates a diagonal rhythm */
    .stagger > *:nth-child(1) { margin-top: 0; }
    .stagger > *:nth-child(2) { margin-top: 2.25rem; }
    .stagger > *:nth-child(3) { margin-top: 4.5rem; }
    .stagger > *:nth-child(4) { margin-top: 6.75rem; }
}
.diff {
    padding: var(--sp-6);
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur) var(--ease-out), translate var(--dur) var(--ease-out);
}
.diff:hover { translate: 0 -5px; box-shadow: var(--shadow-lg); }
.diff-num {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--brand-400);
}
.diff h3 { font-size: var(--fs-md); margin: var(--sp-4) 0 var(--sp-3); }
.diff p { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

/* ------------------------------------------------- 6.8 Quotes, asymmetric */
.quote-ed { display: grid; gap: var(--sp-6); }
@media (min-width: 64rem) {
    .quote-ed { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
    .quote-side { display: grid; gap: var(--sp-6); }
}
.quote-hero {
    position: relative;
    padding: clamp(2rem, 3.5vw, 3rem);
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, var(--brand-50), #fff 62%);
    border: 1px solid var(--brand-100);
    overflow: hidden;
}
.quote-hero::before {
    content: "\201C";
    position: absolute;
    top: -2.6rem; right: 0.5rem;
    font-size: 13rem;
    line-height: 1;
    font-weight: 700;
    color: var(--brand-600);
    opacity: 0.09;
    pointer-events: none;
}
.quote-hero blockquote {
    position: relative;
    font-size: var(--fs-lg);
    line-height: 1.62;
    color: var(--ink-800);
    letter-spacing: -0.005em;
}
.quote-hero .quote-author { border-top-color: var(--brand-100); }

.quote-min {
    padding: clamp(1.35rem, 2.2vw, 1.75rem);
    border-left: 2px solid var(--brand-300);
    background: var(--bg-subtle);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote-min blockquote { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--ink-700); }
.quote-min .quote-author { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); }

/* --------------------------------------------------- 6.9 Marquee certs */
.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    inline-size: max-content;
    animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
    block-size: clamp(50px, 6vw, 72px);
    inline-size: auto;
    max-inline-size: none;
    object-fit: contain;
    opacity: 0.85;
}
@keyframes marquee { to { translate: -50% 0; } }

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; inline-size: 100%; justify-content: center; flex-wrap: wrap; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
    .marquee-track > [data-clone] { display: none; }
}

/* ------------------------------------------------------ 6.10 CTA, angled */
.cta-ed {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-900));
    color: #fff;
    padding-block: clamp(3rem, 6vw, 5.5rem);
    margin-top: clamp(3rem, 6vw, 6rem);
}
.cta-ed::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto 0;
    block-size: 4.5vw;
    background: var(--bg-subtle);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.cta-ed::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(28rem 18rem at 88% 120%, rgba(18, 163, 148, 0.42), transparent 62%),
        radial-gradient(22rem 15rem at 8% -30%, rgba(130, 193, 255, 0.26), transparent 60%);
    pointer-events: none;
}
.cta-ed > * { position: relative; z-index: 1; }
.cta-ed-inner { display: grid; gap: var(--sp-8); align-items: end; }
@media (min-width: 58rem) {
    .cta-ed-inner { grid-template-columns: minmax(0, 1.5fr) auto; gap: var(--sp-12); }
}
.cta-ed h2 { color: #fff; font-size: var(--fs-3xl); }
.cta-ed p { margin-top: var(--sp-5); color: rgba(255,255,255,.8); font-size: var(--fs-md); line-height: var(--lh-relax); max-width: 34rem; }

/* ==========================================================================
   7. EDITORIAL — PRODUCT DETAIL PAGE
   ========================================================================== */

/* ------------------------------------------------- 7.1 Editorial page hero */
.hero-ed {
    position: relative;
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 4vw, 4rem);
    background:
        radial-gradient(50rem 28rem at 82% -20%, var(--brand-50) 0%, transparent 62%),
        radial-gradient(36rem 24rem at 2% 4%, var(--teal-50) 0%, transparent 58%),
        var(--bg);
    overflow: hidden;
}
.hero-ed::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11,21,36,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11,21,36,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(65% 65% at 50% 25%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(65% 65% at 50% 25%, #000 0%, transparent 78%);
    pointer-events: none;
}
.hero-ed-grid { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 62rem) {
    .hero-ed-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--sp-12); }
}
.hero-ed h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); margin-top: var(--sp-4); }
.hero-ed h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand-600), var(--teal-500));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-ed .lede {
    margin-top: var(--sp-6);
    font-size: var(--fs-lg);
    line-height: var(--lh-relax);
    color: var(--text-muted);
    max-width: 38rem;
}

/* Contents rail — doubles as an at-a-glance index */
.rail { border-top: 1px solid var(--line); }
.rail a {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    gap: var(--sp-3);
    align-items: baseline;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-soft);
    text-decoration: none;
    color: var(--ink-700);
    font-size: var(--fs-sm);
    font-weight: 550;
    transition: color var(--dur-fast) var(--ease-soft), padding-inline-start var(--dur) var(--ease-out);
}
.rail a:hover { color: var(--brand-700); padding-inline-start: 0.4rem; }
.rail .idx { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand-400); }
.rail .meta { font-size: var(--fs-xs); color: var(--text-faint); font-weight: 500; }

/* --------------------------------------------------- 7.2 Product article */
.prod-ed {
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
    scroll-margin-top: calc(var(--header-h) + 4.5rem);
}
.prod-ed + .prod-ed { border-top: 1px solid var(--line); }

.prod-ed-top { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 64rem) {
    .prod-ed-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
    .prod-ed:nth-of-type(even) .prod-ed-figure { order: -1; }
}

.prod-ed-eyebrow {
    display: flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand-500);
}
.prod-ed-eyebrow::after { content: ""; flex: 1; block-size: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.prod-ed h2 { font-size: var(--fs-3xl); line-height: var(--lh-snug); margin-top: var(--sp-5); }
.prod-ed-sub { margin-top: var(--sp-3); font-size: var(--fs-md); font-weight: 600; color: var(--text-faint); }
.prod-ed-body { margin-top: var(--sp-6); font-size: var(--fs-md); line-height: var(--lh-relax); color: var(--text-muted); max-width: 34rem; }

.prod-ed-quote {
    margin-top: var(--sp-7, 1.75rem);
    padding-left: var(--sp-5);
    border-left: 3px solid var(--brand-500);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--brand-800);
    line-height: 1.5;
}

/* --------------------------------------------- 7.3 Open spec columns */
.spec-cols {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(2rem, 3vw, 2.5rem);
    border-top: 1px solid var(--line);
}
@media (min-width: 52rem) { .spec-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 76rem) { .spec-cols--3 { grid-template-columns: repeat(3, 1fr); } }

.spec-col h3 {
    display: flex; align-items: baseline; gap: 0.6rem;
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase;
    color: var(--brand-700);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--brand-200);
}
.spec-col h3 span { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); font-weight: 600; }
.spec-col ul { margin-top: 0.25rem; }
.spec-col li {
    display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--ink-700);
    transition: color var(--dur-fast) var(--ease-soft);
}
.spec-col li:hover { color: var(--ink-900); }
.spec-col li .n { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--brand-300); }
.spec-col--teal h3 { color: var(--teal-700); border-bottom-color: var(--teal-100); }
.spec-col--teal li .n { color: var(--teal-500); }

/* --------------------------------------------- 7.4 Secondary product rows */
.minor { border-top: 1px solid var(--line); }
.minor-row {
    display: grid;
    gap: var(--sp-6);
    padding-block: clamp(2rem, 3.5vw, 3rem);
    border-bottom: 1px solid var(--line-soft);
    align-items: start;
}
@media (min-width: 60rem) {
    .minor-row { grid-template-columns: 3rem minmax(0, 15rem) minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); align-items: baseline; }
}
.minor-row .idx { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand-400); }
.minor-row h3 { font-size: var(--fs-lg); }
.minor-row h3 small { display: block; margin-top: .35rem; font-size: var(--fs-xs); font-weight: 600; color: var(--text-faint); letter-spacing: 0; }
.minor-row > p { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }
.minor-row .tag-row { align-self: start; }

/* ------------------------------------------------ 7.5 Included-with strip */
.included {
    display: grid;
    gap: var(--sp-6);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, var(--brand-50), #fff 65%);
}
@media (min-width: 60rem) { .included { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); } }
.included-item h3 {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
    text-transform: uppercase; color: var(--brand-700); margin-bottom: var(--sp-3);
}
.included-item p { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-700); }

/* ==========================================================================
   8. EDITORIAL — SERVICES PAGE
   ========================================================================== */

/* ------------------------------------------ 8.1 Capability list + sticky aside */
.cap { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 64rem) {
    .cap { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
    .cap-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.cap-aside h2 { font-size: var(--fs-2xl); margin-top: var(--sp-4); }
.cap-aside p { margin-top: var(--sp-5); font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

.cap-list { border-top: 1px solid var(--line); }
.cap-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: var(--sp-4);
    align-items: baseline;
    padding: clamp(1.4rem, 2.4vw, 2rem) 0;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.cap-item::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    inline-size: 0;
    block-size: 1px;
    background: var(--brand-600);
    transition: inline-size var(--dur-slow) var(--ease-out);
}
.cap-item:hover::after { inline-size: 100%; }
.cap-num {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    color: var(--brand-400);
    transition: color var(--dur-fast) var(--ease-soft);
}
.cap-item:hover .cap-num { color: var(--brand-600); }
.cap-item h3 { font-size: var(--fs-lg); letter-spacing: -0.015em; }
.cap-item p { margin-top: var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); max-width: 44rem; }

/* --------------------------------------------------- 8.2 Process flow rail */
.flow { counter-reset: flowstep; display: grid; gap: var(--sp-8); }
@media (min-width: 68rem) {
    .flow { grid-template-columns: repeat(6, 1fr); gap: var(--sp-5); }
}

.flow-step { position: relative; counter-increment: flowstep; padding-inline-start: 3.75rem; }
@media (min-width: 68rem) { .flow-step { padding-inline-start: 0; padding-top: 4.25rem; } }

/* Numbered node */
.flow-step::before {
    content: "0" counter(flowstep);
    position: absolute;
    top: 0; left: 0;
    inline-size: 2.6rem; block-size: 2.6rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--brand-200);
    font-family: var(--font-mono);
    font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
    color: var(--brand-600);
    box-shadow: 0 0 0 5px var(--bg-subtle);
    z-index: 1;
    transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft),
                border-color var(--dur) var(--ease-soft);
}
.flow-step:hover::before { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* Connector: vertical on small screens, horizontal on wide */
.flow-step::after {
    content: "";
    position: absolute;
    background: linear-gradient(180deg, var(--brand-200), var(--line));
    top: 2.6rem; left: 1.3rem;
    inline-size: 1px;
    block-size: calc(100% - 2.6rem + var(--sp-8));
}
.flow-step:last-child::after { display: none; }
@media (min-width: 68rem) {
    .flow-step::after {
        top: 1.3rem; left: 2.6rem; right: calc(var(--sp-5) * -1);
        inline-size: auto; block-size: 1px;
        background: linear-gradient(90deg, var(--brand-200), var(--line));
    }
}

.flow-step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.flow-step p { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

/* ------------------------------------------------ 8.3 Technology stack */
.stack { border-top: 1px solid var(--line); }
.stack-layer {
    display: grid;
    gap: var(--sp-4);
    padding-block: clamp(1.4rem, 2.4vw, 1.9rem);
    padding-inline-start: var(--sp-6);
    border-bottom: 1px solid var(--line-soft);
    border-left: 3px solid var(--_accent, var(--brand-600));
    align-items: baseline;
    transition: background var(--dur) var(--ease-soft);
}
.stack-layer:hover { background: linear-gradient(90deg, var(--bg-subtle), transparent 65%); }
@media (min-width: 60rem) {
    .stack-layer { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: var(--sp-8); }
}
.stack-layer:nth-child(1) { --_accent: var(--brand-600); }
.stack-layer:nth-child(2) { --_accent: var(--teal-500); }
.stack-layer:nth-child(3) { --_accent: var(--brand-400); }
.stack-layer:nth-child(4) { --_accent: var(--brand-800); }

.stack-label h3 { font-size: var(--fs-md); }
.stack-label p { margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--text-faint); }

/* -------------------------------------------- 8.4 Engagement / assurance */
.assure {
    display: grid;
    gap: var(--sp-6);
    padding-top: clamp(2rem, 3vw, 2.5rem);
    border-top: 1px solid var(--line);
}
@media (min-width: 56rem) { .assure { grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); } }
.assure-item h3 {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
    text-transform: uppercase; color: var(--brand-700); margin-bottom: var(--sp-3);
    padding-bottom: var(--sp-3); border-bottom: 1px solid var(--line-soft);
}
.assure-item p { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

/* ==========================================================================
   9. EDITORIAL — ABOUT PAGE
   ========================================================================== */

/* --------------------------------------------------- 8.9 Coverage map */
.map-card {
    padding: var(--sp-6);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.map-card-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-400);
    margin: 0 0 var(--sp-4);
}
.client-map {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 26rem;
    margin-bottom: var(--sp-5);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: var(--bg-sunken);
    z-index: 0;
}
.client-map .maplibregl-popup-content { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); padding: 0.5rem 0.75rem; }

/* --------------------------------------------------- 9.1 Hairline fact list */
.deflist { border-top: 1px solid var(--line); }
.deflist > div {
    display: grid;
    grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
}
.deflist dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-400);
}
.deflist dd { font-size: var(--fs-sm); color: var(--ink-800); line-height: 1.55; }

/* ------------------------------------------------------- 9.2 Pull quote */
.pull {
    position: relative;
    margin-block: clamp(2.5rem, 5vw, 4rem);
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    border-left: 3px solid var(--brand-600);
}
.pull p {
    font-size: var(--fs-xl);
    line-height: 1.45;
    letter-spacing: -0.018em;
    font-weight: 600;
    color: var(--ink-900);
    text-wrap: balance;
}
.pull cite {
    display: block;
    margin-top: var(--sp-4);
    font-style: normal;
    font-size: var(--fs-xs);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-700);
}

/* ------------------------------------------------- 9.3 Values, big numerals */
.values-ed { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 56rem) { .values-ed { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 5rem); } }

.value-ed {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
    padding: clamp(1.75rem, 3.2vw, 2.75rem) 0;
    border-bottom: 1px solid var(--line-soft);
    overflow: hidden;
}
.value-ed-num {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--brand-600);
    opacity: 0.16;
    transition: opacity var(--dur) var(--ease-soft);
}
.value-ed:hover .value-ed-num { opacity: 0.42; }
.value-ed h3 { font-size: var(--fs-lg); }
.value-ed p { margin-top: var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

/* ------------------------------------------------------------ 9.4 Roster */
.roster { border-top: 1px solid var(--line); }
.roster-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-5);
    align-items: center;
    padding: clamp(1.1rem, 2vw, 1.5rem) 0;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    transition: padding-inline-start var(--dur) var(--ease-out);
}
@media (min-width: 48rem) {
    .roster-row { grid-template-columns: auto minmax(0, 16rem) minmax(0, 1fr) auto; gap: var(--sp-6); }
}
.roster-row:hover { padding-inline-start: 0.5rem; }
.roster-row::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    inline-size: 0; block-size: 1px;
    background: var(--brand-600);
    transition: inline-size var(--dur-slow) var(--ease-out);
}
.roster-row:hover::after { inline-size: 100%; }

.mono-avatar {
    display: grid;
    place-items: center;
    inline-size: 52px;
    block-size: 52px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand-500), var(--brand-800));
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: 0.02em;
    flex: none;
}
.roster-row--lead .mono-avatar { background: linear-gradient(140deg, var(--teal-500), var(--brand-700)); }
.roster-name { font-size: var(--fs-md); font-weight: 650; color: var(--ink-900); letter-spacing: -0.01em; }
.roster-role { font-size: var(--fs-sm); color: var(--brand-700); font-weight: 600; }
.roster-note { font-size: var(--fs-xs); color: var(--text-faint); }

/* ------------------------------------------------- 9.5 Credentials ledger */
.cred { border-top: 1px solid var(--line); }
.cred-row {
    display: grid;
    gap: var(--sp-4);
    align-items: center;
    padding: clamp(1.1rem, 2vw, 1.5rem) 0;
    border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 52rem) {
    .cred-row { grid-template-columns: 6.5rem minmax(0, 14rem) minmax(0, 1fr); gap: var(--sp-8); }
}
.cred-row img {
    block-size: clamp(40px, 5vw, 54px);
    inline-size: auto;
    max-inline-size: 100%;
    object-fit: contain;
    object-position: left center;
}
.cred-name { font-size: var(--fs-sm); font-weight: 650; color: var(--ink-900); }
.cred-name span { display: block; margin-top: .2rem; font-size: var(--fs-xs); font-weight: 500; color: var(--text-faint); }
.cred-row > p { font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); }

/* Typographic stand-in where a credential has no logo asset */
.cred-mark {
    display: inline-grid;
    place-items: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--r-sm);
    background: var(--brand-50);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-700);
    justify-self: start;
}

/* ==========================================================================
   10. EDITORIAL — CLIENTS PAGE
   ========================================================================== */

/* --------------------------------------------------------- 10.1 Lattice */
/* Shared 1px rules rather than floating cards: the gap IS the border. */
.lattice {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}
.lattice-cell {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: var(--sp-4);
    place-items: center;
    padding: clamp(1.5rem, 2.8vw, 2.25rem) var(--sp-5);
    background: #fff;
    text-align: center;
    transition: background var(--dur) var(--ease-soft);
}
.lattice-cell:hover { background: var(--brand-50); }
.lattice-cell img {
    max-block-size: 60px;
    max-inline-size: 100%;
    inline-size: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter var(--dur) var(--ease-soft), opacity var(--dur) var(--ease-soft);
}
.lattice-cell:hover img { filter: grayscale(0); opacity: 1; }
.lattice-name {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-500);
    transition: color var(--dur-fast) var(--ease-soft);
}
.lattice-cell:hover .lattice-name { color: var(--brand-700); }

/* ---------------------------------------------- 10.2 Long-form testimonial */
.quote-long { border-top: 1px solid var(--line); }
.quote-long-row {
    display: grid;
    gap: var(--sp-6);
    padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
    border-bottom: 1px solid var(--line-soft);
    align-items: start;
}
@media (min-width: 62rem) {
    .quote-long-row { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
    .quote-long-who { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.quote-long-who .idx {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    color: var(--brand-400);
    margin-bottom: var(--sp-4);
}
.quote-long-who strong { display: block; font-size: var(--fs-md); color: var(--ink-900); letter-spacing: -0.01em; }
.quote-long-who span { display: block; margin-top: 0.35rem; font-size: var(--fs-sm); color: var(--brand-700); font-weight: 600; }
.quote-long-who em {
    display: block; margin-top: var(--sp-4); font-style: normal;
    font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.5;
}

.quote-long-body { position: relative; }
.quote-long-body::before {
    content: "\201C";
    position: absolute;
    top: -1.6rem; left: -0.6rem;
    font-size: 7rem; line-height: 1; font-weight: 700;
    color: var(--brand-600);
    opacity: 0.10;
    pointer-events: none;
}
.quote-long-body blockquote {
    position: relative;
    font-size: var(--fs-md);
    line-height: 1.72;
    color: var(--ink-700);
}
.quote-long-body blockquote + blockquote { margin-top: var(--sp-4); }

/* ==========================================================================
   11. EDITORIAL — EVENTS / TIMELINE PAGE
   ========================================================================== */

/* ------------------------------------------- 11.1 Status list (hero rail) */
.status-list { border-top: 1px solid var(--line); }
.status-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--sp-4);
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-soft);
}
.status-list dt { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); }
.status-list dd { display: flex; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.24rem 0.6rem;
    border-radius: var(--r-full);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.status-pill svg { inline-size: 12px; block-size: 12px; }
.status-pill--ok { background: var(--teal-50); color: var(--teal-700); }
.status-pill--wip { background: var(--amber-50); color: var(--amber-800); }

/* ------------------------------------------------- 11.2 Sticky-year timeline */
.tl { border-top: 1px solid var(--line); }

.tl-group { display: grid; gap: var(--sp-5); padding-block: clamp(1.75rem, 3vw, 2.75rem); border-bottom: 1px solid var(--line-soft); }
@media (min-width: 56rem) {
    .tl-group { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
    .tl-year { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.tl-year span {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink-900);
}
.tl-year small {
    display: block;
    margin-top: var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.tl-group--now .tl-year span { color: var(--brand-600); }

/* Entries hang off a continuous rail */
.tl-entries {
    display: grid;
    gap: clamp(1.1rem, 2vw, 1.6rem);
    padding-inline-start: clamp(1.25rem, 2.5vw, 1.85rem);
    border-inline-start: 1px solid var(--line);
}
.tl-entry { position: relative; }
.tl-entry::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: calc(clamp(1.25rem, 2.5vw, 1.85rem) * -1 - 4.5px);
    inline-size: 9px;
    block-size: 9px;
    border-radius: 50%;
    background: var(--brand-600);
    box-shadow: 0 0 0 4px var(--bg);
}
.tl-entry--wip::before { background: #fff; border: 2px solid var(--amber-600); }

.tl-kind {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-500);
    margin-bottom: var(--sp-2);
}
.tl-kind--milestone { color: var(--teal-600); }
.tl-kind--event { color: var(--ink-400); }
.tl-kind--wip { color: var(--amber-800); }

.tl-entry h3 { font-size: var(--fs-md); }
.tl-entry p { margin-top: var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-relax); color: var(--text-muted); max-width: 46rem; }

/* ------------------------------------------------ 11.3 Procurement pack */
.docs { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 56rem) { .docs { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 5rem); } }
.docs-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding: clamp(1.1rem, 2vw, 1.5rem) 0;
    border-bottom: 1px solid var(--line-soft);
}
.docs-item svg { inline-size: 18px; block-size: 18px; color: var(--brand-500); margin-top: 0.15rem; }
.docs-item h3 { font-size: var(--fs-sm); }
.docs-item p { margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.55; }

/* ==========================================================================
   12. EDITORIAL — CONTACT PAGE
   ========================================================================== */

/* -------------------------------------------- 12.1 Direct contact methods */
.methods { border-top: 1px solid var(--line); }
.method {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--sp-4);
    align-items: center;
    padding: clamp(1rem, 2vw, 1.35rem) 0;
    border-bottom: 1px solid var(--line-soft);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: padding-inline-start var(--dur) var(--ease-out);
}
.method:hover { padding-inline-start: 0.5rem; }
.method::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    inline-size: 0; block-size: 1px;
    background: var(--brand-600);
    transition: inline-size var(--dur-slow) var(--ease-out);
}
.method:hover::after { inline-size: 100%; }

.method-icon {
    display: grid; place-items: center;
    inline-size: 40px; block-size: 40px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    flex: none;
    transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
}
.method:hover .method-icon { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.method-icon svg { inline-size: 19px; block-size: 19px; }

.method-label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-faint);
}
.method-value { margin-top: 0.15rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); }
.method-value address { font-style: normal; font-weight: 500; line-height: 1.5; color: var(--ink-800); }
.method-go { inline-size: 16px; block-size: 16px; color: var(--ink-400); transition: translate var(--dur) var(--ease-out), color var(--dur) var(--ease-soft); }
.method:hover .method-go { translate: 3px 0; color: var(--brand-600); }

/* --------------------------------------------------- 12.2 Form + aside */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 64rem) {
    .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 21rem); gap: clamp(3rem, 6vw, 5rem); }
}
.form-ed {
    padding: clamp(1.75rem, 3.5vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.form-ed > h2 { font-size: var(--fs-xl); }
.form-ed > p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }

/* Three-step variant of the process flow (contact page).
   Must override the 6-column rule INSIDE the same breakpoint so the
   horizontal connector geometry stays correct. */
@media (min-width: 68rem) {
    .flow--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   13. EDITORIAL — POLICY PAGE
   Body copy stays plain and readable: a legal document should not be
   "designed". The editorial treatment is confined to hero, TOC and close.
   ========================================================================== */
.policy-summary {
    padding: clamp(1.5rem, 2.6vw, 2rem);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-lg);
    background: linear-gradient(155deg, var(--brand-50), #fff 68%);
}
.policy-summary h2 {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
    text-transform: uppercase; color: var(--brand-700); margin-bottom: var(--sp-5);
}
.policy-summary .deflist { border-top-color: var(--brand-100); }
.policy-summary .deflist > div { border-bottom-color: var(--brand-100); }
.policy-summary .deflist > div:last-child { border-bottom: 0; padding-bottom: 0; }

.toc h2 { margin-bottom: var(--sp-4); }

/* ==========================================================================
   14. DFD PHONE — "the way in" screen
   Replaces the goal-ring-only mockup: the product leads on self-referral,
   booking and status, so the visual shows that mechanism first and keeps
   progress tracking as a secondary strip.
   ========================================================================== */
.phone-head { margin-top: 0.55rem; }
.phone-head span {
    font-size: 8.5px; font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--ink-400);
}
.phone-head b {
    display: block; margin-top: 0.15rem;
    font-size: 13.5px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink-900);
}

/* Referral status trail */
.ptrack { display: grid; gap: 0; margin-top: 0.2rem; }
.ptrack li {
    position: relative;
    display: grid; grid-template-columns: 16px 1fr auto; gap: 0.55rem;
    align-items: center;
    padding: 0.32rem 0;
    font-size: 10px;
    color: var(--ink-400);
}
.ptrack li i {
    inline-size: 9px; block-size: 9px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--bg-sunken);
    justify-self: center; display: block; z-index: 1;
}
/* connector between dots */
.ptrack li::before {
    content: ""; position: absolute;
    left: 7.5px; top: 50%; bottom: -0.32rem;
    inline-size: 1.5px; background: var(--bg-sunken);
}
.ptrack li:last-child::before { display: none; }
.ptrack li.done { color: var(--ink-700); font-weight: 600; }
.ptrack li.done i { background: var(--teal-500); border-color: var(--teal-500); }
.ptrack li.done::before { background: var(--teal-500); }
.ptrack li.now { color: var(--brand-800); font-weight: 700; }
.ptrack li.now i {
    background: var(--brand-600); border-color: var(--brand-600);
    box-shadow: 0 0 0 3px var(--brand-100);
}
.ptrack li time { font-size: 8.5px; color: var(--ink-400); font-weight: 500; }

/* Next appointment card */
.appt {
    margin-top: 0.55rem;
    padding: 0.6rem 0.65rem;
    border-radius: var(--r-sm);
    background: linear-gradient(160deg, var(--brand-50), #fff 72%);
    border: 1px solid var(--brand-100);
}
.appt-label { font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.appt-when { margin-top: 0.15rem; font-size: 12.5px; font-weight: 750; letter-spacing: -0.015em; color: var(--ink-900); }
.appt-where { font-size: 9px; color: var(--ink-500); margin-top: 0.1rem; }
.appt-btn {
    display: block; margin-top: 0.5rem;
    padding: 0.34rem; border-radius: var(--r-full);
    background: var(--brand-600); color: #fff;
    font-size: 9.5px; font-weight: 700; text-align: center; letter-spacing: .02em;
}

/* Secondary progress strip */
.phone-mini {
    margin-top: auto;
    display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center;
    padding-top: 0.5rem; border-top: 1px solid var(--bg-sunken);
}
.phone-mini span { font-size: 8.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-400); }
.phone-mini b { font-size: 12px; font-weight: 750; color: var(--teal-600); letter-spacing: -0.01em; }
.phone-bar { grid-column: 1 / -1; block-size: 4px; border-radius: 2px; background: var(--bg-sunken); overflow: hidden; }
.phone-bar i { display: block; block-size: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--teal-500), var(--brand-600)); }
