/* Qiro Digital Group: site styles
   Tokens follow the Qiro Violet system used on web.qirodigital.com. */

:root {
  --violet-900: #1E16A9;
  --violet-800: #2A1FB4;
  --violet-700: #3324BD;
  --violet-950: #150F80;
  --lavender: #CEC8F2;
  --pink: #E44EA3;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --ink: #1E16A9;
  --text: #2A2650;
  --mute: #625E7E;
  --line: rgba(30, 22, 169, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --error: #B42318;
  --success: #0F7B4F;
  --focus: #1E16A9;

  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: var(--sans); /* the thin serif is retired: accents use the brand sans */

  --gut: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --mega: clamp(3.1rem, 9.6vw, 9rem);
  --xl: clamp(2.5rem, 6vw, 6.25rem);
  --l: clamp(1.9rem, 3.6vw, 3.5rem);
  --m: clamp(1.3rem, 1.8vw, 1.65rem);
  --body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --section: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1em; text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
/* Short labels and one-line UI text stay ragged-right */
.eyebrow, .label, .cs-card-num, .svc-meta, .clock, .footer-base p, .small-print { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark { --focus: var(--pink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--pink); color: var(--violet-950); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* Display type */
.display {
  font-family: var(--sans);
  font-stretch: 75%;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--mute);
}
.on-dark .eyebrow { color: var(--lavender); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5; max-width: 40ch; }
.serif { font-family: var(--serif); font-weight: 400; }
.accent { color: var(--pink); }
.muted { color: var(--mute); }

/* Staging banner */
.staging-bar {
  background: #FFE8A3; color: #3D2E00; text-align: center; font-size: 0.85rem; padding: 6px 16px; font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--violet-900); color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.85rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--white); line-height: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
}
.logo small { font-stretch: 100%; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavender); }
.primary-nav { margin-inline: auto; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(14px, 2vw, 30px); padding: 0; }
.primary-nav a {
  white-space: nowrap; text-decoration: none; font-size: 0.95rem; color: var(--white); padding: 6px 0; position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--pink); }
.header-meta { display: flex; align-items: center; gap: 22px; }
.clock { font-size: 0.88rem; color: var(--lavender); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-dark);
  color: var(--white); border-radius: var(--radius); padding: 8px 16px; cursor: pointer; font-size: 0.95rem;
}
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--violet-900); color: var(--white);
  overflow-y: auto; padding: 24px var(--gut) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s linear .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 32px; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none;
  font-stretch: 75%; font-weight: 700; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.05; letter-spacing: -0.01em;
}
.mobile-menu li a[aria-current="page"] { color: var(--pink); }
.mobile-menu .menu-foot { display: grid; gap: 6px; color: var(--lavender); font-size: 0.95rem; }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius);
  font-size: 0.98rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet-900); color: var(--white); }
.btn-primary:hover { background: var(--violet-950); }
.btn-outline { border-color: var(--violet-900); color: var(--violet-900); background: transparent; }
.btn-outline:hover { background: var(--violet-900); color: var(--white); }
.on-dark .btn-primary { background: var(--lavender); color: var(--violet-950); }
.on-dark .btn-primary:hover { background: var(--white); }
.on-dark .btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.on-dark .btn-outline:hover { background: var(--white); color: var(--violet-900); }
.btn-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.92rem; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.on-dark .arrow-link { color: var(--white); }
.arrow-link .arr { transition: transform .35s var(--ease); }
.arrow-link:hover .arr { transform: translateX(4px); }
.arrow-link[target="_blank"]:hover .arr, .ext:hover .arr { transform: translate(3px, -3px); }

/* ---------- Bands ---------- */
.band-violet { background: var(--violet-900); color: rgba(255,255,255,.9); }
.band-violet h1, .band-violet h2, .band-violet h3 { color: var(--white); }
.band-deep { background: var(--violet-800); color: rgba(255,255,255,.9); }
.band-deep h2, .band-deep h3 { color: var(--white); }
.band-white { background: var(--white); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- Hero ---------- */
.hero { min-height: min(88vh, 900px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(80px, 12vh, 160px) clamp(40px, 6vw, 64px); }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 7.4rem); color: var(--white); }
.hero h1 .line { display: block; }
/* Indents in em so they scale with the headline and never force an extra line break */
.hero h1 .indent-1 { padding-left: 0.9em; }
.hero h1 .indent-2 { padding-left: 2em; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.hero-foot .lead { color: rgba(255,255,255,.85); max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }




/* ---------- About hero: revolving sphere with a live liquid-glass card over it ---------- */
.about-hero { position: relative; overflow: hidden; isolation: isolate; }
/* the same space below the copy as above it */
.page-hero.about-hero { padding-bottom: clamp(72px, 11vw, 150px); }
.about-hero-grid { position: relative; display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .about-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.about-sphere {
  position: absolute; z-index: -1; pointer-events: none;
  top: 50%; right: -6%; width: min(66vw, 1040px); aspect-ratio: 16 / 9; transform: translateY(-50%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 96%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 96%);
  mix-blend-mode: screen; opacity: .85;
}
.about-sphere video { width: 100%; height: 100%; object-fit: cover; display: block; filter: url(#spheregrade); }

.glass-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  width: 340px; max-width: 100%; min-height: 400px; padding: 2rem;
  border-radius: 48px; overflow: hidden;
  background: var(--violet-900);  /* the refraction screens onto this, matching the stage behind */
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; outline-offset: 4px; --focus: var(--pink);
}
@media (prefers-reduced-motion: no-preference) {
  .js .glass-card { animation: glassCardIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: .2s; }
}
@keyframes glassCardIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.glass-card__dup {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 96%);
  mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 96%);
  mix-blend-mode: screen; opacity: .85;
}
.glass-card__dup canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: url(#spheregrade) url(#liquid-glass-refraction); }
.glass-card__frost {
  position: absolute; inset: 0; z-index: 1; border-radius: 48px; pointer-events: none;
  /* a violet frost keeps white text legible over the sphere's highlights */
  background: rgba(21,15,128,.46);
  box-shadow: inset 0 1.5px 2px rgba(255,255,255,.3), inset 0 -1px 2px rgba(0,0,0,.15);
  transition: background 400ms;
}
/* the hover interaction from the reference (also on keyboard focus): the frost thins so more of the refracted sphere shows */
.glass-card:hover .glass-card__frost, .glass-card:focus-visible .glass-card__frost { background: rgba(21,15,128,.2); }
.glass-card__head, .glass-card__body, .glass-card__wave { position: relative; z-index: 2; }
.glass-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.glass-card__title { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.025em; color: #fff; }
.glass-card__index { font-size: .75rem; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.glass-card__body { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.glass-card__item { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.glass-card__text { margin: .375rem 0 0; font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.72); text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.glass-card__wave { display: block; width: 100%; height: auto; margin-top: 1.5rem; color: var(--pink); }
@media (max-width: 899px) {
  /* phones: the sphere sits behind the middle of the card so the glass has something to refract */
  /* phones: the sphere sits behind the copy, so it is kept dim */
  .about-sphere { top: auto; bottom: 0; right: 50%; width: 150vw; transform: translateX(50%); opacity: .4; }
  .glass-card { width: 100%; min-height: 0; border-radius: 36px; }
  .glass-card__frost { border-radius: 36px; }
}

/* ---------- Case studies password page hero: unwoven photo strip ---------- */
.cs-hero { position: relative; overflow: hidden; isolation: isolate; }
.cs-hero > .wrap { position: relative; }
/* equal space above and below the hero content */
.page-hero.cs-hero--loom { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
/* wide screens: the two intro paragraphs sit side by side so the strip shows within the first screen */
@media (min-width: 1100px) {
  /* desktop: copy on the left half, the photo strip in the right half beside it */
  .cs-hero--loom > .wrap:not(.cs-loom-controls) { display: block; }
  .cs-hero--loom > .wrap:not(.cs-loom-controls) > * { max-width: 46%; }
  .cs-hero--loom > .wrap > .eyebrow, .cs-hero--loom > .wrap > h1 { grid-column: 1 / -1; }
  .cs-hero--loom > .wrap > .lead + p { margin-top: 28px !important; }
  /* password page: two-line headline, intro on the left, buttons on the right, so the strip and both actions sit in the first screen */
  .page-hero.cs-hero--loom h1 { max-width: 46%; }
  .cs-hero--loom > .wrap > .hero-ctas { margin-top: 36px; }
}
/* full-bleed strip under the copy; photos weave together in the middle and unravel into the violet at the edges */
.cs-loom {
  position: relative; height: clamp(280px, 27vw, 380px); margin-top: clamp(32px, 4vw, 56px);
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.cs-loom.is-dragging { cursor: grabbing; }
@media (min-width: 1100px) {
  .cs-loom { position: absolute; margin: 0; height: auto; top: clamp(96px, 12vh, 140px); bottom: clamp(72px, 10vh, 110px);
    right: max(var(--gut), calc(50% - var(--max) / 2)); width: min(48%, 680px); }
  .cs-hero--loom > .cs-loom-controls { position: absolute; left: 0; right: 0; bottom: 20px; }
}
.cs-loom canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* shown only if WebGL is unavailable: a still row of photos fading out at both edges */
.cs-loom__fallback {
  position: absolute; inset: 0; display: flex; gap: 20px; align-items: center; justify-content: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.cs-loom__fallback img { height: 86%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; flex: none; }
.cs-loom.is-live .cs-loom__fallback { display: none; }
#cs-access { scroll-margin-top: 96px; }
.cs-loom-controls { display: flex; justify-content: flex-end; margin-top: 12px; }
.cs-loom-controls .wave-toggle { position: static; }

/* ---------- Insights hero: neural network beside the copy ---------- */
.nowrap { white-space: nowrap; }
.ins-hero { position: relative; overflow: hidden; isolation: isolate; }
.ins-hero > .wrap { position: relative; }
/* phones: the network fills the top of the hero, edge to edge, and fades out above the headline */
.ins-hero > .ins-stage {
  position: relative; height: min(100vw, 420px); max-width: none; padding-inline: 0;
  margin: calc(-1 * clamp(72px, 11vw, 150px)) 0 12px;
}
.ins-net {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.ins-net canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.ins-net canvas.is-dragging { cursor: grabbing; }
.ins-controls { display: flex; justify-content: flex-end; }
.ins-hero > .ins-controls .wave-toggle { position: static; margin-top: 16px; }
@media (min-width: 900px) {
  .ins-hero { min-height: clamp(540px, 64vh, 680px); }
  /* the stage spans the page's content width, so the network always sits right of the copy, even on very wide screens */
  .ins-hero > .ins-stage { position: absolute; inset: 0; height: auto; max-width: calc(var(--max) + 2 * var(--gut)); padding-inline: var(--gut); margin: 0 auto; pointer-events: none; }
  .ins-net {
    left: auto; right: 0; width: 58%; top: -8%; bottom: -8%; pointer-events: auto;
    /* soft edges so the network dissolves into the violet instead of ending at a box */
    -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 80%, transparent 100%);
    mask-image: radial-gradient(closest-side at 50% 50%, #000 80%, transparent 100%);
  }
  .ins-hero > .wrap > .lead { max-width: min(100%, 44%); }
  .ins-hero > .wrap:not(.ins-stage):not(.ins-controls) { pointer-events: none; }
  .ins-hero > .wrap:not(.ins-stage):not(.ins-controls) > * { pointer-events: auto; }
  .ins-hero > .ins-controls { position: absolute; right: 0; bottom: 20px; left: 0; pointer-events: none; }
  .ins-hero > .ins-controls .wave-toggle { margin-top: 0; pointer-events: auto; }
}

/* ---------- Home hero: subtle ribbon video behind the headline ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* Kept quiet on purpose: lavender tint, screen blend onto the violet, half strength, ribbon held in the upper part */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none;
  object-fit: cover; object-position: 50% 0%;
  filter: url(#homegrade); mix-blend-mode: screen; opacity: .5;
}
@media (max-width: 759px) {
  /* Phones: the ribbon gets its own band above the headline instead of sitting behind it */
  .hero { padding-top: calc(52vw + 24px); }
  .hero-video {
    height: 62vw; bottom: auto; object-fit: cover; object-position: 50% 10%; opacity: .6;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
}
.hero::after {
  /* deepens the lower half so the headline, copy and buttons always read first */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,8,96,0) 0%, rgba(12,8,96,0) 30%, rgba(12,8,96,.45) 58%, rgba(12,8,96,.72) 100%);
}
.hero-content { position: relative; }
.wave-toggle {
  position: absolute; right: var(--gut); top: 20px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(21,15,128,.55); color: var(--white); cursor: pointer;
  display: grid; place-items: center; --focus: var(--pink);
}
.wave-toggle:hover { background: rgba(21,15,128,.85); }
.wave-toggle-icon { width: 12px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.wave-toggle[aria-pressed="true"] .wave-toggle-icon {
  border: 0; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px;
}





/* ---------- Liquid glass (shared) ---------- */
.liquid-glass {
  background: rgba(255,255,255,.01); background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: none; box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.liquid-glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.15) 20%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,.15) 80%, rgba(255,255,255,.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
}

/* ---------- Accountability hero: fade-looped video, violet duotone, centred serif headline ---------- */
.ah {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(640px, calc(100svh - 68px));
  display: flex; flex-direction: column; align-items: center;
  color: #fff; text-align: center;
}
.ah-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: translateY(17%); filter: url(#ahgrade); opacity: 0;
  /* screen blend: the graded video's near-black drops away into the shared hero vignette,
     and its top fades out so the headline sits on clean colour */
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 18%, #000 48%); mask-image: linear-gradient(180deg, transparent 18%, #000 48%);
}
.no-js .ah-video { opacity: 1; }
/* deepens the very bottom so the scene settles into the next section */
.ah-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,8,96,0) 80%, rgba(12,8,96,.6) 100%); }
.ah-content { width: 100%; max-width: 760px; padding: clamp(48px, 9vh, 104px) 24px 0; display: flex; flex-direction: column; align-items: center; }
.ah-content .eyebrow { justify-content: center; }
.ah-title { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0 26px; }
.ah-title em { color: var(--pink); }
.ah-rhythm { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; border-radius: 999px; padding: 10px 22px; margin: 0 0 18px; font-size: .9rem; color: rgba(255,255,255,.9); text-align: center; }
.ah-lead { max-width: 52ch; margin: 0 auto 26px; font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.88); text-align: center; -webkit-hyphens: manual; hyphens: manual; }
.ah-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ah-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 26px; font-weight: 500; font-size: .95rem; text-decoration: none; color: #fff; transition: background-color .25s ease, color .25s ease; --focus: var(--pink); }
.ah-btn-solid { background: #fff; color: var(--violet-950); }
.ah-btn-solid:hover { background: var(--lavender); }
.ah-btn.liquid-glass:hover { background: rgba(255,255,255,.06); }
@media (max-width: 599px) {
  /* Phones: the copy needs the full width, so the scene becomes its own panel below the buttons */
  .ah { min-height: auto; }
  .ah-content { order: 1; padding-top: 40px; }
  .ah-video {
    position: relative; inset: auto; order: 2; height: 360px; margin-top: 12px; transform: none; object-position: 50% 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%); mask-image: linear-gradient(180deg, transparent 0%, #000 32%);
  }
  .ah-shade { display: none; }
  .ah-rhythm { font-size: .78rem; padding: 8px 16px; gap: 6px; }
  .ah .wave-toggle { top: auto; bottom: 16px; }
}

/* ---------- Diagnostics hero: dual-layer graded data-stream video on the violet stage ---------- */
.svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dh {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(600px, calc(100svh - 68px));
  display: flex; align-items: center;
  background: radial-gradient(80% 90% at 75% 40%, #231A9C 0%, var(--violet-950) 60%, #0C0860 100%);
  color: rgba(255,255,255,.9);
}
.dh-bg, .dh-bg2 { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -2; }
.dh-bg video, .dh-bg2 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.dh-bg { filter: url(#qgrade); mix-blend-mode: screen; }
.dh-bg2 {
  filter: url(#qgrade2); mix-blend-mode: plus-lighter; opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, transparent 21.5%, #000 100%); mask-image: linear-gradient(180deg, transparent 21.5%, #000 100%);
}
.dh-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(21,15,128,.82) 0%, rgba(21,15,128,.55) 38%, rgba(21,15,128,0) 62%); }
.dh-copy { padding-block: clamp(72px, 11vw, 150px) clamp(48px, 6vw, 80px); }
.dh-copy h1 { font-size: var(--xl); margin-top: 20px; max-width: 13ch; color: #fff; }
.dh-copy .lead { margin-top: 28px; color: rgba(255,255,255,.85); max-width: 46ch; }
.dh-copy .hero-ctas { margin-top: 32px; }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  .dh-bg2 { display: none; }
  .dh-bg video { object-position: right top; transform: scale(1.18); transform-origin: right top; }
  .dh-bg { -webkit-mask-image: linear-gradient(180deg, #000 0 40%, transparent 64%); mask-image: linear-gradient(180deg, #000 0 40%, transparent 64%); }
  .dh { align-items: flex-end; }
}
@media (max-width: 599px) {
  .dh-bg video, .dh-bg2 video { object-position: 78% top; }
  .dh-bg2 { display: block; -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 60%); mask-image: linear-gradient(180deg, transparent 10%, #000 60%); }
  .dh-bg { -webkit-mask-image: none; mask-image: none; }
  .dh-scrim { background: linear-gradient(180deg, rgba(21,15,128,.10) 0%, rgba(21,15,128,.5) 24%, rgba(21,15,128,.86) 42%, var(--violet-950) 66%); }
  .dh-copy { padding-top: 48vw; }
}

/* ---------- Method hero: luminous figures on a violet stage, grid lines and QIRO nodes ---------- */
.mh {
  position: relative; overflow: hidden; isolation: isolate;
  height: max(720px, calc(100svh - 68px));
  background: radial-gradient(70% 80% at 52% 46%, #241A9E 0%, var(--violet-950) 55%, #0C0860 100%);
  color: #fff;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) { .mh { --gutter: 35px; } }
/* screen blend turns the video's black into the violet stage and keeps the glow luminous */
.mh-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; z-index: -1; }
.mh-grid, .mh-nodes { position: absolute; inset: 0; pointer-events: none; }
.mh-v { position: absolute; top: 0; height: 100%; width: 1px; background: rgba(255,255,255,.07); transform-origin: top; }
.mh-h { position: absolute; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.07); transform-origin: left; }
.mh-plus { position: absolute; width: 0; height: 0; }
.mh-plus::before, .mh-plus::after { content: ""; position: absolute; background: rgba(255,255,255,.7); transform: translate(-50%, -50%); }
.mh-plus::before { width: 10px; height: 1px; }
.mh-plus::after { width: 1px; height: 10px; }
.mh-nodes { display: none; }
@media (min-width: 1024px) { .mh-nodes { display: block; } } /* tablets get the phone layout: the step diagram needs the width */
.mh-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mh-lines line { stroke: rgba(255,255,255,.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mh-square { position: absolute; width: 80px; height: 80px; border: 1px solid rgba(255,255,255,.8); }
@media (min-width: 1024px) { .mh-square { width: 100px; height: 100px; } }
.mh-label { position: absolute; }
.mh-label span { display: block; font-size: 13px; line-height: 15.6px; letter-spacing: .04em; white-space: nowrap; color: #fff; }
.mh-label p { margin: 4px 0 0; max-width: 170px; font-size: 11.5px; line-height: 14.5px; color: rgba(255,255,255,.62); text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* the copy sits on the same edge as the logo (the page gutter, inside the 1320 px column on wide screens), with room above and below */
.mh { --edge: max(var(--gut), calc(50% - var(--max) / 2)); }
.mh-copy { position: absolute; top: clamp(64px, 12vh, 128px); left: var(--edge); right: var(--edge); }
.mh-title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .96; max-width: 10ch; margin-top: 20px; color: #fff; }
.mh-bottom { position: absolute; left: var(--edge); right: var(--edge); bottom: clamp(48px, 8vh, 88px); }
.mh-bottom > div { max-width: 460px; }
.mh-lead { max-width: 44ch; margin: 0 0 28px; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.mh-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--lavender); color: var(--violet-950);
  text-decoration: none; font-size: 12px; line-height: 15.6px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  transition: background-color .25s ease; --focus: var(--pink);
}
.mh-cta span { font-size: 16px; line-height: 1; }
.mh-cta:hover { background: #fff; }
@media (min-width: 768px) { .mh-cta { padding: 12px 20px; font-size: 13px; } }

/* Entrance: lines and labels arrive before the squares they point to */
@media (prefers-reduced-motion: no-preference) {
  .js .mh-fade { opacity: 0; animation: mhFade 1.2s var(--ease-out) forwards; }
  .js .mh-up { opacity: 0; animation: mhUp .9s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
  .js .mh-v { opacity: 0; animation: mhWipeV 1.2s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-h { opacity: 0; animation: mhWipeH 1.2s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-plus { opacity: 0; animation: mhScale .7s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-square { opacity: 0; animation: mhScale .7s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-lines line { opacity: 0; animation: mhFade 1s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-from-right { opacity: 0; animation: mhRight .8s var(--ease-out) forwards; animation-delay: var(--d); }
  .js .mh-from-left { opacity: 0; animation: mhLeft .8s var(--ease-out) forwards; animation-delay: var(--d); }
}
@keyframes mhFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mhUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mhLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes mhRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes mhScale { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes mhWipeV { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes mhWipeH { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }

/* ---------- Stage hero (Services): royal blue stage, globe, masked line rise ---------- */
.stage-hero {
  /* one reference unit drives every measurement, so the composition scales as a whole */
  --u: min(1vw, 1.75vh);
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 78% 45%, #2A1FC4 0%, var(--violet-900) 48%, var(--violet-950) 100%);
  color: rgba(255,255,255,.9);
  min-height: min(100svh, calc(var(--u) * 62));
  display: grid; align-items: center;
}
.stage-globe { position: absolute; z-index: -1; top: 50%; right: calc(var(--u) * -6); width: calc(var(--u) * 62); aspect-ratio: 1; transform: translateY(-50%); }
/* the globe's square canvas fades out before its edges, so no frame shows against the vignette */
.stage-globe { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.stage-inner { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding: calc(var(--u) * 10) var(--gut) calc(var(--u) * 7); }
.stage-title { font-size: clamp(3rem, calc(var(--u) * 8.4), 9rem); color: var(--white); margin: calc(var(--u) * 2) 0 0; max-width: 11ch; }
.stage-lead { max-width: 40ch; margin-top: calc(var(--u) * 2.6); font-size: clamp(1.05rem, calc(var(--u) * 1.45), 1.35rem); line-height: 1.5; color: rgba(255,255,255,.85); }
.stage-hero .hero-ctas { margin-top: calc(var(--u) * 3.2); }
.rise { display: block; padding-bottom: .06em; margin-bottom: -.06em; }
.rise > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  /* each line rises from behind its own lower edge; the clip only hides what is below the line,
     and is removed once the entrance has finished so the title's soft shadow is never cut */
  .js .rise { clip-path: inset(-0.6em -100vw 0 -100vw); animation: riseUnclip 0s 1.6s forwards; }
  .js .rise > span { transform: translateY(105%); animation: lineRise 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .js .stage-lead, .js .stage-hero .hero-ctas, .js .stage-hero .eyebrow { opacity: 0; animation: fadeUp .9s var(--ease) forwards; animation-delay: .55s; }
  .js .stage-hero .eyebrow { animation-delay: 0s; }
}
@keyframes riseUnclip { to { clip-path: none; } }
@keyframes lineRise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  .stage-hero { --u: 1.6vw; min-height: auto; align-items: end; }
  .stage-globe { width: 118vw; top: -6vw; right: -40vw; transform: none; opacity: .75; }
  .stage-inner { padding-top: 56vw; padding-bottom: 48px; }
  .stage-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,15,128,0) 25%, rgba(21,15,128,.75) 60%, var(--violet-950) 100%); }
}

.page-hero { padding-block: clamp(72px, 11vw, 150px) clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: var(--xl); margin-top: 20px; max-width: 16ch; }
.page-hero .lead { margin-top: 28px; color: rgba(255,255,255,.85); max-width: 52ch; }
.page-hero .hero-ctas { margin-top: 32px; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: var(--xl); }
.section-head p { max-width: 42ch; color: var(--ink); font-size: 1.1rem; }
.on-dark .section-head p, .band-violet .section-head p { color: var(--lavender); }
@media (min-width: 900px) {
  .section-head.split-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.label-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .label-grid { grid-template-columns: 4fr 8fr; gap: 48px; } }
.label-grid > .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--mute); padding-top: 8px; }
.on-dark .label-grid > .label { color: var(--lavender); }
.label-grid h2 { font-size: var(--l); line-height: 1.02; }
.prose p, .prose li { max-width: 64ch; }
.prose h2 { font-size: var(--l); margin: 1.2em 0 .5em; line-height: 1.05; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--ink); max-width: 32ch; }

/* ---------- Rows (three ways) ---------- */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-link { display: grid; gap: 14px; padding-block: clamp(24px, 3.4vw, 40px); text-decoration: none; color: inherit; }
@media (min-width: 900px) { .row-link { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; } }
.row-title { font-size: clamp(2.2rem, 5.2vw, 4.6rem); color: var(--ink); transition: transform .5s var(--ease), color .3s ease; }
.row-link:hover .row-title { transform: translateX(10px); }
.row-copy { color: var(--mute); max-width: 46ch; }
.row-copy .who { display: block; margin-top: 10px; color: var(--ink); font-size: 0.92rem; }
.row-copy .go { display: inline-flex; gap: 6px; margin-top: 14px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }


/* ---------- Services list with hover preview (home) ---------- */
.svc { position: relative; }
.svc-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .svc-head { grid-template-columns: 1fr minmax(0, 28rem); align-items: end; justify-content: space-between; } }
.svc-title { font-family: var(--sans); font-weight: 400; font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: .95; letter-spacing: -0.035em; color: var(--ink); }
.svc-intro { color: var(--mute); font-weight: 500; max-width: 28rem; margin: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { border-top: 1px solid rgba(30,22,169,.22); }
.svc-list li:last-child { border-bottom: 1px solid rgba(30,22,169,.22); }
.svc-row {
  display: grid; gap: 6px; align-items: center; text-decoration: none; color: var(--ink);
  padding: clamp(28px, 3.6vw, 50px) clamp(0px, 6vw, 100px);
  transition: opacity .2s ease;
}
@media (min-width: 900px) { .svc-row { grid-template-columns: 1fr auto; gap: 32px; } }
.svc-name { font-weight: 400; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; transition: transform .3s ease; }
.svc-meta { font-weight: 300; color: var(--text); transition: transform .3s ease; }
.svc-row:hover { opacity: .5; }
.svc-row:hover .svc-name, .svc-row:hover .svc-meta, .svc-row:focus-visible .svc-name { transform: translateX(10px); }

/* Marquee hover: a band slides in from the edge the pointer came through and scrolls the
   service's deliverables, with pill photos between them; it slides out the way the pointer
   leaves. Each service keeps its brand colour (violet, pink, lavender). Pointer devices only. */
.svc-list li { position: relative; overflow: hidden; }
.svc-mq { display: none; }
.svc-mq-live .svc-mq {
  display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  transform: translateY(101%);
}
.svc-mq-live .svc-row:hover { opacity: 1; }
.svc-mq-live .svc-row:hover .svc-name, .svc-mq-live .svc-row:hover .svc-meta { transform: none; }
.svc-mq-wrap { height: 100%; transform: translateY(-101%); }
.svc-mq-track {
  display: flex; align-items: center; height: 100%; width: max-content;
  font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1;
  animation: svcMarquee 22s linear infinite; animation-play-state: paused;
}
.svc-list li.is-mq .svc-mq-track { animation-play-state: running; }
.svc-mq-track span { white-space: nowrap; padding: 0 .45em; }
.svc-mq-pill { flex: none; width: 2.4em; height: .9em; border-radius: 999px; object-fit: cover; margin: 0 .15em; }
.svc-list li:nth-child(1) .svc-mq { background: var(--violet-900); color: var(--white); }
.svc-list li:nth-child(2) .svc-mq { background: var(--pink); color: var(--violet-950); }
.svc-list li:nth-child(3) .svc-mq { background: var(--lavender); color: var(--violet-950); }
@keyframes svcMarquee { to { transform: translateX(-50%); } }

/* ---------- Starter selector ---------- */
.starter-choices { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 900px) { .starter-choices { grid-template-columns: repeat(3, 1fr); } }
.starter-choice {
  text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px 22px 20px; cursor: pointer; display: grid; gap: 8px; min-height: 120px;
  transition: border-color .25s ease, background-color .25s ease, transform .4s var(--ease), box-shadow .3s ease;
}
.starter-choice:hover { border-color: var(--violet-900); transform: translateY(-2px); }
.starter-choice .num { font-family: var(--serif); font-size: 1.6rem; color: var(--violet-900); line-height: 1; }
.starter-choice .txt { font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.3; }
.starter-choice[aria-pressed="true"] { background: var(--violet-900); border-color: var(--violet-900); box-shadow: 0 14px 30px -18px rgba(30,22,169,.7); }
.starter-choice[aria-pressed="true"] .txt, .starter-choice[aria-pressed="true"] .num { color: var(--white); }
.starter-choice[aria-pressed="true"] { --focus: var(--pink); }
.starter-hint { color: var(--mute); font-size: 0.95rem; margin: 0; }
.starter-panels { display: grid; gap: 16px; }
.starter-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.5vw, 44px);
  display: grid; gap: 18px;
}
@media (min-width: 900px) { .starter-panel { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.starter-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-stretch: 75%; line-height: 1.02; }
.starter-panel .links { display: grid; gap: 12px; align-content: start; }
.js .starter-panel[hidden] { display: none; }
.js .starter-panel.is-entering { animation: rise .6s var(--ease) both; }

/* ---------- Method ---------- */
.method-tabs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-bottom: 0; }
@media (min-width: 900px) { .method-tabs { grid-template-columns: repeat(4, 1fr); } }
.method-tab {
  background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer;
  padding: 24px 20px 22px 8px; display: grid; gap: 6px; position: relative;
}
.method-tab:focus-visible { outline-offset: -3px; }
.method-tab::after {
  content: ""; position: absolute; left: 0; right: 16px; bottom: -1px; height: 3px; background: var(--violet-900);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.method-tab[aria-selected="true"]::after { transform: scaleX(1); }
.method-tab .letter { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; letter-spacing: -0.02em; color: var(--violet-900); }
.method-tab .word { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.method-tab .short { color: var(--mute); font-size: 0.93rem; line-height: 1.45; }
.method-tab[aria-selected="false"] .letter { color: rgba(30,22,169,.38); }
.method-panels { display: grid; gap: 16px; margin-top: 32px; perspective: 1600px; }
@media (min-width: 900px) { .no-js .method-panels { grid-template-columns: repeat(2, 1fr); } }
.method-panel {
  border-radius: 22px; background: var(--violet-900); color: rgba(255,255,255,.9); padding: clamp(26px, 4vw, 52px);
  display: grid; gap: 24px; --focus: var(--pink);
}
@media (min-width: 900px) { .js .method-panel { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.method-panel h3 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 3rem); font-stretch: 75%; line-height: 1; }
.method-panel h3 .initial { color: var(--pink); }
.method-panel dl { margin: 0; display: grid; gap: 16px; }
.method-panel dt { font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
.method-panel dd { margin: 4px 0 0; }
.js .method-panel[hidden] { display: none; }
/* Method page: the four steps, once each, in depth */
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps-item { display: grid; gap: 18px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid rgba(255,255,255,.18); }
.steps-item:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) { .steps-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; } }
.steps-h { display: flex; align-items: baseline; gap: 16px; margin: 0; color: #fff; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.steps-num { color: var(--pink); font-size: .5em; letter-spacing: .02em; }
.steps-dl { margin: 0; display: grid; gap: 16px; }
.steps-dl dt { font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); font-weight: 600; }
.steps-dl dd { margin: 4px 0 0; color: rgba(255,255,255,.88); }
/* choosing a step fades the blue panel up into place */
.js .method-panel.is-entering { animation: panelFadeUp .6s cubic-bezier(.22, .9, .3, 1) both; }
@keyframes panelFadeUp {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: none; }
}


.principles { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .principle { border-bottom: 0; border-right: 1px solid var(--line); padding: 28px 28px 8px 0; } .principle + .principle { padding-left: 28px; } .principle:last-child { border-right: 0; } }
.principle strong { text-align: left; -webkit-hyphens: manual; hyphens: manual; display: block; font-family: var(--sans); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; margin-bottom: 8px; }
.principle span { color: var(--mute); font-size: 0.97rem; }

/* ---------- Facts and tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius); padding: 3px 12px; font-size: 0.78rem;
  font-weight: 600; letter-spacing: .02em; border: 1px solid currentColor; white-space: nowrap;
}
.tag-free { color: var(--success); }
.tag-paid { color: var(--pink); border-color: var(--pink); }
.diag-card--feature .tag-paid { color: var(--pink); border-color: var(--pink); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .facts > div { grid-template-columns: 200px 1fr; gap: 24px; } }
.facts dt { font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mute); padding-top: 4px; }
.facts dd { margin: 0; }

/* ---------- Case studies (gated) ---------- */
.cs-private { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: var(--radius); border: 1px solid currentColor; font-size: 0.7rem; letter-spacing: .1em; }
.cs-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
.cs-card a, .cs-card > div { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.cs-card-img { margin: 0 0 8px; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); border: 1px solid var(--line); }
.cs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cs-card a:hover .cs-card-img img { transform: scale(1.03); }
.cs-card-num { font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mute); }
.cs-card-title { font-stretch: 75%; font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; color: var(--ink); }
.cs-card a:hover .cs-card-title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.cs-card-go { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.cs-card.is-pending .cs-card-img { opacity: .75; }
.cs-experience { display: grid; gap: 24px; margin-top: 32px; align-items: start; }
@media (min-width: 900px) { .cs-experience { grid-template-columns: 1.2fr 1fr; } }
.cs-experience-img { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.cs-orgs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cs-orgs li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cs-story { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.cs-part { display: grid; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .cs-part { grid-template-columns: 200px 1fr; gap: 24px; } }
.cs-value { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--ink); max-width: 40ch; }
.cs-h, .label-grid .cs-h { font-size: 0.78rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.cs-story p { max-width: 62ch; }
.cs-results { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cs-results li { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; color: var(--ink); }
.cs-images { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.cs-figure { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--white); width: fit-content; max-width: 100%; }
.cs-figure img { width: auto; max-width: 100%; }
@media (min-width: 900px) { .cs-images { grid-template-columns: repeat(2, 1fr); } .cs-images .cs-figure:only-child { grid-column: 1 / -1; } }
.cs-pager { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.cs-pager a { font-weight: 600; color: var(--ink); text-decoration: none; max-width: 42ch; }
.cs-pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Quote ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.12; color: var(--white); max-width: 30ch; }
.quote footer { margin-top: 28px; font-size: 0.95rem; color: var(--lavender); }
.quote footer strong { display: block; color: var(--white); font-weight: 600; }

/* ---------- Closing CTA ---------- */
.closing { background: var(--violet-900); color: var(--white); overflow: hidden; }
.closing-link {
  display: flex; align-items: baseline; gap: .25em; flex-wrap: wrap; text-decoration: none; color: var(--white);
  font-size: clamp(3rem, 10vw, 10rem); padding-block: clamp(48px, 7vw, 96px) clamp(16px, 2vw, 24px);
}
.closing-link .slash { color: var(--pink); font-weight: 400; transition: transform .6s var(--ease); display: inline-block; }
.closing-link:hover .slash { transform: translateX(14px); }
.closing-sub { padding-bottom: clamp(40px, 6vw, 72px); display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; color: var(--lavender); }

/* ---------- Footer ---------- */
.site-footer { background: var(--violet-900); color: rgba(255,255,255,.88); border-top: 1px solid var(--line-dark); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; } }
.footer-grid h2 { font-size: 0.82rem; font-weight: 500; color: var(--lavender); margin-bottom: 14px; letter-spacing: .02em; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-email { font-stretch: 75%; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--white); line-height: 1.05; letter-spacing: -0.01em; word-break: break-word; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--lavender); font-size: 0.86rem; }
.footer-base ul { list-style: none; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }

/* ---------- Service paths ---------- */
.path { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.path:first-of-type { border-top: 0; }
.path-head { display: grid; gap: 18px; margin-bottom: 40px; }
@media (min-width: 900px) { .path-head { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; } }
.path-head h2 { font-size: var(--xl); }
.path-num { font-family: var(--serif); font-size: 1.4rem; color: var(--violet-900); }
.path-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .path-grid { grid-template-columns: repeat(4, 1fr); } }
.path-cell { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .path-cell { border-bottom: 0; padding: 26px 24px 4px 0; } .path-cell + .path-cell { padding-left: 24px; border-left: 1px solid var(--line); } }
.path-cell h3 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.path-cell ul { padding-left: 1.1em; }
.path-cell li { margin-bottom: 6px; }
.path-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(30,22,169,.4); }
.card h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-stretch: 75%; line-height: 1; }
.card .cap { font-family: var(--serif); font-size: 1.35rem; color: var(--violet-900); }
.card .price { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.card ul { padding-left: 1.1em; color: var(--text); }
.card li { margin-bottom: 6px; }
.card .spacer { flex: 1; }
.small-print { font-size: 0.9rem; color: var(--mute); margin-top: 20px; max-width: 80ch; }

/* ---------- FAQ (details) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--violet-900), var(--violet-900)) center/14px 2px no-repeat, linear-gradient(var(--violet-900), var(--violet-900)) center/2px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; max-width: 70ch; color: var(--text); }

/* ---------- Diagnostics list ---------- */
.diag-group { margin-top: clamp(40px, 6vw, 72px); }
.diag-group > h2 { font-size: var(--l); line-height: 1.05; margin-bottom: 8px; }
.diag-group > p { color: var(--mute); margin-bottom: 24px; }
.diag-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.diag-item { display: grid; gap: 14px; padding-block: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .diag-item { grid-template-columns: 1.05fr 1.2fr auto; gap: 40px; align-items: center; } }
.diag-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.01em; line-height: 1.1; }
.diag-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.diag-meta .tag { letter-spacing: .02em; text-transform: none; }
.diag-item p { color: var(--mute); }
.round-link {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--violet-900); display: inline-grid; place-items: center;
  color: var(--violet-900); text-decoration: none; transition: background-color .25s ease, color .25s ease;
  justify-self: start;
}
.round-link:hover { background: var(--violet-900); color: var(--white); }
.round-link svg { width: 18px; height: 18px; }

/* ---------- Steps (programme) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .steps li { border-bottom: 0; padding: 26px 24px 8px 0; } .steps li + li { border-left: 1px solid var(--line-dark); padding-left: 24px; } }
.steps .n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--pink); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.light-steps { border-top-color: var(--line); }
.light-steps li { border-color: var(--line) !important; }
.light-steps .n { color: var(--violet-900); }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 200px 1fr; gap: 24px; } }
.timeline .when { font-weight: 700; color: var(--ink); }

/* ---------- About ---------- */
.founder { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: 5fr 7fr; gap: 64px; } }
.founder img { border-radius: 22px; width: 100%; max-width: 480px; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.founder h2 { font-size: var(--l); margin-bottom: 6px; }
.founder .role { color: var(--mute); margin-bottom: 22px; }
.company-facts { display: grid; gap: 16px; }
@media (min-width: 760px) { .company-facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 72px; } }
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 700px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.field .hint { color: var(--mute); font-size: 0.88rem; margin-top: -4px; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(30,22,169,.32); background: var(--white); border-radius: 12px; padding: 13px 14px;
  font-size: 1rem; min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--violet-900); box-shadow: 0 0 0 3px rgba(30,22,169,.22); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: 0.75rem; display: grid; place-items: center; margin-top: 2px; }
.radio-set { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.radio-set legend { margin-bottom: 8px; }
.radio-opts { display: grid; gap: 10px; }
@media (min-width: 700px) { .radio-opts { grid-template-columns: 1fr 1fr; } }
.radio-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgba(30,22,169,.24); border-radius: 12px; padding: 14px; background: var(--white); cursor: pointer; }
.radio-opt:has(input:checked) { border-color: var(--violet-900); box-shadow: 0 0 0 1px var(--violet-900); }
.radio-opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--violet-900); flex: none; }
.radio-opt span { font-weight: 500; line-height: 1.35; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--violet-900); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 14px; padding: 18px 20px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FDECEA; color: #7A1A12; border: 1px solid #F3B8B2; }
.form-status.is-success { background: #E8F5EE; color: #0B4F33; border: 1px solid #A9D9BF; }
.form-status ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-status a { color: inherit; }
.form-success { border-radius: 22px; background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.form-success h2 { font-size: var(--l); margin-bottom: 12px; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .7; cursor: progress; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-submitting .spinner { display: inline-block; }
.staging-note { background: #FFF6D6; border: 1px solid #F0D27A; color: #4A3800; border-radius: 12px; padding: 12px 16px; font-size: 0.92rem; }
.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-aside h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.contact-aside a { color: var(--ink); }

/* ---------- Insights ---------- */
.article-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: grid; gap: 8px; padding: 26px 0; text-decoration: none; }
@media (min-width: 900px) { .article-list a { grid-template-columns: 180px 1fr; gap: 40px; } }
.article-list time { color: var(--mute); font-size: 0.92rem; }
.article-list h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.12; transition: color .25s ease; }
.article-list a:hover h2 { color: var(--violet-700); text-decoration: underline; text-underline-offset: 4px; }
.article-list p { color: var(--mute); margin-top: 6px; max-width: 70ch; }
.article-body { max-width: 72ch; }
.article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }


/* Article extras: featured image, tables, kickers, audio */
.article-figure { margin: 0 0 clamp(36px, 5vw, 64px); max-width: 1000px; }
.article-figure img { width: auto; max-width: 100%; max-height: 640px; height: auto; border-radius: 18px; }
.article-figure figcaption { margin-top: 10px; font-size: .85rem; color: var(--mute); }
.prose .kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mute); margin: 2.6em 0 -0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: 10px; }
.prose th { text-align: left; background: var(--violet-900); color: var(--white); padding: 10px 14px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 150px; }
.prose .rating { font-size: 1.05rem; }
.prose .rating strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--ink); }
.prose figure.audio { margin: 1.6em 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.prose figure.audio figcaption { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.prose figure.audio audio { width: 100%; }
.article-list a { align-items: start; }
@media (min-width: 900px) { .article-list a { grid-template-columns: 280px 1fr; } }
.article-thumb { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--lavender); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-list a:hover .article-thumb img { transform: scale(1.03); }
.article-list time { display: block; margin-bottom: 6px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .hero h1 .line { animation: rise 1.1s var(--ease) both; }
.motion .hero h1 .line:nth-child(2) { animation-delay: .08s; }
.motion .hero h1 .line:nth-child(3) { animation-delay: .16s; }
.motion .hero h1 .line:nth-child(4) { animation-delay: .24s; }

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

/* ---------- Responsive header ---------- */
@media (max-width: 980px) {
  .primary-nav, .header-meta .clock, .header-meta .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-meta { margin-left: auto; }
}
@media (max-width: 980px) {
  /* Without JavaScript the menu button cannot work, so show the links inline instead */
  .no-js .menu-toggle { display: none; }
  .no-js .site-header .wrap { flex-wrap: wrap; height: auto; padding-block: 14px; row-gap: 8px; }
  .no-js .primary-nav { display: block; order: 3; width: 100%; margin: 0; }
  .no-js .primary-nav ul { flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width: 759px) {
  .hero h1 .indent-1, .hero h1 .indent-2 { padding-left: 0; }
  .hero { min-height: auto; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}

/* Method on desktop: tall enough that the title and the intro always keep clear space between them */
@media (min-width: 1024px) { .mh { height: max(860px, calc(100svh - 68px)); } }
/* Method: the pause button lines up with the header's right edge, like the copy with the logo */
.mh .wave-toggle { right: var(--edge); top: 24px; }

/* ---------- Hero background: one vignette for every hero ----------
   Lighter violet towards the centre, deepening to near-navy at the edges, on every page's hero
   (home, services stage, method, diagnostics, accountability and all page heroes).
   background-color is the mid tone, which the case studies strip uses for its fade. */
:root { --hero-bg: radial-gradient(80% 90% at 62% 42%, #241A9E 0%, #150F80 58%, #0C0860 100%); }
.hero, .stage-hero, .mh, .dh, .ah, .page-hero { background: var(--hero-bg); background-color: #150F80; }

/* ---------- About: "How we work" as its own blue section with interactive cards ---------- */
.hww { background: var(--hero-bg); background-color: #150F80; color: #fff; }
.hww h2 { color: #fff; }
.hww-list { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .hww-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.hww-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: clamp(28px, 3vw, 40px);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); outline: none;
  transition: transform .45s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .45s ease;
  --mx: 50%; --my: 0%;
}
/* a soft light that follows the pointer across the card */
.hww-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(206,200,242,.18), transparent 60%);
}
/* a pink line that sweeps in along the top */
.hww-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.hww-num { display: block; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 2.6rem; line-height: 1; color: rgba(228, 78, 163,.45); transition: color .3s ease, transform .45s var(--ease); }
.hww-title { margin: 22px 0 12px; color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.35rem; line-height: 1.2; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.hww-text { margin: 0; color: rgba(255,255,255,.8); font-size: .98rem; }
.hww-card:hover, .hww-card:focus-visible {
  transform: translateY(-6px); border-color: rgba(255,255,255,.32); background-color: rgba(255,255,255,.07);
  box-shadow: 0 24px 50px -24px rgba(8,5,60,.8);
}
.hww-card:hover::before, .hww-card:focus-visible::before { opacity: 1; }
.hww-card:hover::after, .hww-card:focus-visible::after { transform: scaleX(1); }
.hww-card:hover .hww-num, .hww-card:focus-visible .hww-num { color: var(--pink); transform: translateX(4px); }
.hww-card:focus-visible { box-shadow: 0 0 0 2px var(--pink), 0 24px 50px -24px rgba(8,5,60,.8); }
@media (prefers-reduced-motion: reduce) { .hww-card, .hww-card::after, .hww-num { transition: none; } .hww-card:hover, .hww-card:focus-visible { transform: none; } }

/* ---------- Home: "Where should I start?" in the same blue section and cards as About "How we work" ---------- */
.starter-dark .section-head p, .starter-dark .starter-hint { color: rgba(255,255,255,.78); }
.starter-dark .starter-choice {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; min-height: 150px; padding: clamp(24px, 2.6vw, 34px);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); color: #fff; --focus: var(--pink); --mx: 50%; --my: 0%;
  transition: transform .45s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .45s ease;
}
.starter-dark .starter-choice::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(206,200,242,.18), transparent 60%);
}
.starter-dark .starter-choice::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.starter-dark .starter-choice .num { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 2.6rem; color: rgba(228, 78, 163,.45); transition: color .3s ease, transform .45s var(--ease); }
.starter-dark .starter-choice .txt { color: #fff; font-size: 1.3rem; }
.starter-dark .starter-choice:hover, .starter-dark .starter-choice:focus-visible {
  transform: translateY(-6px); border-color: rgba(255,255,255,.32); background-color: rgba(255,255,255,.07); box-shadow: 0 24px 50px -24px rgba(8,5,60,.8);
}
.starter-dark .starter-choice:hover::before, .starter-dark .starter-choice:focus-visible::before { opacity: 1; }
.starter-dark .starter-choice:hover::after, .starter-dark .starter-choice:focus-visible::after,
.starter-dark .starter-choice[aria-pressed="true"]::after { transform: scaleX(1); }
.starter-dark .starter-choice:hover .num, .starter-dark .starter-choice:focus-visible .num, .starter-dark .starter-choice[aria-pressed="true"] .num { color: var(--pink); }
/* the chosen statement: lavender card, deep violet text */
.starter-dark .starter-choice[aria-pressed="true"] { background: rgba(255,255,255,.12); border-color: var(--lavender); box-shadow: 0 24px 50px -24px rgba(8,5,60,.8); }
.starter-dark .starter-choice[aria-pressed="true"] .txt { color: #fff; }
.starter-dark .starter-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.88); }
.starter-dark .starter-panel h3 { color: #fff; }
@media (prefers-reduced-motion: reduce) { .starter-dark .starter-choice, .starter-dark .starter-choice::after { transition: none; } .starter-dark .starter-choice:hover { transform: none; } }

/* Diagnostics intro: label on top, then the heading and copy, all on the cards' left edge */
.diag-intro h2 { margin-top: 16px; max-width: 22ch; font-size: var(--l); line-height: 1; }
.diag-intro > p:last-child { margin-top: 18px; max-width: 62ch; }

/* ---------- Diagnostics: tools as a grid of cards, each card one link ---------- */
.diag-grid { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .diag-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.diag-card {
  position: relative; overflow: hidden; isolation: isolate; height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: var(--white); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; --mx: 50%; --my: 0%;
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s ease;
}
.diag-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(206,200,242,.45), transparent 60%);
}
/* hover line along the top, drawn as a growing background so it sweeps in from the left */
.diag-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(var(--pink), var(--pink)) no-repeat left top / 0% 3px;
  transition: background-size .6s var(--ease);
}
.diag-q { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--violet-700); text-align: left; }
.diag-name { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1; letter-spacing: -0.015em; color: var(--violet-900); }
.diag-card .diag-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--mute); }
.diag-desc { color: var(--text); line-height: 1.6; }
.diag-who { margin-top: auto; padding-top: 10px; font-size: .9rem; color: var(--mute); text-align: justify; padding-right: 64px; }
.diag-go {
  position: absolute; right: clamp(22px, 2.6vw, 34px); bottom: clamp(22px, 2.6vw, 34px); width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--violet-900); color: var(--violet-900);
  transition: background-color .3s ease, color .3s ease, transform .45s var(--ease);
}
.diag-go svg { width: 18px; height: 18px; }
.diag-card:hover, .diag-card:focus-visible { transform: translateY(-6px); border-color: var(--violet-900); box-shadow: 0 28px 60px -32px rgba(30,22,169,.55); }
.diag-card:hover::before, .diag-card:focus-visible::before { opacity: 1; }
.diag-card:hover::after, .diag-card:focus-visible::after { background-size: 100% 3px; }
.diag-card:hover .diag-go, .diag-card:focus-visible .diag-go { background: var(--violet-900); color: #fff; transform: rotate(45deg); }
/* the guided engagement: the one expert option, in solid violet */
.diag-card--feature { background: var(--hero-bg); background-color: #150F80; border-color: transparent; color: #fff; }
.diag-card--feature::before { background: radial-gradient(460px circle at var(--mx) var(--my), rgba(206,200,242,.16), transparent 60%); }
.diag-card--feature .diag-q { color: var(--lavender); }
.diag-card--feature .diag-name { color: #fff; }
.diag-card--feature .diag-meta, .diag-card--feature .diag-who { color: rgba(255,255,255,.7); }
.diag-card--feature .diag-desc { color: rgba(255,255,255,.88); }
.diag-card--feature .tag { color: #fff; border-color: rgba(255,255,255,.6); }
.diag-card--feature .diag-go { border-color: rgba(255,255,255,.7); color: #fff; }
.diag-card--feature:hover .diag-go, .diag-card--feature:focus-visible .diag-go { background: #fff; color: var(--violet-950); transform: none; }
.diag-card--feature:hover, .diag-card--feature:focus-visible { border-color: var(--lavender); }
@media (prefers-reduced-motion: reduce) { .diag-card, .diag-card::after, .diag-go { transition: none; } .diag-card:hover { transform: none; } }

/* ---------- Services: cleaner service blocks (number, heading, 2 x 2 detail cards) ---------- */
.path-head { margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .path-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; } }
.path-num { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; color: var(--pink); }
.path-num::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.path-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: .95; max-width: none; }
.path-head .lead { text-align: justify; -webkit-hyphens: auto; hyphens: auto; max-width: 36ch; }
.path-grid { border-top: 0; gap: 16px; }
@media (min-width: 900px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.path-cell, .path-cell + .path-cell {
  padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 20px; background: var(--white);
}
.path-cell:nth-child(3) { background: rgba(206,200,242,.28); border-color: rgba(30,22,169,.14); }
@media (min-width: 900px) {
  .path-grid { align-items: start; }
  .path-cell:nth-child(1) { grid-column: 1; grid-row: 1; } .path-cell:nth-child(2) { grid-column: 1; grid-row: 2; }
  .path-cell:nth-child(4) { grid-column: 1; grid-row: 3; } .path-cell:nth-child(3) { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; }
}
.path-cell h3 { color: var(--violet-700); margin-bottom: 14px; }
.path-cell p, .path-cell li { text-align: justify; -webkit-hyphens: auto; hyphens: auto; color: var(--text); }
.path-cell ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.path-cell li { position: relative; padding-left: 20px; margin: 0; }
.path-cell li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--pink); }
.path-cell strong { color: var(--ink); }
.path-cell .muted { margin-top: 12px; }
.path-actions { margin-top: 36px; }

/* ---------- Case studies password page: kinetic type field (cs-type.js) ---------- */
.cs-type { cursor: default; touch-action: auto; pointer-events: none; }
.cs-type .it-group { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cs-type .it {
  white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; line-height: 1.35;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px;
  color: var(--lavender); opacity: .7;
  transition: opacity .9s cubic-bezier(0.87, 0, 0.13, 1), color .9s ease;
}
.cs-type .it--xl {
  font-family: var(--sans); font-stretch: 75%; font-weight: 700; letter-spacing: -0.02em; line-height: .9;
  font-size: clamp(4.5rem, 10vw, 9.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(206,200,242,.8); opacity: 1;
}
.cs-type .it.pos-1 { margin-left: 0; }
.cs-type .it.pos-2 { margin-left: 28%; }
.cs-type .it.pos-3 { margin-left: 58%; }
.cs-type .it.pos-4 { margin-left: auto; }
.cs-type .it.pos-5 { margin-left: 28%; margin-top: 16px; opacity: 1; color: var(--pink); }
.cs-type .it--xl.pos-1 { -webkit-text-stroke-color: var(--pink); }
.cs-type .it-cursor { display: inline-block; margin-left: .35em; animation: itBlink .7s steps(1) infinite; }
@keyframes itBlink { 50% { opacity: 0; } }
/* phones: a band above the copy with four groups; the four-word list is left out so nothing overlaps */
.cs-type .it-g1 { top: 0; } .cs-type .it-g2 { top: 64px; } .cs-type .it-g3 { display: none; } .cs-type .it-g4 { top: 160px; } .cs-type .it-g5 { top: 190px; }
@media (max-width: 1099px) { .cs-hero--loom > .cs-type { height: 280px; margin: 8px var(--gut) 0; } .cs-type .it.pos-3 { margin-left: 44%; } }
@media (min-width: 1100px) {
  .cs-type .it-g1 { top: 2%; } .cs-type .it-g2 { top: 20%; } .cs-type .it-g3 { display: flex; top: 50%; } .cs-type .it-g4 { top: 76%; } .cs-type .it-g5 { top: 84%; }
}
@media (prefers-reduced-motion: reduce) { .cs-type .it-cursor { animation: none; } }

/* ---------- Method page: the four steps as a 2 x 2 grid of cards, white section, pink accents ---------- */
/* white section with two soft glows behind the cards, so the frosted glass has something to show */
.method-steps { color: var(--text); background:
  radial-gradient(40% 50% at 18% 30%, rgba(206,200,242,.75), transparent 70%),
  radial-gradient(38% 46% at 82% 72%, rgba(228,78,163,.22), transparent 70%),
  var(--white); }
.mstep-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .mstep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
.mstep {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.2vw, 44px); border-radius: 22px; outline: none;
  /* frosted glass */
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 40px -26px rgba(30,22,169,.35);
  transition: transform .45s var(--ease), border-color .35s ease, background-color .35s ease, box-shadow .45s ease;
}
.mstep-num { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(2.8rem, 4vw, 3.6rem); line-height: .9; color: var(--pink); }
.mstep-name { margin: 0; color: var(--violet-900); font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.015em; text-align: left; }
.mstep-what { margin: 0; color: var(--text); line-height: 1.6; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.mstep-out { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.55); border: 1px solid rgba(228,78,163,.35); }
.mstep-out-label { display: block; margin-bottom: 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--pink); }
.mstep-out p { margin: 0; color: var(--ink); line-height: 1.5; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.mstep-name, .mstep-what, .mstep-out, .mstep-out p, .mstep-out-label { transition: color .35s ease, background-color .35s ease, border-color .35s ease; }
/* hover and focus reverse the card: violet card, white text, solid pink outcome box */
.mstep:hover, .mstep:focus-visible { transform: translateY(-6px); background: var(--violet-900); border-color: var(--violet-900); box-shadow: 0 26px 56px -28px rgba(30,22,169,.6); }
.mstep:hover .mstep-name, .mstep:focus-visible .mstep-name { color: #fff; }
.mstep:hover .mstep-what, .mstep:focus-visible .mstep-what { color: rgba(255,255,255,.85); }
.mstep:hover .mstep-out, .mstep:focus-visible .mstep-out { background: var(--pink); border-color: var(--pink); }
.mstep:hover .mstep-out-label, .mstep:focus-visible .mstep-out-label { color: rgba(255,255,255,.85); }
.mstep:hover .mstep-out p, .mstep:focus-visible .mstep-out p { color: #fff; }
.mstep:focus-visible { box-shadow: 0 0 0 3px var(--pink), 0 26px 56px -28px rgba(30,22,169,.6); }
@media (prefers-reduced-motion: reduce) { .mstep { transition: none; } .mstep:hover { transform: none; } }

/* ---------- Method page: "How we work", centred heading over three even cards ---------- */
.pc-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pc-head .eyebrow { justify-content: center; }
.pc-head h2 { margin-top: 14px; font-size: var(--l); line-height: 1; }
.pc-grid { list-style: none; margin: clamp(36px, 5vw, 56px) auto 0; padding: 0; max-width: 1120px; display: grid; gap: 18px; }
@media (min-width: 900px) { .pc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.pc-card { padding: clamp(26px, 2.8vw, 36px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pc-num { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--pink); }
.pc-card h3 { margin: 0; color: var(--violet-900); font-weight: 600; font-size: 1.3rem; line-height: 1.25; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.pc-card p { margin: 0; color: var(--text); line-height: 1.6; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* "How we work" on dark blue, with glass cards */
.principles-centre { background: var(--hero-bg); background-color: #150F80; color: #fff; }
.principles-centre .pc-head h2 { color: #fff; }
.principles-centre .pc-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.principles-centre .pc-card h3 { color: #fff; }
.principles-centre .pc-card p { color: rgba(255,255,255,.8); }

/* "How we work": bigger, with cards that rise in one after another and respond to the pointer */
.principles-centre { padding-block: clamp(88px, 11vw, 160px); }
.principles-centre .pc-head h2 { font-size: var(--xl); }
.principles-centre .pc-grid { max-width: 1320px; gap: 24px; margin-top: clamp(48px, 6vw, 80px); }
.principles-centre .pc-card {
  position: relative; overflow: hidden; isolation: isolate; outline: none; min-height: 300px; gap: 18px;
  padding: clamp(32px, 3.4vw, 48px); border-radius: 24px; --mx: 50%; --my: 0%;
  transition: transform .5s var(--ease), border-color .3s ease, background-color .3s ease, box-shadow .5s ease;
}
.principles-centre .pc-num { font-size: clamp(3rem, 4.4vw, 4rem); line-height: .9; transition: transform .5s var(--ease); }
.principles-centre .pc-card h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); }
.principles-centre .pc-card p { font-size: 1.05rem; }
.principles-centre .pc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(228,78,163,.2), transparent 60%);
}
.principles-centre .pc-card:hover, .principles-centre .pc-card:focus-visible {
  transform: translateY(-10px); border-color: rgba(228,78,163,.55); background-color: rgba(255,255,255,.08); box-shadow: 0 30px 60px -30px rgba(8,5,60,.9);
}
.principles-centre .pc-card:hover::before, .principles-centre .pc-card:focus-visible::before { opacity: 1; }
.principles-centre .pc-card:hover .pc-num, .principles-centre .pc-card:focus-visible .pc-num { transform: translateY(-4px) scale(1.06); }
/* entrance: the heading settles, then the three cards rise one after another */
@media (prefers-reduced-motion: no-preference) {
  .motion .principles-centre .pc-grid.reveal { opacity: 1; transform: none; }
  .motion .principles-centre .pc-grid .pc-card { opacity: 0; transform: translateY(48px) scale(.97); }
  .motion .principles-centre .pc-grid.is-in .pc-card { animation: pcRise .9s var(--ease) forwards; }
  .motion .principles-centre .pc-grid.is-in .pc-card:nth-child(2) { animation-delay: .14s; }
  .motion .principles-centre .pc-grid.is-in .pc-card:nth-child(3) { animation-delay: .28s; }
}
@keyframes pcRise { to { opacity: 1; transform: none; } }

/* ---------- Hero type system: one title, intro and button style on every page ----------
   Applies to every hero (home, services stage, method, diagnostics, accountability and all page heroes).
   Placed last so it wins over the per-page rules above. */
:root {
  --hero-title-shadow: 0 1px 2px rgba(12, 8, 80, .28), 0 6px 28px rgba(12, 8, 80, .38);
  --hero-btn-shadow: 0 2px 6px rgba(12, 8, 80, .22), 0 12px 28px -10px rgba(12, 8, 80, .6);
  --hero-btn-shadow-hover: 0 3px 8px rgba(12, 8, 80, .26), 0 16px 34px -10px rgba(12, 8, 80, .7);
}
.hero h1, .stage-hero h1, .mh h1, .dh h1, .ah h1, .page-hero h1 {
  font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-style: normal;
  font-size: var(--xl); line-height: .92; letter-spacing: -0.02em; color: #fff;
  text-shadow: var(--hero-title-shadow);
}
/* the accountability title was serif with an italic accent; it now matches the others */
.ah h1 em { font-style: normal; color: var(--pink); }
.hero .lead, .stage-hero .stage-lead, .mh .mh-lead, .dh .lead, .ah .ah-lead, .page-hero .lead {
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.5;
}
/* every hero button: same font, weight and size, with a soft shadow that lifts it off the violet */
.hero .btn, .stage-hero .btn, .mh .mh-cta, .dh .btn, .ah .ah-btn, .page-hero .btn {
  font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  box-shadow: var(--hero-btn-shadow);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease);
}
.hero .btn:hover, .stage-hero .btn:hover, .mh .mh-cta:hover, .dh .btn:hover, .ah .ah-btn:hover, .page-hero .btn:hover { box-shadow: var(--hero-btn-shadow-hover); }
/* the glass button keeps its inner highlight under the new shadow */
.ah .ah-btn.liquid-glass, .ah .ah-btn.liquid-glass:hover { box-shadow: inset 0 1px 1px rgba(255,255,255,.1), var(--hero-btn-shadow); }

/* ---------- Home title: typed with autocomplete guesses (autocomplete-title.js) ---------- */
.motion .hero h1[data-ac] .line { animation: none; }
h1[data-ac] { position: relative; }
.ac-playing .ac-c:not(.is-on) { opacity: 0; }
.ac-c { transition: opacity .12s ease-out; }
.ac-layer { position: absolute; inset: 0; pointer-events: none; }
/* faint guesses running ahead of the caret, in the title's own type */
.ac-ghost {
  position: absolute; left: 0; top: 0; white-space: nowrap; line-height: normal;
  color: rgba(206, 200, 242, .42); text-shadow: none; opacity: 0; transition: opacity .28s ease-in-out;
}
.ac-ghost.is-in { opacity: 1; }
.ac-ghost.is-out { opacity: 0; transition-duration: .08s; }
.ac-ghost span { transition: opacity .12s ease-out; }
.ac-ruler { visibility: hidden; }
.ac-caret {
  position: absolute; left: 0; top: 0; width: 2px; height: .72em; margin: .26em 0 0 -1px;
  background: var(--lavender); box-shadow: 0 0 10px rgba(206, 200, 242, .6); opacity: 0;
}
.ac-caret.is-on { opacity: 1; }
.ac-caret.is-jump { transition: transform .08s cubic-bezier(.16, 1, .3, 1); }
.ac-caret.is-gone { opacity: 0; transition: opacity .3s ease-in-out; }

/* ---------- Every hero: copy on the logo's edge, equal space above and below ---------- */
:root { --hero-pad: clamp(72px, 11vw, 150px); --edge: max(var(--gut), calc(50% - var(--max) / 2)); }
.page-hero { padding-bottom: var(--hero-pad); }
.hero { justify-content: center; padding-block: clamp(80px, 12vh, 160px); }
.dh-copy { padding-block: var(--hero-pad); }
.stage-inner { padding-top: calc(var(--u) * 8.5); padding-bottom: calc(var(--u) * 8.5); }
.mh-copy { top: clamp(64px, 12vh, 128px); }
.mh-bottom { bottom: clamp(64px, 12vh, 128px); }
/* Founder Accountability: left-aligned on the logo's edge, like every other hero */
.ah { align-items: stretch; text-align: left; }
.ah-content { max-width: none; align-items: flex-start; padding: var(--hero-pad) var(--edge) 0; }
.ah-content > * { max-width: 760px; }
.ah-lead { margin: 0 0 26px; text-align: left; }
.ah-ctas, .ah-rhythm { justify-content: flex-start; }
/* desktop: the scene moves right so the left-aligned copy sits on clean colour beside it */
@media (min-width: 900px) { .ah-video { transform: translate(22%, 17%); } }

/* ---------- Every hero fills the first screen, content centred top to bottom ---------- */
.page-hero, .hero, .stage-hero, .dh, .mh, .ah { min-height: calc(100svh - 68px); }
.page-hero { display: flex; flex-direction: column; justify-content: center; }
.page-hero > .wrap { width: 100%; }
.hero { min-height: calc(100svh - 68px); }

/* ---------- Header text sits on the window's left margin on every screen width ----------
   (the logo, menu and the rest of the page stay in the centred column) */
.page-hero > .wrap, .hero > .wrap, .dh > .wrap, .stage-inner, .ins-hero > .ins-stage { max-width: none; }
.mh, .ah { --edge: var(--gut); }
@media (min-width: 1100px) { .cs-hero--loom > .cs-loom { right: var(--gut); } }
@media (min-width: 900px) { .ins-hero .ins-net { width: 50%; } .ins-hero > .wrap > .lead, .ins-hero > .wrap > h1 { max-width: 46%; } }

/* Home services: title in the bold display style like other section titles; row labels start on the intro's left edge */
.svc-title.display { font-weight: 700; font-stretch: 75%; letter-spacing: -0.02em; line-height: .92; color: var(--violet-900); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); padding-right: 0; }
  .svc-meta { justify-self: start; text-align: left; }
}

.official-logo { display: block; width: 120px; height: auto; }


/* Services: second heading line kept whole ("strategy and diagnostics"); bullets justify except the last line */
.path-head h2 { font-size: clamp(1.9rem, 3.5vw, 3.4rem); }
.path-head h2 .nowrap { white-space: nowrap; }
@media (max-width: 899px) { .path-head h2 { font-size: min(2.6rem, 8.6vw); } }


/* Former serif accents, now the brand sans: semibold, slightly tight, so they read as deliberate */
.serif,.prose blockquote,.starter-choice .num,.cs-value,.cs-results li,.quote p,.card .cap,.steps .n,.prose .rating strong { font-weight: 600; letter-spacing: -0.01em; font-stretch: 100%; }
.card .cap, .cs-results li, .cs-value { font-size: 1.1rem; }


/* ---------- Method: "Where the method shows up" interactive rows ---------- */
.rows-x .row { position: relative; overflow: hidden; }
.rows-x .row-link { position: relative; isolation: isolate; padding-inline: clamp(12px, 2vw, 28px); cursor: none; }
.rows-x .row-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(228,78,163,.35), transparent 60%), var(--violet-900); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.rows-x .row-link:hover::before, .rows-x .row-link:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.rows-x .row-title { display: block; }
.rows-x .row-title .ch { display: inline-block; transition: transform .45s var(--ease), color .3s ease; transition-delay: calc(var(--i) * 18ms); }
.rows-x .row-link:hover .row-title, .rows-x .row-link:focus-visible .row-title { color: #fff; transform: translateX(10px); }
.rows-x .row-link:hover .ch, .rows-x .row-link:focus-visible .ch { transform: translateY(-.08em); }
.rows-x .row-copy { transition: color .3s ease; }
.rows-x .row-link:hover .row-copy, .rows-x .row-link:focus-visible .row-copy { color: rgba(255,255,255,.86); }
.rows-x .row-copy .go { display: flex; width: fit-content; transition: color .3s ease, gap .3s ease; }
.rows-x .row-link:hover .go, .rows-x .row-link:focus-visible .go { color: var(--pink); gap: 12px; }
.row-steps { display: flex; gap: 8px; margin-top: 16px; }
.row-steps .rs { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--line); font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--mute); transition: background .35s ease, color .35s ease, border-color .35s ease, transform .4s var(--ease); }
.row-steps .rs.is-on { border-color: rgba(30,22,169,.35); color: var(--violet-900); }
.rows-x .row-link:hover .rs, .rows-x .row-link:focus-visible .rs { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.4); }
.rows-x .row-link:hover .rs.is-on, .rows-x .row-link:focus-visible .rs.is-on { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-3px); }
.rows-x .row-link:hover .rs.is-on:nth-child(2) { transition-delay: .06s; } .rows-x .row-link:hover .rs.is-on:nth-child(3) { transition-delay: .12s; } .rows-x .row-link:hover .rs.is-on:nth-child(4) { transition-delay: .18s; }
.row-cursor { position: absolute; left: 0; top: 0; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; pointer-events: none; transform: translate(var(--mx, 50%), var(--my, 50%)) scale(0); transition: transform .35s var(--ease); }
.row-cursor svg, .row-cursor .arr { width: 22px; height: 22px; }
.rows-x .row-link:hover .row-cursor { transform: translate(var(--mx), var(--my)) scale(1); transition: transform .12s linear; }
@media (hover: none), (pointer: coarse) { .rows-x .row-link { cursor: pointer; } .row-cursor { display: none; } }
@media (prefers-reduced-motion: reduce) { .rows-x .row-link::before, .rows-x .ch, .row-cursor, .rs { transition: none !important; } }

h2.display.after-h { max-width: none; font-size: min(clamp(1.9rem, 4vw, 3.4rem), 7.4vw); }
.after-h .nowrap { white-space: nowrap; }

.facts-pink dt { color: var(--pink); font-weight: 700; }


.accent-pink { color: var(--pink); }
/* Founder Accountability: fit cards lift, glow and shadow on hover */
.fit-cards .card { position: relative; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(30,22,169,.28), 0 2px 6px rgba(30,22,169,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.fit-cards .card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(228,78,163,.14), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.fit-cards .card:hover, .fit-cards .card:focus-visible { transform: translateY(-6px); border-color: rgba(228,78,163,.45); box-shadow: 0 26px 50px -18px rgba(30,22,169,.38), 0 4px 12px rgba(30,22,169,.08); }
.fit-cards .card:hover::before, .fit-cards .card:focus-visible::before { opacity: 1; }
.fit-cards .card h3 { transition: color .3s ease; }
.fit-cards .card:hover h3, .fit-cards .card:focus-visible h3 { color: var(--pink); }
@media (prefers-reduced-motion: reduce) { .fit-cards .card { transition: none; } .fit-cards .card:hover { transform: none; } }

/* Every button carries a soft drop shadow, deeper on hover */
.btn, button[type="submit"], .diag-go { box-shadow: 0 8px 20px -8px rgba(30,22,169,.45), 0 2px 5px rgba(12,8,96,.12); transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .3s ease, transform .3s var(--ease); }
.btn:hover, button[type="submit"]:hover { box-shadow: 0 14px 28px -10px rgba(30,22,169,.55), 0 3px 8px rgba(12,8,96,.16); transform: translateY(-2px); }
.on-dark .btn, .band-violet .btn { box-shadow: 0 10px 24px -8px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.2); }


/* Footer social icons: white, in a row, with a soft lift on hover */
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: #fff; transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease); }
.social-ic:hover, .social-ic:focus-visible { background: #fff; color: var(--violet-900); border-color: #fff; transform: translateY(-3px); }


/* ---------- Hero canvas animations (hero-fx.js): Case studies lines, About orbits ---------- */
.cs-hero--loom, .about-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-fx--lines { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 40%, #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 40%, #000 70%); }
@media (max-width: 899px) { .hero-fx--orbit { opacity: .55; } }


/* ---------- Partner pages (Partner with Qiro, Commercial partner) ---------- */
.ph-hero, .ph-cta { position: relative; overflow: hidden; isolation: isolate; }
.ph-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.ph-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,8,96,.96) 0%, rgba(21,15,128,.9) 45%, rgba(30,22,169,.62) 100%); mix-blend-mode: normal; }
.ph-shade::after { content: ""; position: absolute; inset: 0; background: rgba(30,22,169,.35); mix-blend-mode: color; }
.ph-hero h1 { max-width: 18ch; }
.ph-tag { margin: 18px 0 0; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; color: #fff; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.ph-chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.ph-chips--light span { border-color: rgba(30,22,169,.25); background: rgba(206,200,242,.28); color: var(--violet-900); }
.ph-cta { padding-block: clamp(88px, 12vw, 160px); }
.ph-cta h2 { font-size: var(--xl); max-width: 18ch; color: #fff; }
.ph-hero h1 { color: #fff; }
.ph-cta .lead { margin-top: 24px; max-width: 56ch; color: rgba(255,255,255,.88); }
.ph-cta .hero-ctas { margin-top: 32px; }

.pt-grid { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white);
  box-shadow: 0 10px 30px -16px rgba(30,22,169,.3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease, background .4s ease; }
.pt-img { aspect-ratio: 16 / 8; overflow: hidden; }
.pt-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.35); transition: transform .8s var(--ease), filter .5s ease; }
.pt-body { position: relative; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pt-num { margin: 0; color: var(--pink); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
.pt-card h3 { margin: 0; color: var(--violet-900); font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.05; text-align: left; transition: color .3s ease; }
.pt-card p:not(.pt-num) { margin: 0; color: var(--text); transition: color .3s ease; }
.pt-card .arrow-link { margin-top: 8px; color: var(--violet-900); font-weight: 700; }
.pt-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(228,78,163,.16), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.pt-card:hover, .pt-card:focus-visible, .pt-card:focus-within { transform: translateY(-6px); border-color: rgba(228,78,163,.45); box-shadow: 0 28px 54px -20px rgba(30,22,169,.42); }
.pt-card:hover::after, .pt-card:focus-visible::after, .pt-card:focus-within::after { opacity: 1; }
.pt-card:hover .pt-img img, .pt-card:focus-within .pt-img img { transform: scale(1.06); filter: grayscale(0); }
.pt-card--feature { background: var(--violet-900); border-color: var(--violet-900); }
.pt-card--feature h3, .pt-card--feature .arrow-link { color: #fff; }
.pt-card--feature p:not(.pt-num) { color: rgba(255,255,255,.82); }

@media (min-width: 900px) { .hww-list--4 { grid-template-columns: repeat(4, 1fr); } }

.ps-steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
@media (min-width: 700px) { .ps-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ps-steps { grid-template-columns: repeat(4, 1fr); } }
.ps-steps li { position: relative; padding: 28px 24px 26px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -18px rgba(30,22,169,.3); transition: background .4s ease, transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.ps-n { display: block; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--pink); margin-bottom: 16px; transition: color .3s ease; }
.ps-steps h3 { margin: 0 0 8px; color: var(--violet-900); font-weight: 700; font-size: 1.3rem; text-align: left; transition: color .3s ease; }
.ps-steps p { margin: 0; color: var(--text); transition: color .3s ease; }
.ps-steps li:hover { background: var(--violet-900); border-color: var(--violet-900); transform: translateY(-6px); box-shadow: 0 26px 50px -20px rgba(30,22,169,.5); }
.ps-steps li:hover h3 { color: #fff; } .ps-steps li:hover p { color: rgba(255,255,255,.82); }

.cp-split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .cp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cp-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 50px -24px rgba(30,22,169,.45); }
.cp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.cp-photo:hover img { transform: scale(1.05); }
.cp-split h2 { font-size: var(--l); margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { .pt-card, .pt-img img, .ps-steps li, .cp-photo img { transition: none; } .pt-card:hover, .ps-steps li:hover { transform: none; } }

/* Footer column headings: a lighter tint of the brand pink, readable on the footer blue */
footer h2 { color: #F28CC4 !important; }


/* ---------- Website redesign page ---------- */
.wr-hero { overflow: hidden; }
.wr-hero-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .wr-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.wr-hero h1 { max-width: 14ch; color: #fff; }
.sb-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; padding: 0; }
.sb-steps li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); font-size: .78rem; font-weight: 600; letter-spacing: .04em; transition: background .4s ease, color .4s ease, border-color .4s ease; }
.sb-steps li.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }

/* the browser window that builds a page */
.sb { perspective: 1400px; display: flex; justify-content: center; }
.sb-frame { --rx: 0deg; --ry: 0deg; width: 100%; max-width: 640px; border-radius: 16px; overflow: hidden; background: #fff; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); transition: transform .5s var(--ease), max-width .9s var(--ease); }
.sb[data-stage="4"] .sb-frame { max-width: 270px; }
.sb-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EFEDF7; border-bottom: 1px solid #E2DFF0; }
.sb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6D2E8; }
.sb-bar i:first-child { background: var(--pink); }
.sb-url { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; color: #8A86A8; font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-page { position: relative; padding: 18px 22px 22px; min-height: 340px; background: #fff; transition: background .8s ease; }
.sb-grid { position: absolute; inset: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; pointer-events: none; }
.sb-grid span { border-left: 1px dashed rgba(228,78,163,.5); border-right: 1px dashed rgba(228,78,163,.5); background: rgba(228,78,163,.05); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease), opacity .6s ease; }
.sb-grid span:nth-child(2) { transition-delay: .08s; } .sb-grid span:nth-child(3) { transition-delay: .16s; } .sb-grid span:nth-child(4) { transition-delay: .24s; }
.sb[data-stage="0"] .sb-grid span, .sb[data-stage="1"] .sb-grid span { transform: scaleY(1); }
.sb[data-stage="1"] .sb-grid span { opacity: .45; }
.sb[data-stage="2"] .sb-grid span, .sb[data-stage="3"] .sb-grid span, .sb[data-stage="4"] .sb-grid span { opacity: 0; }

/* every block starts as a grey wireframe and is styled at stage 3 */
.sb-nav, .sb-main, .sb-cards { position: relative; transition: opacity .5s ease, transform .6s var(--ease); }
.sb[data-stage="0"] .sb-nav, .sb[data-stage="0"] .sb-main, .sb[data-stage="0"] .sb-cards { opacity: 0; transform: translateY(10px); }
.sb-main .sb-text, .sb-main .sb-media { transition: all .6s var(--ease); }
.sb-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.sb-logo { width: 46px; height: 14px; border-radius: 4px; background: #E6E3F1; margin-right: auto; transition: background .6s ease; }
.sb-nav > span { width: 34px; height: 7px; border-radius: 4px; background: #ECEAF4; }
.sb-navbtn { width: 54px; height: 20px; border-radius: 999px; border: 1.5px dashed #CFCBE3; transition: all .6s ease; }
.sb-main { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: center; }
.sb-eyebrow, .sb-h, .sb-line, .sb-cta { margin: 0; }
.sb-eyebrow span { display: inline-block; height: 8px; width: 90px; border-radius: 4px; background: #ECEAF4; color: transparent; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; transition: all .6s ease; }
.sb-h { margin: 12px 0 14px; min-height: 2.3em; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.6rem; line-height: 1.05; color: #2A2558; position: relative;
  background: repeating-linear-gradient(#E6E3F1 0 .82em, transparent .82em 1.05em); transition: color .6s ease; }
.sb[data-stage="2"] .sb-h, .sb[data-stage="3"] .sb-h, .sb[data-stage="4"] .sb-h { background: none; }
.sb-caret { display: inline-block; width: 2px; height: .9em; margin-left: 2px; vertical-align: -.08em; background: var(--pink); animation: sbBlink .8s steps(1) infinite; }
.sb[data-stage="0"] .sb-caret, .sb[data-stage="1"] .sb-caret, .sb[data-stage="4"] .sb-caret { display: none; }
@keyframes sbBlink { 50% { opacity: 0; } }
.sb-line { height: 7px; border-radius: 4px; background: #ECEAF4; margin-bottom: 7px; transition: background .6s ease; }
.sb-line--short { width: 70%; }
.sb-cta { margin-top: 16px; }
.sb-cta span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px dashed #CFCBE3; color: transparent; font-size: .66rem; font-weight: 700; transition: all .6s var(--ease); }
.sb-media { position: relative; aspect-ratio: 1; border-radius: 14px; background: #F1EFF8; overflow: hidden;
  background-image: linear-gradient(45deg, transparent 49.4%, #DCD8EC 49.6% 50.4%, transparent 50.6%), linear-gradient(-45deg, transparent 49.4%, #DCD8EC 49.6% 50.4%, transparent 50.6%); transition: background .8s ease; }
.sb-orb { position: absolute; top: 50%; left: 50%; height: 64%; aspect-ratio: 1; margin: 0; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--pink) 45%, var(--violet-900) 100%); transform: scale(0); transition: transform .9s var(--ease); }
.sb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.sb-cards span { height: 52px; border-radius: 10px; background: #F4F2F9; border: 1px solid #ECEAF4; transition: all .6s var(--ease); }
.sb-cards span:nth-child(2) { transition-delay: .08s; } .sb-cards span:nth-child(3) { transition-delay: .16s; }

/* stage 3 and 4: the brand arrives */
.sb[data-stage="3"] .sb-page, .sb[data-stage="4"] .sb-page { background: linear-gradient(160deg, #fff 0%, #F6F3FF 100%); }
.sb[data-stage="3"] .sb-logo, .sb[data-stage="4"] .sb-logo { background: var(--violet-900); }
.sb[data-stage="3"] .sb-nav > span, .sb[data-stage="4"] .sb-nav > span { background: #CEC8F2; }
.sb[data-stage="3"] .sb-navbtn, .sb[data-stage="4"] .sb-navbtn { border: 0; background: var(--violet-900); }
.sb[data-stage="3"] .sb-eyebrow span, .sb[data-stage="4"] .sb-eyebrow span { width: auto; height: auto; background: none; color: var(--pink); }
.sb[data-stage="3"] .sb-h, .sb[data-stage="4"] .sb-h { color: var(--violet-900); }
.sb[data-stage="3"] .sb-line, .sb[data-stage="4"] .sb-line { background: #DCD8EC; }
.sb[data-stage="3"] .sb-cta span, .sb[data-stage="4"] .sb-cta span { border: 0; background: var(--pink); color: #fff; box-shadow: 0 8px 18px -8px rgba(228,78,163,.8); }
.sb[data-stage="3"] .sb-media, .sb[data-stage="4"] .sb-media { background: linear-gradient(150deg, #241A9E, #0C0860); }
.sb[data-stage="3"] .sb-orb, .sb[data-stage="4"] .sb-orb { transform: scale(1); }
.sb[data-stage="3"] .sb-cards span, .sb[data-stage="4"] .sb-cards span { background: #fff; border-color: #E2DFF0; box-shadow: 0 10px 20px -14px rgba(30,22,169,.5); }
.sb[data-stage="3"] .sb-cards span:first-child, .sb[data-stage="4"] .sb-cards span:first-child { background: var(--violet-900); }
/* stage 4: phone layout */
.sb[data-stage="4"] .sb-nav > span { display: none; }
.sb[data-stage="4"] .sb-main { grid-template-columns: 1fr; }
.sb[data-stage="4"] .sb-media { aspect-ratio: 16 / 10; order: -1; }
.sb[data-stage="4"] .sb-h { font-size: 1.35rem; }
.sb[data-stage="4"] .sb-cards { grid-template-columns: 1fr; }
.sb[data-stage="4"] .sb-cards span { height: 30px; }
@media (max-width: 520px) { .sb-page { padding: 14px 14px 16px; min-height: 280px; } .sb-h { font-size: 1.25rem; } .sb-cards span { height: 38px; } }
@media (prefers-reduced-motion: reduce) { .sb *, .sb-frame { transition: none !important; animation: none !important; } }

/* why strategy first: 2 x 2 */
@media (min-width: 900px) { .wr-why { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
.wr-why .pc-card { box-shadow: 0 10px 28px -18px rgba(30,22,169,.3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .4s ease, border-color .3s ease; }
.wr-why .pc-card:hover, .wr-why .pc-card:focus-visible { transform: translateY(-6px); background: var(--violet-900); border-color: var(--violet-900); box-shadow: 0 26px 50px -20px rgba(30,22,169,.5); }
.wr-why .pc-card:hover h3, .wr-why .pc-card:focus-visible h3 { color: #fff; }
.wr-why .pc-card:hover p, .wr-why .pc-card:focus-visible p { color: rgba(255,255,255,.84); }

/* selected work */
.wr-work { background: var(--hero-bg, #150F80); }
.wk-grid { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 900px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wk-card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 44px -26px rgba(0,0,0,.6); transition: transform .5s var(--ease), border-color .3s ease, box-shadow .5s var(--ease); }
.wk-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0C0860; }
.wk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 1.6s var(--ease), object-position 2.4s ease; }
.wk-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.wk-sector { color: #F28CC4; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wk-name { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; }
.wk-text { color: rgba(255,255,255,.78); line-height: 1.55; }
.wk-go { margin-top: 6px; font-weight: 700; color: #fff; transition: color .3s ease; }
.wk-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 30%), rgba(228,78,163,.22), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.wk-card:hover, .wk-card:focus-visible { transform: translateY(-8px); border-color: rgba(242,140,196,.6); box-shadow: 0 34px 60px -26px rgba(0,0,0,.7); }
.wk-card:hover::after, .wk-card:focus-visible::after { opacity: 1; }
.wk-card:hover .wk-shot img, .wk-card:focus-visible .wk-shot img { transform: scale(1.04); object-position: bottom; }
.wk-card:hover .wk-go, .wk-card:focus-visible .wk-go { color: var(--pink); }
.wr-quote { margin: clamp(48px, 6vw, 80px) 0 0; max-width: 60rem; }
.wr-quote blockquote { margin: 0; }
.wr-quote p { margin: 0; font-family: var(--sans); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.3; color: #fff; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.wr-quote p::before { content: "\201C"; color: var(--pink); }
.wr-quote p::after { content: "\201D"; color: var(--pink); }
.wr-quote figcaption { margin-top: 16px; color: #F28CC4; font-weight: 600; }

/* packages */
.pk-grid { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .pk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pk-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 2.8vw, 36px); border-radius: 22px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 10px 28px -18px rgba(30,22,169,.3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.pk-size { color: var(--pink); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.pk-card h3 { margin: 0; color: var(--violet-900); font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.pk-card p { margin: 0 0 auto; color: var(--text); }
.pk-card .arrow-link { margin-top: 18px; color: var(--violet-900); font-weight: 700; }
.pk-card--feature { background: var(--violet-900); border-color: var(--violet-900); }
.pk-card--feature h3, .pk-card--feature .arrow-link { color: #fff; }
.pk-card--feature p { color: rgba(255,255,255,.84); }
.pk-card--feature .pk-size { color: #F28CC4; }
.pk-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(228,78,163,.16), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.pk-card:hover, .pk-card:focus-within { transform: translateY(-6px); border-color: rgba(228,78,163,.45); box-shadow: 0 26px 50px -20px rgba(30,22,169,.45); }
.pk-card:hover::after, .pk-card:focus-within::after { opacity: 1; }
.wr-incl { margin-top: clamp(36px, 5vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: rgba(206,200,242,.28); border: 1px solid rgba(30,22,169,.14); }
.wr-incl h3 { margin: 0 0 14px; color: var(--violet-900); font-weight: 700; font-size: 1.25rem; }
.wr-incl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .wr-incl ul { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.wr-incl li { position: relative; padding-left: 22px; color: var(--ink); text-align: left; }
.wr-incl li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--pink); }
.wr-incl .small-print { margin: 18px 0 0; }
@media (prefers-reduced-motion: reduce) { .wk-card, .wk-shot img, .pk-card, .wr-why .pc-card { transition: none; } .wk-card:hover, .pk-card:hover, .wr-why .pc-card:hover { transform: none; } }

@media (max-width: 999px) { .sb-steps { display: none; } }

/* Contact: radio cards with the button and label centred on one line */
.radio-opt { align-items: center; min-height: 64px; padding: 14px 18px; }
.radio-opt input { margin: 0 !important; align-self: center; }
.radio-opt span { margin: 0 !important; text-align: left; -webkit-hyphens: manual; hyphens: manual; }

.wr-work h2, .wr-work .section-head h2 { color: #fff; }

/* website packages: four options in a 2 x 2 grid, each with three points */
@media (min-width: 900px) { .pk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pk-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.pk-list li { position: relative; padding-left: 20px; font-size: .95rem; color: var(--text); text-align: left; }
.pk-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--pink); }
.pk-card--feature .pk-list li { color: rgba(255,255,255,.85); }
.pk-grid--4 .pk-card p { margin: 0; }
.pk-grid--4 .pk-card .arrow-link { margin-top: auto; padding-top: 14px; }


/* ---------- Services: one row per service, opening downwards on click ---------- */
.sv-wrap .section-head h2 { font-size: var(--l); }
.sv-list { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(30,22,169,.22); }
.sv-row { border-bottom: 1px solid rgba(30,22,169,.22); interpolate-size: allow-keywords; scroll-margin-top: 90px; }
.sv-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(26px, 3.4vw, 44px) 0; }
.sv-row summary::-webkit-details-marker { display: none; }
.sv-row summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 8px; }
.sv-n { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.1rem; color: var(--pink); letter-spacing: .04em; }
.sv-name { display: block; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; color: var(--violet-900); transition: transform .45s var(--ease), color .3s ease; }
.sv-lead { display: block; margin-top: 10px; max-width: 56ch; color: var(--text); font-size: 1rem; line-height: 1.5; }
.sv-ic { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(30,22,169,.3); transition: background .35s ease, border-color .35s ease, transform .45s var(--ease); }
.sv-ic::before, .sv-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--violet-900); transition: transform .45s var(--ease), background .3s ease; }
.sv-ic::after { transform: rotate(90deg); }
.sv-row summary:hover .sv-name { transform: translateX(10px); }
.sv-row summary:hover .sv-ic { background: var(--violet-900); border-color: var(--violet-900); }
.sv-row summary:hover .sv-ic::before, .sv-row summary:hover .sv-ic::after { background: #fff; }
.sv-row[open] .sv-ic { background: var(--pink); border-color: var(--pink); transform: rotate(180deg); }
.sv-row[open] .sv-ic::before, .sv-row[open] .sv-ic::after { background: #fff; }
.sv-row[open] .sv-ic::after { transform: rotate(0); }
.sv-row[open] .sv-name { color: var(--pink); }
.sv-row::details-content { height: 0; overflow: clip; transition: height .55s var(--ease), content-visibility .55s allow-discrete; }
.sv-row[open]::details-content { height: auto; }
.sv-body { padding: 0 0 clamp(32px, 4vw, 52px); }
.sv-row[open] .sv-body { animation: svIn .6s var(--ease) both; }
@keyframes svIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.sv-body .path-grid { margin: 0; }
.sv-body .path-actions { margin-top: 28px; }
@media (max-width: 700px) { .sv-row summary { grid-template-columns: 1fr auto; } .sv-n { display: none; } .sv-ic { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .sv-row::details-content { transition: none; } .sv-row[open] .sv-body { animation: none; } .sv-row summary:hover .sv-name { transform: none; } }


/* ---------- Main menu dropdowns (Services, About) ----------
   The panel's text lines up exactly with the menu word above it: panel padding (10px)
   plus link padding (14px) is offset by left: -24px. */
.primary-nav .nv-dd { position: relative; }
.primary-nav .nv-top { display: inline-flex; align-items: center; gap: 7px; }
.nv-dd[data-here] > .nv-top { color: var(--pink); }
.nv-dd[data-here] > .nv-top::after { transform: scaleX(1); }
.nv-car { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s ease; }
.nv-dd:hover .nv-car, .nv-dd:focus-within .nv-car { transform: translateY(1px) rotate(-135deg); }
.nv-panel { position: absolute; left: -24px; top: 100%; z-index: 60; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s; }
.nv-dd:hover .nv-panel, .nv-dd:focus-within .nv-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.primary-nav .nv-panel ul { display: grid; gap: 2px; margin: 0; padding: 10px; width: 320px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(12,8,96,.55), 0 2px 8px rgba(12,8,96,.12); }
.primary-nav .nv-panel li { margin: 0; }
.primary-nav .nv-panel a { display: block; padding: 12px 14px; border-radius: 12px; white-space: normal; color: var(--violet-900); text-align: left; transition: background .2s ease; }
.primary-nav .nv-panel a::after { display: none; }
.primary-nav .nv-panel a:hover, .primary-nav .nv-panel a:focus-visible { background: rgba(206,200,242,.4); }
.primary-nav .nv-panel a[aria-current="page"] { background: rgba(228,78,163,.1); color: var(--violet-900); }
.nv-panel b { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .98rem; line-height: 1.25; }
.nv-panel em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--pink); color: #fff; }
.nv-panel span { display: block; margin-top: 3px; font-size: .83rem; line-height: 1.35; color: var(--text); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .nv-panel, .nv-car { transition: none; } }

/* header button: one clear next step, in pink */
.header-cta { background: var(--pink); border-color: var(--pink); color: #fff; }
.header-cta:hover { background: #D13B90; border-color: #D13B90; color: #fff; }

/* phone menu: dropdown items become labelled groups */
.mobile-menu li.mm-group { border-bottom: 0; }
.mobile-menu .mm-label { margin: 22px 0 4px; color: #F28CC4; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu .mm-group ul { margin: 0; }
.mobile-menu li a, .mobile-menu .mm-group li a { font-size: clamp(1.6rem, 7vw, 2.1rem); }

/* dropdown rows: one line each, equal heights, panel as wide as its longest line */
.primary-nav .nv-panel ul { width: max-content; min-width: 300px; grid-auto-rows: 1fr; }
.nv-panel b, .nv-panel span { white-space: nowrap; }


/* ---------- Main menu, option B: logo and menu on the left, full-width card panels ----------
   Each dropdown is a white band across the whole header. Its content sits in the same .wrap as
   the logo, so the panel's label and first card start exactly under the logo. */
@media (min-width: 981px) {
  .primary-nav { margin: 0 auto 0 clamp(28px, 4vw, 56px); }
  .header-meta .clock { display: none; }
}
.primary-nav .nv-dd { position: static; }
/* a taller hit area so the pointer can travel from the word down into the panel */
.primary-nav .nv-top { padding-block: 24px; margin-block: -24px; }
.primary-nav .nv-top::after { bottom: 18px; }
.site-header .nv-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 0; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(12,8,96,.55); transform: translateY(-8px); }
.nv-dd:hover .nv-panel, .nv-dd:focus-within .nv-panel { transform: none; }
.site-header .nv-panel .wrap { display: block; height: auto; padding-block: 28px 32px; }
.nv-h { margin: 0 0 16px; color: var(--pink); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav .nv-panel ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; width: auto; min-width: 0; margin: 0; padding: 0;
  background: none; border-radius: 0; box-shadow: none; }
.primary-nav .nv-panel a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  color: var(--violet-900); white-space: normal; transition: background .25s ease, border-color .25s ease, transform .35s var(--ease), box-shadow .35s var(--ease); }
.primary-nav .nv-panel a:hover, .primary-nav .nv-panel a:focus-visible { background: var(--violet-900); border-color: var(--violet-900); color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(30,22,169,.6); }
.primary-nav .nv-panel a[aria-current="page"] { border-color: var(--pink); background: rgba(228,78,163,.06); }
.primary-nav .nv-panel a[aria-current="page"]:hover { background: var(--violet-900); }
.nv-panel small { color: var(--pink); font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.3rem; line-height: 1; }
.nv-panel b, .nv-panel span { white-space: normal; }
.nv-panel b { font-size: 1.02rem; }
.nv-panel span { font-size: .85rem; }
.primary-nav .nv-panel a:hover span, .primary-nav .nv-panel a:focus-visible span { color: rgba(255,255,255,.8); }
@media (max-width: 1180px) { .site-header .nv-panel .wrap { padding-block: 22px 26px; } .primary-nav .nv-panel ul { gap: 12px; } .primary-nav .nv-panel a { padding: 16px; } }

.mobile-menu li.mm-group { margin-bottom: 22px; }
.mobile-menu li.mm-group + li:not(.mm-group) { border-top: 1px solid var(--line-dark); }


/* ---------- Services menu: three pillar columns ---------- */
.nv-top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.primary-nav .nv-panel a.nv-all { display: inline-flex; flex-direction: row; gap: 6px; height: auto; padding: 0; border: 0; background: none; color: var(--violet-900); font-weight: 700; font-size: .9rem; box-shadow: none; transform: none; }
.primary-nav .nv-panel a.nv-all:hover { background: none; color: var(--pink); transform: none; box-shadow: none; }
.primary-nav .nv-panel ul.nv-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
.primary-nav .nv-panel .nv-col { display: flex; flex-direction: column; }
.primary-nav .nv-panel a.nv-pc { min-height: 210px; padding: 22px; gap: 6px; }
.nv-pc small { font-size: 1.4rem; }
.nv-pc > b { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.7rem; line-height: 1; }
.nv-pc > i { font-style: normal; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.nv-pc > span { line-height: 1.45; }
.nv-pc u { margin-top: auto; padding-top: 8px; text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--pink); }
.primary-nav .nv-panel a.nv-pc:hover u, .primary-nav .nv-panel a.nv-pc:focus-visible u { color: #F28CC4; }
.nv-sh { margin: 16px 0 6px 4px; color: var(--mute); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nv-ghost { margin: 0; padding: 10px 12px; color: var(--mute); font-size: .88rem; }
.primary-nav .nv-panel ul.nv-subs { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 4px; }
.primary-nav .nv-panel .nv-subs a { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; height: auto; padding: 10px 12px; border: 0; border-radius: 12px;
  background: rgba(206,200,242,.25); font-weight: 600; font-size: .93rem; box-shadow: none; }
.primary-nav .nv-panel .nv-subs a:hover, .primary-nav .nv-panel .nv-subs a:focus-visible { background: rgba(206,200,242,.6); color: var(--violet-900); transform: none; box-shadow: none; }
.primary-nav .nv-panel .nv-subs a[aria-current="page"] { background: rgba(228,78,163,.12); }
.nv-subs .nv-ar { margin-left: auto; color: var(--pink); }
.nv-subs em { margin-left: 4px; }
@media (max-width: 1180px) { .primary-nav .nv-panel a.nv-pc { min-height: 190px; padding: 18px; } .nv-pc > b { font-size: 1.45rem; } }

/* phone menu: pillar number heading, main service, indented specialties */
.mobile-menu .mm-pillar { border-bottom: 0; }
.mobile-menu .mm-sub { margin: 14px 0 0; color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mobile-menu .mm-pillar a { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li.mm-spec a { padding-left: 16px; font-stretch: 100%; font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,.85); }

/* ---------- Pillar pages (Strategy, Delivery, Implementation) ---------- */
.pl-hero { position: relative; overflow: hidden; isolation: isolate; }
.pl-hero h1 { color: #fff; max-width: 16ch; }
.pl-split { display: grid; gap: clamp(24px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .pl-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.pl-suits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-suits li { position: relative; padding: 18px 20px 18px 46px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; text-align: left;
  box-shadow: 0 10px 24px -18px rgba(30,22,169,.3); transition: transform .35s var(--ease), border-color .3s ease; }
.pl-suits li::before { content: ""; position: absolute; left: 20px; top: 1.45em; width: 12px; height: 2px; background: var(--pink); }
.pl-suits li:hover { transform: translateX(6px); border-color: rgba(228,78,163,.45); }
.pl-problem { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: rgba(206,200,242,.3); color: var(--ink); font-size: 1.1rem; line-height: 1.6; }
.pl-dark { background: var(--hero-bg, #150F80); background-color: #150F80; }
.pl-dark h2 { color: #fff; }
.pl-cols { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) { .pl-cols { grid-template-columns: 1.1fr .9fr; } }
.pl-ticks { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
/* each line starts on the heading's left edge: the pink marker sits inline, then the text */
.pl-ticks li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.92); text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.pl-ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(228,78,163,.18); }
.pl-get { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); overflow: hidden; }
.pl-get::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(228,78,163,.18), transparent 60%); }
.pl-get .pl-ticks { margin-top: 12px; }
.pl-note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.72); font-size: .92rem; }
.pl-rels { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .pl-rels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pl-rel { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: clamp(24px, 3vw, 34px); border-radius: 22px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--violet-900); box-shadow: 0 10px 28px -18px rgba(30,22,169,.3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .35s ease, border-color .3s ease; }
.pl-rel-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pl-rel b { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
.pl-rel > span:not(.pl-rel-tag) { color: var(--text); }
.pl-rel u { margin-top: auto; padding-top: 8px; text-decoration: none; font-weight: 700; }
.pl-rel:hover, .pl-rel:focus-visible { transform: translateY(-6px); background: var(--violet-900); border-color: var(--violet-900); color: #fff; box-shadow: 0 26px 50px -20px rgba(30,22,169,.5); }
.pl-rel:hover > span:not(.pl-rel-tag), .pl-rel:focus-visible > span:not(.pl-rel-tag) { color: rgba(255,255,255,.84); }
@media (prefers-reduced-motion: reduce) { .pl-suits li, .pl-rel { transition: none; } .pl-suits li:hover, .pl-rel:hover { transform: none; } }

/* pillar columns share rows, so the three cards and the "Also in" labels line up exactly */
.primary-nav .nv-panel ul.nv-cols { grid-template-rows: auto auto auto; row-gap: 0; }
.primary-nav .nv-panel .nv-col { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.primary-nav .nv-panel a.nv-pc { min-height: 0; }

.nv-pc u span, .nv-all span, .nv-subs .nv-ar { display: inline; margin: 0; font-size: inherit; color: inherit; }
.nv-subs .nv-ar { color: var(--pink); margin-left: auto; }

/* pillar pages: the pink dash sits centred on its line of text */
.pl-suits li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.pl-suits li::before { position: static; flex: none; width: 12px; height: 2px; top: auto; left: auto; }


/* ---------- Implementation hero: campaign pieces coming together ---------- */
.ha-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .ha-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ha { --px: 0; --py: 0; position: relative; width: 100%; max-width: 540px; height: 420px; justify-self: end;
  transform: translate(calc(var(--px) * 14px), calc(var(--py) * 10px)); transition: transform .6s var(--ease); }
.ha-card { position: absolute; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #fff; color: var(--violet-900);
  box-shadow: 0 34px 60px -24px rgba(0,0,0,.6); transition: transform 1.1s var(--ease); }
.ha-card b { font-size: .8rem; font-weight: 700; }
.ha-img { display: block; border-radius: 12px; }
.ha-line { display: block; height: 8px; border-radius: 4px; background: #ECEAF4; }
.ha-line--s { width: 60%; }
.ha-bar { display: block; height: 12px; width: 70%; border-radius: 4px; background: var(--violet-900); }
.ha-1 { left: 0; top: 40px; width: 42%; } .ha-1 .ha-img { height: 120px; background: linear-gradient(135deg, var(--pink), #5B4BFF); }
.ha-2 { left: 46%; top: 0; width: 34%; } .ha-2 .ha-img { height: 170px; background: radial-gradient(circle at 35% 30%, #fff, var(--pink) 30%, #241A9E 75%); }
.ha-3 { left: 20%; top: 255px; width: 46%; }
.ha-4 { right: 0; top: 205px; width: 30%; background: var(--pink); color: #fff; } .ha-4 .ha-img { height: 80px; background: rgba(255,255,255,.28); }
.ha.is-loose .ha-1 { transform: translate(-50px, 40px) rotate(-11deg); }
.ha.is-loose .ha-2 { transform: translate(50px, -24px) rotate(9deg); }
.ha.is-loose .ha-3 { transform: translate(-30px, 50px) rotate(6deg); }
.ha.is-loose .ha-4 { transform: translate(56px, 34px) rotate(-8deg); }
@media (max-width: 999px) { .ha { justify-self: center; height: 360px; max-width: 460px; } .ha-1 .ha-img { height: 96px; } .ha-2 .ha-img { height: 130px; } .ha-3 { top: 215px; } .ha-4 { top: 180px; } }
@media (max-width: 520px) { .ha { height: 300px; } .ha-card { padding: 10px; } .ha-1 .ha-img { height: 70px; } .ha-2 .ha-img { height: 100px; } .ha-3 { top: 180px; } .ha-4 { top: 150px; } .ha-4 .ha-img { height: 50px; }
  .ha.is-loose .ha-1 { transform: translate(-14px, 20px) rotate(-8deg); } .ha.is-loose .ha-2 { transform: translate(14px, -10px) rotate(7deg); } .ha.is-loose .ha-3 { transform: translate(-10px, 20px) rotate(4deg); } .ha.is-loose .ha-4 { transform: translate(12px, 16px) rotate(-6deg); } }

/* ---------- Home hero: rising steps ---------- */
.home-path { position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); background-color: #150F80; }
.hero-path { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
@media (max-width: 899px) { .home-path .hero-content { padding-bottom: 150px; } }

/* ---------- Heroes 35% shorter (was the full first screen) ---------- */
:root { --hero-h: max(440px, calc((100svh - 68px) * .65)); --hero-pad: clamp(48px, 7vw, 98px); }
.page-hero, .hero, .stage-hero, .dh, .ah { min-height: var(--hero-h); }
.mh { height: auto; min-height: var(--hero-h); }
@media (min-width: 1024px) { .mh { height: max(560px, calc((100svh - 68px) * .65)); } }
.page-hero { padding-block: var(--hero-pad); }

/* trimming the heroes that have large visuals */
.stage-inner { padding-top: calc(var(--u) * 5.5); padding-bottom: calc(var(--u) * 5.5); }
.page-hero.about-hero { padding-bottom: var(--hero-pad); }
.sb-page { min-height: 270px; padding: 14px 18px 18px; } .sb-nav { margin-bottom: 18px; } .sb-h { font-size: 1.35rem; } .sb-cards span { height: 40px; }
.ha { height: 340px; } .ha-1 .ha-img { height: 96px; } .ha-2 .ha-img { height: 136px; } .ha-3 { top: 205px; } .ha-4 { top: 170px; }
.wr-hero .sb-steps { margin-top: 22px; }

.wr-hero, .ha-hero { --hero-pad: clamp(40px, 5vw, 72px); }
.sb-frame { max-width: 560px; }
@media (max-width: 999px) { .ha { height: 280px; } }
@media (max-width: 520px) { .ha { height: 250px; } .ha-1 .ha-img { height: 60px; } .ha-2 .ha-img { height: 84px; } .ha-3 { top: 150px; } .ha-4 { top: 125px; } .ha-4 .ha-img { height: 40px; } }
@media (max-width: 899px) { .home-path .hero-content { padding-bottom: 120px; } }


/* ---------- Products page ---------- */
.pr-intro { margin: 14px 0 0; max-width: 56ch; color: rgba(255,255,255,.8); }
.pr-grid { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .pr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(24px, 2.6vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--violet-900); box-shadow: 0 10px 28px -18px rgba(30,22,169,.3); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.pr-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(228,78,163,.16), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.pr-card:hover, .pr-card:focus-visible { transform: translateY(-6px); border-color: rgba(228,78,163,.45); box-shadow: 0 26px 50px -20px rgba(30,22,169,.45); }
.pr-card:hover::after, .pr-card:focus-visible::after { opacity: 1; }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-price { padding: 5px 12px; border-radius: 999px; background: var(--violet-900); color: #fff; font-weight: 700; font-size: .85rem; }
.pr-price--free { background: var(--pink); }
.pr-meta { color: var(--mute); font-size: .85rem; }
.pr-card b { font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.05; }
.pr-text { color: var(--text); line-height: 1.55; }
.pr-go { margin-top: auto; padding-top: 8px; font-weight: 700; }
.pr-card--feature { background: var(--violet-900); border-color: var(--violet-900); color: #fff; }
.pr-card--feature .pr-price { background: #fff; color: var(--violet-900); }
.pr-card--feature .pr-meta, .pr-card--feature .pr-text { color: rgba(255,255,255,.8); }
.pr-card--feature .pr-go { color: #F28CC4; }
.pr-grid--sheets { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cs-sheet { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 170px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  overflow: hidden; transition: transform .45s var(--ease), background .35s ease, border-color .3s ease; }
.cs-sheet::before { content: ""; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; border-radius: 14px; background: rgba(228,78,163,.22); transform: rotate(18deg); transition: transform .5s var(--ease); }
.cs-sheet-n { color: var(--pink); font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.3rem; }
.cs-sheet b { color: #fff; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.pr-soon { margin-top: auto; align-self: flex-start; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(242,140,196,.6); color: #F28CC4; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cs-sheet:hover, .cs-sheet:focus-visible { transform: translateY(-6px); background: rgba(255,255,255,.12); border-color: rgba(242,140,196,.6); }
.cs-sheet:hover::before, .cs-sheet:focus-visible::before { transform: rotate(40deg) scale(1.2); }
@media (prefers-reduced-motion: reduce) { .pr-card, .cs-sheet, .cs-sheet::before { transition: none; } .pr-card:hover, .cs-sheet:hover { transform: none; } }


/* ---------- Phone menu: one clean list, groups open in place ---------- */
.mobile-menu nav > ul { margin: 0 0 24px; border-top: 1px solid var(--line-dark); }
.mobile-menu .mm-item { border-bottom: 1px solid var(--line-dark); }
.mobile-menu .mm-link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.mobile-menu .mm-link::-webkit-details-marker { display: none; }
.mobile-menu .mm-link[aria-current="page"], .mobile-menu details.is-here > .mm-link { color: var(--pink); }
.mm-chev { width: 11px; height: 11px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s ease; }
.mobile-menu details[open] > .mm-link .mm-chev { transform: translateY(2px) rotate(-135deg); }
.mobile-menu .mm-sub-list { margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.mobile-menu .mm-sub-list li { border: 0; }
.mobile-menu .mm-sub-list a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: #fff; font: inherit; }
.mobile-menu .mm-sub-list a:hover, .mobile-menu .mm-sub-list a:focus-visible { background: rgba(255,255,255,.08); }
.mobile-menu .mm-sub-list a[aria-current="page"] { background: rgba(228,78,163,.16); }
.mobile-menu .mm-sub-list b { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-stretch: 100%; font-weight: 600; font-size: 1.05rem; }
.mobile-menu .mm-sub-list span { display: block; margin-top: 2px; font-size: .85rem; color: rgba(255,255,255,.62); }
.mobile-menu .mm-sub-list em { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--pink); color: #fff; }
.mobile-menu .mm-all a { color: #F28CC4; font-weight: 700; font-size: .92rem; }
.mobile-menu .mm-cta { display: flex; justify-content: center; width: 100%; margin: 0 0 28px; padding: 15px 20px; border-radius: 999px; background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mm-chev { transition: none; } }

.mobile-menu .mm-all span { display: inline; margin: 0 0 0 4px; font-size: inherit; color: inherit; }


/* ---------- Cheat sheet collection tabs ---------- */
.cs-tabs { margin-top: clamp(24px, 3vw, 36px); }
.cs-tablist { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.cs-tab { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.75);
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.cs-tab-n { color: #F28CC4; font-weight: 700; }
.cs-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.cs-tab[aria-selected="true"] { background: #fff; color: var(--violet-900); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.cs-tab[aria-selected="true"] .cs-tab-n { color: var(--pink); }
.cs-tab:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.cs-panel { margin-top: 22px; }
.cs-panel:focus-visible { outline: 2px solid var(--pink); outline-offset: 8px; border-radius: 12px; }
.cs-panel.is-in { animation: csIn .5s var(--ease) both; }
@keyframes csIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cs-col-desc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; max-width: 70ch; color: rgba(255,255,255,.82); text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.cs-col-badge { padding: 3px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cs-panel .pr-grid { margin-top: 20px; }
.cs-panel .pr-grid--sheets > li { list-style: none; }
.cs-sheet--live { text-decoration: none; height: 100%; }
.cs-sheet-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-get { color: #F28CC4; font-weight: 700; font-size: .9rem; }
@media (max-width: 600px) { .cs-tablist { display: flex; border-radius: 20px; } .cs-tab { flex: 1 1 100%; justify-content: flex-start; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .cs-panel.is-in { animation: none; } .cs-tab { transition: none; } }

@media (max-width: 600px) { .cs-panel .pr-grid--sheets { grid-template-columns: 1fr 1fr; gap: 10px; } .cs-panel .cs-sheet { min-height: 140px; padding: 16px; } .cs-panel .cs-sheet b { font-size: 1.15rem; } .cs-panel .pr-soon { font-size: .6rem; } }

/* pink tag pills above a card title: a little more room between tag and title */
.pl-rel-tag { margin-bottom: 10px; }
.pr-card .pr-top { margin-bottom: 8px; }


/* ---------- Home hero: card staircase ---------- */
.home-stairs { position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); background-color: #150F80; }
.hs-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hs-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.home-stairs .hero-content { padding: 0; }
.home-stairs .eyebrow { letter-spacing: .16em; }
.home-stairs h1 { margin-top: 0; color: #fff; }
.home-stairs .lead { margin-top: 22px; max-width: 48ch; color: rgba(255,255,255,.86); }
.home-stairs .hero-ctas { margin-top: 28px; }
.stair { position: relative; list-style: none; margin: 0; padding: 0; height: 430px; }
.st-step { position: absolute; width: 62%; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: .4; transform: translateY(14px);
  transition: opacity .6s ease, transform .7s var(--ease), background .5s ease, border-color .5s ease, box-shadow .5s ease; }
.st-step.is-on { opacity: 1; transform: none; background: rgba(255,255,255,.12); border-color: rgba(242,140,196,.6); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.st-1 { left: 0; bottom: 0; } .st-2 { left: 19%; bottom: 145px; } .st-3 { left: 38%; bottom: 290px; }
.st-step small { color: var(--pink); font-weight: 700; letter-spacing: .06em; font-size: .82rem; }
.st-step b { display: block; margin: 6px 0 4px; font-family: var(--sans); font-stretch: 75%; font-weight: 700; font-size: 1.7rem; line-height: 1.05; color: #fff; }
.st-text { display: block; color: rgba(255,255,255,.8); font-size: .92rem; line-height: 1.45; }
.st-step::before { content: ""; position: absolute; left: 28px; top: 100%; width: 2px; height: 0; background: linear-gradient(#E44EA3, transparent); transition: height .6s ease .2s; }
.st-2.is-on::before, .st-3.is-on::before { height: 50px; }
.st-1::before { display: none; }
.st-dot { position: absolute; right: 18px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: rgba(206,200,242,.4); transition: background .4s ease, box-shadow .4s ease; }
.st-step.is-on .st-dot { background: var(--pink); box-shadow: 0 0 0 6px rgba(228,78,163,.2); }
@media (max-width: 999px) {
  .stair { height: auto; display: grid; gap: 12px; }
  .st-step { position: relative; left: auto; bottom: auto; width: 100%; padding: 18px 20px; }
  .st-step::before { display: none; }
  .st-step b { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .st-step, .st-step::before, .st-dot { transition: none; } }

@media (max-width: 600px) { .stair { gap: 8px; } .st-step { padding: 14px 16px; border-radius: 16px; } .st-step b { font-size: 1.25rem; margin: 2px 0; } .st-step small { font-size: .72rem; } .st-text { font-size: .85rem; } .st-dot { top: 14px; right: 14px; } }
@media (min-width: 1000px) { .stair { height: 400px; } .st-2 { bottom: 135px; } .st-3 { bottom: 270px; } }

/* phone menu on white */
.mobile-menu { background: #fff; color: var(--violet-900); }
.mobile-menu nav > ul, .mobile-menu .mm-item { border-color: var(--line); }
.mobile-menu .mm-link { color: var(--violet-900); }
.mobile-menu .mm-link[aria-current="page"], .mobile-menu details.is-here > .mm-link { color: var(--pink); }
.mobile-menu .mm-sub-list a { color: var(--violet-900); }
.mobile-menu .mm-sub-list a:hover, .mobile-menu .mm-sub-list a:focus-visible { background: rgba(206,200,242,.35); }
.mobile-menu .mm-sub-list span { color: var(--text); }
.mobile-menu .mm-all a { color: var(--pink); }
.mobile-menu .menu-foot, .mobile-menu .menu-foot a { color: var(--violet-900); }


/* ---------- Diagnostics hero: diagnostic gauges ---------- */
.dh .dg-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; width: 100%; }
@media (min-width: 1000px) { .dh .dg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.dh { align-items: center; }
.dh .dh-copy { padding-top: var(--hero-pad); }
.dg { padding: clamp(22px, 2.6vw, 32px); border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.dg-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dg-live { display: inline-flex; align-items: center; gap: 8px; color: #F28CC4; }
.dg-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: dgPulse 1.4s ease-in-out infinite; }
.dg.is-paused .dg-live::before { animation: none; }
@keyframes dgPulse { 50% { opacity: .3; } }
.dg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.dg-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name score" "track track"; gap: 6px 12px; align-items: center; position: relative; }
.dg-name { grid-area: name; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 600; transition: color .4s ease; }
.dg-score { grid-area: score; color: rgba(255,255,255,.7); font-weight: 700; font-variant-numeric: tabular-nums; transition: color .4s ease; }
.dg-track { grid-area: track; height: 12px; border-radius: 999px; background: rgba(206,200,242,.14); overflow: hidden; }
.dg-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(206,200,242,.5), rgba(206,200,242,.9)); transition: width .9s var(--ease), background .4s ease; }
.dg-flag { position: absolute; right: 44px; top: -2px; padding: 3px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(4px); transition: opacity .4s ease, transform .4s var(--ease); }
.dg-row.is-low .dg-fill { background: linear-gradient(90deg, #E44EA3, #F28CC4); }
.dg-row.is-low .dg-name { color: #fff; }
.dg-row.is-low .dg-score { color: #F28CC4; }
.dg-row.is-low .dg-flag { opacity: 1; transform: none; }
@media (max-width: 999px) { .dh .dh-copy { padding-top: clamp(48px, 10vw, 80px); } }
@media (prefers-reduced-motion: reduce) { .dg-fill, .dg-flag, .dg-name, .dg-score { transition: none; } .dg-live::before { animation: none; } }


/* ---------- Products hero: product shelf ---------- */
.ps-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .ps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ps { position: relative; width: 100%; max-width: 480px; height: 380px; justify-self: center; }
.ps-card { position: absolute; padding: 16px; border-radius: 18px; background: #fff; color: var(--violet-900); box-shadow: 0 30px 50px -22px rgba(0,0,0,.55); transition: translate .6s var(--ease); }
.ps-card small { display: block; margin-bottom: 10px; color: var(--pink); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ps-1 { left: 0; top: 20px; width: 46%; }
.ps-2 { left: 38%; top: 110px; width: 58%; z-index: 2; }
.ps-3 { left: 6%; top: 245px; width: 42%; }
.ps-gauge { display: block; height: 10px; margin: 8px 0; border-radius: 999px; background: #ECEAF4; overflow: hidden; }
.ps-gauge > span { display: block; height: 100%; border-radius: inherit; background: var(--lavender); transition: width 1s var(--ease); }
.ps-gauge.is-low > span { background: var(--pink); }
.ps-bmc { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 32px); gap: 4px; }
.ps-bmc span { border-radius: 6px; background: #ECEAF4; transition: background .4s ease; }
.ps-bmc .r2 { grid-row: span 2; } .ps-bmc .w { grid-column: span 2; }
.ps-bmc span.is-on { background: var(--lavender); } .ps-bmc span.is-key { background: var(--pink); }
.ps-3 i { display: block; height: 6px; margin: 7px 0; border-radius: 3px; background: #ECEAF4; }
.ps-3 i.k { background: #F9D3E8; } .ps-3 i.s { width: 60%; }
@media (max-width: 999px) { .ps { height: 330px; max-width: 420px; } .ps-2 { top: 95px; } .ps-3 { top: 215px; } }
@media (max-width: 520px) { .ps { height: 290px; } .ps-card { padding: 12px; } .ps-bmc { grid-template-rows: repeat(3, 24px); } .ps-2 { top: 85px; width: 62%; left: 36%; } .ps-3 { top: 190px; } .ps-1 { width: 50%; } }
@media (prefers-reduced-motion: reduce) { .ps-card, .ps-gauge > span, .ps-bmc span { transition: none; } }

/* ---------- About hero: Singapore skyline ---------- */
.hero-sg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
@media (max-width: 899px) { .page-hero.about-hero { padding-bottom: clamp(260px, 72vw, 360px); } }


/* ---------- Delivery hero: live programme plan ---------- */
.gp-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .gp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gp { padding: clamp(20px, 2.4vw, 28px); border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.gp-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; color: rgba(255,255,255,.7); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gp-week { color: #F28CC4; font-variant-numeric: tabular-nums; }
.gp-body { position: relative; }
.gp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gp-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; height: 38px; }
.gp-name { color: rgba(255,255,255,.84); font-size: .86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-track { position: relative; height: 14px; }
.gp-bar { position: absolute; top: 0; height: 100%; border-radius: 999px; background: rgba(206,200,242,.18); overflow: hidden; }
.gp-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #CEC8F2, #fff); }
.gp-bar.is-blocked .gp-fill { background: linear-gradient(90deg, #E44EA3, #F28CC4); }
.gp-ms { position: absolute; top: -2px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); border-radius: 2px; background: rgba(206,200,242,.25); border: 2px solid #CEC8F2; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.gp-ms.is-on { background: var(--pink); border-color: #F28CC4; box-shadow: 0 0 12px rgba(228,78,163,.8); }
.gp-flag { position: absolute; left: 44%; top: -24px; padding: 2px 8px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s var(--ease); }
.gp-flag.is-on { opacity: 1; transform: none; }
.gp-now { position: absolute; top: -8px; bottom: -8px; width: 2px; left: 108px; border-radius: 2px; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
@media (max-width: 520px) { .gp-row { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; height: 34px; } .gp-name { font-size: .78rem; } }
@media (prefers-reduced-motion: reduce) { .gp-ms, .gp-flag { transition: none; } }

/* ---------- Strategy hero: positioning map ---------- */
.hero-posmap { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
@media (max-width: 899px) { .page-hero.pm-hero { padding-bottom: clamp(320px, 92vw, 420px); } }

@media print {
  .site-header, .mobile-menu, .closing, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
