/* Montserrat, self-hosted (12 Nov 2026, performance pass): Google's latin subset of the variable font
   (SIL Open Font Licence), one file for weights 400-700. Replaces the render-blocking Google Fonts CSS. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* ==========================================================================
   Appraise Psychology — homepage
   Tokens mirror the Appraise Psychology design system (tokens.json).
   ========================================================================== */

:root {
  /* colour */
  --black: #111111;
  --white: #ffffff;
  --grey: #f8f9fa;
  --neonblue: #3eaffc; /* client checklist: RGB 62, 175, 252 ("neon blue") */
  --navy: #161d40;
  --muted: #5c6066;
  --control-border: #8a9099;
  --line: #d9dde2;
  --ink-inverse-2: rgba(255, 255, 255, 0.78);   /* secondary text on black (≈11:1) */
  --ink-inverse-3: rgba(255, 255, 255, 0.64);   /* tertiary text on black (≈7.4:1) */
  --line-inverse: rgba(255, 255, 255, 0.16);

  /* type */
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.375rem, 1.55rem + 2.9vw, 3.75rem);
  --lh-display: 1.12;
  --fs-h2: clamp(1.75rem, 1.4rem + 1.1vw, 2.5rem);
  --lh-h2: 1.22;
  --fs-h3: 1.375rem;
  --lh-h3: 1.36;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* space (8px scale) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px; --space-9: 128px;
  --section-y: clamp(var(--space-7), 8vw, 136px);

  /* shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-card: 0;               /* all content cards and their images: sharp 90° corners (leaf images excepted) */
  --radius-leaf: 64% 0;          /* About: image on the right, top-left + bottom-right rounded */
  --radius-leaf-flip: 0 64%;     /* Why Choose Us: the same leaf mirrored for an image on the left */

  /* layout */
  --max: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 196px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1); /* soft quart ease-out (was expo): motion starts gently */
  /* one timing scale for content motion (header, menus and accordions keep their own quicker timings) */
  --hover-tone: 0.45s;  /* colour, border, background, underline */
  --hover-move: 0.6s;   /* small hover movements */
  --media-zoom: 1.4s;   /* photo zoom inside cards */
  --reveal-fade: 1.2s; --reveal-rise: 1.5s; --reveal-shift: 16px;
  --dur: 0.7s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.625;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }
.sr-only {
  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: -60px; z-index: 200;
  background: var(--neonblue); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-card); font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------- type helpers ---------- */
.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow); line-height: 20px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--space-4);
}
.eyebrow--center { text-align: center; }
.on-dark .eyebrow { color: var(--ink-inverse-2); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -0.012em; }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.lead { font-size: var(--fs-body-lg); line-height: 30px; color: var(--muted); }
.on-dark .lead { color: var(--ink-inverse-2); }
.prose p + p { margin-top: var(--space-3); }
.prose p { color: var(--muted); }
.on-dark .prose p { color: var(--ink-inverse-2); }
.on-dark { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--neonblue); --btn-fg: var(--white); --btn-bd: var(--neonblue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  font-size: 0.9375rem; line-height: 20px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-card); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color var(--hover-tone) var(--ease), border-color var(--hover-tone) var(--ease), background-color var(--hover-tone) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--black));
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--hover-move) var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg, var(--white)); border-color: var(--btn-hover, var(--black)); }
.btn .arrow { width: 16px; height: 16px; flex: none; transition: transform var(--hover-move) var(--ease-out); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }

.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black); --btn-hover: var(--neonblue); --btn-hover-fg: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--control-border); --btn-hover: var(--black); --btn-hover-fg: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.6); --btn-hover: var(--white); --btn-hover-fg: var(--black); }
.on-dark .btn:not(.btn--outline-light) { --btn-hover: var(--white); --btn-hover-fg: var(--black); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; text-decoration: none;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: background-size var(--hover-move) var(--ease-out);
}
.link-arrow .arrow { width: 16px; height: 16px; transition: transform var(--hover-move) var(--ease-out); }
.link-arrow:hover { background-size: 40% 1.5px; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* square icon buttons (carousels) */
.icon-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 0; border: 1.5px solid var(--control-border); background: transparent; cursor: pointer; /* square (5 Nov) */
  transition: background-color var(--hover-tone) var(--ease), border-color var(--hover-tone) var(--ease), color var(--hover-tone) var(--ease), opacity var(--hover-tone);
}
.icon-btn svg { width: 18px; height: 18px; transition: transform var(--hover-move) var(--ease-out); }
.icon-btn:hover:not(:disabled) { background: var(--black); border-color: var(--black); color: var(--white); }
.icon-btn[data-dir="prev"]:hover:not(:disabled) svg { transform: translateX(-3px); }
.icon-btn[data-dir="next"]:hover:not(:disabled) svg { transform: translateX(3px); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.on-dark .icon-btn { border-color: rgba(255,255,255,0.5); }
.on-dark .icon-btn:hover:not(:disabled) { background: var(--white); border-color: var(--white); color: var(--black); }


/* ==========================================================================
   PANEL 1 — HEADER
   Centred-logo layout: a three-column grid (1fr | logo | 1fr) keeps the logo on the
   true centre line of the page however wide each nav group is. Transparent with a
   soft gradient over the hero; a compact dark translucent bar once scrolled (it
   only goes solid when About reaches it, see main.js and the hero-stack).
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--white);
  transition: transform 0.45s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(17,17,17,0.6), rgba(17,17,17,0.22) 60%, rgba(17,17,17,0));
  transition: opacity 0.4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(17,17,17,0.88); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line-inverse);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.site-header.is-solid::after { opacity: 1; }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.hdr { position: relative; }
/* Row 1: 1fr | logo | 1fr keeps the logo on the page centre whatever the phone or CTA width */
.hdr__top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--space-5);
  height: 140px; transition: height 0.4s var(--ease);
}
.hdr__left { justify-self: start; display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.hdr__right { justify-self: end; display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.hdr__logo { display: block; width: 127px; height: 104px; transition: width 0.4s var(--ease), height 0.4s var(--ease); } /* logo-mixed.png is 1.22:1: same heights as before, boxes widened so the header stays the same height */
.hdr__logo img { width: 100%; height: 100%; object-fit: contain; }
/* Row 2: hairline divider (as on the reference), then the nav centred beneath the logo */
.hdr__nav { display: flex; justify-content: center; height: 56px; border-top: 1px solid rgba(255,255,255,0.18); transition: height 0.4s var(--ease), border-color 0.4s var(--ease); }
.is-solid .hdr__top { height: 96px; }
.is-solid .hdr__logo { width: 88px; height: 72px; }
.is-solid .hdr__nav { height: 48px; border-top-color: var(--line-inverse); }

.nav { display: flex; align-items: center; height: 100%; gap: clamp(28px, 2.6vw, 44px); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px; padding: 14px 0;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--hover-move) var(--ease-out);
}
.nav__link:hover::after, .nav__item:focus-within > .nav__link::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link .chev { width: 10px; height: 10px; opacity: 0.8; transition: transform 0.3s var(--ease); }
.nav__item.is-open .chev { transform: rotate(180deg); }

/* dropdowns: a plain white panel aligned to the item's left edge */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 250px;
  padding: 12px; background: var(--white); color: var(--black);
  border-radius: var(--radius-sm);
  box-shadow: 0 22px 44px -18px rgba(0,0,0,0.38);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.26s var(--ease), transform 0.36s var(--ease-out), visibility 0s linear 0.36s;
}
.dropdown::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 0.875rem; line-height: 20px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--grey); }
.dropdown a .arrow { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.dropdown a:hover .arrow, .dropdown a:focus-visible .arrow { opacity: 1; transform: none; }
.dropdown a.is-child { padding-left: 26px; color: var(--muted); }
.dropdown a.is-child:hover, .dropdown a.is-child:focus-visible { color: var(--black); }
.dropdown--mega { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; padding: 16px; }
.dropdown__head {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  padding: 4px 12px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.dropdown__head span { font-size: var(--fs-eyebrow); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.dropdown__head a { padding: 0; font-weight: 600; gap: 8px; }
.dropdown__head a .arrow { opacity: 1; transform: none; }
.dropdown__head a:hover, .dropdown__head a:focus-visible { background: none; }

.hdr__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; }
.hdr__phone svg { width: 18px; height: 18px; color: var(--neonblue); flex: none; }
.hdr__phone-lbl { color: var(--ink-inverse-3); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hdr__phone-num { font-weight: 600; }
/* 1024-1199px: the label pushes the number under the centred logo (overlap began at 1159px, 62px at
   1024px), so keep the number and drop the label until there is room */
@media (max-width: 1199px) { .hdr__phone-lbl { display: none; } }
.hdr__cta .lbl-short { display: none; }

.hdr__toggle {
  display: none; width: 48px; height: 48px; margin-left: -12px; border: 0; background: none; cursor: pointer; position: relative; color: inherit;
}
.hdr__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), opacity 0.2s; }
.hdr__toggle span:nth-child(1) { top: 17px; }
.hdr__toggle span:nth-child(2) { top: 23.5px; right: 18px; }
.hdr__toggle span:nth-child(3) { top: 30px; }
.menu-open .hdr__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .hdr__toggle span:nth-child(2) { opacity: 0; }
.menu-open .hdr__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu: same dark surface as the scrolled header */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black); color: var(--white);
  padding: calc(88px + var(--space-4)) var(--gutter) var(--space-6);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm__list > li { border-bottom: 1px solid var(--line-inverse); }
.mm__link, .mm__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: 1.25rem; font-weight: 600; text-decoration: none; color: inherit;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.mm__toggle svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.mm__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mm__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.mm__sub > ul { overflow: hidden; }
.mm__toggle[aria-expanded="true"] + .mm__sub { grid-template-rows: 1fr; }
.mm__sub a { display: block; padding: 9px 0 9px 16px; font-size: 1rem; color: var(--ink-inverse-2); text-decoration: none; border-left: 1.5px solid var(--line-inverse); }
.mm__sub a:hover, .mm__sub a:focus-visible { color: var(--white); border-left-color: var(--neonblue); }
.mm__sub li:last-child a { margin-bottom: 18px; }
.mm__foot { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.mm__foot .btn { width: 100%; }
.mm__phone { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding: 8px 0; color: var(--white); }
.mm__phone svg { width: 18px; height: 18px; color: var(--neonblue); }
.mobile-menu :focus-visible { outline-color: var(--white); }

/* ==========================================================================
   PANEL 2 — HERO
   ========================================================================== */
.hero {
  position: relative; min-height: max(640px, 100svh); display: flex; align-items: stretch;
  color: var(--white); background: var(--black); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* hero-consult is three clips (_tools/compose.swift); the 720p phone cut is reframed per clip so
   these positions keep a subject in the portrait slice. Change them and recheck all three clips. */
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-on { opacity: 1; }
.hero__media { transform: scale(1.06); animation: heroSettle 2.6s var(--ease-out) 0.1s forwards; }
@keyframes heroSettle { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 62% 58% at 50% 56%, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.5) 55%, rgba(17,17,17,0.3) 100%),
    linear-gradient(0deg, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0) 40%);
}
/* Content group sits in the area BELOW the header (padding-top = that breakpoint's header height).
   Two flexible spacers share the free space ~38:62 so the group is optically centred (a touch above
   the geometric middle, and clear of the scroll cue); their minimums keep it off both edges. */
.hero__inner { position: relative; display: flex; flex-direction: column; padding-top: var(--header-h); width: 100%; }
.hero__inner::before, .hero__inner::after { content: ""; flex: 1 1 0; }
.hero__inner::before { flex-grow: 0.62; min-height: clamp(24px, 4vh, 48px); }
.hero__inner::after { min-height: clamp(76px, 10vh, 112px); }
.hero__grid { flex: none; }
/* centred hero: one column, everything on the page's centre line; the aside becomes a row below */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: clamp(28px, 4.5vh, 56px); }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 700; letter-spacing: -0.02em; }
/* exactly two lines: each .line is its own row and never wraps (phones excepted, see 640px) */
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .accent { color: var(--neonblue); }
.hero__lead { margin: var(--space-4) auto 0; max-width: 560px; font-size: var(--fs-body-lg); line-height: 30px; color: var(--ink-inverse-2); }
.hero__cta { margin-top: var(--space-5); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 44px; background: rgba(255,255,255,0.25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--neonblue); animation: scrollCue 2.4s var(--ease) infinite; }
@keyframes scrollCue { to { top: 100%; } }

/* hero-to-About transition (Korda-style layered scroll)
   The hero is sticky inside .hero-stack, so About (later in the stack, higher z-index)
   scrolls up over it. main.js writes --p (0 → 1 across one hero height of scroll);
   the content scales and the hero dims toward black as it is covered. */
.hero-stack { position: relative; }
.hero-stack > .hero { position: sticky; top: min(0px, calc(100svh - var(--hero-h, 100svh))); z-index: 0; --p: 0; --shrink: 0.08; }
.hero-stack > .about { position: relative; z-index: 1; background: var(--white); box-shadow: 0 -28px 56px -28px rgba(0, 0, 0, 0.45);
  /* never shorter than the hero it covers, or the cover would stop short; content stays centred */
  min-height: var(--hero-h, 100svh); display: flex; flex-direction: column; justify-content: center; }
.hero__inner { transform: scale(calc(1 - var(--p, 0) * var(--shrink, 0))); transform-origin: 50% 50%; opacity: calc(1 - var(--p, 0) * 0.45); will-change: transform; }
.hero__dim { position: absolute; inset: 0; z-index: -1; background: var(--black); opacity: calc(var(--p, 0) * 0.62); pointer-events: none; }
.hero__scroll { opacity: calc(1 - var(--p, 0) * 4); }

/* Generic layered cover (USP → Testimonials): the same behaviour as the hero stack above. The first
   section is sticky (pinned at min(0, 100svh - its height) so a tall one shows its bottom first), the
   next rises over it at a higher layer with the same top shadow, and is never shorter than what it
   covers. main.js coverStack() writes --p (0 → 1 over one outgoing height) on the outgoing section;
   its content scales by --shrink and fades, and a dim layer darkens the photo toward black. */
.cover-stack { position: relative; }
.cover-stack > [data-cover-out] { position: sticky; top: min(0px, calc(100svh - var(--out-h, 100svh))); z-index: 0; --p: 0; --shrink: 0.08; }
.cover-stack > [data-cover-in] { position: relative; z-index: 1; box-shadow: 0 -28px 56px -28px rgba(0, 0, 0, 0.45);
  min-height: var(--out-h, 100svh); display: flex; flex-direction: column; justify-content: center; }
.cover-content { transform: scale(calc(1 - var(--p, 0) * var(--shrink, 0))); transform-origin: 50% 50%; opacity: calc(1 - var(--p, 0) * 0.45); will-change: transform; }
.cover-dim { position: absolute; inset: 0; z-index: -1; background: var(--black); opacity: calc(var(--p, 0) * 0.62); pointer-events: none; }
/* fully covered: stop the marquee working off screen */
.usp.is-covered .marquee__track { animation-play-state: paused; }

/* hero entrance */
.js .hero [data-hero] { opacity: 0; transform: translateY(26px); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.js .hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .hero h1 .line > span { display: block; transform: translateY(105%); }
.js .hero.is-in h1 .line > span { transform: none; transition: transform 1.25s var(--ease-out); transition-delay: calc(var(--l, 0) * 110ms + 150ms); }
.js .hero h1 { opacity: 1; transform: none; }

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section { padding-block: var(--section-y); position: relative; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; max-width: 600px; }
.section__head .lead { margin-top: var(--space-4); }

/* scroll reveal (only when JS + motion allowed) */
/* Soft fade + gentle rise for text and blocks; stagger compressed to 70% so sequences feel joined, not stepped. */
.rv-on [data-rv] { opacity: 0; transform: translate3d(0, var(--reveal-shift), 0); transition: opacity var(--reveal-fade) var(--ease), transform var(--reveal-rise) var(--ease-out); transition-delay: calc(var(--rv-delay, 0s) * 0.7); }
.rv-on [data-rv].is-in { opacity: 1; transform: none; }
/* Images: the same fade and rise (no wipe), the photo settling from a light 6% zoom */
.rv-on [data-rv="img"], .rv-on [data-rv="img-side"] { transform: translate3d(0, 20px, 0); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease-out); transition-delay: calc(var(--rv-delay, 0s) * 0.7); }
.rv-on [data-rv="img"] img { transform: scale(1.06); transition: transform 2s var(--ease-out); transition-delay: calc(var(--rv-delay, 0s) * 0.7); }
.rv-on [data-rv="img"].is-in img { transform: scale(1); }
/* Colour reveal: photos inside .colour-reveal sit in black and white and ease back to full colour
   when the host is hovered (mouse devices only, so a tap never sticks) or keyboard-focused.
   Used by the Latest News cards and the About leaf. Only the <img> is filtered, never text or masks. */
.colour-reveal img { filter: grayscale(1); transition: filter 0.8s var(--ease); }
.news-card.colour-reveal .news-card__img img { transition: transform var(--media-zoom) var(--ease-out), filter 0.8s var(--ease); }
.rv-on [data-rv="img"].colour-reveal img { transition: transform 2s var(--ease-out), filter 0.8s var(--ease); }
@media (hover: hover) { .colour-reveal:hover img { filter: grayscale(0); } }
.colour-reveal:focus-visible img, .colour-reveal:focus-within img { filter: grayscale(0); }

/* ==========================================================================
   PANEL 3 — ABOUT
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 5fr 0.6fr 6.4fr; align-items: center; }
.about__copy { grid-column: 1; }
.about__copy .h2 { max-width: 21ch; }
.about__copy .prose { margin-top: var(--space-5); max-width: 520px; }
.about__copy .link-arrow { margin-top: var(--space-6); }
.about__facts { margin-top: var(--space-6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); max-width: 520px; padding-top: var(--space-5); border-top: 1px solid var(--line); }
.about__facts dt { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.about__facts dd { margin: 6px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.45; }
/* one leaf-cropped image; grid align-items:center centres the copy group against its height */
.about__media { grid-column: 3; position: relative; }
.about__main { position: relative; overflow: hidden; border-radius: var(--radius-leaf); aspect-ratio: 1 / 1; }
.about__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; } /* EJ's about.jpg, near-square, used as supplied */
/* Leaf parallax (About + Why share --leaf-travel): main.js maps each host's scroll progress to
   ±--depth-amp. The leaf masks hold still; the photo layers travel inside them, running ahead of the
   scroll (data-depth="1") so each extreme falls on the half of the leaf that is off screen at that
   moment: Why's face (≈96px from the photo top) and About's chairs (low in frame) stay whole while
   visible. ±70px desktop = 140px of relative movement. Each photo layer overscans by its full travel
   + 4px top and bottom, so no edge can ever show. */
:root { --leaf-travel: 70px; }
.about__media { --depth-frame: 0px; --depth-photo: var(--leaf-travel); }
.about__depth { --depth-amp: var(--depth-frame); will-change: transform; }
.about__photo { --depth-amp: var(--depth-photo); position: absolute; left: 0; right: 0; top: calc(var(--depth-photo) * -1 - 4px); bottom: calc(var(--depth-photo) * -1 - 4px); will-change: transform; pointer-events: none; }
.about__photo img { display: block; }

/* ==========================================================================
   PANEL 4 — SERVICES
   ========================================================================== */
/* Dark editorial layers (EJ's servicelayout.png + TCF "Our Expertise"): B&W abstract photo → dark
   overlay (deeper over the photo's bright curve) → head row, 3 × 3 service list, CTA band → oversized
   outlined SERVICES cropped by the bottom edge. The word is aria-hidden and sits below the band. */
.services { overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); padding-bottom: 0; }
.services__bg { position: absolute; inset: -6% 0; z-index: -2; pointer-events: none; }
.services__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* 5 Nov: lighter architecture photo + lighter overlay (client: "too black"). Medium-dark grey with visible
   mid-tones; white copy still clears 4.5:1 everywhere it sits. Was 0.5 / 0.6 / 0.86 over a near-black photo. */
.services::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.58) 45%, rgba(17,17,17,0.64) 100%), linear-gradient(180deg, rgba(17,17,17,0.12) 0%, rgba(17,17,17,0) 40%, rgba(17,17,17,0.22) 100%); }
.services.on-dark .svc-item__meta { color: var(--ink-inverse-2); } /* lighter ground: the small meta line needs 78% white to keep 4.5:1 */

/* head row: eyebrow + heading left, intro paragraph right (top-aligned, as in the reference) */
.services__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 120px); align-items: start; }
.services__title .h2 { max-width: 24ch; }
.services__intro { font-size: 1rem; line-height: 28px; color: var(--ink-inverse-2); padding-top: 44px; } /* level with the heading's first line, below the eyebrow */

/* 3 × 3 service list: name, quiet meta line, diagonal arrow, hairline that draws blue on hover */
.svc-list { margin: clamp(56px, 6vw, 88px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.2vw, 32px); }
.svc-item { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); height: 100%; padding: 28px 0 24px; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
.svc-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--neonblue); transform: scaleX(0); transform-origin: right center; transition: transform var(--hover-move) var(--ease-out); }
.svc-item__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.svc-item__name { font-size: 1.0625rem; line-height: 1.4; font-weight: 600; letter-spacing: 0.005em; }
.svc-item__meta { font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-inverse-3); }
.svc-item__arrow { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ink-inverse-2); transform: rotate(-45deg); transition: transform var(--hover-move) var(--ease-out), color var(--hover-tone) var(--ease); }
.svc-item:focus-visible { outline-offset: 4px; }
.svc-item:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.svc-item:focus-visible .svc-item__arrow { color: var(--neonblue); transform: translate(3px, -3px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .svc-item:hover::after { transform: scaleX(1); transform-origin: left center; }
  .svc-item:hover .svc-item__arrow { color: var(--neonblue); transform: translate(3px, -3px) rotate(-45deg); }
}

/* CTA band: white, sharp, brand-blue accent bar on the left */
.svc-band { margin-top: clamp(56px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: 32px 36px 32px 40px; background: var(--white); color: var(--black); border-left: 4px solid var(--neonblue); border-radius: 0; }
/* brand mark (mark.png, the client's fav artwork) beside the copy: shorter than the 57px text group, so the band keeps its height */
.svc-band__lead { display: flex; align-items: center; gap: 20px; min-width: 0; }
.svc-band__mark { flex: none; width: 44px; height: auto; }
.svc-band__title { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.svc-band__sub { margin-top: 8px; font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.svc-band .btn { flex: none; }
/* the strip is white inside a dark section, so the sitewide `.on-dark .btn` white hover would vanish on it:
   match that rule's specificity (it comes earlier) and hover to brand blue with white text and arrow instead */
.on-dark .svc-band .btn { --btn-hover: var(--neonblue); --btn-hover-fg: var(--white); }
.on-dark .svc-band :focus-visible { outline-color: var(--black); } /* the dark-section focus ring is white, invisible on the white strip */
/* DARK variant (Services overview page only, 5 Nov): same strip, same padding and height; only colours
   change. The brand mark is left exactly as it is. White button by default, brand-blue hover. */
.svc-band.svc-band--dark, .services--light .svc-band.svc-band--dark { background: var(--black); color: var(--white); } /* beats the light section's grey strip */
.svc-band--dark .svc-band__sub { color: var(--ink-inverse-3); }
.svc-band--dark .btn { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); --btn-hover: var(--neonblue); --btn-hover-fg: var(--white); }
.svc-band--dark :focus-visible { outline-color: var(--white); }

/* oversized OUTLINED word inside the content grid: the wrapper matches .container (max-width + gutter
   padding, border-box), and the word is sized from its measured glyphs to fit that content width
   rather than relying on overflow. SERVICES' ink at -0.02em tracking is 4.94em wide, so 19.8cqi
   (cqi = 1% of the content box) fills ~97.8% of it, centred, with no horizontal crop at any width.
   The outline filter draws on the glyphs' inner edge, so it adds no width. The clip shows the top
   68% of the cap height (Montserrat 700 caps ≈ 0.712em); the section's bottom edge crops the rest. */
.services__word { container-type: inline-size; box-sizing: border-box; pointer-events: none; user-select: none; width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: clamp(48px, 5vw, 80px) auto 0; padding-inline: var(--gutter); }
.services__word-clip { overflow: hidden; height: 15.2cqi; } /* 16 Nov 2026 (BugHerd #8): the whole word now shows, no crop at the base */
.services__word span {
  display: block; font-size: 19.8cqi; line-height: 0.72; font-weight: 700; letter-spacing: -0.02em; padding-right: 0.02em; /* offsets the trailing tracking so the ink centres */ text-transform: uppercase; white-space: nowrap; text-align: center;
  color: var(--white); filter: url(#svc-outline); /* outline only: the filter keeps a 1px edge of the solid (opaque) glyphs at 46% white, no fill */
}

/* LIGHT VARIANT (Services overview page, 5 Nov): the same section on white. No photo, no overlay;
   the same outline filter traces the word in near-black instead of white, so it reads as a 46% dark
   hairline with no fill. Same list, strip, sizing and crop as the homepage. */
.services--light { background: var(--white); color: var(--black); }
.services--light::before { content: none; }
.services--light .services__intro { color: var(--muted); }
.services--light .svc-item { color: var(--black); border-bottom-color: var(--line); }
.services--light .svc-item__meta { color: var(--muted); }
.services--light .svc-item__arrow { color: var(--muted); }
.services--light .svc-band { background: var(--grey); }
.services--light .services__word span { color: var(--black); }

.slider-ui { display: flex; justify-content: center; margin-top: 40px; }
.slider-ui__btns { display: flex; gap: 12px; }

/* ==========================================================================
   PANEL 5 — USPs
   ========================================================================== */
.usp { position: relative; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; padding-block: clamp(88px, 11vw, 168px); }
.usp__bg { position: absolute; inset: -8% 0; z-index: -2; }
.usp__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.usp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0.78), rgba(17,17,17,0.62) 50%, rgba(17,17,17,0.86)); }
.usp__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; }
.usp__head .h2 { max-width: 20ch; }
.usp__head .lead { max-width: 460px; }
.marquee { margin-top: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.usp-card {
  flex: none; width: clamp(272px, 24vw, 340px); margin-right: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-5);
  border: 1px solid var(--line-inverse); border-radius: var(--radius-card);
  background: rgba(17,17,17,0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--hover-tone) var(--ease), background-color var(--hover-tone) var(--ease);
}
.usp-card:hover, .usp-card:focus-within { border-color: rgba(62,175,252,0.7); background: rgba(17,17,17,0.5); }
.usp-card svg { width: 30px; height: 30px; color: var(--neonblue); }
.usp-card h3 { margin-top: var(--space-5); font-size: 1.125rem; line-height: 1.45; }
.usp-card p { margin-top: 10px; font-size: 0.9375rem; line-height: 24px; color: var(--ink-inverse-2); }

/* ==========================================================================
   PANEL 6 — WHY CHOOSE US
   ========================================================================== */
/* mirrors About (5 / 0.6 / 6.4) so the two leaf images read as one system */
.why__grid { display: grid; grid-template-columns: 6.4fr 0.6fr 5fr; align-items: center; }
.why__media { grid-column: 1; position: relative; }
.why__frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--radius-leaf-flip); }
.why__photo { --depth-amp: var(--leaf-travel); position: absolute; left: 0; right: 0; top: calc(var(--leaf-travel) * -1 - 4px); bottom: calc(var(--leaf-travel) * -1 - 4px); will-change: transform; pointer-events: none; }
.why__frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 85% 30%; } /* whyus: psychologist foreground left, client's face clear of the rounded top-right */
.why__copy { grid-column: 3; }
.why__copy .h2 { max-width: 19ch; }
.why__copy > .prose { margin-top: var(--space-5); }
.why__list { margin: var(--space-6) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.why__list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
/* icon tile: black line icon on the Grey ground, a hairline ring, blue fill only when the row is hovered */
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grey); border: 1px solid var(--line); color: var(--black); transition: background-color var(--hover-tone) var(--ease), border-color var(--hover-tone) var(--ease), color var(--hover-tone) var(--ease); }
.why__icon svg { width: 26px; height: 26px; }
.why__list li:hover .why__icon { background: var(--neonblue); border-color: var(--neonblue); color: var(--white); }
.why__list h3 { font-size: 1.0625rem; line-height: 1.5; }
.why__list p { margin-top: 4px; font-size: 0.9375rem; line-height: 24px; color: var(--muted); }
.why__copy .btn { margin-top: var(--space-6); }
.why__copy .tags { margin-top: var(--space-5); } /* About: Professional Experience reuses this layout */

/* ==========================================================================
   PANEL 7 — TESTIMONIALS
   ========================================================================== */
/* full-bleed B&W photograph (Envato "Abstract View of Modern Staircase Architecture", after EJ's testimonialsample reference) under a dark wash */
.testi { position: relative; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; padding-block: clamp(96px, 10vw, 152px); }
.testi__bg { position: absolute; inset: -8% 0; z-index: -3; }
.testi__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.testi::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(17,17,17,0.84) 0%, rgba(17,17,17,0.72) 45%, rgba(17,17,17,0.86) 100%); }
/* brand leaf: one oversized, low-opacity accent bleeding off the top-right, beside the heading */
.testi__leaf { position: absolute; z-index: -1; top: -14%; right: -9%; width: clamp(360px, 36vw, 620px); height: auto; opacity: 0.1; pointer-events: none; user-select: none; }
.testi__head { max-width: 760px; }
.testi__head .h2 { max-width: 20ch; margin-inline: auto; }
.testi__viewport { margin-top: clamp(48px, 5vw, 72px); }
/* two cards per view on desktop, one on phones; scroll-snap + main.js arrows/drag/keys */
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--space-5)) / 2); gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:focus-visible { outline-offset: 4px; }
.testi-card {
  scroll-snap-align: start; margin: 0; display: flex; flex-direction: column;
  padding: clamp(32px, 3.4vw, 52px); border-radius: var(--radius-card);
  background: rgba(17, 17, 17, 0.42); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.testi-card__mark { width: 28px; height: 22px; color: var(--neonblue); flex: none; }
.testi-card__quote { margin: var(--space-4) 0 0; }
.testi-card__quote p { font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); line-height: 1.65; color: var(--white); max-width: 46ch; }
.testi-card__cite { margin-top: auto; padding-top: var(--space-5); display: flex; flex-direction: column; gap: 4px; font-style: normal; }
.testi-card__cite strong { font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; }
.testi-card__cite span { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-inverse-3); }
.testi-card__cite::before { content: ""; width: 32px; height: 1px; background: rgba(255,255,255,0.35); margin-bottom: var(--space-3); }
.testi__nav { margin-top: 40px; }

/* ==========================================================================
   PANEL 8 — FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 4fr 1fr 7fr; align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .lead { margin-top: var(--space-4); }
.faq__help { margin-top: var(--space-6); padding: var(--space-5); background: #000000; color: var(--white); border: 0; border-radius: 0; box-shadow: none; } /* pure black per EJ, 4 Nov (DS --black is #111) */
.faq__help p { font-size: 0.9375rem; color: var(--white); }
.faq__help a.phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 1.125rem; font-weight: 600; color: var(--white); text-decoration: none; }
.faq__help a.phone svg { width: 18px; height: 18px; color: var(--neonblue); }
.faq__list { grid-column: 3; border-top: 1px solid var(--black); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; }
.faq__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.125rem; line-height: 1.45; font-weight: 600;
}
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; color: var(--black); } /* bare plus/minus, no ring */
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a:not([hidden]) { display: grid; } /* never set display on the hidden state: it would re-expose closed answers */
.faq__a { grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 64px 28px 0; color: var(--muted); max-width: 680px; }
.faq__a p + p { padding-top: 0; margin-top: -12px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ==========================================================================
   PANEL 9 — LATEST NEWS
   ========================================================================== */
.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.news__actions { display: flex; align-items: center; gap: var(--space-4); }
.news__viewport { margin-top: var(--space-7); }
.news-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.news-track::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius-card); overflow: hidden; } /* borderless */
.news-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--media-zoom) var(--ease-out), filter 0.8s var(--ease); }
.news-card__body { flex: 1; display: flex; flex-direction: column; padding: var(--space-4) var(--space-4) 26px; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.news-card__meta::before { content: ""; width: 8px; height: 8px; border-radius: 64% 0; background: var(--neonblue); }
.news-card h3 { margin-top: 14px; font-size: 1.1875rem; line-height: 1.42; }
.news-card p { margin-top: 10px; font-size: 0.9375rem; line-height: 24px; color: var(--muted); }
/* Read More: no underline in any state; arrow slides + turns blue on whole-card hover/focus, like the service cards */
.news-card .link-arrow, .news-card:hover .link-arrow, .news-card:focus-within .link-arrow, .news-card:active .link-arrow { margin-top: auto; padding-top: var(--space-4); align-self: flex-start; background: none; text-decoration: none; }
.news-card .link-arrow .arrow { transition: transform var(--hover-move) var(--ease-out), color var(--hover-tone) var(--ease); }
.news-card:hover .news-card__img img, .news-card:focus-visible .news-card__img img { transform: scale(1.03); }
.news-card:hover .link-arrow .arrow, .news-card:focus-visible .link-arrow .arrow { transform: translateX(4px); color: var(--neonblue); }

/* ==========================================================================
   PANEL 10 — CTA
   ========================================================================== */
/* Two columns after the Gullickson final CTA: eyebrow / h2 / lead / phone left, enquiry form right.
   Equal padding top and bottom with both columns centred, so the taller column sets the rhythm. */
.cta { position: relative; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; padding-block: clamp(72px, 7.5vw, 128px); } /* trimmed 5 Nov: the shared form is taller than the old one */
.cta__bg { position: absolute; inset: -10% 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* heavier behind the copy, lighter on the right where the form panel carries its own ground */
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,0.86) 0%, rgba(17,17,17,0.76) 52%, rgba(17,17,17,0.62) 100%); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(56px, 7vw, 128px); align-items: center; }
.cta__copy { max-width: 600px; }
/* client-supplied two-leaf mark (mark.png, from the 5 Nov fav artwork): a small signature above the eyebrow */
.cta__mark { display: block; width: 48px; height: auto; margin-bottom: 18px; }
.cta .h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); line-height: 1.14; letter-spacing: -0.015em; }
.cta .lead { margin-top: var(--space-4); max-width: 500px; }
.cta__phone { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line-inverse); max-width: 500px; }
.cta__phone-lbl { display: block; font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-inverse-3); }
.cta__phone a { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; color: var(--white); text-decoration: none; font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; transition: color var(--hover-tone) var(--ease); }
.cta__phone svg { width: 24px; height: 24px; flex: none; color: var(--neonblue); transition: transform var(--hover-move) var(--ease-out); }
.cta__phone a:hover { color: var(--neonblue); }
.cta__phone a:hover svg { transform: rotate(-8deg); }

/* enquiry form: translucent dark glass like the testimonial cards, hairline edge, sharp corners */
.cta-form { margin: 0; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line-inverse); border-radius: var(--radius-card); background: rgba(17,17,17,0.52); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
.cta-form__title { font-size: 1.375rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; margin-bottom: var(--space-4); }
.cta-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.fld--full { grid-column: 1 / -1; }
.fld label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 0.75rem; line-height: 16px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-inverse-2); }
.fld__opt { font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--ink-inverse-3); }
.cta-form .field {
  display: block; width: 100%; height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.32); border-radius: var(--radius-card);
  background: rgba(255,255,255,0.03); color: var(--white); font: inherit; font-size: 1rem; line-height: 1.5; /* 16px: iOS Safari zooms the page on focus below 16px */
  transition: border-color var(--hover-tone) var(--ease), box-shadow var(--hover-tone) var(--ease), background-color var(--hover-tone) var(--ease);
}
.cta-form textarea.field { height: auto; min-height: 128px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.cta-form .field:hover { border-color: rgba(255,255,255,0.6); }
/* inset ring: the section is overflow:hidden, an outer outline would clip at the panel edge */
.cta-form .field:focus { outline: none; border-color: var(--neonblue); box-shadow: inset 0 0 0 1px var(--neonblue); background: rgba(255,255,255,0.05); }
.cta-form .field[aria-invalid="true"] { border-color: #ff9c9c; box-shadow: inset 0 0 0 1px #ff9c9c; }
.fld__err { font-size: 0.8125rem; line-height: 20px; color: #ffb4b4; }
.fld__err:not(:empty) { margin-top: 8px; }
.cta-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.cta-form__foot .btn { flex: 1 1 100%; }
.cta-form__status { font-size: 0.8125rem; line-height: 20px; color: var(--ink-inverse-2); }
.cta-form__status:empty { display: none; }
.cta-form__status.is-error { color: #ffb4b4; }
.cta-form__note { margin-top: var(--space-4); font-size: 0.75rem; line-height: 19px; color: var(--ink-inverse-3); }
.cta-form__note a { color: var(--ink-inverse-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); transition: color var(--hover-tone) var(--ease); }
.cta-form__note a:hover { color: var(--white); }

@media (max-width: 1240px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; }
}
@media (max-width: 1023px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .cta__copy, .cta .lead, .cta__phone { max-width: 640px; }
  .cta::before { background: linear-gradient(180deg, rgba(17,17,17,0.84), rgba(17,17,17,0.74)); }
}
@media (max-width: 640px) {
  .cta .h2 { font-size: 1.875rem; }
  .cta__mark { width: 42px; margin-bottom: 14px; }
  .cta__phone { margin-top: var(--space-5); padding-top: var(--space-4); }
  .cta-form { padding: 24px 20px 28px; }
  .cta-form__fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ==========================================================================
   PANEL 11 — FOOTER
   ========================================================================== */
/* Footer: brand introduction → contact + sitemap → SEO → legal.
   Black (not Navy) because the black-washed CTA photo sits directly above: the design system
   keeps its two darks out of the same view. */
.footer { position: relative; overflow: hidden; isolation: isolate; background: var(--black); color: var(--white); padding-top: clamp(48px, 5vw, 72px); } /* = .f-intro padding-bottom, so the intro sits balanced between footer top and its divider */
.footer a { text-decoration: none; }
.f-leaf { position: absolute; z-index: -1; top: -4%; left: -10%; width: clamp(420px, 40vw, 680px); height: auto; opacity: 0.06; pointer-events: none; user-select: none; }

/* 1 · brand introduction */
.f-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; padding-bottom: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line-inverse); }
.f-intro__statement { margin-top: 0; font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; max-width: 24ch; color: var(--white); text-wrap: balance; }
.f-intro__cta { justify-self: end; max-width: 380px; }
.f-intro__cta p { font-size: 0.9375rem; line-height: 26px; color: var(--ink-inverse-2); }
.f-intro__cta .btn { margin-top: var(--space-4); }

/* 2 · contact + sitemap: one row, columns sized to their content. Services (10 links) runs as two
   columns of five so every column ends at about the same depth. */
.f-main {
  display: grid; padding-block: clamp(48px, 5vw, 72px);
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr);
  grid-template-areas: "contact services practice resources";
  column-gap: clamp(32px, 4vw, 72px); row-gap: var(--space-6); align-items: start;
}
.f-block--contact { grid-area: contact; }
.f-col--services { grid-area: services; }
.f-col--practice { grid-area: practice; }
.f-col--resources { grid-area: resources; }
.f-label { margin: 0 0 18px; font-size: 0.75rem; line-height: 18px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--ink-inverse-3); }

.f-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; color: var(--white); }
.f-phone svg { width: 18px; height: 18px; color: var(--neonblue); flex: none; }
.f-phone span { background: linear-gradient(var(--neonblue), var(--neonblue)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--hover-move) var(--ease-out); }
.f-phone:hover span, .f-phone:focus-visible span { background-size: 100% 1px; }
.f-address { margin-top: var(--space-4); font-style: normal; font-size: 0.9375rem; line-height: 26px; color: var(--ink-inverse-2); }
.f-social { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-4); font-size: 0.9375rem; line-height: 22px; color: var(--ink-inverse-2); transition: color var(--hover-tone) var(--ease); }
.f-social svg { width: 18px; height: 18px; color: var(--neonblue); flex: none; }
.f-social span:not(.sr-only) { background: linear-gradient(var(--neonblue), var(--neonblue)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--hover-move) var(--ease-out); }
.f-social:hover, .f-social:focus-visible { color: var(--white); }
.f-social:hover span:not(.sr-only), .f-social:focus-visible span:not(.sr-only) { background-size: 100% 1px; }

.f-col li + li { margin-top: 11px; }
.f-col a { font-size: 0.9375rem; line-height: 22px; color: var(--ink-inverse-2); background: linear-gradient(var(--neonblue), var(--neonblue)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size var(--hover-move) var(--ease-out), color var(--hover-tone) var(--ease); }
.f-col a:hover, .f-col a:focus-visible { color: var(--white); background-size: 100% 1px; }
.f-col a.f-parent { color: var(--white); font-weight: 600; }
.f-col--services > ul { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: clamp(32px, 3.4vw, 56px); row-gap: 11px; }
.f-col--services > ul > li + li { margin-top: 0; }
.f-col ul ul { margin-top: 11px; padding-left: 14px; border-left: 1px solid var(--line-inverse); }

/* 3 · SEO copy: quiet, secondary, aligned to the content edge */
.f-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-5); border-top: 1px solid var(--line-inverse); }
.f-seo { font-size: 0.8125rem; line-height: 22px; color: var(--ink-inverse-3); max-width: 920px; }
/* back to top: square, outline only, no fill; brightens and the arrow lifts on hover */
.f-top {
  display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgba(255,255,255,0.24); border-radius: 0; color: var(--ink-inverse-2);
  transition: border-color var(--hover-tone) var(--ease), color var(--hover-tone) var(--ease);
}
.f-top svg { width: 18px; height: 18px; transition: transform var(--hover-move) var(--ease-out); }
.f-top:focus-visible { border-color: rgba(255,255,255,0.6); color: var(--white); outline-offset: 3px; }
.f-top:focus-visible svg { transform: translateY(-3px); }
@media (hover: hover) and (pointer: fine) {
  .f-top:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
  .f-top:hover svg { transform: translateY(-3px); }
}

/* 4 · legal + credit */
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-inverse); font-size: 0.8125rem; color: var(--ink-inverse-3); }
.f-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.f-legal a { color: var(--ink-inverse-2); }
.f-legal a:hover { color: var(--white); }
.f-credit { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-inverse-2); transition: color var(--hover-tone) var(--ease); }
.f-credit:hover { color: var(--white); }
.f-credit img { width: 13px; height: 16px; image-rendering: auto; }

/* floating booking CTA, lower left. White panel so the two-leaf mark (mark.png) reads;
   below the mobile menu (90) and header (100), above page content. */
.float-cta {
  position: fixed; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: flex; align-items: center; gap: 16px; max-width: min(440px, calc(100vw - 48px));
  padding: 14px 20px 14px 14px; border-radius: var(--radius-card); overflow: hidden;
  background: var(--white); color: var(--black); text-decoration: none;
  box-shadow: 0 18px 40px -18px rgba(17,17,17,0.45), 0 2px 8px rgba(17,17,17,0.08);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease-out), visibility 0s linear 0.6s, box-shadow var(--hover-move) var(--ease), background-color var(--hover-tone) var(--ease);
}
.float-cta.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* a thin brand-blue line draws across the base on hover, echoing the buttons' fill sweep */
.float-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--neonblue); transform: scaleX(0); transform-origin: right center; transition: transform var(--hover-move) var(--ease-out); }
.float-cta__mark { width: 40px; height: auto; flex: none; }
.float-cta__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.float-cta__title { font-size: 0.9375rem; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }
.float-cta__sub { font-size: 0.75rem; line-height: 17px; color: var(--muted); }
.float-cta .arrow { width: 18px; height: 18px; flex: none; margin-left: 4px; transition: transform var(--hover-move) var(--ease-out); }
.float-cta.is-on:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -20px rgba(17,17,17,0.5), 0 2px 8px rgba(17,17,17,0.08); }
.float-cta:hover::after, .float-cta:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.float-cta:hover .arrow, .float-cta:focus-visible .arrow { transform: translateX(4px); }
/* dark ring against the white panel, white halo so it still shows over the dark sections */
.float-cta:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white), 0 18px 40px -18px rgba(17,17,17,0.45); }
@media (max-width: 1023px) {
  .float-cta { left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); max-width: min(440px, calc(100vw - 40px)); gap: 14px; }
  .float-cta__mark { width: 36px; }
}
/* phones: a compact title-only pill, still a 56px touch target */
@media (max-width: 640px) {
  .float-cta { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); min-height: 56px; padding: 10px 16px 10px 10px; gap: 12px; }
  .float-cta__mark { width: 32px; }
  .float-cta__sub { display: none; }
  .float-cta__title { font-size: 0.875rem; }
  .float-cta .arrow { width: 16px; height: 16px; margin-left: 2px; }
}
@media print { .float-cta { display: none; } }


/* ==========================================================================
   Hover system: one timing scale for every pointer interaction.
   Movement --hover-move (0.6s) on --ease-out, colour --hover-tone (0.45s) on --ease; transform/opacity/colour only.
   Pointer-only rules sit in (hover: hover) so touch screens never keep a stuck state;
   keyboard focus gets the same cue through :focus-visible / :focus-within.
   ========================================================================== */

/* gentle underline: fades in while rising 3px into place (multi-line safe, no layout shift) */
.hdr__phone-num, .faq__help a.phone span, .dropdown__head a, .f-legal a,
.news-card h3 {
  text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: transparent; text-underline-offset: 8px;
  transition: text-decoration-color var(--hover-tone) var(--ease), text-underline-offset var(--hover-move) var(--ease-out), color var(--hover-tone) var(--ease);
}
.news-card h3 { text-decoration-thickness: 1.5px; text-underline-offset: 9px; }
.hdr__phone:focus-visible .hdr__phone-num, .faq__help a.phone:focus-visible span, .dropdown__head a:focus-visible, .f-legal a:focus-visible,
.news-card:focus-visible h3 { text-decoration-color: currentColor; text-underline-offset: 5px; }

/* FAQ question text eases right; a closed item's plus turns a quarter (stays a plus) */
.faq__qt { display: block; transition: transform var(--hover-move) var(--ease-out); }
.faq__icon { transition: transform var(--hover-move) var(--ease-out); }
.faq__q:focus-visible .faq__qt { transform: translateX(4px); }

/* Why Choose Us rows: copy eases right, description warms toward ink */
.why__list li > div { transition: transform var(--hover-move) var(--ease-out); }
.why__list p { transition: color var(--hover-tone) var(--ease); }

/* USP icon lift; testimonial citation line extends, quote mark lifts */
.usp-card svg { transition: transform var(--hover-move) var(--ease-out); }
.usp-card:focus-within svg { transform: translateY(-3px); }
.testi-card__mark { transition: transform var(--hover-move) var(--ease-out); }
.testi-card__cite::before { width: 56px; transform: scaleX(0.5715); transform-origin: left center; transition: transform 0.8s var(--ease-out), background-color var(--hover-tone) var(--ease); }

/* header logo softens a touch */
.hdr__logo img { transition: opacity var(--hover-tone) var(--ease); }
.hdr__logo:focus-visible img { opacity: 0.82; }

@media (hover: hover) and (pointer: fine) {
  .hdr__phone:hover .hdr__phone-num, .faq__help a.phone:hover span, .dropdown__head a:hover, .f-legal a:hover,
  .news-card:hover h3 { text-decoration-color: currentColor; text-underline-offset: 5px; }
  .faq__q:hover .faq__qt { transform: translateX(4px); }
  .faq__q[aria-expanded="false"]:hover .faq__icon { transform: rotate(90deg); }
  .why__list li:hover > div { transform: translateX(3px); }
  .why__list li:hover p { color: #3d4147; }
  .usp-card:hover svg { transform: translateY(-3px); }
  .testi-card:hover .testi-card__mark { transform: translateY(-3px); }
  .testi-card:hover .testi-card__cite::before { transform: scaleX(1); background-color: var(--neonblue); }
  .hdr__logo:hover img { opacity: 0.82; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1680px) {
  :root { --max: 1440px; }
}
/* About: below ~1240px the square leaf can't match the copy's height side by side, so stack */
@media (max-width: 1240px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .about__copy, .about__media { grid-column: 1; }
  .about__media { max-width: 620px; width: 100%; }
  :root { --leaf-travel: 50px; }
  .why__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .why__media, .why__copy { grid-column: 1; }
  .why__media { max-width: 620px; width: 100%; }
}
/* services: tablet — head stacks, list in two columns */
@media (max-width: 1023px) {
  .services__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .services__intro { padding-top: 0; max-width: 600px; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-band__lead { gap: 16px; }
  .svc-band__mark { width: 36px; }
  .services__bg img { object-position: 70% 40%; }
}
/* services: phones — one column list, band stacks, overlay evens out over the narrow crop */
@media (max-width: 640px) {
  .svc-list { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-6); }
  .svc-item { padding: 22px 0 20px; }
  .svc-band { flex-direction: column; align-items: stretch; padding: 28px 24px; margin-top: var(--space-6); }
  /* the button's grid column is narrower than "Compare all assessments" on one line below ~413px:
     wrap the label rather than clip it */
  .svc-band .btn { width: 100%; white-space: normal; text-align: center; }
  /* phones: beside the copy the mark would force an extra wrapped line, so it moves into the button
     row (left of the button) and the copy keeps its full width; band height is unchanged */
  .svc-band { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "copy copy" "mark btn"; column-gap: 14px; row-gap: var(--space-5); align-items: center; }
  .svc-band__lead { display: contents; }
  .svc-band__copy { grid-area: copy; }
  .svc-band__mark { grid-area: mark; width: 32px; }
  .svc-band .btn { grid-area: btn; }
  .services::before { background: linear-gradient(180deg, rgba(17,17,17,0.58), rgba(17,17,17,0.66)); } /* phones: copy sits over more of the photo */
  .services__bg img { object-position: 78% 40%; }
}
/* footer: tablet — contact | practice | resources, then Services across the width (still 2 × 5) */
@media (max-width: 1100px) {
  .f-main { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "contact practice resources" "services services services"; row-gap: var(--space-6); }
}
/* footer: phones, stacked in priority order (brand + CTA, contact, sitemap, SEO, legal) */
@media (max-width: 640px) {
  :root { --leaf-travel: 32px; } /* phones: reduced but still visible travel */
  .f-intro { grid-template-columns: 1fr; gap: var(--space-5); }
  .f-intro__cta { justify-self: start; }
  .f-intro__cta .btn { width: 100%; }
  .f-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "contact contact" "services services" "practice resources"; row-gap: 36px; padding-block: 40px; }
  .f-col--services > ul { display: block; } /* one column: the longer service names would wrap at half width */
  .f-col--services > ul > li + li { margin-top: 11px; }
  .f-meta { padding-block: var(--space-4); align-items: flex-start; gap: var(--space-4); }
  .f-top { width: 44px; height: 44px; }
  .f-bottom { padding-block: var(--space-4); gap: var(--space-3); }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .f-leaf { width: 340px; left: -120px; top: -40px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 88px; }
  .hdr__top, .is-solid .hdr__top { height: 88px; }
  .hdr__nav, .hdr__phone { display: none; }
  .hdr__toggle { display: block; }
  .hdr__logo, .is-solid .hdr__logo { width: 83px; height: 68px; }
  .site-header::before { inset: 0 0 -40px; }
  .menu-open .site-header::after { opacity: 1; }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .site-header.is-hidden { transform: none; }
}
@media (max-width: 1100px) {
  .hero-stack > .hero, .cover-stack > [data-cover-out] { --shrink: 0.06; }

  .faq__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .faq__list { grid-column: 1; }
  .faq__intro { position: static; max-width: 640px; }
  .usp__head { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .news-track { grid-auto-columns: calc((100% - var(--space-4)) / 2); }
}
@media (max-width: 840px) {
  .about__grid, .why__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .about__copy, .about__media, .why__media, .why__copy { grid-column: 1; }
  .about__media { max-width: 560px; width: 100%; }
  .why__media { max-width: 560px; }
}
@media (max-width: 640px) {
  :root { --section-y: var(--space-7); }
  .hero { min-height: max(600px, 92svh); }
  .hero__inner::after { min-height: 48px; }
  .hero__shade { background: linear-gradient(0deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.62) 50%, rgba(17,17,17,0.5) 100%); }
  .hero__media video, .hero__media img { object-position: 46% 35%; }
  /* both lines must fit the screen: "Psychological assessment" (10 Nov copy) is ~12.5 font-sizes wide */
  .hero h1 { font-size: min(6.8vw, 2.375rem); line-height: 1.14; }
  .hero__scroll { display: none; }
  .hero__cta .btn { width: 100%; }
  .hero-stack > .hero, .cover-stack > [data-cover-out] { --shrink: 0.05; }
  .hdr__top { column-gap: var(--space-3); }
  .hdr__cta { padding-inline: 14px; min-height: 40px; gap: 8px; }
  .hdr__cta .lbl-full { display: none; }
  .hdr__cta .lbl-short { display: inline; }
  .hdr__logo, .is-solid .hdr__logo { width: 75px; height: 61px; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .slider-ui { margin-top: var(--space-5); }
  .why__copy .btn { width: 100%; }
  .usp-card { width: 78vw; }
  .faq__q { font-size: 1.0625rem; padding: 22px 0; }
  .faq__a p { padding-right: 0; }
  .news-track { grid-auto-columns: 86%; }
  .testi-track { grid-auto-columns: 100%; }
  .testi__leaf { width: 280px; top: auto; right: auto; bottom: -90px; left: -110px; opacity: 0.08; } /* phones: clear of the heading */
  .testi__nav { margin-top: var(--space-5); }
  .news__head .btn { display: none; }
  .news__more { display: block !important; margin-top: var(--space-5); }
  .news__more .btn { width: 100%; }
}
.news__more { display: none; }

/* short desktop screens (laptops ≤ 860px tall): tighten the centred hero so it fits under the two-row header */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero__inner::after { min-height: 72px; }
  .hero__grid { gap: 24px; }
  .hero h1 { font-size: clamp(2.375rem, 6.4vh, 3.75rem); }
  .hero__lead { margin-top: 16px; }
  .hero__cta { margin-top: 24px; gap: 14px; }
}

@media (min-width: 1024px) and (max-height: 740px) {
  .hero__inner::before { min-height: 16px; }
  .hero__inner::after { min-height: 40px; }
  .hero__scroll { display: none; }
}

/* reduced motion */
/* ==================== INTERNAL PAGES ==================== */
/* Page hero: the homepage hero's dark B&W treatment at a shorter height (Resources, 5 Nov). */
/* Content is centred in the space below the header (equal space above and below), and every internal
   hero shares one height: header + a fixed content area. Taller content (long titles on phones) grows it. */
.page-hero { position: relative; display: flex; align-items: center; min-height: calc(var(--header-h) + clamp(340px, 42svh, 440px)); padding: calc(var(--header-h) + 56px) 0 56px;
  color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; text-align: center; }
.page-hero__bg { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 45%); } /* per-page focal point */
@media (max-width: 760px) { .page-hero__bg img { object-position: var(--pos-m, var(--pos, 50% 45%)); } } /* phones crop portrait photos differently */
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,0.82), rgba(17,17,17,0.6) 45%, rgba(17,17,17,0.85)); }
/* Soft variant (Our Team, team bios, About; 5 Nov): lighter grey photos under a lighter overlay so the
   mid-greys show, as the client asked. White hero text still clears 4.5:1 over the brightest areas. */
.page-hero--soft::before { background: linear-gradient(180deg, rgba(17,17,17,0.7), rgba(17,17,17,0.5) 45%, rgba(17,17,17,0.72)); }
/* Tall variant (About only, 5 Nov): about 19% taller on desktop (574 -> ~680px at a 900px-high screen),
   ~20% on tablet, a modest lift on phones. Content stays centred below the header. */
.page-hero--tall { min-height: calc(var(--header-h) + clamp(420px, 54svh, 580px)); }
@media (max-width: 760px) { .page-hero--tall { min-height: calc(var(--header-h) + clamp(400px, 52svh, 460px)); } }
.page-hero__title { font-size: clamp(2.125rem, 1.6rem + 1.6vw, 2.75rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; } /* DS h1: page titles; display is the home hero only */
.page-hero__lead { margin: var(--space-4) auto 0; max-width: 560px; font-size: var(--fs-body-lg); line-height: 30px; color: var(--ink-inverse-2); }

/* Resources: tabbed library (5 Nov). One sticky left panel (CSS only) holds the heading, text, the
   category tabs (a vertical sidebar list) and the CTA, so categories can be switched mid-scroll.
   The active tab gets a short blue bar plus black text, so state never relies on the blue alone. */
.res-tabs { display: flex; flex-direction: column; margin-top: var(--space-5); max-width: 440px; border-top: 1px solid var(--line); }
.res-tabs__tab { position: relative; appearance: none; -webkit-appearance: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding: 16px 0 16px 18px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 1rem; line-height: 22px; font-weight: 600; text-align: left; color: var(--muted); cursor: pointer; transition: color var(--hover-tone) var(--ease), padding-left var(--hover-move) var(--ease-out); }
.res-tabs__tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--neonblue); transform: scaleY(0); transform-origin: center; transition: transform var(--hover-move) var(--ease-out); }
.res-tabs__tab:hover { color: var(--black); }
.res-tabs__tab[aria-selected="true"] { color: var(--black); }
.res-tabs__tab[aria-selected="true"]::before { transform: scaleY(1); }
.res-tabs__tab:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.res-tabs__count { font-size: 0.75rem; line-height: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.res__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
/* Sticky panels sit below the solid header (144px when it slides back in on scroll up) plus 24px */
:root { --sticky-top: 168px; }
.res__intro { position: sticky; top: var(--sticky-top); }
/* Room for "Downloadable Resources" on two lines is reserved ABOVE the eyebrow (content bottom-aligned),
   so the heading always hugs its text and the tabs + CTA never move when the category changes. */
.res__head { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(44px + var(--fs-h2) * var(--lh-h2) * 2); }
.res__intro .lead { margin-top: var(--space-4); max-width: 440px; min-height: 90px; } /* both tabs' text fits, so nothing below it jumps */
.res__intro .btn { margin-top: var(--space-5); }
.res__note { margin-top: var(--space-5); max-width: 520px; font-size: var(--fs-small); line-height: 22px; color: var(--muted); }
.res-panel:focus-visible { outline: 2px solid var(--black); outline-offset: 8px; }
.res-panel.is-entering { animation: resIn 0.45s var(--ease) both; }
@keyframes resIn { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
.res-cards { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--black); }
.res-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.res-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--black); transform: scaleX(0); transform-origin: right center; transition: transform var(--hover-move) var(--ease-out); }
.res-card:hover::after, .res-card:focus-within::after { transform: scaleX(1); transform-origin: left center; }
.res-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-h3); line-height: var(--lh-h3); }
.res-card__tag { padding: 4px 8px; border: 1px solid var(--control-border); font-size: 0.6875rem; line-height: 1; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.res-card__desc { margin-top: 10px; max-width: 54ch; font-size: var(--fs-body); line-height: 26px; color: var(--muted); }
.res-card__meta { display: block; margin-top: 12px; font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); overflow-wrap: anywhere; }
.res-card--sample .res-card__meta { color: var(--muted); }
.res-card__cta .link-arrow, .res-card__cta .link-arrow:hover, .res-card__cta .link-arrow:focus-visible, .res-card__cta .link-arrow:active, .res-card__cta .link-arrow:visited { white-space: nowrap; padding-bottom: 0; background: none; text-decoration: none; } /* no underline on resource CTAs (5 Nov); the arrow movement is the hover */
.link-arrow .arrow--ext { transform: rotate(-45deg); }
.link-arrow:hover .arrow--ext, .link-arrow:focus-visible .arrow--ext { transform: translate(3px, -3px) rotate(-45deg); }
.link-arrow:hover .arrow--dl, .link-arrow:focus-visible .arrow--dl { transform: translateY(3px); }
.link-arrow.is-disabled { color: var(--muted); cursor: not-allowed; }
.link-arrow.is-disabled:hover .arrow { transform: none; }
.link-arrow.is-disabled:hover .arrow--ext { transform: rotate(-45deg); }
/* Tablet keeps the sticky sidebar while there is room for both columns */
@media (max-width: 1023px) {
  .res__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); }
  .res__intro { top: 104px; }
  .res-card { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
/* Below 900px: one column, no sticky, tabs side by side above the cards */
@media (max-width: 899px) {
  .res__grid { grid-template-columns: minmax(0, 1fr); }
  .res__intro { position: static; }
  .res__intro .lead, .res__head { min-height: 0; }
  .res-tabs { flex-direction: row; max-width: none; border-bottom: 1px solid var(--line); }
  .res-tabs__tab { flex: 1 1 0; border-bottom: 0; }
  .res-tabs__tab + .res-tabs__tab { border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .res-tabs__tab { padding: 14px 12px 14px 16px; font-size: 0.9375rem; }
  .res-card { padding: 26px 0; }
}
@media (prefers-reduced-motion: reduce) { .res-panel.is-entering { animation: none; } .res-tabs__tab, .res-tabs__tab::before { transition: none; } }

/* ---------- Internal pages: shared components (5 Nov) ---------- */
.nav__link[aria-current]::after, .nav__link.is-current::after { transform: scaleX(1); }
.dropdown a[aria-current="page"] { color: var(--black); font-weight: 600; }

.crumbs { margin-bottom: var(--space-5); }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0; padding: 0; list-style: none; font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-inverse-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 12px; color: rgba(255,255,255,0.35); } /* trailing, so a wrapped line never starts with a slash */
.crumbs a { color: var(--ink-inverse-2); text-decoration: none; transition: color var(--hover-tone) var(--ease); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* Head row used by most internal sections: eyebrow + heading left, intro or action right */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: var(--space-5) clamp(40px, 6vw, 120px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { max-width: 22ch; }
.section-head > .btn { justify-self: end; }
.section-head .lead { margin: 0; }

.prose--lg p { font-size: var(--fs-body-lg); line-height: 31px; }

/* Editorial split: copy + image. One leaf crop per page; the photo drifts inside its frame. */
.split__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr); align-items: center; }
.split__copy { grid-column: 1; }
.split__media { grid-column: 3; }
.split--flip .split__copy { grid-column: 3; grid-row: 1; }
.split--flip .split__media { grid-column: 1; grid-row: 1; }
.split__copy .prose { margin-top: var(--space-4); }
.split__copy .link-arrow, .split__copy .tags { margin-top: var(--space-5); }
.split__copy .prose { max-width: 560px; }
.split__img { position: relative; margin: 0; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 0; }
.split__img img { position: absolute; left: 0; width: 100%; top: -8%; height: 116%; object-fit: cover; }

.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
.facts dt { font-size: 0.75rem; line-height: 20px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 0.9375rem; line-height: 22px; font-weight: 600; }
.facts dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--control-border); }
.facts dd a:hover { text-decoration-color: currentColor; }
.facts--row { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); margin-top: var(--space-6); }
.facts--row > div { display: block; padding: 20px 24px 20px 0; }
.facts--row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts--row dd { margin-top: 8px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 8px 14px; border: 1px solid var(--control-border); font-size: 0.8125rem; line-height: 18px; font-weight: 500; letter-spacing: 0.04em; }

/* Numbered points (approach, before you visit) */
.approach { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.approach li { position: relative; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.approach li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--neonblue); transform: scaleX(0); transform-origin: left; transition: transform var(--hover-move) var(--ease-out); }
.approach li:hover::before { transform: scaleX(1); }
.approach__n { display: block; font-size: 0.75rem; line-height: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.approach h3 { margin-top: var(--space-3); font-size: 1.125rem; line-height: 1.4; }
.approach p { margin-top: 10px; font-size: 0.9375rem; line-height: 25px; color: var(--muted); }
.approach--mini { grid-template-columns: minmax(0, 1fr); }
.approach--mini li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 18px 0; }
.approach--mini .approach__n { grid-row: span 2; padding-top: 3px; }
.approach--mini h3 { margin-top: 0; font-size: 1rem; }
.approach--mini p { margin-top: 4px; font-size: 0.875rem; line-height: 22px; }
.approach-mini { margin-top: var(--space-6); }
.approach-mini > .eyebrow { margin-bottom: var(--space-3); }
.approach--visit { grid-column: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Team: circular greyscale portraits (design system), placeholders until the photos arrive */
.team-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.team-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.portrait { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; border-radius: 0; overflow: hidden; background: #e4e4e2; isolation: isolate; } /* sharp 4:5 frames (5 Nov; was circular) */
.portrait img { position: absolute; width: 34%; height: auto; opacity: 0.12; right: 14%; bottom: 14%; }
.portrait b { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: 0.08em; color: rgba(17,17,17,0.42); }
.portrait--lg { max-width: none; }
.portrait--photo img { inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 1; } /* colour-reveal greys it; colour on hover */
.team-card .portrait { transition: transform var(--hover-move) var(--ease-out); }
.team-card:hover .portrait { transform: scale(0.97); }
.team-card__body { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: var(--space-5); flex: 1; text-align: center; } /* centred under the photo (5 Nov) */
.team-card__name { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.team-card__role { font-size: 0.9375rem; line-height: 22px; font-weight: 500; }
.team-card__meta { font-size: 0.8125rem; line-height: 20px; color: var(--muted); }
.team-card .link-arrow { margin-top: auto; padding-top: var(--space-4); align-self: center; }
.section--grey .portrait { background: #dcdcda; }

/* Team bio */
.bio__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr); align-items: start; }
.bio__aside { grid-column: 1; position: sticky; top: 120px; }
.bio__aside .facts { margin-top: var(--space-6); }
.bio__aside .btn { margin-top: var(--space-5); }
.bio__body { grid-column: 3; }
.bio__body .prose { margin-top: var(--space-5); max-width: 720px; }

/* Services overview: editorial cards, B&W photo to colour on hover, offset second column */
.svc-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(28px, 4vw, 64px); }
.svc-cards > li:nth-child(even) { margin-top: clamp(40px, 6vw, 96px); margin-bottom: calc(clamp(40px, 6vw, 96px) * -1); } /* margin, not transform: the reveal animates transform */
.svc-cards { padding-bottom: clamp(40px, 6vw, 96px); }
.svc-card { display: block; color: inherit; text-decoration: none; }
.svc-card__img { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--grey); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: filter 0.8s var(--ease), transform 1.2s var(--ease-out); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__body { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding-top: var(--space-5); border-top: 0; }
.svc-card__n { grid-row: span 3; padding-top: 6px; font-size: 0.75rem; line-height: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.svc-card__name { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.svc-card__lead { margin-top: 10px; font-size: 0.9375rem; line-height: 25px; color: var(--muted); max-width: 46ch; }
.svc-card .link-arrow { margin-top: var(--space-4); justify-self: start; }

/* Service page: about + facts, steps, light service list */
.svc-about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr); align-items: start; }
.svc-about__head { grid-column: 1; position: sticky; top: 120px; }
.svc-about__body { grid-column: 3; }
.svc-about__body .prose { max-width: 760px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); border-top: 1px solid var(--black); }
.steps li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps__n { font-size: 0.75rem; line-height: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.steps p { font-size: 1.0625rem; line-height: 1.55; font-weight: 500; }
.svc-list--light { margin-top: 0; }
.svc-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-item--light { color: var(--black); border-bottom-color: var(--line); }
.svc-item--light .svc-item__meta { color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 0.875rem; line-height: 22px; font-weight: 400; }
.svc-item--light .svc-item__arrow { color: var(--muted); }
.svc-list--light > li:first-child .svc-item, .svc-list--light > li:nth-child(-n+3) .svc-item { border-top: 1px solid var(--black); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: clamp(48px, 7vw, 128px); align-items: start; }
.contact__info .lead { margin-top: var(--space-4); max-width: 460px; }
.contact-list { margin: var(--space-6) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 480px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--black); }
.contact-list__lbl { display: block; font-size: 0.75rem; line-height: 18px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list address, .contact-list__val { display: inline-block; margin-top: 6px; font-style: normal; font-size: 1.0625rem; line-height: 1.5; font-weight: 600; color: var(--black); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a { background: linear-gradient(var(--black), var(--black)) left bottom / 0 1px no-repeat; transition: background-size var(--hover-move) var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }
.cta-form--solid { background: var(--black); border-color: var(--black); color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select select option { color: var(--black); }
.select svg { position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); color: var(--ink-inverse-2); pointer-events: none; }

/* Find us: full-width map, address bar, then Parking / Train / Tram as one continuous band */
.map { position: relative; height: 500px; background: #d9d9d7; border-radius: 0; overflow: hidden; } /* 5 Nov: fixed 500px (was 16:7) */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.02); transition: filter 0.6s var(--ease); }
.map:hover iframe, .map:focus-within iframe { filter: grayscale(0); }
.map__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.map__bar address { display: inline-flex; align-items: center; gap: 12px; font-style: normal; font-weight: 600; }
.map__bar address svg { width: 20px; height: 20px; flex: none; }
/* Getting Here cards (5 Nov): near-black, sharp, borderless; icon + heading on top, verified text below.
   Hover: background softens to charcoal and the icon turns brand blue. Not clickable (no destinations). */
.transport { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: stretch; }
.transport li { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 2.6vw, 40px); background: #171717; color: var(--white); border-radius: 0; transition: background-color var(--hover-tone) var(--ease); }
.transport__head { display: flex; align-items: center; gap: 14px; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line-inverse); }
.transport__icon { width: 24px; height: 24px; flex: none; color: var(--white); transition: color var(--hover-tone) var(--ease); }
.transport h3 { font-size: 1.125rem; line-height: 1.4; color: var(--white); }
.transport p { margin-top: var(--space-4); font-size: 0.9375rem; line-height: 26px; color: var(--ink-inverse-2); }
@media (hover: hover) and (pointer: fine) {
  .transport li:hover { background: #222222; }
  .transport li:hover .transport__icon { color: var(--neonblue); }
}

@media (max-width: 1240px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .team-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach--mini { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head > .btn { justify-self: start; }
  .split__grid, .bio__grid, .svc-about { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .split__copy, .split__media, .split--flip .split__copy, .split--flip .split__media, .bio__aside, .bio__body, .svc-about__head, .svc-about__body { grid-column: 1; grid-row: auto; }
  .split__media { max-width: 640px; }
  .bio__aside, .svc-about__head { position: static; }
  .bio__aside { display: grid; grid-template-columns: 200px 1fr; gap: 0 var(--space-6); align-items: start; }
  .bio__aside > .colour-reveal { grid-row: span 2; }
  .bio__aside .facts { margin-top: 0; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__grid .cta-form { max-width: 640px; }
  .approach--visit { grid-column: 1; }
  .svc-list--3 { grid-template-columns: minmax(0, 1fr); }
  .svc-list--light > li:nth-child(n+2) .svc-item { border-top: 0; }
  .map { height: 500px; }
}
@media (max-width: 760px) {
  .svc-cards { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .svc-cards > li:nth-child(even) { margin: 0; }
  .team-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts--row { grid-template-columns: minmax(0, 1fr); }
  .facts--row > div, .facts--row > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
  .facts--row dd { margin-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .approach, .approach--visit { grid-template-columns: minmax(0, 1fr); }
  .team-grid { gap: var(--space-6) var(--space-4); }
  .team-card__name { font-size: 1.125rem; }
  .bio__aside { grid-template-columns: minmax(0, 1fr); }
  .bio__aside .portrait { max-width: 200px; }
  .bio__aside > .colour-reveal { margin-bottom: var(--space-5); }
  .map { height: 380px; }
  .transport { grid-template-columns: minmax(0, 1fr); }
  .crumbs { margin-bottom: var(--space-4); }
  /* long labels ("Book a cognitive assessment") were wider than a 320px screen */
  .section-head > .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ---------- Assessment process timeline (About + service pages) ----------
   Light editorial timeline (5 Nov rework): grey band, hairline track, the brand two-leaf mark as each
   stage marker (5 Nov, replacing small squares), small step labels. main.js writes --p (0..1) from
   scroll and toggles .is-active as the line reaches each mark. Upcoming marks are greyed and faded,
   active marks show the brand colours; state is also carried by text colour. Steps stay readable
   before they activate. */
/* 5 Nov (later): band set to the base text colour (#111) at EJ's request; text, track and marks use
   their on-dark values. The blue line now sits on black, which suits its contrast better too. */
.process { background: var(--black); color: var(--white); }
.process__head { max-width: 640px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.process__head .lead { margin: var(--space-3) auto 0; max-width: 540px; }
.process__timeline { position: relative; --p: 0; }
.process__track { position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-inverse); } /* through the mark's vertical centre (23px tall) */
.process__bar { position: absolute; left: 0; right: 0; top: -0.5px; height: 2px; background: var(--neonblue); transform-origin: left center; transform: scaleX(var(--p)); }
.process__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.process__step { position: relative; padding-top: 48px; }
/* the leaf mark itself is the marker: no background or container behind it (5 Nov, EJ). The track
   runs underneath it; upcoming marks are dimmed with a filter. */
.process__node { position: absolute; left: 0; top: 0; width: 24px; height: auto; filter: grayscale(1) brightness(0.6); transition: filter 0.5s var(--ease); }
.process__n { display: block; font-size: 0.75rem; line-height: 18px; font-weight: 600; letter-spacing: 0.16em; color: var(--ink-inverse-3); transition: color 0.6s var(--ease); }
.process__title { margin-top: 10px; font-size: var(--fs-h3); line-height: var(--lh-h3); }
.process__text { margin-top: 10px; max-width: 34ch; font-size: 0.9375rem; line-height: 25px; color: var(--ink-inverse-2); }
.process__title, .process__text { opacity: 0.6; transform: translate3d(0, 6px, 0); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); }
.process__step.is-active .process__node { filter: none; }
.process__step.is-active .process__n { color: var(--white); }
.process__step.is-active .process__title, .process__step.is-active .process__text { opacity: 1; transform: none; }
.process__step.is-active .process__text { transition-delay: 0.06s; }
@media (max-width: 760px) {
  .process__steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .process__track { left: 11.5px; right: auto; top: 11px; bottom: 11px; width: 1px; height: auto; } /* through the mark's horizontal centre */
  .process__bar { left: -0.5px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: center top; transform: scaleY(var(--p)); }
  .process__step { padding: 0 0 0 42px; }
  .process__node { top: -2.5px; } /* mark centred on the 01 / 02 / 03 label line */
}
@media (prefers-reduced-motion: reduce) {
  .process__bar { transform: none; }
  .process__title, .process__text { opacity: 1; transform: none; }
}

/* ---------- Team: sharp-cornered 4:5 portraits, full grid, preview carousel, profile (5 Nov) ---------- */
/* Full team grid: plain CSS grid, so an incomplete last row starts at the left column (5 Nov) */
.team-grid--all { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: start; }
.portrait--empty { background: #ebebe9; }
.portrait--empty img { position: static; width: 22%; opacity: 0.35; }
.portrait__note { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 0.6875rem; line-height: 1; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.team-card--placeholder .portrait { transform: none !important; }
.team-carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.team-track { margin: 0; padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(20px, 2.5vw, 32px)) / 4); gap: clamp(20px, 2.5vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.team-track::-webkit-scrollbar { display: none; }
.team-track > li { scroll-snap-align: start; }
.team-track:focus-visible { outline: 2px solid var(--black); outline-offset: 6px; }
.team-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }

.profile__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr); align-items: start; }
.profile__aside { grid-column: 1; position: sticky; top: var(--sticky-top); }

/* Profile hero (5 Nov, Figureworks layout): black band, breadcrumb, name + role in the right column.
   The portrait panel (photo + CTAs) in the section below is pulled up by --overlap so its top lines up
   with the name, then continues into the white section. One photo, still the sticky panel. */
:root { --overlap: 196px; } /* +40px with the taller band, so the photo still lines up with the name */
.profile-hero { background: var(--black); color: var(--white); padding: calc(var(--header-h) + 36px) 0 calc(clamp(48px, 4.5vw, 64px) + 40px); } /* +40px (5 Nov) */
.crumbs--left ol { justify-content: flex-start; }
.crumbs--left { margin-bottom: 0; }
.profile-hero__grid { margin-top: var(--space-6); }
.profile-hero__text { grid-column: 3; }
.profile-hero__name { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; }
.profile-hero__role { margin-top: 12px; font-size: 1.125rem; line-height: 1.5; font-weight: 500; color: var(--ink-inverse-2); }
.profile--overlap { padding-top: var(--space-7); }
.profile--overlap .profile__aside { margin-top: calc(-1 * (var(--space-7) + var(--overlap))); z-index: 2; }
.profile__block.profile__block--first { border-top: 0; padding-top: 0; } /* Bio opens the panel directly under the band */
.profile__photo .portrait { max-height: max(300px, calc(100svh - var(--sticky-top) - 220px)); } /* photo + both buttons fit a short laptop screen */
.profile__actions { display: flex; flex-direction: column; gap: 12px; margin-top: var(--space-4); }
.btn--block { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 6px; column-gap: 10px; padding-inline: 16px; } /* the "Link to come" tag wraps instead of clipping on narrow screens */
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn__tag { margin-left: 4px; padding: 3px 6px; border: 1px solid currentColor; font-size: 0.625rem; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.btn.is-disabled { cursor: default; color: var(--muted); border-color: var(--line); } /* static, not a control: no pointer, no hover change */
.btn.is-disabled::before { display: none; }
.btn.is-disabled:hover { color: var(--muted); border-color: var(--line); }
.profile__body { grid-column: 3; }
.profile__intro { padding-bottom: var(--space-6); }
.profile__name { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.profile__role { margin-top: 10px; font-size: 1.0625rem; line-height: 1.5; font-weight: 500; color: var(--muted); }
.profile__lead { margin-top: var(--space-5); max-width: 64ch; font-size: var(--fs-body-lg); line-height: 31px; }
.profile__block { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--space-3) var(--space-6); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.profile__h { font-size: 0.75rem; line-height: 20px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); padding-top: 4px; }
.profile__block > :not(.profile__h) { grid-column: 2; }
.profile__block .prose { max-width: 64ch; }
.profile__list { margin: 0; }
.profile__list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile__list > div:first-child { padding-top: 0; }
.profile__list dt { font-size: 0.875rem; line-height: 22px; color: var(--muted); }
.profile__list dd { margin: 0; font-size: 0.9375rem; line-height: 22px; font-weight: 600; }
.profile__list dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--control-border); }
.profile__areas { margin: 0 0 var(--space-5); padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.profile__areas li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 26px; }
/* 1024-1099px: the two columns are ~134px, narrower than "Neurodevelopmental" (page scrolled sideways
   by up to 15px), so stack them until there is room */
/* 641-679px is the same squeeze just above the 640px edge (up to 10px of sideways scroll at 641-660px) */
@media (min-width: 641px) and (max-width: 679px), (min-width: 1024px) and (max-width: 1099px) { .profile__areas { grid-template-columns: minmax(0, 1fr); } }
.profile__areas li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--neonblue); }
.profile__areas + .profile__list > div:first-child { padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 1240px) {
  .team-grid--all { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .team-grid--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-track { grid-auto-columns: calc((100% - clamp(20px, 2.5vw, 32px)) / 2); }
  .profile__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .profile__aside, .profile__body { grid-column: 1; }
  .profile__aside { position: static; display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--space-5); align-items: end; }
  .profile__photo .portrait { max-height: none; }
  .profile__actions { margin-top: 0; max-width: 340px; }
  /* overlap on tablet/phone: name and role sit clear above; the photo rises into the band's padded base */
  :root { --overlap: 160px; } /* +40px: band 40px taller, photo rises 40px further, gap under the role unchanged */
  .profile-hero { padding-bottom: calc(var(--overlap) + var(--space-5)); }
  .profile-hero__text { grid-column: 1; }
  .profile-hero__grid { margin-top: var(--space-5); }
  .profile--overlap .profile__aside { position: relative; top: auto; margin-top: calc(-1 * (var(--space-7) + var(--overlap))); }
}
@media (max-width: 640px) {
  .team-grid--all { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .team-track { grid-auto-columns: 80%; }
  .profile__aside { grid-template-columns: minmax(0, 1fr); }
  .profile__photo { max-width: 340px; }
  .profile__block { grid-template-columns: minmax(0, 1fr); padding: var(--space-5) 0; }
  .profile__block > :not(.profile__h) { grid-column: 1; }
  .profile__areas { grid-template-columns: minmax(0, 1fr); }
}


@media (prefers-reduced-motion: reduce) {
  .split__img img { top: 0; height: 100%; }
  .svc-item:hover .svc-item__arrow, .svc-item:focus-visible .svc-item__arrow { transform: rotate(-45deg) !important; }
  .f-top:hover svg, .f-top:focus-visible svg { transform: none !important; }
  .about__depth, .about__photo, .why__photo { transform: none !important; }
  .faq__q:hover .faq__qt, .faq__q:focus-visible .faq__qt, .faq__q:hover .faq__icon, .why__list li:hover > div, .usp-card:hover svg, .usp-card:focus-within svg, .testi-card:hover .testi-card__mark { transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__media { transform: none; }
  .hero-stack > .hero, .cover-stack > [data-cover-out] { --shrink: 0; }
  .hero__dim, .cover-dim { opacity: 0; }
  .cover-content { opacity: 1; }
  .hero__inner { opacity: 1; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .news-track { scroll-behavior: auto; }
  .float-cta .arrow, .float-cta.is-on:hover, .cta__phone a:hover svg, .link-arrow .arrow, .news-card:hover .link-arrow .arrow { transform: none !important; }
}

/* ==================== Legal pages (Privacy Policy, Terms of Use), added 12 Nov 2026 ==================== */
.legal__grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 760px); gap: clamp(32px, 6vw, 112px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--space-6) + 80px); }
.legal__toc-h { font-size: var(--fs-eyebrow); line-height: 20px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }
.legal__toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.legal__toc li a { display: block; padding: 6px 0 6px var(--space-3); font-size: var(--fs-small); line-height: 1.5; color: var(--muted); text-decoration: none; transition: color var(--hover-tone) var(--ease); }
.legal__toc li a:hover, .legal__toc li a:focus-visible { color: var(--black); text-decoration: underline; }
.legal__body { min-width: 0; overflow-wrap: anywhere; }
.legal__draft { margin-bottom: var(--space-5); padding: var(--space-3) var(--space-4); border-left: 4px solid var(--neonblue); background: var(--grey); font-size: var(--fs-small); line-height: 1.6; }
.legal__meta { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-3); }
.legal__intro { font-size: var(--fs-body-lg); line-height: 30px; color: var(--black); }
.legal__body h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; margin-top: var(--space-7); margin-bottom: var(--space-3); scroll-margin-top: 120px; }
.legal__body p, .legal__body li { color: var(--muted); line-height: 1.75; }
.legal__body p + p, .legal__body ul + p, .legal__body p + ul { margin-top: var(--space-3); }
.legal__body ul { padding-left: 1.25rem; list-style: disc; }
.legal__body li + li { margin-top: var(--space-2); }
.legal__body a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.legal__body em { font-style: italic; }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
}

/* Thank you + 404 (12 Nov 2026): buttons under the hero lead, the only panel on those pages */
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 480px) { .page-hero__actions .btn { width: 100%; justify-content: center; } }

/* ---------- BugHerd batch, 16 Nov 2026 ---------- */
/* Footer: brand statement and sentence removed (#18, #19, #31, #32); Book button moved under Resources (#19, #33) */
.footer .container > .f-main:first-child { padding-top: 0; }
@media (min-width: 1101px) { .f-main { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 2fr) max-content; } }
.f-col a.f-book { margin-top: var(--space-5); padding: 14px 26px; font-size: 0.9375rem; line-height: 20px; color: var(--btn-fg); background: var(--btn-bg); }
.f-col a.f-book:hover, .f-col a.f-book:focus-visible { color: var(--btn-hover-fg, var(--white)); background: var(--btn-bg); }
/* FAQ answer that lists durations (homepage #14) */
.faq__a ul { margin: -14px 0 0; padding: 0 64px 28px 20px; color: var(--muted); max-width: 680px; }
.faq__a ul li + li { margin-top: 6px; }
@media (max-width: 767px) { .faq__a ul { padding-right: 0; } }
/* Resources as a grid of boxes, all visible at once (client email 17 Nov; replaces the #143 carousel) */
.res-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); margin: var(--space-6) 0 0; padding: 0; list-style: none; border: 0; }
.res-track .res-card { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 24px; height: 100%; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.res-track .res-card::after { bottom: 0; }
.res-track .res-card__desc { max-width: none; }
.res-track .res-card__cta { align-self: flex-start; }
.resources .res__note { margin-top: var(--space-5); }
.res__book { margin-top: var(--space-5); }
@media (max-width: 1199px) { .res-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .res-track { grid-template-columns: minmax(0, 1fr); } .res-track .res-card { padding: 24px; } }
@media (max-width: 640px) {
  .f-main { grid-template-columns: minmax(0, 1fr) max-content; }
  .f-col a.f-book { min-height: 44px; padding: 10px 18px; font-size: 0.875rem; gap: 10px; }
}

/* ---------- Client email 18 Nov 2026 (Help Scout 3518140797) ---------- */
/* 1. Body text justified in every section, not left aligned. Centred blocks (heroes, centred section
   heads, team cards) stay centred: justifying those would change the approved layout, not the body text.
   No auto-hyphenation, so client wording (e.g. "psycho-legal") never gains or loses a hyphen on screen. */
main p { text-align: justify; }
main :is(.page-hero, .hero__grid, .section__head--center, .process__head, .team-card__body) p { text-align: center; }
/* Phones go back to left aligned (18 Nov, Wayde's call): at 390px justified Montserrat spread lines like
   "assessment, combining clinical" across the full width with large gaps. Justified from 768px up. */
@media (max-width: 767px) { main p { text-align: start; } }
/* 4(a). "(scroll down for directions)" under the address on Contact */
.contact-list a.contact-list__note { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; color: var(--muted); }
