/* ==========================================================================
   Alpha Systems — site styles
   Display: Barlow Condensed · Text: Inter · Palette: mood board 28/11/2026 (company/Brand/BRAND.md)
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #071a2b;
  --navy: #0C263D;
  --navy-800: #163a57;
  --blue: #167CAF;          /* Technical Blue (mood board) */
  --cyan: #7cc1e6;          /* light technical blue: accents on dark */
  --signal: #F4772B;        /* Alpha Orange (mood board): primary action */

  /* Capability pillars */
  --c1: #167CAF;            /* Systems engineering & integration */
  --c2: #4d9fd0;            /* Requirements & verification */
  --c3: #F4772B;            /* Assurance, risk & specialist engineering */
  --c4: #f7a066;            /* Reliability & asset management */

  /* Neutrals */
  --ink: #0C263D;
  --text: #3d5165;
  --muted: #5b6f80;
  --line: #d5dee5;
  --paper: #F7F8FA;
  --mist: #E2ECF3;
  --white: #fff;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: .98; letter-spacing: -.005em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--signal); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #c6d6e3; }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font: 600 .9375rem/1.2 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.on-dark .eyebrow, .section--navy .eyebrow { color: var(--cyan); }
.h-xl { font-size: clamp(3rem, 6.6vw, 6.25rem); }
.h-lg { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.h-md { font-size: clamp(2rem, 3.4vw, 3rem); }
.h-sm { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.05; }
.upper { text-transform: uppercase; letter-spacing: .005em; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--text); }
.statement {
  margin: 0;
  max-width: 30ch;
  font: 300 clamp(1.875rem, 3.7vw, 3.5rem)/1.16 var(--font-text);
  letter-spacing: -.012em;
  color: var(--blue);
}
.statement strong { font-weight: 500; color: var(--ink); }
.statement--wide { max-width: 38ch; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--signal);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 24px 12px 26px;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: #e2651a; }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--navy:hover { --btn-bg: var(--blue); }
.btn--light { --btn-bg: #E2ECF3; --btn-fg: var(--navy); }
.btn--light:hover { --btn-bg: var(--white); }
.btn--ghost { --btn-fg: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* the dash that becomes an arrow */
.dash {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 2px;
  background: currentColor;
  transition: width .3s var(--ease);
  flex: none;
}
/* Arrowhead: a box with two borders, rotated 45° about its top-right corner, which becomes the tip.
   The tip sits on the line's centre (top: 50%), just past its end so the line's square corners stay hidden. */
.dash::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) scale(0);
  transform-origin: 100% 0;
  transition: transform .3s var(--ease);
}
a:hover > .dash, a:focus-visible > .dash, button:hover > .dash,
.card-link:hover .dash, .card-link:focus-visible .dash { width: 26px; }
a:hover > .dash::after, a:focus-visible > .dash::after, button:hover > .dash::after,
.card-link:hover .dash::after, .card-link:focus-visible .dash::after { transform: rotate(45deg) scale(1); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 .875rem/1 var(--font-text);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
}
.on-dark .text-link, .section--navy .text-link { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.site-header::before { /* soft scrim so the nav stays legible over bright photos */
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(180deg, rgba(7,26,43,.55), rgba(7,26,43,0));
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.site-header.is-solid { background: rgba(10,37,64,.94); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-solid::before { opacity: 0; }
.site-header--light:not(.is-solid) { color: var(--navy); }
.site-header--light:not(.is-solid)::before { opacity: 0; }
.site-header--light:not(.is-solid) .brand__mark--white { display: none; }
.site-header--light:not(.is-solid) .brand__mark--colour { display: block; }

.header-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 40px; height: 40px; }
.brand__mark--colour { display: none; }
.brand__name { display: grid; line-height: 1; white-space: nowrap; }
.brand__name b { font: 600 1.375rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.brand__name small { margin-top: 5px; font: 500 .6875rem/1 var(--font-text); letter-spacing: .22em; text-transform: uppercase; opacity: .78; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 0;
  font: 600 .8125rem/1 var(--font-text);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: .92;
}
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--signal); transition: right .3s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { right: 0; }
.nav__list a:hover, .nav__list a[aria-current="page"] { opacity: 1; }
.nav .btn { min-height: 46px; padding: 10px 20px 10px 22px; font-size: .9375rem; }

.menu-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px; background: none; border: 0; cursor: pointer; font: 600 .8125rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle__icon { position: relative; width: 26px; height: 14px; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__icon::before { top: 2px; }
.menu-toggle__icon::after { top: 10px; }
.menu-open .menu-toggle__icon::before { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--navy);
  color: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.menu-open .drawer { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.drawer__list { list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.drawer__list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 600 2.25rem/1 var(--font-display); text-decoration: none; }
.drawer__list a[aria-current="page"] { color: var(--cyan); }
.drawer__meta { margin-top: auto; padding-top: 32px; display: grid; gap: 6px; color: #b9cad8; font-size: .9375rem; }
.drawer__meta a { color: var(--white); text-decoration: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--navy); color: var(--white); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand__mark--white { display: block; }
.menu-open .site-header .brand__mark--colour { display: none; }

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  max-height: 1000px;
  padding-bottom: clamp(56px, 9vh, 112px);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 6px solid var(--signal);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .text-link, .page-hero .text-link { color: var(--white); }
.hero__media img { animation: drift 24s var(--ease) both; transform-origin: 60% 40%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,26,43,.82) 0%, rgba(7,26,43,.5) 42%, rgba(7,26,43,.05) 75%),
    linear-gradient(0deg, rgba(7,26,43,.75) 0%, rgba(7,26,43,0) 45%);
}
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .eyebrow { color: #b9dcf0; }
.hero__sub { max-width: 38ch; margin: 28px 0 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: #e2edf4; }
.hero__foot { position: absolute; right: var(--gutter); bottom: 28px; display: flex; gap: 20px; align-items: center; font: 600 .75rem/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: #cfe1ec; }
.video-toggle { display: none; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(7,26,43,.4); cursor: pointer; font: inherit; letter-spacing: inherit; }
.has-video .video-toggle { display: inline-flex; }

@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Inner-page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 68vh, 680px);
  padding: calc(var(--header-h) + 48px) 0 clamp(48px, 7vw, 88px);
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 6px solid var(--accent, var(--signal));
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: drift 20s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,26,43,.85), rgba(7,26,43,.35) 70%, rgba(7,26,43,.15)), linear-gradient(0deg, rgba(7,26,43,.6), rgba(7,26,43,0) 50%); }
.page-hero h1 { color: var(--white); max-width: 15ch; }
.page-hero .eyebrow { color: #b9dcf0; }
.page-hero p { max-width: 46ch; margin: 24px 0 0; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: #dce8f0; }

.page-hero--graphic::after { display: none; }
.page-hero--graphic .page-hero__art { position: absolute; z-index: -1; right: -8vw; top: -6vw; width: min(78vw, 980px); opacity: .9; pointer-events: none; }

.page-hero--light { color: var(--ink); background: var(--mist); }
.page-hero--light::after { display: none; }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light .eyebrow { color: var(--blue); }
.page-hero--light p { color: var(--text); }
.page-hero--light .page-hero__media img { object-fit: cover; object-position: right center; opacity: .5; mix-blend-mode: multiply; animation: none; }
.page-hero--light .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--mist) 0%, rgba(228,238,244,.9) 38%, rgba(228,238,244,.2) 100%); }

/* --------------------------------------------------------------------------
   Intro statement
   -------------------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.intro .eyebrow { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.prose p { color: var(--text); }
.prose p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Image tiles (two-up)
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1 / 1;
  max-height: 640px;
  width: 100%;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--navy);
  border-bottom: 6px solid var(--accent, var(--cyan));
  isolation: isolate;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,26,43,.9) 0%, rgba(7,26,43,.62) 38%, rgba(7,26,43,.12) 72%, rgba(7,26,43,0) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile h2, .tile h3 { color: var(--white); font-size: clamp(2.5rem, 4.6vw, 4rem); }
.tile p { max-width: 34ch; margin: 12px 0 18px; color: #dce8f0; }
.tile .dash { width: 32px; height: 3px; color: var(--white); }
.tile:hover .dash, .tile:focus-visible .dash { width: 52px; }
.tile .dash::after { right: -1.5px; width: 12px; height: 12px; border-width: 3px; }
.tile:hover .dash::after, .tile:focus-visible .dash::after { transform: rotate(45deg) scale(1); }
.tile__client { display: block; margin-bottom: 10px; font: 600 .875rem/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: #b9dcf0; }
.tiles--projects .tile { aspect-ratio: 3 / 2; }
.tiles--projects .tile h3 { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }

/* --------------------------------------------------------------------------
   Capability pillars
   -------------------------------------------------------------------------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { max-width: 760px; }
.section-head p { margin: 20px 0 0; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 40px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 4px; background: var(--accent); }
.pillar + .pillar::before { left: 28px; }
.pillar__num { display: block; margin-bottom: 18px; font: 600 1rem/1 var(--font-display); letter-spacing: .1em; color: var(--muted); }
.pillar h3 { font-size: clamp(1.625rem, 2.1vw, 2rem); text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.pillar p { font-size: 1rem; color: var(--text); }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 18px; font-size: .9375rem; color: var(--text); }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--accent, var(--blue)); }

/* --------------------------------------------------------------------------
   Stat band
   -------------------------------------------------------------------------- */
.stat-band {
  position: relative;
  min-height: clamp(560px, 74vh, 820px);
  display: flex;
  align-items: stretch;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 6px solid var(--accent, var(--signal));
}
.stat-band > img, .stat-band > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.stat-band > .video-toggle { position: absolute; z-index: 1; top: 28px; right: var(--gutter); color: #cfe1ec; font: 600 .75rem/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.stat-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,26,43,.8) 0%, rgba(7,26,43,.35) 55%, rgba(7,26,43,.1) 100%); }
.stat-band .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: clamp(56px, 7vw, 96px); }
.stat-big { display: block; font: 700 clamp(7.5rem, 21vw, 18rem)/.8 var(--font-display); letter-spacing: -.02em; color: var(--white); }
.stat-big sup { font-size: .5em; vertical-align: top; position: relative; top: .08em; margin-left: .02em; color: var(--signal); }
.stat-line { margin: 0; font: 700 clamp(3rem, 8vw, 7rem)/.92 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.stat-line__dot { color: var(--signal); }
.stat-label { display: block; max-width: 34ch; margin-top: 18px; font: 500 clamp(1.125rem, 1.8vw, 1.5rem)/1.3 var(--font-text); color: var(--white); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.3); }
.stat-row > div { padding: 22px 24px 0 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.3); }
.stat-row strong { display: block; font: 600 clamp(2.5rem, 4.2vw, 3.75rem)/1 var(--font-display); color: var(--white); }
.stat-row span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: #d6e4ee; }
.stat-band__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Cards — projects & articles (Bowen-style ruled columns)
   -------------------------------------------------------------------------- */
.ruled { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ruled > * { border-left: 1px solid var(--navy); padding: 0 16px; }
.ruled > *:last-child { border-right: 1px solid var(--navy); }

.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card__date { display: block; margin-bottom: 14px; font-size: .875rem; letter-spacing: .04em; color: var(--ink); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); border-bottom: 5px solid var(--accent, var(--cyan)); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-link:hover .card__media img, .card-link:focus-visible .card__media img { transform: scale(1.05); }
.card__title { margin: 26px 0 14px; font-size: clamp(1.375rem, 1.75vw, 1.625rem); line-height: 1.04; text-transform: uppercase; color: var(--ink); }
.card__body { margin: 0 0 24px; font-size: .9875rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { margin-top: auto; padding-top: 8px; }
.card__tag { display: inline-block; margin-bottom: 10px; font: 600 .8125rem/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* Project cards on home */
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.project-card .card__media { aspect-ratio: 4 / 5; }
.project-card .card__title { margin-top: 22px; }
.project-card p { font-size: .9875rem; color: var(--muted); margin: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; line-height: 1.2; color: var(--ink); background: var(--white); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--blue)); flex: none; }

/* --------------------------------------------------------------------------
   Lifecycle line (what we do)
   -------------------------------------------------------------------------- */
.lifecycle { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin-top: 16px; counter-reset: stage; }
.lifecycle::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--c1), var(--c2) 38%, var(--c3) 66%, var(--c4)); }
.stage { position: relative; padding: 56px 28px 0 0; counter-increment: stage; }
.stage::before { content: ""; position: absolute; top: 4px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 6px solid var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.stage__n { display: block; font: 600 .875rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stage h3 { margin: 8px 0 14px; font-size: clamp(2rem, 3vw, 2.75rem); text-transform: uppercase; }
.stage p { font-size: .9875rem; color: var(--text); margin: 0; }

/* --------------------------------------------------------------------------
   Capability detail rows (what we do)
   -------------------------------------------------------------------------- */
.capability { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }
.capability:first-of-type { border-top: 0; }
.capability__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.capability__num { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font: 600 1rem/1 var(--font-display); letter-spacing: .14em; color: var(--muted); }
.capability__num::after { content: ""; width: 64px; height: 4px; background: var(--accent); }
.capability h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); text-transform: uppercase; }
.capability .lead { margin-top: 0; }
.capability .ticks { grid-template-columns: 1fr 1fr; gap: 14px 32px; margin-top: 28px; font-size: 1rem; color: var(--ink); }

/* Sectors (image cards, three-up) */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sector .card__media { aspect-ratio: 4 / 3; }
.sector h3 { margin: 24px 0 12px; font-size: clamp(1.75rem, 2.4vw, 2.25rem); text-transform: uppercase; }
.sector p { color: var(--text); font-size: 1rem; }

/* Engagement modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.mode { padding: 36px 32px 0 0; }
.mode + .mode { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.22); }
.mode h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); text-transform: uppercase; margin-bottom: 14px; }
.mode p { color: #c6d6e3; margin: 0; }

/* --------------------------------------------------------------------------
   Project feature rows (experience)
   -------------------------------------------------------------------------- */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-of-type(even) .feature__media { order: 2; }
.feature__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); border-bottom: 6px solid var(--accent); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__client { display: block; margin-bottom: 14px; font: 600 .9375rem/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.feature h2 { font-size: clamp(2.5rem, 4.2vw, 3.75rem); text-transform: uppercase; margin-bottom: 20px; }
.feature__context { color: var(--muted); }
.feature h3 { margin: 28px 0 14px; font: 600 .9375rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.feature .ticks { font-size: 1rem; color: var(--ink); gap: 10px; }
.feature .chips { margin-top: 28px; }

.wide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.wide-card { background: var(--white); }
.wide-card .card__media { aspect-ratio: 16 / 9; }
.wide-card__body { padding: 32px clamp(24px, 3vw, 40px) 40px; }
.wide-card h3 { font-size: clamp(2rem, 3vw, 2.75rem); text-transform: uppercase; margin-bottom: 16px; }

.track-record { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.track-record h3 { font: 600 .9375rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.name-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.name-list li { padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: var(--white); font-size: .9375rem; }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.person__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); border-bottom: 5px solid var(--accent); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .7s var(--ease); }
.person:hover .person__photo img { transform: scale(1.04); }
.person__years { position: absolute; left: 0; top: 0; padding: 10px 14px; background: var(--navy); color: var(--white); font: 600 1.125rem/1 var(--font-display); letter-spacing: .02em; }
.person__years small { display: block; margin-top: 3px; font: 500 .625rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #a6c2d6; }
.person { display: flex; flex-direction: column; }
.person details { margin-top: auto !important; }
.person > p { margin-bottom: 16px; }
.person h3 { margin: 24px 0 6px; font-size: 2rem; text-transform: uppercase; }
.person__role { display: block; margin-bottom: 2px; font: 600 1.125rem/1.25 var(--font-display); letter-spacing: .02em; color: var(--blue); }
.person__field { display: block; margin-bottom: 14px; font: 500 .9375rem/1.35 var(--font-text); color: var(--text); }
.person p { font-size: .9875rem; color: var(--text); }
.person details { border-top: 1px solid var(--line); }
.person summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; font: 600 .8125rem/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; font-size: 1.25rem; line-height: 1; transition: transform .25s var(--ease); }
.person details[open] summary::after { transform: rotate(45deg); }
.person details p { font-size: .9375rem; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.value { border-top: 4px solid var(--accent); padding-top: 28px; }
.value h3 { font-size: clamp(2.5rem, 4vw, 3.5rem); text-transform: uppercase; margin-bottom: 14px; }
.value p { margin: 0; }

/* Quote band */
.quote-band { position: relative; overflow: hidden; isolation: isolate; }
.quote-band__art { position: absolute; z-index: -1; right: -6%; top: 50%; width: min(60vw, 720px); transform: translateY(-50%); opacity: .55; pointer-events: none; }
.quote { margin: 0; max-width: 18ch; font: 600 clamp(2.75rem, 6vw, 5.5rem)/.98 var(--font-display); color: var(--white); text-transform: uppercase; }
.quote span { color: var(--cyan); }
.quote-cite { display: block; margin-top: 28px; font: 600 .875rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: #9fb8cb; font-style: normal; }

/* --------------------------------------------------------------------------
   Insights
   -------------------------------------------------------------------------- */
.featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; text-decoration: none; color: inherit; }
.featured .card__media { aspect-ratio: 16 / 9; }
.featured h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); text-transform: uppercase; margin: 6px 0 20px; }
.featured p { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font: 600 .875rem/1 var(--font-text); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.articles { row-gap: 56px; }
.articles > [hidden] { display: none; }
.articles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.articles--3 > *:nth-child(3n) { border-right: 1px solid var(--navy); }

.faq-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; background: var(--white); border-left: 5px solid var(--accent); text-decoration: none; }
.faq-link strong { display: block; font: 600 clamp(1.5rem, 2.2vw, 2rem)/1 var(--font-display); text-transform: uppercase; color: var(--ink); }
.faq-link span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.faq-link .dash { color: var(--blue); }

.archive { border-top: 1px solid var(--line); }
.archive > summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; }
.archive > summary::-webkit-details-marker { display: none; }
.archive > summary h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); text-transform: uppercase; }
.archive > summary .toggle { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); font-size: 1.5rem; transition: transform .3s var(--ease); }
.archive[open] > summary .toggle { transform: rotate(45deg); }
.archive__note { max-width: 70ch; color: var(--muted); }
.archive-list { list-style: none; border-top: 1px solid var(--line); margin-top: 24px; }
.archive-list a { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.archive-list time { font-size: .875rem; color: var(--muted); }
.archive-list strong { font-weight: 500; color: var(--ink); }
.archive-list .dash { color: var(--blue); }

/* --------------------------------------------------------------------------
   Contact band
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--mist);
  padding-block: clamp(80px, 10vw, 150px);
}
.contact__art { position: absolute; z-index: -1; left: -14%; top: 50%; width: min(78vw, 980px); transform: translateY(-46%); pointer-events: none; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact h2 { font-size: clamp(3.5rem, 8vw, 7rem); line-height: .9; color: var(--navy); }
.contact__intro { margin: 36px 0 0; max-width: 32ch; color: var(--ink); font-size: 1.125rem; }
.contact__panel { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: clamp(28px, 4vw, 48px); }
.contact__panel h3 { font: 600 1.5rem/1 var(--font-text); color: var(--navy); margin-bottom: 16px; letter-spacing: -.01em; }
.contact-list { display: grid; margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--navy); }
.contact-list dt { font: 600 1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.contact-list dd { margin: 0; font-size: 1.0625rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-list a:hover { border-color: currentColor; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #a9bfd0; padding-block: clamp(64px, 7vw, 96px) 40px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 56px; }
.footer__brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.footer__brand img { width: 56px; height: 56px; }
.footer__brand b { font: 600 1.75rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.footer__office { margin-top: 40px; }
.footer__office strong { display: block; color: var(--white); margin-bottom: 4px; }
.footer__office a { color: inherit; text-decoration: none; }
.footer__office a:hover { color: var(--white); }
.footer__ack { max-width: 56ch; margin-top: 36px; font-size: .8125rem; line-height: 1.6; color: #8ea6b9; }
.footer__menu h2 { font: 600 1rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer__menu ul { list-style: none; border-top: 1px solid rgba(255,255,255,.14); }
.footer__menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 300 clamp(1.375rem, 2vw, 1.75rem)/1.1 var(--font-text); color: #cfe6f4; text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.footer__menu a:hover { color: var(--white); padding-left: 8px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; color: #7f98ac; }
.footer__base a { color: inherit; }
.social { display: inline-flex; align-items: center; gap: 10px; color: #cfe6f4; text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(3)::before { left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
  .projects { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .ruled { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .ruled > *:nth-child(2n) { border-right: 1px solid var(--navy); }
  .articles--3 { grid-template-columns: 1fr 1fr; }
  .articles--3 > *:nth-child(3n) { border-right: 0; }
  .articles--3 > *:nth-child(2n) { border-right: 1px solid var(--navy); }
  .team { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .lifecycle { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .lifecycle::before { display: none; }
  .stage { border-top: 6px solid var(--accent); padding-top: 28px; }
  .stage::before { display: none; }
}

@media (max-width: 940px) {
  :root { --header-h: 76px; }
  .nav__list, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .split, .split--even, .contact__grid, .featured, .footer__grid, .track-record { grid-template-columns: 1fr; }
  .capability { grid-template-columns: 1fr; gap: 24px; }
  .capability__head { position: static; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature:nth-of-type(even) .feature__media { order: 0; }
  .sectors, .modes, .values { grid-template-columns: 1fr; gap: 40px; }
  .mode, .mode + .mode { padding: 28px 0 0; border-left: 0; }
  .mode + .mode { border-top: 1px solid rgba(255,255,255,.22); }
  .wide-cards, .faq-links { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div, .stat-row > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .stat-row > div:last-child { border-bottom: 0; }
  .contact__art { left: -30%; width: 140vw; top: 8%; transform: none; opacity: .7; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__name small { display: none; }
  .hero { min-height: 100svh; }
  .hero__foot { left: var(--gutter); right: auto; bottom: 18px; }
  .hero .btn-row { margin-top: 28px; }
  .tiles, .projects, .ruled, .articles--3, .team, .pillars, .lifecycle { grid-template-columns: 1fr; }
  .tile, .tiles--projects .tile { aspect-ratio: auto; min-height: 440px; }
  .ruled > *, .ruled > *:last-child, .ruled > *:nth-child(2n), .articles--3 > *:nth-child(2n) { border-left: 0; border-right: 0; padding: 0; }
  .pillar, .pillar + .pillar { padding: 32px 0 8px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); margin-top: 16px; }
  .pillar + .pillar::before, .pillar:nth-child(3)::before { left: 0; }
  .capability .ticks { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .archive-list a { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .archive-list time { grid-column: 1 / -1; }
  .faq-link { padding: 24px; }
}

/* v3: mood board touches */
.section--charcoal { background: #111418; color: #c6d0d9; }
@media (max-width: 640px) { .sectors { grid-template-columns: 1fr; } }

/* v3: rotating hero pictures (assets/data/hero-slides.json) */
.hero__media img { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__media img.is-active { opacity: 1; }
.no-js .hero__media img:first-of-type, .hero__media:not([data-ready]) img:first-of-type { opacity: 1; }
.hero__media img.is-active { animation: drift 9s linear both; }
.hero__dots { display: inline-flex; gap: 8px; }
.hero__dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background-color .4s, width .4s; }
.hero__dots i.is-on { width: 34px; background: var(--signal); }
.slides-toggle { display: inline-flex; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(7,26,43,.4); cursor: pointer; font: inherit; letter-spacing: inherit; color: inherit; }
.slides-toggle[hidden], .has-video .slides-toggle, .has-video .hero__dots { display: none; }

/* v3: hover on pictures: slow zoom, warm lift, accent bar grows */
.tile, .sector, .card-link, .person { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover, .tile:focus-visible, .card-link:hover, .card-link:focus-visible { transform: translateY(-4px); }
.tile img, .sector .card__media img, .person__photo img { transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); filter: saturate(1.12) brightness(1.05); }
.sector:hover .card__media img { transform: scale(1.06); filter: saturate(1.12); }
.card-link:hover .card__media img, .card-link:focus-visible .card__media img { transform: scale(1.06); filter: saturate(1.1); }
.card__media { position: relative; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(244,119,43,.22), rgba(244,119,43,0) 55%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.sector:hover .card__media::after, .card-link:hover .card__media::after, .card-link:focus-visible .card__media::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__media img.is-active { animation: none; transition: none; }
  .tile, .card-link, .tile img, .sector .card__media img, .card-link .card__media img { transition: none; transform: none !important; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 128px; }
  .hero__foot { left: var(--gutter); right: var(--gutter); bottom: 22px; flex-wrap: wrap; gap: 12px 16px; letter-spacing: .12em; }
  .hero__foot > span:first-child { flex-basis: 100%; }
  .hero__dots { flex: 1; }
}
/* small phones: let the hero grow rather than tuck the heading under the header */
@media (max-width: 940px) { .hero { max-height: none; padding-top: calc(var(--header-h) + 32px); } }

/* v3: trusted consultants under the core team */
.team-trusted { margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--line); }
.team-trusted__title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); text-transform: uppercase; }
.team-trusted__note { margin: 10px 0 32px; color: var(--muted); }

/* v3: small photo credit for the picture showing */
.hero__credit { font: 400 .6875rem/1.2 var(--font-text); letter-spacing: .04em; text-transform: none; color: rgba(255,255,255,.72); text-decoration: none; }
.hero__credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hero__credit a:hover, .hero__credit a:focus-visible { color: var(--white); border-bottom-color: var(--white); }
.has-video .hero__credit { display: none; }

/* v3: photo credits under project pictures */
figure.feature__media { margin: 0; }
.feature__credit { position: absolute; right: 0; bottom: 0; padding: 4px 8px; background: rgba(7,26,43,.6); color: rgba(255,255,255,.85); font: 400 .6875rem/1.2 var(--font-text); }
.feature__credit a { color: inherit; }
/* v3: menu stays on one line on smaller laptops */
.nav__list a { white-space: nowrap; }
@media (min-width: 941px) and (max-width: 1180px) {
  .nav, .nav__list { gap: 18px; }
  .nav__list a { letter-spacing: .08em; font-size: .75rem; }
  .brand > span small, .brand__tag { display: none; }
}

/* v3: home hero buttons: plain at rest; orange only under the pointer (or keyboard focus) */
.btn-row--swap { gap: 12px; }
.btn-row--swap .btn--quiet { --btn-bg: transparent; }
.btn-row--swap .btn:hover, .btn-row--swap .btn:focus-visible { --btn-bg: var(--signal); }

/* v3: Website Carbon badge, restyled to sit quietly in the navy footer (white text, thin outline) */
.site-footer #wcb.carbonbadge { font-size: 12px; color: #cfe6f4; text-align: left; }
.site-footer #wcb.carbonbadge #wcb_g, .site-footer #wcb.carbonbadge #wcb_a { font-family: var(--font-text); border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
.site-footer #wcb.carbonbadge #wcb_g { border-right: 0; font-weight: 500; }
.site-footer #wcb.carbonbadge #wcb_a { border-left: 1px solid rgba(255,255,255,.35); font-weight: 600; color: #fff; transition: background-color .25s var(--ease); }
.site-footer #wcb.carbonbadge #wcb_a:hover, .site-footer #wcb.carbonbadge #wcb_a:focus-visible { background: var(--signal); border-color: var(--signal); }
.site-footer #wcb.carbonbadge #wcb_2 { color: #7f98ac; }

/* v3: article and FAQ pages (built by company/website/build_articles.py) */
.article-hero { min-height: 0; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(36px, 5vw, 56px); }
.article-hero h1 { max-width: 24ch; text-wrap: balance; }
.article__back { display: inline-flex; gap: 8px; margin-bottom: 20px; font: 600 .8125rem/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.article__back:hover { color: var(--signal); }
.article__meta { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.article { max-width: 70ch; margin: 0 auto; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.article > * + * { margin-top: 1em; }
.article h2 { margin-top: 2em; font: 600 clamp(1.375rem, 2.2vw, 1.75rem)/1.2 var(--font-display); letter-spacing: .01em; color: var(--ink); text-wrap: balance; }
.article h3 { margin-top: 1.6em; font: 600 1.1875rem/1.3 var(--font-display); letter-spacing: .02em; color: var(--ink); }
.article--faq h2 { padding-top: 1.2em; border-top: 1px solid var(--mist); }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: .4em; }
.article li::marker { color: var(--signal); }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--blue); }
.article img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; border-radius: 4px; }
.article table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.article th, .article td { padding: 8px 10px; border-bottom: 1px solid var(--mist); text-align: left; vertical-align: top; }
.article blockquote { margin-left: 0; padding-left: 1em; border-left: 3px solid var(--signal); color: var(--ink); }
.article__note { padding: 14px 18px; background: var(--mist); border-left: 4px solid var(--signal); font-size: .9375rem; color: var(--ink); }
.article__end { margin-top: 3em !important; padding-top: 1.4em; border-top: 1px solid var(--mist); }
.article { overflow-wrap: anywhere; }
.article-hero h1 { overflow-wrap: break-word; hyphens: auto; }
.article .article__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 1.8em; }
