/* =====================================================================
   GAUDIUM design system (Nov 2026 rebrand)
   Derived from the GAUDIUM letterhead: Manrope throughout, ink type on
   paper, hairline rules, tracked blue labels, the blue > cyan > violet
   circuit trace with node terminals, the hexagon "G" mark and the 45deg
   chamfers of the wordmark.
   ===================================================================== */

/* Manrope is served from this site, not from a font service: one variable file per
   character range, weights 200 to 800. The files and their licence are in src/assets/fonts/. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-v23-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-v23-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --r1 { syntax: '<color>'; inherits: true; initial-value: #E1E5EE; }
@property --r2 { syntax: '<color>'; inherits: true; initial-value: #E1E5EE; }

:root {
  /* Brand (exact letterhead values) */
  --blue: #3B5BFF;
  --blue-deep: #2B46E0;
  --blue-soft: #EEF1FF;
  --blue-wash: #F5F7FF;
  --violet: #8B5CF6;
  --violet-deep: #6D3FE6;
  --cyan: #22CCE6;

  /* Neutrals (letterhead ink, body, muted, hairline, separator) */
  --ink: #0B0F17;
  --ink-2: #111727;
  --ink-3: #1A2236;
  --body: #283042;
  --muted: #667085;
  --faint: #98A2B3;
  --line: #E1E5EE;
  --line-soft: #EDF0F6;
  --sep: #B9C0CF;
  --paper: #FFFFFF;
  --mist: #F6F8FC;

  /* On ink */
  --on-ink: #F4F6FB;
  --on-ink-muted: #A6B0C4;
  --on-ink-line: rgba(255, 255, 255, .1);
  --blue-on-ink: #93A6FF;

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  --grad-x: linear-gradient(90deg, var(--blue) 0%, var(--violet) 100%);
  --trace: linear-gradient(90deg, var(--blue) 0%, var(--blue) 62%, var(--cyan) 86%, var(--violet) 100%);

  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'%3E%3Cpath d='M20.78 0 41.57 12v24L20.78 48 0 36V12zM20.78 48v24' fill='none' stroke='%23DCE2ED'/%3E%3C/svg%3E");
  --lattice-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'%3E%3Cpath d='M20.78 0 41.57 12v24L20.78 48 0 36V12zM20.78 48v24' fill='none' stroke='%23FFFFFF' stroke-opacity='.09'/%3E%3C/svg%3E");

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.i { width: 1.25em; height: 1.25em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9375rem;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------
   Layout
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.section--flush-top { padding-top: 0; }
.section--mist { background: var(--mist); }
.section--lattice { background: var(--mist); isolation: isolate; overflow: hidden; }
.section--lattice::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--lattice); opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 10%, #000 10%, transparent 70%);
}
.grid { display: grid; gap: var(--gap, 24px); }
@media (min-width: 720px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split--wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split--top { align-items: start; }
}
.stack { display: grid; gap: var(--stack, 16px); align-content: start; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ---------------------------------------------------------------------
   Typography
   --------------------------------------------------------------------- */
.display, .h1, .h2, .h3, .h4 { color: var(--ink); font-weight: 800; text-wrap: balance; }
.display {
  font-size: clamp(2.5rem, 1.15rem + 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.h1 {
  font-size: clamp(2.35rem, 1.35rem + 3.3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.h2 {
  font-size: clamp(1.95rem, 1.3rem + 2.15vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.h3 {
  font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 750;
}
.h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.012em;
  font-weight: 750;
}
.lead {
  font-size: clamp(1.0625rem, .98rem + .38vw, 1.25rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 40rem;
  text-wrap: pretty;
}
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose p { text-wrap: pretty; }
.text-grad {
  background: var(--grad-x);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Letterhead label: tracked ExtraBold capitals in brand blue */
.label {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.3;
}
/* trace stub with a hollow node terminal, as on the letterhead rule */
.eyebrow::before {
  content: "";
  flex: none;
  width: 34px;
  height: 9px;
  background:
    radial-gradient(circle at calc(100% - 4.5px) 50%, #fff 0 2.1px, var(--violet) 2.4px 3.9px, transparent 4.2px),
    linear-gradient(90deg, var(--blue), var(--cyan) 70%, var(--violet)) 0 50% / calc(100% - 8px) 1.6px no-repeat;
}
.eyebrow b { font-weight: 800; color: var(--ink); letter-spacing: .12em; }
.eyebrow--light { color: var(--blue-on-ink); }
.eyebrow--light::before {
  background:
    radial-gradient(circle at calc(100% - 4.5px) 50%, transparent 0 2.1px, #fff 2.4px 3.9px, transparent 4.2px),
    linear-gradient(90deg, rgba(255,255,255,.5), #fff) 0 50% / calc(100% - 8px) 1.6px no-repeat;
}
.eyebrow--light b { color: #fff; }

/* ---------------------------------------------------------------------
   Signature: circuit trace (letterhead rule with node terminals)
   --------------------------------------------------------------------- */
.trace {
  position: relative;
  height: 10px;
  margin-inline: 1px;
}
.trace::before {
  content: "";
  position: absolute;
  left: 5px; right: 5px; top: 50%;
  height: 1.6px;
  transform: translateY(-50%);
  background: var(--trace);
}
.trace::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 5px 50%, #fff 0 2.6px, var(--blue) 2.9px 4.4px, transparent 4.7px),
    radial-gradient(circle at calc(100% - 5px) 50%, #fff 0 2.6px, var(--violet) 2.9px 4.4px, transparent 4.7px);
}
.js .trace[data-reveal]::before { transform: translateY(-50%) scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .1s; }
.js .trace[data-reveal].is-in::before { transform: translateY(-50%) scaleX(1); }

/* ---------------------------------------------------------------------
   Chamfer system: 45deg corner cuts from the wordmark (top-left and
   bottom-right). ::before = fill, ::after = hairline ring.
   --------------------------------------------------------------------- */
.chamfer, .btn {
  --ci: calc(var(--cut) - var(--bw) * .586);
  position: relative;
  isolation: isolate;
}
.chamfer {
  --cut: 18px;
  --bw: 1px;
  --fill: var(--paper);
  --r1: var(--line);
  --r2: var(--line);
  transition: --r1 .4s var(--ease), --r2 .4s var(--ease), transform .4s var(--ease);
}
.chamfer::before, .chamfer::after, .btn::before, .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.chamfer::before, .btn::before {
  background: var(--fill);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.chamfer::after, .btn::after {
  background: linear-gradient(135deg, var(--r1), var(--r2));
  clip-path: polygon(
    var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut), var(--cut) 0,
    calc(var(--bw) + var(--ci)) var(--bw), var(--bw) calc(var(--bw) + var(--ci)), var(--bw) calc(100% - var(--bw)),
    calc(100% - var(--bw) - var(--ci)) calc(100% - var(--bw)), calc(100% - var(--bw)) calc(100% - var(--bw) - var(--ci)),
    calc(100% - var(--bw)) var(--bw), calc(var(--bw) + var(--ci)) var(--bw), var(--cut) 0
  );
}
.chamfer--mist { --fill: var(--mist); }
.chamfer--sm { --cut: 10px; }
.chamfer--lg { --cut: 28px; }
.is-link:hover, .is-link:focus-visible { --r1: var(--blue); --r2: var(--violet); }
.is-link:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------------
   Buttons and links
   --------------------------------------------------------------------- */
.btn {
  --cut: 11px;
  --bw: 0px;
  --fill: var(--blue);
  --r1: transparent;
  --r2: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: #fff;
  white-space: nowrap;
  transition: --r1 .3s var(--ease), --r2 .3s var(--ease), color .25s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn::before { transition: background-position .7s var(--ease-out); }
.btn-primary::before {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue) 42%, #6A5DF9 72%, var(--violet) 100%);
  background-size: 260% 100%;
  background-position: 0 0;
}
.btn-primary:hover::before, .btn-primary:focus-visible::before { background-position: 100% 0; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { --bw: 1px; --fill: var(--paper); --r1: var(--sep); --r2: var(--sep); color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { --r1: var(--blue); --r2: var(--violet); color: var(--blue); }
.btn-light { --fill: #fff; color: var(--ink); }
.btn-light:hover { --fill: var(--blue-soft); }
.btn-outline-light { --bw: 1px; --fill: rgba(255, 255, 255, .06); --r1: rgba(255, 255, 255, .5); --r2: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover, .btn-outline-light:focus-visible { --fill: rgba(255, 255, 255, .14); --r1: #fff; --r2: #fff; }
.btn-sm { --cut: 9px; min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9375rem;
  color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.text-link .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.text-link:hover { background-size: calc(100% - 26px) 1.5px; }
.text-link:hover .i { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Header and navigation
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled, .nav-open .site-header { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); margin-right: auto; }
.logo-svg { height: 34px; width: auto; }
.brand:hover .mark-node--a { stroke-width: 18; }
.mark-node { transition: stroke-width .3s var(--ease); }

.site-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--body);
  transition: color .2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 7px;
  background:
    radial-gradient(circle at 3.5px 50%, #fff 0 1.4px, var(--blue) 1.7px 3px, transparent 3.3px),
    linear-gradient(90deg, var(--blue), var(--violet)) 6px 50% / calc(100% - 6px) 1.6px no-repeat;
}
.nav-caret {
  display: grid; place-items: center;
  width: 26px; height: 42px; margin-left: -10px;
  color: var(--muted);
}
.nav-caret .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-menu.is-open .nav-caret .i { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  width: 460px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .3s var(--ease), visibility .2s;
  filter: drop-shadow(0 28px 40px rgba(11, 15, 23, .12)) drop-shadow(0 2px 6px rgba(11, 15, 23, .05));
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
@media (hover: hover) {
  .has-menu:hover .nav-menu { opacity: 1; visibility: visible; transform: none; }
}
.has-menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu-card { --cut: 20px; padding: 22px 22px 18px; display: grid; gap: 12px; }
.menu-list { display: grid; gap: 4px; margin: 0; padding: 0; }
.menu-link {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; margin-inline: -12px;
  transition: background-color .2s;
}
.menu-link:hover, .menu-link[aria-current="page"] { background: var(--blue-wash); }
.menu-text { display: grid; gap: 2px; }
.menu-text strong { color: var(--ink); font-size: .9375rem; font-weight: 750; line-height: 1.3; }
.menu-text small { color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.menu-foot {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line);
}
.menu-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--blue); }
.menu-foot .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.menu-foot a:hover .i { transform: translateX(3px); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { display: none; font-size: .9375rem; font-weight: 600; color: var(--body); transition: color .2s; }
.header-link:hover { color: var(--blue); }
.header-cta { display: none; }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; color: var(--ink); }
.nav-toggle .i { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (min-width: 360px) { .header-cta { display: inline-flex; } }
@media (max-width: 639px) {
  /* phones: the short label ("Book a call") sits beside the menu button */
  .header-actions { gap: 12px; }
  .header-cta { padding: 0 14px; }
  .header-cta .cta-wide { display: none; }
}
@media (min-width: 1100px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .brand { margin-right: 8px; }
  .site-nav { margin-right: auto; }
}
@media (min-width: 1280px) { .header-link { display: inline-flex; } }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  animation: sheet-in .35s var(--ease-out);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-inner { padding-block: 12px 40px; display: grid; gap: 32px; }
.mobile-list { margin: 0; padding: 0; }
.mobile-list > li { border-bottom: 1px solid var(--line); }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-size: 1.375rem; font-weight: 750; letter-spacing: -.02em; color: var(--ink);
}
.mobile-link .i { width: 20px; height: 20px; color: var(--blue); }
.mobile-link[aria-current="page"] { color: var(--blue); }
.mobile-sub { margin: -6px 0 16px; padding: 0; display: grid; gap: 2px; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 600; color: var(--body); }
.mobile-sub .glyph { --gs: 22px; }
.mobile-sub a[aria-current="page"] { color: var(--blue); font-weight: 750; }
.mobile-foot { display: grid; gap: 24px; }
.mobile-contact { display: grid; gap: 14px; }
.mobile-contact dd { font-weight: 600; color: var(--ink); }
.nav-open body { overflow: hidden; }

/* ---------------------------------------------------------------------
   Hero (home)
   --------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 6vw, 88px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #C9D1E0 1.05px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 72% 38%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 75% at 72% 38%, #000 0%, transparent 72%);
  opacity: .8;
}
.hero-bg::after {
  content: ""; position: absolute;
  width: min(900px, 120vw); aspect-ratio: 1;
  right: -18%; top: -38%;
  background: radial-gradient(closest-side, rgba(59, 91, 255, .10), rgba(139, 92, 246, .05) 55%, transparent);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); } }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .lead { max-width: 36rem; }
/* Home hero label. On phones it wraps before "go-to-market systems", which the markup
   keeps whole, and the trace stub stays level with the first line. */
.hero .eyebrow { align-items: flex-start; }
.hero .eyebrow::before { margin-top: .28em; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* Spec strip: the letterhead's company table */
.spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.spec dt { font-size: .6875rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.spec dd { margin: 0; font-size: .9375rem; font-weight: 650; color: var(--ink); line-height: 1.45; }
.spec--strip { margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 720px) {
  .spec--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1024px) {
  .spec--strip { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; border-bottom: 1px solid var(--line); }
  .spec--strip > div { border-bottom: 0; padding: 22px 28px 24px; border-left: 1px solid var(--line); }
  .spec--strip > div:first-child { border-left: 0; padding-left: 0; }
}
.spec--rows > div { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .spec--rows > div { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: baseline; }
}
.spec--rows dd { font-weight: 550; color: var(--ink); }

/* Hero illustration */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
}
.hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.art-guide { fill: none; stroke: var(--sep); stroke-width: 1; stroke-dasharray: 3 7; opacity: .7; }
.art-dim path { fill: none; stroke: var(--faint); stroke-width: 1; }
.art-dim text { font: 800 8.5px/1 var(--font); letter-spacing: .32em; fill: var(--muted); }
.art-trace { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-pulse {
  fill: none; stroke: var(--cyan); stroke-width: 3.2; stroke-linecap: round;
  stroke-dasharray: 7 200; stroke-dashoffset: 7;
  filter: drop-shadow(0 0 4px rgba(34, 204, 230, .9));
  animation: pulse 3.4s linear infinite;
  animation-delay: calc(var(--pd, 0s) + 2.4s);
  opacity: 0;
}
@keyframes pulse {
  0% { stroke-dashoffset: 7; opacity: 1; }
  92% { opacity: 1; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
.art-node { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.art-ping { fill: none; stroke: var(--violet); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping-svg 2.6s var(--ease-out) infinite 2.6s; opacity: 0; }
@keyframes ping-svg { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }

.chip {
  --cut: 10px;
  position: absolute;
  left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: .7em;
  padding: .6em 1em .6em .65em;
  font-size: clamp(10px, 2.35cqi, 13.5px);
  line-height: 1.2;
  white-space: nowrap;
  filter: drop-shadow(0 12px 22px rgba(11, 15, 23, .08));
}
.chip::before, .chip::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.chip::before { background: #fff; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.chip::after {
  background: var(--line);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut), var(--cut) 0, calc(1px + var(--cut) - .586px) 1px, 1px calc(1px + var(--cut) - .586px), 1px calc(100% - 1px), calc(100% - 1px - var(--cut) + .586px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px - var(--cut) + .586px), calc(100% - 1px) 1px, calc(1px + var(--cut) - .586px) 1px, var(--cut) 0);
}
.chip--above { transform: translate(-50%, -100%); }
.chip--below { transform: translate(-50%, 0); }
.chip-ico { flex: none; display: grid; place-items: center; padding-right: .75em; border-right: 1px solid var(--line); }
.chip-ico .glyph { --gs: 1.9em; stroke-width: 2.3; }
.chip b { display: block; color: var(--ink); font-weight: 750; font-size: 1em; }
.chip small { display: block; margin-top: .15em; font-size: .72em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Load choreography (JS-enabled, motion allowed) */
.js .rise { animation: rise .9s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js .art-mark .mark-hex { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.7s var(--ease-out) .25s forwards; }
.js .art-mark .mark-node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .7s var(--ease-out) forwards; }
.js .art-mark .mark-node--a { animation-delay: 1.15s; }
.js .art-mark .mark-node--b { animation-delay: 1.45s; }
.js .art-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-out) forwards; animation-delay: calc(1.6s + var(--i) * .12s); }
.js .art-node { opacity: 0; animation: fade .5s var(--ease) forwards; animation-delay: calc(2.1s + var(--i) * .12s); }
.js .chip { opacity: 0; animation: chip-in .7s var(--ease-out) forwards; animation-delay: calc(2.2s + var(--i) * .14s); }
.js .art-guide, .js .art-dim { opacity: 0; animation: fade 1.2s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes chip-in { from { opacity: 0; margin-top: 10px; } to { opacity: 1; margin-top: 0; } }

/* ---------------------------------------------------------------------
   Page hero (inner pages)
   --------------------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); overflow: hidden; }
.page-hero .hero-bg::before { -webkit-mask-image: radial-gradient(ellipse 55% 85% at 85% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 55% 85% at 85% 30%, #000 0%, transparent 70%); }
.page-hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) { .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.page-hero-copy { display: grid; gap: 22px; justify-items: start; }
.page-hero-copy .actions { margin-top: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 28px; padding: 0; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 14px; height: 1.5px; background: var(--sep); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

/* Illustration panels */
.panel { --cut: 28px; --fill: var(--mist); padding: clamp(18px, 3vw, 32px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.panel-head .label { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--ink); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 204, 230, .18); }
.art svg { width: 100%; height: auto; overflow: visible; }
.art-grid path { fill: none; stroke: var(--line); stroke-width: 1; }
.art-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.js .art-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease-out) .3s forwards; }
.js .art .art-trace { animation-delay: calc(.5s + var(--i) * .14s); }
/* below-the-fold illustrations wait for their section to be revealed */
.js [data-reveal]:not(.is-in) :is(.art-line, .art-trace, .art-pulse) { animation-play-state: paused; }
.art-points circle { fill: #fff; stroke: var(--blue); stroke-width: 2.2; }
.art-tags text, .art-axis text, .art-status text { font: 800 10px/1 var(--font); letter-spacing: .18em; fill: var(--ink); }
.art-axis text { fill: var(--faint); font-weight: 700; letter-spacing: .1em; }
.art-status circle { fill: var(--cyan); }
.art-status text { fill: var(--muted); }
.art .art-pulse { animation-delay: calc(var(--pd, 0s) + .8s); }
.art--content .doc { fill: #fff; stroke: var(--line); stroke-width: 1.2; }
.art--content .doc--1 { stroke: var(--sep); }
.doc-lines rect { fill: var(--line); }
.art--ai .chipbox { fill: #fff; stroke: var(--sep); stroke-width: 1.2; }
.art-pins path { fill: none; stroke: var(--sep); stroke-width: 2; }
.art-pulse--wide { stroke-width: 4; }

/* ---------------------------------------------------------------------
   Section heads
   --------------------------------------------------------------------- */
.section-head { display: grid; gap: 18px; justify-items: start; max-width: 48rem; margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head p:not(.eyebrow) { color: var(--body); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); max-width: 40rem; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: 64px; }
  .section-head--split > :first-child { grid-column: 1 / -1; }
  .section-head--split > p:last-child { padding-bottom: 6px; }
}

/* ---------------------------------------------------------------------
   Intro film: a chamfered screen on mist. Without the script it is
   a plain player with its own controls; with it, a poster and one play button
   until the visitor starts it.
   --------------------------------------------------------------------- */
.section--film { background: var(--mist); isolation: isolate; overflow: hidden; }
.section--film::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--lattice); opacity: .65;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 88% 12%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 88% 12%, #000 10%, transparent 70%);
}
.film { margin: 0; }
.film-frame { --cut: 32px; --fill: var(--ink); aspect-ratio: 16 / 9; }
.film-screen {
  position: absolute; inset: var(--bw); overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--ci) 0, 100% 0, 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, 0 100%, 0 var(--ci));
}
.film-video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.film-play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: clamp(14px, 3.2vw, 40px); cursor: pointer;
  background: linear-gradient(180deg, transparent 58%, rgba(11, 15, 23, .5));
}
.film-play[hidden] { display: none; }
.film-play:focus-visible { outline: none; }
.film-play:focus-visible .film-btn { outline: 2px solid #fff; outline-offset: 4px; }
.film-play:hover .film-btn::before { background-position: 100% 0; }
.film-btn .i { width: 16px; height: 16px; }
.film-play:hover .film-btn .i { transform: none; }
.film-time { padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .38); font-weight: 600; font-variant-numeric: tabular-nums; opacity: .9; }
/* A real link over the call-to-action button painted into the end card (placed by the build) */
.film-cta {
  position: absolute; z-index: 2; overflow: hidden; white-space: nowrap; color: transparent; font-size: 1px;
  clip-path: polygon(3.9% 0, 100% 0, 100% 81%, 96.1% 100%, 0 100%, 0 19%);
  transition: background-color .2s var(--ease);
}
.film-cta:hover { background: rgba(255, 255, 255, .12); }
.film-cta:focus-visible { outline: none; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 2px #fff; }
@media (max-width: 559px) {
  .film-frame { --cut: 18px; }
  .film-btn { --cut: 9px; min-height: 40px; padding: 0 16px; gap: 8px; font-size: .8125rem; }
  .film-btn .i { width: 13px; height: 13px; }
  .film-time { padding-left: 9px; }
}

/* ---------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------- */
.card { --cut: 22px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 16px; height: 100%; }
.card > p { color: var(--body); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.num { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; color: var(--blue); font-variant-numeric: tabular-nums; }
.card .text-link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.card-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------------
   Glyphs: GAUDIUM's own pictograms (glyphs.mjs). Straight 0/45/90 degree
   strokes, wordmark chamfers and letterhead node terminals: structure in
   ink, the signal trace in blue, nodes blue (start) and violet (end).
   No container: the drawing is the icon. Dark panels recolour via --g-*.
   --------------------------------------------------------------------- */
.glyph {
  display: block;
  flex: none;
  width: var(--gs, 52px);
  height: var(--gs, 52px);
  max-width: none; /* glyphs keep their size; never squeezed by a narrow parent */
  overflow: visible;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.glyph .s { stroke: var(--g-ink, var(--ink)); }
.glyph .a { stroke: var(--g-accent, var(--blue)); }
.glyph .n { stroke: var(--g-node, var(--blue)); fill: transparent; transition: fill .3s var(--ease); }
.glyph .n--end { stroke: var(--g-node-end, var(--violet)); }
.glyph--lg { --gs: 64px; stroke-width: 1.45; }
.glyph--sm { --gs: 40px; stroke-width: 1.85; }
.glyph--xs { --gs: 24px; stroke-width: 2.5; }
/* "Powered on": a linked card lights its nodes on hover */
:is(.is-link, .is-hover, .menu-link):hover .glyph .n { fill: var(--g-node, var(--blue)); }
:is(.is-link, .is-hover, .menu-link):hover .glyph .n--end { fill: var(--g-node-end, var(--violet)); }
.section--ink, .cap-item--cta, .outcome--ink, .case-result, .newsletter {
  --g-ink: #fff;
  --g-accent: var(--blue-on-ink);
  --g-node: var(--blue-on-ink);
  --g-node-end: var(--cyan);
}
.tile--grad { --g-ink: #fff; --g-accent: #fff; --g-node: #fff; --g-node-end: var(--cyan); }
/* Draw-in as the card is revealed, like the hero mark: structure, then signal, then nodes */
.js [data-reveal] .glyph :is(.s, .a) { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js [data-reveal] .glyph .n { opacity: 0; transform-box: fill-box; transform-origin: center; }
.js [data-reveal].is-in .glyph :is(.s, .a) { animation: draw 1.1s var(--ease-out) calc(var(--d, 0s) + .2s) forwards; }
.js [data-reveal].is-in .glyph .a { animation-delay: calc(var(--d, 0s) + .45s); }
.js [data-reveal].is-in .glyph .n { animation: pop .5s var(--ease-out) calc(var(--d, 0s) + .9s) forwards; }

/* Whole-card links: the visible link stretches over its chamfered card */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.is-link:focus-within { --r1: var(--blue); --r2: var(--violet); }
.is-link .stretch:focus-visible { outline: none; }
.is-link:has(.stretch:focus-visible) { outline: 2px solid var(--blue); outline-offset: 4px; }
.quote-mark { display: block; }
.quote-mark .i { width: 100%; height: 100%; }
.process { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.process-label { margin-bottom: 28px; }
.tile-art { position: absolute; z-index: -1; right: 2%; top: 50%; translate: 0 -50%; width: min(400px, 44%); pointer-events: none; }
.tile-art svg { width: 100%; height: auto; }
@media (min-width: 900px) { .tile.tile--blueprint { padding-right: 46%; } }
@media (max-width: 899px) { .tile-art { right: -8%; top: 8%; translate: none; width: 70%; opacity: .45; } }

/* Node bullets */
.ticks { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; font-weight: 550; color: var(--ink); line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 1px; top: .32em;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--blue); background: #fff;
}
.ticks--dense { gap: 8px; font-size: .9375rem; }
.ticks--light li { color: var(--on-ink); }
.ticks--light li::before { background: transparent; border-color: var(--blue-on-ink); }

/* Enclosure-style numbered list (letterhead) */
.enum { counter-reset: enum; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.enum li { counter-increment: enum; display: grid; grid-template-columns: 34px minmax(0, 1fr); }
.enum li::before { content: counter(enum) "."; font-weight: 800; color: var(--blue); }

/* ---------------------------------------------------------------------
   Stats (home positioning)
   --------------------------------------------------------------------- */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding-bottom: 32px; }
.stat { --cut: 18px; padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 14px; align-content: space-between; min-height: 168px; }
.stat:nth-child(even) { translate: 0 32px; }
.stat-num {
  font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-num sup, .metric-num sup { font-size: .5em; letter-spacing: 0; vertical-align: .75em; color: var(--blue); margin-left: .04em; }
.stat-label { font-size: .6875rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stat-bar { width: 40px; height: 3px; background: var(--trace); }
@media (max-width: 479px) {
  .stats { padding-bottom: 0; }
  .stat:nth-child(even) { translate: none; }
}

/* ---------------------------------------------------------------------
   Capability cards (home)
   --------------------------------------------------------------------- */
/* One card per row, glyph beside the title and the list in two columns, until
   1100px. From there three columns whose rows (head, text, list, link) line up
   across the cards through subgrid, whatever wraps. */
.caps { display: grid; gap: 20px; }
.cap { --cut: 26px; padding: clamp(24px, 2.8vw, 38px); display: grid; gap: 18px; align-content: start; }
.cap-head { display: flex; align-items: center; gap: 18px; }
.cap .ticks { padding-top: 18px; border-top: 1px solid var(--line); }
.cap .text-link { justify-self: start; }
@media (max-width: 559px) { .cap-head .glyph { --gs: 52px; } }
@media (min-width: 560px) and (max-width: 1099px) { .cap .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
@media (min-width: 1100px) {
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap { grid-row: span 4; grid-template-rows: subgrid; }
  .cap-head { flex-direction: column; align-items: flex-start; gap: 24px; }
}
.cap-sub { font-size: .9375rem; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------------
   Principles + feature tiles (home methodology)
   --------------------------------------------------------------------- */
.principles { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.principle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.principle p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.tiles { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .tiles { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.tile { --cut: 30px; padding: clamp(28px, 3.4vw, 48px); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; }
.tile p { max-width: 30rem; }
.tile--blueprint { --fill: var(--mist); }
.tile--grad { --fill: transparent; --bw: 0px; color: rgba(255, 255, 255, .86); }
.tile--grad::before { background: linear-gradient(145deg, #3B5BFF 0%, #5554F2 50%, #7A4FE8 100%); }
.tile--grad .h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; }
.tile--grad .tile-mark { position: absolute; right: -60px; top: -40px; width: 260px; opacity: .22; z-index: -1; }
.tile--grad .tile-mark svg { width: 100%; height: auto; }
.tile--grad .tile-mark path, .tile--grad .tile-mark circle { stroke: #fff; }
.tile .h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; }
.bp-line { fill: none; stroke: #CFD6E4; stroke-width: 1; }
.bp-line--accent { stroke: var(--blue); stroke-width: 1.5; }
.bp-node { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.bp-text { font: 800 9px/1 var(--font); letter-spacing: .24em; fill: var(--faint); }

/* ---------------------------------------------------------------------
   Process steps: a trace with node terminals
   --------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.6px;
  background: linear-gradient(180deg, var(--blue), var(--blue) 62%, var(--cyan) 86%, var(--violet));
}
.step { position: relative; padding-left: 42px; display: grid; gap: 8px; align-content: start; }
.metric, .case-head, .vm .card { align-content: start; }
.step-node {
  position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--blue); background: #fff;
}
.step:last-child .step-node { border-color: var(--violet); }
.step-num { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.step p { color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; }
  .steps::before { left: 8px; right: 8px; top: 7px; bottom: auto; width: auto; height: 1.6px; background: var(--trace); }
  .step { padding-left: 0; padding-right: 8px; }
  .step-node { top: -44px; }
}
.steps--vertical { margin-top: 22px; gap: 26px; }
.steps--vertical::before { left: 7px; top: 10px; bottom: 10px; right: auto; width: 1.6px; height: auto; background: linear-gradient(180deg, var(--blue), var(--blue) 62%, var(--cyan) 86%, var(--violet)); }
@media (min-width: 900px) {
  .steps--vertical { grid-auto-flow: row; padding-top: 0; }
  .steps--vertical .step { padding-left: 42px; }
  .steps--vertical .step-node { top: 3px; }
}
.section--ink .step-node { background: var(--ink); }
.section--ink .step p { color: var(--on-ink-muted); }
.section--ink .step .h4 { color: #fff; }

/* Vertical approach list with big numerals */
.approach { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.approach li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.approach-num { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--blue); font-variant-numeric: tabular-nums; }
.approach p { color: var(--body); margin-top: 6px; }

/* ---------------------------------------------------------------------
   Ink section (results)
   --------------------------------------------------------------------- */
.section--ink { background: var(--ink); color: var(--on-ink-muted); isolation: isolate; overflow: hidden; }
.section--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--lattice-dark);
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 45%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 75% at 50% 45%, #000 15%, transparent 75%);
}
.section--ink::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(600px 400px at 8% 0%, rgba(59, 91, 255, .28), transparent 70%),
    radial-gradient(600px 420px at 95% 100%, rgba(139, 92, 246, .24), transparent 70%);
}
.section--ink .h2, .section--ink .h3, .section--ink .h4 { color: #fff; }
.section--ink .eyebrow { color: var(--blue-on-ink); }
.section--ink .eyebrow::before {
  background:
    radial-gradient(circle at calc(100% - 4.5px) 50%, var(--ink) 0 2.1px, var(--violet) 2.4px 3.9px, transparent 4.2px),
    linear-gradient(90deg, var(--blue), var(--cyan) 70%, var(--violet)) 0 50% / calc(100% - 8px) 1.6px no-repeat;
}
.section--ink .section-head p:not(.eyebrow) { color: var(--on-ink-muted); }
.section--ink .eyebrow b { color: #fff; }
.metrics { display: grid; gap: 40px; }
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.metric { display: grid; gap: 18px; justify-items: start; padding: 0 clamp(0px, 3vw, 40px); }
@media (min-width: 768px) {
  .metric + .metric { border-left: 1px solid var(--on-ink-line); }
  .metric:first-child { padding-left: 0; }
}
.metric-num {
  font-size: clamp(3.2rem, 2rem + 4.6vw, 6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #FFFFFF 30%, #B8C4FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-num sup { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.metric .trace { width: 120px; }
.metric .trace::after {
  background:
    radial-gradient(circle at 5px 50%, var(--ink) 0 2.6px, var(--blue) 2.9px 4.4px, transparent 4.7px),
    radial-gradient(circle at calc(100% - 5px) 50%, var(--ink) 0 2.6px, var(--violet) 2.9px 4.4px, transparent 4.7px);
}
.metric-label { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink); }
.metric p { font-size: .9375rem; max-width: 22rem; }

/* ---------------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { --cut: 24px; padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 22px; height: 100%; margin: 0; }
.quote-mark { width: 34px; height: 34px; color: var(--blue); }
.quote:nth-child(2) .quote-mark { color: var(--violet); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 1.0625rem; line-height: 1.62; color: var(--ink); font-weight: 500; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-by strong { display: block; color: var(--ink); font-size: .9375rem; }
.quote-by > span { display: block; font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
@media (min-width: 900px) { .quote:nth-child(2) { transform: translateY(28px); } }

/* ---------------------------------------------------------------------
   Closing CTA panel
   --------------------------------------------------------------------- */
.section--cta { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.cta-panel {
  --cut: clamp(22px, 3vw, 40px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 36px;
  padding: clamp(36px, 6vw, 80px);
  color: rgba(255, 255, 255, .86);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(34, 204, 230, .22), transparent 70%),
    linear-gradient(135deg, #2F4DF5 0%, #4A55F2 45%, #7A4FE8 100%);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lattice-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
@media (min-width: 1024px) { .cta-panel { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: end; gap: 64px; } }
.cta-copy { display: grid; gap: 20px; justify-items: start; position: relative; }
.cta-copy .h2 { color: #fff; max-width: 15ch; }
.cta-text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); max-width: 34rem; }
.cta-copy .actions { margin-top: 10px; }
.cta-art { position: absolute; z-index: -1; right: clamp(-120px, -6vw, -40px); top: 50%; width: clamp(280px, 34vw, 460px); transform: translateY(-50%); opacity: .16; }
.cta-mark path, .cta-mark circle { stroke: #fff; }
.cta-contact { margin: 0; display: grid; gap: 14px; position: relative; }
.cta-contact > div { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.cta-contact .label { color: rgba(255, 255, 255, .7); }
.cta-contact dd { margin: 0; color: #fff; font-weight: 650; }
.cta-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  font-weight: 750; letter-spacing: -.015em; color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, background-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; background: var(--ink); transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--blue); border-color: var(--blue); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 clamp(0px, 6vw, 72px) 26px 0; color: var(--body); max-width: 52rem; }
.faq-item[open] .faq-a { animation: rise .45s var(--ease-out); }

/* ---------------------------------------------------------------------
   Services overview rows
   --------------------------------------------------------------------- */
.svc-row { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc-row--flip .svc-media { order: -1; }
}
.svc-body { display: grid; gap: 20px; justify-items: start; }
.svc-meta { display: flex; align-items: center; gap: 16px; }
.svc-tagline { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.svc-tagline::before { content: "\201C"; color: var(--blue); }
.svc-tagline::after { content: "\201D"; color: var(--blue); }
.svc-body .ticks { width: 100%; padding: 22px 0; border-block: 1px solid var(--line); }
@media (min-width: 560px) { .svc-body .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.anchor-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.anchor-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); background: #fff; font-size: .875rem; font-weight: 650; color: var(--ink); transition: border-color .2s, color .2s; }
.anchor-chip .glyph { --gs: 20px; }
.anchor-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------------------------------------------------------------------
   Capability grid (service pages)
   --------------------------------------------------------------------- */
.cap-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cap-item { --cut: 20px; padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; }
.cap-item p { font-size: .9375rem; color: var(--muted); }
.cap-item .glyph { margin-bottom: 4px; }
.cap-item--cta { --fill: var(--ink); --r1: var(--ink); --r2: var(--ink); color: var(--on-ink-muted); display: flex; flex-direction: column; }
.cap-item--cta .text-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.cap-item--cta .h4 { color: #fff; font-size: 1.25rem; }
.cap-item--cta p { color: var(--on-ink-muted); }
.cap-item--cta .text-link { color: #fff; }
.cap-grid--3 { }
@media (min-width: 1024px) { .cap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cap-feature { grid-column: 1 / -1; }
@media (min-width: 1024px) { .cap-feature { grid-column: span 2; } }
.cap-feature .ticks { margin-top: 8px; }
@media (min-width: 560px) { .cap-feature .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Outcomes (digital marketing) */
.outcomes { display: grid; gap: 16px; }
@media (min-width: 768px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.outcome { --cut: 22px; padding: clamp(24px, 2.8vw, 36px); display: grid; gap: 14px; align-content: start; }
.outcome-kpi { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.outcome-kpi strong { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.outcome-kpi > span { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.outcome p:not(.label) { color: var(--body); }
.outcome--ink p:not(.label) { color: var(--on-ink-muted); }
.outcome--ink { --fill: var(--ink); --r1: var(--ink); --r2: var(--ink); color: var(--on-ink-muted); }
.outcome--ink .h3, .outcome--ink .outcome-kpi strong { color: #fff; }
.outcome--ink .label { color: var(--blue-on-ink); }

/* Callout card in hero aside */
.callout { --cut: 22px; padding: 26px; display: grid; gap: 12px; }
.callout-kpi { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.callout p { color: var(--muted); font-size: .9375rem; }
.hero-aside { display: grid; gap: 16px; }

/* Chat mock (AI page) */
.chat { --cut: 24px; padding: 20px; display: grid; gap: 14px; max-width: 520px; width: 100%; filter: drop-shadow(0 30px 50px rgba(11, 15, 23, .10)); }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: .9375rem; color: var(--ink); line-height: 1.2; }
.chat-head small { font-size: .75rem; color: var(--muted); }
.chat-head .status { margin-left: auto; }
.msg { max-width: 88%; padding: 12px 16px; font-size: .9375rem; line-height: 1.55; }
.msg--user { justify-self: end; background: var(--ink); color: #fff; }
.msg--agent { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.msg small { display: block; margin-bottom: 4px; font-size: .625rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.msg--user small { color: var(--blue-on-ink); }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--mist); border: 1px solid var(--line); justify-self: start; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-note { font-size: .75rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   Case studies
   --------------------------------------------------------------------- */
.cases { display: grid; gap: 24px; }
.case { --cut: 30px; padding: clamp(26px, 4vw, 52px); display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .case { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: stretch; } }
.case-head { display: grid; gap: 16px; justify-items: start; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line); font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--body); background: #fff; }
.tag--blue { border-color: var(--blue-soft); background: var(--blue-soft); color: var(--blue-deep); }
/* Card tags as a letterhead line: tracked capitals divided by hairline pipes, the
   company or sector first in brand blue, as on the letterhead's company line. Every
   item carries its separator in its left padding, and the list is pulled left by that
   padding and clipped back, so a separator that would open a wrapped line is cut off
   instead of left hanging. */
.case-tags { --tag-gap: 26px; flex-wrap: wrap; gap: 8px 0; margin: 0 0 0 calc(var(--tag-gap) * -1); padding: 0; list-style: none; clip-path: inset(0 0 0 var(--tag-gap)); }
.case-tags .tag { position: relative; padding: 0 0 0 var(--tag-gap); border: 0; background: none; font-size: .6875rem; font-weight: 800; letter-spacing: .18em; line-height: 1.6; color: var(--muted); }
.case-tags .tag::before { content: ""; position: absolute; left: calc(var(--tag-gap) / 2); top: 50%; width: 1px; height: 12px; margin-top: -6px; background: var(--sep); }
.case-tags .tag--blue { color: var(--blue); }
.case .spec { margin-top: 8px; width: 100%; }
.case-result {
  --cut: 24px; --fill: var(--ink); --r1: var(--ink); --r2: var(--ink);
  padding: clamp(24px, 3vw, 36px);
  display: grid; align-content: space-between; gap: 28px;
  color: var(--on-ink-muted);
}
.case-result .label { color: var(--blue-on-ink); }
.case-kpis { display: grid; gap: 22px; }
.case-kpi strong { display: block; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.case-kpi > span { display: block; margin-top: 8px; font-size: .9375rem; font-weight: 600; color: var(--on-ink); }
.case-result .trace::after {
  background:
    radial-gradient(circle at 5px 50%, var(--ink) 0 2.6px, var(--blue) 2.9px 4.4px, transparent 4.7px),
    radial-gradient(circle at calc(100% - 5px) 50%, var(--ink) 0 2.6px, var(--violet) 2.9px 4.4px, transparent 4.7px);
}
/* Figure ledger: ruled before/after rows in the letterhead's register, for the
   periods a case study compares. The wrapper scrolls on narrow screens so the
   page itself never scrolls sideways. */
.ledger-wrap { width: 100%; overflow-x: auto; }
.ledger { width: 100%; min-width: 440px; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger td, .ledger thead th:not(:first-child) { text-align: right; }
.ledger thead th { border-bottom: 1px solid var(--sep); font-size: .6875rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.ledger tbody th { font-size: .9375rem; font-weight: 600; color: var(--body); }
.ledger td { font-size: 1.0625rem; font-weight: 750; color: var(--ink); white-space: nowrap; }
.ledger-delta { color: var(--blue-deep); }
.ledger-total th, .ledger-total td { border-bottom: 0; border-top: 1px solid var(--sep); padding-top: 18px; }
.ledger-total th, .ledger-total td { color: var(--ink); font-weight: 800; }
.ledger-note { margin-top: 18px; font-size: .8125rem; line-height: 1.6; color: var(--muted); max-width: 60rem; }
.ledger-note + .ledger-note { margin-top: 8px; }
@media (max-width: 639px) {
  /* Fit the columns to the phone instead of hiding the figures behind a
     sideways scroll: the row labels wrap, every number stays on screen. */
  .ledger { min-width: 0; }
  .ledger th, .ledger td { padding: 12px 10px 12px 0; }
  .ledger thead th { font-size: .625rem; letter-spacing: .1em; }
  .ledger tbody th { font-size: .875rem; }
  .ledger td { font-size: .9375rem; }
}

/* Referral growth chart: two indexed traces sharing one origin node, drawn in
   the letterhead's register. It carries data, so it is labelled with a title
   and description rather than hidden from assistive technology. */
.chart-panel { --cut: 26px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; margin: 0; }
.chart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.chart { display: block; width: 100%; height: auto; }
.chart-grid { fill: none; stroke: var(--line-soft); stroke-width: 1; }
.chart-base { fill: none; stroke: var(--line); stroke-width: 1.4; }
.chart-tick { font-size: 15px; font-weight: 700; fill: var(--faint); font-variant-numeric: tabular-nums; }
.chart-axis { font-size: 15px; font-weight: 800; fill: var(--muted); letter-spacing: .14em; }
.chart-line { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.chart-node { fill: var(--paper); stroke-width: 2.6; }
.chart--organic { stroke: var(--blue); }
.chart--ai { stroke: var(--violet); }
/* Third series in ink, not cyan: cyan is an on-ink accent and does not hold
   contrast as a thin line on paper. */
.chart--visits { stroke: var(--body); stroke-dasharray: 7 5; }
.chart-cap { margin: 0; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
/* The series labels live in HTML, not in the SVG: SVG text scales with the
   viewBox and would fall below a readable size in a narrow column. */
.chart-legend { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 480px) { .chart-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart-key { display: flex; align-items: baseline; gap: 10px; font-size: .9375rem; font-weight: 650; color: var(--body); }
.chart-key strong { margin-right: 7px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart-swatch { flex: none; align-self: center; width: 13px; height: 13px; clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.chart-key--organic strong { color: var(--blue-deep); }
.chart-key--organic .chart-swatch { background: var(--blue); }
.chart-key--ai strong { color: var(--violet-deep); }
.chart-key--ai .chart-swatch { background: var(--violet); }
.chart-key--visits strong { color: var(--body); }
.chart-key--visits .chart-swatch { background: repeating-linear-gradient(135deg, var(--body) 0 3px, transparent 3px 6px); }
@media (max-width: 639px) { .chart-tick, .chart-axis { font-size: 24px; } }

.pull-quote { --cut: 32px; padding: clamp(32px, 5vw, 72px); display: grid; gap: 28px; }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.25rem); line-height: 1.3; letter-spacing: -.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.pull-quote .quote-mark { width: 44px; height: 44px; }
.pull-quote figcaption { display: flex; align-items: center; gap: 14px; }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.vm { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .vm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vm .card { gap: 12px; }
.beliefs { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.beliefs li { display: grid; gap: 10px 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .beliefs li { grid-template-columns: 90px minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; } }
.beliefs .approach-num { font-size: 2.25rem; }
.beliefs p { color: var(--body); }
.advantage { display: grid; gap: 16px; }
@media (min-width: 900px) { .advantage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.advantage .card { --fill: rgba(255, 255, 255, .03); --r1: rgba(255, 255, 255, .12); --r2: rgba(255, 255, 255, .12); color: var(--on-ink-muted); }
.advantage .card .h3 { color: #fff; }
.advantage .card > p { color: var(--on-ink-muted); }
.company-card { --cut: 26px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }

/* ---------------------------------------------------------------------
   Team: directory cards, leadership strip, profile pages
   Photos sit on --photo-bg (the photo's own flat backdrop), so frames of
   any shape extend the backdrop without a visible seam.
   --------------------------------------------------------------------- */
/* Hexagon headshot: gradient ring, cropped to the face */
.avatar {
  --s: 48px;
  position: relative;
  display: block;
  flex: none;
  width: var(--s);
  height: calc(var(--s) * 1.1547);
  background: var(--grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.avatar-in {
  position: absolute;
  inset: 2px;
  overflow: hidden;
  background: var(--photo-bg, var(--mist));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.avatar-in img { position: absolute; left: 50%; top: 8%; width: 190%; max-width: none; height: auto; transform: translateX(-50%); }
.avatar--lg { --s: 104px; }
.avatar--lg .avatar-in { inset: 3px; }

/* Directory */
.people { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { --cut: 26px; display: flex; flex-direction: column; height: 100%; }
.person-media {
  position: relative;
  aspect-ratio: 340 / 404;
  overflow: hidden;
  background: var(--photo-bg, var(--mist));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.person-media img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; transition: transform .9s var(--ease-out); }
.person:hover .person-media img { transform: scale(1.03); }
.person-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 26px; }
.person-name { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; }
.person-summary { color: var(--body); font-size: .9375rem; }
.person-facts { display: grid; margin: 6px 0 0; border-top: 1px solid var(--line); }
.person-facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.person-facts dt { font-size: .6875rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.person-facts dd { margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.person-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; }
.person-social {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: color .2s, border-color .2s, background-color .2s;
}
.person-social .i { width: 20px; height: 20px; }
.person-social:hover, .person-social:focus-visible { color: var(--blue); border-color: var(--blue); background: var(--blue-wash); }
@media (min-width: 900px) {
  /* A sole card in its group spans the row, portrait beside the copy */
  .person:only-child { --cut: 32px; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .person:only-child .person-media { aspect-ratio: auto; min-height: 480px; }
  .person:only-child .person-body { justify-content: center; gap: 16px; padding: clamp(32px, 4.5vw, 64px); }
  .person:only-child .person-summary { font-size: 1.0625rem; }
  .person:only-child .person-body > * { max-width: 38rem; }
  .person:only-child .person-foot { margin-top: 10px; }
}

/* Leadership strip (About) */
.leader-wrap { margin-top: clamp(48px, 6vw, 80px); }
.leader { --cut: 26px; display: grid; gap: 22px 36px; align-items: center; justify-items: start; padding: clamp(24px, 3.2vw, 40px); }
@media (min-width: 900px) { .leader { grid-template-columns: auto minmax(0, 1fr) auto; } }
.leader-copy { display: grid; gap: 8px; }
.leader-copy > p:not(.label) { color: var(--body); max-width: 44rem; }
.leader-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (min-width: 900px) { .leader-actions { flex-direction: column; align-items: flex-end; justify-self: end; } }

/* Profile hero */
.profile-title { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.profile-title span { font-weight: 650; color: var(--muted); }
.btn:hover .i-linkedin { transform: none; }
.portrait {
  --cut: 28px;
  position: relative;
  width: min(100%, 430px);
  margin-inline: auto;
  padding: 40px 26px 26px 0;
}
/* lattice mount, offset like a blueprint plate */
.portrait::before {
  content: "";
  position: absolute;
  left: 26px; top: 66px; right: 0; bottom: 0;
  z-index: -1;
  background: var(--lattice) 0 0 / 41.57px 72px, var(--blue-wash);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
/* dimension line, as on the home illustration */
.portrait-dim {
  position: absolute;
  left: 0; right: 26px; top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}
.portrait-dim span { margin-right: -.32em; white-space: nowrap; }
.portrait-dim::before, .portrait-dim::after {
  content: "";
  flex: 1;
  height: 14px;
  background: linear-gradient(var(--faint), var(--faint)) 0 50% / 100% 1px no-repeat;
}
.portrait-dim::before { border-left: 1px solid var(--faint); }
.portrait-dim::after { border-right: 1px solid var(--faint); }
.portrait-frame { --cut: 28px; --bw: 1.5px; --r1: var(--blue); --r2: var(--violet); padding: 10px; }
.portrait-photo {
  position: relative;
  aspect-ratio: 340 / 404;
  overflow: hidden;
  background: var(--photo-bg, var(--mist));
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.portrait-photo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.portrait .chip { font-size: 13px; }
.portrait-chip--role { left: -30px; top: auto; bottom: 74px; }
.portrait-chip--place { left: auto; right: -4px; top: 104px; }
.js .portrait .chip { animation-delay: calc(.8s + var(--i) * .15s); }
@media (max-width: 559px) {
  .portrait .chip { font-size: 12px; }
  .portrait-chip--role { left: -6px; bottom: 56px; }
  .portrait-chip--place { right: 0; top: 54%; }
}
.profile-quote { --cut: 28px; padding: clamp(28px, 4vw, 52px); }
.profile-quote blockquote p { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); }

/* Four-up metrics */
.metrics--4 .metric-num { font-size: clamp(3rem, 1.9rem + 3.4vw, 4.75rem); }
.metric .metric-note { color: var(--on-ink-muted); }
/* The company a figure was achieved at links to its case study, so the
   attribution itself is the link and the band keeps its clean figure layout. */
.metric-note a { color: #fff; font-weight: 650; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.metric-note a:hover { color: var(--blue-on-ink); text-decoration-color: currentColor; }
@media (min-width: 768px) and (max-width: 1099px) {
  .metrics--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .metrics--4 .metric:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1100px) { .metrics--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Career timeline: a vertical trace with node terminals; the current role pulses */
.timeline { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 1.6px;
  background: linear-gradient(180deg, var(--blue), var(--blue) 62%, var(--cyan) 86%, var(--violet));
}
.tl-item { position: relative; display: grid; gap: 12px; padding: 0 0 clamp(40px, 5vw, 56px) 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before, .tl-item--now::after {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
}
.tl-item::before { border: 2px solid var(--blue); background: var(--paper); }
.tl-item:last-child::before { border-color: var(--violet); }
.tl-item--now::before { border: 0; background: var(--grad); box-shadow: 0 0 0 5px var(--blue-soft); }
.tl-item--now::after { border: 1.5px solid var(--blue); opacity: 0; animation: ping 2.6s var(--ease-out) infinite; }
.tl-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tl-when .label { font-size: .75rem; }
.tl-when small { font-size: .8125rem; font-weight: 600; color: var(--muted); }
.tl-body { display: grid; gap: 10px; max-width: 46rem; }
.tl-org { font-weight: 750; color: var(--ink); }
.tl-org span { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--sep); font-weight: 600; color: var(--muted); }
.tl-body > p:not(.tl-org) { color: var(--body); }
.tl-body .ticks { margin-top: 8px; }
@media (min-width: 900px) {
  .timeline::before { left: 215px; }
  .tl-item { grid-template-columns: 180px minmax(0, 1fr); column-gap: 72px; padding-left: 0; }
  .tl-item::before, .tl-item--now::after { left: 208px; }
  .tl-when { display: grid; justify-items: end; align-content: start; gap: 6px; padding-top: 1px; text-align: right; }
}

/* Credentials and toolkit */
.cred { display: grid; margin: 0; border-top: 1px solid var(--line); }
.cred > div { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cred dt { font-weight: 750; line-height: 1.4; color: var(--ink); }
.cred dd { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); font-size: .8125rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.toolkit > div { padding-block: 20px; }
@media (min-width: 1200px) { .cols-4-xl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nowrap { white-space: nowrap; }

/* Recommendations: a featured pull-quote, then a grid of quote cards.
   People are shown as chamfered monograms, never with borrowed profile photos. */
.mono {
  --cut: 10px;
  --bw: 1px;
  --r1: var(--blue);
  --r2: var(--violet);
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--blue);
}
.rec-featured { margin-bottom: 20px; }
@media (min-width: 1024px) {
  .rec-featured { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); column-gap: 64px; align-items: end; }
  .rec-featured .quote-mark { grid-column: 1 / -1; }
  .rec-featured figcaption { align-self: end; padding-bottom: 6px; }
}
.rec-featured blockquote p.rec-more { margin-top: 22px; max-width: 50rem; font-size: clamp(1rem, .96rem + .2vw, 1.125rem); font-weight: 500; line-height: 1.65; letter-spacing: 0; color: var(--body); text-wrap: pretty; }
.recs { display: grid; gap: 20px; }
@media (min-width: 720px) { .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .recs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.recs .quote:nth-child(2) { transform: none; }
.recs .quote:nth-child(3n+2) .quote-mark { color: var(--violet); }
.quote blockquote p + p { margin-top: .75em; }
.quote-by small { display: block; margin-top: 5px; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.quote-by time { white-space: nowrap; }
.recs-foot { margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 640px) { .toolkit > div { grid-template-columns: 190px minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   Insights
   --------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); background: #fff;
  font-size: .875rem; font-weight: 650; color: var(--body);
  transition: border-color .2s, color .2s, background-color .2s;
}
.filter:hover { border-color: var(--sep); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.posts { display: grid; gap: 20px; }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { --cut: 22px; display: flex; flex-direction: column; height: 100%; }
.post-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px); }
.post-media svg { width: 100%; height: 100%; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-body p { color: var(--muted); font-size: .9375rem; }
.post-body .tag { align-self: flex-start; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8125rem; font-weight: 650; color: var(--muted); }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-deep); }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.post--featured { --cut: 30px; display: grid; }
@media (min-width: 1024px) {
  .post--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .post--featured .post-media { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px); }
  .post--featured .post-body { padding: 44px; justify-content: center; }
}
.post--featured .h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -.03em; }
.post-empty { padding: 40px 0; color: var(--muted); }
.pm-line { fill: none; stroke: var(--blue); stroke-width: 2; }
.pm-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.pm-node { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.pm-soft { fill: var(--blue-soft); }
.newsletter { --cut: 28px; --fill: var(--ink); --r1: var(--ink); --r2: var(--ink); padding: clamp(28px, 4vw, 56px); display: grid; gap: 28px; color: var(--on-ink-muted); overflow: hidden; }
@media (min-width: 1024px) { .newsletter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; } }
.newsletter .h2 { color: #fff; }
.newsletter-form { display: grid; gap: 12px; }
@media (min-width: 560px) { .newsletter-form .row { display: flex; gap: 10px; } .newsletter-form .row .input { flex: 1; } }
.newsletter .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.newsletter .input::placeholder { color: #8D97AD; }
.newsletter .input:focus { border-color: var(--blue-on-ink); box-shadow: 0 0 0 4px rgba(147, 166, 255, .2); }
.newsletter .form-status { color: var(--on-ink); }
.newsletter .form-status.is-error { color: #FDA29B; }
.newsletter .h3 { color: #fff; }
.newsletter .form-success p { color: var(--on-ink-muted); }

/* ---------------------------------------------------------------------
   Forms (contact)
   --------------------------------------------------------------------- */
/* The form sits in the page hero. Source order is intro, form, details,
   reasons, so phones reach the form before the contact details; from 1024px
   the form takes the right column beside the intro and details, and the
   reasons run as a strip underneath. */
.contact-hero .hero-bg { bottom: auto; height: 720px; }
.contact-grid { display: grid; gap: clamp(32px, 5vw, 48px); align-items: start; }
.contact-reasons { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-reasons .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr auto; column-gap: clamp(40px, 6vw, 72px); }
  .contact-intro { grid-column: 1; grid-row: 1; }
  .contact-aside { grid-column: 1; grid-row: 2; }
  .contact-grid > .form-card { grid-column: 2; grid-row: 1 / span 2; }
  .contact-reasons { grid-column: 1 / -1; grid-row: 3; padding-top: 40px; border-top: 1px solid var(--line); }
}
.info-blocks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.info-block .label { margin-bottom: 4px; display: block; }
.info-block p, .info-block address { color: var(--ink); font-weight: 600; }
.info-block a:hover { color: var(--blue); }
.reasons { display: grid; gap: 18px; }
.reason { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.reason p { color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.form-card { --cut: 30px; padding: clamp(24px, 4vw, 48px); }
.form-card .h3 { margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: .9375rem; margin-bottom: 28px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .8125rem; font-weight: 750; color: var(--ink); }
.field .req { color: var(--blue); margin-left: 2px; }
.field .hint { font-size: .75rem; color: var(--muted); }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--faint); }
.input:hover { border-color: var(--sep); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59, 91, 255, .14); }
.input[aria-invalid="true"] { border-color: #D92D20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
select.input {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
select.input:has(option[value=""]:checked) { color: var(--faint); }
select.input option { color: var(--ink); }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.55; }
.form-foot { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 640px) { .form-foot { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; } }
/* Spam check: the notice shown beside a protected form. The check's own floating badge is
   hidden, which its terms allow when this notice is shown in its place. */
.captcha-note { margin-top: 14px; }
.newsletter-form .captcha-note { margin-top: 0; }
.grecaptcha-badge { visibility: hidden; }
.form-foot small, .form-note { color: var(--muted); font-size: .8125rem; }
/* The privacy notice shown where a form collects personal information */
.form-foot small a, .form-note a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--sep); text-underline-offset: 3px; transition: color .2s; }
.form-foot small a:hover, .form-note a:hover { color: var(--blue); }
.newsletter .form-note { color: var(--on-ink-muted); }
.newsletter .form-note a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.newsletter .form-note a:hover { color: var(--blue-on-ink); }
.form-status { min-height: 1.2em; font-size: .9375rem; font-weight: 600; }
.form-status.is-error { color: #B42318; }
.form-success { display: grid; gap: 18px; justify-items: start; padding: 12px 0; }
.form-success p { color: var(--body); }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.notfound { min-height: calc(100vh - var(--header-h) - 120px); display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.broken { width: 100%; max-width: 460px; margin-inline: auto; fill: none; }
.page-hero-copy > .h1 { max-width: 20ch; }
.notfound-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .notfound-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); } }
.notfound-code { font-size: .875rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.broken path, .broken circle { fill: none; }

/* ---------------------------------------------------------------------
   Legal pages (privacy policy): a section index beside one reading column
   --------------------------------------------------------------------- */
.legal-updated { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: .9375rem; font-weight: 650; color: var(--ink); }
.legal { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
.legal-nav { display: grid; gap: 12px; padding-block: 22px; border-block: 1px solid var(--line); }
.legal-nav ol { display: grid; column-gap: 32px; margin: 0; }
.legal-nav a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding-block: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--body); transition: color .2s; }
.legal-nav a b { font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.legal-nav a:hover { color: var(--blue); }
@media (min-width: 600px) and (max-width: 1023px) {
  .legal-nav ol { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; }
}
@media (min-width: 1024px) {
  .legal { grid-template-columns: 264px minmax(0, 1fr); }
  .legal-nav { position: sticky; top: calc(var(--header-h) + 24px); }
}
.legal-body { display: grid; max-width: 42rem; }
.legal-sec { display: grid; gap: 16px; }
.legal-sec + .legal-sec { margin-top: clamp(36px, 4.5vw, 52px); padding-top: clamp(36px, 4.5vw, 52px); border-top: 1px solid var(--line); }
/* Section numbers hang beside the heading, like the numbered enclosures on the letterhead */
.legal-sec > .h3 { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .55em; }
.legal-num { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.legal-sec p { text-wrap: pretty; }
.legal-sub { display: grid; gap: 12px; margin-top: 10px; }
.legal-sec .spec dd { font-weight: 500; color: var(--body); line-height: 1.6; }
.legal-sec .ticks { gap: 12px; }
.legal-sec .ticks li { font-weight: 400; color: var(--body); line-height: 1.6; }
.legal-sec .ticks li::before { top: .47em; }
.legal-sec .ticks strong, .legal-address strong { color: var(--ink); font-weight: 750; }
.legal-sec :is(p, dd, li, address) a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--sep); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.legal-sec :is(p, dd, li, address) a:hover { color: var(--blue); text-decoration-color: currentColor; }
.legal-address { line-height: 1.75; color: var(--body); }

/* ---------------------------------------------------------------------
   Careers: role listing, role pages and the application form
   --------------------------------------------------------------------- */
/* Roles are grouped by team. Each role is one linked row: title and summary,
   then its facts and the link, which move beside the text from 1024px. */
.roles { display: grid; gap: clamp(40px, 5vw, 64px); }
.roles-empty { font-size: 1.0625rem; color: var(--body); }
.role-group { display: grid; gap: 20px; }
.role-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.role-group-head .h4 { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.role-count { font-size: .8125rem; font-weight: 650; color: var(--muted); }
.role-list { display: grid; gap: 16px; margin: 0; }
.role { --cut: 22px; display: grid; gap: 16px; padding: clamp(22px, 2.6vw, 32px); }
.role-head { display: flex; align-items: center; gap: 16px; }
.role-sum { max-width: 46rem; font-size: .9375rem; color: var(--body); text-wrap: pretty; }
.role-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; }
.role-meta > div { display: grid; gap: 3px; }
.role-meta dt { font-size: .6875rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.role-meta dd { margin: 0; font-size: .875rem; font-weight: 650; color: var(--ink); white-space: nowrap; }
.role .text-link { justify-self: start; }
@media (max-width: 559px) { .role-head .glyph { --gs: 44px; } }
@media (min-width: 1024px) {
  .role { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "head meta link" "sum meta link"; gap: 10px clamp(28px, 4vw, 56px); align-items: center; }
  .role-head { grid-area: head; }
  .role-sum { grid-area: sum; padding-left: 68px; }
  .role-meta { grid-area: meta; }
  .role .text-link { grid-area: link; }
}

/* Role page: the description in one reading column, the hiring steps pinned beside it */
.job { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
.job-body { display: grid; max-width: 44rem; }
.job-sec { display: grid; gap: 16px; }
.job-sec + .job-sec { margin-top: clamp(32px, 4.5vw, 48px); padding-top: clamp(32px, 4.5vw, 48px); border-top: 1px solid var(--line); }
.job-sec p { text-wrap: pretty; }
.job-sec .ticks { gap: 12px; }
.job-sec .ticks li { font-weight: 400; color: var(--body); line-height: 1.6; }
.job-sec .ticks li::before { top: .47em; }
.job-card { --cut: 24px; display: grid; gap: 22px; padding: clamp(24px, 2.6vw, 32px); }
.job-card .steps { margin-top: 0; }
@media (min-width: 1024px) {
  .job { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
  .job-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Application: what to prepare, beside the form */
.apply-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.apply-intro { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 1024px) {
  .apply-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
/* Resume upload: the native file field (it also takes a dropped file), drawn as a drop target */
.input--file { min-height: 58px; padding: 9px 10px; font-size: .9375rem; color: var(--body); border-style: dashed; border-color: var(--sep); cursor: pointer; }
.input--file::file-selector-button {
  margin: 0 14px 0 0;
  padding: 10px 16px;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.input--file:hover, .input--file.is-over { border-color: var(--blue); }
.input--file:hover::file-selector-button, .input--file.is-over::file-selector-button { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.input--file.is-over { border-style: solid; box-shadow: 0 0 0 4px rgba(59, 91, 255, .14); }
.field .hint.is-ok { color: var(--ink); font-weight: 650; }
.field .hint.is-error { color: #B42318; font-weight: 650; }
.form-note--block { display: block; padding: 12px 14px; border-left: 2px solid var(--blue); background: var(--blue-wash); font-size: .9375rem; color: var(--body); }
.apply-form .form-note--block { margin-bottom: 24px; }
.apply-form .form-status { margin-top: 14px; }
.apply-ref { font-weight: 800; color: var(--ink); letter-spacing: .04em; white-space: nowrap; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { padding-top: clamp(24px, 3vw, 40px); padding-bottom: 28px; background: var(--paper); }
.trace--footer { margin-bottom: clamp(40px, 5vw, 64px); }
.footer-grid { display: grid; gap: 40px 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, .6fr) minmax(0, 1.1fr); gap: 48px; } }
.footer-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.brand--footer { margin: 0 0 4px; }
.brand--footer .logo-svg { height: 40px; }
.footer-tagline { font-size: .875rem; font-weight: 600; color: var(--body); }
.footer-tagline span { color: var(--blue); }
.footer-blurb { font-size: .9375rem; color: var(--muted); max-width: 26rem; }
.footer-col ul { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.footer-col a { font-size: .9375rem; color: var(--body); font-weight: 500; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-contact { display: grid; gap: 22px; align-content: start; }
.footer-contact .label { margin-bottom: 6px; }
.footer-contact p:not(.label), .footer-contact address { font-size: .875rem; line-height: 1.7; color: var(--body); font-weight: 500; }
.footer-contact .k { color: var(--muted); }
.footer-contact a { color: var(--ink); font-weight: 600; }
.footer-contact a:hover { color: var(--blue); }
.footer-contact .strong-link { color: var(--blue); font-weight: 700; }
.footer-legal { display: grid; gap: 10px; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
@media (min-width: 1024px) { .footer-legal { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } }
.legal-line strong { color: var(--ink); font-weight: 800; letter-spacing: .02em; }
.footer-legal .sep { display: inline-block; margin: 0 10px; color: var(--sep); }
.footer-policies { display: flex; flex-wrap: wrap; align-items: center; }
.footer-policies a { padding-block: 6px; color: var(--body); font-weight: 650; transition: color .2s; }
.footer-policies a:hover { color: var(--blue); }
@media (min-width: 1024px) { .footer-policies { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .trace[data-reveal] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Reduced motion: show final states, no loops
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .art-pulse, .art-ping, .tl-item--now::after { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Print: keep it close to the letterhead */
@media print {
  .site-header, .mobile-nav, .section--cta, .hero-art, .art, .skip-link { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 24pt; }
}
