/*!
 * Freehand HQ — public website stylesheet.
 * Served directly from /public (no build step). Values are ported from the approved
 * prototype in /mockup; keep them in sync with it rather than "tidying" them.
 *
 * Contents: 1 fonts · 2 tokens · 3 base · 4 shared UI · 5 intro · 6 header & menu
 *           7 hero · 8 marquee · 9 idea · 10 global · 11 services · 12 system
 *           13 people · 14 principles · 15 about · 16 contact CTA · 17 footer
 *           18 error pages · 19 reduced motion
 */

/* 1. Fonts (self-hosted, latin + latin-ext; see public/fonts/OFL.txt) ------------------ */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/dm-sans/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/dm-sans/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/sora/sora-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/sora/sora-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono/jetbrains-mono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 2. Tokens ----------------------------------------------------------------------------- */
:root {
    --c-paper: #F3F1EA;
    --c-paper-2: #FBFAF6;
    --c-sand: #E9E6DC;
    --c-ink: #0B1224;
    --c-navy: #080B21;
    --c-teal: #5DBFB0;
    --c-teal-deep: #1E6E68;
    --c-slate: #3C4358;
    --c-muted: #5D6478;
    --c-mist: #9AA3B5;
    --c-snow: #EEEDE7;

    --line-soft: rgba(11, 18, 36, .08);
    --line: rgba(11, 18, 36, .12);
    --line-mid: rgba(11, 18, 36, .14);
    --line-strong: rgba(11, 18, 36, .25);

    --f-display: 'Sora', sans-serif;
    --f-body: 'DM Sans', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;

    --container: 2400px;
    --gutter: clamp(20px, 3.4vw, 80px);
    --inset: clamp(8px, 1.2vw, 20px);
    --inset-pad: clamp(20px, 3.4vw, 72px);
    --r-inset: clamp(24px, 3vw, 48px);
    --section-y: clamp(110px, 14vw, 240px);
    --ease-out: cubic-bezier(.2, .7, .1, 1);
}

/* Breakpoints (from the prototype): < 1180 compact nav · < 1100 stacked hero + accordion
   services · < 860 "mobile" diagram, photos and 3D placement. */

/* 3. Base ------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--c-paper);
    color: var(--c-ink);
    font-family: var(--f-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--c-teal-deep); }
button { font: inherit; }
::selection { background: var(--c-teal); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-teal-deep); outline-offset: 4px; border-radius: 4px; }
.inset-dark :focus-visible, .chapter--navy :focus-visible, .hero-panel :focus-visible { outline-color: var(--c-teal); }
html.is-locked, html.intro-pending { overflow: hidden; }

@keyframes fhqPulse {
    0% { box-shadow: 0 0 0 0 rgba(93, 191, 176, .7); }
    70% { box-shadow: 0 0 0 9px rgba(93, 191, 176, 0); }
    100% { box-shadow: 0 0 0 0 rgba(93, 191, 176, 0); }
}
@keyframes fhqMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 4. Shared UI -------------------------------------------------------------------------- */
.wrap { max-width: var(--container); width: 100%; margin: 0 auto; }
.section { padding: var(--section-y) var(--gutter); }
.span-all { grid-column: 1 / -1; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 16px; z-index: 200;
    padding: 12px 18px; background: var(--c-ink); color: var(--c-paper);
    border-radius: 999px; font-weight: 600;
}
.skip-link:focus { left: 16px; color: var(--c-paper); }

.eyebrow {
    margin: 0;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--c-muted);
}
.eyebrow--light { color: var(--c-mist); }
.display { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.h2-lg { font-size: clamp(36px, 4.6vw, 116px); }
.is-accent { color: var(--c-teal-deep); }
.is-accent-light { color: var(--c-teal); }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.line { display: block; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head__title { margin-top: clamp(20px, 2.2vw, 36px); }
.section-intro { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.55; color: var(--c-slate); }

.btn {
    display: inline-flex; align-items: center; gap: 14px;
    max-width: 100%; white-space: nowrap; border-radius: 999px;
    font-family: var(--f-body); font-weight: 500;
    transition: background .3s, color .3s, border-color .3s;
}
.btn--bold { font-weight: 600; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--md { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 18px; }
.btn--dark { background: var(--c-ink); color: var(--c-paper); }
.btn--dark:hover { background: var(--c-teal-deep); color: #FBFAF6; }
.btn--outline { border: 1px solid var(--line-strong); color: var(--c-ink); }
.btn--outline:hover { border-color: var(--c-teal-deep); color: var(--c-teal-deep); }
.btn--teal { background: var(--c-teal); color: var(--c-ink); }
.btn--teal:hover { background: var(--c-paper); color: var(--c-ink); }
.btn--outline-light { border: 1px solid rgba(238, 237, 231, .3); color: var(--c-snow); }
.btn--outline-light:hover { border-color: var(--c-teal); color: var(--c-teal); }

.pulse-dot {
    flex: none; width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-teal); animation: fhqPulse 2.2s infinite;
}
.pulse-dot--lg { width: 7px; height: 7px; }

.caps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.caps li {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
    padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-mid);
    background: var(--c-paper-2); font-size: 14px; line-height: 1.25; white-space: nowrap;
}
.caps li span { font-family: var(--f-mono); font-size: 10px; color: var(--c-teal-deep); }
.caps--lg li { gap: 10px; padding: 10px 14px; }

.inset-dark {
    position: relative; margin: 0 var(--inset); border-radius: var(--r-inset);
    background: var(--c-navy); color: var(--c-snow); overflow: hidden;
}

.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-fallback {
    display: none; position: absolute; top: 50%; left: 50%;
    width: min(78%, 520px); height: auto; transform: translate(-50%, -50%); pointer-events: none;
}
html:not(.js) .globe-fallback, .no-webgl > .globe-fallback { display: block; }
.globe-fallback--global { left: auto; right: 4%; width: min(46%, 640px); opacity: .7; transform: translateY(-50%); }

/* 5. Intro / logo reveal ---------------------------------------------------------------- */
.intro { display: none; position: fixed; inset: 0; z-index: 100; overflow: hidden; }
.intro-pending .intro { display: block; }
.intro__paper { position: absolute; inset: 0; background: var(--c-paper); }
.intro__navy {
    position: absolute; inset: 0; background: var(--c-navy);
    clip-path: inset(50% 50% 50% 50% round 999px);
}
.intro__rays { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.intro__arm {
    position: absolute; left: 0; top: 0; width: 62vmax; height: 1px;
    transform-origin: 0 50%; transform: rotate(var(--deg));
}
.intro__ray {
    width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, rgba(93, 191, 176, 0) 8%, rgba(93, 191, 176, .6) 34%, rgba(93, 191, 176, 0) 100%);
}
.intro__center { position: absolute; inset: 0; display: grid; place-items: center; }
.intro__mark { width: clamp(92px, 9vw, 148px); height: auto; opacity: 0; }
.intro__cap {
    position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 56px); margin: 0;
    text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--c-muted); opacity: 0;
}
/* No CSS starting states for the hero: the overlay covers it from first paint, and GSAP
   sets the from-values itself (CSS transforms here would be absorbed into GSAP's offsets). */

/* 6. Header, navigation and menu -------------------------------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.site-header.is-scrolled {
    background: rgba(243, 241, 234, .82);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom-color: var(--line-soft);
}
.site-nav {
    max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-nav__logo { display: flex; align-items: center; min-height: 44px; }
.site-nav__logo img { height: 40px; width: auto; display: block; }
.site-nav__wide { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 48px); }
.site-nav__links {
    list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.2vw, 40px);
    white-space: nowrap; font-size: 15px; font-weight: 500;
}
.nav-clock {
    display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 36px;
    border: 1px solid var(--line-mid); border-radius: 999px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--c-slate); white-space: nowrap;
}
.menu-btn {
    display: none; align-items: center; min-height: 44px; padding: 0 20px;
    border-radius: 999px; border: 0; background: var(--c-ink); color: var(--c-paper);
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
}
.menu-btn:hover { color: var(--c-paper); }
@media (max-width: 1179.98px) {
    .site-nav__wide { display: none; }
    .js .menu-btn:not(.menu-btn--nojs),
    html:not(.js) .menu-btn--nojs { display: inline-flex; }
}

.menu {
    position: fixed; inset: 0; z-index: 80; overflow-y: auto;
    display: flex; flex-direction: column; padding: 14px 20px 32px; background: var(--c-paper);
}
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__top img { height: 40px; width: auto; }
.menu__close {
    min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: transparent; color: var(--c-ink); cursor: pointer;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.menu__list {
    list-style: none; margin: auto 0; padding: 0; display: flex; flex-direction: column;
    border-top: 1px solid var(--line);
}
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__link {
    display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0;
    font-family: var(--f-display); font-size: clamp(36px, 10vw, 80px); font-weight: 600;
    letter-spacing: -.045em; line-height: 1.05;
}
.menu__link span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--c-teal-deep); }
.menu__foot {
    display: flex; justify-content: space-between; gap: 16px;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
}

/* 7. Hero ------------------------------------------------------------------------------- */
.hero-wrap { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero {
    flex: 1; display: flex; flex-direction: column;
    padding: clamp(76px, 11vh, 124px) var(--gutter) clamp(12px, 2.4vh, 32px);
}
.hero__grid {
    flex: 1; width: 100%; max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(24px, 3vw, 56px); align-items: stretch;
}
.hero__content {
    display: flex; flex-direction: column; justify-content: space-between;
    gap: clamp(16px, 3.2vh, 56px); min-width: 0;
}
.hero__eyebrow-dot { margin-right: 12px; color: var(--c-teal-deep); }
.hero__main { display: flex; flex-direction: column; gap: clamp(18px, 2.8vh, 40px); }
.hero__title {
    margin: 0; font-family: var(--f-display); font-weight: 600; color: var(--c-ink);
    font-size: clamp(38px, 5.4vw, 148px); line-height: .98; letter-spacing: -.055em;
}
.hero__lead {
    margin: 0; max-width: 44ch; font-size: clamp(17px, 1.2vw, 22px); line-height: 1.55;
    color: var(--c-slate); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__marquee-inline { display: none; margin: 0 calc(-1 * var(--gutter)); }

.hero-panel {
    position: relative; overflow: hidden; color: var(--c-snow); background: var(--c-navy);
    min-height: clamp(320px, 40svh, 1100px); border-radius: clamp(20px, 2vw, 32px);
}
.hero-panel__labels { position: absolute; inset: 0; pointer-events: none; }
.mod-label { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform; transition: opacity .4s; }
.mod-label span {
    display: inline-flex; align-items: center; gap: 8px; transform: translate(16px, -50%);
    padding: 5px 10px; border: 1px solid rgba(93, 191, 176, .35); border-radius: 999px;
    background: rgba(8, 11, 33, .65); color: var(--c-snow); white-space: nowrap;
    font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.mod-label b, .chip b { font-weight: 400; color: var(--c-teal); }
.hero-panel__bar {
    position: absolute; top: 0; left: 0; right: 0; padding: 18px 20px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-mist);
}
.hero-panel__status { display: flex; align-items: center; gap: 10px; color: var(--c-snow); }
.hero-panel__chips { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
    border: 1px solid rgba(238, 237, 231, .18); border-radius: 999px; background: rgba(8, 11, 33, .6);
    color: var(--c-snow); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
    transition: border-color .3s, background .3s;
}
.chip:hover, .chip:focus-visible { color: var(--c-snow); border-color: var(--c-teal); background: rgba(93, 191, 176, .14); }

@media (max-width: 1099.98px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__marquee-inline { display: block; }
    .hero__marquee-full { display: none; }
}

/* 8. Marquee ---------------------------------------------------------------------------- */
.marquee {
    overflow: hidden; padding: clamp(10px, 1.8vh, 22px) 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.marquee__track { display: flex; width: max-content; animation: fhqMarquee 38s linear infinite; }
.marquee__item {
    display: flex; align-items: center; gap: clamp(20px, 2.4vw, 44px); padding-right: clamp(20px, 2.4vw, 44px);
    font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 48px); font-weight: 500;
    letter-spacing: -.04em; white-space: nowrap;
}
.marquee__item::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--c-teal); }

/* 9. The big idea ----------------------------------------------------------------------- */
.idea__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 3vw, 56px); }
.idea__title { max-width: 17ch; font-size: clamp(36px, 5.6vw, 140px); }
.idea__body {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(32px, 3vw, 56px); margin-top: clamp(48px, 6vw, 112px);
}
.idea__lead { margin: 0; max-width: 38ch; font-size: clamp(18px, 1.5vw, 28px); line-height: 1.45; text-wrap: pretty; }
.card {
    display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2vw, 32px);
    border-radius: 20px; background: var(--c-paper-2); border: 1px solid var(--line-soft);
}
.card__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--c-teal-deep); }
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-slate); }

/* 10. London → Global ------------------------------------------------------------------- */
.global {
    min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
    padding: clamp(96px, 10vw, 180px) var(--inset-pad);
}
.global__inner { position: relative; }
.global__title { margin-top: clamp(24px, 2.6vw, 40px); font-size: clamp(36px, 6vw, 150px); line-height: .98; }
.global__row {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    gap: 40px; margin-top: clamp(40px, 5vw, 88px);
}
.global__text { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.35vw, 24px); line-height: 1.5; color: rgba(238, 237, 231, .84); text-wrap: pretty; }
.stats { margin: 0; display: flex; gap: clamp(32px, 4vw, 72px); }
.stats dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-mist); }
.stats dd {
    margin: 10px 0 0; font-family: var(--f-display); font-size: clamp(30px, 3vw, 56px);
    font-weight: 500; letter-spacing: -.04em; line-height: 1;
}
.stats__tz { margin-left: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--c-teal); }
.hourband { margin-top: clamp(40px, 5vw, 80px); }
.hourband__bars {
    display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: clamp(2px, .3vw, 5px);
    align-items: end; height: clamp(44px, 5vw, 80px);
}
.hourband__bars span { display: block; height: 38%; background: rgba(93, 191, 176, .24); border-radius: 3px; }
.hourband__bars span.is-now { height: 100%; background: var(--c-teal); }
.hourband__scale {
    display: flex; justify-content: space-between; margin-top: 12px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-mist);
}

/* 11. Services -------------------------------------------------------------------------- */
/* Default = accordion (narrow screens, and every width without JavaScript). */
.services__body { margin-top: 40px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-item { border-radius: 18px; border: 1px solid rgba(11, 18, 36, .1); overflow: hidden; transition: background .4s; }
.svc-item.is-open, html:not(.js) .svc-item { background: var(--c-paper-2); }
.svc-heading { margin: 0; font: inherit; }
.svc-trigger {
    width: 100%; min-height: 68px; display: flex; align-items: center; gap: clamp(12px, 2vw, 20px);
    padding: 16px clamp(14px, 2.4vw, 24px); background: transparent; border: 0;
    color: var(--c-ink); text-align: left; cursor: pointer;
}
.svc-trigger__num { font-family: var(--f-mono); font-size: 12px; color: var(--c-teal-deep); }
.svc-trigger__title {
    flex: 1; font-family: var(--f-display); font-size: clamp(18px, 3.4vw, 30px); font-weight: 600;
    letter-spacing: -.035em; line-height: 1.15;
}
.svc-trigger__arrow { display: none; }
.svc-trigger__plus {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--c-ink); color: var(--c-paper); font-size: 20px; line-height: 1; transition: transform .4s;
}
html:not(.js) .svc-trigger__plus { display: none; }
.svc-item.is-open .svc-trigger__plus { transform: rotate(45deg); }
.svc-panel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(16px, 2.4vw, 28px); align-items: start;
    padding: 0 clamp(14px, 2.4vw, 24px) clamp(18px, 2.4vw, 24px);
}
.svc-panel[hidden] { display: none; }
.svc-panel__media { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--c-sand); }
.svc-panel__media picture, .svc-panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-panel__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.svc-panel__desc { margin: 0; font-size: clamp(15px, 1.8vw, 17px); line-height: 1.55; color: var(--c-slate); }
.svc-preview { display: none; }

/* Split showcase (>= 1100px, enabled by JS adding .is-showcase). */
.services.is-showcase .services__body {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(40px, 5vw, 120px); margin-top: clamp(56px, 6vw, 112px);
}
.is-showcase .svc-list { gap: 6px; }
.is-showcase .svc-item { border: 0; border-radius: 0; overflow: visible; background: none; }
.is-showcase .svc-panel { display: none; }
.is-showcase .svc-trigger {
    display: grid; grid-template-columns: clamp(48px, 4.4vw, 88px) minmax(0, 1fr) auto; gap: 24px;
    padding: 16px 24px; border-radius: 18px; border: 1px solid transparent;
    transition: padding .5s var(--ease-out), background .4s, border-color .4s;
}
.is-showcase .svc-trigger__num { font-size: 13px; color: var(--c-muted); transition: font-size .5s, color .4s; }
.is-showcase .svc-trigger__title {
    font-size: clamp(20px, 1.6vw, 36px); color: var(--c-muted); letter-spacing: -.04em; line-height: 1.05;
    transition: font-size .5s var(--ease-out), color .4s;
}
.is-showcase .svc-trigger__plus { display: none; }
.is-showcase .svc-trigger__arrow {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(11, 18, 36, .06); color: var(--c-muted); font-size: 18px; transition: background .4s, color .4s;
}
.is-showcase .svc-item.is-active .svc-trigger { padding: 26px 24px; background: var(--c-paper-2); border-color: rgba(11, 18, 36, .1); }
.is-showcase .svc-item.is-active .svc-trigger__num { font-size: 20px; color: var(--c-teal-deep); }
.is-showcase .svc-item.is-active .svc-trigger__title { font-size: clamp(26px, 2.6vw, 58px); color: var(--c-ink); }
.is-showcase .svc-item.is-active .svc-trigger__arrow { background: var(--c-ink); color: var(--c-paper); }
.is-showcase .svc-preview {
    position: sticky; top: 100px; align-self: start;
    display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px);
}
.svc-preview__media { position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; background: var(--c-sand); }
.svc-preview__img { position: absolute; inset: 0; visibility: hidden; }
.svc-preview__img.is-active { visibility: visible; z-index: 1; }
.svc-preview__img picture, .svc-preview__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-preview__tag {
    position: absolute; left: 16px; top: 16px; z-index: 2;
    display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
    background: var(--c-paper); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--c-ink);
}
.svc-preview__title { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 2.2vw, 46px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.svc-preview__desc { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.1vw, 20px); line-height: 1.55; color: var(--c-slate); }

/* 12. Extension of your team (diagram) -------------------------------------------------- */
.system { padding: clamp(60px, 6vw, 120px) var(--gutter) var(--section-y); }
.system__head { margin-top: clamp(20px, 2.2vw, 36px); }
.system__intro { max-width: 36ch; }
.diagram {
    margin-top: clamp(48px, 5vw, 96px); padding: clamp(24px, 3vw, 56px);
    border-radius: 32px; background: var(--c-paper-2); border: 1px solid var(--line-soft);
}
.diagram svg { display: block; width: 100%; max-width: 1500px; height: auto; margin: 0 auto; overflow: visible; }
.diagram-m {
    display: none; flex-direction: column; align-items: center; margin-top: 48px; padding: 24px 16px;
    border-radius: 24px; background: var(--c-paper-2); border: 1px solid var(--line-soft);
}
.diagram-m__start {
    padding: 14px 22px; border: 1px solid rgba(11, 18, 36, .35); border-radius: 999px;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em;
}
.diagram-m__line { width: 1px; height: 44px; background: rgba(11, 18, 36, .5); transform-origin: 50% 0; }
.diagram-m__line--teal { background: var(--c-teal-deep); }
.diagram-m__frame {
    width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 12px;
    border: 1px dashed rgba(30, 110, 104, .5); border-radius: 22px;
}
.diagram-m__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--c-teal-deep); }
.diagram-m__hq {
    display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px;
    background: var(--c-navy); color: var(--c-snow);
}
.diagram-m__hq img { height: 30px; width: auto; }
.diagram-m__hq span { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.diagram-m__nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.diagram-m__nodes span {
    display: flex; justify-content: center; align-items: center; min-height: 46px;
    border: 1px solid rgba(30, 110, 104, .5); border-radius: 999px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
}
.diagram-m__nodes span:last-child:nth-child(odd) { grid-column: 1 / -1; }
.diagram-m__end {
    padding: 16px 32px; border-radius: 999px; background: var(--c-teal); color: var(--c-ink);
    font-family: var(--f-display); font-size: 20px; font-weight: 600;
}
@media (max-width: 859.98px) {
    .diagram { display: none; }
    .diagram-m { display: flex; }
}

/* 13. People ---------------------------------------------------------------------------- */
.people { padding: 0 var(--gutter) var(--section-y); overflow: hidden; }
.people__title {
    position: relative; z-index: 3; pointer-events: none; margin-top: clamp(20px, 2.2vw, 36px);
    font-size: clamp(52px, 11vw, 280px); line-height: .9; letter-spacing: -.065em;
}
.people__title .line-mask { padding-bottom: .05em; }
.line-mask--end { text-align: right; }
.people__grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 28px); margin-top: -5vw;
}
.people__fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.people__fig figcaption {
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted);
}
.people__fig--development { grid-column: 1 / 6; grid-row: 1 / 3; }
.people__fig--support { grid-column: 7 / 13; grid-row: 1; margin-top: 11vw; }
.people__fig--marketing { grid-column: 7 / 10; grid-row: 2; }
.people__media { position: relative; overflow: hidden; border-radius: 24px; background: var(--c-sand); }
.people__fig--development .people__media { aspect-ratio: 4 / 5; }
.people__fig--support .people__media { aspect-ratio: 16 / 11; }
.people__fig--marketing .people__media { aspect-ratio: 1 / 1; }
.people__par { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; }
.people__par picture, .people__par img { width: 100%; height: 100%; object-fit: cover; display: block; }
.people__text {
    grid-column: 10 / 13; grid-row: 2; align-self: end; margin: 0;
    font-size: clamp(16px, 1.15vw, 21px); line-height: 1.55; color: var(--c-slate); text-wrap: pretty;
}
@media (max-width: 859.98px) {
    .people__grid { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
    .people__media { border-radius: 20px; }
    .people__fig figcaption { display: none; }
    .people__fig--support { margin-top: 0; width: 82%; margin-left: auto; }
    .people__fig--support .people__media { aspect-ratio: 4 / 3; }
    .people__fig--marketing { width: 64%; }
    .people__text { font-size: 17px; }
}

/* 14. Principles (sticky chapters) ------------------------------------------------------ */
.principles { position: relative; padding: 0 var(--inset); }
.chapter {
    position: sticky; top: 0; min-height: 100vh; min-height: 100svh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: clamp(96px, 13vh, 150px) var(--inset-pad) clamp(32px, 6vh, 72px);
    border-radius: var(--r-inset);
}
.chapter__meta {
    display: flex; justify-content: space-between; gap: 16px;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-slate);
}
.chapter__num {
    align-self: flex-end; font-family: var(--f-display); font-size: clamp(150px, 30vw, 680px);
    font-weight: 600; line-height: .76; letter-spacing: -.08em; color: var(--c-teal-deep);
}
.chapter__num--start { align-self: flex-start; }
.chapter__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.chapter__title {
    margin: 0; font-family: var(--f-display); font-size: clamp(40px, 6.6vw, 170px);
    font-weight: 600; line-height: .95; letter-spacing: -.06em;
}
.chapter__strap { margin: 0; font-size: clamp(18px, 1.6vw, 30px); line-height: 1.35; }
.chapter--sand { background: var(--c-sand); color: var(--c-ink); }
.chapter--navy { background: var(--c-navy); color: var(--c-snow); }
.chapter--navy .chapter__meta { color: var(--c-mist); }
.chapter--navy .chapter__num { color: var(--c-teal); }
.chapter--teal { background: var(--c-teal); color: var(--c-ink); }
.chapter--teal .chapter__meta, .chapter--teal .chapter__num { color: var(--c-ink); }
.chapter--paper { background: var(--c-paper-2); color: var(--c-ink); border: 1px solid var(--line-soft); }

/* 15. About ----------------------------------------------------------------------------- */
.about { position: relative; background: var(--c-paper); }
.about__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: clamp(48px, 6vw, 140px); align-items: end;
}
.about__title { margin-top: clamp(20px, 2.2vw, 36px); font-size: clamp(36px, 4.4vw, 112px); text-wrap: balance; }
.about__side { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 48px); }
.about__text { margin: 0; max-width: 42ch; font-size: clamp(17px, 1.35vw, 24px); line-height: 1.5; color: var(--c-slate); text-wrap: pretty; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; min-width: 0; }
.fact dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.fact dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: break-word; }
.fact--navy { background: var(--c-navy); color: var(--c-snow); }
.fact--navy dt { color: var(--c-mist); }
.fact--teal { background: var(--c-teal); color: var(--c-ink); }
.fact--teal dt { color: var(--c-ink); }
.fact--paper { background: var(--c-paper-2); border: 1px solid var(--line-soft); }
.fact dd.fact__value--display { font-family: var(--f-display); font-size: clamp(18px, 1.4vw, 24px); letter-spacing: -.03em; line-height: 1.15; }
.fact dd.fact__value--mono { font-family: var(--f-mono); font-size: clamp(18px, 1.4vw, 24px); font-weight: 500; letter-spacing: .04em; }

/* Narrow-phone fixes (< 380px): the prototype's minimum sizes overflow at 320–375px. */
@media (max-width: 379.98px) {
    .fact { padding: 16px; }
    .fact dd, .fact dd.fact__value--display { font-size: 16px; }
    .fact dd.fact__value--mono { font-size: 16px; letter-spacing: 0; }
    .people__title { font-size: 42px; }
}

/* 16. Contact CTA ----------------------------------------------------------------------- */
.cta {
    min-height: 92vh; min-height: 92svh; display: flex; flex-direction: column; justify-content: center;
    padding: clamp(96px, 10vw, 180px) var(--inset-pad);
}
.cta__mark {
    position: absolute; right: -4%; bottom: -10%; width: clamp(280px, 40vw, 820px); height: auto;
    opacity: .12; pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title { margin-top: clamp(24px, 2.6vw, 40px); font-size: clamp(42px, 8vw, 210px); line-height: .95; letter-spacing: -.06em; }
.cta__row {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    gap: 32px; margin-top: clamp(40px, 5vw, 88px);
}
.cta__text { margin: 0; max-width: 30ch; font-size: clamp(18px, 1.6vw, 30px); line-height: 1.4; color: rgba(238, 237, 231, .86); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479.98px) {
    .btn--lg { padding: 0 26px; font-size: 17px; }
}

/* 17. Footer ---------------------------------------------------------------------------- */
.site-footer { padding: clamp(56px, 6vw, 96px) var(--gutter) 32px; }
.site-footer__inner { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 80px); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { height: 52px; width: auto; align-self: flex-start; }
.site-footer__brand p { margin: 0; font-family: var(--f-display); font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 500; }
.site-footer__nav a { display: inline-flex; min-height: 36px; align-items: center; }
.site-footer__legal {
    display: flex; flex-direction: column; gap: 6px; line-height: 1.7;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
}
.site-footer__legal-name { color: var(--c-ink); }
.site-footer__bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
    border-top: 1px solid var(--line); padding-top: 24px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
}
.site-footer__bar a { color: var(--c-muted); }
.site-footer__bar a:hover { color: var(--c-teal-deep); }

/* 18. Error pages ----------------------------------------------------------------------- */
.minimal { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.minimal__header { padding: 14px var(--gutter); }
.minimal__main {
    flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: clamp(20px, 2.4vw, 32px); padding: 48px var(--gutter);
    max-width: var(--container); width: 100%; margin: 0 auto;
}
.minimal__title { font-size: clamp(42px, 8vw, 160px); line-height: .95; letter-spacing: -.06em; }
.minimal__text { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.5; color: var(--c-slate); }
.minimal__footer {
    padding: 24px var(--gutter); border-top: 1px solid var(--line);
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
}

/* 18b. Inner pages (contact, privacy, future service pages) ----------------------------- */
.page-hero { padding: clamp(120px, 16vh, 200px) var(--gutter) clamp(40px, 5vw, 80px); }
.page-hero__eyebrow { margin-top: clamp(28px, 3vw, 48px); }
.page-hero__title { margin-top: clamp(16px, 1.8vw, 28px); font-size: clamp(42px, 7vw, 168px); line-height: .95; letter-spacing: -.06em; }
.page-hero--compact .page-hero__title { font-size: clamp(40px, 5.6vw, 128px); }
.page-hero__lead {
    margin: clamp(24px, 2.6vw, 40px) 0 0; max-width: 46ch;
    font-size: clamp(18px, 1.5vw, 26px); line-height: 1.5; color: var(--c-slate); text-wrap: pretty;
}
.section--tight { padding-top: clamp(40px, 5vw, 96px); padding-bottom: clamp(40px, 5vw, 96px); }
.h2-md { font-size: clamp(32px, 3.6vw, 84px); margin-top: clamp(16px, 1.6vw, 24px); }

.crumbs ol {
    list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-teal-deep); }
.crumbs [aria-current] { color: var(--c-ink); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.contact-card {
    display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: clamp(200px, 18vw, 280px);
    padding: clamp(22px, 2vw, 32px); border-radius: 20px; background: var(--c-paper-2);
    border: 1px solid var(--line-soft); color: var(--c-ink);
}
a.contact-card { transition: transform .4s var(--ease-out), background .3s; }
a.contact-card:hover { transform: translateY(-4px); color: inherit; }
.contact-card--navy { background: var(--c-navy); color: var(--c-snow); border-color: transparent; }
a.contact-card--navy:hover { color: var(--c-snow); } /* must outrank a.contact-card:hover, or text turns dark on navy */
.contact-card--teal { background: var(--c-teal); border-color: transparent; }
.contact-card__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.contact-card--navy .contact-card__label { color: var(--c-mist); }
.contact-card--teal .contact-card__label { color: var(--c-ink); }
.contact-card__value {
    margin-top: auto; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 30px); font-weight: 600;
    letter-spacing: -.035em; line-height: 1.15; overflow-wrap: anywhere; font-style: normal;
}
.contact-card__value--address, .contact-card__value--small { font-size: clamp(17px, 1.3vw, 22px); line-height: 1.35; overflow-wrap: break-word; }
.contact-card__hint { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: inherit; opacity: .75; }
a.contact-card__hint:hover { color: var(--c-teal-deep); opacity: 1; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 120px); align-items: start; }
.service-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-links li { border-bottom: 1px solid var(--line); }
.service-links a {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    min-height: 64px; padding: 12px 0; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 32px);
    font-weight: 600; letter-spacing: -.035em;
}
.service-links a span:first-child { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--c-teal-deep); }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { margin: 0; font-family: var(--f-display); font-size: clamp(18px, 1.5vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.faq__icon {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--c-ink); color: var(--c-paper); font-size: 20px; line-height: 1; transition: transform .4s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { margin: 0 0 20px; max-width: 60ch; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; color: var(--c-slate); }

.prose { max-width: 72ch; margin-left: 0; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.7; color: var(--c-slate); }
.prose h2 { margin: 2.2em 0 .6em; font-family: var(--f-display); font-size: clamp(24px, 2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; color: var(--c-ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; font-family: var(--f-display); font-size: clamp(18px, 1.3vw, 22px); font-weight: 600; letter-spacing: -.02em; color: var(--c-ink); }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--c-ink); font-weight: 600; }

.site-footer__contact {
    display: flex; flex-direction: column; gap: 6px; font-style: normal; line-height: 1.7;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted);
}
.site-footer__contact a { color: var(--c-muted); text-transform: none; letter-spacing: .04em; }
.site-footer__contact a:hover, .site-footer__legal a:hover { color: var(--c-teal-deep); }
.site-footer__legal a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }

/* 18c. Service, services hub and about pages (SEO Phase S2) ----------------------------- */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 4vw, 96px); align-items: end; }
.page-hero__title--service { font-size: clamp(40px, 5.6vw, 140px); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.page-hero__media { aspect-ratio: 4 / 3; border-radius: clamp(20px, 2vw, 32px); overflow: hidden; background: var(--c-sand); }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1099.98px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.answer {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 4vw, 96px);
    padding: clamp(28px, 4vw, 72px); border-radius: 32px; background: var(--c-paper-2); border: 1px solid var(--line-soft);
}
.answer__q { margin: 0; font-family: var(--f-display); font-size: clamp(28px, 3vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; }
.answer__a { margin: 0; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.5; color: var(--c-ink); text-wrap: pretty; }

.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-top: clamp(32px, 4vw, 64px); }
.cap-card h3 { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.portfolio-card__media { display: block; margin-bottom: 18px; border-radius: 16px; overflow: hidden; }
.portfolio-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.portfolio-note { margin: 16px 0 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--c-slate); }

.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps__num { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--c-teal-deep); padding-top: 6px; }
.steps__item h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 28px); font-weight: 600; letter-spacing: -.035em; }
.steps__item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-slate); }

.uk-block { padding: clamp(72px, 8vw, 160px) var(--inset-pad); }
.uk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 3vw, 56px) clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 80px); }
.uk-item { padding-top: 20px; border-top: 1px solid rgba(238, 237, 231, .16); }
.uk-item h3 { margin: 0 0 10px; font-family: var(--f-display); font-size: clamp(19px, 1.4vw, 24px); font-weight: 600; letter-spacing: -.03em; color: var(--c-snow); }
.uk-item p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(238, 237, 231, .78); }

.cost__intro { margin: 0 0 20px; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.5; color: var(--c-slate); }
.cost-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; }
.cost-list li {
    position: relative; padding: 14px 18px 14px 44px; border-radius: 14px; background: var(--c-paper-2);
    border: 1px solid var(--line-soft); font-size: 16px; line-height: 1.4;
}
.cost-list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--c-teal); }

.related-grid, .service-cards { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; display: grid; gap: 10px; }
.related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.service-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 0; }
.related-card, .service-card {
    height: 100%; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2vw, 32px);
    border-radius: 20px; background: var(--c-paper-2); border: 1px solid var(--line-soft); color: var(--c-ink);
    transition: transform .4s var(--ease-out), border-color .3s;
}
.related-card:hover, .service-card:hover { transform: translateY(-4px); border-color: rgba(30, 110, 104, .4); color: var(--c-ink); }
.related-card__title, .service-card__title { font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 32px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.related-card__desc, .service-card__desc { font-size: 16px; line-height: 1.55; color: var(--c-slate); }
.related-card__more { margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal-deep); }
.service-card__media { display: block; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: 14px; overflow: hidden; background: var(--c-sand); }
.service-card__media picture, .service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cta-band { margin-top: clamp(40px, 5vw, 96px); padding: clamp(72px, 8vw, 150px) var(--inset-pad); }
.cta-band__inner { position: relative; }
.cta-band__title { margin-top: clamp(16px, 2vw, 28px); max-width: 18ch; font-size: clamp(36px, 5vw, 120px); line-height: .98; letter-spacing: -.055em; }
.cta-band__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(32px, 4vw, 64px); }
.cta-band .cta__text a { color: var(--c-teal); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.prose--flush { margin: 0; }
.company-dl { margin: 0; border-top: 1px solid var(--line); }
.company-dl div { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-dl dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); padding-top: 4px; }
.company-dl dd { margin: 0; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.company-dl a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479.98px) { .company-dl div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.svc-panel__more, .svc-preview__more {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start;
    font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal-deep);
}
.about__more { display: inline-flex; min-height: 44px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal-deep); }

/* Inner-page hero entrance: the homepage hero's line rise and fade-up, in pure CSS so it plays
   on first paint without waiting for JavaScript (LCP-safe; the H1 animates by transform only).
   Disabled by the reduced-motion block below. */
@keyframes hero-rise { from { transform: translateY(110%); } }
@keyframes hero-fade { from { opacity: .01; transform: translateY(20px); } } /* .01, not 0: fully transparent text is ignored for LCP */
@keyframes hero-clip { from { clip-path: inset(100% 0 0 0 round clamp(20px, 2vw, 32px)); } }
.page-hero .line { animation: hero-rise 1.1s cubic-bezier(.16, 1, .3, 1) both; }
.page-hero .line-mask:nth-child(2) .line { animation-delay: .09s; }
.page-hero .line-mask:nth-child(3) .line { animation-delay: .18s; }
.page-hero .crumbs,
.page-hero__eyebrow,
.page-hero__lead,
.page-hero__ctas,
.page-hero .article-meta { animation: hero-fade .9s cubic-bezier(.22, 1, .36, 1) both; }
.page-hero .crumbs { animation-delay: .05s; }
.page-hero__eyebrow { animation-delay: .12s; }
.page-hero__lead { animation-delay: .3s; }
.page-hero__ctas, .page-hero .article-meta { animation-delay: .4s; }
.page-hero__media { animation: hero-clip 1.5s cubic-bezier(.87, 0, .13, 1) .15s both; }

/* 19. Reduced motion -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .diagram__pulse { display: none; }
}

/* Content clusters: website services, industries, locations, blog (pages/content.blade.php) */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
@media (min-width: 1100px) { .content-layout { grid-template-columns: 260px minmax(0, 1fr); } .toc { position: sticky; top: 110px; } }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.toc a { display: block; padding-left: 14px; font-size: 14px; line-height: 1.4; color: var(--c-slate); }
.toc a:hover { color: var(--c-teal-deep); }
.content-body > section + section { margin-top: clamp(40px, 4vw, 64px); }
.content-body h2 { scroll-margin-top: 110px; }
.content-body__answer { font-size: clamp(17px, 1.25vw, 20px); color: var(--c-ink); }
.content-body__note { font-size: 15px; font-style: italic; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-teal-deep); }
.table-wrap { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--c-paper-2); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.table-wrap caption { padding: 14px 16px 0; text-align: left; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--c-slate); caption-side: top; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table-wrap thead th { color: var(--c-ink); font-weight: 600; }
.table-wrap tbody th { color: var(--c-ink); font-weight: 500; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.sources { padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: clamp(18px, 1.4vw, 22px); }
.sources li { font-size: 15px; }
.article-meta { margin: 18px 0 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--c-slate); }
.article-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.related-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.related-grid--compact .related-card__title { font-size: clamp(18px, 1.3vw, 22px); }
.related-hub { margin: 24px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.related-hub a { color: var(--c-teal-deep); }

/* Contact page: project enquiry form (components/site/enquiry-form.blade.php) */
.enquiry { display: grid; gap: clamp(28px, 3vw, 48px); }
.enquiry .enquiry-form { width: 100%; }
.enquiry-intro { max-width: 46ch; margin: 24px 0 0; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.6; color: var(--c-slate); }
.enquiry-intro a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.enquiry-form { padding: clamp(22px, 3vw, 44px); border-radius: 28px; background: var(--c-paper-2); border: 1px solid var(--line-soft); }
.enquiry-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink); }
.field legend { margin-bottom: 8px; }
.field__optional { text-transform: none; letter-spacing: 0; color: var(--c-muted); }
.field__hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.field input:not([type="radio"]), .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 14px;
    background: #fff; color: var(--c-ink); font: inherit; font-size: 16px; line-height: 1.4;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E6E68' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field input:not([type="radio"]):hover, .field select:hover, .field textarea:hover { border-color: var(--c-teal-deep); }
.field input:not([type="radio"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-teal-deep); box-shadow: 0 0 0 3px rgba(30, 110, 104, .18); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field__error { margin: 0; font-size: 14px; line-height: 1.4; color: #B42318; }
.budget-options { display: flex; flex-wrap: wrap; gap: 8px; }
.budget-option { position: relative; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--f-body) !important; font-size: 15px !important; }
.budget-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.budget-option span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: #fff; color: var(--c-ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.budget-option span:hover { border-color: var(--c-teal-deep); }
.budget-option input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }
.budget-option input:focus-visible + span { outline: 2px solid var(--c-teal-deep); outline-offset: 3px; }
.enquiry-form__summary { margin-bottom: 24px; padding: 16px 20px; border: 1px solid #B42318; border-radius: 16px; background: #FEF3F2; color: var(--c-ink); font-size: 15px; }
.enquiry-form__summary p { margin: 0 0 6px; }
.enquiry-form__summary ul { margin: 0; padding-left: 1.2em; }
.enquiry-form__summary a { color: #B42318; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.enquiry-form__privacy { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.enquiry-form__privacy a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Portfolio case study facts (pages/portfolio-show.blade.php) */
.case-facts { margin: 0; display: grid; gap: 14px; align-self: start; padding: 22px; border-radius: 20px; background: var(--c-paper-2); border: 1px solid var(--line-soft); }
.case-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.case-facts dd { margin: 4px 0 0; font-size: 16px; color: var(--c-ink); }
.case-facts a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1100px) { .case-facts { position: sticky; top: 110px; } }

/* 20. Inner-page design system (INNER_PAGES_DESIGN_PLAN.md) ------------------------------
   One signature per page type, built from the homepage's vocabulary. Rules:
   - surfaces alternate paper / navy / sand (bands are insets, like the homepage);
   - per-service accent comes from main[data-theme];
   - every module works without JavaScript; JS only adds scroll motion. */

/* 20.1 Theme tokens (per service; default = teal-deep) */
main { --accent: var(--c-teal-deep); --accent-ink: #FBFAF6; --accent-text: var(--c-teal-deep); }
main[data-theme="website-development"] { --accent: var(--c-teal); --accent-ink: var(--c-ink); }
main[data-theme="mobile-app-development"] { --accent: var(--c-navy); --accent-ink: var(--c-snow); --accent-text: var(--c-navy); }
main[data-theme="erp-software"] { --accent: var(--c-sand); --accent-ink: var(--c-ink); }
main[data-theme="seo"] { --accent: var(--c-slate); --accent-ink: var(--c-snow); --accent-text: var(--c-slate); }

/* 20.2 Bands: inset surfaces between paper sections */
.band { position: relative; margin: 0 var(--inset); padding: clamp(56px, 7vw, 140px) var(--inset-pad); border-radius: var(--r-inset); overflow: hidden; }
.band + .band { margin-top: 10px; }
.band--navy { background: var(--c-navy); color: var(--c-snow); }
.band--sand { background: var(--c-sand); color: var(--c-ink); }
.band--accent { background: var(--accent); color: var(--accent-ink); }
.band--tight { padding-top: clamp(44px, 5vw, 96px); padding-bottom: clamp(44px, 5vw, 96px); }
.band--navy .eyebrow, .page-hero--band .crumbs ol, .page-hero--band .crumbs a { color: var(--c-mist); }
.band--navy .is-accent, .page-hero--band .is-accent, .page-hero--band .eyebrow { color: var(--c-teal); }
.band--accent .eyebrow, .band--accent .is-accent { color: inherit; }
.band--accent .eyebrow { opacity: .8; }
.band--navy :focus-visible, .page-hero--band :focus-visible { outline-color: var(--c-teal); }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.band__intro { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.55; opacity: .85; }

/* 20.3 Hero variants */
.page-hero--band, .page-hero--sector {
    position: relative; overflow: hidden; margin: 84px var(--inset) 0; border-radius: var(--r-inset);
    padding: clamp(36px, 4.4vw, 88px) var(--inset-pad) clamp(44px, 5vw, 96px);
}
.page-hero--band { background: var(--c-navy); color: var(--c-snow); }
.page-hero--band .crumbs [aria-current] { color: var(--c-snow); }
.page-hero--band .crumbs a:hover { color: var(--c-teal); }
.page-hero--band .page-hero__lead { color: rgba(238, 237, 231, .82); }
.page-hero--sector { background: var(--c-sand); }
.page-hero--split { position: relative; overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero__media { position: relative; }
.page-hero__tag {
    position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; min-height: 32px;
    padding: 0 12px; border-radius: 999px; background: var(--c-paper); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
}
.watermark {
    position: absolute; z-index: 0; right: -.04em; top: -.1em; pointer-events: none; user-select: none; white-space: nowrap;
    font-family: var(--f-display); font-size: clamp(180px, 34vw, 600px); font-weight: 700; line-height: .9; letter-spacing: -.08em;
    color: var(--accent-text); opacity: .07;
}
.watermark--word { right: auto; left: var(--inset-pad); top: auto; bottom: -.22em; font-size: clamp(90px, 18vw, 320px); color: var(--c-ink); opacity: .05; }
.page-hero__grid--center { align-items: center; }

.hero-clock { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2vw, 32px); border: 1px solid rgba(238, 237, 231, .16); border-radius: 28px; }
.hero-clock__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-mist); }
.hero-clock__bar span { display: inline-flex; align-items: center; gap: 8px; }
.hero-clock__time { margin: 0; font-family: var(--f-display); font-size: clamp(56px, 6.4vw, 128px); font-weight: 600; line-height: .9; letter-spacing: -.05em; }
.hero-clock__tz { margin-left: .3em; font-family: var(--f-mono); font-size: 14px; font-weight: 400; letter-spacing: .1em; color: var(--c-teal); }
.hero-clock__text { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(238, 237, 231, .78); }
.hero-clock .hourband { margin-top: 4px; }

.checklist-card {
    display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2vw, 32px); border-radius: 28px;
    background: var(--c-paper-2); box-shadow: 0 30px 60px -30px rgba(11, 18, 36, .3);
}
.checklist-card__title { margin: 0; font-family: var(--f-display); font-size: clamp(18px, 1.4vw, 22px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.checklist li::before { content: "✓"; font-weight: 700; color: var(--c-teal-deep); }
@media (max-width: 859.98px) { .checklist-card { display: none; } } /* keeps the answer-first block near the top on phones; the list repeats a section below */
.checklist-card__more { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal-deep); }

.page-hero--editorial { text-align: center; padding-top: clamp(130px, 18vh, 220px); }
.page-hero--editorial .wrap { display: flex; flex-direction: column; align-items: center; max-width: 1280px; }
.page-hero--editorial .crumbs ol { justify-content: center; }
.page-hero--editorial .page-hero__title { max-width: 18ch; font-size: clamp(40px, 6vw, 120px); text-wrap: balance; }
.page-hero--editorial .page-hero__lead { max-width: 58ch; margin-inline: auto; }
.article-tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--c-teal); color: var(--c-ink); letter-spacing: .14em; }

.read-progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--c-teal-deep); transform: scaleX(0); transform-origin: 0 50%; }
html:not(.js) .read-progress { display: none; }

/* 20.4 Answer variant: open layout, no card */
.answer--open { padding: 0 0 clamp(40px, 5vw, 96px); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.answer__a mark { padding: 0 .15em; border-radius: 4px; background: rgba(93, 191, 176, .35); color: inherit; }

/* 20.5 UK map (components/ui/uk-map) */
.uk-map { display: block; width: 100%; height: auto; overflow: hidden; } /* cropped viewBoxes must not spill */
.uk-map__land { fill: var(--c-paper); stroke: var(--c-teal-deep); stroke-opacity: .45; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.uk-map__pin { fill: var(--c-ink); }
.uk-map__halo { fill: var(--c-teal); fill-opacity: .35; }
.uk-map__hq, .uk-map__pin--on { fill: var(--c-teal-deep); }
.uk-map__route { fill: none; stroke: var(--c-teal-deep); stroke-width: 1.6; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.uk-map__label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; fill: var(--c-ink); }
.uk-map__label--city { font-family: var(--f-display); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.uk-map--dark .uk-map__land { fill: #141A35; stroke: var(--c-teal); stroke-opacity: .4; }
.uk-map--dark .uk-map__pin { fill: var(--c-mist); }
.uk-map--dark .uk-map__hq { fill: var(--c-snow); }
.uk-map--dark .uk-map__pin--on { fill: var(--c-teal); }
.uk-map--dark .uk-map__route { stroke: var(--c-teal); }
.uk-map--dark .uk-map__label { fill: var(--c-snow); }
.page-hero__map { max-width: 460px; justify-self: center; width: 100%; }
.map-card { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: center; padding: clamp(18px, 2vw, 28px); border-radius: 28px; background: var(--c-sand); }
.map-card address { margin: 6px 0 8px; font-style: normal; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.map-card a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-teal-deep); }

/* 20.6 Numbered rows (capabilities on the accent band) */
.numbered { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); column-gap: clamp(32px, 4vw, 80px); }
.numbered li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: clamp(20px, 2vw, 30px) 0; border-top: 1px solid rgba(128, 128, 128, .35); }
.numbered__n { font-family: var(--f-mono); font-size: 13px; padding-top: 6px; opacity: .75; }
.numbered h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: clamp(22px, 1.9vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.numbered p { margin: 0; font-size: 16px; line-height: 1.55; opacity: .86; }
.chapter-num { font-family: var(--f-display); font-size: clamp(96px, 12vw, 240px); font-weight: 600; line-height: .8; letter-spacing: -.08em; }

/* 20.7 Timeline (vertical, line draws on scroll) and step row */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 2.8vw, 44px); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline::after { background: var(--accent-text); transform-origin: 50% 0; transform: scaleY(var(--progress, 1)); } /* JS scrubs --progress */
.timeline__item { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: clamp(18px, 2vw, 28px); }
.timeline__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--accent-text); background: var(--c-paper); box-sizing: border-box; }
.timeline__item h3 { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(21px, 1.8vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.timeline__item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-slate); }
.step-row { list-style: none; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px clamp(24px, 3vw, 48px); border-top: 2px solid var(--c-teal); }
.step-row li { padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.step-row__n { font-family: var(--f-display); font-size: clamp(56px, 5vw, 88px); font-weight: 600; line-height: .9; letter-spacing: -.06em; color: var(--c-teal); }
.step-row h3 { margin: 0; font-family: var(--f-display); font-size: clamp(21px, 1.8vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.step-row p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(238, 237, 231, .8); }

/* 20.8 Index lists and chips */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list a {
    display: grid; grid-template-columns: clamp(40px, 4vw, 72px) minmax(0, 1fr) auto; align-items: center; gap: 16px;
    min-height: 64px; padding: clamp(14px, 1.6vw, 24px) 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-size: clamp(22px, 2.8vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1;
    transition: padding .45s var(--ease-out), color .3s;
}
.index-list a:hover { padding-left: 14px; color: var(--c-teal-deep); }
.index-list__n { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--c-teal-deep); }
.index-list__arrow { font-size: .55em; transition: transform .45s var(--ease-out); }
.index-list a:hover .index-list__arrow { transform: translateX(6px); }
.index-list--compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: clamp(24px, 3vw, 56px); border-top: 0; }
.index-list--compact li { border-top: 1px solid var(--line); }
.index-list--compact a { grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 56px; padding: 14px 0; border-bottom: 0; font-size: clamp(17px, 1.3vw, 21px); letter-spacing: -.02em; font-weight: 500; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--line-strong); color: var(--c-ink); font-size: 15px; font-weight: 500; line-height: 1.2;
    transition: background .25s, color .25s, border-color .25s;
}
.chips a:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-paper); }
.chips--filled a, .chips--filled span { background: var(--c-paper); border-color: transparent; }
.band--navy .chips a, .band--navy .chips span { border-color: rgba(238, 237, 231, .25); color: var(--c-snow); }
.band--navy .chips a:hover { background: var(--c-teal); border-color: var(--c-teal); color: var(--c-ink); }

/* 20.9 Panels (About principles), tiles and fact tiles */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin: 0 var(--inset); }
.panel {
    min-height: clamp(340px, 32vw, 520px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    padding: clamp(22px, 2vw, 32px); border-radius: clamp(24px, 2.4vw, 36px); overflow: hidden;
}
.panel__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.panel__num { font-family: var(--f-display); font-size: clamp(110px, 11vw, 220px); font-weight: 600; line-height: .8; letter-spacing: -.08em; }
.panel:nth-child(even) .panel__num { align-self: flex-end; }
.panel h3 { margin: 0 0 8px; font-family: var(--f-display); font-size: clamp(24px, 2vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.panel p { margin: 0; font-size: 16px; line-height: 1.5; opacity: .85; }
.panel--navy { background: var(--c-navy); color: var(--c-snow); }
.panel--navy .panel__num { color: var(--c-teal); }
.panel--teal { background: var(--c-teal); color: var(--c-ink); }
.panel--sand { background: var(--c-sand); color: var(--c-ink); }
.panel--sand .panel__num { color: var(--c-teal-deep); }
.panel--paper { background: var(--c-paper-2); border: 1px solid var(--line-soft); color: var(--c-ink); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.tile {
    height: 100%; min-height: clamp(180px, 15vw, 240px); box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    padding: clamp(22px, 2vw, 30px); border-radius: 24px; color: var(--c-ink); transition: transform .45s var(--ease-out);
}
a.tile:hover { transform: translateY(-4px); color: inherit; }
.tile__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tile__title { font-family: var(--f-display); font-size: clamp(22px, 2vw, 34px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.tile__desc { font-size: 15px; line-height: 1.5; opacity: .85; }
.tile__initial { font-family: var(--f-display); font-size: clamp(64px, 6vw, 112px); font-weight: 600; line-height: .8; letter-spacing: -.06em; }
.tile--navy { background: var(--c-navy); color: var(--c-snow); }
a.tile--navy:hover { color: var(--c-snow); }
.tile--navy .tile__label, .tile--navy .tile__initial { color: var(--c-teal); opacity: 1; }
.tile--teal { background: var(--c-teal); }
.tile--sand { background: var(--c-sand); }
.tile--paper { background: var(--c-paper-2); border: 1px solid var(--line-soft); }
.tile--sand .tile__initial, .tile--paper .tile__initial, .tile--sand .tile__label, .tile--paper .tile__label { color: var(--c-teal-deep); opacity: 1; }
@media (min-width: 860px) { .tiles--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tiles--feature > li:first-child { grid-column: span 2; } .tiles--feature > li:first-child .tile__title { font-size: clamp(30px, 3vw, 52px); } }

.facts--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fact--sand { background: var(--c-sand); }
.fact--sand dt { color: var(--c-slate); }
.fact a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.fact dd { font-size: clamp(17px, 1.3vw, 22px); }

/* 20.10 Rule rows (UK requirements on navy) and cost factors */
.rule-rows { list-style: none; margin: clamp(36px, 4vw, 72px) 0 0; padding: 0; counter-reset: rule; }
.rule-rows li {
    counter-increment: rule; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px clamp(20px, 3vw, 48px);
    padding: clamp(18px, 2vw, 28px) 0; border-top: 1px solid rgba(238, 237, 231, .16);
}
.rule-rows li::before { content: counter(rule, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--c-teal); padding-top: 6px; }
.rule-rows h3 { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.6vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; color: var(--c-snow); }
.rule-rows p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(238, 237, 231, .78); }
@media (max-width: 859.98px) { .rule-rows li { grid-template-columns: 40px minmax(0, 1fr); } .rule-rows p { grid-column: 2; } }

.cost-scale { height: 6px; margin: clamp(28px, 3vw, 48px) 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--c-teal), var(--c-teal-deep) 60%, var(--c-navy)); transform-origin: 0 50%; }
.cost-factors { list-style: none; margin: 14px 0 clamp(28px, 3vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; counter-reset: factor; }
.cost-factors li { counter-increment: factor; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: var(--c-paper); font-size: 15px; line-height: 1.45; }
.cost-factors li::before { content: counter(factor, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--c-teal-deep); }

/* 20.11 Charts drawn from table figures (decorative; the table stays below) */
.range-chart { display: grid; gap: 12px; margin: 1.4em 0 .4em; padding: clamp(18px, 2vw, 28px); border-radius: 20px; background: var(--c-sand); }
.range-chart__title { margin: 0 0 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-slate); }
.range-chart__row { display: grid; grid-template-columns: minmax(110px, 32%) minmax(0, 1fr); gap: 16px; align-items: center; }
.range-chart__label { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--c-ink); }
.range-chart__track { position: relative; height: 28px; border-radius: 8px; background: rgba(11, 18, 36, .06); }
.range-chart__bar { position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--w); min-width: 6px; border-radius: 8px; background: var(--c-teal-deep); transform-origin: 0 50%; }
.range-chart__row:nth-child(4n+2) .range-chart__bar { background: var(--c-teal); }
.range-chart__row:nth-child(4n+3) .range-chart__bar { background: var(--c-teal-deep); }
.range-chart__row:nth-child(4n) .range-chart__bar { background: var(--c-slate); }
.range-chart__row:nth-child(4n+1) .range-chart__bar { background: var(--c-navy); }
.range-chart__value { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--from) + var(--w) + 8px); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--c-ink); }
.range-chart__value--inside { left: calc(var(--from) + 10px); color: var(--c-snow); }
.range-chart__row:nth-child(4n+2) .range-chart__value--inside { color: var(--c-ink); } /* on the light teal bar */
.range-chart__value--before { left: auto; right: calc(100% - var(--from) + 8px); }
.range-chart__scale { display: flex; justify-content: space-between; margin-left: calc(32% + 16px); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--c-muted); }
@media (max-width: 559.98px) {
    .range-chart__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .range-chart__scale { margin-left: 0; }
}

/* 20.12 Content clusters: data and dark panels, takeaways, pull quote, related service */
.content-body > .content-panel { padding: clamp(22px, 3vw, 44px); border-radius: 28px; }
.content-panel--data { background: var(--c-sand); }
.content-panel--data .table-wrap { background: var(--c-paper-2); }
.content-panel--dark { background: var(--c-navy); color: rgba(238, 237, 231, .82); }
.content-panel--dark h2, .content-panel--dark strong, .content-panel--dark .content-body__answer { color: var(--c-snow); }
.content-panel--dark a { color: var(--c-teal); }
.content-panel--dark li::marker { color: var(--c-teal); }
.content-panel--dark :focus-visible { outline-color: var(--c-teal); }
.takeaways { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--c-sand); }
.takeaways .eyebrow { color: var(--c-teal-deep); }
.takeaways ul { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--c-slate); }
.takeaways li::marker { color: var(--c-teal-deep); }
.pullquote {
    margin: clamp(40px, 5vw, 80px) 0 0; padding: 0; font-family: var(--f-display); font-size: clamp(28px, 3vw, 52px);
    font-weight: 600; line-height: 1.1; letter-spacing: -.04em; color: var(--c-teal-deep); text-wrap: balance;
}
.pullquote::before { content: "“"; display: block; height: .5em; font-size: 2em; line-height: 1; color: var(--c-teal); }
.service-callout {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: clamp(40px, 5vw, 72px);
    padding: clamp(22px, 2.6vw, 36px); border-radius: 28px; background: var(--c-teal); color: var(--c-ink); text-decoration: none !important;
    transition: transform .45s var(--ease-out);
}
.service-callout:hover { transform: translateY(-4px); color: var(--c-ink) !important; }
.service-callout__label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.service-callout__title { display: block; margin: 8px 0 6px; font-family: var(--f-display); font-size: clamp(24px, 2.2vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.service-callout__desc { display: block; font-size: 16px; line-height: 1.5; }
.service-callout__arrow { font-size: 32px; }
.toc__current { color: var(--c-teal-deep) !important; font-weight: 600; }
.toc a { transition: color .2s; }

/* 20.13 Contact hero with the form beside it */
.contact-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(32px, 4vw, 80px); align-items: start; }
.contact-hero__grid .map-card { margin-top: clamp(28px, 3vw, 48px); }
.enquiry-form--hero { box-shadow: 0 40px 80px -40px rgba(11, 18, 36, .35); }
.enquiry-form__title { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(24px, 2vw, 32px); font-weight: 600; letter-spacing: -.035em; }
.enquiry-form__intro { margin: 0 0 24px; font-size: 15px; line-height: 1.55; color: var(--c-slate); }
.enquiry-form__intro a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* 20.14 Photo split (About) */
.photo-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 120px); align-items: center; }
.photo-split__fig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.photo-split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 4.2; border-radius: clamp(24px, 2.4vw, 36px); background: var(--c-sand); }
.photo-split__media .people__par { top: -8%; bottom: -8%; }
.photo-split figcaption { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }

@media (max-width: 1099.98px) {
    .page-hero--band, .page-hero--sector { margin-top: 76px; }
}

/* 20.15 Spacing and small helpers for the modules above */
.band__head + * { margin-top: clamp(32px, 4vw, 64px); }
.band__head .chapter-num { margin-left: auto; }
.split .index-list a { font-size: clamp(20px, 2vw, 34px); }
.page-hero--split .watermark { top: 56px; }
.band__intro--gap { margin: clamp(20px, 2vw, 28px) 0; max-width: 52ch; }
.chips--gap { margin: clamp(24px, 2.4vw, 36px) 0; }
.band__intro a, .band__intro--gap a { color: var(--c-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.split--center { align-items: center; }
.split__map { width: 100%; max-width: 400px; justify-self: center; }
.photo-split__prose { margin-top: clamp(24px, 2.6vw, 40px); }
p.about__more { margin: 20px 0 0; }
.about__more a { color: inherit; }
.tile__title, .tile__desc { display: block; }
.tile__desc { margin-top: 10px; }
.band--navy .answer__a { color: rgba(238, 237, 231, .86); }
main[data-theme="erp-software"] .band--sand { background: var(--c-paper-2); border: 1px solid var(--line-soft); }
.answer--flush { padding: 0; border: 0; }
.content-layout > .content-body:first-child { grid-column: 1 / -1; }
.content-aside { display: grid; gap: 0; align-self: start; }
@media (min-width: 1100px) {
    .content-aside { position: sticky; top: 110px; }
    .content-aside .toc { position: static; }
}
@media (max-width: 1099.98px) { .content-aside .takeaways { margin-top: 20px; } }
.contact-hero__form { animation: hero-fade 1s cubic-bezier(.22, 1, .36, 1) .3s both; }
.map-card .eyebrow { margin: 0; }

/* Hero side panels enter with the hero (CSS only; disabled under reduced motion). */
.hero-clock, .checklist-card, .page-hero__map, .page-hero .map-card { animation: hero-fade 1s cubic-bezier(.22, 1, .36, 1) .35s both; }
.page-hero .watermark { animation: hero-fade 1.4s cubic-bezier(.22, 1, .36, 1) .1s both; }

/* 20.16 Portfolio, case studies and utility pages (INNER_PAGES_DESIGN_PLAN.md Phase 4) */
.hero-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-self: end; animation: hero-fade 1s cubic-bezier(.22, 1, .36, 1) .35s both; }
.hero-stats div { padding: clamp(20px, 2vw, 28px); border: 1px solid rgba(238, 237, 231, .16); border-radius: 24px; }
.hero-stats dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-mist); }
.hero-stats dd { margin: 14px 0 0; font-family: var(--f-display); font-size: clamp(56px, 6vw, 112px); font-weight: 600; line-height: .9; letter-spacing: -.05em; color: var(--c-teal); }

/* Editorial work grid: 7/5 then 5/7 columns; narrow cards are taller so each row lines up. */
.work-grid { list-style: none; margin: clamp(32px, 4vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 28px); }
.work-card { grid-column: span 12; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.work-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: clamp(20px, 2vw, 32px); background: var(--c-sand); }
.work-card__media picture, .work-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease-out); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
@media (min-width: 860px) {
    .work-card { grid-column: span 5; }
    .work-card:nth-child(4n+1), .work-card:nth-child(4n) { grid-column: span 7; }
    .work-card:nth-child(4n+2) .work-card__media, .work-card:nth-child(4n+3) .work-card__media { aspect-ratio: 8 / 7; }
    .work-card:last-child:nth-child(odd) { grid-column: span 12; }
    .work-card:last-child:nth-child(odd) .work-card__media { aspect-ratio: 21 / 8; }
}
.work-card__body { display: flex; flex-direction: column; gap: 10px; max-width: 62ch; }
.work-card__title { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.work-card__body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--c-slate); }
.work-card__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal-deep); }

.case-facts--tiles { padding: 0; border: 0; background: none; gap: 10px; }
.case-facts--tiles dd { margin: 0; color: inherit; }
.case-facts--tiles a { color: inherit; }
.case-facts--tiles .fact--navy dt { color: var(--c-mist); }
.case-facts--tiles .fact--teal dt { color: var(--c-ink); }
.case-chapters { display: grid; gap: clamp(40px, 5vw, 80px); }
.case-chapter { display: grid; grid-template-columns: clamp(64px, 8vw, 140px) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.case-chapter__n { font-family: var(--f-display); font-size: clamp(48px, 6vw, 110px); font-weight: 600; line-height: .85; letter-spacing: -.06em; color: var(--accent-text); }

.band--navy .prose { color: rgba(238, 237, 231, .82); }
.band--navy .prose a { color: var(--c-teal); }
.band--last { margin-bottom: clamp(40px, 5vw, 96px); }
.privacy-summary { margin-top: clamp(28px, 3vw, 48px); }
.privacy-summary .tile { min-height: 130px; }
.page-hero--compact.page-hero--sector .page-hero__title { font-size: clamp(40px, 5.6vw, 128px); }

.minimal { position: relative; overflow-x: hidden; }
.minimal__main > * { position: relative; z-index: 1; }
.minimal__main > .minimal__code {
    position: absolute; z-index: 0; right: -.04em; bottom: -.12em; pointer-events: none; user-select: none;
    font-family: var(--f-display); font-size: clamp(200px, 40vw, 640px); font-weight: 700; line-height: .8; letter-spacing: -.08em;
    color: var(--c-teal-deep); opacity: .07;
}
.minimal__links { width: min(100%, 760px); margin-top: 8px; }
.minimal__main { position: relative; overflow: hidden; }
.minimal__links { width: min(100%, 960px); }
@media (min-width: 860px) { .minimal__links .index-list--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 20.17 Inner-page fade-ups (IntersectionObserver in app.js; only after JS marks html.rv-ready,
   so content is never hidden without JavaScript, and disabled under reduced motion). */
.rv-ready .rv { transition: opacity .9s var(--ease-out), transform 1s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--rv-i, 0) * 70ms); }
.rv-ready .rv:not(.is-in) { opacity: 0; transform: translateY(32px); }
/* Decorative numerals and words are drawn from data-text so audits never read them as low-contrast text. */
.watermark::before, .minimal__code::before { content: attr(data-text); }
