/* ============================================================
   CONCEPT C — V3 · VISUAL-FIRST
   Same brand, same Concept C DNA — hairlines, monospace index
   labels, precise alignment, restraint — but the presentation is
   rebuilt around imagery, composition and demonstration rather
   than around tables and lists.

   Inherits every colour, type, radius, shadow and motion value
   from shared/brand.css unchanged. Nothing here is a new brand
   decision.
   ============================================================ */

:root {
  --ln: 1px solid var(--ss-ink-200);
  --ln-soft: 1px solid var(--ss-ink-100);
  --ln-dark: 1px solid rgba(255,255,255,.16);
  --gut: 48px;
  --nav-height: 76px;
}

/* ============================================================
   TYPE — fewer sizes, more contrast between them
   ============================================================ */
/* V5: display headings are set in two voices on one line — the statement in
   ink at the lighter weight, the consequence in petroleum blue a step
   heavier. The colour carries the distinction; the weight reinforces it.
   The maquettes set the first voice in Montserrat Light (300); the
   self-hosted family covers 400-800, so 400 is the lightest available and
   the pair is 400/500. See docs/design/v5-integration-notes.md. */
.t-display {
  font-size: clamp(40px, 7.1vw, 104px); line-height: .92;
  letter-spacing: -0.04em; font-weight: 400;
}
.t-h2 {
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04;
  letter-spacing: -0.025em; font-weight: 400;
}
.t-h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.t-h4 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }
.t-lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--ss-ink-500); }
.t-body { font-size: 16px; line-height: 1.67; color: var(--ss-ink-700); }
.t-sm { font-size: 13px; line-height: 1.55; color: var(--ss-ink-500); }
.q { color: var(--ss-blue); font-weight: 500; }

/* The figure voice: a statistic or a count, set like a display line. */
.t-fig { font-size: clamp(27px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; color: var(--ss-ink-900); }

/* V5: the eyebrow is letterspaced mono caps. The maquettes used IBM Plex
   Mono; --font-mono is the brand's locked monospace token, so the build
   uses that rather than adding a typeface the palette does not carry. */
.ix {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ss-ink-500); display: inline-block;
  font-weight: 500; line-height: 1;
}
.ix--brand { color: var(--ss-blue); }
.ix--plain { text-transform: none; letter-spacing: .1em; }
.on-dark .ix { color: rgba(255,255,255,.45); }
.on-dark .ix--brand { color: var(--ss-turquoise-400); }
.on-dark .t-lead, .on-dark .t-body, .on-dark .t-sm { color: rgba(255,255,255,.74); }

.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 1080px; }

.sec { padding: clamp(72px, 8vw, 128px) 0; }
.sec--tight { padding: clamp(52px, 5vw, 76px) 0; }
.sec--surface { background: var(--bg-surface); }
/* V5 replaces the navy punctuation with a tinted band on the same white
   page. .sec--navy and .sec--blue stay defined so preserved concepts and
   any page not yet moved across keep rendering; V5 bodies use .sec--band. */
.sec--band { background: var(--ss-ink-50); }
.sec--navy { background: var(--ss-navy); color: rgba(255,255,255,.76); }
.sec--blue { background: var(--ss-blue-700); color: rgba(255,255,255,.78); }
.sec--rule { border-top: var(--ln); }

/* Section opener: one mono label, one headline, at most one line of support */
.open { max-width: 860px; margin-bottom: clamp(36px, 4vw, 60px); }
.open .ix { margin-bottom: 18px; }
.open h2 { margin-bottom: 18px; }
.open p { max-width: 62ch; }

/* ============================================================
   NAVIGATION — redesigned
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: var(--ln-soft);
  transition: box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--ss-ink-200); box-shadow: var(--shadow-1); }
.nav__in { height: var(--nav-height); display: flex; align-items: center; gap: 36px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 28px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--ss-navy);
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: none; border: 0; cursor: pointer; min-height: 42px;
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 1.5px; background: var(--ss-turquoise);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-standard);
}
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ss-turquoise-600); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__chev { transition: transform var(--dur-base) var(--ease-standard); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

/* The contact CTA is visually distinct — the only filled element in the bar */
.nav__cta {
  margin-left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ss-navy); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 0 20px; height: 44px; border-radius: var(--radius-sm);
  transition: background var(--dur-base) var(--ease-standard);
}
.nav__cta:hover { background: var(--ss-turquoise); }
.nav__cta svg { transition: transform var(--dur-base) var(--ease-standard); }
.nav__cta:hover svg { transform: translate(2px, -2px); }

.nav__burger { display: none; }

/* ---- Services mega-menu ---- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: var(--ln);
  box-shadow: 0 18px 40px rgba(0,35,53,.09);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-standard),
              transform var(--dur-base) var(--ease-standard),
              visibility var(--dur-base);
}
.nav[data-mega="true"] .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr) 0.9fr; gap: 1px; background: var(--ss-ink-100); }
.mega__card {
  background: #fff; padding: 30px 30px 32px; display: block;
  transition: background var(--dur-base) var(--ease-standard);
}
.mega__card:hover { background: var(--bg-surface); }
.mega__card .ix { margin-bottom: 16px; }
.mega__card h3 { font-size: 17px; margin-bottom: 9px; letter-spacing: -0.015em; }
.mega__card p { font-size: 13.5px; line-height: 1.55; color: var(--fg-3); margin-bottom: 18px; }
.mega__go { font-size: 13px; font-weight: 600; color: var(--ss-blue); display: inline-flex; gap: 7px; align-items: center; }
.mega__card:hover .mega__go .arr { transform: translateX(3px); }
.mega__rule { height: 2px; background: var(--ss-ink-100); margin-bottom: 18px; position: relative; }
.mega__rule::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 26px;
  background: var(--ss-turquoise);
  transition: width var(--dur-slow) var(--ease-standard);
}
.mega__card:hover .mega__rule::after { width: 100%; }
.mega__aside { background: var(--ss-navy); padding: 30px; color: rgba(255,255,255,.7); }
.mega__aside .ix { color: var(--ss-turquoise-400); margin-bottom: 14px; }
.mega__aside h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.mega__aside p { font-size: 13px; line-height: 1.6; margin-bottom: 18px; }
.mega__aside a { font-size: 13px; font-weight: 600; color: var(--ss-turquoise-400); display: inline-flex; gap: 7px; }

/* ---- Mobile navigation — designed, not stacked ---- */
.mnav {
  position: fixed; inset: 0; z-index: 200; background: #fff;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-standard), visibility var(--dur-base);
}
.mnav[data-open="true"] { opacity: 1; visibility: visible; }
.mnav__top {
  height: var(--nav-height); display: flex; align-items: center;
  justify-content: space-between; border-bottom: var(--ln-soft); flex: none;
}
.mnav__x {
  width: 44px; height: 44px; border: var(--ln); background: #fff;
  border-radius: var(--radius-sm); display: grid; place-items: center;
}
.mnav__body { flex: 1; overflow-y: auto; padding: 8px 0 40px; }
.mnav__primary { border-bottom: var(--ln-soft); padding: 14px 0 18px; }
.mnav__item {
  display: flex; align-items: baseline; gap: 16px; padding: 13px 0;
  font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -0.028em;
  color: var(--ss-navy);
  opacity: 0; transform: translateY(8px);
}
.mnav[data-open="true"] .mnav__item { animation: mnavIn 420ms var(--ease-standard) forwards; }
.mnav__item:nth-child(1) { animation-delay: 40ms; }
.mnav__item:nth-child(2) { animation-delay: 80ms; }
.mnav__item:nth-child(3) { animation-delay: 120ms; }
.mnav__item:nth-child(4) { animation-delay: 160ms; }
.mnav__item:nth-child(5) { animation-delay: 200ms; }
.mnav__item .ix { font-size: 10px; color: var(--ss-ink-300); flex: none; }
@keyframes mnavIn { to { opacity: 1; transform: none; } }

.mnav__sub { padding: 20px 0 8px; }
.mnav__sub > .ix { display: block; margin-bottom: 8px; }
.mnav__slink {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-top: var(--ln-soft);
  font-size: 16px; font-weight: 600; color: var(--fg-2);
}
.mnav__slink span.d { display: block; font-size: 12.5px; font-weight: 400; color: var(--fg-3); margin-top: 3px; }
.mnav__foot { padding: 24px 0 0; border-top: var(--ln); }
.mnav__foot .btn { width: 100%; }
.mnav__meta { display: flex; justify-content: space-between; margin-top: 20px; }

/* ============================================================
   DEVICE FRAMES — how real work is presented
   ============================================================ */
.browser {
  border-radius: 8px; overflow: hidden; background: #fff;
  border: var(--ln); box-shadow: 0 24px 60px rgba(0,35,53,.14), 0 4px 12px rgba(0,35,53,.06);
}
.browser__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--ss-ink-50); border-bottom: var(--ln-soft);
}
.browser__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ss-ink-200); flex: none; }
.browser__url {
  margin-left: 10px; flex: 1;
  font-family: var(--font-mono); font-size: 11px; color: var(--ss-ink-500);
  background: #fff; border: var(--ln-soft); border-radius: 20px;
  padding: 4px 12px; text-align: center; max-width: 320px;
}
.browser img { width: 100%; height: auto; display: block; }

.phone {
  border-radius: 26px; padding: 7px; background: var(--ss-navy);
  box-shadow: 0 24px 50px rgba(0,35,53,.22), 0 4px 10px rgba(0,35,53,.1);
}
.phone__screen { border-radius: 20px; overflow: hidden; background: #fff; position: relative; }
.phone__notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 5px; border-radius: 3px; background: rgba(0,0,0,.28); z-index: 2;
}
.phone img { width: 100%; height: auto; display: block; }

/* ============================================================
   HERO — visual-first
   ============================================================ */
.hero { padding: clamp(48px, 6vw, 86px) 0 0; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
/* V5 gives the headline the full container measure — see .hero__h below. */
.hero h1 { margin-bottom: 22px; }
.hero__lead { max-width: 44ch; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* The composition: real product work, layered */
.comp { position: relative; padding: 18px 0 56px 0; }
.comp__browser { position: relative; z-index: 1; }
.comp__phone { position: absolute; left: 0; bottom: 0; width: 31%; z-index: 2; }
.comp__chip {
  position: absolute; right: -14px; bottom: 6px; z-index: 3;
  background: #fff; border: var(--ln); border-radius: var(--radius-md);
  box-shadow: var(--shadow-3); padding: 13px 16px; max-width: 232px;
}
.comp__chip .ix { display: block; margin-bottom: 7px; font-size: 9.5px; }
.comp__chip b { display: block; font-size: 13px; color: var(--ss-navy); margin-bottom: 3px; }
.comp__chip span.m { font-size: 11.5px; color: var(--fg-3); line-height: 1.45; display: block; }
.comp__tick {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ss-turquoise-600);
  background: var(--ss-turquoise-100); padding: 3px 7px; border-radius: 3px; margin-top: 8px;
}

/* Service strip under the hero */
.strip { border-top: var(--ln); margin-top: clamp(40px, 5vw, 72px); }
.strip__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__i { padding: 26px 32px 28px 0; border-right: var(--ln-soft); }
.strip__i:last-child { border-right: 0; }
.strip__i .ix { display: block; margin-bottom: 10px; }
.strip__i b { display: block; font-size: 16px; color: var(--ss-navy); letter-spacing: -0.015em; margin-bottom: 6px; }
.strip__i span { font-size: 13.5px; line-height: 1.5; color: var(--fg-3); }

/* ============================================================
   PILLARS — alternating immersive layouts, not three cards
   ============================================================ */
.pil { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pil + .pil { margin-top: clamp(64px, 7vw, 116px); }
.pil--flip .pil__media { order: -1; }
.pil__txt .ix { margin-bottom: 18px; }
.pil__txt h3 { margin-bottom: 16px; max-width: 16ch; }
.pil__txt p { max-width: 50ch; margin-bottom: 26px; }
.pil__link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ss-navy);
  padding-bottom: 6px; border-bottom: 2px solid var(--ss-turquoise);
}
.pil__link:hover { color: var(--ss-turquoise-600); }
.pil__media { position: relative; }

/* Placeholder treatment — honest, never stock */
.ph {
  border: 2px dashed var(--ss-ink-200); border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(135deg, var(--ss-ink-50) 0 12px, #fff 12px 24px);
  display: grid; place-items: center; text-align: center;
  padding: 40px 32px; min-height: 300px;
}
.ph__in { max-width: 44ch; }
.ph .ix { display: block; margin-bottom: 14px; color: var(--ss-ink-400); }
.ph b { display: block; font-size: 17px; color: var(--ss-ink-700); margin-bottom: 10px; letter-spacing: -0.015em; }
.ph p { font-size: 13.5px; line-height: 1.6; color: var(--ss-ink-500); }
.ph__tag {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ss-ink-500); border: 1px dashed var(--ss-ink-300);
  padding: 4px 8px; border-radius: 3px;
}

/* Format-matrix figure — the adaptation idea, drawn */
.fmx { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; justify-content: center; }
.fmx i {
  display: block; background: var(--ss-blue-100);
  border: 1px solid var(--ss-blue); border-radius: 2px;
  position: relative;
}
.fmx i::after {
  content: attr(data-s); position: absolute; left: 3px; bottom: 2px;
  font-family: var(--font-mono); font-size: 7.5px; color: var(--ss-blue); letter-spacing: .02em;
}
.fmx i:nth-child(3n) { background: var(--ss-turquoise-100); border-color: var(--ss-turquoise); }
.fmx i:nth-child(3n)::after { color: var(--ss-turquoise-600); }

/* ============================================================
   OPERATIONS DEMONSTRATION — the control argument, shown
   ============================================================ */
.ops { border: var(--ln-dark); border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,.03); }
.ops__rail {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-bottom: var(--ln-dark);
}
.ops__st {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 22px 20px 20px; text-align: left; color: rgba(255,255,255,.6);
  border-right: var(--ln-dark);
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base);
}
.ops__st:last-child { border-right: 0; }
.ops__st:hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.85); }
.ops__st[aria-selected="true"] { background: rgba(255,255,255,.08); color: #fff; }
.ops__st::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: rgba(255,255,255,.14);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-standard), background var(--dur-base);
}
.ops__st[data-done="true"]::before { transform: scaleX(1); background: var(--ss-turquoise); }
.ops__st[data-gate="true"][data-done="true"]::before { background: var(--ss-turquoise-400); }
.ops__st .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; opacity: .7; }
.ops__st .l { display: block; margin-top: 9px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.012em; line-height: 1.22; }
.ops__st .g {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.72);
}
.ops__st[data-gate="true"] .g { background: var(--ss-turquoise); color: var(--ss-navy); }

.ops__panel { display: none; padding: clamp(26px, 3vw, 40px); }
.ops__panel[data-active="true"] { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3.5vw, 56px); }
.ops__panel h3 { color: #fff; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.ops__panel > div > p { font-size: 15px; line-height: 1.62; color: rgba(255,255,255,.76); max-width: 46ch; }
.ops__checks { margin-top: 24px; }
.ops__checks .ix { display: block; margin-bottom: 12px; }
.ops__checks li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 10px 0; border-top: var(--ln-dark);
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.8);
}
.ops__checks li svg { flex: none; margin-top: 2px; }
.ops__note {
  margin-top: 22px; padding: 14px 16px;
  border-left: 2px solid var(--ss-turquoise);
  background: rgba(0,169,157,.08);
  font-size: 13px; line-height: 1.56; color: rgba(255,255,255,.82);
}

/* The right-hand visual: an abstracted record, not a fake dashboard */
.rec { border: var(--ln-dark); border-radius: var(--radius-sm); background: rgba(0,0,0,.18); }
.rec__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: var(--ln-dark);
}
.rec__hd .ix { color: rgba(255,255,255,.5); }
.rec__row {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 16px; border-bottom: var(--ln-dark);
  font-size: 12.5px; color: rgba(255,255,255,.78);
}
.rec__row:last-child { border-bottom: 0; }
.rec__row .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.44); }
.rec__row .v { color: #fff; }
.rec__pill {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; white-space: nowrap;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.75);
}
.rec__pill--ok { background: rgba(0,169,157,.18); color: var(--ss-turquoise-400); }
.rec__pill--hold { background: rgba(255,255,255,.14); color: #fff; }
.rec__bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.rec__bar i { display: block; height: 100%; background: var(--ss-turquoise); }

/* ============================================================
   WORK — large showcases
   ============================================================ */
.show { position: relative; }
.show + .show { margin-top: clamp(72px, 8vw, 132px); }
.show__hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 30px; flex-wrap: wrap; }
.show__hd h3 { max-width: 22ch; }
.show__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--fg-3); border: var(--ln); padding: 5px 9px; border-radius: 3px;
}
.on-dark .tag, .sec--navy .tag { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.22); }

.show__stage { position: relative; display: grid; grid-template-columns: 1fr 272px; gap: clamp(20px, 3vw, 44px); align-items: end; }
.show__stage--solo { grid-template-columns: 1fr; }
.show__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 56px); margin-top: 34px; padding-top: 30px; border-top: var(--ln); }
.sec--navy .show__body { border-top-color: rgba(255,255,255,.16); }
.show__body p { max-width: 52ch; }
.show__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 0; align-self: start; }
.show__facts--4 { grid-template-columns: repeat(4, 1fr); }
.show__facts > div { padding: 12px 16px 14px 0; border-bottom: var(--ln-soft); }
.sec--navy .show__facts > div { border-bottom-color: rgba(255,255,255,.14); }
.show__facts .ix { display: block; margin-bottom: 5px; font-size: 10px; }
.show__facts b { font-size: 15px; color: var(--ss-navy); letter-spacing: -0.01em; }
.sec--navy .show__facts b { color: #fff; }

/* Two-brand split — one platform, two identities, not merged */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ss-ink-200); border: var(--ln); border-radius: var(--radius-md); overflow: hidden; }
.sec--navy .twin, .sec--surface .twin { background: var(--ss-ink-200); }
.twin__c { background: #fff; padding: 0 0 26px; }
.twin__hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: var(--ln-soft); }
/* Both brands are shown in an identical frame so the pair reads as one
   platform, while the art direction inside stays entirely their own. */
.twin__shot { background: var(--ss-ink-50); aspect-ratio: 10 / 7; overflow: hidden; }
.twin__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.twin__b { padding: 22px 22px 0; }
.twin__b h4 { margin-bottom: 9px; }
.twin__b p { font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.twin__shared {
  margin-top: 22px; padding: 18px 22px;
  background: var(--ss-navy); color: rgba(255,255,255,.78);
  border-radius: var(--radius-md);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.twin__shared .ix { color: var(--ss-turquoise-400); flex: none; }
.twin__shared p { font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ============================================================
   WHY — four differentiators, visually led
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ss-ink-200); border-top: var(--ln); border-left: var(--ln); }
.why__c { background: #fff; padding: clamp(26px, 3vw, 40px); }
.why__c .ix { display: block; margin-bottom: 20px; }
.why__c h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; max-width: 20ch; }
.why__c p { font-size: 14.5px; line-height: 1.62; color: var(--fg-3); max-width: 46ch; }
.why__fig { margin-top: 24px; }

/* Compact accountability split — who does what, drawn */
.split { border-top: var(--ln-soft); }
.split__r {
  display: grid; grid-template-columns: 104px 1fr auto; gap: 14px; align-items: center;
  padding: 11px 0; border-bottom: var(--ln-soft);
}
.split__r:last-child { border-bottom: 0; }
.split__r .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ss-ink-400); }
.split__r .v { font-size: 13.5px; color: var(--fg-2); }
.split__r .b {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 3px; white-space: nowrap;
  background: var(--ss-ink-100); color: var(--ss-ink-700);
}
.split__r .b--auto { background: var(--ss-turquoise-100); color: var(--ss-turquoise-600); }

/* Delivery overlap — small, informative, brand-native */
.ov { margin-top: 6px; }
.ov__r { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 6px 0; }
.ov__l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ss-ink-400); }
.ov__t { position: relative; height: 18px; background: var(--ss-ink-50); border: var(--ln-soft); border-radius: 2px; }
.ov__s { position: absolute; top: 0; bottom: 0; background: var(--ss-blue-100); border-left: 1px solid var(--ss-blue); border-right: 1px solid var(--ss-blue); }
.ov__s--hit { background: var(--ss-turquoise); border-color: var(--ss-turquoise); }

/* ============================================================
   CLOSE — confident final section
   ============================================================ */
.close { padding: clamp(80px, 9vw, 140px) 0; }
.close__in { max-width: 780px; }
.close h2 { margin-bottom: 20px; }
.close p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.58; margin-bottom: 36px; max-width: 48ch; }
.close__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.close__alt { font-size: 14px; color: rgba(255,255,255,.62); }
.close__alt a { color: var(--ss-turquoise-400); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.ft { background: var(--ss-navy-800); color: rgba(255,255,255,.6); padding: 64px 0 30px; }
.ft__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; padding-bottom: 44px; border-bottom: var(--ln-dark); }
.ft__logo { height: 28px; margin-bottom: 16px; }
.ft__about { font-size: 13.5px; line-height: 1.7; max-width: 38ch; }
.ft h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 15px; font-weight: 400; }
.ft a { font-size: 14px; color: rgba(255,255,255,.72); display: block; padding: 6px 0; }
.ft a:hover { color: var(--ss-turquoise-400); }
.ft__btm { margin-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.44); }

/* ============================================================
   PREVIEW CHROME — deliberately separate from the site's own
   navigation, and hideable so mockups can be seen clean.
   ============================================================ */
.pv {
  position: fixed; left: 18px; bottom: 18px; z-index: 300;
  font-family: var(--font-sans);
}
.pv__btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ss-navy); color: #fff; border: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 0 16px; height: 40px; border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0,35,53,.3); cursor: pointer;
}
.pv__btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--ss-turquoise); display: block; }
.pv__menu {
  display: none; position: absolute; left: 0; bottom: 50px;
  width: 268px; background: var(--ss-navy); border-radius: var(--radius-md);
  box-shadow: 0 16px 44px rgba(0,35,53,.36); padding: 8px; overflow: hidden;
}
.pv[data-open="true"] .pv__menu { display: block; }
.pv__menu strong {
  display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.44); padding: 10px 12px 8px; font-weight: 400;
}
.pv__menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13px; color: rgba(255,255,255,.82);
}
.pv__menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.pv__menu a[aria-current="true"] { background: var(--ss-turquoise); color: #fff; }
.pv__menu hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 8px 0; }
body[data-pv="off"] .pv { display: none; }

/* ============================================================
   REVEAL — subtle, purposeful, and fail-safe.
   The hidden state is applied only once JS has confirmed it is
   running, so a script failure or a no-JS client still sees
   every section. Nothing load-bearing depends on the animation.
   ============================================================ */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv[data-in="true"] {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease-standard), transform 620ms var(--ease-standard);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  :root { --gut: 36px; }
  .mega__in { grid-template-columns: repeat(3, 1fr); }
  .mega__aside { display: none; }
}
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  /* The mega-menu is desktop-only. Left in the layout it keeps a min-content
     width wider than the viewport, which inflates the document and stretches
     every fixed-position element — including the mobile menu itself. */
  .mega { display: none; }
  .nav__burger {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; width: 44px; height: 44px;
    border: var(--ln); border-radius: var(--radius-sm); background: #fff;
  }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 15ch; }
  .comp { padding: 10px 0 48px 0; }
  .pil, .pil--flip .pil__media { grid-template-columns: 1fr; order: 0; }
  .pil__media { order: -1 !important; }
  .show__stage { grid-template-columns: 1fr; }
  .show__body { grid-template-columns: 1fr; gap: 26px; }
  .ops__panel[data-active="true"] { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --gut: 22px; --nav-height: 64px; }
  .strip__in { grid-template-columns: 1fr; }
  .strip__i { border-right: 0; border-bottom: var(--ln-soft); padding: 20px 0 22px; }
  .strip__i:last-child { border-bottom: 0; }
  .twin { grid-template-columns: 1fr; }
  .show__facts, .show__facts--4 { grid-template-columns: 1fr 1fr; }
  .comp { padding: 0 0 42px 0; }
  .comp__phone { width: 36%; left: -6px; }
  .comp__chip { right: 0; bottom: -6px; max-width: 200px; padding: 11px 13px; }
  .hero__cta .btn { width: 100%; }
  .ft__grid { grid-template-columns: 1fr; }
  .pv { left: 12px; bottom: 12px; }

  /* The stage rail becomes a scrollable track, keeping the sequence legible */
  .ops__rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .ops__st { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .mnav__item { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .rv[data-in="true"] { opacity: 1; transform: none; transition: none; }
  .mnav__item { opacity: 1; transform: none; animation: none; }
  .mega { transition: opacity 1ms; }
}

/* ============================================================
   V3.1 — PROVISIONAL ATTRIBUTION FLAG
   Used where a project's relationship to Seastream is not yet
   confirmed. Deliberately conspicuous: this must be impossible
   to publish by accident.
   ============================================================ */
.flag {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px dashed var(--ss-danger); border-radius: var(--radius-md);
  padding: 16px 18px; margin: 0 0 32px;
  background: rgba(200,68,58,.04);
}
.flag__k {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ss-danger);
  border: 1px solid var(--ss-danger); border-radius: 3px;
  padding: 3px 7px; flex: none; margin-top: 1px;
}
.flag p { font-size: 13px; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 92ch; }
.sec--navy .flag { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.4); }
.sec--navy .flag p { color: rgba(255,255,255,.82); }
.sec--navy .flag__k { color: #fff; border-color: rgba(255,255,255,.55); }

/* Status chips using Plireo's own language — never "operational" */
.st {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap;
}
.st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none; }
.st--dev { background: var(--ss-blue-100); color: var(--ss-blue); }
.st--dev::before { background: var(--ss-blue); }
.st--plan { background: #fff; color: var(--ss-ink-500); border: 1px dashed var(--ss-ink-300); }
.st--plan::before { background: var(--ss-ink-300); }
.st--test { background: var(--ss-ink-100); color: var(--ss-ink-700); }
.st--test::before { background: var(--ss-ink-500); }
.sec--navy .st--dev { background: rgba(0,169,157,.16); color: var(--ss-turquoise-400); }
.sec--navy .st--dev::before { background: var(--ss-turquoise-400); }
.sec--navy .st--plan { background: transparent; color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.3); }
.sec--navy .st--test { background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); }
.sec--navy .st--test::before { background: rgba(255,255,255,.6); }

/* Capability rows for the Plireo showcase */
.caprow { border-top: var(--ln); }
.caprow__r {
  display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 24px; align-items: baseline;
  padding: 15px 0; border-bottom: var(--ln-soft);
}
.sec--navy .caprow { border-top-color: rgba(255,255,255,.18); }
.sec--navy .caprow__r { border-bottom-color: rgba(255,255,255,.12); }
.caprow__r b { font-size: 15px; color: var(--fg-1); letter-spacing: -0.01em; }
.sec--navy .caprow__r b { color: #fff; }
.caprow__r span.d { font-size: 13.5px; line-height: 1.55; color: var(--fg-3); }
.sec--navy .caprow__r span.d { color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .caprow__r { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .flag { flex-direction: column; gap: 10px; }
}

/* ============================================================
   V3.2 — ENTERPRISE POSITIONING
   Components for showing real production work at scale.
   No new brand values; all tokens inherited.
   ============================================================ */

/* Mosaic — multi-format adaptation, shown rather than described */
.mos { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ss-ink-200);
       border: var(--ln); border-radius: 8px; overflow: hidden;
       box-shadow: 0 24px 60px rgba(0,35,53,.14), 0 4px 12px rgba(0,35,53,.06); }
.mos__c { position: relative; overflow: hidden; background: var(--ss-ink-50); aspect-ratio: 4 / 3; }
.mos__c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mos__c span.l {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0,35,53,.78); color: #fff; padding: 4px 8px; border-radius: 3px;
  backdrop-filter: blur(4px);
}
.mos--tall .mos__c:first-child { grid-row: span 2; aspect-ratio: 4 / 6.06; }

/* Production gallery — varied cells, hairline grid */
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--ss-ink-200);
       border: var(--ln); }
.gal__i { position: relative; background: #fff; overflow: hidden; grid-column: span 2; aspect-ratio: 16 / 10; }
.gal__i--w { grid-column: span 3; }
.gal__i--f { grid-column: span 6; aspect-ratio: 24 / 7; }
.gal__i img { width: 100%; height: 100%; object-fit: cover; display: block;
              transition: transform var(--dur-slow) var(--ease-standard); }
.gal__i:hover img { transform: scale(1.02); }
.gal__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(0,35,53,.82), rgba(0,35,53,0));
}
.gal__cap b, .gal__cap span {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; font-weight: 400;
}
.gal__cap b { color: var(--ss-turquoise-400); }

/* Scale figures — structural counts only, never performance */
.scale { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--ln); border-left: var(--ln); }
.scale > div { border-right: var(--ln); border-bottom: var(--ln); padding: 22px 24px 24px; }
.scale .ix { display: block; margin-bottom: 10px; }
.scale b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em;
           color: var(--ss-navy); line-height: 1.05; }
.sec--navy .scale b { color: #fff; }
.scale span.s { display: block; font-size: 13px; line-height: 1.5; color: var(--fg-3); margin-top: 9px; }
.sec--navy .scale > div { border-color: rgba(255,255,255,.16); }
.sec--navy .scale span.s { color: rgba(255,255,255,.7); }

/* Discreet provenance note — not a banner */
.prov { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
.prov .ix { flex: none; padding-top: 1px; }
.prov p { font-size: 12.5px; line-height: 1.6; color: var(--fg-3); max-width: 88ch; margin: 0; }
.sec--navy .prov p { color: rgba(255,255,255,.62); }

/* Expertise page section anchors */
.xhd { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: start;
       padding-bottom: 26px; margin-bottom: clamp(30px,3.5vw,48px); border-bottom: var(--ln); }
.sec--navy .xhd { border-bottom-color: rgba(255,255,255,.18); }
.xhd h2 { margin-bottom: 14px; }
.xhd p { max-width: 58ch; }

@media (max-width: 1000px) {
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal__i, .gal__i--w { grid-column: span 1; }
  .gal__i--f { grid-column: span 2; aspect-ratio: 16 / 7; }
  .scale { grid-template-columns: repeat(2, 1fr); }
  .xhd { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 680px) {
  .gal { grid-template-columns: 1fr; }
  .gal__i, .gal__i--w, .gal__i--f { grid-column: span 1; aspect-ratio: 16 / 10; }
  .scale { grid-template-columns: 1fr; }
  .mos--tall .mos__c:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
}

/* ============================================================
   V3.3 — CORRECTION PASS
   (1) spacing tokens so text never meets a divider
   (2) dark-section contrast raised to WCAG 2.2 AA
   (3) a simpler, commercial operations presentation
   No brand values changed.
   ============================================================ */

:root {
  --cell: 30px;          /* standard internal padding for a grid cell */
  --cell-lg: 40px;       /* generous cell, used in wide columns       */
  --cell-sm: 22px;       /* compact cell, used in dense records       */
}

/* ---- (1) SPACING · dividers always have air on both sides ---- */
.strip__i {
  padding: 30px var(--cell) 32px;
  border-right: var(--ln-soft);
}
.strip__i:first-child { padding-left: 0; }
.strip__i:last-child { padding-right: 0; border-right: 0; }

.scale > div { padding: var(--cell-sm) var(--cell) 26px; }
.ops__st { padding: 22px var(--cell-sm) 20px; }
.gov__c { padding: var(--cell) var(--cell) 28px; }
.why__c { padding: var(--cell-lg); }
.rec__row { padding: 13px var(--cell-sm); gap: 16px; }
.rec__hd { padding: 13px var(--cell-sm); }
.twin__hd, .twin__b { padding-left: var(--cell-sm); padding-right: var(--cell-sm); }
.mega__card { padding: 30px var(--cell) 32px; }
.caps__c { padding: var(--cell) var(--cell) 28px; }

/* The label column of a section header needs separation from the text */
.xhd { grid-template-columns: 180px 1fr; gap: 48px; }
.open { padding-right: var(--cell); }

@media (max-width: 760px) {
  .strip__i { padding: 24px 0 26px; border-right: 0; border-bottom: var(--ln-soft); }
  .strip__i:last-child { border-bottom: 0; }
  :root { --cell: 22px; --cell-lg: 24px; --cell-sm: 18px; }
}

/* ---- (2) CONTRAST on dark · measured against #002335 ----
   Previous values failed AA for small text:
     .on-dark .ix   .45 → 4.29:1    now .62 → 6.91:1
     .rec__row .k   .44 → 4.16:1    now .62 → 6.91:1
     .ft h4         .40 → 3.79:1    now .58 → 6.29:1
   Separators were effectively invisible at .16 (1.63:1); raised so the
   modular grid actually reads on dark.                                  */
.on-dark .ix,
.sec--navy .ix,
.sec--deep .ix { color: rgba(255,255,255,.62); letter-spacing: .09em; }
.on-dark .ix--brand,
.sec--navy .ix--brand,
.sec--deep .ix--brand { color: var(--ss-turquoise-400); }

.rec__row .k { color: rgba(255,255,255,.62); }
.rec__hd .ix { color: rgba(255,255,255,.62); }
.ft h4 { color: rgba(255,255,255,.58); letter-spacing: .09em; }

:root { --ln-dark: 1px solid rgba(255,255,255,.22); }
.sec--navy .xhd { border-bottom-color: rgba(255,255,255,.24); }
.on-dark .shead { border-bottom-color: rgba(255,255,255,.24); }
.sec--navy .scale > div { border-color: rgba(255,255,255,.22); }
.sec--navy .show__body,
.sec--navy .show__facts > div { border-color: rgba(255,255,255,.22); }
.sec--navy .prov p { color: rgba(255,255,255,.72); }
.close__alt { color: rgba(255,255,255,.74); }

/* Status pills: raise the surface so the chip itself is visible */
.rec__pill { background: rgba(255,255,255,.14); color: rgba(255,255,255,.88); }
.rec__pill--ok { background: rgba(0,169,157,.26); color: #6FD8CE; }
.rec__pill--hold { background: rgba(255,255,255,.2); color: #fff; }

/* ---- (3) OPERATIONS · a commercial presentation ---- */
.flow5 {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid rgba(255,255,255,.22);
  margin-bottom: clamp(40px, 4vw, 64px);
}
.flow5__s { position: relative; padding: 24px var(--cell-sm) 0 0; }
.flow5__s::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px;
  background: var(--ss-turquoise);
  transform: scaleX(0); transform-origin: left;
  transition: transform 700ms var(--ease-standard);
}
.js .rv[data-in="true"] .flow5__s::before { transform: scaleX(1); }
.flow5__s:nth-child(2)::before { transition-delay: 120ms; }
.flow5__s:nth-child(3)::before { transition-delay: 240ms; }
.flow5__s:nth-child(4)::before { transition-delay: 360ms; }
.flow5__s:nth-child(5)::before { transition-delay: 480ms; }
.flow5__s--gate::before { background: var(--ss-turquoise-400); }
.flow5__n {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .09em;
  color: rgba(255,255,255,.62); display: block; margin-bottom: 10px;
}
.flow5__s h3 { color: #fff; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -0.015em; line-height: 1.22; margin-bottom: 9px; }
.flow5__s p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.78); max-width: 26ch; }
.flow5__s--gate h3 { color: var(--ss-turquoise-400); }

.eac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.22);
       border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-md); overflow: hidden; }
.eac__c { background: var(--ss-navy); padding: var(--cell-lg) var(--cell) 34px; }
.eac__c h3 { color: #fff; font-size: clamp(19px,1.7vw,23px); letter-spacing: -0.02em; margin: 14px 0 12px; }
.eac__c p { font-size: 14.5px; line-height: 1.62; color: rgba(255,255,255,.8); }
.eac__ico { width: 26px; height: 26px; }
.eac__ico path, .eac__ico circle, .eac__ico rect { stroke: var(--ss-turquoise-400); }

@media (max-width: 1000px) {
  .flow5 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .flow5__s { padding-top: 22px; border-top: 2px solid rgba(255,255,255,.22); }
  .flow5 { border-top: 0; }
  .eac { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .flow5 { grid-template-columns: 1fr; row-gap: 22px; }
  .flow5__s p { max-width: none; }
}

/* ============================================================
   CONTACT · form styling only.
   The integration itself is the live site's, unchanged.
   ============================================================ */
.ctc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form { display: grid; gap: 20px; margin-top: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--fg-1); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--fg-1);
  padding: 13px 14px; min-height: 48px; background: #fff;
  border: var(--ln); border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--ss-ink-300); }
.field input:focus, .field textarea:focus {
  border-color: var(--ss-turquoise); outline: none; box-shadow: var(--shadow-focus);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--ss-danger); background: #FEF7F6;
}
.field__err { display: none; margin-top: 7px; font-size: 13px; color: var(--ss-danger); }
.field input[aria-invalid="true"] ~ .field__err,
.field textarea[aria-invalid="true"] ~ .field__err { display: block; }
.form__note { font-size: 13px; line-height: 1.6; color: var(--fg-3); max-width: 60ch; }
.form__note a { color: var(--ss-blue); font-weight: 600; border-bottom: 1px solid var(--ss-ink-200); }
.form__note a:hover { border-bottom-color: var(--ss-turquoise); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* `display:flex` on these would beat the `hidden` attribute, so state them
   as not-displayed first. Without this both panels render on page load. */
[hidden] { display: none !important; }

.form__ok {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--ss-turquoise-100); border: 1px solid var(--ss-turquoise);
}
.form__ok b { display: block; color: var(--ss-turquoise-600); font-size: 15px; margin-bottom: 4px; }
.form__ok p { font-size: 14px; line-height: 1.55; color: var(--ss-blue-700); margin: 0; }
.form__err {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: #FEF2F1; border: 1px solid var(--ss-danger);
}
.form__err b { display: block; color: var(--ss-danger); font-size: 15px; margin-bottom: 4px; }
.form__err p { font-size: 14px; line-height: 1.55; color: var(--ss-ink-700); margin: 0; }
.form__err a, .form__ok a { color: inherit; font-weight: 600; text-decoration: underline; }

.aside__b { padding: 24px 0; border-bottom: var(--ln-soft); }
.aside__b:first-child { padding-top: 0; }
.aside__b:last-child { border-bottom: 0; }
.aside__b .ix { display: block; margin-bottom: 10px; }
.aside__b h3 { font-size: 17px; letter-spacing: -0.015em; margin-bottom: 8px; }
.aside__b p { font-size: 14.5px; line-height: 1.6; color: var(--fg-3); }
.aside__b a.m { color: var(--ss-blue); font-weight: 600; }

@media (max-width: 900px) {
  .ctc { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* Approval card — the control idea, without interface styling */
.appr { border: var(--ln); border-radius: var(--radius-md); overflow: hidden; background: #fff;
        box-shadow: var(--shadow-2); }
.appr__hd { padding: 20px var(--cell) 18px; border-bottom: var(--ln-soft); background: var(--bg-surface); }
.appr__hd .ix { display: block; margin-bottom: 8px; }
.appr__hd b { font-size: 19px; letter-spacing: -0.02em; color: var(--ss-navy); }
.appr__l { display: flex; gap: 13px; align-items: flex-start; padding: 16px var(--cell);
           border-bottom: var(--ln-soft); font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.appr__l:last-child { border-bottom: 0; }
.appr__l svg { flex: none; margin-top: 2px; }
.appr__l b { color: var(--fg-1); font-weight: 600; }

/* The light-text rule was scoped to `.on-dark` only, so `.t-lead`, `.t-body`
   and `.t-sm` kept their dark ink inside `.sec--navy` / `.sec--deep`
   sections — 2.93:1 against navy. Scope it to every dark surface. */
.sec--navy .t-lead, .sec--navy .t-body, .sec--navy .t-sm,
.sec--deep .t-lead, .sec--deep .t-body, .sec--deep .t-sm,
.close.sec--navy p, .close.sec--navy .t-lead {
  color: rgba(255,255,255,.80);
}
.sec--navy .pil__txt .t-sm, .sec--deep .pil__txt .t-sm { color: rgba(255,255,255,.72); }
.sec--navy .inline-link { color: var(--ss-turquoise-400); border-bottom-color: rgba(255,255,255,.3); }
.sec--navy .pil__link { color: #fff; border-bottom-color: var(--ss-turquoise-400); }
.sec--navy .pil__link:hover { color: var(--ss-turquoise-400); }
.sec--navy .tag { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.3); }

/* ============================================================
   CONTRAST ON LIGHT SURFACES
   Measured on the rendered pages, not assumed:
     brand turquoise #00A99D as text on white = 2.93:1  (fails AA)
     turquoise-600   #008C82 as text on white = 4.14:1
     ink-400         #7D7D7D as text on white = 3.60:1  (fails AA)
     ink-500         #5E6A73 as text on white = 5.33:1  (passes)
   Small *text* therefore uses the darker tokens that already exist in
   the locked palette. The turquoise rule, chips and borders keep the
   brand turquoise: they are graphics, judged at the 3:1 UI threshold.
   No new colour is introduced.
   ============================================================ */
.eyebrow { color: var(--ss-turquoise-600); }
.eyebrow::before { background: var(--ss-turquoise); }     /* the rule stays brand turquoise */
.on-dark .eyebrow, .sec--navy .eyebrow, .sec--deep .eyebrow { color: var(--ss-turquoise-400); }

.ix { color: var(--ss-ink-500); }
/* V5: brand eyebrows are petroleum blue, the wordmark's own colour (8.5:1
   on the tinted band, 9.3:1 on white) rather than turquoise-600 at 4.1:1. */
.ix--brand { color: var(--ss-blue); }
.sec--navy .ix--brand, .sec--deep .ix--brand, .on-dark .ix--brand { color: var(--ss-turquoise-400); }

.flow5__n { color: rgba(255,255,255,.72); }
.rec__hd .ix, .rec__row .k { color: rgba(255,255,255,.68); }
.gal__cap b { color: #6FD8CE; }

/* Footer baseline and preview-badge headings were also at .44 (4.16:1). */
.ft__btm { color: rgba(255,255,255,.66); }
.mnav__item .ix { color: var(--ss-ink-500); }

/* The V3.3 .xhd override came after the responsive rule in source order and
   re-imposed two columns on small screens. Restore the collapse. */
@media (max-width: 1000px) {
  .xhd { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   V3.4 — TARGETED CORRECTIONS
   ============================================================ */

/* Cropped screenshot frame — shows a considered detail, not a whole page */
.crop { border-radius: 8px; overflow: hidden; border: var(--ln); background: #fff;
        box-shadow: 0 18px 44px rgba(0,35,53,.12), 0 3px 10px rgba(0,35,53,.05); }
.crop__bar { display: flex; align-items: center; gap: 7px; padding: 10px 13px;
             background: var(--ss-ink-50); border-bottom: var(--ln-soft); }
.crop__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ss-ink-200); flex: none; }
.crop__url { margin-left: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ss-ink-500); }
.crop__v { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ss-ink-50); }
.crop__v img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.crop__cap { padding: 13px 16px; border-top: var(--ln-soft); font-size: 12.5px; line-height: 1.5;
             color: var(--fg-3); }

/* Engineering block: text carries its own weight, image is a supporting detail */
.eng { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.eng__pts { border-top: var(--ln); margin: 26px 0 28px; }
.eng__pts li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline;
               padding: 13px 0; border-bottom: var(--ln-soft); font-size: 14.5px; line-height: 1.5; }
.eng__pts li b { font-size: 13px; color: var(--fg-1); letter-spacing: -0.005em; }
.eng__pts li span { color: var(--fg-3); }

/* Adaptation chain — one craft, four surfaces */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
         background: var(--ss-ink-200); border: var(--ln); }
.chain__i { background: #fff; display: flex; flex-direction: column; }
.chain__v { aspect-ratio: 5 / 4; overflow: hidden; background: var(--ss-ink-50); }
.chain__v img { width: 100%; height: 100%; object-fit: cover; display: block;
                transition: transform var(--dur-slow) var(--ease-standard); }
.chain__i:hover img { transform: scale(1.03); }
.chain__m { padding: 16px var(--cell-sm) 20px; }
.chain__m .ix { display: block; margin-bottom: 7px; }
.chain__m b { display: block; font-size: 15px; letter-spacing: -0.01em; color: var(--ss-navy); margin-bottom: 5px; }
.chain__m span { font-size: 13px; line-height: 1.5; color: var(--fg-3); }

@media (max-width: 1000px) {
  .eng { grid-template-columns: 1fr; gap: 36px; }
  .eng__media { order: -1; }
  .chain { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .chain { grid-template-columns: 1fr; }
  .eng__pts li { grid-template-columns: 1fr; gap: 4px; }
}

/* Build card — pillar 03's visual. Keeps Plireo out of the services section
   (it already appears, properly framed, in Engineering) and gives the three
   pillars comparable column heights so none is centred against dead space. */
.build { border: var(--ln); border-radius: var(--radius-md); overflow: hidden; background: #fff;
         box-shadow: var(--shadow-2); }
.build__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
             padding: 18px var(--cell) 16px; border-bottom: var(--ln-soft); background: var(--bg-surface); }
.build__g { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ss-ink-100); }
.build__c { background: #fff; padding: 20px var(--cell-sm) 22px; }
.build__c b { display: block; font-size: 14.5px; letter-spacing: -0.01em; color: var(--ss-navy); margin-bottom: 6px; }
.build__c span { font-size: 13px; line-height: 1.5; color: var(--fg-3); }
.build__f { padding: 15px var(--cell); border-top: var(--ln-soft); font-size: 12.5px;
            line-height: 1.55; color: var(--fg-3); }

/* Service pillars: align to the top so a tall media column never strands the text */
.pil { align-items: start; }
.pil__txt { padding-top: 4px; }

@media (max-width: 600px) { .build__g { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL PAGES — plain, readable prose
   ============================================================ */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.02em; margin: clamp(32px,3.5vw,46px) 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { font-size: 15.5px; line-height: 1.7; color: var(--fg-3); margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; }
.legal li { font-size: 15.5px; line-height: 1.6; color: var(--fg-3); padding: 7px 0 7px 18px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: 16px; width: 5px; height: 5px; background: var(--ss-turquoise); }
.legal li b { color: var(--fg-1); font-weight: 600; }
.legal a { color: var(--ss-blue); font-weight: 600; border-bottom: 1px solid var(--ss-ink-200); }
.legal a:hover { border-bottom-color: var(--ss-turquoise); }
.legal__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
               color: var(--ss-ink-500); margin-bottom: 30px; display: block; }

/* Square social placement — shown whole, because the brand band and the
   legal line are part of the craft and cropping them loses the point. */
.sq { border: var(--ln); border-radius: var(--radius-md); overflow: hidden; background: #fff;
      box-shadow: var(--shadow-2); max-width: 520px; }
.sq__v { aspect-ratio: 1 / 1; background: var(--ss-ink-50); overflow: hidden; }
.sq__v img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sq__ph { aspect-ratio: 1 / 1; display: grid; place-items: center; text-align: center; padding: 34px;
          border-bottom: var(--ln-soft);
          background: repeating-linear-gradient(135deg, var(--ss-ink-50) 0 12px, #fff 12px 24px); }
.sq__ph b { display: block; font-size: 16px; color: var(--ss-ink-700); margin-bottom: 9px; letter-spacing: -0.015em; }
.sq__ph p { font-size: 13px; line-height: 1.6; color: var(--ss-ink-500); max-width: 40ch; }
.sq__ph code { font-family: var(--font-mono); font-size: 11.5px; color: var(--ss-blue);
               background: var(--ss-blue-100); padding: 2px 6px; border-radius: 3px; }
.sq__m { display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
         padding: 14px var(--cell-sm); border-top: var(--ln-soft); }
.sq__m b { font-size: 14px; color: var(--ss-navy); }

/* ============================================================
   PAIR · the plain two-column editorial row.
   Used where a block of argument sits beside one piece of
   evidence — a card, a record, a portrait. Collapses early,
   because two 48ch columns stop being readable before the
   layout stops fitting.
   ============================================================ */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3.5vw, 60px);
        align-items: start; margin-top: 38px; }

/* PORTRAIT · one person, shown at the ratio the photograph was
   taken at rather than cropped to a square. */
.port { border: var(--ln); border-radius: var(--radius-md); overflow: hidden;
        background: var(--ss-ink-50); box-shadow: var(--shadow-2); max-width: 460px; }
.port img { display: block; width: 100%; height: auto; }
.port__cap { display: flex; justify-content: space-between; align-items: center;
             gap: 14px; padding: 16px var(--cell-sm); border-top: var(--ln); background: #fff; }

@media (max-width: 860px) {
  .pair { grid-template-columns: 1fr; gap: 32px; }
  .port { max-width: none; }
}

/* ============================================================
   LIGHT-SURFACE VARIANTS.
   .flow5 and .rec were built for navy sections, so their text
   is white. V3.4 reuses both on white and surface sections —
   which rendered them invisible. These modifiers restate the
   colours for a light background; the dark defaults above are
   untouched, so every existing navy use is unaffected.
   ============================================================ */
.flow5--light { border-top-color: var(--ss-ink-200); }
.flow5--light .flow5__n { color: var(--ss-ink-500); }
.flow5--light .flow5__s h3 { color: var(--ss-navy); }
.flow5--light .flow5__s p { color: var(--ss-ink-700); }
.flow5--light .flow5__s--gate h3 { color: var(--ss-turquoise-600); }
.flow5--light .flow5__s--gate::before { background: var(--ss-turquoise-600); }

.rec--light { border: var(--ln); background: #fff; }
.rec--light .rec__hd { border-bottom: var(--ln); }
.rec--light .rec__hd .ix { color: var(--ss-ink-500); }
.rec--light .rec__row { border-bottom: var(--ln); color: var(--ss-ink-700); }
.rec--light .rec__row:last-child { border-bottom: 0; }
.rec--light .rec__row .k { color: var(--ss-ink-500); }
.rec--light .rec__row .v { color: var(--ss-navy); }

@media (max-width: 1000px) {
  .flow5--light .flow5__s { border-top-color: var(--ss-ink-200); }
}

/* Success panel: turquoise-600 on turquoise-100 measured 3.74:1. */
.form__ok b { color: var(--ss-blue-700); }
/* Preview-badge section labels — development chrome, but held to
   the same bar as everything else. */
.pv__menu strong { color: rgba(255,255,255,.66); }

/* ============================================================
   PRIMARY BUTTON · contrast correction.

   White on the brand turquoise #00A99D measures 2.93:1 — the
   main call to action on every page, against a 4.5:1 AA
   requirement. Confirmed with the client on 2 Nov 2026: keep
   the brand colour exactly, carry the label in navy instead.

     navy #002335 on turquoise #00A99D    5.54:1
     navy #002335 on turq-400  #33BCB1    6.94:1  (hover)

   The hover had to be inverted. It previously darkened to
   turquoise-600, which with a navy label would be 3.93:1 —
   still a fail. Brightening to turquoise-400 passes, and a
   button that lights up under the cursor reads better than one
   that dims. Every value here is an existing palette step; no
   new colour is introduced.

   Scoped to this version only, because shared/brand.css is
   shared with every preserved concept.
   ============================================================ */
.btn-primary { background: var(--ss-turquoise); color: var(--ss-navy); }
.btn-primary:hover { background: var(--ss-turquoise-400); color: var(--ss-navy); }
.btn-primary .arr { color: inherit; }

/* Preview-badge current item — development chrome, same correction. */
.pv__menu a[aria-current="true"] { background: var(--ss-turquoise); color: var(--ss-navy); }

/* Two near-misses found while re-measuring the buttons. Neither
   needs a palette decision — both use values already in use. */

/* .q is the second voice inside a display heading. It was turquoise-600
   (4.14:1 on white) until V5 moved it to the petroleum blue of the
   wordmark, which reads as brand rather than as a highlight and measures
   9.4:1 on white — see the V5 section at the end of this file. */
.q { color: var(--ss-blue); font-weight: 500; }
.sec--navy .q, .on-dark .q { color: var(--ss-turquoise-400); }

/* Error-panel heading was 4.42:1 on its own tint. The border and
   field states keep --ss-danger; only the text darkens. */
.form__err b { color: #B23A31; }

/* ============================================================
   COOKIE CONSENT
   Reject and Accept share one treatment on purpose — unequal
   prominence between them is a dark pattern, not a design choice.
   ============================================================ */
.cookie-banner {
  position: fixed; z-index: 90; left: var(--gut); right: var(--gut); bottom: var(--gut);
  max-width: 520px; padding: var(--cell-sm) var(--cell);
  background: var(--ss-navy); color: #fff;
  border-radius: var(--radius-md); box-shadow: var(--shadow-3);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.cookie-banner.is-open { opacity: 1; transform: none; }
.cookie-banner__title {
  font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--ss-turquoise-400); margin-bottom: 10px;
}
.cookie-banner__text {
  font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.84); margin-bottom: 18px;
}
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-consent {
  flex: 1 1 auto; justify-content: center;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  font-size: 13.5px; padding: 10px 16px;
}
.btn-consent:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-consent:focus-visible { outline: 2px solid var(--ss-turquoise-400); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; transform: none; }
}
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .btn-consent { flex: 1 1 100%; }
}

/* ============================================================
   LANGUAGE SWITCH
   A secondary control, not a fourth nav item: it should be
   findable without competing with Our Expertise or the CTA.
   Every value is an existing token.
   ============================================================ */
.nav__lang {
  display: inline-flex; align-items: center; min-height: 42px;
  margin-left: 4px; padding: 10px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ss-ink-500); border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__lang::before {
  content: ""; width: 1px; height: 14px; margin-right: 12px;
  background: var(--ss-ink-200);
}
.nav__lang:hover { color: var(--ss-navy); }
.nav__lang:focus-visible { outline: 2px solid var(--ss-turquoise); outline-offset: 2px; }

/* The footer's bottom bar is one inline row. Without this the language link
   inherits .ft a — display:block, 6px padding, 14px — and silently adds
   15px to every page that has a counterpart. */
.ft__btm a {
  display: inline; padding: 0; font-size: inherit;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.3);
}
.ft__btm a:hover { color: #fff; text-decoration-color: currentColor; }

/* The mobile menu's language link sits in a row of .ix labels. */
.mnav__meta a.ix { text-decoration: underline; text-underline-offset: 3px; }
.mnav__meta a.ix:hover { color: var(--ss-turquoise-600); }

/* ============================================================
   V5 — PREMIUM PASS
   The art direction signed off on 6 November 2026 (Figma file
   5qg1juYxyLYCPrCnTcc9PM, exported as seastream-v5-corrige.pdf).

   What changes: white is the dominant surface, the navy punctuation
   becomes a tinted band on that same white, display headings speak in
   two voices, and the work is shown in composed grids with one
   dominant piece rather than in uniform cards.

   What does not change: every colour, radius, shadow and motion value
   still comes from shared/brand.css. No new token is introduced here.
   ============================================================ */

/* ---- Buttons: 2px radius, letterspaced label, navy on turquoise ---- */
.btn { border-radius: var(--radius-xs); letter-spacing: .02em; font-weight: 600; }
.btn-lg { min-height: 52px; padding: 15px 24px; font-size: 14px; }
.btn-primary:focus-visible {
  background: #fff; color: var(--ss-blue);
  box-shadow: inset 0 0 0 1px var(--ss-turquoise);
  outline: 2px solid var(--ss-turquoise); outline-offset: 2px;
}
.btn-secondary { background: transparent; color: var(--ss-blue); border-color: var(--ss-ink-200); }
.btn-secondary:hover { color: var(--ss-navy); border-color: var(--ss-ink-300); }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--ss-ink-200); color: var(--ss-ink-400); cursor: not-allowed; transform: none;
}

/* The quiet action: a rule under the words, not a box around them. */
.btn-ghost {
  min-height: 0; padding: 2px 0 4px; border: 0; border-radius: 0;
  color: var(--ss-blue); text-decoration: underline;
  text-decoration-color: var(--ss-ink-300); text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.btn-ghost:hover { color: var(--ss-navy); text-decoration-color: currentColor; transform: none; }

/* ---- Navigation ---- */
.nav__link { font-size: 15px; font-weight: 500; color: var(--ss-ink-700); }
.nav__link:hover { color: var(--ss-ink-900); }
.nav__link[aria-current="page"] { color: var(--ss-blue); }

/* ---- Section rhythm ---- */
.sec--band { background: var(--ss-ink-50); }
.open { max-width: 900px; }
.open .ix { margin-bottom: 20px; }
.open h2 { margin-bottom: 22px; }

/* ---- Service triad under a hairline (home 02, operations triad) ---- */
.strip { border-top: 0; }
.strip__in { gap: 24px; }
.strip__i { padding: 20px 0 0; border-right: 0; border-top: var(--ln); }
.strip__i .ix { display: block; margin-bottom: 12px; }
.strip__i b {
  display: block; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.3;
  font-weight: 500; color: var(--ss-ink-900); letter-spacing: -0.01em; margin-bottom: 10px;
}
.strip__i span { font-size: 15px; line-height: 1.65; color: var(--ss-ink-500); }

/* ---- Figures: a count, stated, with its qualifier underneath ---- */
.scale { border-left: 0; border-top: 0; gap: 24px; }
.scale > div { border: 0; border-top: var(--ln); padding: 22px 0 0; }
.scale b {
  display: block; font-size: clamp(27px, 2.4vw, 34px); font-weight: 400;
  letter-spacing: -0.02em; color: var(--ss-ink-900); line-height: 1.1;
}
.scale span.s { font-size: 13px; line-height: 1.55; color: var(--ss-ink-500); margin-top: 12px; }

/* ---- The five-step operation, on light ---- */
.flow5 { border-top: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.flow5__s { padding: 20px 0 0; border-top: var(--ln); }
.flow5__s::before { display: none; }
.flow5__s--gate { border-top: 2px solid var(--ss-turquoise); }
.flow5__n { display: block; margin-bottom: 12px; color: var(--ss-ink-500); }
.flow5__s--gate .flow5__n { color: var(--ss-blue); }
.flow5__s b {
  display: block; font-size: 19px; line-height: 1.3; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ss-ink-900);
}
.flow5__s--gate b { color: var(--ss-blue); }

/* ============================================================
   V5 WORK GRIDS
   One composition, three densities. Every cell is image, then an
   index label, then the caption that says what the work actually is
   — the caption is part of the cell, never an overlay on the image.
   ============================================================ */
.works { display: grid; gap: 24px 24px; }
.works--lead { grid-template-columns: 2fr 1fr; align-items: start; }
.works--lead .works__stack { display: grid; gap: 24px; }
.works--pair { grid-template-columns: 2fr 1fr; }
.works--trio { grid-template-columns: repeat(3, 1fr); }

.work { display: flex; flex-direction: column; min-width: 0; }
.work__media {
  position: relative; overflow: hidden; background: var(--ss-ink-50);
  border: var(--ln); aspect-ratio: 3 / 2;
}
.work--tall .work__media { aspect-ratio: 3 / 2; }
.work--lead .work__media { aspect-ratio: 3 / 2; }
.work--wide .work__media { aspect-ratio: 264 / 100; }
.work__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-standard);
}
.work:hover .work__media img { transform: scale(1.02); }
.work__l {
  display: block; margin: 16px 0 0;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ss-ink-900);
}
.work__cap { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--ss-ink-500); }

/* ---- Close block: white page, two-voice heading, action beside the lead ---- */
.close { padding: clamp(72px, 8vw, 120px) 0; border-top: var(--ln); }
.close__in { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto;
             gap: clamp(28px, 4vw, 72px); align-items: end; }
.close h2 { grid-column: 1 / -1; margin-bottom: 0; max-width: 16ch; }
.close .ix { grid-column: 1 / -1; margin-bottom: 20px; }
.close p { font-size: 16px; line-height: 1.67; color: var(--ss-ink-500); margin: 24px 0 0; max-width: 52ch; }
.close__cta { align-self: end; padding-bottom: 2px; }
.close__alt { font-size: 14px; color: var(--ss-ink-500); }
.close__alt a { color: var(--ss-blue); font-weight: 500; }

/* ---- Footer on the tinted band, with the colour logo ---- */
.ft { background: var(--ss-ink-50); color: var(--ss-ink-500); padding: 56px 0 28px; border-top: var(--ln); }
.ft__grid { border-bottom: var(--ln); }
.ft__logo { height: 32px; }
.ft__about { font-size: 13px; line-height: 1.7; color: var(--ss-ink-500); }
.ft h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ss-ink-500); margin-bottom: 14px;
}
.ft a { font-size: 14px; color: var(--ss-ink-700); }
.ft a:hover { color: var(--ss-blue); }
.ft__btm { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--ss-ink-500); }
.ft__btm a { color: var(--ss-ink-700); }
.ft__btm a:hover { color: var(--ss-blue); }

@media (max-width: 1080px) {
  .works--lead, .works--pair { grid-template-columns: 1fr; }
  .flow5 { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}
@media (max-width: 760px) {
  .works--trio { grid-template-columns: 1fr 1fr; }
  .flow5, .scale { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .strip__in { grid-template-columns: 1fr; row-gap: 28px; }
  .close__in { grid-template-columns: 1fr; align-items: start; }
  .close__cta { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .works--trio { grid-template-columns: 1fr; }
  .flow5, .scale { grid-template-columns: 1fr; }
}

/* ---- V5 hero: statement first, then the lead and its action on one line ---- */
.hero { padding: clamp(44px, 5vw, 56px) 0 clamp(56px, 6vw, 88px); overflow: visible; }
.hero__h { max-width: 18ch; margin: 0 0 clamp(28px, 3vw, 40px); }
.hero__row {
  display: grid; grid-template-columns: minmax(0, 620px) auto;
  gap: clamp(24px, 4vw, 80px); align-items: end;
}
.hero__lead { max-width: 56ch; margin: 0; }
.hero__cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-bottom: 2px; }

/* The hero eyebrow sits under its own short rule rather than beside one. */
.ix--rule { position: relative; padding-top: 24px; color: var(--ss-ink-500); }
.ix--rule::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 2px; background: var(--ss-turquoise);
}

/* The service triad is a link target, so give it the affordance. */
a.strip__i { display: block; color: inherit; transition: border-color var(--dur-base) var(--ease-standard); }
a.strip__i:hover { border-top-color: var(--ss-turquoise); }
.strip__go {
  display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500;
  color: var(--ss-blue);
}
a.strip__i:hover .strip__go .arr { transform: translateX(3px); }

/* ---- Engineering block: argument left, the product shown right ---- */
.eng { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.eng__txt .t-h3 { margin-bottom: 16px; max-width: 24ch; }
.eng__txt .st { margin-bottom: 20px; }
.eng__txt .t-body { max-width: 52ch; }
.eng__media { margin: 0; }
.scale { margin-top: clamp(48px, 5vw, 80px); }

@media (max-width: 900px) {
  .hero__row { grid-template-columns: 1fr; align-items: start; }
  .hero__cta { padding-bottom: 0; }
  .eng { grid-template-columns: 1fr; }
}

/* ---- V5 navigation bar: 96px, taller logo, turquoise action ---- */
:root { --nav-height: 96px; }
.nav { background: rgba(255,255,255,.92); border-bottom: var(--ln); }
.nav__logo img { height: 41px; }
.nav__cta {
  background: var(--ss-turquoise); color: var(--ss-navy);
  height: 41px; border-radius: var(--radius-xs);
  font-weight: 600; letter-spacing: .02em;
}
.nav__cta:hover { background: var(--ss-turquoise-400); color: var(--ss-navy); }
.nav__link[aria-current="page"] { color: var(--ss-blue); }

/* The headline takes the full measure, so it breaks where the maquette
   breaks it instead of stacking into a third line. */
/* No character cap: the container is the measure, so the line breaks where
   the maquette breaks it and the French headline, which is longer, keeps
   the same two-line shape instead of being forced into three. */
.hero__h { max-width: none; }

/* The mobile drawer and mega panel sit on white, like the bar above them. */
.mnav__top img { height: 32px; }

/* ---- V5 work grids: cells in a row share one height ----
   The maquettes set each row to a fixed height (560 for the dominant
   composition, 320 for the pair) with the cells cropping to fit, rather
   than to one aspect ratio that would make a narrow cell short. Heights
   scale with the viewport so the proportion survives intermediate widths. */
.works--lead { align-items: stretch; }
.works--lead .work--lead .work__media { aspect-ratio: auto; height: clamp(300px, 39vw, 560px); }
.works--lead .works__stack { grid-template-rows: 1fr 1fr; }
.works--lead .works__stack .work { min-height: 0; }
.works--lead .works__stack .work__media { aspect-ratio: auto; height: clamp(132px, 17.5vw, 252px); }
.works--pair .work__media { aspect-ratio: auto; height: clamp(190px, 22.2vw, 320px); }
.works--trio .work__media { aspect-ratio: auto; height: clamp(170px, 18vw, 260px); }

@media (max-width: 1080px) {
  .works--lead .work--lead .work__media,
  .works--pair .work__media { height: clamp(220px, 42vw, 420px); }
  .works--lead .works__stack { grid-template-rows: auto auto; }
  .works--lead .works__stack .work__media { height: clamp(180px, 32vw, 300px); }
}
@media (max-width: 760px) {
  .works--trio .work__media { height: clamp(180px, 34vw, 260px); }
}

/* In a closing block the two voices take a line each, as in the maquettes.
   Forcing the break at the voice boundary rather than at a character count
   keeps the same two-line shape when the French line is longer. */
.close h2 .q { display: block; }
.close h2 { max-width: none; }

/* Two further densities from the Expertise maquette: a pair of equal cells,
   and one cell across the full measure. */
.works--duo { grid-template-columns: 1fr 1fr; }
.works--duo .work__media { aspect-ratio: auto; height: clamp(190px, 21vw, 300px); }
.works--full { grid-template-columns: 1fr; }
.works--full .work__media { aspect-ratio: auto; height: clamp(150px, 17.5vw, 250px); }
.works + .works { margin-top: 24px; }
@media (max-width: 760px) {
  .works--duo { grid-template-columns: 1fr; }
  .works--duo .work__media { height: clamp(190px, 44vw, 320px); }
}

/* Inner-page hero sizes from the maquettes: the home speaks at 104, the
   service pages at 62-66, Contact at 80. */
.t-display--sub { font-size: clamp(34px, 4.6vw, 66px); line-height: .96; letter-spacing: -0.036em; }
.t-display--mid { font-size: clamp(36px, 5.6vw, 80px); line-height: .96; letter-spacing: -0.036em; }

/* ============================================================
   V5 CONTACT
   The form keeps every field, validation message and hook it had;
   only its presentation moves to the new system. The right column
   follows the maquette: one direct block, the booking link, then
   what the sender should expect back.
   ============================================================ */
.ctc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 6vw, 88px); }
.field label {
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: .02em; color: var(--ss-ink-700); margin-bottom: 10px;
}
.field input, .field textarea {
  border-radius: var(--radius-xs); border-color: var(--ss-ink-200);
  color: var(--ss-ink-900); padding: 14px 16px; min-height: 52px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ss-ink-500); }
.field input:focus, .field textarea:focus {
  border-color: var(--ss-turquoise); box-shadow: 0 0 0 1px var(--ss-turquoise);
}
.field__err { font-size: 13px; color: var(--ss-danger); }

.ctc__side { border-top: var(--ln); }
.ctc__side .aside__b { padding: 28px 0; border-bottom: var(--ln); }
.ctc__side .aside__b:last-child { border-bottom: 0; }
.ctc__side .aside__b .ix { margin-bottom: 14px; }
.ctc__mail { margin: 0 0 14px; }
.ctc__mail a {
  font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; letter-spacing: -0.01em;
  color: var(--ss-ink-900);
}
.ctc__mail a:hover { color: var(--ss-blue); }
.ctc__side .t-sm { margin-bottom: 10px; }
.ctc__side .t-sm:last-child { margin-bottom: 0; }

.ctc__next { margin: 0; }
.ctc__next dt {
  font-size: 17px; font-weight: 500; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--ss-ink-900);
}
.ctc__next dd {
  margin: 4px 0 22px; font-size: 14px; line-height: 1.65; color: var(--ss-ink-500);
}
.ctc__next dd:last-child { margin-bottom: 0; }

@media (max-width: 900px) { .ctc { grid-template-columns: 1fr; } }

/* ---- V5: the two remaining dark cards move onto the light page ----
   .eac (about, managed media) and .why (approach) were navy panels on a
   navy section. With the section light, the panel is white inside the same
   hairline grid the rest of the system uses. */
.eac {
  background: var(--ss-ink-200); border: var(--ln);
  border-radius: 0; overflow: hidden;
}
.eac__c { background: #fff; }
.eac__c h3 { color: var(--ss-ink-900); font-size: clamp(19px, 1.5vw, 21px); font-weight: 500; }
.eac__c p { font-size: 15px; line-height: 1.65; color: var(--ss-ink-500); }
.eac__ico path, .eac__ico circle, .eac__ico rect { stroke: var(--ss-blue); }
.why { border-top: var(--ln); border-left: var(--ln); background: var(--ss-ink-200); }
.why__c h3 { font-weight: 500; }
.why__c p { font-size: 15px; color: var(--ss-ink-500); }
@media (max-width: 1000px) {
  .flow5__s { border-top: var(--ln); padding-top: 20px; }
  .flow5__s--gate { border-top: 2px solid var(--ss-turquoise); }
}

/* ---- V5: the prepared-operation record, on the light page ----
   Same component, same rows; it was drawn as a dark panel because the
   section behind it was navy. On white it is a hairline-framed record,
   with the two pill states carrying the only colour. */
.rec { border: var(--ln); border-radius: var(--radius-xs); background: #fff; box-shadow: var(--shadow-2); }
.rec__hd { border-bottom: var(--ln); background: var(--ss-ink-50); }
.rec__hd .ix { color: var(--ss-ink-500); }
.rec__row { border-bottom: var(--ln-soft); color: var(--ss-ink-700); font-size: 13px; }
.rec__row .k { color: var(--ss-ink-500); }
.rec__row .v { color: var(--ss-ink-900); }
.rec__pill {
  font-size: 10px; letter-spacing: .08em; padding: 4px 8px;
  background: var(--ss-ink-50); color: var(--ss-ink-700); border: 1px solid var(--ss-ink-200);
}
.rec__pill--ok { background: var(--ss-turquoise-100); color: var(--ss-turquoise-600); border-color: var(--ss-turquoise-400); }
.rec__pill--hold { background: #fff; color: var(--ss-blue); border-color: var(--ss-ink-300); }
.rec__bar { background: var(--ss-ink-100); }

/* ---- V5: the five-stage workflow, on the light page ----
   The maquette draws this row as a hairline above each stage, the number,
   the stage name and its status underneath — the same shape as .flow5, but
   this one stays interactive, so the selected stage keeps a visible state
   and the gate keeps its turquoise marker. */
.ops { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.ops__rail { border-bottom: 0; gap: 24px; }
.ops__st {
  background: transparent; border-right: 0; border-top: var(--ln);
  padding: 20px 0 0; text-align: left; color: var(--ss-ink-700);
}
.ops__st:hover { background: transparent; color: var(--ss-ink-900); border-top-color: var(--ss-ink-300); }
.ops__st[aria-selected="true"] { background: transparent; color: var(--ss-ink-900); border-top: 2px solid var(--ss-turquoise); }
.ops__st::before { display: none; }
.ops__st .n { color: var(--ss-ink-500); opacity: 1; }
.ops__st[aria-selected="true"] .n { color: var(--ss-blue); }
.ops__st .l {
  font-size: 17px; font-weight: 500; line-height: 1.35;
  letter-spacing: -0.01em; color: var(--ss-ink-900); margin-top: 12px;
}
.ops__st .g {
  display: inline-block; margin-top: 10px; background: transparent; padding: 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ss-ink-500);
}
.ops__st[data-gate="true"] .g { background: transparent; color: var(--ss-blue); }
.ops__panel { padding: clamp(26px, 3vw, 40px) 0 0; }
.ops__panel h3 { color: var(--ss-ink-900); font-size: clamp(21px, 1.8vw, 24px); font-weight: 500; }
.ops__panel > div > p { color: var(--ss-ink-700); font-size: 16px; line-height: 1.67; }
.ops__note {
  background: var(--ss-ink-50); border-left: 2px solid var(--ss-turquoise);
  color: var(--ss-ink-700);
}
.ops__checks li { color: var(--ss-ink-700); }
.ops__checks li svg path, .ops__checks li svg circle { stroke: var(--ss-turquoise-600); }
@media (max-width: 900px) {
  .ops__rail { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .ops__panel[data-active="true"] { grid-template-columns: 1fr; }
}

/* ---- V5: the eyebrow takes the same petroleum blue as .ix--brand ----
   brand.css defines .eyebrow in --fg-brand (turquoise). The V5 maquettes
   set every eyebrow, lettered or numbered, in the wordmark's petroleum
   blue, so V3.4 points the same component at the token the approved art
   direction uses. No new token: --ss-blue is already in the palette, and
   it lifts this text from 4.14:1 to 9.3:1 on white. */
.eyebrow { color: var(--ss-blue); }
.eyebrow::before { background: var(--ss-turquoise); }
.browser__url { color: var(--ss-ink-500); }

/* The two remaining small-text uses of turquoise-600 move to the same
   petroleum blue, which is what the maquettes show for both: the status
   chip reads "IN DEVELOPMENT" in #004D68, and the record's passed state
   belongs to the same family. 9.3:1 and 8.9:1 respectively. */
.st--dev { color: var(--ss-blue); }
.rec__pill--ok { color: var(--ss-blue); border-color: var(--ss-turquoise-400); }
.form__ok b { color: var(--ss-blue); }
.nav__link[aria-current="page"], .pil__link:hover, .mnav__meta a.ix:hover { color: var(--ss-blue); }
.flow5--light .flow5__s--gate h3 { color: var(--ss-blue); }
.split__r .b--auto { color: var(--ss-blue); }

/* .eac carries three cards on the service pages and four on About. A fixed
   column count strands one of them against the grid's own background, so
   the hairlines belong to the cards and the grid itself is white: an
   absent cell is then white space, not an empty grey box. */
.eac { background: #fff; gap: 0; border: 0; border-top: var(--ln); border-left: var(--ln); }
.eac__c { border-right: var(--ln); border-bottom: var(--ln); }

/* .mnav__body is a .wrap, but its own padding shorthand reset the side
   gutters, so the drawer's links sat hard against the screen edge while
   the bar above them was inset. */
.mnav__body { padding: 8px var(--gut) 40px; }

/* ---- Focus, stated once and unambiguously ----
   A keyboard user must see where they are. The field takes a turquoise
   border plus a ring; the turquoise button, which a turquoise ring would
   disappear into, takes a navy one. Specificity is raised deliberately so
   this is the last word on the state rather than one of several rules of
   equal weight. */
.form .field input:focus,
.form .field textarea:focus,
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ss-turquoise);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, .28);
  outline: 2px solid transparent;   /* keeps a ring in forced-colours mode */
  outline-offset: 2px;
}
.btn-primary:focus-visible,
.nav__cta:focus-visible {
  outline: 3px solid var(--ss-navy);
  outline-offset: 2px;
  box-shadow: none;
  background: var(--ss-turquoise);
  color: var(--ss-navy);
}
.btn-ghost:focus-visible, .ft a:focus-visible, .nav__link:focus-visible {
  outline: 2px solid var(--ss-turquoise-600);
  outline-offset: 3px;
}

/* ---- Line breaking in display headings ----
   The maquettes set each headline on two balanced lines. Pinning that with
   a character cap or a hard break works for one language and fails for the
   other, so the browser balances the lines instead: the shape survives the
   French text being longer, and a browser without support simply wraps
   normally. */
.t-display, .t-h2, .t-h3 { text-wrap: balance; }
.hero__lead, .open p { text-wrap: pretty; }

/* Two paragraphs in one .open block: the second is a qualifying note (scope,
   provenance) and must not read as a continuation of the body copy. */
.open p + p { margin-top: 16px; }

/* ---- Inner-page hero: the maquette's column proportion and measure ----
   The maquettes give the text column 700 of 1280 and the supporting visual
   560. At that width, and with the display face one weight heavier than
   the maquettes could use, 58px is the size at which both the English and
   the longer French headline hold the two-line shape the design asks for. */
.hero__grid {
  grid-template-columns: minmax(0, 700fr) minmax(0, 560fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.t-display--sub { font-size: clamp(32px, 4.2vw, 58px); }
.hero h1.t-display--sub { max-width: 820px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* The Contact headline carries a hard break in the maquettes, at the point
   where the second voice starts — in both languages. Breaking on the voice
   rather than on a width keeps that shape at every size. */
.t-display--mid .q { display: block; }

/* ============================================================
   V5 FIDELITY — measured against the Figma frames
   ------------------------------------------------------------
   Every number below was read off the maquettes at 1440 and at
   375 and interpolated linearly between them, so the two drawn
   widths are hit exactly and the widths between them follow the
   same line. The form is
       clamp(<375 value>, calc(<intercept> + <slope>vw), <1440 value>)
   where slope = (v1440 - v375) / 1065 expressed in vw.
   Where EN and FR frames disagree, the dominant value is used.
   ============================================================ */

/* --- Content column ----------------------------------------
   The maquettes set the column at 1280 with 80px gutters at
   1440, and at 327 with 24px gutters at 375. The previous
   1340/48 pair produced 1244 — 36px too narrow and 18px off the
   drawn left edge, which pulled every page's composition in.
   This declaration is later in the file than the --gut
   overrides in the earlier breakpoints, so it supersedes them
   at every width. */
:root { --gut: clamp(24px, calc(24px + 56 * (100vw - 375px) / 1065), 80px); }
.wrap { max-width: 1440px; }

/* Nav rule sits at y72 in the 375 frames, not y64. */
@media (max-width: 760px) { :root { --nav-height: 72px; } }

/* --- Type scale --------------------------------------------
   The previous clamps were authored by eye: their floors sat
   above the drawn mobile sizes and their ceilings below the
   drawn desktop ones, so no viewport matched the maquette. */
.t-display      { font-size: clamp(42px, calc(20.17px + 5.8216vw), 104px); line-height: .923; }
.t-display--sub { font-size: clamp(26px, calc(13.32px + 3.3803vw),  62px); line-height: .955; }
.t-display--mid { font-size: clamp(40px, calc(25.92px + 3.7559vw),  80px); line-height: .955; }
.t-h2           { font-size: clamp(26px, calc(18.96px + 1.8779vw),  46px); line-height: 1.065; }
.close h2       { font-size: clamp(36px, calc(26.14px + 2.6291vw),  64px); line-height: 1.0; }
.t-lead         { font-size: clamp(16px, calc(15.30px + 0.1878vw),  18px); }

/* --- Section rhythm ----------------------------------------
   The hairline is the section's top border, and the maquette
   opens the eyebrow 32px under it at 1440 (20px at 375). The
   previous 8vw padding opened it at 139px — the single largest
   source of the drift, and it compounded down every page. */
.sec        { padding: clamp(20px, calc(15.77px + 1.1268vw), 32px) 0
                       clamp(40px, calc(37.19px + 0.7512vw), 48px); }
.sec--tight { padding: clamp(20px, calc(15.77px + 1.1268vw), 32px) 0
                       clamp(32px, calc(29.19px + 0.7512vw), 40px); }

.open       { margin-bottom: clamp(28px, calc(23.77px + 1.1268vw), 40px); }
.open .ix   { margin-bottom: clamp(9px,  calc(5.48px  + 0.9390vw), 19px); }
.open h2    { margin-bottom: clamp(20px, calc(18.59px + 0.3756vw), 24px); }

.close      { padding: clamp(28px, calc(25.18px + 0.7512vw), 36px) 0
                       clamp(56px, calc(44.73px + 3.0047vw), 88px); }

/* --- Hero rhythm -------------------------------------------
   Measured from the nav hairline: eyebrow at +56 (1440) / +36
   (375), and the hero closes 96 / 72 above the next hairline. */
/* The hero's top space is consistent across all eight frames (56 at
   1440, 36 at 375). Its bottom gap is not — the frames close the hero
   at 36, 59, 72 and 96px above the next hairline, which is placement
   drift rather than intent. One system value, 72, is used instead. */
.hero           { padding: clamp(36px, calc(28.96px + 1.8779vw), 56px) 0 72px; }
.hero .ix       { margin-bottom: clamp(9px, calc(5.48px + 0.9390vw), 19px); }
.hero h1        { margin-bottom: 26px; }

/* The home hero is the one frame that carries the turquoise
   rule, and it breathes wider under the eyebrow than the inner
   pages do. */
.hero .ix--rule { margin-bottom: clamp(20px, calc(16.83px + 0.8451vw), 29px); }
.hero h1.t-display:not(.t-display--sub):not(.t-display--mid) {
  margin-bottom: clamp(30px, calc(26.48px + 0.9390vw), 40px);
}

/* The eyebrow is an inline-block so .ix--rule can hang its rule off it.
   Inside a block whose line-height is 25.6px that puts the 11px box on
   the text baseline, nudging it ~10px down from where the frames draw
   it. Making it a block of its own takes it off the baseline. */
.hero .ix, .open .ix { display: block; width: fit-content; }

/* The Expertise hero stacks: the maquette puts its button at the
   container's left edge under the lead, not beside it. Only the
   home frame sets the CTA alongside. */
.hero__stack { display: block; }
.hero__stack .hero__lead { max-width: 620px; }
.hero__stack .hero__cta  { display: flex; gap: 16px; align-items: center; }

/* The frames draw the large button 148x52 with ~30px of side
   padding; 15px block padding over a 22.4px line box plus the
   1px border came to 54. */
.btn-lg { padding-block: 14px; padding-inline: 30px; min-height: 52px; }

/* 62px is the inner-page headline across Managed Media EN and FR and
   Expertise FR; only Expertise EN is drawn at 66. Taking 66 as the
   system value broke the Managed headline onto a third line, so the
   system follows the three frames and Expertise EN sits 4px under its
   own frame. */

/* The home hero closes 59px above the next hairline, not 96 — its
   two-column row already carries the breathing room. */
.hero:has(.hero__row) { padding-bottom: clamp(48px, calc(44.13px + 1.0329vw), 59px); }

/* The Managed Media frame splits the hero 700 / 20 / 560 inside the
   1280 column. A 44px gap left the text column at 687, four pixels
   under the width its headline needs, which pushed it to a third
   line and carried ~270px of drift down the rest of the page. */
.hero__grid { column-gap: 20px; row-gap: 32px; }

/* --- Creative Production: the disciplines grid ---------------
   The frame sets four 290px columns on a 330px pitch, each
   opened by a hairline rather than boxed in a card: hairline,
   eyebrow at +20, title at +14, copy under it. */
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.cols4 .col { border-top: var(--ln); padding-top: 20px; }
.cols4 .col .ix { display: block; margin-bottom: 14px; }
.cols4 .col h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em;
                 font-weight: 500; color: var(--ss-ink-900); margin: 0 0 10px; }
.cols4 .col p  { font-size: 15px; line-height: 1.68; color: var(--ss-ink-700); margin: 0; }
@media (max-width: 1000px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 600px)  { .cols4 { grid-template-columns: 1fr; gap: 28px; } }

/* The nav is sticky, so an anchored section would otherwise arrive
   underneath it. Give every anchorable section the header's height
   plus the rhythm's own top space. */
:where(section, [id]):target,
section[id], .close[id] { scroll-margin-top: calc(var(--nav-height) + 24px); }

/* <figure> carries the user-agent's margin: 1em 40px. Inside the work
   grids that inset every image 40px from the column and took 80px off
   its width — 548 where the frame draws 628 — and pushed the first row
   16px down. */
.works figure, .works__stack figure { margin: 0; }

/* The frames put 34px between the hero's lead and its button wherever
   the two stack. That spacing had been attached to .hero__stack, which
   only Expertise uses — so Creative Production, Managed Media and Web
   Development, in both languages, closed the gap to zero and the button
   sat against the last line of the paragraph. It belongs on the button
   row itself.

   The home hero is the exception: there the button sits beside the lead
   in a grid, and the grid's own gap spaces them. */
.hero__cta { margin-top: 34px; }
.hero__row .hero__cta { margin-top: 0; }

/* A quiet "… in detail" link closing a section is a button, not a
   footnote. It had been wrapped in .prov, whose 18px top margin is
   meant for the provenance note, so it sat too close to the copy above
   it. Same 34px the hero gives its button. */
.sec__more { margin: 34px 0 0; }
