/* 00-tokens.css */
/* Design tokens. Only ever use the variables in section CSS. Contrast ratios noted beside each text colour.
   Type: DM Sans (body and display, the brand's staging font) and DM Mono (small labels), self-hosted latin subsets.
   The body font is preloaded in head.html. */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Fore Solutions. Colours from the logo (#0093DD) and the staging site's palette
   (#3DBEFF, #0175AF, #003D5C). Ratios are against the surface named. */
:root {
  /* brand */
  --primary: #003D5C;       /* Fore navy (staging secondary): headings. 11.5:1 on white */
  --brand: #0093DD;         /* logo blue: marks, rules, large graphics only. 3.4:1 on white, not for body text */
  --accent: #0175AF;        /* buttons and highlights (staging accent) */
  --on-accent: #FFFFFF;     /* white on --accent 5.0:1 */
  --accent-text: #0175AF;   /* links on white 5.0:1, on --bg 4.7:1 */
  --accent-light: #3DBEFF;  /* staging primary: text and hovers on dark. 8.1:1 on --dark */
  --dark: #001F2E;          /* darkest surface: dark bands, footer, sticky bar */
  --dark-2: #003D5C;        /* cards on dark bands */

  /* neutrals */
  --ink: #0E1A22;           /* body text 17.7:1 on white */
  --muted: #4F5D66;         /* secondary text 6.3:1 on --bg */
  --line: #D6DEE3;
  --mist: #E8EEF2;          /* image placeholder fill */
  --paper: #FFFFFF;         /* cards */
  --bg: #F4F7F9;            /* page background */
  --rule: rgba(0, 61, 92, .14);

  /* on dark */
  --on-dark: #EAF4FA;       /* text on --dark */
  --on-dark-muted: #9AB0BE; /* secondary text on --dark 7.6:1 */
  --rule-dark: rgba(234, 244, 250, .16);

  /* section bands (lead, 17 Nov: different coloured section backgrounds). Rhythm in HOMEPAGE-SECTIONS.md */
  --band-tint: #E3F1FA;     /* pale sky: navy text 10:1, --muted 5.9:1 */
  --band-navy: #003D5C;     /* Fore navy: white 11.5:1 */
  --on-navy-muted: #B9D2E0; /* secondary text on navy 7.3:1 */
  --band-blue: #0175AF;     /* brand blue: white 5.0:1 */

  /* status */
  --star: #E6A400;
  --red: #E0503F;

  /* type */
  --font-display: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* layout */
  /* fluid container (lead, 18 Nov: "stretch with the screen width"): no max width; the side space grows with
     the screen instead. --inset is the sheet's gap from the screen edge; full-width blocks outside the sheet
     (header, closing CTA, footer) add it so their content lines up with the sheet's. */
  --wrap: none;
  --gutter: clamp(16px, 4vw, 120px);
  --inset: 24px;
  --header-h: 72px;
  --section-y: clamp(56px, 8vw, 112px);
  --radius: 16px;           /* cards, panels, image blocks (kaiko.ai sheet). Buttons are pills */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 640px) { :root { --inset: 8px; } }

/* 01-base.css */
/* Reset and site-wide basics. Section styles live in their own files (10-header.css, 20-home-*.css, ...). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--primary); line-height: 1.1; }
/* every H1 on the site: DM Sans at its heaviest weight (lead, 17 Nov); the homepage hero H1 steps down to 800 (18 Nov) */
h1 { font-weight: 1000; letter-spacing: -.025em; }
/* every section H2: one size and weight across the site (set with section 2, 17 Nov; 44px from 18 Nov, reached at about
   1440 wide, scaling down to 30px on phones) */
h2 { font-size: clamp(30px, 3.06vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
/* heading-style H3s (card, cell and step titles): 32px from 18 Nov, reached at about 1440 wide, 24px on phones.
   Components set the same size on their title classes; small mono labels that happen to be H3s keep their own. */
h3 { font-size: clamp(24px, 2.22vw, 32px); line-height: 1.2; letter-spacing: -.01em; }
p, ul, ol, figure { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: var(--accent-text); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; margin-inline: auto; padding-inline: calc(var(--gutter) + var(--inset)); } /* fluid, lines up with the sheet's content */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 8px 12px; background: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.confirm { background: #FFEC99; color: #4A3A00; padding: 0 4px; font-size: .85em; }

/* small uppercase mono label: eyebrows, column heads, meta */
.note { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .02em; text-transform: uppercase; }

/* buttons: pill with a round arrow chip on the left, from kaiko.ai (lead's pick for the hero, 17 Nov).
   Primary is Fore navy (white text 11.5:1), hover lifts to the brand blue. Ghost is an outline pill.
   Pills are the one exception to --radius: buttons are fully round, cards and panels use --radius. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(2px); }
.btn__dot { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; background: var(--paper); color: var(--primary); }
.btn__dot svg { width: 15px; height: 15px; }
.btn--primary { background: var(--primary); color: var(--paper); }
.btn--primary:hover { background: var(--accent); }
.btn--primary:hover .btn__dot { color: var(--accent); }
.btn--ghost { border-color: color-mix(in srgb, var(--primary) 30%, transparent); color: var(--primary); }
.btn--ghost:hover { border-color: var(--primary); }
/* light pill for dark bands: white with a navy chip */
.btn--light { background: var(--paper); color: var(--primary); }
.btn--light .btn__dot { background: var(--primary); color: var(--paper); }
.btn--light:hover { background: var(--accent-light); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__dot { width: 34px; height: 34px; margin-left: -15px; }

/* reveal on scroll: anything marked data-reveal fades up as it comes into view (main.js adds .is-in).
   Without JS or with reduced motion it is simply shown. data-reveal-delay="1" etc. staggers siblings. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), background-color .5s var(--ease-out), color .5s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.nowrap { white-space: nowrap; }

/* section bands: full sheet width, one colour each (lead, 17 Nov). Sections put their content in an inner wrap. */
.band { padding-block: clamp(72px, 8vw, 120px); }
.band--tint { background: var(--band-tint); }
.band--navy { background: var(--band-navy); color: var(--paper); }
.band--navy > * > h2, .band--navy > * > * > h2 { color: var(--paper); }
.band--blue { background: var(--band-blue); color: var(--paper); }
.band--white { background: var(--paper); }

/* Fluted glass layer over part of a photo (main.js builds the flutes from data-glass="start,end"). Slightly frosted
   and soft (lead, 18 Nov: "slightly frosted too, and less crisp"): a light blur on the flutes, a pale haze over the
   band, and soft rib shading instead of hard lines. No shine. */
[data-glass] { position: relative; }
.glassfx { position: absolute; top: 0; bottom: 0; z-index: 1; display: flex; overflow: hidden; pointer-events: none; }
.glassfx i { flex: none; height: 100%; background-repeat: no-repeat; background-image: linear-gradient(90deg, rgba(0, 10, 20, .22), rgba(0, 10, 20, 0) 40%, rgba(255, 255, 255, 0) 68%, rgba(220, 240, 255, .12)), var(--glass-src); filter: blur(1.6px) saturate(.9); transform: scaleY(1.02); }
.glassfx::after { content: ""; position: absolute; inset: 0; background: rgba(214, 232, 244, .1); }

/* 09-footer.css */
/* Global footer. Option C (lead, 18 Nov): the Trusted by / Services grid on the dark band. One bordered grid,
   1px gaps over the rule colour draw the hairlines, four 6px squares sit on its outer corners. One row: brand,
   Solutions, Company (addresses, email and social links taken off, lead, 18 Nov). Mono column heads in sky
   blue (as the old footer), DM Sans for the rest. Legal line under the grid. */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: clamp(56px, 6vw, 88px) 28px; font-size: 15px; }

.ftr__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.ftr__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--on-dark-muted), var(--on-dark-muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--on-dark-muted), var(--on-dark-muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--on-dark-muted), var(--on-dark-muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--on-dark-muted), var(--on-dark-muted)) bottom right / 6px 6px no-repeat; }
.ftr__cell { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.6vw, 36px); background: var(--dark); }

.ftr__logo { display: inline-block; }
.ftr__logo img { display: block; width: auto; height: 34px; }
.ftr__summary { max-width: 26em; margin: 24px 0 0; color: var(--on-dark); font-size: 17px; line-height: 1.5; }

.ftr__head { margin: 0 0 18px; color: var(--accent-light); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ftr__list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ftr__all { display: inline-block; margin-top: 6px; }

.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; transition: color .2s; }
.site-footer a:not(.btn):hover { color: var(--accent-light); }
.site-footer a:not(.btn):focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 2px; }

.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; font-size: 14px; }
.site-footer .ftr__legal a { color: var(--on-dark-muted); }
.site-footer .ftr__legal a:hover { color: var(--accent-light); }

@media (max-width: 1024px) {
  .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__cell { padding: 24px 20px; }
}

/* 10-header.css */
/* Header, from kaiko.ai (lead's pick, option A, 17 Nov): logo left, menu and one pill button grouped on the
   right. Solid light bar by default. On the homepage it starts transparent over the blue hero band (white
   logo and text) and main.js adds .is-solid once the sheet slides up under it. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); color: var(--primary); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out); }
.site-header__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; height: var(--header-h); }
.site-header__logo { display: grid; align-content: center; min-height: 44px; }
.site-header__logo img { grid-area: 1 / 1; width: 106px; height: auto; transition: opacity .35s var(--ease-out); }
.site-header__logo-white { opacity: 0; }

/* desktop nav, right-aligned beside the button */
.site-nav { justify-self: end; }
.site-nav__list { display: flex; gap: 32px; margin: 0; }
.site-nav__item > a { display: inline-flex; align-items: center; gap: 6px; height: 44px; color: inherit; font-size: 15px; text-decoration: none; cursor: pointer; list-style: none; }
.site-nav__parent svg { width: 12px; height: 12px; transition: transform .2s; }
.site-nav__item--sub:is(:hover, :focus-within) .site-nav__parent svg { transform: rotate(180deg); }
.site-nav__item > a:hover { color: var(--accent-text); }
.site-nav__item--sub { position: relative; }
.site-nav__menu { position: absolute; top: calc(100% + 12px); left: -20px; min-width: 300px; margin: 0; padding: 10px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 24px 48px rgba(0, 31, 63, .12); }
.site-nav__menu a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--primary); font-size: 15px; text-decoration: none; }
.site-nav__menu a:hover { background: var(--mist); color: var(--accent-text); }

/* Solutions mega menu (desktop, lead 18 Nov, from a Zus Health screenshot): a panel that drops from the header's
   lower edge centred under "Solutions" (lead, 18 Nov) (not full width, lead 18 Nov), opening on hover or keyboard focus (clicking "Solutions" goes to the Solutions page); the eight services
   in two columns of four with small superscript numbers (matching the Solutions page) in large regular type, thin
   vertical rules beside each column. A short delay on closing stops it flickering as the pointer moves down into
   it, and a strip under the link bridges the gap to the panel. The header stays solid while it is open. */
@media (min-width: 901px) {
  .site-nav__item--sub { position: relative; }
  .site-nav__parent { position: relative; }
  .site-nav__parent::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: calc((var(--header-h) - 44px) / 2 + 2px); }
  .site-nav .site-nav__menu { position: absolute; top: calc(100% + (var(--header-h) - 44px) / 2); left: 50%; right: auto; display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 0 8px; width: max-content; min-width: 0; margin: 0; padding: 24px 32px 28px 12px; counter-reset: svc; background: var(--paper); border: 1px solid var(--rule); border-radius: 0; box-shadow: 0 30px 60px -20px rgba(0, 31, 63, .18); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .2s var(--ease-out) .12s, transform .2s var(--ease-out) .12s, visibility 0s linear .32s; }
  .site-nav__item--sub:is(:hover, :focus-within) .site-nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .site-nav__menu li { counter-increment: svc; padding: 0 12px 0 20px; border-left: 1px solid var(--rule); }
  .site-nav__menu li:nth-child(-n+4) { border-left: 0; } /* no rule before the first column (lead, 18 Nov) */
  .site-nav__menu a { display: inline-flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-radius: 0; color: var(--primary); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.25; letter-spacing: -.01em; }
  .site-nav__menu a::before { content: none; } /* no numbers in the dropdown (lead, 24 Nov) */
  .site-nav__menu a:hover { background: none; color: var(--accent-text); }
  /* the header bar turns white with the panel so the two read as one */
  .site-header:has(.site-nav__item--sub:is(:hover, :focus-within)) { background: var(--paper); }
}

/* service pages with the light band (.page-band-light): transparent over it but keeping the dark text and colour logo */
.js .page-band-light .site-header:not(.is-solid):not(.is-open):not(:has(.site-nav__item--sub:is(:hover, :focus-within))) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* homepage and inner pages with the band (.page-band), before the sheet reaches the header: transparent over it */
.js :is(.page-home, .page-band) .site-header:not(.is-solid):not(.is-open):not(:has(.site-nav__item--sub:is(:hover, :focus-within))) { background: transparent; border-bottom-color: transparent; color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.js :is(.page-home, .page-band) .site-header:not(.is-solid):not(.is-open):not(:has(.site-nav__item--sub:is(:hover, :focus-within))) .site-header__logo-white { opacity: 1; }
.js :is(.page-home, .page-band) .site-header:not(.is-solid):not(.is-open):not(:has(.site-nav__item--sub:is(:hover, :focus-within))) .site-header__logo-colour { opacity: 0; }
.js :is(.page-home, .page-band) .site-header:not(.is-solid):not(.is-open):not(:has(.site-nav__item--sub:is(:hover, :focus-within))) .site-nav__item > a:hover { color: var(--accent-light); }
.site-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.site-header__support { color: var(--primary); font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-header__support { color: var(--muted); }
.site-header__support:hover { color: var(--accent-text); }
.site-header__icon, .site-header__menu { display: none; }

/* tablet: drop the support text link */
@media (max-width: 1180px) { .site-header__support { display: none; } }

/* mobile: logo, call button and Menu pill; nav opens as a full panel */
@media (max-width: 900px) {
  .site-header__bar { grid-template-columns: 1fr auto; }
  .site-header__logo img { width: 92px; }
  .site-nav { justify-self: stretch; }
  .site-header__cta { display: none; }
  .site-header__icon, .site-header__menu { display: inline-flex; align-items: center; justify-content: center; height: 44px; border: 1px solid currentColor; border-radius: 999px; color: inherit; background: none; }
  .site-header__icon { width: 44px; }
  .site-header__icon svg { width: 18px; height: 18px; }
  .site-header__menu { padding: 0 18px; font: 400 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
  .site-header__actions { gap: 8px; }

  /* the header's backdrop blur would make it the containing block for the fixed panel and squash it to the
     header's height, so the blur is switched off while the menu is open */
  .site-header.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; display: none; overflow-y: auto; padding: 8px var(--gutter) 32px; background: var(--bg); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--rule); }
  .site-nav__item > a { width: 100%; height: 60px; font-size: 22px; justify-content: space-between; }
  .site-nav__parent svg { display: none; } /* the eight links always show under Solutions on phones */
  .site-nav__menu { position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; background: none; }
  .site-nav__menu a { padding: 8px 0; color: var(--muted); font-size: 17px; }
  .site-nav__mobile-extra { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; }
  .site-nav__mobile-extra a:not(.btn) { color: var(--primary); font-size: 17px; text-decoration: none; }
  .site-nav__mobile-extra .btn { align-self: flex-start; }
}

/* 11-mobile-bar.css */
/* Mobile sticky bar (global): the primary CTA pinned to the bottom of the screen on phones (no phone number on the site).
   Night bar with one full-width primary pill. main.js adds .is-on once the hero's buttons have scrolled out of view; without JS it always shows. */
.mbar { display: none; }

@media (max-width: 768px) {
  .mbar { position: fixed; inset: auto 0 0; z-index: 40; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--dark); border-top: 1px solid var(--rule-dark); }
  .mbar .btn { flex: 1; height: 48px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

  .js .mbar { transform: translateY(100%); transition: transform .4s var(--ease-out); }
  .js .mbar.is-on { transform: none; }
  .js .mbar:not(.is-on) { visibility: hidden; transition: transform .4s var(--ease-out), visibility 0s .4s; }
}

/* 12-forms.css */
/* Enquiry form (src/partials/quote-form.html). Structural starting point: restyle from the form reference
   the client lead sends, keeping the field markup so api/lead.js and main.js keep working. */
.quote-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field__label { color: var(--primary); font-size: 14px; font-weight: 500; }
.field__input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; }
.field__input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea.field__input { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.quote-form .btn { justify-self: start; }
.quote-form__status:empty { display: none; }
.quote-form.is-sent .field, .quote-form.is-sent .btn { display: none; }

/* 20-home-hero.css */
/* 1. Hero. Reference: kaiko.ai (lead's pick, option A, 17 Nov).
   Taken: a full-height blue band of "fluted glass" that stays pinned while the page slides over it; a large
   light-weight centred H1 on the band; a sheet inset 24px from the edges with rounded top corners that starts
   about two thirds down the first screen; a large centred lead line at the top of the sheet.
   Changed: instead of Kaiko's video, the lead's own fluted-glass picture (18 Nov) with a slow CSS drift and a
   passing light, so the page stays light and the H1 paints first. Earlier versions: research/alt-hero-canvas-flutes/
   (drawn flutes), research/alt-hero-css-glass/. The buttons and stats from the wireframe
   sit under the lead line. Kaiko's colour-layer reveal on the H1 becomes a short settle from sky blue to
   white (skipped under reduced motion). */

.page-home main { position: relative; }

/* the band: pinned behind the sheet for the whole of main, so the sheet's side gutters keep showing it */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 560px; overflow: hidden; color: var(--paper); background: var(--dark); }
.hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 100%; padding-top: var(--header-h); padding-bottom: 24svh; text-align: center; } /* taller visible hero (lead, 19 Nov: was 36svh) */
/* 60% of the container and a step lighter than the shared h1 (lead, 18 Nov: was 1000 at full width) */
.hero__title { max-width: 60%; margin-inline: auto; color: var(--paper); font-size: clamp(42px, 6.2vw, 96px); font-weight: 800; line-height: .95; text-wrap: balance; }
.hero__title span { display: block; }
/* second line in the light blue (lead, 18 Nov); the settle animation ends on each line's own colour */
.hero__title span + span { --settle-to: var(--accent-light); color: var(--accent-light); }

/* background: the lead's fluted-glass composition (18 Nov), covering the band. It drifts very slowly (a slight
   pan and zoom over 28s) and a soft pale light sweeps across under the header shade, so the band moves the way
   Kaiko's video does without a video file. Both stand still under reduced motion. The flutes are in the picture
   itself, so the drawn ribs are gone. */
.hero__glass { position: absolute; inset: 0; overflow: hidden; background: #15459B; }
.hero__photo { position: absolute; top: -4%; left: -4%; width: 108%; max-width: none; height: 108%; object-fit: cover; filter: brightness(.8); will-change: transform; } /* a step darker (lead, 18 Nov) */
.hero__sheen { position: absolute; top: -20%; left: -40%; width: 45%; height: 140%; background: radial-gradient(closest-side, rgba(234, 244, 250, .22), transparent); filter: blur(30px); mix-blend-mode: screen; opacity: 0; }
.hero__glass::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, color-mix(in srgb, var(--dark) 55%, transparent) 0%, transparent 28%); }

@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: hero-drift 28s ease-in-out infinite alternate; }
  .hero__sheen { animation: hero-sheen 14s ease-in-out infinite; }
  .hero__title span { animation: hero-settle 1.4s var(--ease-out) both; }
  .hero__title span + span { animation-delay: .12s; }
}
@keyframes hero-drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(2%, -1.5%, 0) scale(1.05); } }
@keyframes hero-sheen { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(320%); opacity: 0; } }
@keyframes hero-settle { from { color: var(--accent-light); transform: translateY(18px); filter: blur(6px); } to { color: var(--settle-to, var(--paper)); transform: none; filter: none; } }

/* the sheet: everything after the band lives in it */
.sheet { position: relative; z-index: 1; margin: -24svh var(--inset) 0; background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; }

/* top of the sheet: Kaiko's centred lead, then our buttons and stats */
.hero-lead { padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(56px, 6vw, 88px); text-align: center; }
/* lead text: 60% of the sheet's content width (lead, 18 Nov); full width on phones */
.hero-lead__text { max-width: 60%; margin-inline: auto; color: var(--primary); font-weight: 300; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }

.hero-lead__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; border-top: 1px solid var(--rule); }
.hero-lead__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 6px; padding: 28px 16px 0; }
.hero-lead__stats > div + div { border-left: 1px solid var(--rule); }
.hero-lead__stats dd { margin: 0; color: var(--primary); font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.hero-lead__stats dt { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 640px) {
  .sheet { border-radius: 12px 12px 0 0; }
  .hero__inner { padding-bottom: 28svh; }
  .hero-lead { padding-inline: 16px; }
  .hero__buttons { flex-direction: column; align-items: stretch; }
  .hero-lead__stats > div { padding: 22px 6px 0; }
  .hero-lead__stats dd { font-size: 30px; }
  .hero-lead__stats dt { font-size: 10.5px; }
  .hero-lead__text { font-size: 21px; max-width: none; }
  .hero__title { max-width: none; }
}

/* Buttons under the H1 (lead's artifact comment, 19 Nov): the hero stacks the H1 and the button row in the middle of the
   visible band; white pill for the main action, white outline for the second. */
.hero__inner { flex-direction: column; }
.hero .hero__buttons { margin-top: clamp(28px, 3vw, 44px); }
.btn--on-dark { border-color: rgba(255, 255, 255, .45); color: var(--paper); }
.btn--on-dark:hover { border-color: var(--paper); }

/* Homepage glow background (lead, 19 Nov, Figma node 1226:3555): a dark field with a blue light arc. Already dark, so
   no darkening filter, no top shade and no passing light; the slow drift stays. Shifted up so the arc sits in the
   visible band above the sheet. Inner pages keep the fluted glass (page-hero.html). */
.hero--glow .hero__glass { background: #1E1B1A; }
.hero--glow .hero__glass::before, .hero--glow .hero__sheen { display: none; }
.hero--glow .hero__photo { top: var(--glow-top, -18%); filter: none; }
/* subtle grain over the glow (lead, 19 Nov): a 200px SVG noise tile, contrast stretched, overlay at 20% (lead, 19 Nov: a bit more), standing still while
   the image drifts under it */
.hero--glow .hero__glass::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--grain, .2); mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='3' intercept='-1'/%3E%3CfeFuncG type='linear' slope='3' intercept='-1'/%3E%3CfeFuncB type='linear' slope='3' intercept='-1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat; background-size: 200px 200px; }

/* Moving light (lead, 19 Nov: "add some movement with the circles"): three soft blurred ellipses in the glow's own
   blues over the image, screen-blended, each drifting and breathing on its own slow loop so the glow never sits still.
   Left and right sit where the blue flares; the arc one rides along the bright band. Still under reduced motion.
   Below the grain (z-index 1) so the grain stays on top. */
.hero__orb { display: none; }
.hero--glow .hero__orb { display: block; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; filter: blur(60px); will-change: transform, opacity; }
.hero--glow .hero__orb--left { left: -12%; top: 22%; width: 52%; height: 46%; background: radial-gradient(closest-side, rgba(38, 150, 225, .55), transparent); }
.hero--glow .hero__orb--right { right: -12%; top: 24%; width: 50%; height: 44%; background: radial-gradient(closest-side, rgba(30, 132, 214, .5), transparent); }
.hero--glow .hero__orb--arc { left: 22%; top: 46%; width: 56%; height: 22%; background: radial-gradient(closest-side, rgba(190, 226, 240, .38), transparent); filter: blur(40px); }
@media (prefers-reduced-motion: no-preference) {
  .hero--glow .hero__orb--left { animation: orb-left 19s ease-in-out infinite alternate; }
  .hero--glow .hero__orb--right { animation: orb-right 23s ease-in-out infinite alternate; }
  .hero--glow .hero__orb--arc { animation: orb-arc 13s ease-in-out infinite alternate; }
}
@keyframes orb-left { 0% { transform: translate(0, 0) scale(1); opacity: .75; } 50% { transform: translate(8%, -10%) scale(1.15); opacity: 1; } 100% { transform: translate(14%, 6%) scale(.95); opacity: .8; } }
@keyframes orb-right { 0% { transform: translate(0, 0) scale(1.05); opacity: .9; } 50% { transform: translate(-10%, 8%) scale(.92); opacity: .7; } 100% { transform: translate(-16%, -6%) scale(1.12); opacity: 1; } }
@keyframes orb-arc { 0% { transform: translateX(-12%) scaleX(.9); opacity: .55; } 100% { transform: translateX(12%) scaleX(1.12); opacity: 1; } }

/* 21-home-trusted.css */
/* 2. Trusted by. Reference: Runlayer's integrations band (lead's pick, option A, 17 Nov; from Land-book's capture,
   as Runlayer has since redesigned).
   Taken: a centred H2 over one bordered grid of equal cells split by hairlines, logos centred in each cell,
   small square marks on the grid's four outer corners, and a quiet grey-on-light palette.
   Changed: 6 x 3 instead of 5 x 2, to fit our 18 logos exactly; 3 across on tablets, 2 on phones.
   Logos in full colour (lead, 17 Nov), sized by shape: seals tallest, long lockups shortest. */

.trusted { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.trusted__title { max-width: 860px; margin: 0 auto clamp(32px, 3.5vw, 48px); color: var(--primary); text-align: center; }

/* the grid: 1px gaps over a rule-coloured background draw the hairlines; the border closes the outside */
.trusted__grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0 auto; padding: 0; background: var(--line); border: 1px solid var(--line); }
/* corner marks: four 6px squares sitting on the outer corners */
.trusted__grid::before { content: ""; position: absolute; inset: -4px; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }

.trusted__cell { display: grid; place-items: center; min-height: 120px; padding: 20px 16px; background: var(--bg); }
.trusted__cell img { width: auto; max-width: 100%; object-fit: contain; }
/* sized by shape so a round seal and a long lockup read at a similar weight */
.trusted__cell--large img { height: 66px; }
.trusted__cell--mark img { height: 54px; }
.trusted__cell--mid img { height: 42px; max-width: min(150px, 100%); }
.trusted__cell--wide img { height: 36px; max-width: min(160px, 100%); }
.trusted__cell--slim img { height: 28px; max-width: min(140px, 100%); }

@media (max-width: 1024px) {
  .trusted__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trusted__cell { min-height: 104px; }
}
@media (max-width: 640px) {
  .trusted { padding-inline: 16px; }
  .trusted__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trusted__cell { min-height: 88px; padding: 16px 12px; }
  .trusted__cell--large img { height: 54px; }
  .trusted__cell--mark img { height: 44px; }
  .trusted__cell--mid img { height: 34px; }
  .trusted__cell--wide img { height: 28px; }
  .trusted__cell--slim img { height: 22px; }
}

/* Scrolling strip (lead's artifact comment, 19 Nov): replaces the grid on the homepage. Same pattern as the partner
   ticker (24-home-projects.css), a little faster (70s) so the two strips read as different. */
.trusted__viewport { 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); }
.trusted__track { display: flex; width: max-content; }
.trusted .trusted__list { display: flex; flex: none; align-items: center; gap: clamp(48px, 5vw, 80px); margin: 0; padding: 8px clamp(24px, 2.5vw, 40px); list-style: none; }
.trusted__list li { display: flex; align-items: center; height: 72px; }
.trusted__list img { width: auto; height: var(--h); }
@media (prefers-reduced-motion: no-preference) {
  .trusted__track { animation: trusted-scroll 70s linear infinite; }
  .trusted__viewport:hover .trusted__track { animation-play-state: paused; }
}
@keyframes trusted-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trusted__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .trusted__list[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .trusted__list img { height: calc(var(--h) * .8); }
  .trusted .trusted__list { gap: 40px; }
}

/* 22-home-intro.css */
/* 3. Intro. Third pass (lead, 17 Nov). Reference: "Where legacy bridge fits" on legacybridge.software.
   Taken: H2 top left; a row of tall cards (radius 12, 24px gap) where a 40px coloured band sits behind a rounded
   body pulled up 16px, so 24px of band shows like a folder tab; bands rotate subtle / accent / primary; a 64px round
   chip with a 40px line icon at top left, open space, then the title low in the card; on hover the card scales to
   1.03 and the chip grows and turns accent. On phones the row scrolls sideways and bleeds off the edge, as the
   reference does on every width (it has 8 cards; our 3 fit across on desktop and tablet).
   Changed: cards are white on our light sheet (the reference's card grey is our page colour); the accent band is our
   sky blue, the primary band Fore navy; no description line (no copy for it); the paragraph sits beside the H2, title and paragraph in equal halves (lead, 17 Nov).
   On a Fore navy band (lead, 17 Nov): title white, paragraph pale blue-grey, the tab colours lifted so all three
   show on navy (subtle = white at 30%, accent = sky, primary = logo blue). Cards stay white.
   Square corners on the cards (lead, 18 Nov), so the band shows as a straight 24px strip above each body.
   Earlier versions: research/alt-intro-shepherd/, research/alt-intro-photo/. */

.intro__inner { margin: 0 auto; padding-inline: var(--gutter); }

.intro__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.intro__title { color: var(--paper); }
.intro__text { padding-top: 6px; color: var(--on-navy-muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }

.intro__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: clamp(40px, 4vw, 56px) 0 0; padding: 0; }
.intro__card { display: flex; flex-direction: column; border-radius: 0; overflow: hidden; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.intro__card::before { content: ""; display: block; height: 40px; }
.intro__card--subtle::before { background: color-mix(in srgb, var(--paper) 30%, var(--band-navy)); }
.intro__card--accent::before { background: var(--accent-light); }
.intro__card--primary::before { background: var(--brand); }

.intro__body { position: relative; display: flex; flex: 1; flex-direction: column; min-height: clamp(260px, 22vw, 310px); margin-top: -16px; padding: 24px; background: var(--paper); border-radius: 0; }
.intro__chip { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--mist); color: var(--primary); transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s; }
.intro__chip svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.intro__name { margin-top: auto; max-width: 320px; color: var(--primary); font-size: clamp(24px, 2.22vw, 32px); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }

@media (hover: hover) {
  .intro__card:hover { transform: scale(1.03); }
  .intro__card:hover .intro__chip { transform: scale(1.08); background: var(--accent-light); }
}

@media (max-width: 900px) {
  .intro__head { grid-template-columns: 1fr; }
  .intro__cards { gap: 16px; }
  .intro__body { min-height: 240px; padding: 20px; }
}
/* phones: the reference's sideways row, bleeding past the screen edge */
@media (max-width: 640px) {
  .intro__inner { padding-inline: 16px; }
  .intro .intro__cards { display: flex; gap: 12px; margin-inline: -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .intro__cards::-webkit-scrollbar { display: none; }
  .intro__card { flex: 0 0 78%; scroll-snap-align: start; }
  .intro__body { min-height: 220px; }
  .intro__name { font-size: 22px; }
}

/* Card top strips (lead, 24 Nov: "could have better colours"): one brand-blue gradient carried across the three cards,
   deep blue to Fore blue to light blue, like the hero glow. */
.intro__card--subtle::before { background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 50%, var(--brand)) 100%); }
.intro__card--accent::before { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 50%, var(--brand)) 0%, color-mix(in srgb, var(--brand) 50%, var(--accent-light)) 100%); }
.intro__card--primary::before { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 50%, var(--accent-light)) 0%, var(--accent-light) 100%); }

/* 23-home-services.css */
/* 4. Services. Reference: kaiko.ai "Latest news & research" (lead, 17 Nov), in the wireframe's 4 x 2 grid.
   Taken: centred H2 over a row of equal cards; inside each, a pale tinted tile at the top (Kaiko's image slot),
   then a medium title, a short description and an arrow at the foot; the whole card is the link; a centred pill
   under the grid. Kaiko's per-card square frames were replaced by the Trusted by grid styling (lead, 17 Nov).
   Changed: a line icon in the tile instead of an image (tiles in the hero's fluted glass with white icons, lead 18 Nov); no "Read more" label (not in our copy); our
   ghost pill button for "Explore all solutions"; 2 across on tablets; on phones each card is a compact row
   (small icon tile beside the text) so eight cards don't run to 2,600px. Light band. */

.services { padding: clamp(72px, 8vw, 120px) 0; }
.services__inner { margin: 0 auto; padding-inline: var(--gutter); }
.services__title { max-width: 820px; margin: 0 auto clamp(36px, 4vw, 56px); color: var(--primary); text-align: center; }

/* grid styling from section 2, Trusted by (lead, 17 Nov): one bordered grid, 1px gaps over a rule-coloured
   background draw the hairlines between cells, and four 6px squares mark the grid's outer corners */
.services__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); }
.services__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.services__item { display: flex; background: var(--bg); }

.services__card { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; color: var(--primary); text-decoration: none; }

.services__media svg { width: clamp(44px, 4vw, 56px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
/* fluted glass tiles (lead, 18 Nov: "fractal glass patterns ... similar to the hero"): each tile shows a different
   crop of the hero's fluted-glass picture (already loaded for the hero), under a light sky-blue wash for lighter
   shades of blue (lead, 18 Nov); the icons are white and a little heavier. On hover the wash brightens a little. */
.services__media { display: grid; place-items: center; aspect-ratio: 1504 / 700; margin-bottom: 22px; color: var(--paper); background: linear-gradient(rgba(120, 196, 255, var(--veil, .38)), rgba(120, 196, 255, var(--veil, .38))), #3D7FD6 url(/assets/img/hero-flutes.jpg) var(--crop, 50% 50%) / 260% auto no-repeat; transition: --veil .3s var(--ease-out); }
@property --veil { syntax: '<number>'; inherits: false; initial-value: .38; }
.services__media svg { stroke-width: 1.8; }
.services__item:nth-child(1) .services__media { --crop: 0% 30%; }
.services__item:nth-child(2) .services__media { --crop: 30% 65%; }
.services__item:nth-child(3) .services__media { --crop: 62% 20%; }
.services__item:nth-child(4) .services__media { --crop: 95% 55%; }
.services__item:nth-child(5) .services__media { --crop: 12% 85%; }
.services__item:nth-child(6) .services__media { --crop: 45% 40%; }
.services__item:nth-child(7) .services__media { --crop: 78% 75%; }
.services__item:nth-child(8) .services__media { --crop: 100% 10%; }
.services__name { margin-bottom: 8px; font-size: clamp(24px, 2.22vw, 32px); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.services__desc { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.services__arrow { margin-top: auto; padding-top: 16px; color: var(--accent-text); }
.services__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease-out); }

.services__card:hover .services__media { --veil: .5; }
.services__card:hover .services__media svg { transform: scale(1.06); }
.services__card:hover .services__arrow svg { transform: translateX(4px); }
.services__card:hover .services__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.services__more { display: flex; justify-content: center; margin-top: clamp(32px, 3.5vw, 48px); }

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services__inner { padding-inline: 16px; }
  .services__grid { grid-template-columns: 1fr; }
  /* compact rows: small icon tile beside the text, arrow at the right */
  .services__card { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: start; padding: 14px; }
  .services__media { grid-row: 1 / span 2; width: 64px; aspect-ratio: 1; margin: 0; }
  .services__media svg { width: 34px; }
  .services__name { margin: 2px 0 4px; font-size: 18px; }
  .services__desc { grid-column: 2; font-size: 14.5px; }
  .services__arrow { grid-column: 3; grid-row: 1; margin: 0; padding-top: 4px; }
}

/* Icon tiles, second pass (lead's artifact comment, 19 Nov, homepage and Solutions page): the Fore soft grey instead of
   the glass crop, brand blue icons, a little larger, heavier strokes; corners inside the icons rounded in the markup. */
.services__media { color: var(--accent-text); background: var(--mist); transition: background .3s var(--ease-out); }
.services__media svg { width: clamp(54px, 4.8vw, 68px); stroke-width: 2.2; }
.services__card:hover .services__media { background: color-mix(in srgb, var(--mist) 80%, var(--accent-light)); }
@media (max-width: 640px) { .services__media svg { width: 40px; } }
/* staging-site icons (lead's artifact comment, 19 Nov): navy PNG line icons on the soft grey tile */
.services__media img { width: clamp(54px, 4.8vw, 68px); height: auto; transition: transform .5s var(--ease-out); }
.services__card:hover .services__media img { transform: scale(1.06); }
@media (max-width: 640px) { .services__media img { width: 40px; } }

/* Line icons in a round chip (lead, 24 Nov: the icon style from the service pages' proof bars, slightly bigger at 40px
   with the stroke scaled up to match), centred on the soft grey tile. Replaces the staging PNG icons. */
.services__chip { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 999px; background: var(--band-tint); color: var(--accent-text); transition: transform .5s var(--ease-out); }
.services__media .services__chip svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform: none; }
.services__card:hover .services__chip { transform: scale(1.06); }
.services__card:hover .services__media svg { transform: none; }
@media (max-width: 640px) { .services__chip { width: 56px; height: 56px; } .services__media .services__chip svg { width: 32px; height: 32px; } }

/* 23b-home-strip.css */
/* Image strip between Services and Recent projects (lead, 18 Nov: "only one image"): a single photo edge to
   edge across the sheet, cropped to a wide band, with the site grid's rule above and below. */

.strip { height: 450px; margin: 0; overflow: hidden; background: var(--mist); border-block: 1px solid var(--line); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

/* 450px on desktop (lead, 18 Nov); shorter on tablets and phones so it stays a strip */
@media (max-width: 1024px) {
  .strip { height: 340px; }
}
@media (max-width: 640px) {
  .strip { height: 220px; }
}

/* 24-home-projects.css */
/* 5. Recent projects. Reference: "What our clients say." on nualt.fr/en (lead, 17 Nov).
   Taken: H2 top left; a featured case between thin full-width rules, split by a dashed vertical rule into a
   left panel (about a third) and the case (client logo top left, the line set large, a dashed rule, the name
   bottom left and a ↗ link bottom right); a second row of two equal cells under another rule, the left a small
   case with a big monospace figure over its label beside a dashed divider and the text, the right a solid
   brand-blue panel; the left panel and the blue panel bleed to the sheet's edges while text lines up with the
   page column.
   Changed: an image in the left panel instead of Nualt's isometric vector block (lead's note); the right-hand
   paragraph beside the H2 is left out (no copy); the blue cell holds the second small case (AMC) instead of
   Nualt's "Join our clients" call to action; no quote mark (these are project facts, not quotes).
   Grid styling from Trusted by and Services (lead, 18 Nov): the cases sit in one hairline grid in the content
   width with corner squares, solid hairlines inside, instead of bleeding to the sheet edges between dashed rules.
   Pale sky band. */

.projects { --col: var(--gutter); --rule-line: color-mix(in srgb, var(--primary) 22%, transparent); container-type: inline-size; padding-block: clamp(72px, 8vw, 120px); color: var(--primary); }
.projects__head { padding-inline: var(--col); margin-bottom: clamp(32px, 3.5vw, 48px); }
.projects__title { color: var(--primary); }

/* the cases in the site grid (lead, 18 Nov, as Trusted by and Services): one bordered grid in the content
   width, 1px gaps over the rule colour draw the hairlines, four 6px squares on the outer corners; the dividers
   inside the cells are solid hairlines too */
.projects__grid { position: relative; display: grid; gap: 1px; margin-inline: var(--col); background: var(--rule-line); border: 1px solid var(--rule-line); }
.projects__grid::before { content: ""; position: absolute; inset: -4px; z-index: 2; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }

/* featured case */
.projects__feature { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: 1px; }
.projects__media { position: relative; min-height: clamp(320px, 30vw, 440px); overflow: hidden; background: var(--mist); }
.projects__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.projects__case { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px) clamp(28px, 3.5vw, 56px) clamp(24px, 2.5vw, 32px); background: var(--band-tint); }
.projects__brand img { width: auto; height: clamp(44px, 4vw, 60px); }
.projects__line { max-width: 760px; margin: clamp(24px, 3vw, 44px) 0; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.projects__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rule-line); }
.projects__name { color: inherit; font: 400 14px/1.4 var(--font-mono); letter-spacing: .02em; }
.projects__link { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px -8px 0; color: var(--accent-text); }
.projects__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease-out); }
.projects__link:hover svg { transform: translate(2px, -2px); }

/* second row: two small cases */
.projects__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
.projects__small { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 0 clamp(20px, 2.5vw, 36px); padding: clamp(18px, 1.8vw, 26px) clamp(24px, 3vw, 48px); background: var(--band-tint); } /* tighter (lead, 18 Nov) */
.projects__small--blue { background: var(--band-blue); color: var(--paper); }
.projects__stat { display: flex; flex-direction: column; gap: 6px; }
.projects__figure { font: 400 clamp(40px, 4.4vw, 60px)/1 var(--font-mono); letter-spacing: -.03em; }
.projects__label { font-size: 15px; }
.projects__text { display: flex; flex-direction: column; gap: 12px; padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid var(--rule-line); }
.projects__small--blue .projects__text { border-left-color: color-mix(in srgb, var(--paper) 35%, transparent); }
.projects__text p { font-size: 17px; line-height: 1.5; }
.projects__small--blue .projects__name { color: var(--paper); }
/* whole small case is the link */
.projects__cover { position: absolute; inset: 0; z-index: 1; }
.projects__cover:focus-visible { outline-offset: -4px; }
.projects__small:hover .projects__name { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .projects__feature { grid-template-columns: 1fr; }
  .projects__media { min-height: 0; aspect-ratio: 16 / 9; }
  .projects__row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .projects { --col: 16px; }
  .projects__case { padding: 24px 20px; }
  .projects__small { padding: 18px 20px; }
  .projects__small { grid-template-columns: 1fr; gap: 16px; }
  .projects__text { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid var(--rule-line); }
  .projects__small--blue .projects__text { border-top-color: color-mix(in srgb, var(--paper) 35%, transparent); }
}

/* Partner ecosystem (section 6) as a full-width ticker at the foot of Recent projects (lead, 17 Nov).
   Two copies of the list slide left together and loop seamlessly; edges fade out; hover pauses it.
   No pause button (lead's call). Under reduced motion it stands still and scrolls sideways by hand. */
.partners { margin-top: clamp(36px, 3.6vw, 52px); } /* closer to the grid (lead, 18 Nov) */
.partners__head { padding-inline: var(--col); margin-bottom: 4px; } /* label sits close to the logos (lead, 18 Nov) */
.partners__title { color: var(--primary); font: 400 13px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.partners__viewport { 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); }
.partners__track { display: flex; width: max-content; }
.projects .partners__list { display: flex; flex: none; align-items: center; gap: clamp(48px, 5vw, 80px); margin: 0; padding: 0 clamp(24px, 2.5vw, 40px) 8px; }
.partners__list li { display: flex; align-items: center; height: 48px; }
.partners__list img { width: auto; height: var(--h); }

@media (prefers-reduced-motion: no-preference) {
  .partners__track { animation: partners-scroll 90s linear infinite; }
  .partners__viewport:hover .partners__track { animation-play-state: paused; }
}
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .partners__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .partners__list[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .partners__list img { height: calc(var(--h) * .8); }
  .projects .partners__list { gap: 40px; }
}

/* 25-home-ai.css */
/* 7. AI ambitions. Layout from "Before you start." on nualt.fr/en/agentic-ai (lead, 17 Nov): H2 left and
   paragraph right over a grid; a wide featured cell (picture, then text) beside two stacked cells; the link
   under the grid, right-aligned.
   Styling is the site's own (lead, 17 Nov): the Trusted by / Services grid (1px gaps over a rule colour draw
   the hairlines, 6px squares on the outer corners), the Intro's round line-icon chips, DM Sans 500 titles,
   the light pill button. On the deepest navy band: titles white, text pale blue-grey (10.8:1).
   Earlier versions: research/alt-ai-rothfinder/, research/alt-ai-crox/. */

.ai { --line: var(--rule-dark); padding-block: clamp(72px, 8vw, 120px); background: var(--dark); color: var(--on-navy-muted); }
.ai__inner { margin: 0 auto; padding-inline: var(--gutter); }

.ai__head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 5vw, 80px); align-items: start; margin-bottom: clamp(40px, 4vw, 56px); }
.ai__title { color: var(--paper); }
.ai__lead { padding-top: 6px; color: var(--on-navy-muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }

/* the grid, as Trusted by and Services */
.ai .ai__grid { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr); grid-template-rows: 1fr 1fr; gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); }
.ai__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--on-navy-muted), var(--on-navy-muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--on-navy-muted), var(--on-navy-muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--on-navy-muted), var(--on-navy-muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--on-navy-muted), var(--on-navy-muted)) bottom right / 6px 6px no-repeat; }
.ai__cell { display: flex; flex-direction: column; gap: 32px; padding: clamp(22px, 2.2vw, 30px); background: var(--dark); }
.ai__cell--feature { grid-row: 1 / 3; gap: 0; padding: 0; }
.ai__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark-2); }
.ai__media img { width: 100%; height: 100%; object-fit: cover; }
.ai__body { padding: clamp(24px, 2.4vw, 32px); }
.ai__text { margin-top: auto; }

/* round line-icon chip, as the Intro cards (on navy: a faint white fill, sky icon) */
.ai__chip { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--accent-light); }
.ai__chip svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.ai__name { color: var(--paper); font-size: clamp(24px, 2.22vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.ai__cell--feature .ai__name { font-size: clamp(24px, 2.22vw, 32px); }
.ai__desc { margin-top: 10px; color: var(--on-navy-muted); font-size: 15.5px; line-height: 1.5; }
.ai__cell--feature .ai__desc { max-width: 640px; font-size: clamp(16px, 1.25vw, 18px); }

.ai__more { display: flex; justify-content: flex-end; margin-top: clamp(32px, 3.5vw, 48px); }

@media (max-width: 900px) {
  .ai__head { grid-template-columns: 1fr; }
  .ai .ai__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ai__cell--feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .ai__inner { padding-inline: 16px; }
  .ai .ai__grid { grid-template-columns: 1fr; }
  .ai__cell { gap: 24px; }
  .ai__more { justify-content: flex-start; }
}

/* 26-home-voices.css */
/* 8. What our clients say. Layout from "Heard from the early ones." on loopsii.com (lead, 18 Nov): centred H2
   over a full-width band between two rules; vertical rules split it into card slots (W) and gaps (G), with small
   squares where the rules cross; the current card in the centre slot, neighbours faded either side; round
   previous/next buttons with a counter under the band.
   Styling is the site's own: white 12px cards (Intro), a tinted square tile with a line icon (Services), DM Sans
   name and DM Mono company (Projects), 6px squares in --muted (Trusted by), navy round buttons (.btn__dot).
   Live mode (main.js adds .is-live): every card sits in the centre slot's grid cell and is shifted by
   --pos x (W + G); the card that wraps round from one side to the other fades instead of sliding across.
   Pale sky band. */

.voices { --W: clamp(340px, 36vw, 520px); --G: clamp(96px, 14vw, 220px); --P: calc(var(--W) + var(--G)); container-type: inline-size; padding-block: clamp(72px, 8vw, 120px); color: var(--primary); }
.voices__head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); padding-inline: var(--gutter); text-align: center; }
.voices__title { color: var(--primary); }
.voices__intro { max-width: 600px; margin: 16px auto 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; }

/* the ruled band: rules top and bottom, vertical rules at each slot edge, squares where they cross */
.voices__stage { --L: color-mix(in srgb, var(--primary) 16%, transparent); --x1: calc(50cqw - var(--W) / 2); --x2: calc(50cqw + var(--W) / 2); position: relative; padding-block: clamp(20px, 2vw, 28px); overflow: clip; border-block: 1px solid var(--L); background:
  linear-gradient(90deg, var(--L) 0 1px, transparent 1px) var(--x1) 0 / var(--P) 100% repeat-x,
  linear-gradient(90deg, var(--L) 0 1px, transparent 1px) var(--x2) 0 / var(--P) 100% repeat-x; }
.voices__stage::before { content: ""; position: absolute; inset: -4px 0; z-index: 1; pointer-events: none; background:
  linear-gradient(90deg, var(--muted) 0 6px, transparent 6px) calc(var(--x1) - 3px) top / var(--P) 6px repeat-x,
  linear-gradient(90deg, var(--muted) 0 6px, transparent 6px) calc(var(--x2) - 3px) top / var(--P) 6px repeat-x,
  linear-gradient(90deg, var(--muted) 0 6px, transparent 6px) calc(var(--x1) - 3px) bottom / var(--P) 6px repeat-x,
  linear-gradient(90deg, var(--muted) 0 6px, transparent 6px) calc(var(--x2) - 3px) bottom / var(--P) 6px repeat-x; }

/* no JS: the three cards in a sideways-scrolling row */
.voices__slot { display: flex; gap: var(--G); width: var(--W); margin-inline: auto; padding-inline: 16px; }
.voices:not(.is-live) .voices__stage { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.voices:not(.is-live) .voices__card { flex: 0 0 calc(var(--W) - 32px); scroll-snap-align: center; }

/* live: stacked in one cell, shifted sideways */
.voices.is-live .voices__slot { display: grid; }
.voices.is-live .voices__card { grid-area: 1 / 1; transform: translateX(calc(var(--pos, 0) * var(--P))); transition: transform .7s var(--ease-out), opacity .5s var(--ease-out); }
.voices.is-live .voices__card:not(.is-active) { opacity: .45; cursor: pointer; }
.voices.is-live .voices__card.is-jump { opacity: 0; transition: none; }

.voices__card { display: flex; flex-direction: column; margin: 0; padding: 12px; background: var(--paper); border-radius: 12px; }
.voices__top { display: grid; grid-template-columns: clamp(72px, 7vw, 104px) minmax(0, 1fr); gap: clamp(16px, 1.6vw, 24px); align-items: start; padding-bottom: clamp(20px, 2vw, 28px); }
.voices__tile { display: grid; place-items: center; aspect-ratio: 1; background: var(--band-tint); color: var(--accent-text); }
.voices__tile svg { width: 56%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.voices__quote { margin: 0; padding: 6px 8px 0 0; }
.voices__quote p { color: var(--primary); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.voices__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-top: auto; padding: 14px 4px 4px; border-top: 1px solid var(--line); }
.voices__name { font-size: 16px; font-weight: 500; }
.voices__org { color: var(--muted); font: 400 12.5px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

/* previous / next with the counter between, as the navy round chip of the buttons */
.voices__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(24px, 2.6vw, 36px); }
.voices__nav[hidden] { display: none; }
.voices__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--primary); color: var(--paper); cursor: pointer; transition: background-color .25s var(--ease-out); }
.voices__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.voices__btn:hover { background: var(--accent); }
.voices__count { min-width: 64px; color: var(--muted); font: 400 14px/1 var(--font-mono); letter-spacing: .04em; text-align: center; }

@media (max-width: 1024px) {
  .voices { --W: min(520px, 62cqw); --G: clamp(48px, 8vw, 96px); }
}
@media (max-width: 640px) {
  .voices { --W: calc(100cqw - 48px); --G: 24px; }
  .voices__top { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .voices.is-live .voices__card { transition: opacity .2s; }
}

/* 27-home-cta.css */
/* 9. Closing CTA, combined with the footer (lead, 18 Nov). Layout from the end of kaiko.ai: large centred two-line
   H2 with the second line in a blue gradient, a line of text and the button, under a thin rule ending in small
   squares; the footer follows straight underneath.
   Styling is the footer's: after the sheet, on the same dark band, in the site's fluid content width; rule and squares
   in the footer grid's colours, and the footer grid's top edge serves as the lower rule. White H2, gradient line
   sky to brand blue (8.1:1 and 4.8:1 on --dark), the light pill button.
   Earlier: research/alt-cta-glass-card/, research/alt-cta-css-glass/. */

.cta { position: relative; z-index: 1; padding: 0 calc(var(--gutter) + var(--inset)); /* no top padding: the inner block sets equal space above the heading and below the button (lead, 19 Nov) */ background: var(--dark); color: var(--on-dark); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 auto; padding: clamp(72px, 9vw, 140px) 24px; text-align: center; } /* no top hairline or corner squares (lead, 19 Nov) */

.cta__title { max-width: 1100px; color: var(--paper); font-size: clamp(38px, 5.4vw, 84px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.cta__title span { display: block; }
.cta__accent { padding-bottom: .08em; background: linear-gradient(90deg, var(--accent-light) 0%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta__note { max-width: 640px; margin: clamp(20px, 2.4vw, 32px) 0 clamp(24px, 2.6vw, 36px); color: var(--on-dark); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.4; }

/* the footer carries straight on under the CTA */
body:has(.cta) .site-footer { padding-top: 0; } /* any page ending with this CTA (homepage, Solutions) */
.cta__title--solo { margin-bottom: clamp(28px, 3vw, 44px); } /* a one-line H2 with no note under it */

@media (max-width: 640px) {
  .cta__inner { padding: 64px 4px; }
  .cta__inner .btn { width: 100%; }
}

/* 30-page-hero.css */
/* Inner page hero (Solutions hub first, lead 18 Nov: "take a stab"). The homepage band and sheet (20-home-hero.css)
   showing about half a screen: same fluted-glass picture, drift and passing light, same transparent header
   over it (body class .page-band), the sheet sliding up over the band's lower edge. Centred H1, subhead and the
   light pill button. The H1 is one line, so it takes the light blue settle only. */

.page-band main { position: relative; }
/* the band stays a full screen tall (it is pinned, so it fills the sheet's side gutters all the way down) and the
   sheet is pulled up over its lower part, leaving about 54% of the screen as the visible hero */
.hero--page .hero__inner { flex-direction: column; gap: 0; padding-bottom: 46svh; }
.hero--page .hero__title { max-width: none; font-size: clamp(44px, 6vw, 92px); }
/* deep blue wash (lead, 18 Nov: "have the dark blue be more dominant"): a navy-blue layer multiplied over the
   picture, heaviest at the edges and the foot, so the deep blues lead and the pale streaks only break through
   towards the middle. Inner pages only; the homepage
   hero stays as it was (lead, 18 Nov). */
.hero--page .hero__glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background:
  radial-gradient(120% 90% at 50% 35%, rgba(16, 52, 128, .35) 0%, rgba(10, 36, 96, .7) 70%, rgba(6, 24, 66, .85) 100%); }
.hero__sub { max-width: 720px; margin: clamp(18px, 2vw, 26px) auto clamp(24px, 2.6vw, 36px); color: var(--on-dark); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; text-wrap: balance; }

/* the sheet on inner pages: pulled up over the band's lower edge; sections go inside */
.sheet--page { margin-top: -46svh; min-height: 46svh; }

@media (max-width: 640px) {
  .hero--page .hero__inner { padding-bottom: 34svh; }
  .sheet--page { margin-top: -34svh; }
  .hero--page .btn { width: 100%; }
}

/* light split variant for the service pages (lead, 18 Nov: "light blue for the solutions pages hero backgrounds ...
   text side by side 50-50, h1 on the left, para and button on the right"). The same fluted-glass picture under a
   pale blue wash (no dark top shade), navy text, the navy pill button; on phones the two halves stack. The header
   keeps its dark text over it (body class .page-band-light, 10-header.css). */
.page-band-light main { position: relative; }
.hero--light .hero__glass { background: #CFE6F7; }
.hero--light .hero__glass::after { mix-blend-mode: normal; background: linear-gradient(180deg, rgba(232, 244, 252, .82) 0%, rgba(214, 236, 252, .74) 60%, rgba(196, 226, 250, .7) 100%); }
.hero--light .hero__glass::before { background: none; }
.hero--light .hero__title, .hero--light .hero__title span { --settle-to: var(--primary); color: var(--primary); }
.hero--light .hero__sub { color: var(--primary); }

.hero--split .hero__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; align-items: start; /* H1 top lines up with the subhead (lead, 18 Nov) */ gap: 24px clamp(40px, 5vw, 96px); text-align: left; }
.hero--split .hero__title { max-width: 14ch; margin: 0; font-size: clamp(40px, 4.6vw, 76px); line-height: 1; }
.hero--split .hero__aside { display: flex; flex-direction: column; align-items: flex-start; }
.hero--split .hero__sub { max-width: 560px; margin: .55em 0 clamp(20px, 2.2vw, 28px); text-wrap: pretty; } /* the small top margin sits the first line on the H1's cap height */

@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero--split .hero__title { max-width: none; }
}
@media (max-width: 640px) {
  .hero--split .hero__aside .btn { width: 100%; }
}

/* Per-page variants (lead, 18 Nov: "our heroes are looking too similar ... create some variation between the other
   pages"; homepage hero unchanged). Same fluted-glass picture throughout, but each page turns, scales or mirrors it
   and takes its own colour: four stay light (navy text), five go dark (white text, light button, white header via
   body class .page-band). The turn and scale use the separate rotate/scale properties so the slow drift still runs. */

/* light: lighter washes so the glass shows through */
.hero--campus .hero__glass::after { background: linear-gradient(180deg, rgba(232, 244, 252, .7) 0%, rgba(206, 232, 252, .55) 100%); }
.hero--storage .hero__photo { scale: 2.6; }
.hero--storage .hero__glass::after { background: linear-gradient(180deg, rgba(226, 246, 250, .72) 0%, rgba(176, 226, 240, .5) 100%); }
.hero--greenfield .hero__glass::after { background: linear-gradient(90deg, rgba(246, 250, 252, .97) 0%, rgba(240, 247, 252, .9) 42%, rgba(196, 224, 248, .35) 100%); }
.hero--cloud .hero__photo { rotate: 28deg; scale: 1.7; } /* glass visible again (lead, 18 Nov: the blur hid it), tilted the other way from Security */
.hero--cloud .hero__glass::after { background: linear-gradient(110deg, rgba(240, 248, 254, .9) 0%, rgba(226, 242, 254, .7) 45%, rgba(186, 222, 250, .4) 100%); }

/* dark */
.hero--dark .hero__glass { background: var(--dark); }
.hero--dark .hero__title, .hero--dark .hero__title span { --settle-to: var(--paper); color: var(--paper); }
.hero--dark .hero__sub { color: var(--on-dark); }
.hero--dark .btn--primary { background: var(--paper); color: var(--primary); }
.hero--dark .btn--primary .btn__dot { background: var(--primary); color: var(--paper); }
.hero--dark .btn--primary:hover { background: var(--accent-light); }
.hero--managed .hero__photo { scale: -1 1; }
.hero--managed .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(90deg, rgba(0, 31, 46, .92) 0%, rgba(0, 61, 92, .78) 55%, rgba(1, 117, 175, .45) 100%); }
.hero--ai .hero__photo { scale: 1.9; }
.hero--ai .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(1, 90, 150, .7) 0%, rgba(0, 61, 120, .85) 100%); }
.hero--security .hero__photo { rotate: -14deg; scale: 1.6; }
.hero--security .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(160deg, rgba(0, 20, 32, .95) 0%, rgba(0, 31, 46, .85) 60%, rgba(0, 61, 92, .7) 100%); }
.hero--surveillance .hero__photo { rotate: 90deg; scale: 2; }
.hero--surveillance .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(0, 45, 70, .82) 0%, rgba(0, 31, 46, .92) 100%); }
.hero--about .hero__photo { rotate: 10deg; scale: 1.4; }
.hero--about .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(200deg, rgba(1, 117, 175, .55) 0%, rgba(0, 61, 92, .85) 100%); }
.hero--clients .hero__photo { scale: -2.2 2.2; rotate: -24deg; } /* light; mirrored and tilted, unlike the other light pages */
.hero--clients .hero__glass::after { background: linear-gradient(250deg, rgba(244, 249, 253, .94) 0%, rgba(228, 242, 252, .74) 50%, rgba(190, 224, 248, .42) 100%); }
.hero--careers .hero__photo { rotate: -38deg; scale: 2.3; } /* dark; steepest tilt of the set */
.hero--careers .hero__glass::after { mix-blend-mode: multiply; background: linear-gradient(135deg, rgba(0, 45, 70, .9) 0%, rgba(0, 70, 105, .75) 55%, rgba(1, 117, 175, .5) 100%); }
.hero--contact .hero__photo { rotate: 52deg; scale: 2; } /* light; tilted against Clients */
.hero--contact .hero__glass::after { background: linear-gradient(200deg, rgba(242, 248, 253, .92) 0%, rgba(224, 240, 252, .7) 55%, rgba(184, 220, 248, .42) 100%); }
.hero--legal .hero__photo { scale: 1.2; } /* light and quiet for the legal pages: the glass barely shows under a near-white wash */
.hero--legal .hero__glass::after { background: linear-gradient(180deg, rgba(246, 250, 253, .95) 0%, rgba(232, 243, 252, .86) 100%); }

/* Shorter hero (lead, 18 Nov: Clients, Careers and Contact; Solutions, About and the service pages keep theirs): the
   sheet is pulled further up the pinned band, leaving about 38% of the screen as the visible hero. */
.page-hero-short .hero--page .hero__inner { padding-bottom: 62svh; }
.page-hero-short .sheet--page { margin-top: -62svh; min-height: 62svh; }
@media (max-width: 640px) {
  .page-hero-short .hero--page .hero__inner { padding-bottom: 44svh; }
  .page-hero-short .sheet--page { margin-top: -44svh; min-height: 44svh; }
}

/* Glow heroes on every inner page (lead, 19 Nov: "bring this hero style across the other pages, with slight colour
   variations for each page"). Same image, moving light and grain as the homepage (20-home-hero.css); this block
   cancels the fluted-glass variants above (their turns, scales and washes) and tints each page by turning the hue of
   the whole glow a few degrees, teal through blue to indigo and violet. The glow sits higher than on the homepage
   because the sheet covers more of the band here. */
.hero.hero--glow .hero__glass { background: #1E1B1A; filter: hue-rotate(var(--hue, 0deg)); }
.hero.hero--glow .hero__photo { rotate: none; scale: none; top: var(--glow-top, -34%); filter: none; }
.hero.hero--glow .hero__glass::before, .hero.hero--glow .hero__sheen { display: none; }
.hero.hero--glow .hero__glass::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--grain, .2); mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='3' intercept='-1'/%3E%3CfeFuncG type='linear' slope='3' intercept='-1'/%3E%3CfeFuncB type='linear' slope='3' intercept='-1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat; background-size: 200px 200px; }
.page-hero-short .hero.hero--glow { --glow-top: -46%; }
@media (max-width: 640px) { .hero.hero--glow.hero--page { --glow-top: -24%; } .page-hero-short .hero.hero--glow { --glow-top: -34%; } }

/* Per-page variation (lead, 19 Nov: "colours need to stay close to the brand colours ... variation through positioning
   the glows differently"): hues stay within 6 degrees of the homepage blue; each page instead moves its light. --l and
   --r place the side glows (top, size), --arc slides the bright band, --flip mirrors the glow image. */
.hero.hero--glow .hero__orb--left { top: var(--l-top, 22%); width: var(--l-size, 52%); }
.hero.hero--glow .hero__orb--right { top: var(--r-top, 24%); width: var(--r-size, 50%); }
.hero.hero--glow .hero__orb--arc { left: var(--arc-x, 22%); top: var(--arc-top, 46%); }
.hero.hero--glow .hero__photo { scale: var(--flip, 1) 1; }
.hero--solutions    { --hue: 0deg;  --l-top: 10%; --r-top: 34%; --l-size: 60%; --r-size: 40%; --arc-x: 14%; }
.hero--campus       { --hue: 0deg;  --l-top: 30%; --r-top: 8%;  --l-size: 44%; --r-size: 62%; --arc-x: 30%; }
.hero--greenfield   { --hue: 4deg;  --flip: -1; --l-top: 16%; --r-top: 30%; --arc-x: 8%;  --arc-top: 40%; }
.hero--ai           { --hue: 6deg;  --l-top: 4%;  --r-top: 4%;  --l-size: 58%; --r-size: 58%; --arc-x: 22%; --arc-top: 34%; }
.hero--security     { --hue: 5deg;  --flip: -1; --l-top: 34%; --r-top: 12%; --l-size: 64%; --r-size: 38%; --arc-x: 36%; }
.hero--storage      { --hue: -4deg; --l-top: 8%;  --r-top: 36%; --l-size: 40%; --r-size: 64%; --arc-x: 4%;  --arc-top: 50%; }
.hero--surveillance { --hue: -6deg; --flip: -1; --l-top: 26%; --r-top: 26%; --l-size: 36%; --r-size: 36%; --arc-x: 40%; --arc-top: 38%; }
.hero--managed      { --hue: 3deg;  --l-top: 38%; --r-top: 18%; --arc-x: 28%; --arc-top: 52%; }
.hero--cloud        { --hue: -3deg; --flip: -1; --l-top: 6%;  --r-top: 22%; --l-size: 66%; --r-size: 44%; --arc-x: 18%; --arc-top: 32%; }
.hero--about        { --hue: 2deg;  --l-top: 18%; --r-top: 18%; --l-size: 56%; --r-size: 56%; --arc-x: 22%; --arc-top: 42%; }
.hero--clients      { --hue: -5deg; --flip: -1; --l-top: 2%;  --r-top: 14%; --arc-x: 32%; --arc-top: 28%; }
.hero--careers      { --hue: 5deg;  --l-top: 12%; --r-top: 2%;  --l-size: 62%; --r-size: 46%; --arc-x: 6%;  --arc-top: 26%; }
.hero--contact      { --hue: -2deg; --flip: -1; --l-top: 4%;  --r-top: 8%;  --l-size: 48%; --r-size: 60%; --arc-x: 26%; --arc-top: 30%; }
.hero--legal        { --hue: 0deg;  --l-top: 14%; --r-top: 20%; --l-size: 46%; --r-size: 46%; --arc-x: 22%; --arc-top: 36%; }

/* 31-solutions.css */
/* Solutions hub, 2. Services: the homepage services grid (23-home-services.css) reused as is (lead, 18 Nov).
   On this page it is the first thing in the sheet, so it takes the sheet's top padding instead of the
   homepage's band padding. Earlier version (Perplexity rows): research/alt-solutions-rows/. */
.services--page { padding-top: clamp(48px, 5vw, 80px); }

/* 32-service.css */
/* Service pages (Campus networking first). Shared section styles; each page supplies its own copy.

   2. Proof bar: the first thing in the sheet. The site grid (1px gaps over the rule colour, 6px squares on the outer
   corners) with one cell per fact; a round line-icon chip as in the Intro cards beside the fact in large light type.
   Two or three cells across, stacked on phones. */
.proof { padding: clamp(40px, 4.4vw, 64px) var(--gutter) 0; }
.proof .proof__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); }
.proof__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.proof__cell { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 24px); padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.4vw, 36px); background: var(--bg); }
.proof__chip { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--band-tint); color: var(--accent-text); }
.proof__chip svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.proof__fact { color: var(--primary); font-size: clamp(19px, 1.6vw, 24px); font-weight: 300; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }

@media (max-width: 640px) {
  .proof { padding-inline: 16px; }
  .proof__chip { width: 52px; height: 52px; }
  .proof__chip svg { width: 30px; height: 30px; }
}

/* 3. What we do. Reference: "The perfect union" on car.capricorngroup.net (lead's pick, 18 Nov). A large light
   statement starting about 30% across with wide white space, then a picture below it, a little left of the
   statement and about 45% wide. The reference's mono label slot on the left stays empty (no copy). Placeholder
   tile until a campus photo arrives; swap the figure's contents for an <img> with object-fit: cover. */
.what { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); padding: clamp(80px, 9vw, 150px) var(--gutter) clamp(72px, 8vw, 120px); }
.what__text { grid-column: 2; max-width: 860px; }
.what__statement { color: var(--primary); font-size: clamp(26px, 2.8vw, 42px); font-weight: 300; line-height: 1.22; letter-spacing: -.015em; text-wrap: pretty; }
.what__note { max-width: 620px; margin-top: clamp(20px, 2vw, 28px); color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
.what__media { grid-column: 2; width: min(100%, 680px); margin: clamp(64px, 8vw, 120px) 0 0 calc(-1 * clamp(0px, 3vw, 48px)); aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.what__media img { width: 100%; height: 100%; object-fit: cover; }
.what__media--ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, color-mix(in srgb, var(--mist) 70%, var(--line)) 14px 15px); }
.what__media--ph span { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 900px) {
  .what { grid-template-columns: 1fr; }
  .what__text, .what__media { grid-column: 1; }
  .what__media { margin-left: 0; }
}
@media (max-width: 640px) {
  .what { padding-inline: 16px; }
}

/* 4. How we deliver. Reference: "Your product, your code, your call." on nualt.fr/en (lead, 18 Nov). A brand blue
   band pinned while you scroll through the steps (main.js adds .is-live and the extra scroll length): H2 top left;
   a bordered list on the left, one step open at a time (the open one shows its line, the rest fold to their title
   rows); an isometric stack on the right built from the bottom up, a slab per step, the step's drawing on the top.
   Not pinned without JS, under reduced motion or below 900px: every step open, the full stack shown (hidden on
   phones). Earlier version (Titan timeline): research/alt-campus-steps-titan/. */
.journey { --line: rgba(255, 255, 255, .45); background: var(--band-navy); color: var(--paper); } /* the homepage Intro's navy band (lead, 18 Nov) */
.journey__pin { display: flex; flex-direction: column; padding: clamp(72px, 8vw, 120px) var(--gutter); }
.journey.is-live { height: calc(100svh + var(--n) * 45svh); }
.journey.is-live .journey__art { align-self: end; } /* the stack stands on a fixed base and grows upward */
.journey.is-live .journey__pin { position: sticky; top: 0; height: 100svh; justify-content: center; padding-block: calc(var(--header-h) + 24px) 32px; }
.journey__title { color: var(--paper); }
.journey__head { margin-bottom: clamp(32px, 4vw, 64px); }
.journey__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 96px); }

.journey .journey__list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.journey__item + .journey__item { border-top: 1px solid var(--line); }
.journey__item { padding: clamp(18px, 1.8vw, 24px) clamp(20px, 2.2vw, 32px); }
.journey__name { transition: color .45s var(--ease-out); display: flex; align-items: baseline; gap: 14px; color: var(--paper); font-size: clamp(24px, 2.22vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: -.01em; }
.journey__num { color: var(--on-navy-muted); font: 400 12px/1 var(--font-mono); letter-spacing: .04em; }
.journey__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease-out), opacity .45s var(--ease-out); }
.journey__line { overflow: hidden; color: var(--on-dark); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; }
.journey__line::before { content: ""; display: block; height: 12px; }
.journey__item.is-active .journey__more, .journey:not(.is-live) .journey__more { grid-template-rows: 1fr; opacity: 1; }
/* pinned: the list holds only the steps reached so far, so it grows downward as you scroll (nualt, lead 18 Nov).
   Steps not reached yet collapse to nothing (height, padding and rule eased, not switched off) so the box grows
   and shrinks smoothly instead of jumping (lead, 18 Nov: "make it smoother"). */
.journey.is-live .journey__item { max-height: 220px; overflow: hidden; transition: max-height .6s var(--ease-out), padding .6s var(--ease-out), opacity .45s var(--ease-out), border-color .45s var(--ease-out); }
.journey.is-live .journey__item:not(.is-active):not(.is-past) { max-height: 0; padding-block: 0; opacity: 0; border-top-color: transparent; }
.journey.is-live .journey__list { transition: border-color .45s; }
.journey__item:not(.is-active) .journey__name { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.journey:not(.is-live) .journey__item .journey__name { color: var(--paper); }

/* the isometric stack */
.journey__art { justify-self: center; width: 100%; max-width: 640px; max-height: calc(100svh - var(--header-h) - 220px); height: auto; overflow: visible; }
.journey__art polygon { stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.journey__slab polygon { fill: var(--band-navy); }
/* the cap: the highest slab shown, solid pale with the step's drawing on it (the top slab when not pinned) */
:is(.journey:not(.is-live) .journey__slab--top, .journey.is-live .journey__slab.is-cap) .journey__face { fill: #F4F7F9; stroke: #F4F7F9; }
:is(.journey:not(.is-live) .journey__slab--top, .journey.is-live .journey__slab.is-cap) .journey__side--l { fill: #E2ECF4; stroke: #E2ECF4; }
:is(.journey:not(.is-live) .journey__slab--top, .journey.is-live .journey__slab.is-cap) .journey__side--r { fill: #CFDFEB; stroke: #CFDFEB; }
.journey__slab polygon { transition: fill .35s var(--ease-out), stroke .35s var(--ease-out); }
.journey__slab { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
/* built from the bottom up (lead, 18 Nov): each new slab drops onto the stack from just above */
.journey.is-live .journey__slab:not(.is-on) { opacity: 0; transform: translateY(-28px); }
.journey__tops { transition: transform .6s var(--ease-out); }
.journey__top { fill: none; stroke: var(--band-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .35s var(--ease-out) .15s; }
.journey__top * { vector-effect: non-scaling-stroke; }
.journey__top.is-on, .journey:not(.is-live) .journey__top[data-i="0"] { opacity: 1; }

@media (max-width: 900px) {
  .journey__body { grid-template-columns: 1fr; }
  .journey__art { max-width: 420px; }
}
@media (max-width: 640px) {
  .journey__pin { padding-inline: 16px; }
  .journey__art { display: none; }
}

/* 5. Technology partners (lead's pick B, United Carriers' ruled grid, 18 Nov), in the homepage Trusted grid's
   styling: centred H2, one bordered grid split by 1px hairlines, 6px squares on the outer corners. Each cell holds
   a logo with the level held in mono under it. 4 across, 2 on tablets and phones. */
.certs { padding: clamp(64px, 7vw, 104px) var(--gutter) clamp(64px, 7vw, 104px); }
.certs__title { max-width: 860px; margin: 0 auto clamp(32px, 3.5vw, 48px); color: var(--primary); text-align: center; text-wrap: balance; }
.certs .certs__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); }
.certs__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.certs__cell { display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 20px; min-height: 200px; padding: 40px 20px 22px; background: var(--bg); text-align: center; }
.certs__cell img { width: auto; height: var(--h); max-width: min(180px, 100%); object-fit: contain; }
.certs__wordmark { color: var(--primary); font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.certs__level { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 1024px) {
  .certs .certs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certs__cell { min-height: 170px; }
}
@media (max-width: 640px) {
  .certs { padding-inline: 16px; }
  .certs__cell { min-height: 150px; gap: 14px; padding: 28px 12px 16px; }
  .certs__cell img { height: calc(var(--h) * .8); }
  .certs__wordmark { font-size: 16px; }
  .certs__level { font-size: 11px; }
}

/* 6. Case study (lead's pick A, Ease's "What it's like working with Ease", 18 Nov). H2 top left; one hairline grid
   with corner squares: a light blue (--accent-light, lead 18 Nov) client panel, a tall photo, three stacked stat cards. Tablet: photo across the top,
   panel and stats under it. Phone: one column, the stats three across. */
.case { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.case__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
.case__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.case__client { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(24px, 2.6vw, 36px); background: var(--accent-light); }
.case__logo { width: 72px; height: 72px; object-fit: contain; }
.case__name { color: var(--primary); }
.case__year { margin-top: 8px; color: var(--primary); font: 400 13px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.case__media { margin: 0; min-height: clamp(380px, 34vw, 520px); background: var(--mist); }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media--ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, color-mix(in srgb, var(--mist) 70%, var(--line)) 14px 15px); }
.case__media--ph span { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.case .case__stats { display: grid; grid-template-rows: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); }
.case__stat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(20px, 2.2vw, 32px); background: var(--bg); }
.case__figure { color: var(--primary); font: 400 clamp(36px, 3.6vw, 52px)/1 var(--font-mono); letter-spacing: -.03em; }
.case__label { color: var(--muted); font-size: 15px; }

@media (max-width: 1024px) {
  .case__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__media { grid-column: 1 / -1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .case { padding-inline: 16px; }
  .case__grid { grid-template-columns: 1fr; }
  .case__client { flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 20px; }
  .case__logo { width: 56px; height: 56px; }
  .case .case__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .case__stat { justify-content: flex-start; padding: 18px 12px; }
  .case__figure { font-size: 28px; }
  .case__label { font-size: 13px; }
}

/* 7. FAQs (lead's screenshot of Nualt's "Questions to ask before signing", 18 Nov). Each group is one hairline grid
   with corner squares: number and group name on the left third, the questions on the right, split by hairlines.
   details/summary with a plus that turns into a cross; the answer eases open where ::details-content can animate. */
.faq { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.faq__title { margin: 0 0 clamp(32px, 3.5vw, 56px); color: var(--primary); }
.faq__group { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq__group + .faq__group { margin-top: clamp(20px, 2vw, 32px); }
.faq__group::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.faq__head { padding: clamp(24px, 2.6vw, 36px); background: var(--bg); }
.faq__num { display: block; color: var(--accent-text); font: 400 clamp(48px, 4.4vw, 64px)/1 var(--font-mono); letter-spacing: -.04em; }
.faq__name { margin-top: clamp(14px, 1.4vw, 20px); color: var(--primary); }
.faq__list { display: grid; gap: 1px; background: var(--line); }
.faq__item { background: var(--bg); interpolate-size: allow-keywords; }
.faq__item summary { position: relative; display: block; padding: clamp(22px, 2vw, 28px) calc(clamp(24px, 2.6vw, 36px) + 32px) clamp(22px, 2vw, 28px) clamp(24px, 2.6vw, 36px); color: var(--primary); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.4; cursor: pointer; list-style: none; transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-text); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* plus drawn from two bars; the vertical bar turns flat and the whole mark rotates to a cross when open */
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; top: 50%; right: clamp(24px, 2.6vw, 36px); width: 16px; height: 1.5px; margin-top: -1px; background: var(--accent-text); transition: transform .35s var(--ease-out); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::before { transform: rotate(45deg); }
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item p { max-width: 680px; padding: 0 clamp(24px, 2.6vw, 36px) clamp(24px, 2.4vw, 32px); color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

@media (max-width: 900px) {
  .faq__group { grid-template-columns: 1fr; }
  .faq__head { display: flex; align-items: baseline; gap: 16px; }
  .faq__name { margin-top: 0; }
}
@media (max-width: 640px) {
  .faq { padding-inline: 16px; }
  .faq__head { padding: 20px; }
  .faq__num { font-size: 40px; }
  .faq__item summary { padding: 18px 52px 18px 20px; }
  .faq__item summary::before, .faq__item summary::after { right: 20px; }
  .faq__item p { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) { .faq__item::details-content { transition: none; } }

/* Case study variants for the Managed services named clients: a text mark where no client logo is on file yet, and
   a two-card stat column. */
.case__mark { display: grid; place-items: center; width: 72px; height: 72px; border: 1px dashed var(--primary); color: var(--primary); font: 400 11px/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.case .case__stats--2 { grid-template-rows: repeat(2, 1fr); }
@media (max-width: 640px) {
  .case .case__stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .case__mark { width: 56px; height: 56px; }
}

/* Proof bar with three facts: three across, then two with the third spanning (no empty cell), then one. */
.proof .proof__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .proof .proof__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof .proof__grid--3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .proof .proof__grid--3 { grid-template-columns: 1fr; } }

/* a partner-grid heading that is a full sentence (Managed services coverage line): a step smaller */
.certs__title--long { max-width: 1000px; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; }
/* partner grid with an odd count at two across: the last cell spans the row, so no empty cell */
@media (max-width: 1024px) { .certs .certs__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* case study: a line of facts under the client name, and several case rows in one section */
.case__meta { margin-top: 12px; color: var(--primary); font-size: 16px; line-height: 1.45; }
.case__client .case__year + .case__name { margin-top: 8px; }
.case .case__grid + .case__grid { margin-top: clamp(20px, 2vw, 32px); }
.case__logo { width: auto; max-width: 140px; object-fit: contain; object-position: left center; }

/* journey band with seven or more items (AI What we deliver): tighter rows and a step smaller type so the open
   item and the stack still fit one screen */
.journey--long .journey__head { margin-bottom: clamp(20px, 2.4vw, 40px); }
.journey--long .journey__item { padding-block: clamp(12px, 1.2vw, 18px); }
.journey--long .journey__name { font-size: clamp(20px, 1.8vw, 26px); }
/* phones: a client panel with a fact line (AI deployments) stacks logo over text so wide logos don't squeeze it */
@media (max-width: 640px) {
  .case__client:has(.case__meta) { flex-direction: column; align-items: flex-start; gap: 16px; }
  .case__client:has(.case__meta) .case__logo { height: 48px; }
}

/* AI 5. Platforms (lead's pick B, Revolut tier cards, 18 Nov): heading and intro split, then two groups of cards in
   the site's hairline grid with corner squares. Ladder cards carry a five-step scale. */
.tiers { padding: clamp(64px, 7vw, 104px) var(--gutter) clamp(24px, 3vw, 40px); }
.tiers__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; margin-bottom: clamp(32px, 3.5vw, 56px); }
.tiers__title { color: var(--primary); }
.tiers__intro { margin-top: .4em; color: var(--primary); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; }
.tiers__group { margin: 0 0 14px; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.tiers__grid + .tiers__group { margin-top: clamp(32px, 3vw, 48px); }
.tiers .tiers__grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); }
.tiers__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.tiers__cell { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 28px); background: var(--bg); }
.tiers__top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 400 11px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.tiers__num { color: var(--accent-text); }
.tiers__tag { text-align: right; }
.tiers__name { margin-top: 12px; color: var(--primary); font-size: clamp(22px, 1.8vw, 26px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.tiers__line { color: var(--muted); font-size: 15px; line-height: 1.5; }
.tiers__scale { display: flex; gap: 4px; margin-top: auto; padding-top: 12px; }
.tiers__scale i { flex: 1; height: 6px; background: var(--line); }
.tiers__scale i.is-on { background: var(--accent-light); }

@media (max-width: 1100px) { .tiers .tiers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tiers__head { grid-template-columns: 1fr; }
  .tiers .tiers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers .tiers__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tiers { padding-inline: 16px; }
  .tiers .tiers__grid { grid-template-columns: 1fr; }
}

/* AI 7. Recognition (lead's pick A, Noho's awards list, 18 Nov): group label left, rows of award and year with
   hairlines, inside the site's ruled box with corner squares. */
.awards { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.awards__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
.awards__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); }
.awards__box::before { content: ""; position: absolute; inset: -4px; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.awards__group { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 6px; }
.awards .awards__list { margin: 0; padding: 0; list-style: none; }
.awards__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.awards__row:first-child { padding-top: 0; }
.awards__row:last-child { border-bottom: 0; padding-bottom: 0; }
.awards__name { color: var(--primary); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; }
.awards__year { flex: none; color: var(--accent-text); font: 400 14px/1.3 var(--font-mono); letter-spacing: .02em; }
@media (max-width: 900px) { .awards__box { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 640px) { .awards { padding-inline: 16px; } .awards__box { padding: 20px; } }
/* partner grid with exactly six logos (Security principals): one row of six on desktop, then the two-across rule */
@media (min-width: 1025px) { .certs .certs__grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* card grid with titles only (Greenfield "Who we work with"): three across, a lower card */
.tiers--short { padding-bottom: clamp(64px, 7vw, 104px); }
.tiers--short .tiers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiers--short .tiers__cell { min-height: 160px; justify-content: space-between; }
@media (max-width: 900px) { .tiers--short .tiers__grid { grid-template-columns: 1fr; } .tiers--short .tiers__cell { min-height: 0; } }

/* journey band with a paragraph under its heading (Cloud approach) */
.journey__intro { max-width: 760px; margin-top: 16px; color: var(--on-dark); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; }
/* partner grid with three logos (Cloud hyperscalers): three across until phones */
@media (min-width: 641px) { .certs .certs__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .certs .certs__grid--3 > :last-child:nth-child(odd) { grid-column: auto; } }

/* a light section straight after the navy band gets the full top space (shared order, lead 18 Nov) */
.journey + :is(.awards, .case, .faq, .what) { padding-top: clamp(64px, 7vw, 104px); }

/* About: hero without a button; What we do with its mono label filled (the Zagato reference's left slot) */
.hero--page .btn[href=""] { display: none; }
.what__label { grid-column: 1; grid-row: 1; padding-top: .9em; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.what--labelled .what__text { grid-row: 1; }
.what--quiet { padding-block: clamp(40px, 5vw, 80px); }
.what--quiet .what__statement { color: var(--accent-text); }
.proof--about { padding-top: 0; }
.proof--about .proof__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.awards__list + .awards__group { margin-top: 24px; }
.awards__group:nth-of-type(n+2) { grid-column: 1; }
.awards__link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.awards__link:hover { color: var(--accent-text); }
@media (max-width: 1100px) {
  .proof--about .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .what__label { padding-top: 0; margin-bottom: 16px; }
  .what--labelled .what__text { grid-row: auto; }
}
@media (max-width: 640px) {
  .proof--about .proof__grid { grid-template-columns: 1fr; }
}
/* About 7. Leadership (lead's pick C, Hydrosat grouped rows, 18 Nov): groups of portrait rows in the site's hairline
   grid with corner squares, three across. Portraits from the Figma About page, full colour (lead, 18 Nov). */
.team { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.team__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
.team__group { margin: 0 0 14px; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.team__grid + .team__group { margin-top: clamp(32px, 3vw, 48px); }
.team .team__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.team__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.team__person { display: flex; align-items: flex-start; gap: clamp(16px, 1.6vw, 24px); padding: clamp(18px, 1.8vw, 24px); background: var(--bg); }
.team__photo { flex: none; width: clamp(88px, 7vw, 112px); aspect-ratio: 1; object-fit: cover; background: var(--mist); }
.team__name { color: var(--primary); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; letter-spacing: -.01em; }
.team__role { margin-top: 8px; color: var(--muted); font: 400 12px/1.45 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.team__line { margin-top: 10px; color: var(--primary); font-size: 15px; line-height: 1.45; }
/* groups that don't fill the last row: the empty cells take the background, not the rule colour */
.team .team__grid::after { content: ""; background: var(--bg); grid-column: span 1; }
@media (max-width: 1024px) { .team .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .team { padding-inline: 16px; }
  .team .team__grid { grid-template-columns: 1fr; }
  .team .team__grid::after { display: none; }
}
/* no filler when a group fills its last row exactly */
@media (min-width: 1025px) { .team .team__grid:has(> :nth-child(3n):last-child)::after { display: none; } }
@media (min-width: 641px) and (max-width: 1024px) { .team .team__grid:has(> :nth-child(2n):last-child)::after { display: none; } }
@media (min-width: 1025px) { .team .team__grid:has(> :nth-child(3n+1):last-child)::after { grid-column: span 2; } }

/* About 5. Why Fore (lead's pick C, MP System cards, 18 Nov; restyled the same day): a row of cards in the site's
   hairline grid with corner squares, no fills or marks, title at the top and text at the bottom. The cards share the
   tallest one's height, which has 32px between its title and text. The row slides right to left as you scroll while
   the section pins (main.js sets the height and the shift). */
.rail { padding: clamp(64px, 7vw, 104px) 0; }
.rail__pin { display: flex; flex-direction: column; gap: clamp(32px, 3.5vw, 56px); }
.rail__heading { padding-inline: var(--gutter); color: var(--primary); }
.rail__viewport { overflow: hidden; padding: 6px var(--gutter); }
.rail .rail__track { position: relative; display: flex; width: max-content; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); will-change: transform; }
.rail__track::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.rail__card { display: flex; flex-direction: column; justify-content: space-between; flex: none; width: clamp(320px, 30vw, 440px); padding: clamp(24px, 2.4vw, 36px); background: var(--bg); color: var(--primary); }
.rail__title { margin-bottom: 32px; color: inherit; font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; }
.rail__text { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* pinned and sliding (desktop, motion allowed) */
.rail.is-live { padding: 0; }
.rail.is-live .rail__pin { position: sticky; top: 0; height: 100svh; justify-content: center; padding-top: var(--header-h); }

/* not pinned: the cards stack in the same grid */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .rail .rail__track { display: grid; width: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none !important; }
  .rail__card { width: auto; }
}
@media (max-width: 640px) {
  .rail .rail__track { grid-template-columns: 1fr; }
  .rail__viewport { padding-inline: 16px; }
  .rail__heading { padding-inline: 16px; }
}
@media (min-width: 641px) and (max-width: 900px) { .rail .rail__track > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Case study client panel on dark blue with white text and logos (lead, 18 Nov). */
.case__client { background: var(--band-navy); color: var(--paper); }
.case__client .case__name { color: var(--paper); }
.case__client .case__year { color: var(--on-navy-muted); }
.case__client .case__meta { color: var(--on-dark); }
.case__client .case__logo { filter: brightness(0) invert(1); }
.case__client .case__mark { border-color: rgba(255, 255, 255, .6); color: var(--paper); }

/* FAQ as one box (lead, 18 Nov): the H2 sits in the left cell, all questions in one list on the right */
.faq__head .faq__title { margin: 0; }
@media (max-width: 900px) { .faq__head { display: block; } }

/* Service intro with a photo (lead's reference, 18 Nov: a dental clinic's "A propos" split): text on the left half,
   the statement at the top and the smaller note at the bottom; the photo fills the right half edge to edge and the
   full height of the section. Applies only where the intro has a picture (About's labelled intros stay as they are). */
.what:has(> .what__media) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 46vw, 760px); margin-top: clamp(40px, 4.4vw, 64px); padding: 0; }
.what:has(> .what__media) .what__text { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; max-width: none; padding: clamp(40px, 4.4vw, 72px) clamp(32px, 4vw, 72px) clamp(40px, 4vw, 64px) var(--gutter); }
.what:has(> .what__media) .what__statement { font-size: clamp(28px, 2.9vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.what:has(> .what__media) .what__note { max-width: 520px; margin-top: 0; color: var(--primary); font-size: clamp(17px, 1.3vw, 20px); }
.what:has(> .what__media) .what__media { grid-column: 2; grid-row: 1; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; }
@media (max-width: 900px) {
  .what:has(> .what__media) { grid-template-columns: 1fr; min-height: 0; }
  .what:has(> .what__media) .what__text { padding: 8px var(--gutter) 40px; gap: 24px; }
  .what:has(> .what__media) .what__media { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) { .what:has(> .what__media) .what__text { padding-inline: 16px; } }
/* logos with a solid white fill inside (IIT Ropar's seal): flip to light lines instead of a white disc */
.case__client .case__logo--seal { filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; }

/* AI 5. Choosing the right platform (lead's pricing-section reference, 18 Nov): one hairline grid with corner
   squares; row one is an image banner with the heading and intro, row two is a column per DGX system with a tinted
   top card over its specs. */
.lineup .lineup__grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-bottom: clamp(32px, 3vw, 48px); background: var(--line); border: 1px solid var(--line); }
.lineup__grid::before { content: ""; position: absolute; inset: -4px; z-index: 2; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.lineup__banner { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; min-height: clamp(220px, 20vw, 300px); padding: clamp(28px, 3vw, 48px); background: linear-gradient(100deg, rgba(0, 31, 46, .78), rgba(0, 61, 92, .35) 70%), url("/assets/img/hero-flutes.jpg") center / cover; color: var(--paper); }
.lineup__title { color: var(--paper); }
.lineup__intro { max-width: 30em; color: var(--on-dark); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; }
.lineup__plan { display: flex; flex-direction: column; gap: 4px; padding: 8px; background: var(--bg); }
.lineup__top { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: clamp(18px, 1.6vw, 24px); background: var(--mist); }
.lineup__tag { color: var(--muted); font: 400 11px/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.lineup__name { color: var(--primary); font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.lineup__desc { color: var(--muted); font-size: 15px; line-height: 1.5; }
.lineup__specs { display: grid; gap: 16px; margin: 0; padding: clamp(16px, 1.4vw, 22px) clamp(14px, 1.4vw, 20px); }
.lineup__specs dt { color: var(--muted); font: 400 11px/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.lineup__specs dd { margin: 6px 0 0; color: var(--primary); font-size: 15px; line-height: 1.45; }
.lineup__scale { display: flex; gap: 4px; padding-top: 4px; }
.lineup__scale i { flex: 1; height: 6px; background: var(--line); }
.lineup__scale i.is-on { background: var(--accent-light); }
@media (max-width: 1100px) {
  .lineup .lineup__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup .lineup__grid > .lineup__plan:last-child { grid-column: 1 / -1; }
  .lineup__top { min-height: 0; }
}
@media (max-width: 900px) { .lineup__banner { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lineup .lineup__grid { grid-template-columns: 1fr; } }
/* desktop: the five tops share one height and the specs line up across columns */
@media (min-width: 1101px) {
  .lineup .lineup__plan { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 4px; }
  .lineup__top { min-height: 0; }
}

/* Platforms revision (lead, 18 Nov): no banner image, even padding in the first row, and the adjacent families as
   the last row of the same grid under a label row. */
.lineup { padding: clamp(64px, 7vw, 104px) var(--gutter); }
.lineup .lineup__grid { margin-bottom: 0; }
.lineup__banner { min-height: 0; padding: clamp(24px, 2.4vw, 32px); background: var(--bg); color: var(--primary); align-items: end; }
.lineup__title { color: var(--primary); }
.lineup__intro { color: var(--primary); }
.lineup__group { grid-column: 1 / -1; margin: 0; padding: 14px clamp(24px, 2.4vw, 32px); background: var(--bg); color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.lineup__adj { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 1.6vw, 24px) clamp(22px, 2vw, 32px) clamp(22px, 2vw, 28px); background: var(--bg); }
.lineup__adjname { color: var(--primary); font-size: clamp(18px, 1.4vw, 21px); font-weight: 500; line-height: 1.2; }
@media (max-width: 1100px) {
  .lineup .lineup__grid > .lineup__plan:last-child { grid-column: auto; }
  .lineup .lineup__grid > .lineup__plan:nth-of-type(5), .lineup .lineup__grid > .lineup__adj:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .lineup { padding-inline: 16px; } }

/* Case studies stack on scroll (lead, 18 Nov): each case row sticks under the header and the next one slides up over
   it, instead of showing all at once. Desktop only, where a row fits the screen; tablets and phones scroll normally. */
@media (min-width: 901px) {
  .case .case__grid { position: sticky; top: calc(var(--header-h) + 24px); }
  .case .case__grid + .case__grid { margin-top: clamp(48px, 8vh, 96px); }
  .case:has(.case__grid + .case__grid) { padding-bottom: clamp(96px, 14vh, 160px); }
}

/* Clients, case rows: a link to the service page under the facts, on the navy panel */
.case__link { display: inline-flex; margin-top: 16px; color: var(--paper); font-size: 15px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.case__link:hover { text-decoration-color: currentColor; }

/* Clients, 3. Clients by sector. Lead, 18 Nov: sector name and count on the left in an inset cell, its logos on the
   right in the homepage "Trusted by" cells (.trusted__grid / .trusted__cell from 21-home-trusted.css, logos sized
   by shape). Four across; partials pad each grid with empty cells to a full row. Phone: label over the logos, two
   across. */
.sectors { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.sectors__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
/* one grid for the whole section (lead, 18 Nov): the table draws the outer border, the corner squares and, through
   1px gaps over the rule colour, the lines between sectors; each row splits into a label cell and the logo cells */
.sectors__table { position: relative; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sectors__table::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.sectors__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1px; }
.sectors__label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: clamp(24px, 2.6vw, 36px); background: var(--bg); }
.sectors__name { margin: 0; color: var(--primary); }
.sectors__count { color: var(--muted); font: 400 13px/1.4 var(--font-mono); letter-spacing: .04em; }
/* the logo grid inside a row: the table already draws its border and corners */
.sectors .sectors__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border: 0; }
.sectors .sectors__grid::before { display: none; }
.sectors__cell--name { color: var(--muted); font: 400 13px/1.3 var(--font-mono); letter-spacing: .04em; text-align: center; text-transform: uppercase; }
@media (max-width: 900px) { .sectors__row { grid-template-columns: 1fr; } .sectors__label { padding: 20px 24px; } }
@media (max-width: 640px) {
  .sectors { padding-inline: 16px; }
  .sectors .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Careers, 2. Open roles. Lead's pick A (18 Nov): job index rows in the hairline style. Mono header row, then one row
   per role (title, team, location, experience, arrow); the row is the link. Phone: title over a mono meta line. */
.roles { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.roles__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
.roles__table { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roles__table::before, .roles__table::after { content: ""; position: absolute; left: 0; width: 6px; height: 6px; background: var(--muted); }
.roles__table::before { top: -3.5px; }
.roles__table::after { bottom: -3.5px; }
.roles__head, .roles__row { padding-inline: 16px; display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) 20px; align-items: center; gap: 24px; }
.roles__head { padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.roles__row { padding-block: clamp(20px, 2vw, 28px); color: var(--primary); text-decoration: none; transition: background .2s; }
.roles__row:hover { background: var(--band-tint); } /* powder blue across the whole row (lead, 18 Nov) */
.roles__row + .roles__row { border-top: 1px solid var(--line); }
.roles__name { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
.roles__meta { color: var(--muted); font-size: 15px; }
.roles__arrow { width: 16px; height: 16px; color: var(--accent); transition: translate .2s ease; }
.roles__arrow svg { display: block; width: 100%; height: 100%; }
.roles__row:hover .roles__name { color: var(--accent); }
.roles__row:hover .roles__arrow { translate: 4px 0; }
@media (max-width: 900px) {
  .roles__head { display: none; }
  .roles__row { grid-template-columns: repeat(3, auto) 1fr 20px; gap: 6px 16px; }
  .roles__name { grid-column: 1 / 5; }
  .roles__meta { grid-row: 2; font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
  .roles__arrow { grid-column: 5; grid-row: 1 / 3; }
}
@media (max-width: 640px) {
  .roles { padding-inline: 16px; }
  .roles__row { position: relative; display: flex; flex-wrap: wrap; gap: 6px 12px; padding-right: 48px; }
  .roles__name { flex: 0 0 100%; }
  .roles__arrow { position: absolute; top: 50%; right: 16px; margin-top: -8px; }
}

/* Careers, 3. Our values: the About rail cards as a static 3 x 2 grid (no data-rail, so no pinning or sliding). */
.rail--grid .rail__track { display: grid; width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rail--grid .rail__card { width: auto; min-height: clamp(220px, 18vw, 280px); }
@media (max-width: 900px) { .rail--grid .rail__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rail--grid .rail__track { grid-template-columns: 1fr; } .rail--grid .rail__card { min-height: 0; } }
/* values (lead, 18 Nov): an icon chip on top, the title moved down to sit with its line; the section on the navy band
   (darker than the first powder tint), white type, light hairlines and corner squares */
.rail--navy { background: var(--band-navy); color: var(--paper); }
.rail--navy .rail__heading { color: var(--paper); }
.rail--navy .rail__track { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .16); }
.rail--navy .rail__track::before { --muted: var(--on-navy-muted); }
.rail--navy .rail__card { background: var(--band-navy); color: var(--paper); }
.rail--navy .rail__text { color: var(--on-navy-muted); }
.rail--navy .rail__icon { background: rgba(255, 255, 255, .08); color: var(--on-dark); }
.rail__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--band-tint); color: var(--accent-text); }
.rail__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rail__copy .rail__title { margin-bottom: 12px; }
.rail--grid .rail__card:has(.rail__icon) { gap: 28px; min-height: 0; } /* tighter on desktop (lead, 19 Nov): no forced height, a fixed gap from icon to title */

/* Careers, 4. What we look for (lead's pick A, 18 Nov): a mono label left, one large sentence right; with JS the
   qualities start pale and turn navy one by one as the section scrolls through (.is-live, .is-on from main.js). */
.look { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px clamp(32px, 5vw, 96px); padding: clamp(80px, 9vw, 140px) var(--gutter); }
.look__label { margin: 0; padding-top: .8em; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.look__sentence { max-width: 22ch; color: var(--primary); font-size: clamp(32px, 3.8vw, 60px); line-height: 1.12; letter-spacing: -.025em; }
.look__q { color: var(--accent-light); transition: color .5s ease; } /* lit phrases in the brand light blue (lead, 18 Nov) */
.look.is-live .look__q { color: color-mix(in srgb, var(--primary) 22%, var(--bg)); }
.look.is-live .look__q.is-on { color: var(--accent-light); }
@media (max-width: 900px) { .look { grid-template-columns: 1fr; } .look__label { padding-top: 0; } .look__sentence { max-width: none; } }
@media (max-width: 640px) { .look { padding-inline: 16px; } }

/* Contact, 2. Form and offices. Lead's pick A (18 Nov): one hairline grid with corner squares; the form fills the left
   cell, two columns of fields; the right column stacks the offices and the AMC note. Tablet and phone: the form
   above, the side cells below; one column of fields on phones. */
.contact { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(64px, 7vw, 104px); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact__grid::before { content: ""; position: absolute; inset: -4px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.contact__form { padding: clamp(24px, 3vw, 48px); background: var(--bg); }
.contact .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact .field--wide, .contact .quote-form__foot, .contact .quote-form__status { grid-column: 1 / -1; }
.contact .field__input { background: var(--paper); }
.quote-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.quote-form__note { max-width: 340px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.quote-form__note a { color: var(--primary); text-underline-offset: 3px; }
.contact__side { display: grid; grid-auto-rows: 1fr; gap: 1px; }
.contact__cell { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.6vw, 36px); background: var(--bg); }
.contact__label { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.contact__city { margin: 0; color: var(--primary); font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.02em; }
.contact__address { color: var(--primary); font-size: 16px; font-style: normal; line-height: 1.5; }
.contact__link { align-self: flex-start; margin-top: auto; padding-top: 12px; color: var(--accent-text); font-size: 15px; text-underline-offset: 4px; }
.contact__cell--support { background: var(--band-tint); }
.contact__support { color: var(--primary); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .contact__cell--support { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .contact { padding-inline: 16px; }
  .contact .quote-form { grid-template-columns: 1fr; }
  .contact__side { grid-template-columns: 1fr; }
}

/* Legal pages (privacy policy, terms of use): a contents list on the left (sticky on desktop, mono, numbered) and
   one readable column of text on the right, each section opened by a hairline and a numbered heading. */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 96px); padding: clamp(40px, 4vw, 64px) var(--gutter) clamp(64px, 7vw, 104px); }
.legal__toc { align-self: start; }
.legal__toc-label { margin-bottom: 16px; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.legal__toc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: toc; }
.legal__toc-list li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.legal__toc-list a { display: grid; grid-template-columns: 32px 1fr; padding: 10px 0; color: var(--primary); font-size: 15px; text-decoration: none; }
.legal__toc-list a::before { content: counter(toc, decimal-leading-zero); color: var(--muted); font: 400 12px/1.9 var(--font-mono); }
.legal__toc-list a:hover { color: var(--accent-text); }
.legal__body { max-width: 720px; }
.legal__intro { margin-bottom: clamp(32px, 3vw, 48px); color: var(--primary); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }
.legal__section { padding: clamp(24px, 2.4vw, 32px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__h { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; margin: 0 0 16px; color: var(--primary); font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; letter-spacing: -.02em; }
.legal__n { color: var(--muted); font: 400 13px/1 var(--font-mono); letter-spacing: .04em; }
.legal__section p, .legal__list { margin: 0 0 14px 40px; color: var(--primary); font-size: 16px; line-height: 1.65; }
.legal__section p:last-child, .legal__section .legal__list:last-child { margin-bottom: 0; }
.legal__list { padding-left: 20px; }
.legal__list li + li { margin-top: 6px; }
.legal__section a { color: var(--accent-text); text-underline-offset: 3px; }
@media (min-width: 901px) { .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .legal { padding-inline: 16px; }
  .legal__h { grid-template-columns: 32px 1fr; }
  .legal__section p, .legal__list { margin-left: 0; }
}

/* Resources hub, 2. Resource cards. Lead's pick A (18 Nov), second pass: category tabs, a hairline card grid with
   corner squares (cards outline themselves with a 1px shadow so a part-filled row stays clean when filtered), an image
   inset 8px from the hairlines with the text at full padding below, and a page indicator in the testimonial controls'
   style. Four across on wide screens, two on tablets, one on phones. */
.res { padding: clamp(40px, 4vw, 64px) var(--gutter) clamp(64px, 7vw, 104px); }
.res__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 2.6vw, 36px); }
.res__tabs[hidden] { display: none; }
.res__tab { min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--primary); font: 400 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.res__tab:hover { border-color: var(--primary); }
.res__tab.is-active { border-color: var(--primary); background: var(--primary); color: var(--paper); }
.res__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; list-style: none; }
.res__grid::before { content: ""; position: absolute; inset: -3px; z-index: 1; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.res__card { display: flex; flex-direction: column; padding: 8px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.res__card[hidden] { display: none; }
.res__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.res__media img { width: 100%; height: 100%; object-fit: cover; }
.res__media--ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, color-mix(in srgb, var(--mist) 70%, var(--line)) 14px 15px); }
.res__media--ph span { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.res__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: clamp(16px, 1.6vw, 28px); }
.res__type { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.res__title { margin: 0; color: var(--primary); font-size: clamp(20px, 1.6vw, 26px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.res__link { color: inherit; text-decoration: none; }
.res__link::after { content: ""; position: absolute; inset: 0; }
.res__card:has(.res__link) { position: relative; cursor: pointer; }
.res__card:has(.res__link):hover .res__title { color: var(--accent-text); }
.res__supports { position: relative; z-index: 1; }
.res__summary { color: var(--muted); font-size: 15px; line-height: 1.55; }
.res__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.res__supports { color: var(--accent-text); text-underline-offset: 3px; }
.res__when { color: var(--muted); font: 400 12px/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.res__pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(32px, 3.5vw, 48px); }
.res__pager[hidden] { display: none; }
.res__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--primary); color: var(--paper); cursor: pointer; transition: background .2s, opacity .2s; }
.res__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.res__btn:hover:not(:disabled) { background: var(--accent); }
.res__btn:disabled { opacity: .3; cursor: default; }
.res__count { min-width: 64px; color: var(--muted); font: 400 14px/1 var(--font-mono); letter-spacing: .04em; text-align: center; }
@media (max-width: 1100px) { .res__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .res { padding-inline: 16px; } .res__grid { grid-template-columns: 1fr; } }

/* Guide pages (lead's pick A, 18 Nov): the legal layout plus a cover image under the hero, a callout, a hairline
   table and a related service card at the end of the reading column. */
.guide__cover { display: grid; place-items: center; margin: clamp(24px, 3vw, 40px) var(--gutter) 0; aspect-ratio: 21 / 8; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, color-mix(in srgb, var(--mist) 70%, var(--line)) 14px 15px); }
.guide__cover span { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.guide__back { color: var(--accent-text); text-underline-offset: 3px; }
.guide__meta { margin-top: 16px; color: var(--muted); font: 400 12px/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.guide__callout { margin: 20px 0 14px 40px; padding: clamp(20px, 2vw, 28px); background: var(--band-tint); border-left: 2px solid var(--accent); }
.guide__callout p { margin: 0 !important; color: var(--primary); font-size: 17px; line-height: 1.55; }
.guide__callout .guide__callout-label { margin-bottom: 8px !important; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.guide__table-wrap { margin: 20px 0 14px 40px; overflow-x: auto; }
.guide__table { width: 100%; border-collapse: collapse; color: var(--primary); font-size: 15px; }
.guide__table caption { padding-bottom: 12px; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.guide__table th, .guide__table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide__table thead th { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; border-bottom-color: var(--primary); }
.guide__table tbody th { font-weight: 500; }
.guide__related { position: relative; display: grid; gap: 6px; margin-top: clamp(32px, 3vw, 48px); padding: clamp(24px, 2.4vw, 32px); padding-right: 64px; border: 1px solid var(--line); color: var(--primary); text-decoration: none; transition: border-color .2s; }
.guide__related:hover { border-color: var(--primary); }
.guide__related-label { color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.guide__related-name { font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -.02em; }
.guide__related-line { color: var(--muted); font-size: 15px; }
.guide__related-arrow { position: absolute; top: 50%; right: clamp(24px, 2.4vw, 32px); width: 16px; height: 16px; margin-top: -8px; color: var(--accent); transition: translate .2s; }
.guide__related-arrow svg { display: block; width: 100%; height: 100%; }
.guide__related:hover .guide__related-arrow { translate: 4px 0; }
@media (max-width: 640px) {
  .guide__cover { margin-inline: 16px; aspect-ratio: 4 / 3; }
  .guide__callout, .guide__table-wrap { margin-left: 0; }
}

/* About, Who we are on the homepage lead block (lead, 18 Nov): mono label above, supporting line under the statement */
.hero-lead__label { margin: 0 0 clamp(20px, 2vw, 28px); color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.hero-lead__note { max-width: 640px; margin: clamp(20px, 2vw, 28px) auto 0; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; text-wrap: pretty; }
/* About, Our vision on the Careers sentence block: a longer sentence, so a wider measure and slightly smaller type */
.look__sentence--long { max-width: 30ch; font-size: clamp(28px, 3.2vw, 50px); }

/* About, 5. Why Fore (lead's pick C, 18 Nov): stacking figure cards. Each card is a hairline panel with corner squares:
   a huge light figure and its unit on the left, index, title and text on the right. Desktop: the cards stick under
   the header, each a few pixels lower than the last so the edges of earlier cards show, and the next slides up over
   it. Tablets and phones: the figure above the text, normal scrolling. */
.stack { padding: clamp(64px, 7vw, 104px) var(--gutter); }
.stack__title { margin: 0 0 clamp(28px, 3vw, 44px); color: var(--primary); }
.stack__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 96px); align-items: center; min-height: clamp(420px, 62vh, 600px); padding: clamp(32px, 4vw, 64px); background: var(--bg); border: 1px solid var(--line); box-shadow: 0 -12px 32px -24px rgba(0, 31, 46, .35); }
.stack__card::before { content: ""; position: absolute; inset: -4px; pointer-events: none; background:
  linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat,
  linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.stack__card:nth-of-type(even) { background: var(--band-tint); }
.stack__fig { display: flex; flex-direction: column; gap: 12px; }
.stack__num { color: var(--primary); font-size: clamp(96px, 13vw, 220px); font-weight: 300; line-height: .9; letter-spacing: -.06em; }
.stack__unit { max-width: 26ch; color: var(--muted); font: 400 13px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.stack__index { margin-bottom: 20px; color: var(--muted); font: 400 12px/1 var(--font-mono); letter-spacing: .04em; }
.stack__name { margin: 0 0 16px; color: var(--primary); font-size: clamp(26px, 2.4vw, 38px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.stack__text { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.stack__card + .stack__card { margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 901px) {
  .stack__card { position: sticky; top: calc(var(--header-h) + 24px); }
  .stack__card:nth-of-type(2) { top: calc(var(--header-h) + 36px); }
  .stack__card:nth-of-type(3) { top: calc(var(--header-h) + 48px); }
  .stack__card:nth-of-type(4) { top: calc(var(--header-h) + 60px); }
  .stack__card:nth-of-type(5) { top: calc(var(--header-h) + 72px); }
  .stack__card + .stack__card { margin-top: 30vh; }
}
@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; gap: 24px; min-height: 0; align-items: start; }
}
@media (max-width: 640px) { .stack { padding-inline: 16px; } .stack__card { padding: 24px; } }

/* About, Recognition on the navy band (lead, 18 Nov): the Careers values navy, white type, pale hairlines and corner
   squares, years in the brand light blue. The AI page's awards stay light. */
.awards--navy { padding-block: clamp(64px, 7vw, 104px); background: var(--band-navy); }
.awards--navy .awards__title, .awards--navy .awards__name { color: var(--paper); }
.awards--navy .awards__box { border-color: rgba(255, 255, 255, .16); }
.awards--navy .awards__box::before { --muted: var(--on-navy-muted); }
.awards--navy .awards__group { color: var(--on-navy-muted); }
.awards--navy .awards__row { border-bottom-color: rgba(255, 255, 255, .16); }
.awards--navy .awards__year { color: var(--accent-light); }
.awards--navy .awards__link { text-decoration-color: rgba(255, 255, 255, .35); }
.awards--navy .awards__link:hover { color: var(--accent-light); }

/* One vertical rhythm across the site (lead, 18 Nov: "spacing between sections consistent across the entire site").
   Every content section in the sheet pads top and bottom by --section-y, so any two sections meet with the same gap
   (2 x --section-y) and tinted or navy bands get equal padding inside. The intro block with its flush image takes the
   same as margin. Left as they are: the hero, the pinned bands (.journey), the image strip and the footer CTA.
   Placed last and marked !important because the blocks set their own padding earlier in the stylesheets. */
:root { --section-y: clamp(56px, 6vw, 88px); }
.sheet > :is(.trusted, .intro, .services, .projects, .ai, .voices, .proof, .case, .certs, .faq, .lineup, .awards, .tiers, .stack, .team, .sectors, .roles, .rail, .look, .contact, .legal, .res, .logos) { padding-block: var(--section-y) !important; }
.sheet > .hero-lead { padding-bottom: var(--section-y) !important; }
.sheet > .what { margin-block: var(--section-y) !important; }
.sheet > .what:first-child { margin-top: 0 !important; }

/* Back-to-back sections on the same page colour (lead, 18 Nov): each gives up half its padding where they meet, so the
   space from one section's last line to the next section's title equals the space between text and a coloured band's
   edge (one --section-y). Coloured bands (tint, navy, pinned) keep their full padding. */
:root { --section-half: calc(var(--section-y) / 2); }
.sheet > :is(.hero-lead, .trusted, .services, .ai, .proof, .what, .case, .certs, .faq, .lineup, .awards, .tiers, .stack, .team, .sectors, .roles, .look, .contact, .legal, .res, .logos):not(.band, .band--tint, .band--navy, .awards--navy, .rail--navy):has(+ :is(.trusted, .services, .ai, .proof, .what, .case, .certs, .faq, .lineup, .awards, .tiers, .stack, .team, .sectors, .roles, .look, .contact, .legal, .res, .logos):not(.band, .band--tint, .band--navy, .awards--navy, .rail--navy)) { padding-bottom: var(--section-half) !important; }
.sheet > :is(.hero-lead, .trusted, .services, .ai, .proof, .what, .case, .certs, .faq, .lineup, .awards, .tiers, .stack, .team, .sectors, .roles, .look, .contact, .legal, .res):not(.band, .band--tint, .band--navy, .awards--navy, .rail--navy) + :is(.trusted, .services, .ai, .proof, .case, .certs, .faq, .lineup, .awards, .tiers, .stack, .team, .sectors, .roles, .look, .contact, .legal, .res, .logos):not(.band, .band--tint, .band--navy, .awards--navy, .rail--navy) { padding-top: var(--section-half) !important; }
/* the service pages' intro with its image (the one exception, lead 18 Nov): half a gap above, none below, so it
   touches the How we deliver band as it did before */
.sheet > * + .what { margin-top: var(--section-half) !important; }
.sheet > .what { margin-bottom: 0 !important; }


/* Service pages, partners and clients strips (lead, 19 Nov, from the staging site's service pages, in the site's
   style): one hairline box with corner squares; a navy band of white partner logos on top (when the page has one),
   then the client logos on the page colour. Mono labels; logos wrap and centre. */
.logos { padding-inline: var(--gutter); }
.logos .logos__box, .logos { --logos-line: var(--line); }
.logos__band, .logos__clients { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 48px); }
.logos__band { position: relative; background: var(--band-navy); }
.logos__clients { position: relative; border: 1px solid var(--line); }
.logos__band + .logos__clients { border-top: 0; }
.logos__band::before, .logos__clients::after { content: ""; position: absolute; inset: -4px; pointer-events: none; }
.logos__band::before { background: linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat, linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat; }
.logos__clients::after { background: linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat, linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.logos__clients:first-child::after { background: linear-gradient(var(--muted), var(--muted)) top left / 6px 6px no-repeat, linear-gradient(var(--muted), var(--muted)) top right / 6px 6px no-repeat, linear-gradient(var(--muted), var(--muted)) bottom left / 6px 6px no-repeat, linear-gradient(var(--muted), var(--muted)) bottom right / 6px 6px no-repeat; }
.logos__label { margin: 0; color: var(--on-navy-muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.logos__label--dark { color: var(--muted); }
.logos .logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(32px, 4vw, 64px); margin: 0; padding: 0; list-style: none; }
.logos__row--partners li { display: flex; align-items: center; height: 48px; }
.logos__row--partners img { width: auto; height: calc(var(--h) * .85); filter: brightness(0) invert(1); opacity: .92; }
.logos__row--clients li { display: flex; align-items: center; height: 56px; }
.logos__row--clients img { width: auto; height: 44px; max-width: 170px; object-fit: contain; } /* full colour (lead, 19 Nov) */
@media (max-width: 640px) {
  .logos { padding-inline: 16px; }
  .logos .logos__row { gap: 16px 28px; }
  .logos__row--partners img { height: calc(var(--h) * .65); }
  .logos__row--clients img { height: 34px; }
}

/* four short cards (Greenfield, Who we work with, lead 24 Nov) sit four across, two by two on tablets */
.tiers--short .tiers__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiers--short .tiers__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers--short .tiers__grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* Scrolling logo strips across the site (lead, 24 Nov: "get rid of the grid around the logos and let them scroll
   horizontally like the first strip on the homepage", except the Clients page). Same pattern as Trusted by: two copies
   of the list loop seamlessly, edges fade, hover pauses; still and swipeable under reduced motion. Short lists repeat
   in the markup so the strip never shows a gap; --dur scales with the list. Partner levels sit under each logo. */
.tick { 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); }
.tick__track { display: flex; width: max-content; }
.tick .tick__list { display: flex; flex: none; align-items: center; gap: clamp(48px, 5vw, 80px); margin: 0; padding: 8px clamp(24px, 2.5vw, 40px); list-style: none; }
.tick__list li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 64px; }
.tick__list img { display: block; width: auto; height: var(--h, 44px); max-width: 180px; object-fit: contain; filter: none; opacity: 1; }
.tick__list .certs__level { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .tick__track { animation: tick-scroll var(--dur, 60s) linear infinite; }
  .tick:hover .tick__track { animation-play-state: paused; }
}
@keyframes tick-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tick { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tick__list[aria-hidden="true"], .tick__list li[aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) { .tick__list img { height: calc(var(--h, 44px) * .8); } .tick .tick__list { gap: 40px; } }
/* partner strips: the title stays centred over the strip */
.certs--tick .certs__title { margin-bottom: clamp(20px, 2.4vw, 32px); }
/* partners and clients: two labelled strips, no box */
.logos--tick { display: flex; flex-direction: column; gap: 16px; }
.logos--tick .logos__label { margin: 0; color: var(--muted); font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.logos--tick .tick + .logos__label { margin-top: clamp(16px, 2vw, 28px); }

/* How we deliver as an accordion (lead, 24 Nov: "instead of appearing on scroll, change them to accordions and let the
   vector on the right animate accordingly"). No pinning: the band is its normal height, every step's title shows,
   the open step shows its line and the stack builds to it (main.js). Titles are buttons styled as before. */
.journey.is-live { height: auto; }
.journey.is-live .journey__pin { position: static; height: auto; justify-content: flex-start; padding-block: clamp(72px, 8vw, 120px); }
.journey.is-live .journey__art { align-self: center; }
.journey.is-live .journey__item, .journey.is-live .journey__item:not(.is-active):not(.is-past) { max-height: none; overflow: visible; padding-block: clamp(18px, 1.8vw, 24px); opacity: 1; border-top-color: var(--line); }
.journey.is-live .journey__item:first-child { border-top-color: transparent; }
.journey--long.is-live .journey__item, .journey--long.is-live .journey__item:not(.is-active):not(.is-past) { padding-block: clamp(12px, 1.2vw, 18px); }
.journey__toggle { display: flex; align-items: baseline; gap: 14px; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.journey__toggle:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 6px; }
.journey__item:not(.is-active) .journey__toggle:hover { color: var(--paper); }
@media (max-width: 640px) { .journey.is-live .journey__pin { padding-block: 56px; } }

/* Active vs inactive steps (lead, 24 Nov): the open step gets a lighter panel, a light-blue bar on its left edge, a
   light-blue number and full-white title; folded steps dim to 60% and brighten on hover. A plus/minus at the right
   shows each row opens. */
.journey.is-live .journey__item { position: relative; transition: background-color .35s var(--ease-out); }
.journey.is-live .journey__item::before { content: ""; position: absolute; top: -1px; bottom: -1px; left: -1px; width: 3px; background: var(--accent-light); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.journey.is-live .journey__item.is-active { background: rgba(255, 255, 255, .07); }
.journey.is-live .journey__item.is-active::before { transform: scaleY(1); }
.journey.is-live .journey__item.is-active .journey__num { color: var(--accent-light); }
.journey.is-live .journey__item:not(.is-active) .journey__toggle { color: rgba(255, 255, 255, .6); }
.journey.is-live .journey__item:not(.is-active) .journey__toggle:hover { color: rgba(255, 255, 255, .9); }
.journey.is-live .journey__item.is-active .journey__toggle { color: var(--paper); }
.journey__toggle::after { content: ""; flex: none; width: 14px; height: 14px; margin-left: auto; align-self: center; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; opacity: .7; transition: background-size .3s var(--ease-out); }
.journey__item.is-active .journey__toggle::after { background-size: 14px 1.5px, 1.5px 0; }
/* numbers centred on their titles (lead, 24 Nov), not sitting on the baseline */
.journey__toggle, .journey__name { align-items: center; }
.journey__num { line-height: 1; }
