/* ==========================================================================
   STS Holdings — global stylesheet (prototype)
   Tokens follow §5 of STS-Holdings-Website-Build-Spec.md.
   Brand colours come from the current STS Holdings logo (the sts.holdings
   Instagram profile, Oct 2026): ink "S S", a gold "T" and gold HOLDINGS.
   Gold is richer and more prominent since the 22 Oct 2026 review ("make it look a
   little bit richer"): gold buttons, gold labels and rules, a gold-gradient keyword.
   The site is white by default; dark is a choice.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: only light;

  /* Brand */
  --color-primary: #2A2728;          /* STS charcoal, from the logo grey */
  --color-primary-dark: #151314;
  --color-brand-grey: #5F5A5B;       /* logo grey */
  --color-accent: #B08D45;           /* rich logo gold: the T and HOLDINGS */
  --color-accent-dark: #8A6B2C;      /* buttons and hover; white text on it is 5:1 */
  --color-accent-text: #7A5F26;      /* gold for small text, 5.6:1 on the page */
  --color-accent-soft: #F4ECDA;      /* gold tint for icon wells and rules */
  --grad: linear-gradient(96deg, #8A6B2C 0%, #C9A55A 46%, #B08D45 68%, #7A5F26 100%);
  --gold-sheen: linear-gradient(180deg, #9B7A35 0%, #8A6B2C 55%, #7A5D24 100%);

  /* Neutrals */
  --color-bg: #F5F5F4;
  --color-surface: #FFFFFF;
  --color-surface-2: #EEEDEC;
  --color-text: #1B191A;
  --color-muted: #625D5E;
  --color-border: #DEDBDA;
  --color-border-strong: #C9C5C4;
  --color-line: rgb(27 25 26 / .09);
  --color-grid: rgb(27 25 26 / .06);
  --glass: rgb(255 255 255 / .66);
  --glass-strong: rgb(255 255 255 / .86);
  --glass-border: rgb(27 25 26 / .09);
  --inset-hi: inset 0 1px 0 rgb(255 255 255 / .9);
  --hero-glow: #FFFFFF;
  --error: #B42318;
  --color-link: #1D5FD1;             /* product and partner websites, so they read as web links */

  /* Buttons */
  --btn-bg: #8A6B2C;
  --btn-text: #FFFFFF;
  --btn-bg-hover: #765A22;

  /* Dark bands, footer and drawer (dark in both themes) */
  --band-bg: #121011;
  --band-bg-2: #1E1B1C;
  --band-text: #F5F3F2;
  --band-muted: #B7B1B2;
  --band-line: rgb(255 255 255 / .1);

  /* Globe and network art (comma triplets so canvas and rgba() can add alpha) */
  --globe-ink: 27, 25, 26;
  --globe-accent: 196, 156, 72;

  /* Status pills */
  --color-live: #1E7F4F;
  --color-beta: #B26A00;
  --color-review: #7A4DD1;
  --color-retired: #8A8F94;
  --color-tbc: #8A8485;

  /* Placeholder markers, highlighted with ?dev=1 */
  --mk-bg: #FFE45C;
  --mk-text: #1B191A;
  --mk-ring: #E2BD00;
  --verify-bg: #F5A524;
  --verify-text: #1B191A;

  /* Type */
  --font-sans: "Geist", "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-brand: "Michroma", "Geist", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 6px 24px rgb(46 28 22 / .08);
  --shadow-lg: 0 32px 64px -32px rgb(46 28 22 / .32);
  --header-h: 64px;
  --section-y: clamp(48px, 6.5vw, 88px);   /* tightened 27 Oct 2026: gaps drew the eye */
  --head-gap: clamp(24px, 3vw, 40px);    /* section head to content */
  --gap: clamp(16px, 2vw, 24px);          /* every card and tile grid */
  --pad-card: clamp(20px, 2.2vw, 28px);   /* every card, tile and panel row */

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 500ms;          /* reveal on scroll */
  --t-fast: 180ms;       /* colour, border, background */
  --t-move: 350ms;       /* hover lifts, arrows, icons */
  --t-slow: 700ms;       /* photo zoom */
  --lift: -2px;          /* the one hover lift for cards and tiles */
  --zoom: 1.03;          /* the one photo zoom */
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-accent: #D0AE62;
  --color-accent-dark: #C49F4E;
  --color-accent-text: #DCC07F;
  --color-accent-soft: #2A2416;
  --grad: linear-gradient(96deg, #C9A55A 0%, #E8CF8E 48%, #D0AE62 100%);
  --gold-sheen: linear-gradient(180deg, #DDBD72 0%, #C9A55A 60%, #B8933F 100%);
  --color-bg: #0E0D0D;
  --color-surface: #161415;
  --color-surface-2: #1D1A1B;
  --color-text: #EEECEB;
  --color-muted: #A59FA0;
  --color-border: #2E2A2B;
  --color-border-strong: #45403F;
  --color-line: rgb(255 255 255 / .08);
  --color-grid: rgb(255 255 255 / .045);
  --glass: rgb(26 23 24 / .62);
  --glass-strong: rgb(22 20 21 / .88);
  --glass-border: rgb(255 255 255 / .09);
  --inset-hi: inset 0 1px 0 rgb(255 255 255 / .06);
  --hero-glow: #1C1919;
  --error: #FF8A7A;
  --color-link: #8AB4FF;
  --btn-bg: #C9A55A;
  --btn-text: #151314;
  --btn-bg-hover: #D9B96C;
  --band-bg: #151314;
  --band-bg-2: #201D1E;
  --globe-ink: 245, 243, 242;
  --globe-accent: 222, 186, 104;
  --color-live: #3DBE80;
  --color-beta: #E09B2D;
  --color-review: #A685F0;
  --color-retired: #9AA0A6;
  --color-tbc: #8E8889;
  --shadow: 0 6px 24px rgb(4 2 3 / .4);
  --shadow-lg: 0 32px 64px -32px rgb(4 2 3 / .8);
}

/* Anything sitting on a dark band re-maps the tokens, so every component
   (buttons, inputs, pills, cards) adapts without extra rules. */
.on-dark {
  --color-text: var(--band-text);
  --color-muted: var(--band-muted);
  --color-line: var(--band-line);
  --color-border: rgb(255 255 255 / .16);
  --color-border-strong: rgb(255 255 255 / .28);
  --color-surface: rgb(255 255 255 / .04);
  --color-surface-2: rgb(255 255 255 / .07);
  --color-grid: rgb(255 255 255 / .05);
  --color-accent-text: #DCC07F;
  --glass: rgb(255 255 255 / .06);
  --glass-border: rgb(255 255 255 / .1);
  --inset-hi: inset 0 1px 0 rgb(255 255 255 / .07);
  --btn-bg: #C9A55A;
  --btn-text: #151314;
  --btn-bg-hover: #D9B96C;
  --gold-sheen: linear-gradient(180deg, #DDBD72 0%, #C9A55A 60%, #B8933F 100%);
  --globe-ink: 245, 243, 242;
  --error: #FF8A7A;
  --color-link: #8AB4FF;
  color: var(--band-text);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 104px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(2rem, 1.2rem + 3.5vw, 3.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
h2, .h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -.038em; }
h3, .h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
p { text-wrap: pretty; }
small, .small { font-size: .875rem; line-height: 1.5; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

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

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: color-mix(in srgb, var(--color-accent) 24%, transparent); }

.skip-link {
  position: fixed;
  left: 12px;
  top: -120px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

main:focus { outline: none; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-line);
}
.section--tight { padding-block: clamp(36px, 5vw, 72px); }
.section + .section:not(.section--surface) { padding-top: 0; }
/* Same specificity as the rule above, so a plain section after a surface one gets its top padding back */
.section--surface + .section:not(.section--surface) { padding-top: var(--section-y); }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: var(--head-gap);
}
.section-head__intro { max-width: 62ch; color: var(--color-muted); }
.section-head__main { display: grid; gap: 14px; }
.section-head__aside { margin-top: -6px; }
@media (min-width: 768px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
  .section-head__aside { margin: 0 0 -10px; }
}

/* One small label style for the few places that need one (no numbered eyebrows) */
.label { font-size: .875rem; font-weight: 500; line-height: 1.4; color: var(--color-muted); }

.lead { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); line-height: 1.55; color: var(--color-muted); max-width: 62ch; }
.muted { color: var(--color-muted); }
.mono { font-family: var(--font-mono); }
.measure { max-width: 66ch; }
.nowrap { white-space: nowrap; }
.stack { display: grid; gap: var(--stack, 16px); align-content: start; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, 12px); }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--top { align-items: start; }
}

/* Grids — columns per §8 */
.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.grid--logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .grid--products, .grid--services, .grid--team, .grid--news, .grid--footer, .grid--features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid--services, .grid--cases, .grid--team, .grid--news, .grid--offices, .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--footer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }

/* 4. Buttons and links ----------------------------------------------------- */
.btn {
  --b-bg: var(--btn-bg);
  --b-text: var(--btn-text);
  --b-border: transparent;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--b-border);
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-text);
  font: 500 .9375rem/1 var(--font-sans);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-move) var(--ease-out), background-color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-move) var(--ease-out), color var(--t-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 28px -16px rgb(27 20 22 / .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background-image: var(--gold-sheen); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22); }
.btn--primary:hover { background-image: none; }
.btn .icon { transition: transform var(--t-move) var(--ease-out); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn:hover .icon--arrow-up-right { transform: translate(2px, -2px); }
.btn--primary:hover { --b-bg: var(--btn-bg-hover); }
.btn--secondary {
  --b-bg: var(--glass);
  --b-text: var(--color-text);
  --b-border: var(--color-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { --b-border: var(--color-border-strong); box-shadow: 0 14px 28px -18px rgb(27 20 22 / .35); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  color: var(--color-text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.link-arrow__label {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size .45s var(--ease-out);
  padding-bottom: 1px;
}
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .link-arrow__label { background-size: 100% 1px; }
.link-arrow .icon { flex: none; transition: transform var(--t-move) var(--ease-out); }
.link-arrow:hover .icon--arrow-right { transform: translateX(3px); }
.link-arrow:hover .icon--arrow-up-right { transform: translate(2px, -2px); }
.link-arrow:hover .icon--arrow-left { transform: translateX(-3px); }
.link-arrow--muted { color: var(--color-muted); }
/* A product or partner website: blue and underlined, so it reads as a web link */
.link-arrow--web { color: var(--color-link); }
.link-arrow--web .link-arrow__label { background-size: 100% 1px; }
.link-arrow--web:hover .link-arrow__label { background-size: 100% 2px; }

.text-link { color: var(--color-text); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }

.icon { flex: none; }

/* 5. Pills, tags and markers ---------------------------------------------- */
.pill {
  --c: var(--color-tbc);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  color: var(--color-text);
  font: 500 .8125rem/1.2 var(--font-sans);
  white-space: nowrap;
}
.pill::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent);
}
.pill--live, .pill--active { --c: var(--color-live); }
.pill--beta { --c: var(--color-beta); }
.pill--review { --c: var(--color-review); }
.pill--retired { --c: var(--color-retired); }
.pill--neutral::before { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--color-surface-2);
  color: var(--color-text);
  font: 500 .8125rem/1.2 var(--font-sans);
  white-space: nowrap;
}

.signal {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* [TBC], DUMMY and [ASSET] markers stay visible; ?dev=1 highlights them. */
.mk { border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color var(--t-fast), box-shadow .2s; }
.mk--tbc, .mk--asset {
  font-family: var(--font-mono);
  font-size: .84em;
  font-weight: 450;
  letter-spacing: -.01em;
  color: var(--color-muted);
}
h1 .mk--tbc, h2 .mk--tbc, h3 .mk--tbc { font-size: .62em; vertical-align: .18em; }
.is-dev .mk {
  background: var(--mk-bg);
  color: var(--mk-text);
  box-shadow: 0 0 0 1px var(--mk-ring);
}
.is-dev .mk .mk { box-shadow: none; }

.claim__badge {
  display: none;
  margin-left: .45em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--verify-bg);
  color: var(--verify-text);
  font: 600 .625rem/1.2 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: .2em;
  white-space: nowrap;
  -webkit-text-stroke: 0;
}
.is-dev .claim__badge { display: inline-block; }
.is-dev .claim { outline: 1px dashed var(--verify-bg); outline-offset: 3px; border-radius: 4px; }
.dev-only { display: none !important; }
.is-dev .dev-only { display: block !important; }

.marker-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 .75rem/1.3 var(--font-mono);
  color: var(--color-muted);
}

/* 6. Asset placeholder (§11 rule) ----------------------------------------- */
.asset {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  padding: 12px;
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--color-text) 30%, transparent);
  border-radius: var(--radius);
  background-color: color-mix(in srgb, var(--color-text) 4%, var(--color-surface));
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center;
  color: var(--color-muted);
  text-align: center;
}
.asset__label {
  position: relative;
  max-width: 92%;
  font-size: .75rem !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.asset__initials {
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  color: color-mix(in srgb, var(--color-text) 32%, transparent);
}
.asset--logo { aspect-ratio: 5 / 2; min-height: 0; }
.asset--logo-sm { aspect-ratio: 3 / 2; min-height: 0; }

.frame { position: relative; margin: 0; }
.frame__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-inline: 2px;
  font: 500 .8125rem/1.3 var(--font-sans);
  color: var(--color-muted);
}

/* 7. Cards ----------------------------------------------------------------- */
.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: var(--pad-card);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
  transition: transform var(--t-move) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-move) var(--ease-out);
}
.card--glass {
  background: var(--glass);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
}
.card--interactive:hover {
  transform: translateY(var(--lift));
  border-color: color-mix(in srgb, var(--color-text) 18%, transparent);
  box-shadow: var(--inset-hi), var(--shadow-lg);
}

.card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 12px; }
.card__title { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); font-weight: 600; line-height: 1.25; letter-spacing: -.022em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__meta { font: 500 .8125rem/1.45 var(--font-sans); color: var(--color-muted); }
.card__text { color: var(--color-muted); font-size: .9375rem; line-height: 1.6; }
.card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--color-line);
}
.card__foot--start { justify-content: flex-start; }
/* Bullet lists only: unstyled lists (role="list") in cards keep their full width */
.card ul:not([role="list"]) { padding-left: 1.1em; }
.card ul:not([role="list"]) > li + li { margin-top: 4px; }

/* Product card */
.product-card { gap: 16px; }
.product-card__name { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.product-card__line { color: var(--color-muted); font-size: .9375rem; }
.product-card--expanded { padding: clamp(24px, 3vw, 40px); gap: 20px; }
.product-card--expanded .product-card__name { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.product-card__cols { display: grid; gap: 20px; }
@media (min-width: 640px) { .product-card__cols { grid-template-columns: 1.3fr 1fr; } }
.product-card__label { margin-bottom: 8px; font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-muted); }
.product-card__list { margin: 0; padding-left: 1.1em; font-size: .9375rem; }

/* Product card (reference: framed product shot, badge, strip, name + link, tag row).
   Light card in the light theme, dark card in the dark theme: it follows the tokens. */
@media (min-width: 1200px) { .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--inset-hi), 0 18px 40px -28px rgb(27 20 22 / .35);
  transition: transform var(--t-move) var(--ease-out), box-shadow var(--t-move) var(--ease-out), border-color var(--t-fast);
}
.pcard:hover { transform: translateY(var(--lift)); border-color: color-mix(in srgb, var(--color-text) 18%, transparent); box-shadow: var(--inset-hi), var(--shadow-lg); }
.section--surface .pcard { background: var(--color-bg); }
.pcard__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--tile, var(--color-surface-2));
  box-shadow: inset 0 0 0 1px var(--color-line);
}
.pcard__media .logo-tile { position: absolute; inset: 0 0 46px; height: auto; aspect-ratio: auto; padding: 14%; border: 0; border-radius: 0; background: none; }
.pcard__media .logo-tile img { max-width: 100%; max-height: 72px; transition: transform var(--t-slow) var(--ease-out); }
.pcard:hover .pcard__media .logo-tile img { transform: scale(1.05); }
.pcard__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1B191A;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 16px -8px rgb(20 12 10 / .4);
}
.pcard__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1E7F4F; }
.pcard__strip {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 16px;
  background: rgb(42 36 32 / .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}
.pcard__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 8px 8px; }
.pcard__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; }
.pcard__name { font-size: 1.25rem; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.pcard__site {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.pcard__site:hover { text-decoration-thickness: 2px; }
.pcard__line { color: var(--color-muted); font-size: .9375rem; line-height: 1.55; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 2px; padding: 0; list-style: none; }
.pcard__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: #2A2420;
  color: #F5F3F2;
  font-size: .8125rem;
  font-weight: 500;
}
:root[data-theme="dark"] .pcard__tag { background: rgb(255 255 255 / .1); color: var(--color-text); }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard__media .logo-tile img { transition: none; } .pcard:hover .pcard__media .logo-tile img { transform: none; } }

/* Service card */
.service-card { gap: 12px; }

/* Case study card */
.case-card .asset { aspect-ratio: 3 / 1; min-height: 0; }

/* Team card: round portrait, name, title, 3-line bio with a More toggle, LinkedIn */
.team-card { gap: 14px; }
.team-card__head { display: flex; align-items: center; gap: 18px; min-width: 0; }
.team-card__id { display: grid; gap: 4px; min-width: 0; }
.team-card__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.team-card__title { font-size: .875rem; color: var(--color-muted); line-height: 1.4; }
.team-card__bio {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: .875rem;
  color: var(--color-muted);
}
.team-card__bio.is-expanded { display: block; -webkit-line-clamp: unset; }
.team-card__press { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .8125rem; font-weight: 500; color: var(--color-accent-text); }
.team-card__press:hover { text-decoration: underline; text-underline-offset: .25em; }
.team-card__press .icon { transition: transform var(--t-move) var(--ease-out); }
.team-card__press:hover .icon { transform: translate(2px, -2px); }
.team-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--color-line);
}

/* Avatars: photo in a thin double ring */
.avatar {
  --av: 64px;
  flex: none;
  display: block;
  width: var(--av);
  height: var(--av);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface-2);
  box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 4px var(--color-border-strong);
}
.avatar--sm { --av: 48px; }
.avatar--md { --av: 64px; }
.avatar--lg { --av: 76px; }
.asset.avatar { min-height: 0; padding: 0; border-radius: 50%; }
.asset.avatar .asset__initials { font-size: calc(var(--av) * .34); }
.asset.avatar .asset__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.more-btn {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--color-muted);
  font-size: .75rem;
}
.icon-chip--disabled { opacity: .75; }

/* Office card */
.office-card { gap: 16px; }
.office-card__code {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.office-card__iata { font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.office-card__time { font: 500 .875rem/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--color-muted); }
.office-card address { font-style: normal; color: var(--color-muted); font-size: .9375rem; line-height: 1.55; }
.office-card__lines { display: grid; gap: 2px; }
.office-card__lines a, .office-card__lines > span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; text-decoration: none; }
.office-card__lines a:hover { text-decoration: underline; }
.office-card__coords { font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .06em; color: var(--color-muted); white-space: nowrap; }

/* News card */
.news-card { gap: 12px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.news-card__date { font: 500 .75rem/1 var(--font-mono); color: var(--color-muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.news-card__author { font-size: .8125rem; color: var(--color-muted); }

/* Value / feature cards */
.value-card__num, .feature__num { font: 500 .75rem/1 var(--font-mono); color: var(--color-muted); letter-spacing: .08em; }
.value-card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.feature { display: grid; gap: 10px; align-content: start; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--color-line); background: var(--color-surface-2); }

/* 8. Header and drawer ----------------------------------------------------- */
.site-header {
  --hdr-text: var(--color-text);
  --hdr-hover: color-mix(in srgb, var(--color-text) 7%, transparent);
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
}
.header__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  height: var(--header-h);
  margin: 0 auto;
  padding-inline: var(--gutter);
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--hdr-text);
  transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s, height .35s var(--ease-out), margin .35s var(--ease-out), max-width .35s var(--ease-out), border-radius .35s, padding .35s var(--ease-out);
}
.site-header.is-solid .header__inner {
  width: calc(100% - 16px);
  max-width: calc(var(--container) + 32px);
  height: 60px;
  margin-top: 8px;
  padding-inline: 16px 8px;
  border-color: var(--glass-border);
  border-radius: 18px;
  background: var(--glass-strong);
  box-shadow: var(--shadow), var(--inset-hi);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}
body[data-hero="dark"] .site-header:not(.is-solid) {
  --hdr-text: #FFFFFF;
  --hdr-hover: rgb(255 255 255 / .1);
}
body[data-hero="dark"] .site-header:not(.is-solid) .btn--primary { --b-bg: #C9A55A; --b-text: #151314; --btn-bg-hover: #D9B96C; }
body[data-hero="dark"] .site-header:not(.is-solid) .brand__logo { color: #FFFFFF; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  color: var(--hdr-text);
  text-decoration: none;
}
/* The STS Holdings logo (the #sts-logo symbol at the top of each page). The "S S" take
   currentColor, black on light and white on dark; the gold is fixed in the symbol. */
.brand__logo {
  display: block;
  flex: none;
  width: auto;
  height: 16px;
  aspect-ratio: 958 / 111.45;
  color: #000000;
}
:root[data-theme="dark"] .brand__logo, .on-dark .brand__logo { color: #FFFFFF; }
@media (min-width: 560px) { .brand__logo { height: 17px; } }   /* about the old text logo's footprint, 146px wide */

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--hdr-text);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  opacity: .78;
  transition: opacity var(--t-fast), background-color var(--t-fast);
}
.nav__link:hover { opacity: 1; background: var(--hdr-hover); text-decoration: none; }
.nav__link[aria-current], .nav__trigger[data-current] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

/* Two-level menu (review notes, 24 Oct 2026): About and Products open a panel of sub-pages.
   site.js opens it on click, on hover with a mouse, and closes it on Esc, outside clicks and
   focus leaving; without JavaScript, hover and focus open it. */
.nav__item { position: relative; }
.nav__trigger { gap: 4px; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.nav__trigger .icon { opacity: .6; transition: transform var(--t-move) var(--ease-out); }
.nav__item.is-open > .nav__trigger { opacity: 1; background: var(--hdr-hover); }
.nav__item.is-open > .nav__trigger .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow), 0 28px 56px -20px rgb(27 25 26 / .28);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px) scale(.98);
  transform-origin: 50% 0;
  transition: opacity .16s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.nav-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; } /* bridge under the trigger */
.js .nav__item.is-open > .nav-menu,
html:not(.js) .nav__item:hover > .nav-menu,
html:not(.js) .nav__item:focus-within > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition: opacity .2s var(--ease), transform .34s var(--ease-out), visibility 0s;
}
.nav-menu__list { display: grid; grid-template-columns: repeat(2, minmax(0, 248px)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-menu--logos .nav-menu__list { grid-template-columns: repeat(2, minmax(0, 300px)); }
.nav-menu__link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--t-fast);
}
.nav-menu__link:hover { background: var(--color-surface-2); text-decoration: none; }
.nav-menu__text { display: grid; gap: 2px; min-width: 0; }
.nav-menu__title { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.nav-menu__desc { color: var(--color-muted); font-size: .8125rem; line-height: 1.4; }
.nav-menu__link[aria-current] .nav-menu__title { color: var(--color-accent-text); }
.nav-menu__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 84px;
  height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--tile, #FFFFFF);
}
.nav-menu__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.nav-menu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 6px 0;
  padding: 12px 8px 6px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-menu__all .icon { transition: translate var(--t-move) var(--ease-out); }
.nav-menu__all:hover { color: var(--color-accent-text); text-decoration: none; }
.nav-menu__all:hover .icon { translate: 3px 0; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.header__sub {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--hdr-text);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
.header__sub:hover { background: var(--hdr-hover); text-decoration: none; }
.header__cta { display: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hdr-text, var(--color-text));
  transition: background-color var(--t-fast);
}
.icon-btn:hover { background: var(--hdr-hover, color-mix(in srgb, currentColor 8%, transparent)); }

.theme-toggle .icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon--sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon--moon { display: none; }

@media (min-width: 560px) { .header__cta { display: inline-flex; } }
/* Eight menu items since 27 Oct 2026: the full nav fits from 1200px; the drawer covers below. */
@media (min-width: 1200px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .nav { margin-inline: auto; }
}
@media (min-width: 1200px) and (max-width: 1359px) { .nav__link { padding: 0 9px; } }
@media (min-width: 1500px) { .header__sub { display: inline-flex; } }

/* Mobile drawer (native <dialog>: Esc closes, the page behind is inert) */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--band-text);
  overflow: hidden;
}
.drawer::backdrop { background: rgb(12 10 11 / .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 460px);
  height: 100%;
  padding: calc(12px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(70% 40% at 100% 100%, rgba(var(--globe-accent), .14), transparent 70%),
    linear-gradient(180deg, var(--band-bg), var(--band-bg-2));
  border-left: 1px solid var(--band-line);
}
.drawer[open] .drawer__panel { animation: drawer-in .55s var(--ease-out); }
.drawer[open]::backdrop { animation: fade-in .3s var(--ease); }
.drawer.is-closing .drawer__panel { animation: drawer-out .28s var(--ease) forwards; }
.drawer.is-closing::backdrop { animation: fade-out .28s var(--ease) forwards; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.drawer__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--band-line); }
.drawer__link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 4px;
  border-bottom: 1px solid var(--band-line);
  color: var(--band-text);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -.025em;
  text-decoration: none;
}
.drawer__link:hover { text-decoration: none; background: rgb(255 255 255 / .04); }
.drawer__link[aria-current] { color: #FFFFFF; box-shadow: inset 2px 0 0 var(--color-accent); padding-left: 14px; }
.drawer__link .icon { margin-left: auto; opacity: .5; }
/* Drawer groups: About and Products open in place to show their sub-pages */
.drawer__trigger { width: 100%; border: 0; border-bottom: 1px solid var(--band-line); background: none; font-family: inherit; text-align: left; cursor: pointer; }
.drawer__trigger[data-current] { color: #FFFFFF; }
.drawer__trigger .icon { transition: transform var(--t-move) var(--ease-out); }
.drawer__group.is-open > .drawer__trigger .icon { transform: rotate(180deg); opacity: .9; }
.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s var(--ease-out), visibility 0s .35s;
}
.drawer__group.is-open > .drawer__sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease-out), visibility 0s; }
.drawer__sublist { min-height: 0; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.drawer__sublink {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px 0 18px;
  border-bottom: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
}
.drawer__sublink:hover { color: var(--band-text); text-decoration: none; background: rgb(255 255 255 / .04); }
.drawer__sublink[aria-current] { color: #FFFFFF; box-shadow: inset 2px 0 0 var(--color-accent); }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; }
.drawer__meta { font: 500 .8125rem/1.6 var(--font-sans); color: var(--band-muted); }

/* 9. Heroes ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 78%);
}

/* Home hero: light, centred, network globe behind (the Dribbble reference) */
.hero--home {
  min-height: 70vh;
  min-height: 70svh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(28px, 5vw, 64px)) 0 clamp(20px, 3vw, 32px);
  text-align: center;
  background:
    radial-gradient(90% 60% at 50% 0%, var(--hero-glow) 0%, transparent 62%),
    var(--color-bg);
}
@media (min-width: 768px) {
  .hero--home { min-height: 90vh; min-height: 90svh; }
}
.hero__haze {
  position: absolute;
  left: 50%;
  bottom: -38%;
  z-index: -2;
  width: min(1280px, 150vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--globe-accent), .16), rgba(var(--globe-accent), .05) 55%, transparent);
  pointer-events: none;
}
/* The mask stays put while the globe layer inside it moves (parallax), so the globe
   fades into the next section instead of being cut by the hero's bottom edge. */
.hero__mask {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 240px), transparent calc(100% - 8px));
  mask-image: linear-gradient(180deg, #000 calc(100% - 240px), transparent calc(100% - 8px));
}
.hero__visual {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__canvas { width: 100%; height: 100%; }

.hero__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.4vw, 26px);
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__title {
  max-width: 19ch;
  font-size: clamp(2.25rem, 1rem + 4.7vw, 4.375rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: .04em;
}
.hero__sub { max-width: 58ch; color: var(--color-muted); font-size: clamp(1rem, .95rem + .4vw, 1.1875rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.hero__note { margin-top: -6px; }
/* Room under the buttons for the globe's lower hemisphere (globe.js sizes the sphere to it) */
.hero__stage { flex: 1 0 clamp(200px, 32vh, 400px); }

.hero__meta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-inline: var(--gutter);
}
.hero__meta-label {
  font: 500 .8125rem/1 var(--font-sans);
  color: var(--color-muted);
}
.hero__offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__office {
  display: grid;
  justify-items: center;
  align-content: start;   /* a city whose country wraps must not push the others' times down */
  gap: 4px;
  padding: 4px 8px;
}
.hero__office + .hero__office { border-left: 1px solid var(--color-border); }
.hero__city { font-size: clamp(.875rem, .8rem + .55vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.hero__time { font: 500 .8125rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.hero__entity { font: 500 .75rem/1.3 var(--font-sans); color: var(--color-muted); }
@media (min-width: 640px) {
  .hero__office { grid-template-columns: auto auto; align-items: baseline; column-gap: 12px; justify-content: center; }
  .hero__entity { grid-column: 1 / -1; }
}
/* Below 375px "Johannesburg" is wider than a third of the row and crowds or crosses the divider */
@media (max-width: 374px) {
  .hero__office { padding-inline: 2px; }
  .hero__city { font-size: .8125rem; }
}

.corner-tag {
  position: absolute;
  right: var(--gutter);
  bottom: 12px;
  z-index: 2;
  font-size: .625rem !important;
  opacity: .8;
}

/* Plain hero: surface colour, no image */
.hero--plain {
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(32px, 5vw, 64px)) 0 clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(70% 120% at 90% 0%, var(--hero-glow), transparent 70%),
    var(--color-bg);
}
.hero--plain .hero__grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000 10%, transparent 75%);
}
.hero__deco {
  position: absolute;
  top: 0;
  right: -8%;
  z-index: -1;
  width: min(62vw, 760px);
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 60% 45%, #000 30%, transparent);
  mask-image: radial-gradient(closest-side at 60% 45%, #000 30%, transparent);
}
.hero--plain .hero__content {
  justify-items: start;
  max-width: 860px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.hero--plain .hero__title { max-width: 22ch; font-size: clamp(2rem, 1.2rem + 3.5vw, 3.5rem); font-weight: 700; }

/* minmax(0, 1fr): an auto column grew to the widest button label and pushed the hero text past a 320px screen */
.hero__product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) {
  .hero__product { grid-template-columns: minmax(0, 1fr) 360px; align-items: end; gap: 56px; }
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 .8125rem/1.3 var(--font-sans);
  color: var(--color-muted);
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { color: var(--color-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--color-text); }

/* 10. Parallax bands (§6) --------------------------------------------------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 60vh;
  min-height: 60svh;
  padding-block: var(--section-y);
  background: var(--band-bg);
  color: var(--band-text);
}
.band__bg {
  position: absolute;
  inset: -20% 0;
  z-index: -2;
  will-change: transform;
}
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 88% 78%, rgba(var(--globe-accent), .16), transparent 72%),
    radial-gradient(45% 55% at 8% 12%, rgb(255 255 255 / .07), transparent 70%),
    linear-gradient(180deg, var(--band-bg), var(--band-bg-2));
}
.band__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 80%);
}
.band__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net line { stroke: rgba(var(--globe-ink), .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.net circle { fill: rgba(var(--globe-ink), .5); }
.net circle.is-hub { fill: none; stroke: rgba(var(--globe-ink), .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.net circle.is-accent { fill: rgba(var(--globe-accent), .95); }
.net .orbit { fill: none; stroke: rgba(var(--globe-ink), .12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.band .net { --globe-ink: 245, 243, 242; }
.net__spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.band__floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 62%;
  background-image:
    linear-gradient(rgb(255 255 255 / .1) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .1) 1px, transparent 1px);
  background-size: 84px 84px;
  background-position: center bottom;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
  mask-image: linear-gradient(to top, #000, transparent 85%);
}
.band__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgb(18 16 17 / .28), rgb(18 16 17 / .12));
  pointer-events: none;
}
.band--photo .band__overlay { background: linear-gradient(rgb(0 0 0 / .55), rgb(0 0 0 / .45)); }
.band__content { position: relative; width: 100%; }
.band .corner-tag { color: var(--band-muted); }

.band--hero {
  align-items: end;
  min-height: 70vh;
  min-height: 70svh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 56px) 0 clamp(48px, 7vw, 88px);
}
@media (min-width: 768px) {
  .band--hero { min-height: 90vh; min-height: 90svh; }
}
.band--hero .hero__title { max-width: 16ch; font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem); font-weight: 650; text-align: left; }
.band--hero .hero__sub { color: var(--band-muted); }
.band__hero-grid { display: grid; gap: 22px; max-width: 900px; }
.band__line {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: .9375rem;
}

/* Statement band */
.statement { display: grid; gap: clamp(24px, 3.5vw, 44px); }
.statement__text {
  display: grid;
  gap: .04em;
  font-size: clamp(2.75rem, 1rem + 8.2vw, 8.25rem);
  font-weight: 650;
  line-height: .9;
  letter-spacing: -.06em;
}
.statement__line { display: flex; align-items: flex-start; gap: clamp(10px, 2vw, 28px); }
.statement__idx {
  min-width: 3ch;
  padding-top: .9em;
  font: 500 .75rem/1 var(--font-mono);
  letter-spacing: .1em;
  color: var(--band-muted);
}
.statement__line--outline .statement__word { color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .82); }
.statement__dot { color: var(--color-accent); -webkit-text-stroke: 0; }
.statement__by {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 .8125rem/1.4 var(--font-sans);
  color: var(--band-muted);
}
.statement__by::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.statement--quote .statement__text {
  display: block;
  max-width: 26ch;
  font-size: clamp(1.75rem, 1rem + 2.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-transform: none;
}
.statement--quote .statement__text::before { content: "\201C"; color: var(--color-accent); margin-right: .05em; }
.statement--quote .statement__text::after { content: "\201D"; color: var(--band-muted); margin-left: .02em; }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--band-line);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px) clamp(10px, 2vw, 24px) 0 0;
}
.stat + .stat { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--band-line); }
@media (max-width: 767px) {
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 18px; border-top: 1px solid var(--band-line); }
}
.stat__num {
  font-size: clamp(3rem, 1.8rem + 4.6vw, 6rem);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { color: var(--color-accent); }
.stat__label { font: 500 .8125rem/1.4 var(--font-sans); color: var(--band-muted); }
.stat .mk--dummy { justify-self: start; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .1em; padding: 2px 6px; border: 1px dashed rgb(255 255 255 / .3); border-radius: 5px; color: var(--band-muted); }

/* 11. Story steps and timeline --------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-text), color-mix(in srgb, var(--color-text) 12%, transparent));
}
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -30px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 0 0 5px var(--color-bg);
}
.step:last-child::before { border-color: var(--color-accent); background: var(--color-accent); }
.step__num { font: 500 .8125rem/1 var(--font-sans); color: var(--color-muted); }
.step__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.step__text { color: var(--color-muted); font-size: .9688rem; max-width: 40ch; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 34px 0 0; }
  .steps::before { top: 10px; bottom: auto; left: 6px; right: 0; width: auto; height: 1px; background: linear-gradient(90deg, var(--color-text), color-mix(in srgb, var(--color-text) 12%, transparent)); }
  .step::before { top: -30px; left: 0; }
}

.timeline { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-text) 15%, transparent), var(--color-text) 20%, var(--color-text) 80%, var(--color-accent));
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 0 0 5px var(--color-bg);
}
.tl-item:last-child::before { background: var(--color-accent); border-color: var(--color-accent); }
.tl-card { display: grid; gap: 8px; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--inset-hi); }
.tl-year { font-size: .875rem; font-weight: 600; line-height: 1; color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.tl-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.tl-text { color: var(--color-muted); font-size: .9375rem; }
.tl-source { font-size: .75rem; line-height: 1.4; color: var(--color-muted); }
@media (min-width: 1024px) {
  .timeline { padding: 0; }
  .timeline::before { left: 50%; transform: translateX(-.5px); }
  .tl-item { width: 50%; padding-bottom: 28px; }
  .tl-item:nth-child(odd) { padding-right: 52px; text-align: right; }
  .tl-item:nth-child(even) { margin-left: 50%; padding-left: 52px; }
  .tl-item:nth-child(odd)::before { left: auto; right: -7px; }
  .tl-item:nth-child(even)::before { left: -6px; }
  .tl-item:nth-child(odd) .tl-card { justify-items: end; }
  .tl-item + .tl-item { margin-top: -40px; }
}

/* 12. About extras: org diagram, values, identity ---------------------------- */
.org { min-width: 760px; display: grid; justify-items: center; gap: 0; padding: 8px 4px 4px; }
.org__node {
  display: grid;
  gap: 4px;
  min-width: 160px;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
  text-align: center;
  font-weight: 600;
  letter-spacing: -.01em;
}
.org__node small { font-size: .8125rem; line-height: 1.3; color: var(--color-muted); font-weight: 500; }
.org__node--root { border-color: var(--color-text); }
.org__node--root::after { content: ""; display: block; }
.org__stem { width: 1px; height: 28px; background: var(--color-text); opacity: .5; }
.org__groups { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; width: 100%; padding-top: 28px; }
.org__groups::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 1px; background: var(--color-text); opacity: .5; }
.org__group { position: relative; display: grid; justify-items: center; gap: 14px; }
.org__group::before { content: ""; position: absolute; top: -28px; left: 50%; width: 1px; height: 28px; background: var(--color-text); opacity: .5; }
.org__label { font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-muted); text-align: center; }
.org__children { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.org__children .org__node { min-width: 0; padding: 10px 14px; font-size: .875rem; font-weight: 500; }

.identity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 18px 22px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  font-size: .9375rem;
  color: var(--color-muted);
}
.identity strong { color: var(--color-text); font-weight: 600; }

.big-quote { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; text-wrap: pretty; }

/* 13. Clients, testimonials, trust ----------------------------------------- */
.quote-card { gap: 18px; }
.quote-card blockquote { font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); line-height: 1.5; letter-spacing: -.015em; }
.quote-card figcaption { font: 500 .8125rem/1.5 var(--font-sans); color: var(--color-muted); }

.cert-row { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cert-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cert { display: grid; gap: 12px; align-content: start; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.cert__name { font-weight: 600; letter-spacing: -.01em; }

.acc {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
  overflow: hidden;
}
.acc + .acc { margin-top: 12px; }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 0 var(--pad-card);
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -.015em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: color-mix(in srgb, var(--color-text) 3%, transparent); }
.acc__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc__plus { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--color-line); border-radius: 50%; transition: transform var(--t-move) var(--ease-out); }
.acc[open] .acc__plus { transform: rotate(45deg); }
.acc__body { padding: 4px var(--pad-card) var(--pad-card); }

.specs { display: grid; margin: 0; border-top: 1px solid var(--color-line); }
.specs__row { display: grid; grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--color-line); }
.specs__row > dd { min-width: 0; overflow-wrap: anywhere; }
.specs__note { display: block; margin-top: 6px; color: var(--color-muted); font-size: .875rem; line-height: 1.5; }
.specs dt { font: 500 .8125rem/1.6 var(--font-sans); color: var(--color-muted); }
.specs dd { margin: 0; font-size: .9375rem; }

.doc-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface);
  text-decoration: none;
  font-weight: 500;
  transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out);
}
a.doc-link:hover { border-color: var(--color-border-strong); transform: translateX(2px); text-decoration: none; }
.doc-link > span:first-child { display: inline-flex; align-items: center; gap: 10px; }   /* icon beside its label (svg is block) */

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 18px 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

/* 14. Careers ---------------------------------------------------------------- */
.role-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.role {
  display: grid;
  gap: 8px 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 768px) { .role { grid-template-columns: minmax(0, 1fr) auto auto; } }
/* Tablet: the pills sit under the summary, so the title keeps its width; Apply stays on the right */
@media (min-width: 768px) and (max-width: 1023px) {
  .role { grid-template-columns: minmax(0, 1fr) auto; }
  .role__meta { grid-column: 1; }
  .role > .btn { grid-column: 2; grid-row: 1 / span 2; }
}
/* Desktop: rows share the list's columns, so every role's pills and Apply button line up */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 1024px) {
    .role-list { grid-template-columns: minmax(0, 1fr) auto auto; }
    .role { grid-column: 1 / -1; grid-template-columns: subgrid; }
  }
}
.role__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.role__main { display: grid; gap: 4px; min-width: 0; }
.role__business { font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-accent-text); }
.role__summary { color: var(--color-muted); font-size: .9375rem; max-width: 60ch; }
.role__meta { align-items: center; }
.role__meta .mk--dummy {
  padding: 4px 9px;
  border: 1px dashed var(--color-border-strong);
  border-radius: 999px;
  color: var(--color-muted);
  font: 500 .75rem/1.3 var(--font-mono);
  letter-spacing: .1em;
}
.role { transition: background-color var(--t-fast); padding-inline: 12px; margin-inline: -12px; border-radius: var(--radius); }
.role:hover { background: var(--color-bg); }
.role:hover .btn { transform: translateY(-1px); }
.role__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-muted);
}
.photo-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-grid .photo { aspect-ratio: 4 / 3; height: auto; }
.photo-grid .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; object-position: 50% 20%; }
@media (min-width: 768px) {
  .photo-grid .photo:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; height: 100%; }
}

/* 15. Forms ------------------------------------------------------------------ */
.form { position: relative; display: grid; gap: 18px; }
.form__fields { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* One track capped to the field, and hints that may break anywhere: an example URL in a hint
   otherwise widens the field past its column (Careers, 1024px). align-content: start keeps a field
   beside a taller one (with a hint) from stretching, so the two inputs stay level. */
.field { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; min-width: 0; }
.field__label { font-size: .875rem; font-weight: 500; line-height: 1.3; }
.field__req { color: var(--color-accent-text); margin-left: 2px; }
.field__hint { font-size: .8125rem; color: var(--color-muted); line-height: 1.45; overflow-wrap: anywhere; }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: .8125rem; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow .2s, background-color var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--color-muted) 80%, transparent); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-border-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--color-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-text) 9%, transparent); }
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23857F80' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.input[disabled] { opacity: .6; cursor: not-allowed; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.on-dark .input, .on-dark .select, .on-dark .textarea { background: rgb(255 255 255 / .05); }
.on-dark .select option { color: #151314; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 44px; padding-block: 2px; font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 7px;
  background: var(--color-surface);
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check input::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid var(--btn-text);
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .25s var(--ease-out);
}
.check input:checked { border-color: var(--btn-bg); background: var(--btn-bg); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check__text small { display: block; color: var(--color-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { margin-bottom: 10px; padding: 0; font-size: .875rem; font-weight: 500; }
.chip-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-size: .875rem;
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.chip-check:hover { border-color: var(--color-border-strong); }
.chip-check:has(input:checked) { border-color: var(--color-text); }
.chip-check input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-surface);
}
.chip-check input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--btn-bg); transform: scale(0); transition: transform .25s var(--ease-out); }
.chip-check input:checked { border-color: var(--btn-bg); }
.chip-check input:checked::after { transform: scale(1); }

.cadence { font-size: .8125rem; line-height: 1.5; color: var(--color-muted); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__summary { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--error) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--error) 8%, transparent); color: var(--error); font-size: .875rem; }
.form__summary:empty { display: none; }
.form__success {
  display: none;
  gap: 12px;
  justify-items: start;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.form.is-success .form__fields { display: none; }
.form.is-success .form__success { display: grid; animation: rise .5s var(--ease-out); }
.form__success-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.form--inline { container-type: inline-size; }
.form--inline .form__line { display: grid; gap: 10px; justify-items: start; }
.form--inline .form__line .field { width: 100%; }
@container (min-width: 380px) { .form--inline .form__line { grid-template-columns: minmax(0, 1fr) auto; } }

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
}
.panel--dark {
  border-color: var(--band-line);
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(var(--globe-accent), .14), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgb(255 255 255 / .06), transparent 70%),
    linear-gradient(180deg, var(--band-bg), var(--band-bg-2));
  box-shadow: var(--shadow-lg);
}
.panel--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 75%);
}
.cta-split { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .cta-split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .cta-split__right { padding-left: 64px; border-left: 1px solid var(--color-line); }
}
.phone-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.phone-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--color-line); }
.phone-list__city { display: grid; gap: 2px; }
.phone-list__city strong { font-weight: 600; letter-spacing: -.01em; }
.phone-list__city span { font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-muted); }
.phone-list a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: .9375rem; text-decoration: none; }
.phone-list a:hover { text-decoration: underline; }

/* 16. News filter, article ---------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--head-gap); }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter:hover { border-color: var(--color-border-strong); }
.filter[aria-pressed="true"] { border-color: var(--btn-bg); background: var(--btn-bg); color: var(--btn-text); }
.filter__count { font: 500 .75rem/1 var(--font-mono); opacity: .65; }
.news-empty { margin-top: 12px; }

.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.article__body { display: grid; gap: 1.1em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.7; }
.article__body h2 { margin-top: .8em; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.article__body h3 { margin-top: .4em; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.article__body ul { display: grid; gap: .45em; padding-left: 1.2em; list-style: disc; }
.article__body li::marker { color: var(--color-muted); }
.article__pull { margin: .4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--color-accent, currentColor); font-size: 1.1em; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.author-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--color-line); border-radius: 16px; background: var(--color-surface); }
.author-card .asset { width: 52px; height: 52px; min-height: 0; padding: 0; border-radius: 50%; flex: none; }
.author-card .asset__initials { font-size: 1.125rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out);
}
.share__btn:hover { border-color: var(--color-border-strong); transform: translateY(var(--lift)); }

/* Legal pages */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.legal > * { min-width: 0; }
@media (min-width: 1024px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: 104px; } }
.toc__title { margin-bottom: 12px; font: 500 .8125rem/1 var(--font-sans); color: var(--color-muted); }
.toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--color-line); }
.toc a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding-left: 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--color-muted); font-size: .9375rem; text-decoration: none; counter-increment: toc; }
.toc a:hover { color: var(--color-text); border-left-color: var(--color-text); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); scroll-margin-top: 104px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.prose th { font: 500 .8125rem/1.4 var(--font-sans); color: var(--color-muted); }
.updated { font-size: .875rem; line-height: 1.4; color: var(--color-muted); }

/* 404 */
.notfound { display: grid; gap: 24px; justify-items: start; }
.notfound__code { font-family: var(--font-brand); font-size: clamp(4rem, 2rem + 12vw, 11rem); line-height: .85; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--color-text) 35%, transparent); }
.sitemap-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); width: 100%; max-width: 560px; }
.sitemap-list a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--color-line); text-decoration: none; font-weight: 500; }
.sitemap-list a:hover { padding-left: 4px; text-decoration: none; }

/* 17. Footer ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(var(--globe-accent), .08), transparent 70%),
    var(--band-bg);
  color: var(--band-text);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.footer__grid { gap: 40px 28px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__about { color: var(--band-muted); font-size: .9375rem; max-width: 34ch; }
.footer__heading { margin-bottom: 10px; font: 500 .8125rem/1 var(--font-sans); color: var(--band-muted); }
.footer__links { display: grid; margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgb(255 255 255 / .82); font-size: .9375rem; text-decoration: none; }
.footer__links a:hover { color: #FFFFFF; text-decoration: underline; }
.footer__offices { display: grid; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--band-line); }
@media (min-width: 768px) { .footer__offices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer__office a { color: var(--band-text); text-decoration-color: var(--color-accent); }
.footer__office { display: grid; gap: 4px; align-content: start; font-size: .875rem; color: var(--band-muted); }
.footer__office strong { color: var(--band-text); font-weight: 600; font-size: .9375rem; }
.footer__office a { display: inline-flex; align-items: center; min-height: 44px; color: rgb(255 255 255 / .85); text-decoration: none; }
.footer__office a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--band-line);
  font-size: .8125rem;
  color: var(--band-muted);
}
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--band-line);
  border-radius: 50%;
  color: var(--band-text);
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-move) var(--ease-out);
}
.social a:hover { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .25); transform: translateY(var(--lift)); }
.legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.legal-links a, .legal-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--band-muted);
  font-size: .8125rem;
  text-decoration: none;
}
.legal-links a:hover, .legal-links button:hover { color: #FFFFFF; text-decoration: underline; }
/* The logo sits above LinkedIn, with the copyright line below them */
.footer__sign { display: grid; gap: 14px; justify-items: start; }
.footer__sign .brand { margin-right: 0; }
.footer__sign .brand__logo { height: 18px; }
@media (min-width: 768px) {
  .footer__bottom { align-items: flex-end; }
  .footer__sign .brand__logo { height: 20px; }
}

/* 18. Cookie banner and modal ------------------------------------------------- */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: grid;
  gap: 14px;
  max-width: 460px;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--glass-strong);
  box-shadow: var(--shadow-lg), var(--inset-hi);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  animation: rise .6s var(--ease-out);
}
.cookie__title { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.cookie__text { font-size: .875rem; color: var(--color-muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; }
/* Narrow phones: the three choices can't share a row, so they stack at one width instead of 2 + 1 */
@media (max-width: 479px) {
  .cookie__actions { display: grid; }
  .modal__foot .btn { flex: 1 1 0; }   /* Cancel and Save share the row, like the banner's even buttons */
}

.modal {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgb(12 10 11 / .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: rise .4s var(--ease-out); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 0 24px; }
.modal__body { display: grid; gap: 0; padding: 12px 24px; }
.modal__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 24px 24px; }
.consent-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.consent-row:last-child { border-bottom: 0; }
.consent-row p { font-size: .875rem; color: var(--color-muted); }
.switch {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 28px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-2);
  cursor: pointer;
  transition: background-color var(--t-fast);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 1px 3px rgb(20 12 10 / .3);
  transition: transform var(--t-move) var(--ease-out);
}
.switch:checked { background: var(--btn-bg); border-color: var(--btn-bg); }
.switch:checked::after { transform: translateX(20px); background: var(--btn-text); }
.switch:disabled { opacity: .6; cursor: not-allowed; }

/* Dev mode panel (?dev=1) */
.dev-panel {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  max-width: calc(100% - 24px);
  padding: 8px 8px 8px 14px;
  border-radius: 16px;
  background: #1B191A;
  color: #FFFFFF;
  box-shadow: 0 16px 40px -16px rgb(4 2 3 / .6);
  font: 500 .75rem/1.3 var(--font-mono);
}
.dev-panel b { color: var(--mk-bg); font-weight: 600; }
.dev-panel a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: rgb(255 255 255 / .1); color: #FFFFFF; text-decoration: none; }
.claims-block { padding: 20px 22px; border: 1px dashed var(--verify-bg); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--verify-bg) 8%, transparent); }
.claims-block ul { margin: 10px 0 0; padding-left: 1.1em; }

/* 19. Reveal on scroll (§6.4) ------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 12px;
  /* keeps the card hover transitions, which this rule would otherwise replace */
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease), transform var(--t-move) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-move) var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* 20. Reduced motion (§6.3) ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .band__bg { transform: none !important; inset: 0; }
  .hero__visual { transform: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
}

/* 21. Print ------------------------------------------------------------------- */
@media print {
  .site-header, .cookie, .dev-panel, .hero__visual, .band__bg { display: none !important; }
  .band, .site-footer { background: none; color: #000; }
}

/* 22. Additions: chips, lists, layouts used by individual pages -------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip-row--tight { gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
  color: var(--color-text);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
}
a.chip { min-height: 44px; transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
a.chip:hover { border-color: var(--color-border-strong); transform: translateY(-1px); text-decoration: none; }
.section--surface .chip { background: var(--color-bg); }

.hero--plain .hero__actions, .band--hero .hero__actions { justify-content: flex-start; }
.hero__aside { width: 100%; }
.hero--plain .hero__sub { max-width: 62ch; }

.fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.fieldset legend { padding: 0; margin-bottom: 10px; }

.news-card__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card--interactive:hover .card__foot .link-arrow__label { background-size: 100% 1px; }
.card--interactive:hover .card__foot .icon--arrow-right { transform: translateX(3px); }

.needs { display: grid; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.needs li { border-bottom: 1px solid var(--color-line); }
.needs .link-arrow { justify-content: space-between; width: 100%; min-height: 48px; font-size: .9375rem; }

.partner { display: grid; gap: 10px; }
.partner__name { font-weight: 600; font-size: .9375rem; }

.contact-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; } }

.address-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.address-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--color-line); }
.address-list li > span:first-child { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.address-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.address-list a:hover { text-decoration: underline; }

/* One row from tablet up: a second row would leave its dots off the connecting line */
@media (min-width: 768px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .steps--4, .steps--5 { column-gap: 20px; }
  .steps--5 .step__text { font-size: .875rem; }
}

.footer__legal { margin-top: 18px; font-size: .8125rem; color: var(--band-muted); }
.site-footer .form__success { background: rgb(255 255 255 / .04); }
/* Tiny avatars cannot fit the asset name; keep it for screen readers and the dev counter. */
.author-card .asset__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 639px) {
  .hero--home { padding-bottom: 44px; }
  .hero--home .corner-tag { left: var(--gutter); right: var(--gutter); bottom: 12px; text-align: center; }
}

/* 23. Product logo tiles ----------------------------------------------------- */
.logo-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 2;
  padding: 20px 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--tile, #FFFFFF);
}
.logo-tile img { width: auto; max-width: 80%; height: auto; max-height: 64px; }


/* 24. Photos, client logos and other real images -------------------------- */
.article__sources { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.article__sources ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.article__sources a { color: var(--color-muted); text-decoration: underline; text-underline-offset: 3px; }
.article__sources a:hover { color: var(--color-text); }
.article__foot { justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--color-line); }

.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-surface-2);
}

/* Client logos keep their own colours on a white tile in both themes */
.client-logo {
  --cols: 2;
  display: grid;
  place-items: center;
  flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols));
  height: 96px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #FFFFFF;
  transition: transform var(--t-move) var(--ease-out), box-shadow var(--t-move) var(--ease-out);
}
.client-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 58px;
  transform: scale(var(--zoom, 1));
}
.client-logo[style*="--zoom"] { overflow: hidden; }
.client-logo:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow); }
@media (min-width: 640px) { .client-logo { --cols: 3; } }
@media (min-width: 768px) { .client-logo { --cols: 4; } }
@media (min-width: 1024px) { .client-logo { --cols: 6; } }

/* Logo marquee. Without JavaScript, or with reduced motion, the rows are a static wall.
   site.js adds .is-animated: each row drifts at its own speed (opposite directions), the
   lists are cloned to loop seamlessly, and --shift slides the rows against each other as
   the section scrolls past (the parallax). Hover, focus or the toggle pauses the drift. */
.marquee { display: grid; gap: 14px; }
.marquee__rows { display: grid; gap: 12px; }
.marquee__row { min-width: 0; }
.marquee__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Static wall: the row wrappers step aside so all the logos flow as one wall (one orphan at most). */
.marquee:not(.is-animated) .marquee__rows { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.marquee:not(.is-animated) :is(.marquee__row, .marquee__shift, .marquee__track, .marquee__list) { display: contents; }

.marquee.is-animated .marquee__rows { margin-inline: calc(var(--gutter, 20px) * -1); }
.marquee.is-animated .marquee__row {
  overflow: hidden;
  padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee.is-animated .marquee__shift {
  transform: translate3d(var(--shift, 0px), 0, 0);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.marquee.is-animated .marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--duration, 40s) linear infinite;
  will-change: transform;
}
.marquee.is-animated .marquee__row[data-dir="1"] .marquee__track { animation-direction: reverse; }
.marquee.is-animated .marquee__list { flex-wrap: nowrap; justify-content: flex-start; padding-inline-end: 12px; }
.marquee.is-animated .client-logo { flex: 0 0 auto; width: clamp(136px, 14vw, 184px); }
.marquee.is-animated:hover .marquee__track,
.marquee.is-animated:focus-within .marquee__track,
.marquee.is-offscreen .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(calc(var(--loop, 0px) * -1), 0, 0); } }


@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none !important; }
  .marquee__shift { transform: none !important; }
}

.case-logo {
  display: grid;
  place-items: center;
  height: 92px;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #FFFFFF;
}
.case-logo img { width: auto; height: auto; max-width: 100%; max-height: 60px; }
.case-logo--pending {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: var(--color-surface-2);
  color: var(--color-muted);
  font: 500 .8125rem/1.3 var(--font-sans);
}

/* Product view: the product's own visual on its brand colour */
.product-view { margin: 0; }
.product-view__stage {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 70% at 50% 40%, rgb(255 255 255 / .22), transparent 70%),
    var(--tile, var(--color-surface-2));
}
.product-view__stage img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgb(20 12 10 / .35);
}
.product-view__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font: 500 .8125rem/1.3 var(--font-sans);
  color: var(--color-muted);
}

/* Office map (Contact) */
.office-map { display: block; width: 100%; height: auto; }
.office-map .shade-hi { stop-color: var(--color-surface); stop-opacity: .95; }
.office-map .shade-lo { stop-color: rgb(var(--globe-ink)); stop-opacity: .07; }
.office-map .grat polyline { fill: none; stroke: rgba(var(--globe-ink), .13); stroke-width: 1; }
.office-map .rim { fill: none; stroke: rgba(var(--globe-ink), .3); stroke-width: 1; }
.office-map .route { fill: none; stroke: rgba(var(--globe-ink), .5); stroke-width: 1.4; stroke-dasharray: 4 6; }
.office-map .ring { fill: rgba(var(--globe-accent), .14); stroke: rgba(var(--globe-accent), .55); stroke-width: 1.2; }
.office-map .node { fill: rgb(var(--globe-accent)); }
.office-map .code { font: 600 22px var(--font-mono); letter-spacing: .06em; fill: var(--color-text); }
.office-map .city { font: 500 16px var(--font-sans); fill: var(--color-muted); }
.map-frame { padding: 0; }

/* STS mark for group posts */
.brand-mark {
  display: inline-flex;   /* flex, not grid: a grid stacked the S, T and S runs on three rows */
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--band-bg);
  color: #FFFFFF;                   /* the "S S" of the #sts-mark symbol; the T stays gold */
  box-shadow: 0 0 0 3px var(--color-surface), 0 0 0 4px var(--color-border-strong);
}
.brand-mark svg { display: block; width: 30px; height: auto; aspect-ratio: 363.45 / 111.45; }

/* Certificates still to be confirmed, and partner tiles */
.cert__badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: var(--color-surface-2);
  color: var(--color-muted);
}
.partner__tile {
  display: grid;
  place-items: center;
  height: 88px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-align: center;
}
.partner--pending .partner__tile { background: var(--color-surface-2); color: var(--color-muted); font-size: 1rem; }
.partner__name { font-size: .8125rem; font-weight: 500; color: var(--color-muted); }

/* A photo band keeps the network lines; the overlay darkens towards the text */
.band--photo .band__art { background: none; }
.band--photo .band__art::before { opacity: .6; }
.band--photo .band__bg img { object-position: 50% 28%; }
.band--photo .band__overlay {
  background: linear-gradient(180deg, rgb(14 12 13 / .5) 0%, rgb(14 12 13 / .6) 45%, rgb(14 12 13 / .86) 100%);
}
/* A hero band starts at the top of the page, so its layer only ever trails downwards:
   a small overscan is enough, and the photo shows the whole group. */
.band--hero.band--photo .band__bg { inset: -8% 0; }

/* ==========================================================================
   21 Oct 2026 · samples fold-in: generated icons, businesses, white breaks,
   real photos and hover motion. Icons are masks, so they take the text colour
   (ink at rest, gold on hover) in both themes.
   ========================================================================== */

.gicon {
  --size: 40px;
  display: inline-block;
  flex: none;
  width: var(--size);
  height: var(--size);
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: transform var(--t-move) var(--ease-out), color var(--t-fast);
}
/* An icon in its own soft tile; hovering the card lifts it and turns it gold */
.biz-card__icon, .biz-row__icon, .feature__gicon, .value__icon, .step__gicon, .ptype__icon, .ind-tile__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast), transform var(--t-move) var(--ease-out);
}
.section--surface .biz-card__icon, .section--surface .feature__gicon, .section--surface .value__icon,
.section--surface .ptype__icon, .section--surface .ind-tile__icon, .section--surface .step__gicon { background: var(--color-bg); }
.feature__gicon .gicon, .value__icon .gicon, .ind-tile__icon .gicon, .ptype__icon .gicon, .step__gicon .gicon { --size: 42px; }
.biz-card__icon .gicon { --size: 40px; }
.biz-row__icon { width: 72px; height: 72px; }
.biz-row__icon .gicon { --size: 52px; }
:is(.card, .value, .step, .ptype, .ind-tile, .biz-row):hover :is(.biz-card__icon, .biz-row__icon, .feature__gicon, .value__icon, .step__gicon, .ptype__icon, .ind-tile__icon) {
  color: var(--color-accent-text);
  border-color: color-mix(in srgb, var(--color-accent) 45%, transparent);
  transform: translateY(-2px);
}
:is(.card, .value, .step, .ptype, .ind-tile, .biz-row):hover .gicon { transform: scale(1.05); }

/* Photos inside cards zoom gently on hover */
.card-media {
  margin: calc(var(--pad-card) * -1) calc(var(--pad-card) * -1) 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-surface-2);
}
.card-media__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out), filter .6s; }
.card--interactive:hover .card-media__img { transform: scale(var(--zoom)); }
.card-media--logo { display: grid; aspect-ratio: 16 / 10; }
/* News cards: the photo printed like a newspaper clipping (masthead, double rule, halftone ink).
   Colour comes back on hover. */
.card-media--press {
  --paper: #F2EDE2;
  --ink: #1E1B17;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--color-line);
}
:root[data-theme="dark"] .card-media--press { --paper: #E4DDCD; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-media--press { --paper: #E4DDCD; } }
.press-mast { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 3px double var(--ink); }
.press-mast__name { font: 700 1.0625rem/1 Georgia, "Times New Roman", Times, serif; letter-spacing: -.01em; }
.press-mast__meta { font: 600 .625rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.press-photo { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #CFC8B8; }
.press-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(30 27 23 / .32) 30%, transparent 36%);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .6s;
}
.card-media--press .card-media__img { filter: grayscale(1) sepia(.18) contrast(1.18) brightness(1.04); }
.card--interactive:hover .card-media--press .card-media__img { filter: grayscale(0) sepia(0) contrast(1) brightness(1); }
.card--interactive:hover .press-photo::after { opacity: .35; }
.card-media--logo .logo-tile { height: 100%; aspect-ratio: auto; padding: 12%; border: 0; border-radius: 0; }
.card-media--logo .logo-tile img { width: auto; max-width: 100%; max-height: 56%; height: auto; object-fit: contain; }

/* Home: one group, five businesses */
.grid--biz { grid-template-columns: minmax(0, 1fr); }
/* Five cards: 2 + 2 + 1 (the last full width), then 3 + 2 (the last two wider), then one row of five */
@media (min-width: 640px) {
  .grid--biz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--biz > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid--biz > :last-child:nth-child(odd) .card-media { aspect-ratio: 21 / 9; }
}
@media (min-width: 900px) {
  .grid--biz { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--biz > * { grid-column: span 2; }
  .grid--biz > :nth-child(n+4) { grid-column: span 3; }
  .grid--biz > :last-child:nth-child(odd) { grid-column: span 3; }
  .grid--biz > :nth-child(n+4) .card-media, .grid--biz > :last-child:nth-child(odd) .card-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 1200px) {
  .grid--biz { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--biz > *, .grid--biz > :nth-child(n+4), .grid--biz > :last-child:nth-child(odd) { grid-column: auto; }
  .grid--biz > :nth-child(n+4) .card-media, .grid--biz > :last-child:nth-child(odd) .card-media { aspect-ratio: 4 / 3; }
}
.biz-card { padding-bottom: 20px; }
.biz-card .card-media { aspect-ratio: 4 / 3; }
.biz-card__body { display: grid; gap: 10px; align-content: start; flex: 1; }
.biz-card__icon { width: 56px; height: 56px; margin-top: -40px; border-radius: 16px; background: var(--color-surface); box-shadow: var(--shadow); z-index: 1; }
.biz-card__short { font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-muted); }
.biz-card .card__title a { color: inherit; }
.biz-card .card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* A white stats strip: numbers as a calm break, not a dark band */
.stat-strip-section { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-strip__item { display: grid; align-content: start; gap: 6px; padding-left: 18px; border-left: 1px solid var(--color-line); }
.stat-strip__num { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--color-text); }
/* A word ("Innovation") is wider than a number. In a strip that has one, every value is capped to
   its column (cqi), so the four stay one size and never spill out of their cells (320px, 768–1024px). */
.stat-strip:has(.stat-strip__word) .stat-strip__item { container-type: inline-size; }
.stat-strip:has(.stat-strip__word) .stat-strip__num { font-size: min(clamp(2rem, 1.4rem + 2.2vw, 3.25rem), 20cqi); }
.stat-strip__num .stat__suffix { color: var(--color-accent-text); }
.stat-strip__label { font: 500 .8125rem/1.4 var(--font-sans); color: var(--color-muted); }
.stat-strip--inline { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--color-line); }

.more-line { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

/* Sectors under the client logos */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.sector { display: inline-flex; align-items: center; gap: 10px; color: var(--color-muted); font-size: .9375rem; transition: color var(--t-fast); }
.sector .gicon { --size: 30px; color: var(--color-text); }
.sector:hover { color: var(--color-text); }
.sector:hover .gicon { color: var(--color-accent-text); transform: translateY(-2px); }

/* Life at STS: real photos */
.life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.life-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--color-surface-2); }
.life-tile:first-child { grid-row: span 2; }
.life-tile__img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform var(--t-slow) var(--ease-out); }
.life-tile:first-child .life-tile__img { aspect-ratio: auto; }
.life-tile:hover .life-tile__img { transform: scale(var(--zoom)); }
.life-tile .tl-source { position: absolute; left: 8px; bottom: 8px; margin: 0; }

/* Businesses page: alternating rows */
.biz-rows { display: grid; gap: clamp(20px, 3vw, 32px); }
.biz-row {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(20px, 3.5vw, 48px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--inset-hi);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color var(--t-fast), box-shadow var(--t-move) var(--ease-out);
}
.biz-row:hover { border-color: color-mix(in srgb, var(--color-accent) 35%, transparent); box-shadow: var(--inset-hi), var(--shadow); }
@media (min-width: 1024px) {
  .biz-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .biz-row--flip .biz-row__media { order: 2; }
}
.biz-row__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); max-height: 520px; }
.biz-row__media .photo { aspect-ratio: 4 / 3; border-radius: 0; transition: transform var(--t-slow) var(--ease-out); }
.biz-row:hover .biz-row__media .photo { transform: scale(var(--zoom)); }
.biz-row__media .tl-source { position: absolute; left: 10px; bottom: 10px; margin: 0; }
.biz-row__legal { margin-top: -8px; font-size: .875rem; line-height: 1.4; color: var(--color-muted); }
.biz-row__caps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .biz-row__caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.biz-row__caps li { position: relative; padding-left: 18px; font-size: .9688rem; }
.biz-row__caps li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--color-accent); }
.chip--icon .gicon { --size: 22px; }
.chip--icon:hover .gicon { color: var(--color-accent-text); }

.places { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.place { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-bg); }
.place__code { font: 600 1.25rem/1 var(--font-mono); letter-spacing: .04em; color: var(--color-accent-text); min-width: 3.2em; }

/* Products */
.product-card__group { margin: 2px 0 -6px; font: 500 .8125rem/1.3 var(--font-sans); color: var(--color-muted); }
.platform-card .label { color: var(--color-accent-text); }
.platform-card .card__foot { justify-content: space-between; }
@media (min-width: 1024px) { .split--wide-right { grid-template-columns: .9fr 1.1fr; } }
.mini-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mini-product { display: grid; gap: 10px; color: var(--color-text); font-weight: 500; }
.mini-product .logo-tile { transition: transform var(--t-move) var(--ease-out), box-shadow var(--t-move) var(--ease-out); }
.mini-product:hover { text-decoration: none; }
.mini-product:hover .logo-tile { transform: translateY(var(--lift)); box-shadow: var(--shadow-lg); }

/* Services: process steps with icons, partnership types */
.steps--4 .step--icon { padding-top: 0; }
.step__gicon { margin-bottom: 6px; }
.ptypes { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ptypes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ptype { display: grid; gap: 10px; align-content: start; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg); transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
.ptype:hover { border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); transform: translateY(var(--lift)); }
.partner-row--compact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* About: anchors, mission and vision, values, recognition */
.subnav { position: relative; z-index: 2; padding-block: 18px; background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.subnav .chip-row { gap: 8px; }
/* One scrollable row of page links below desktop, never a wrapped orphan */
@media (max-width: 1023px) {
  .subnav .chip-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .subnav .chip-row::-webkit-scrollbar { display: none; }
  .subnav .chip-row > li { flex: none; }   /* the items are the <li>s: without this they squash the chips onto several lines */
  .subnav .chip { white-space: nowrap; }
}
[id="story"], [id="values"], [id="recognition"], [id="impact"], [id="leadership"], [id="locations"], [id="technology"], [id="testing"], [id="process"], [id="partner"], [id="more"] { scroll-margin-top: calc(var(--header-h) + 16px); }
.mv { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv__label { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--color-muted); }
.mv__item { display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 2px solid var(--color-accent); }
.mv__text { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.35; text-wrap: pretty; }
.values__title { margin: var(--section-y) 0 var(--head-gap); }
.values { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); }
/* Five values: 2 + 2 + 1 wide, then 3 + 2 wide (no empty slot), then one row of five */
@media (min-width: 560px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .values { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .values > * { grid-column: span 2; }
  .values > :nth-child(n+4), .values > :last-child:nth-child(odd) { grid-column: span 3; }
}
@media (min-width: 1200px) {
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .values > *, .values > :nth-child(n+4), .values > :last-child:nth-child(odd) { grid-column: auto; }
}
.value { display: grid; gap: 10px; align-content: start; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg); transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
.value:hover { border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); transform: translateY(var(--lift)); }
.value__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.value__text { color: var(--color-muted); font-size: .9375rem; }
.recog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.recog-grid__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.recog-grid__item .photo { aspect-ratio: 4 / 5; border-radius: 0; transition: transform var(--t-slow) var(--ease-out); }
.recog-grid__item:hover .photo { transform: scale(var(--zoom)); }
.recog-grid__item .tl-source { position: absolute; left: 8px; bottom: 8px; margin: 0; }

/* Clients: industries */
.ind-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-tile { display: grid; gap: 10px; align-content: start; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg); transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
.ind-tile:hover { border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); transform: translateY(var(--lift)); }
.ind-tile__clients { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--color-line); font-size: .875rem; color: var(--color-text); }
@media (min-width: 1024px) { .grid--cases-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-card--draft { background: var(--color-surface-2); }
.case-card--draft .card__foot .pill { align-self: flex-start; }

/* Insights: pictures on cards and articles */
.news-card--media { padding-top: var(--pad-card); }
.article__figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.article__figure .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.article__credit { padding: 10px 2px 0; font-size: .8125rem; line-height: 1.4; color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  .gicon, .card-media__img, .life-tile__img, .biz-row__media .photo, .recog-grid__item .photo,
  .ptype, .value, .ind-tile, .mini-product .logo-tile { transition: none !important; }
  :is(.card, .value, .step, .ptype, .ind-tile, .biz-row, .life-tile, .recog-grid__item):hover :is(.gicon, .card-media__img, .life-tile__img, .photo) { transform: none !important; }
}

/* ==========================================================================
   22 Oct 2026 · review call: richer gold, home in the style of the samples,
   Partners, one contact address, and 3D parallax product cards.
   ========================================================================== */

/* Gold labels and rules (the samples' small gold kicker above headings) */
.label--gold { color: var(--color-accent-text); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.on-dark .label--gold { color: var(--color-accent-text); }
.gold-rule { display: block; width: 56px; height: 2px; background: var(--grad); border-radius: 2px; }
.hero__eyebrow { margin-bottom: 4px; }
.section-head .h2::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--grad); border-radius: 2px; }
.section-head--split .h2::after { margin-top: 14px; }

/* Home: stats words ("Global", "Innovation") sit in gold like the samples */
.stat-strip__word { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stat-strip__num [data-count] { color: var(--color-text); }

/* Home: a diversified technology group (intro + four photo pillars) */
.group-split { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1024px) { .group-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); } }
.pillars { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillar__link { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.pillar__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--color-surface-2); }
.pillar__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.pillar__link:hover .pillar__img { transform: scale(var(--zoom)); }
.pillar__rule { display: block; width: 32px; height: 2px; margin-top: 6px; background: var(--color-accent); transition: width var(--t-move) var(--ease-out); }
.pillar__link:hover .pillar__rule { width: 56px; }
.pillar__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.pillar__link:hover .pillar__title { color: var(--color-accent-text); }
.pillar__text { color: var(--color-muted); font-size: .9375rem; line-height: 1.5; }

/* Home and Partners: the connected-world band over the Earth at night */
.connect-band { min-height: auto; }
.connect-band .band__bg img { object-position: 50% 60%; filter: saturate(1.1) brightness(1.15); }
.connect-band .band__overlay { background: linear-gradient(90deg, rgb(12 10 8 / .92) 0%, rgb(12 10 8 / .7) 45%, rgb(12 10 8 / .35) 100%); }
.connect-band__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .connect-band__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.connect-band .lead { color: var(--band-muted); }
.connect-list, .why-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--band-line); }
.connect-item, .why-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--band-line); }
.connect-item .gicon, .why-item .gicon { flex: none; width: 36px; height: 36px; color: var(--color-accent-text); }
.connect-item strong, .why-item strong { color: var(--band-text); font-weight: 600; }
.connect-item span span, .why-item .muted { color: var(--band-muted); font-size: .9375rem; }
.connect-band .tl-source { margin-top: 16px; }

/* Home: product row and the "coming soon" strip */
.grid--p3d { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid--p3d { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--p3d { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.soon { display: grid; gap: 16px 24px; align-items: center; margin-top: clamp(24px, 3vw, 36px); padding: 16px; border: 1px dashed color-mix(in srgb, var(--color-accent) 55%, transparent); border-radius: var(--radius-lg); background: var(--color-bg); }
@media (min-width: 768px) { .soon { grid-template-columns: 120px minmax(0, 1fr) auto; } }
.soon__media { display: block; overflow: hidden; height: 120px; border-radius: var(--radius); }
.soon__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.soon__name { font-size: 1.125rem; }
.soon__badge { position: static; justify-self: start; width: max-content; }

/* Contact: the one address, large */
.contact-email { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.contact-email:hover { color: var(--color-accent-text); }
.contact-email .icon { color: var(--color-accent-text); }
.contact-email--dark { color: var(--band-text); }

/* About and Careers: single photos beside text */
.mv-photo, .recog-photo { margin: 0 0 clamp(28px, 4vw, 48px); overflow: hidden; border-radius: var(--radius-lg); }
.mv-photo img { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.recog-photo { margin: 0; }
.recog-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Partners */
.grid--4 { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ptype-card { padding: 0; overflow: hidden; }
.ptype-card .card-media { aspect-ratio: 16 / 10; border-radius: 0; }
.ptype-card__body { display: grid; gap: 10px; padding: var(--pad-card); }
.ptype-card .feature__gicon .gicon { color: var(--color-accent-text); }
.resell-list { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .resell-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resell { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; height: 100%; padding: 14px; border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); color: inherit; text-decoration: none; transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
.resell:hover { border-color: color-mix(in srgb, var(--color-accent) 45%, transparent); transform: translateY(var(--lift)); }
.resell .logo-tile { height: 72px; aspect-ratio: auto; padding: 14px; border-radius: var(--radius); }
.resell .logo-tile img { max-height: 36px; }


/* --------------------------------------------------------------------------
   3D parallax product cards (reference: Dribbble "Parallax Website 3D
   animation"). The card tilts with the pointer (--rx/--ry from site.js) and
   each layer floats at its own depth (--z) and drifts with --mx/--my × --d.
   -------------------------------------------------------------------------- */
.p3d { --rx: 0deg; --ry: 0deg; --mx: 0; --my: 0; --gx: 50%; --gy: 30%; perspective: 1100px; height: 100%; }
.p3d__card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .9, .25, 1.05), box-shadow var(--t-move) var(--ease-out);
}
.p3d.is-tilting .p3d__card { transition: transform .12s linear, box-shadow var(--t-move) var(--ease-out); box-shadow: 0 30px 56px -32px rgb(20 16 10 / .38); }
.section--surface .p3d__card { background: var(--color-bg); }
.p3d__stage { position: relative; height: 250px; transform-style: preserve-3d; }
.p3d__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--b-a1) 55%, transparent) 0%, transparent 55%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--b-a2) 40%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, var(--b-bg) 0%, var(--b-bg2) 100%);
}
.p3d__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1.2px); background-size: 16px 16px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.p3d__glare { position: absolute; inset: 0; border-radius: 21px 21px 0 0; background: radial-gradient(60% 60% at var(--gx) var(--gy), rgb(255 255 255 / .14), transparent 70%); opacity: 0; transition: opacity var(--t-move); pointer-events: none; transform: translateZ(100px); }
.p3d.is-tilting .p3d__glare { opacity: 1; }
.p3d__layer {
  position: absolute;
  transform: translateZ(var(--z)) translate3d(calc(var(--mx) * var(--d) * 6px), calc(var(--my) * var(--d) * 5px), 0);
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .9, .25, 1.05);
  color: var(--b-fg);
  font: 500 11px/1.25 var(--font-sans);
}
.p3d.is-tilting .p3d__layer { transition: transform .12s linear; }
/* Pieces sit still until the card is hovered, so a row of cards stays calm */
.p3d__float { animation: p3d-bob 7s ease-in-out infinite paused; animation-delay: calc(var(--delay) * -1); }
.p3d.is-tilting .p3d__float { animation-play-state: running; }
@keyframes p3d-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
/* A column, so the tags' margin-top: auto pins tags and links to the foot: the links line up across a row */
.p3d__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; transform: translateZ(0.1px); }
.p3d__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p3d__logo { display: inline-grid; place-items: center; height: 40px; padding: 6px 12px; border: 1px solid var(--color-line); border-radius: 10px; background: var(--tile); }
.p3d__logo img { width: auto; max-width: 120px; max-height: 26px; height: auto; object-fit: contain; }
.p3d__badge { position: static; }
.p3d__group { font: 600 .75rem/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); }
.p3d__name { font-size: 1.375rem; font-weight: 650; letter-spacing: -.02em; }
.p3d__name a { color: inherit; text-decoration: none; }
.p3d__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 22px; }
.p3d__name a:focus-visible { outline: none; }
.p3d__name a:focus-visible::after { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.p3d__line { color: var(--color-muted); font-size: .9375rem; line-height: 1.5; }
/* The two links always stack: side by side they fit in some cards and wrap in others */
.p3d__foot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; margin-top: 4px; }
.p3d .pcard__tags { position: relative; z-index: 1; }

/* Shared mini-UI pieces inside the stage */
.ui-window { width: 210px; overflow: hidden; border: 1px solid rgb(255 255 255 / .14); border-radius: 10px; background: rgb(10 14 28 / .72); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ui-window--light { background: rgb(255 255 255 / .94); color: #161821; border-color: rgb(255 255 255 / .6); }
.ui-window__bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid rgb(255 255 255 / .1); font-size: 9.5px; opacity: .8; }
.ui-window--light .ui-window__bar { border-color: #E3E5EC; }
.ui-window__bar i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.ui-window__bar span { margin-left: 6px; }
.ui-line { display: block; width: var(--w); height: 6px; margin: 4px 0; border-radius: 3px; background: currentColor; opacity: .55; }
.ui-line--dim { opacity: .2; }
.chip-ui { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 28px -14px rgb(0 0 0 / .7); }
.chip-ui svg { width: 13px; height: 13px; }
.chip-ui--ok { background: #DCFCE7; color: #11813A; }
.chip-ui--lumina { background: #F3E4F3; color: #6F1C6E; }
.chip-ui--lumina i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#922791, #1868DB, #49B2B6, #922791); }
.chip-ui--violet { background: #F0E9FA; color: #52299B; }
.chip-ui--indigo { background: #EDEBFD; color: #3A2FCB; }
.phone-ui { position: relative; display: grid; gap: 6px; align-content: start; width: 116px; height: 196px; padding: 18px 12px 12px; border: 3px solid #14161D; border-radius: 22px; background: linear-gradient(170deg, #1E2761, #0D1333); box-shadow: 0 24px 44px -20px rgb(0 0 0 / .8); color: #F2F5FC; }
.phone-ui--light { background: linear-gradient(180deg, #FFF8F0, #FFEEDB); color: #1A1A2E; border-color: #1A1A2E; }
.phone-ui__notch { position: absolute; top: 5px; left: 50%; width: 36px; height: 6px; margin-left: -18px; border-radius: 4px; background: #14161D; }
.toast-ui { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: #FFFFFF; color: #172033; box-shadow: 0 18px 34px -14px rgb(0 0 0 / .65); white-space: nowrap; }
.toast-ui b { display: block; font-size: 12px; }
.toast-ui small { color: #5F6F86; font-size: 10px; }
.toast-ui__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #DCFCE7; color: #16835F; }
.toast-ui__icon svg { width: 14px; height: 14px; }
.orb { position: absolute; display: block; border-radius: 50%; }
.p3d-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 8px; }
.p3d-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--b-a2), var(--b-a1)); }

/* TechnoCenter */
.tc-dash { top: 26px; left: 18px; }
.tc-dash__body { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 10px; }
.tc-rail { display: grid; gap: 5px; align-content: start; }
.tc-rail i { display: block; width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.tc-test { top: 92px; right: 14px; }
.tc-test__card { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; width: 186px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #1868DB, #29787B); box-shadow: 0 22px 40px -16px rgb(0 0 0 / .75); }
.tc-test__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgb(255 255 255 / .2); }
.tc-test__icon svg { width: 14px; height: 14px; }
.tc-test__text b { display: block; font-size: 12.5px; }
.tc-test__text small { opacity: .8; font-size: 10px; }
.tc-test__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 10px; opacity: .92; }
.tc-test__track { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .22); }
.tc-test__track i { display: block; width: var(--w); height: 100%; border-radius: 3px; background: #F6960B; }
.tc-lumina { top: 18px; right: 22px; }
.tc-release { bottom: 22px; left: 24px; }
.tc-hex { bottom: 26px; right: 26px; }
.hexes { display: flex; gap: 3px; }
.hexes i { width: 14px; height: 16px; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexes i:nth-child(even) { transform: translateY(6px); }

/* TechnoGrid: a rack of real devices, one lifted out mid-run */
.dg-rack { top: 20px; left: 14px; }
.dg-rack .ui-window { width: auto; }
.dg-live { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-style: normal; }
.dg-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #34D399; box-shadow: 0 0 6px #34D399; }
.dg-rack__body { display: grid; gap: 6px; padding: 9px 10px 8px; }
.dg-rack__row { display: flex; gap: 6px; padding-bottom: 8px; border-bottom: 2px solid rgb(255 255 255 / .12); }
.dg-rack__row:last-child { padding-bottom: 7px; }
/* Each phone: three app lines on a tinted screen; --bar layers a progress bar or fail tint on top, the LED on the shelf shows status */
.dg-ph {
  --s: #2E2C78;
  --led: #34D399;
  --bar: linear-gradient(transparent 0 0);
  position: relative;
  flex: none;
  width: 18px;
  height: 32px;
  border: 2px solid #05070F;
  border-radius: 5px;
  background:
    var(--bar),
    linear-gradient(rgb(255 255 255 / .6) 0 0) 3px 7px / 8px 2px no-repeat,
    linear-gradient(rgb(255 255 255 / .3) 0 0) 3px 11px / 10px 2px no-repeat,
    linear-gradient(rgb(255 255 255 / .3) 0 0) 3px 15px / 6px 2px no-repeat,
    linear-gradient(170deg, var(--s), #12162C);
  box-shadow: 0 6px 10px -6px rgb(0 0 0 / .8);
}
.dg-ph:nth-child(3n+2) { --s: #5A2366; }
.dg-ph:nth-child(3n) { --s: #1E3F78; }
.dg-ph::before { content: ""; position: absolute; top: 1px; left: 50%; width: 6px; height: 2px; margin-left: -3px; border-radius: 1px; background: #05070F; }
.dg-ph--and::before { width: 2px; margin-left: -1px; border-radius: 50%; }
.dg-ph::after { content: ""; position: absolute; bottom: -8px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--led); box-shadow: 0 0 5px var(--led); }
.dg-ph--run { --led: #A78BFA; --bar: linear-gradient(#A78BFA 0 0) 3px 22px / 6px 2px no-repeat, linear-gradient(rgb(255 255 255 / .2) 0 0) 3px 22px / 10px 2px no-repeat; }
.dg-ph--fail { --led: #F87171; --bar: linear-gradient(#F87171 0 0) 3px 22px / 10px 2px no-repeat, linear-gradient(rgb(248 113 113 / .32) 0 0); }
.dg-ph--boot { --led: #F6960B; background: radial-gradient(circle, rgb(255 255 255 / .55) 0 1.5px, transparent 2px), #0A0D1A; }
.dg-ph--out { --led: #A78BFA; border: 1.5px dashed rgb(255 255 255 / .38); background: rgb(255 255 255 / .04); box-shadow: none; }
.dg-ph--out::before { content: none; }
.dg-ph--run::after, .dg-ph--out::after { animation: dg-blink 1.4s ease-in-out infinite paused; }
.p3d.is-tilting .dg-ph--run::after, .p3d.is-tilting .dg-ph--out::after { animation-play-state: running; }
@keyframes dg-blink { 50% { opacity: .25; } }
@media (max-width: 380px) { .dg-rack { top: 12px; } .dg-rack__body { gap: 4px; padding-top: 7px; } }
.dg-pull { top: 86px; right: 16px; }
.dg-device { position: relative; display: grid; gap: 4px; align-content: start; width: 78px; height: 130px; padding: 14px 7px 8px; border: 3px solid #05070F; border-radius: 15px; background: linear-gradient(170deg, #3A2470, #131A2E); box-shadow: 0 0 0 1px rgb(167 139 250 / .4), 0 24px 40px -18px rgb(0 0 0 / .85); color: #F2F5FC; transform: rotate(5deg); }
.dg-device::before { content: ""; position: absolute; top: 4px; left: 50%; width: 20px; height: 5px; margin-left: -10px; border-radius: 3px; background: #05070F; }
.dg-device__name { font-size: 10px; }
.dg-device small { margin: -3px 0 2px; color: #B9B2DC; font-size: 8.5px; }
.dg-step { display: flex; align-items: center; gap: 4px; padding: 3px 4px; border-radius: 5px; background: rgb(255 255 255 / .08); font-size: 8.5px; }
.dg-step::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #34D399); }
.dg-step--run { --c: #A78BFA; background: rgb(167 139 250 / .22); }
.dg-device__track { margin-top: auto; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .16); }
.dg-device__track i { display: block; width: var(--w); height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--b-a1), var(--b-a2)); }

/* DigiWise Wallet */
.dw-orbs, .q-glow { inset: 0; overflow: hidden; border-radius: 21px 21px 0 0; }
.dw-orbs .p3d__float, .q-glow .p3d__float { position: absolute; inset: 0; }
.orb--violet { top: -30px; right: 30px; width: 120px; height: 120px; background: var(--b-a1); clip-path: inset(0 0 50% 0); opacity: .85; }
.orb--teal { bottom: 26px; left: 30px; width: 64px; height: 64px; background: var(--b-a2); opacity: .7; }
.orb--ring { bottom: -30px; right: -10px; width: 130px; height: 130px; border: 1px solid rgb(255 255 255 / .22); }
.dw-phone { top: 26px; left: calc(50% - 58px); }
.dw-phone__brand { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11px; }
.dw-phone__brand i { width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, #6930C3, #60BCCA); }
.dw-phone__label { margin-top: 6px; color: #A9B6D2; font-size: 9.5px; }
.dw-phone__amount { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.dw-phone__actions { display: flex; gap: 4px; margin: 4px 0 6px; }
.dw-phone__actions i { flex: 1; padding: 5px 0; border-radius: 7px; background: rgb(255 255 255 / .1); font-style: normal; font-size: 8.5px; text-align: center; }
.dw-phone__actions i:first-child { background: #6F3CC3; }
.dw-card { top: 120px; left: 16px; }
.dw-card__face { position: relative; display: flex; align-items: flex-end; width: 124px; height: 78px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, #6930C3 0%, #60BCCA 100%); box-shadow: 0 20px 38px -16px rgb(0 0 0 / .75); font: 600 10px/1 var(--font-mono); letter-spacing: .08em; }
.dw-card__chip { position: absolute; top: 12px; left: 10px; width: 20px; height: 15px; border-radius: 4px; background: linear-gradient(135deg, #F4E1A6, #C9A55A); }
.dw-toast { top: 40px; right: 12px; }
.dw-2fa { bottom: 24px; right: 22px; }

/* ConstructUI */
.cu-cat { top: 24px; left: 16px; }
.cu-cat__body { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 8px; }
.cu-side { display: grid; gap: 5px; align-content: start; padding: 6px 4px; border-radius: 6px; background: #121423; }
.cu-side span { height: 5px; border-radius: 3px; background: #747F90; }
.cu-side span:first-child { background: #FFFFFF; }
.cu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cu-tile { display: block; height: 36px; border: 1px solid #E3E5EC; border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 22%, #FFFFFF), #FFFFFF); }
.cu-menu { top: 70px; right: 18px; }
.menu-ui { display: grid; gap: 2px; width: 118px; padding: 6px; border-radius: 10px; background: #FFFFFF; color: #161821; box-shadow: 0 22px 44px -16px rgb(0 0 0 / .7); }
.menu-ui span { padding: 5px 8px; border-radius: 6px; }
.menu-ui span:nth-child(2) { background: #EDEBFD; color: #3A2FCB; }
.menu-ui__dots { justify-self: end; padding: 0 6px !important; color: #5B6472; letter-spacing: 1px; }
.menu-ui__danger { color: #C23B2E; }
.cu-toggle { bottom: 30px; left: 30px; }
.toggle-ui { display: block; width: 44px; height: 24px; padding: 3px; border-radius: 999px; background: #4B3FE4; box-shadow: 0 12px 24px -10px rgb(75 63 228 / .9); }
.toggle-ui i { display: block; width: 18px; height: 18px; margin-left: auto; border-radius: 50%; background: #FFFFFF; }
.cu-code { top: 20px; right: 18px; }
.code-ui { display: inline-flex; gap: 6px; padding: 7px 11px; border-radius: 8px; background: #101322; border: 1px solid rgb(94 234 212 / .35); color: #5EEAD4; font: 500 11px/1.2 var(--font-mono); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .8); }
.cu-badge { bottom: 26px; right: 20px; }

/* Qudos */
.orb--coral { top: -40px; left: -30px; width: 150px; height: 150px; background: radial-gradient(circle, #FF6B6B 0%, transparent 70%); opacity: .7; }
.orb--sun { bottom: -50px; right: -20px; width: 170px; height: 170px; background: radial-gradient(circle, #FFD93D 0%, transparent 70%); opacity: .45; }
.q-phone { top: 26px; left: calc(50% - 58px); }
.q-phone__brand { font-weight: 800; font-size: 13px; }
.q-phone__ask { margin-top: 10px; font-size: 10.5px; font-weight: 600; }
.q-stars { display: flex; gap: 2px; color: #F4B400; }
.q-star { display: inline-grid; width: 16px; height: 16px; }
.q-star svg { width: 100%; height: 100%; }
.q-phone__btn { margin-top: auto; padding: 7px 0; border-radius: 9px; background: linear-gradient(135deg, #FF6B6B, #FFD93D); color: #1A1A2E; font-weight: 700; font-size: 10px; text-align: center; }
.q-qr { top: 44px; left: 16px; }
.qr-ui { display: grid; gap: 4px; justify-items: center; padding: 8px; border-radius: 10px; background: #FFFFFF; color: #1A1A2E; box-shadow: 0 18px 34px -14px rgb(0 0 0 / .7); }
.qr-ui small { font-size: 9px; font-weight: 600; }
.qr-ui__grid { display: grid; grid-template-columns: repeat(7, 7px); gap: 1px; }
.qr-ui__grid i { width: 7px; height: 7px; background: #F2EADB; }
.qr-ui__grid i.on { background: #1A1A2E; }
.q-badge { bottom: 26px; left: 50%; margin-left: -96px; }
.q-badge__pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: linear-gradient(135deg, #FF6B6B 0%, #E04545 50%, #FFD93D 130%); color: #FFFFFF; font-weight: 700; white-space: nowrap; box-shadow: 0 18px 32px -12px rgb(224 69 69 / .75); }
.q-badge__pill .q-star { width: 14px; height: 14px; color: #FFD93D; }
.q-score { top: 40px; right: 16px; }
.score-ui { display: grid; justify-items: center; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #1A1A2E; border: 1px solid rgb(255 217 61 / .5); box-shadow: 0 18px 32px -14px rgb(0 0 0 / .8); }
.score-ui b { font-size: 20px; color: #FFD93D; letter-spacing: -.02em; }
.score-ui small { font-size: 9.5px; color: rgb(255 255 255 / .82); }

/* Static, layered pose without hover pointers or with reduced motion */
@media (hover: none), (pointer: coarse) { .p3d__card { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .p3d__card, .p3d__layer { transition: none; }
  .p3d__card { transform: none !important; }
  .p3d__float, .dg-ph::after { animation: none; }
}
@media (max-width: 380px) { .p3d__stage { height: 230px; } .ui-window { width: 180px; } }

/* 25. Motion from the review notes (24 Oct 2026) ---------------------------------- */
/* Home hero entrance: label, headline, text and buttons rise in turn, the globe swells into
   place (globe.js then lights the offices and draws the routes), and the three cities follow. */
@keyframes hero-rise { from { opacity: 0; translate: 0 22px; } }
@keyframes hero-globe { from { opacity: 0; scale: .94; } }
.js .hero--home :is(.hero__eyebrow, .hero__title, .hero__sub, .hero__actions, .hero__meta-label, .hero__office) {
  animation: hero-rise .9s var(--ease-out) both;
}
.js .hero--home .hero__title { animation-delay: .08s; }
.js .hero--home .hero__sub { animation-delay: .2s; }
.js .hero--home .hero__actions { animation-delay: .3s; }
.js .hero--home .hero__meta-label { animation-delay: .55s; }
.js .hero--home .hero__office:nth-child(1) { animation-delay: .62s; }
.js .hero--home .hero__office:nth-child(2) { animation-delay: .7s; }
.js .hero--home .hero__office:nth-child(3) { animation-delay: .78s; }
.js .hero--home .hero__canvas { animation: hero-globe 1.6s var(--ease-out) .1s both; }

/* Photos in their frames: a curtain lifts off each one the first time it scrolls into view,
   and the photo settles from 116% to 108%; site.js then drifts it a few pixels against the
   page (initPhotoMotion). 108% keeps the edges out of sight. Reduced motion: none of this. */
@keyframes photo-settle { from { scale: 1.16; } }
.photo-motion { position: relative; }
.photo-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-surface-2);
  transform-origin: 50% 0;
  transition: transform 1.1s var(--ease-out);
  pointer-events: none;
}
.photo-motion.is-shown::after { transform: scaleY(0); }
.photo-motion img { scale: 1.08; }
.photo-motion.is-shown img { animation: photo-settle 1.6s var(--ease-out); }

/* City photos on the office cards: About shows them on top; Contact's stack puts them beside the details
   from tablet up (phones keep the photo on top, like About, in the centred column) */
.office-card:hover .card-media__img { transform: scale(var(--zoom)); }
@media (min-width: 768px) {
  .office-stack .office-card--photo { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-content: start; gap: 10px 20px; }
  .office-stack .office-card--photo > :not(.card-media) { grid-column: 2; }
  .office-stack .office-card--photo .card-media {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin: calc(var(--pad-card) * -1) 0 calc(var(--pad-card) * -1) calc(var(--pad-card) * -1);
    aspect-ratio: auto;
  }
}

/* 26. Phones: one centred column (UI review, 26 Oct 2026) ------------------------------
   Below 768px every page reads down one centred column: heroes, headings, intros, labels, icons,
   cards, stats, steps, the timeline and the footer are centred, and buttons share one width.
   Text read line by line (legal text, articles, forms, specs, bullet lists) stays left-aligned
   for readability, in a centred block. Tablets and desktops keep their layouts. */
@media (max-width: 767px) {
  main, .site-footer { text-align: center; }
  :is(.form, .prose, .toc, .article__body, .specs, .acc, .card--facts, .p3d__stage, .biz-row__caps, .doc-link) { text-align: left; }

  /* Blocks with a measure, short rules and icon tiles sit in the middle */
  main :is(.lead, .hero__sub, .section-head__intro, .step__text, .role__summary, .gold-rule, .pillar__rule, .sitemap-list),
  .section-head .h2::after,
  :is(.feature__icon, .feature__gicon, .value__icon, .step__gicon, .ptype__icon, .ind-tile__icon, .biz-row__icon, .cert__badge) { margin-inline: auto; }
  .biz-row__caps { width: fit-content; max-width: 100%; margin-inline: auto; }

  /* Rows of links, chips, tags and actions centre what they hold */
  main :is(.cluster, .chip-row, .hero__actions, .crumbs, .card__top, .card__foot, .news-card__meta, .article__meta,
           .pcard__tags, .role__meta, .filters, .share, .address-list li) { justify-content: center; }
  .platform-card .card__foot, .hero--plain .hero__actions, .band--hero .hero__actions { justify-content: center; }
  .p3d__foot { align-items: center; }
  .p3d__top { justify-content: center; }   /* the product logo sits over the centred text, not at the left */
  :is(.hero--plain .hero__content, .band__hero-grid, .notfound, .empty-state, .form__success, .office-card__lines, .soon) { justify-items: center; text-align: center; }
  .office-card__code { justify-content: center; gap: 14px; }
  .band--hero .hero__title { text-align: center; }
  :is(.contact-email, .soon__badge) { margin-inline: auto; }   /* auto margins centre in grid and flex parents alike */
  .soon__media { width: 100%; }

  /* Buttons: one width, centred; full width in forms, natural size inside legal text.
     A label longer than the button wraps onto two lines instead of being cut off (320px). */
  main .btn { width: min(100%, 340px); white-space: normal; text-wrap: balance; line-height: 1.25; padding-block: 8px; }
  main .hero__actions { width: 100%; }   /* a centred row would shrink to one button and keep it narrow */
  .role > .btn { justify-self: center; }
  main .form .btn { width: 100%; }
  main .prose .btn { width: auto; }
  .form--inline .form__line { justify-items: stretch; }
  .article__foot { flex-direction: column; }
  .doc-link { flex-wrap: wrap; row-gap: 2px; padding-block: 10px; }   /* the email drops below its label instead of squeezing it */

  /* The About page links scroll in one row; auto margins centre them when they fit
     (justify-content: center would hide the first chips once the row overflows) */
  .subnav .chip-row { justify-content: flex-start; }
  .subnav .chip-row > :first-child { margin-left: auto; }
  .subnav .chip-row > :last-child { margin-right: auto; }

  /* Icon lists and reseller rows stack: icon or logo on top, text below */
  .connect-item, .why-item, .place, .band__line { flex-direction: column; align-items: center; gap: 10px; }
  .resell { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .resell .logo-tile { width: min(100%, 220px); }

  /* Stats: centred figures either side of one centre rule */
  .stat-strip { gap: 28px 16px; background: linear-gradient(var(--color-line), var(--color-line)) 50% 0 / 1px 100% no-repeat content-box; }
  .stat-strip__item { justify-items: center; padding-left: 0; border-left: 0; }

  /* Steps: a dot above each step and a short line down to the next (icon steps use the icon) */
  .steps { gap: 44px; padding: 0; }
  .steps::before { display: none; }
  .step { justify-items: center; padding-top: 28px; }
  .step::before { top: 0; left: 50%; translate: -50% 0; }
  .step--icon { padding-top: 0; }
  .step--icon::before { display: none; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 1px;
    height: 24px;
    background: color-mix(in srgb, var(--color-text) 24%, transparent);
  }

  /* Timeline: the rail runs down the middle behind the cards, a dot in each gap */
  .timeline { padding: 0; }
  .timeline::before { left: 50%; translate: -.5px 0; }
  .tl-item { padding: 36px 0 0; }
  .tl-item::before { top: 11px; left: 50%; translate: -50% 0; }
  .tl-card { position: relative; justify-items: center; }

  /* The three other products: one column on small phones, one row of three from 480px (never 2 + 1) */
  @media (min-width: 480px) {
    .mini-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mini-products .logo-tile { padding: 14px 16px; }
  }

  /* Last odd news card spans the row on wide phones, so no card sits alone */
  @media (min-width: 640px) {
    .grid--news > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .grid--news > :last-child:nth-child(odd) .card-media { aspect-ratio: 21 / 9; }
  }

  /* Footer: brand and subscribe full width, the two link lists side by side, offices two by two */
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__brand, .footer__office { justify-items: center; }
  .footer__sign { justify-items: center; }
  .footer__offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__office span { text-wrap: balance; }   /* "South Africa ·" / "Head office", not "… Head" / "office" */
  .footer__bottom { flex-direction: column; }
  .social, .legal-links { justify-content: center; }
}

/* ===========================================================================
   Review call, 27 Oct 2026: Solutions, the reworked Services page, the product
   family and its pages, business wordmarks. Layouts follow the STS Website
   Samples (heading and text on the left, detail on the right).
   =========================================================================== */

/* Stand-in wordmarks (src/components/wordmark.py) */
.wm { display: inline-flex; align-items: center; gap: 10px; color: var(--color-text); text-align: left; }
.wm__mark { flex: none; color: var(--wm, var(--color-accent)); }
.wm__text { display: grid; gap: 3px; }
.wm__name { font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.wm__name b { font-weight: 700; color: var(--wm, var(--color-accent-text)); }
.wm__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); line-height: 1.2; }
.wm--sm .wm__mark { width: 20px; height: 20px; }
.wm--sm .wm__name { font-size: .9375rem; }
.wm--sm { gap: 7px; }
.wm--lg .wm__mark { width: 34px; height: 34px; }
.wm--lg .wm__name { font-size: 1.625rem; }
.wm--lg .wm__sub { font-size: .75rem; }
/* STS letters from the group logo (#sts-mark), for a business without a logo of its own */
.wm__sts { display: block; width: auto; height: 1rem; aspect-ratio: 363.45 / 111.45; }
.wm--sts .wm__sub { letter-spacing: .12em; }
.wm--sts.wm--sm .wm__sts { height: .75rem; }
.wm--sts.wm--sm .wm__sub { font-size: .625rem; letter-spacing: .08em; }
.wm--sts.wm--lg .wm__sts { height: 1.625rem; }
.wm__ti { font-family: var(--font-brand); font-size: 1.5rem; letter-spacing: .12em; line-height: 1; color: var(--color-text); }
.on-dark .wm, .on-dark .wm__ti { color: var(--band-text); }
:root[data-theme="dark"] .wm__name b { filter: brightness(1.25); }

/* Product menu tiles for products without a logo file */
.nav-menu__logo--mark { color: var(--wm); background: color-mix(in srgb, var(--wm) 9%, var(--color-surface)); }

/* Closing call-to-action panel */
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }   /* capped like .hero__product */
.closing .lead { color: var(--band-muted); }
@media (min-width: 900px) { .closing__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } }

/* Solutions */
.sol-card { padding-bottom: calc(var(--pad-card) - 4px); }
.sol-card__body { display: grid; gap: 12px; flex: 1; align-content: start; }
.sol-card__head { display: flex; gap: 14px; align-items: baseline; }
.sol-card__num { font: 500 1.375rem/1 var(--font-sans); color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.sol-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--color-line); list-style: none; }
.sol-mark { display: inline-flex; align-items: center; min-height: 36px; }
.sol-mark--text { font-weight: 700; font-size: .9375rem; letter-spacing: -.01em; }
.sol-mark--logo .logo-tile { width: 124px; height: 40px; aspect-ratio: auto; padding: 5px 10px; border-radius: 8px; }
.sol-mark--logo .logo-tile img { max-width: 100%; max-height: 28px; }
.sol-grid .card__foot { margin-top: auto; }
@media (min-width: 640px) and (max-width: 1023px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Services */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.badge-row__item { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; }
.badge-row__item .icon { color: var(--color-accent-text); }
.svc-grid { grid-template-columns: minmax(0, 1fr); }
.svc-card__body { display: grid; gap: 10px; flex: 1; align-content: start; }
.svc-card__head { display: flex; gap: 12px; align-items: center; }
.svc-card__head .card__title { font-size: 1.0625rem; }
.svc-card .card-media { aspect-ratio: 16 / 9; }
.svc-card .feature__icon, .fam-card .feature__icon, .feature-row .feature__icon, .type-item .feature__icon, .model-item .feature__icon { flex: none; color: var(--color-accent-text); background: var(--color-accent-soft); border-color: transparent; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* The full-width odd card gets a wide photo, as in the businesses and news grids (16:9 across the row was ~530px tall) */
@media (min-width: 640px) and (max-width: 1099px) { .svc-grid > :last-child:nth-child(odd) .card-media { aspect-ratio: 21 / 9; } }
@media (min-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .svc-grid > * { grid-column: span 3; }
  .svc-grid > :nth-child(n+5), .svc-grid > :last-child:nth-child(odd) { grid-column: span 4; }
}
.type-grid, .model-grid, .feature-list, .fam-cards, .fam-steps, .tc-family, .family-strip__list { margin: 0; padding: 0; list-style: none; }
.type-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin-bottom: var(--gap); }
@media (min-width: 640px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.type-item, .model-item, .feature-row, .fam-card { display: flex; gap: 14px; align-items: flex-start; }
.type-item, .model-item, .fam-card { padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.section--surface .type-item { background: var(--color-bg); }
.type-item__title, .model-item__title, .feature-row__title, .fam-card__title { font-weight: 600; letter-spacing: -.01em; }
.lab__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .lab__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.feature-list { display: grid; gap: 18px; }
.on-dark .feature-row .feature__icon, .on-dark .fam-card .feature__icon { background: rgb(255 255 255 / .06); color: var(--color-accent); }
.on-dark .muted, .on-dark .card__text { color: var(--band-muted); }
.model-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 640px) { .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process__title { margin: 0 0 var(--head-gap); }
.proof { display: grid; gap: 24px; align-items: center; }
.proof__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 0; padding: 0; list-style: none; }
/* flex: none, or .client-logo's column share (flex-basis) overrides the width and the tiles grow with the screen */
.proof__logos .client-logo { flex: none; width: 112px; height: 48px; padding: 8px 12px; }
.proof__logos .client-logo img { max-height: 30px; }
/* Side by side from 1200px: at 960–1199px the logo row squeezed the heading into a narrow column */
@media (min-width: 1200px) { .proof { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } .proof__logos { padding-left: 40px; border-left: 1px solid var(--color-line); } }

/* Product family pages (ShariahFin, TournamentPro, Lumina, TechnoProduct) */
.fam-hero__brand { margin-bottom: 4px; }
.fam-hero__note { max-width: 56ch; margin: 0; padding: 12px 16px; border-left: 2px solid var(--color-accent); background: var(--color-accent-soft); color: var(--color-text); font-size: .9375rem; border-radius: 0 10px 10px 0; }
.fam-hero__photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--color-surface-2); }
.fam-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Below 1024px the hero is one column: a full-width 4:5 photo was about 880px tall on a tablet */
@media (max-width: 1023px) { .fam-hero__photo { aspect-ratio: 16 / 10; } }
.fam-hero__frame .frame__caption { margin-top: 10px; }
.fam-split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .fam-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .fam-split--solo { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
/* Three cards beside the heading left each about 120px of text at 1024–1199px: the heading goes on top until 1200px */
@media (min-width: 1024px) and (max-width: 1199px) { .fam-split:has(.fam-cards--3) { grid-template-columns: minmax(0, 1fr); } }
.fam-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .fam-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fam-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fam-cards--3 .fam-card { flex-direction: column; }
}
.fam-card__note { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--color-line); font-size: .8125rem; color: var(--color-muted); }
.fam-band .fam-card { background: rgb(255 255 255 / .04); border-color: var(--band-line); }
.fam-band .lead { color: var(--band-muted); }
.fam-steps { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 640px) { .fam-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .fam-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fam-step { display: grid; gap: 8px; align-content: start; padding: var(--pad-card) 0 0; border-top: 2px solid var(--color-line); }
.fam-step__num { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--color-accent); border-radius: 999px; color: var(--color-accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* TechnoCenter family strip on the TechnoCenter page */
.tc-family { display: flex; flex-wrap: wrap; gap: 12px; }
.tc-family__item > *, .tc-family__item { display: inline-flex; }
.tc-family__item > a, .tc-family__item > .wm { padding: 14px 18px; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); text-decoration: none; }
.tc-family__item > a:hover { border-color: color-mix(in srgb, var(--color-text) 18%, transparent); text-decoration: none; }

/* Home: the rest of the product family under the four cards */
.family-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--gap); padding: 18px var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-bg); }
.family-strip__label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); }
.family-strip__list { display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1; }
.family-strip__item { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.family-strip__item:hover { text-decoration: none; opacity: .8; }

/* Businesses: logos, and the jump links on one line */
.biz-row__logo { display: inline-flex; min-height: 56px; align-items: center; }
@media (min-width: 1024px) {
  .chip-row--one-line { flex-wrap: nowrap; gap: 6px; }
  .chip-row--one-line .chip { white-space: nowrap; padding-inline: 12px; font-size: .875rem; }
}

/* Phones: the new rows centre like the rest of the site; icon rows stack */
@media (max-width: 767px) {
  :is(.type-item, .model-item, .feature-row, .fam-card) { flex-direction: column; align-items: center; text-align: center; }
  :is(.sol-marks, .badge-row, .proof__logos, .tc-family, .family-strip, .family-strip__list, .biz-row__logo) { justify-content: center; }
  /* Icon or number above the card title, as on the other icon cards: beside it, the title sat off-centre */
  :is(.svc-card__head, .sol-card__head) { flex-direction: column; align-items: center; gap: 8px; }
  /* "Also from STS": the label above the list, not beside it (the list sat off to the right) */
  .family-strip { flex-direction: column; }
  .family-strip__list { flex: none; width: 100%; }
  /* The TechnoCenter family: one tile width (the buttons' width), the wordmark centred in each */
  .tc-family { flex-direction: column; align-items: center; }
  .tc-family__item { width: min(100%, 340px); }
  .tc-family__item > a, .tc-family__item > .wm { width: 100%; justify-content: center; }
  .fam-step { justify-items: center; text-align: center; }
  .wm { text-align: left; }
  .fam-hero__note { border-left: 0; border-top: 2px solid var(--color-accent); border-radius: 0 0 10px 10px; }
}

/* Section heads with a heading and an intro side by side (Solutions, Services) */
.section-head--pair { margin-bottom: var(--head-gap); }
@media (min-width: 960px) { .section-head--pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 56px; } }

/* The product family in the main 3D card style (review, 27 Oct 2026). Generic positions for scene pieces. */
.at-tl { top: 24px; left: 16px; }
.at-tr { top: 20px; right: 16px; }
.at-r { top: 104px; right: 12px; }
.at-bl { bottom: 22px; left: 20px; }
.at-br { bottom: 20px; right: 18px; }
.at-c { top: 26px; left: calc(50% - 58px); }
.at-fill { inset: 0; overflow: hidden; border-radius: 21px 21px 0 0; }
.at-fill .p3d__float { position: absolute; inset: 0; animation: none; }
.p3d__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.row-ui { display: grid; gap: 6px; padding: 10px; }
.row-ui__row { display: flex; align-items: center; gap: 7px; font-size: 10.5px; }
.row-ui__row i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.row-ui__row span { flex: 1; opacity: .85; }
.row-ui__row b { font-weight: 650; }
.row-ui--phone { padding: 4px 0; }
.code-lines .ui-line { height: 5px; margin: 3px 0; }
.mark-ui { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 16px 30px -14px rgb(0 0 0 / .7); }
.mark-ui img { width: 32px; height: 32px; object-fit: contain; }
.mark-ui--badge { width: 64px; height: 64px; padding: 4px; object-fit: contain; }
.chip-ui--light { background: #FFFFFF; color: #161821; }
.chip-ui--light img { display: block; width: auto !important; height: 13px !important; max-width: 70px; }
.chip-ui--sand { background: #F7EBD3; color: #7A5212; }
.chip-ui--sky { background: #E0F2FA; color: #145A73; }
.phone-ui--sand { background: linear-gradient(170deg, #3A2B16, #1C150C); }
.code-ui--warm { border-color: rgb(246 150 11 / .45); color: #FDBA74; }
.score-ui--warm b { color: #F2B05E; }
.p3d__logo--mark { padding: 6px 12px; background: var(--color-surface); }
.p3d__logo--mark .wm__name { font-size: .9375rem; }

/* Supplied logos */
.wm__mark--img { flex: none; width: 24px; height: 24px; object-fit: contain; }
.wm--sm .wm__mark--img { width: 20px; height: 20px; }
.wm--lg .wm__mark--img { width: 36px; height: 36px; }
.nav-menu__logo--mark img { width: 26px; height: 26px; object-fit: contain; }
.fam-card__logo { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #FFFFFF; padding: 4px; }
.biz-row__logo-img { display: block; width: auto; height: 56px; }
/* Business logos drawn inline (/images/brand/*-logo.svg): the grey ink turns white on dark.
   Sized to the content around them: about 50px tall on a business row, the ConstructUI tile's
   40px in a solution card. */
.biz-logo { display: block; max-width: 100%; height: auto; }
.biz-logo__ink { fill: #595959; }
:root[data-theme="dark"] .biz-logo__ink, .on-dark .biz-logo__ink { fill: #FFFFFF; }
.biz-row__logo .biz-logo { width: 120px; }
.sol-mark--biz .biz-logo { width: 96px; }

/* Lumina: AI model providers (illustrative), as in the sample */
.providers { display: grid; gap: 12px; padding: 18px var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); }
.providers__label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); }
.providers__label span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--color-muted); }
.providers__list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.provider { display: inline-flex; align-items: center; min-height: 52px; padding: 10px 16px; border: 1px solid var(--color-line); border-radius: 12px; background: var(--color-bg); }
.provider img { display: block; width: auto; height: 22px; }
.provider span { display: grid; gap: 2px; font-size: .875rem; }
.provider small { color: var(--color-muted); font-size: .75rem; }
:root[data-theme="dark"] .provider img { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 767px) { .providers__list { justify-content: center; } }

/* The page's one-sentence definition from the SEO metadata register (build.py apply_register):
   readable text for people, search and AI answers alike. */
.hero__definition { max-width: 62ch; margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--color-accent); color: var(--color-muted); font-size: .9375rem; line-height: 1.55; }
.band--hero .hero__definition { color: var(--band-muted); }
/* Phones centre the text, so the gold rule moves from the left edge to a short centred line above it */
@media (max-width: 767px) {
  .hero__definition { margin-inline: auto; padding: 16px 0 0; border-left: 0; background: var(--grad) 50% 0 / 48px 2px no-repeat; }
}

/* Marketplaces: where STS products are listed, starting with the Mendix Marketplace */
.marketplaces { display: grid; gap: 20px 40px; align-items: center; padding: var(--pad-card); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--inset-hi); }
@media (min-width: 900px) { .marketplaces { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }
.section--surface .marketplaces { background: var(--color-bg); }
.marketplaces__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.market-tile { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 18px; padding: 16px 18px; border: 1px solid var(--color-line); border-radius: 14px; background: var(--color-bg); color: var(--color-text); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-move) var(--ease-out); }
.section--surface .market-tile { background: var(--color-surface); }
.market-tile:hover { border-color: color-mix(in srgb, var(--color-text) 22%, transparent); transform: translateY(var(--lift)); text-decoration: none; }
.market-tile__logo { grid-row: span 2; display: block; width: auto; height: 26px; }
.market-tile__name { font-weight: 600; line-height: 1.25; }
.market-tile .link-arrow { min-height: 0; font-size: .875rem; }
:root[data-theme="dark"] .market-tile__logo { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 767px) {
  .marketplaces { text-align: center; }
  .market-tile { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .market-tile__logo { grid-row: auto; }
}
