/* =========================================================================
   CyberSquad IT Consulting — clean static rebuild
   Faithful to the live site: image-forward, graphic-heavy, full-bleed splits
   of large crisp photography alternating with solid orange panels.
   Monochrome charcoal + orange (Pantone 158 C). Font: Poppins (light weights).
   ========================================================================= */

/* Self-hosted Poppins (latin) — no third-party Google Fonts request. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
/* Metric-matched fallback: occupies ~the same space as Poppins so the swap
   when the web font finishes loading doesn't shift the layout (CLS). Overrides
   computed from Poppins vs Arial metrics. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 105.7%;
  ascent-override: 99.36%;
  descent-override: 33.12%;
  line-gap-override: 0%;
}

:root {
  --orange: #e87924;          /* Pantone 158 C */
  --orange-600: #d56a18;
  --charcoal: #23201f;        /* page background */
  --charcoal-2: #2a2624;      /* raised surfaces */
  --charcoal-3: #1b1918;      /* footer / deep */
  --white: #ffffff;
  --grey: #c3bdb9;            /* muted body text on dark */
  --grey-2: #8a837f;          /* faint text */
  --line: rgba(255, 255, 255, 0.14);

  --font: "Poppins", "Poppins Fallback", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3rem, 7vw, 6.5rem);
  --radius: 6px;
  --header-h: 92px;
  --split-h: clamp(480px, 52vw, 900px);   /* height of big image/orange splits */
  --ease: cubic-bezier(.16, .8, .3, 1);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
/* Sleek light headings to match the brand */
h1, h2, h3, h4 { color: var(--white); font-weight: 400; line-height: 1.4; letter-spacing: 0; }
strong, b { font-weight: 600; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  display: inline-block; color: var(--orange); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1rem;
}
.text-orange { color: var(--orange); }
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--grey); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.9rem; border-radius: var(--radius);
  font-weight: 500; font-size: 0.95rem; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--charcoal); font-weight: 600; }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { border-color: var(--orange); color: var(--white); }
.btn--ghost:hover { background: var(--orange); color: #fff; }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--light:hover { background: rgba(255,255,255,.85); }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(27, 25, 24, 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line); height: 72px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Brand lockup: cropped wordmark (exact brand letterforms) + crisp tagline text.
   align-items:flex-end keeps the tagline right-aligned under "CyberSquad". */
.brand { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; line-height: 1; }
.brand img { height: 38px; width: auto; transition: height .3s; }
.brand__tag { color: var(--white); font-weight: 400; text-transform: uppercase; letter-spacing: .34em; font-size: 11px; opacity: .9; margin-right: 2px; transition: font-size .3s; }
.site-header.is-scrolled .brand img { height: 32px; }
.site-header.is-scrolled .brand__tag { font-size: 10px; }
.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { font-size: 0.95rem; font-weight: 400; color: var(--white); position: relative; padding-block: 0.4rem; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); transition: width .25s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--orange); }
.nav__cta { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--white); white-space: nowrap; transition: color .2s; }
.nav__cta svg { width: 16px; height: 16px; fill: var(--orange); }
.nav__cta:hover { color: var(--orange); }
.nav__toggle { display: none; background: none; border: 0; padding: 0.5rem; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---- Hero (framed large image banner) --------------------------------- */
.hero { padding: calc(var(--header-h) + clamp(1rem,2vw,1.75rem)) var(--gutter) 0; }
.hero__frame {
  position: relative; margin-inline: auto;
  height: clamp(480px, 72vh, 1000px); border-radius: var(--radius); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05); opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__bg .slide.is-active { opacity: 1; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(27,25,24,.85) 0%, rgba(27,25,24,.45) 42%, rgba(27,25,24,.05) 70%);
}
.hero__headline { position: absolute; z-index: 2; left: clamp(1.5rem, 5vw, 4.5rem); top: 50%; translate: 0 -50%; right: 2rem; max-width: 900px; }
.hero__headline h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.3; }
/* Zero layout width so the caret moving/wrapping during typing doesn't shift
   layout (CLS); the "|" paints via overflow. */
.hero__cursor { display: inline-block; width: 0; overflow: visible; color: var(--orange); font-weight: 300; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* On phones the wide hero photos crop to feet/floor in a portrait frame.
   Swap in portrait crops (auto-focused on the subjects). !important overrides
   the per-slide inline focal points and the JS lazy-loader. */
@media (max-width: 640px) {
  .hero__bg .slide { background-position: center !important; }
  .hero__bg .slide:nth-child(1) { background-image: url("../img/hero-1m.webp") !important; }
  .hero__bg .slide:nth-child(2) { background-image: url("../img/hero-2m.webp") !important; }
  .hero__bg .slide:nth-child(3) { background-image: url("../img/hero-3m.webp") !important; }
  .hero__bg .slide:nth-child(4) { background-image: url("../img/hero-4m.webp") !important; }
}
.hero__scroll {
  position: absolute; z-index: 2; bottom: 1.5rem; left: 50%; translate: -50% 0;
  width: 30px; height: 46px; display: grid; place-items: end center; animation: bob 2s ease-in-out infinite;
}
.hero__scroll svg { width: 22px; fill: #fff; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.hero__intro { max-width: 920px; margin-inline: auto; text-align: center; padding: clamp(2.5rem,5vw,4rem) var(--gutter) clamp(4rem,8vw,7rem); }
.hero__intro p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.25rem; }

/* ---- Full-bleed feature (image with overlaid text) -------------------- */
.feature {
  position: relative; min-height: var(--split-h); display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.feature__img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.04); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,25,24,.9) 0%, rgba(27,25,24,.55) 45%, rgba(27,25,24,.05) 80%); }
.feature__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding: clamp(2rem,5vw,3rem) var(--gutter); }
.feature__text { max-width: 540px; }
.feature__text h2 { margin-bottom: 1.25rem; }
.feature__text p + p { margin-top: 1rem; }

/* ---- Split (orange panel + large image) ------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: var(--split-h); }
.split--media-left .split__media { order: -1; }
.split__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.split__panel--orange { background: var(--orange); color: #fff; }
.split__panel--orange h2, .split__panel--orange h3 { color: #fff; }
.split__panel--orange p { color: rgba(255,255,255,.94); }
.split__panel--dark { background: var(--charcoal); }
.split__panel h2 { margin-bottom: 1.25rem; }
.split__panel p + p { margin-top: 1rem; }
.split__media { background-size: cover; background-position: center; filter: grayscale(1) contrast(1.04); min-height: 320px; }

/* big stacked pillars (Secure. Compliant. ...) */
.pillar-head { font-size: clamp(1.8rem,3.4vw,2.6rem); line-height: 1.25; color: #fff; margin-bottom: 1.25rem; }
.pillar-head span { display: block; }

/* ---- Why choose / stats ----------------------------------------------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__head h2 { margin-top: .5rem; }
.stat-list { display: flex; flex-direction: column; gap: 1.75rem; }
.stat { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; align-items: baseline; }
.stat__num { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 700; color: var(--orange); line-height: 1; min-width: 4.5ch; }
.stat__label { color: var(--grey); font-size: 1rem; }
.stat + .stat { border-top: 1px solid var(--line); padding-top: 1.75rem; }

/* ---- Values (accordion) ----------------------------------------------- */
.accordion { margin-top: 1.75rem; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0;
  background: none; border: 0; color: #fff; text-align: left; cursor: pointer;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 400; transition: color .2s;
}
.acc-head:hover { color: var(--orange); }
.acc-head::before { content: "\00BB"; color: var(--orange); font-size: 1.4em; line-height: 1; transition: transform .35s var(--ease); }
.acc-item.is-open .acc-head::before { transform: rotate(90deg); }
.acc-head .acc-sign { margin-left: auto; position: relative; width: 16px; height: 16px; flex: none; }
.acc-head .acc-sign::before, .acc-head .acc-sign::after { content: ""; position: absolute; background: var(--orange); transition: transform .35s var(--ease), opacity .35s; }
.acc-head .acc-sign::before { inset: 7px 0; height: 2px; }            /* horizontal bar */
.acc-head .acc-sign::after { inset: 0 7px; width: 2px; }             /* vertical bar */
.acc-item.is-open .acc-head .acc-sign::after { transform: scaleY(0); opacity: 0; }
/* Panel: animates via grid-rows. Open by default so it works without JS. */
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.js .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
.acc-panel__inner { overflow: hidden; }
.acc-panel p { padding: 0 0 1.4rem; color: var(--grey); font-size: 1rem; max-width: 62ch; }

/* ---- Clients ---------------------------------------------------------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; align-items: center; justify-items: center; margin-top: 2rem; }
.client-grid img { width: 100%; max-width: 230px; height: auto; object-fit: contain; opacity: 1; transition: transform .25s; }
.client-grid img:hover { transform: scale(1.06); }

/* ---- Testimonials ----------------------------------------------------- */
.testimonials { position: relative; }
.testimonials__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1); opacity: .18; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(27,25,24,.55); }
.testimonials .container { position: relative; z-index: 1; }
.testimonials__head { text-align: center; margin-bottom: 2.5rem; }
.tcarousel { position: relative; }
.tcarousel__viewport { overflow: hidden; }
.tcarousel__track { display: flex; gap: 1.5rem; transition: transform .5s var(--ease); }
.quote {
  flex: 0 0 calc((100% - 3rem) / 3); box-sizing: border-box;
  background: rgba(27,25,24,.55); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; display: flex; flex-direction: column;
}
.quote__mark { color: var(--orange); font-size: 3rem; line-height: .6; font-family: Georgia, serif; }
.quote p { font-size: .98rem; color: var(--white); font-weight: 300; margin: 1rem 0 1.25rem; flex: 1; }
.quote cite { color: var(--orange); font-style: normal; font-weight: 600; font-size: .9rem; }
.tcarousel__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(27,25,24,.7); border: 1.5px solid var(--line); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; z-index: 2; }
.tcarousel__nav:hover { border-color: var(--orange); color: var(--orange); }
.tcarousel__nav--prev { left: -12px; }
.tcarousel__nav--next { right: -12px; }
.tcarousel__dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.tcarousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line); padding: 0; transition: background .2s, width .2s; }
.tcarousel__dots button.is-active { background: var(--orange); width: 24px; border-radius: 5px; }

/* ---- Clinic lifecycle (home: Start / Scale / Optimise / Exit) -------- */
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.lifecycle__step { border-top: 2px solid var(--orange); padding-top: 1.25rem; }
.lifecycle__num { display: block; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; color: var(--orange); line-height: 1; }
.lifecycle__step h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 500; margin-top: .5rem; }
.lifecycle__who { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); margin: .3rem 0 .8rem; }
.lifecycle__step p { font-size: .94rem; }
@media (max-width: 860px) { .lifecycle { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lifecycle { grid-template-columns: 1fr; } }

/* ---- Cross-link band (Services <-> Consultation) --------------------- */
.crosslink-band { padding: clamp(2rem,4vw,3rem) 0 0; text-align: center; }
.crosslink-band p { max-width: 64ch; margin-inline: auto; color: var(--grey); }
.crosslink-band a { color: var(--orange); font-weight: 600; white-space: nowrap; }

/* ---- CTA -------------------------------------------------------------- */
.cta { text-align: center; }
.cta__rule { width: 1px; height: 56px; background: var(--line); margin: 0 auto 2rem; position: relative; }
.cta__rule::before, .cta__rule::after { content: ""; position: absolute; left: 50%; translate: -50% 0; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--orange); }
.cta__rule::before { top: -4px; } .cta__rule::after { bottom: -4px; }
.cta h2 { margin-bottom: 1.25rem; }
.cta p { max-width: 60ch; margin: 0 auto 1rem; }
.cta__sub { color: var(--grey); margin-bottom: 2rem; }
.cta__sub a { color: var(--orange); }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--charcoal-3); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1.5rem; gap: 6px; max-width: 100%; }
.footer-brand .brand img { height: 50px; width: auto; }
.footer-brand .brand__tag { font-size: 13px; letter-spacing: .3em; }
.footer-brand p { max-width: 38ch; font-size: .9rem; }
.footer-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.footer-contact a { color: var(--white); font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.footer-contact svg { fill: var(--orange); }
.footer-col h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding: .35rem 0; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-social svg { width: 16px; fill: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; font-size: .85rem; color: var(--grey-2); }

/* ---- Reveal-on-scroll (enhancement; content visible without JS) -------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }

/* Photo reveal — a charcoal curtain slides away to reveal the image, while the
   photo settles from a slight zoom. The observed box stays untransformed so the
   IntersectionObserver fires reliably. Direction follows the image's side. */
.js .reveal-media { position: relative; overflow: hidden; }
.js .reveal-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: inherit; background-size: cover; background-position: inherit;
  transform: scale(1.14); transition: transform 1.6s var(--ease);
}
.js .reveal-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; background: var(--charcoal);
  transform: translateX(0); transition: transform 1s var(--ease);
}
.js .reveal-media.is-in::before { transform: scale(1); }
.js .reveal-media.is-in::after { transform: translateX(101%); }
.js .reveal-media--left.is-in::after { transform: translateX(-101%); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .reveal-media::before, .js .reveal-media::after { display: none; }
  html { scroll-behavior: auto; }
  .hero__scroll, .hero__cursor { animation: none; }
}

/* ---- Large screens / QHD (scale up so it fills the width like the live site) -- */
@media (min-width: 1600px) {
  :root { --container: 1480px; --gutter: clamp(3rem, 4.5vw, 5.5rem); --header-h: 108px; }
  body { font-size: 16px; }
  .brand img { height: 44px; }
  .brand__tag { font-size: 12px; }
  .site-header.is-scrolled .brand img { height: 36px; }
  .site-header.is-scrolled .brand__tag { font-size: 11px; }
  .stat__num { font-size: clamp(2.6rem, 3vw, 3.4rem); }
  .client-grid img { max-width: 300px; }
}
@media (min-width: 2100px) {
  :root { --container: 1720px; --gutter: clamp(4rem, 4vw, 7rem); --split-h: clamp(760px, 42vw, 1000px); --header-h: 120px; }
  body { font-size: 17px; line-height: 1.85; }
  .brand img { height: 50px; }
  .brand__tag { font-size: 13px; }
  .site-header.is-scrolled .brand img { height: 40px; }
  .site-header.is-scrolled .brand__tag { font-size: 12px; }
  h1 { font-size: clamp(3rem, 3.4vw, 4.2rem); }
  h2 { font-size: clamp(2.3rem, 2.4vw, 3.1rem); }
  .hero__headline h1 { font-size: clamp(3.2rem, 3.6vw, 4.6rem); }
  .lead, .hero__intro p { font-size: 1.2rem; }
  .value-list li { font-size: 1.5rem; }
  .quote p { font-size: 1.1rem; }
}

/* Smaller desktops/tablets: tighten header spacing so it never crowds. */
@media (max-width: 1200px) {
  .nav { gap: 1.5rem; }
  .nav__links { gap: 1.3rem; }
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --header-h: 72px; --split-h: auto; }
  .brand img, .site-header.is-scrolled .brand img { height: 32px; }
  .brand__tag, .site-header.is-scrolled .brand__tag { font-size: 9.5px; letter-spacing: .3em; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0; position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--charcoal-3); padding: .25rem var(--gutter) .75rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.35);
  }
  .nav.is-open .nav__links a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__links a:last-child { border-bottom: 0; }
  /* the desktop hover underline overlaps adjacent items in the stacked menu — disable it here */
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a[aria-current="page"] {
    color: var(--orange); box-shadow: inset 3px 0 0 var(--orange); padding-left: .9rem;
  }
  /* On phones the logo + number + burger don't fit, squashing the logo: show the call icon only. */
  .nav__cta { gap: 0; font-size: 0; padding: .4rem; }
  .nav__cta svg { width: 22px; height: 22px; }
  /* keep the footer logo proportional when its column is narrower than the logo */
  .footer-brand .brand img { height: auto; max-width: 100%; }
  .split, .why { grid-template-columns: 1fr; }
  .split__media { min-height: 300px; order: -1; }
  .split--media-left .split__media { order: -1; }
  .feature::after { background: linear-gradient(0deg, rgba(27,25,24,.92) 0%, rgba(27,25,24,.55) 60%, rgba(27,25,24,.35) 100%); }
  .quote { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tcarousel__nav--prev { left: 2px; } .tcarousel__nav--next { right: 2px; }
}
@media (max-width: 560px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .hero__frame { height: 70vh; }
}

/* =========================================================================
   Inner-page components (About, Services, Consultation, Case Studies,
   Contact, and the policy pages). Same tokens / motion as the homepage.
   ========================================================================= */

/* ---- Inner-page hero (typewriter headline + graphic) ------------------ */
.page-hero { padding-block: calc(var(--header-h) + clamp(2.5rem,6vw,6rem)) clamp(3rem,6vw,6rem); position: relative; overflow: hidden; }
/* Same width model as .container so the hero content's left edge lines up
   exactly with the header logo and footer. */
.page-hero__inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.page-hero__text .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.15; }
.page-hero__lede { margin-top: 1.75rem; font-size: clamp(1.02rem,1.4vw,1.2rem); max-width: 56ch; }
.page-hero__graphic { justify-self: center; }
.page-hero__graphic img { width: 100%; height: auto; max-width: 600px; }
.page-hero--center .page-hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.page-hero--center .page-hero__lede { margin-inline: auto; }
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero__graphic { order: -1; max-width: 340px; }
  .page-hero__lede { max-width: none; }
}

/* ---- Section heading block -------------------------------------------- */
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem,4vw,3.25rem); }
.section__head p { margin-top: 1rem; }

/* ---- Team ------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem,2.2vw,2rem); }
.team-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.team-card__img { aspect-ratio: 4 / 5; background-size: cover; background-position: center top; filter: grayscale(1) contrast(1.03); }
.team-card__body { padding: 1.25rem 1.4rem 1.6rem; }
.team-card__name { color: var(--white); font-size: 1.3rem; font-weight: 500; }
.team-card__role { color: var(--orange); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-top: .25rem; }
.team-card__bio { margin-top: .9rem; font-size: .92rem; line-height: 1.7; }
@media (min-width: 561px) and (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- Industry recognition (logos + copy on faint photo) --------------- */
.recognition { position: relative; }
.recognition__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1); opacity: .12; }
.recognition::before { content: ""; position: absolute; inset: 0; background: rgba(27,25,24,.55); }
.recognition .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.recognition__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem,4vw,3.5rem); align-items: center; justify-items: center; }
/* logos are pre-normalised to a uniform cap-height; display at native size */
.recognition__logos img { width: auto; max-width: 100%; max-height: 150px; height: auto; object-fit: contain; }
.recognition__list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.recognition__list li { position: relative; padding-left: 1.6rem; }
.recognition__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }
@media (max-width: 900px) { .recognition .container { grid-template-columns: 1fr; } }

/* ---- Value blocks (Vision / Mission / Diversity) ---------------------- */
.value-block { display: flex; gap: 1.1rem; }
.value-block + .value-block { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.18); }
.value-block__icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--orange); }
.value-block__icon svg { width: 100%; height: 100%; fill: currentColor; }
.value-block h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .4rem; }

/* ---- Timeline (Our History) ------------------------------------------- */
.timeline { max-width: 840px; margin-inline: auto; position: relative; padding-left: 2.25rem; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: clamp(1.75rem,3vw,2.5rem); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: calc(-2.25rem - 7px); top: .3em; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--charcoal); }
.tl-item h3 { font-size: 1.2rem; font-weight: 500; }
.tl-item .tl-year { color: var(--orange); font-weight: 600; }
.tl-item p { margin-top: .5rem; }

/* ---- Card grid (Case Studies, Service feature cards) ------------------ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem,2.2vw,2rem); }
.card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--orange); }
.card__meta { color: var(--grey-2); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.card__tag { color: var(--orange); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem; }
.card h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem; flex: 1; }
.card__link { color: var(--orange); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .4rem; }
.card__link::after { content: "\2192"; transition: transform .25s; }
.card:hover .card__link::after { transform: translateX(4px); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 900px) { .card-grid { grid-template-columns: repeat(2,1fr); } }

/* ---- Service groups --------------------------------------------------- */
.svc-group + .svc-group { margin-top: clamp(2.5rem,5vw,4rem); }
.svc-group__title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.svc-group__title h2 { font-size: clamp(1.4rem,2.4vw,1.9rem); }
.svc-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem,2.2vw,2rem); }
.svc-item { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; border-top: 3px solid var(--orange); }
.svc-item h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: .6rem; }
.svc-item p { font-size: .92rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2,1fr); } }

/* ---- Feature list (Consultation pillars) ------------------------------ */
.feat-list { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1.25rem,2.2vw,2rem); }
.feat-list__item { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.feat-list__item h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: .6rem; }
.feat-list__num { color: var(--orange); font-weight: 700; font-size: 1.5rem; }
@media (max-width: 760px) { .feat-list { grid-template-columns: 1fr; } }

/* ---- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.75rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon { flex: 0 0 auto; width: 24px; height: 24px; color: var(--orange); }
.info-item__icon svg { width: 100%; height: 100%; fill: currentColor; }
.info-item a { color: var(--white); font-weight: 500; }
.info-item a:hover { color: var(--orange); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Forms ------------------------------------------------------------ */
.form { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem,3vw,2.5rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; color: var(--grey); font-weight: 500; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--white); background: var(--charcoal);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem; width: 100%; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e87924'%3E%3Cpath d='M12 16l-6-6h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.5rem; }
.field--full { grid-column: 1 / -1; }
.radio-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.1rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--grey); cursor: pointer; }
.radio-row input { width: auto; accent-color: var(--orange); }
.form__note { font-size: .8rem; color: var(--grey-2); margin-bottom: 1.25rem; }
.form__note .req { color: var(--orange); }
.form__hp { position: absolute; left: -9999px; }
.form .btn { margin-top: .5rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---- Contact: two-column (info + form card) --------------------------- */
.contact-grid { align-items: start; grid-template-columns: 0.92fr 1.08fr; }
.form-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 2.6vw, 2.5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Doc layout (policy pages: sticky TOC + prose) -------------------- */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start; max-width: 1180px; margin-inline: auto; }
.doc-layout .prose { margin-inline: 0; max-width: 800px; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.doc-toc__title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 1rem; }
.doc-toc__list { list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.doc-toc__list a { display: block; padding: .5rem .9rem; margin-left: -1px; font-size: .88rem; line-height: 1.35; color: var(--grey); border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.doc-toc__list a:hover, .doc-toc__list a.is-active { color: var(--white); border-left-color: var(--orange); }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 920px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; margin-bottom: 1rem; } }

/* ---- Prose (policy / long-form text pages) ---------------------------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem,2.4vw,1.9rem); margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-weight: 500; margin: 1.75rem 0 .75rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--orange); }
.prose ol { list-style: lower-alpha; margin: 0 0 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.prose ol li { padding-left: .3rem; }
.prose ol li::marker { color: var(--orange); }
.prose ol ol { list-style: lower-roman; margin: .5rem 0 0; }
.prose ol ol ol { list-style: decimal; }
.prose dd ol { margin-left: 1.4rem; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--white); }
.prose dl { margin: 0; }
.prose dt { color: var(--white); font-weight: 600; margin-top: 1.5rem; }
.prose dd { margin: .3rem 0 0; }

/* ---- Icon cards (service category highlights) ------------------------- */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem,3vw,3rem); text-align: center; }
.icon-card__icon { display: block; width: 42px; height: 42px; margin: 0 auto 1.1rem; color: var(--orange); }
.icon-card__icon svg { width: 100%; height: 100%; fill: currentColor; }
.icon-card h3 { color: var(--orange); font-size: 1.05rem; font-weight: 600; margin-bottom: .6rem; }
.icon-card p { font-size: .95rem; }
@media (max-width: 900px) { .icon-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---- Titled bullet list (service detail lists in panels) -------------- */
.svc-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.svc-list li { position: relative; padding-left: 1.7rem; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); }
.svc-list strong { display: block; color: var(--white); font-weight: 500; margin-bottom: .2rem; }
.svc-list p { font-size: .92rem; }
.split__panel--orange .svc-list li::before { background: #fff; }
.split__panel--orange .svc-list strong { color: #fff; }

/* ---- Case-study cards ------------------------------------------------- */
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem,2.5vw,2rem); }
@media (min-width: 1100px) { .cs-grid { grid-template-columns: repeat(3, 1fr); } }
.cs-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s; }
.cs-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.cs-card__logo { background: #312d2b; min-height: 160px; display: grid; place-items: center; padding: 2rem; }
.cs-card__logo img { max-height: 80px; max-width: 75%; width: auto; object-fit: contain; }
.cs-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.cs-card__date { color: var(--grey-2); font-size: .78rem; letter-spacing: .1em; }
.cs-card h3 { font-size: 1.3rem; font-weight: 500; margin: .5rem 0 .75rem; line-height: 1.35; }
.cs-card__desc { color: var(--grey-2); font-size: .92rem; line-height: 1.55; margin: 0 0 1.5rem; flex: 1; }
.cs-card__logo--lockup { gap: .7rem; }
.cs-card__logo--lockup .cs-logo-name { font-weight: 600; font-size: 1.35rem; line-height: 1; color: var(--white); white-space: nowrap; }
.cs-card__link { color: var(--orange); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.cs-card__link::after { content: "\2192"; transition: transform .25s; }
.cs-card:hover .cs-card__link::after { transform: translateX(4px); }
@media (max-width: 760px) { .cs-grid { grid-template-columns: 1fr; } }

/* ---- Case-study detail page ------------------------------------------- */
.case-hero .page-hero__inner { grid-template-columns: 1.25fr .75fr; align-items: center; }
.case-logo-panel { background: #312d2b; border: 1px solid var(--line); border-radius: var(--radius); min-height: 230px; display: grid; place-items: center; padding: clamp(2rem,4vw,3rem); }
.case-logo-panel img { max-width: 80%; max-height: 130px; width: auto; object-fit: contain; }
.case-meta { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.case-meta__label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-2); margin-bottom: .35rem; }
.case-meta__val { color: var(--white); font-weight: 500; }
.back-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--grey); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2.25rem; transition: color .2s; }
.back-link::before { content: "\2190"; }
.back-link:hover { color: var(--orange); }
.outcomes { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin: 0 0 1.25rem; }
.outcomes li { position: relative; padding-left: 2.1rem; line-height: 1.5; }
.outcomes li::before { content: "\2713"; position: absolute; left: 0; top: .05em; width: 1.35rem; height: 1.35rem; background: var(--orange); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.case-quote { border-left: 3px solid var(--orange); padding: .25rem 0 .25rem 1.85rem; margin: 2.25rem 0; }
.case-quote p { font-size: clamp(1.12rem,1.6vw,1.4rem); font-weight: 300; font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 0; }
.case-quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: .9rem; color: var(--orange); font-weight: 600; }
@media (max-width: 860px) { .case-hero .page-hero__inner { grid-template-columns: 1fr; } .case-logo-panel { order: -1; max-width: 360px; } }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start; max-width: 1240px; margin-inline: auto; }
.case-layout .prose { margin-inline: 0; max-width: none; }
.case-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.case-facts { background: var(--charcoal-2); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 1.75rem; }
.case-facts__title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 1.25rem; }
.case-facts__item + .case-facts__item { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.case-cta-card { background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.case-cta-card p { color: var(--white); font-weight: 500; margin-bottom: 1.1rem; line-height: 1.45; }
.case-cta-card .btn { width: 100%; justify-content: center; }
@media (max-width: 980px) { .case-layout { grid-template-columns: 1fr; } .case-aside { position: static; flex-direction: row; flex-wrap: wrap; } .case-aside > * { flex: 1 1 260px; } }

/* ---- Consultancy offerings -------------------------------------------- */
.offer-list { max-width: 900px; }
.offer + .offer { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.offer h3 { font-size: clamp(1.2rem,2.2vw,1.55rem); font-weight: 500; }
.offer__lead { margin-top: .6rem; position: relative; padding-left: 1.7rem; }
.offer__lead::before { content: "\00BB"; position: absolute; left: 0; top: -.1em; color: var(--orange); font-size: 1.3em; line-height: 1; }

/* ---- Consultancy stages (3-column, full detail) ----------------------- */
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem,2.4vw,2rem); align-items: stretch; }
.stage { background: var(--charcoal-2); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: clamp(1.6rem,2.4vw,2.4rem); display: flex; flex-direction: column; }
.stage__num { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.stage h3 { font-size: clamp(1.15rem,1.5vw,1.4rem); font-weight: 500; line-height: 1.3; }
.stage__lead { margin-top: .75rem; color: var(--grey); font-size: .95rem; }
.stage__list { margin-top: 1.6rem; list-style: none; display: flex; flex-direction: column; gap: 1.05rem; }
.stage__list li { font-size: .92rem; line-height: 1.55; color: var(--grey); padding-left: 1.4rem; position: relative; }
.stage__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }
.stage__list strong { color: var(--white); font-weight: 600; }
.stage__cta { margin-top: auto; padding-top: 1.75rem; display: inline-flex; align-items: center; gap: .55rem; color: var(--orange); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.stage__cta::after { content: "\2192"; transition: transform .25s var(--ease); }
.stage__cta:hover::after { transform: translateX(5px); }
@media (max-width: 900px) { .stage-grid { grid-template-columns: 1fr; } }

/* ---- Team group photo (contained, in the leadership section) --------- */
.team-photo { width: 100%; aspect-ratio: 16 / 9; background-size: cover; background-position: center; border-radius: var(--radius); filter: grayscale(1) contrast(1.03); margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ---- Practice Success: focus list + engagements --------------------- */
.ps-focus { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; margin-top: 1.75rem; }
.ps-focus li { padding-left: 1.4rem; }
.ps-focus strong { display: inline; color: var(--white); font-weight: 500; }
.eng-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2vw, 1.75rem); }
.eng { background: var(--charcoal-2); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: clamp(1.4rem, 2vw, 1.9rem); }
.eng__cat { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-2); margin-bottom: .55rem; }
.eng h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .55rem; }
.eng p { font-size: .92rem; }
@media (max-width: 1000px) { .eng-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eng-grid { grid-template-columns: 1fr; } .ps-focus { grid-template-columns: 1fr; } }

/* ---- Medlink Connect band --------------------------------------------- */
.medlink { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.medlink__logo { justify-self: center; }
.medlink__logo img { max-width: 320px; width: 100%; }
@media (max-width: 760px) { .medlink { grid-template-columns: 1fr; } .medlink__logo { order: -1; max-width: 240px; } }

/* ---- Glossary --------------------------------------------------------- */
.glossary-cat + .glossary-cat { margin-top: clamp(2.5rem,5vw,4rem); }
.glossary-cat__title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.glossary-cat__title h2 { font-size: clamp(1.35rem,2.4vw,1.85rem); }
.glossary-cat__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem clamp(2rem,4vw,3.5rem); }
.gloss dt { color: var(--white); font-weight: 600; font-size: 1rem; }
.gloss dd { margin: .3rem 0 0; font-size: .92rem; line-height: 1.65; color: var(--grey); }
@media (min-width: 1180px) { .glossary-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .glossary-grid { grid-template-columns: 1fr; } }
.glossary-cat { scroll-margin-top: calc(var(--header-h) + 7rem); }

/* ---- Glossary toolbar (sticky search + category jump) ----------------- */
.gloss-tools { position: sticky; top: var(--header-h); z-index: 40; background: var(--charcoal); border-bottom: 1px solid var(--line); padding: 1rem 0; margin-bottom: clamp(2rem,4vw,3rem); }
.gloss-tools__inner { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; }
.gloss-search { position: relative; flex: 1 1 260px; max-width: 380px; }
.gloss-search input { width: 100%; font: inherit; font-size: .95rem; color: var(--white); background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1rem .65rem 2.6rem; transition: border-color .2s; }
.gloss-search input:focus { outline: none; border-color: var(--orange); }
.gloss-search svg { position: absolute; left: .95rem; top: 50%; translate: 0 -50%; width: 17px; height: 17px; fill: var(--grey-2); pointer-events: none; }
.gloss-jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.gloss-jump a { font-size: .78rem; color: var(--grey); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .8rem; transition: color .2s, border-color .2s; }
.gloss-jump a:hover { color: var(--white); border-color: var(--orange); }
.gloss-count { font-size: .8rem; color: var(--grey-2); margin-left: auto; white-space: nowrap; }
.gloss-hidden { display: none !important; }
.gloss-more { margin-top: .55rem; font-size: .86rem; line-height: 1.6; color: var(--grey-2); border-left: 2px solid var(--line); padding-left: .85rem; }
.gloss-more[hidden] { display: none; }
.gloss-toggle { margin-top: .25rem; background: none; border: 0; padding: .55rem 0; font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; }
.gloss-toggle::after { content: "+"; font-size: 1.05em; line-height: 1; }
.gloss-toggle[aria-expanded="true"]::after { content: "\2013"; }
.gloss-noresults { display: none; text-align: center; color: var(--grey); padding: 3rem 0 1rem; }
.gloss-noresults.is-on { display: block; }
@media (max-width: 760px) { .gloss-count { margin-left: 0; } }

/* ---- Misc inner ------------------------------------------------------- */
.bg-raised { background: var(--charcoal-2); }
.section--narrow { padding-block: clamp(2.5rem,5vw,4.5rem); }
