/* ==========================================================================
   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); }

/* round icon buttons (carousels) */
.icon-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--control-border); background: transparent; cursor: pointer;
  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: 116px; height: 104px; transition: width 0.4s var(--ease), height 0.4s var(--ease); }
.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: 80px; 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; }
.hdr__phone-num { font-weight: 600; }
.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; }
/* framed on the speaking client (face ≈ 59% across, 37% down in heromov1) */
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.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: 62% 40%; }
.services::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.6) 45%, rgba(17,17,17,0.86) 100%), linear-gradient(180deg, rgba(17,17,17,0.2) 0%, rgba(17,17,17,0) 40%, rgba(17,17,17,0.35) 100%); }

/* 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(3, 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; }
/* finalcta mark 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 */

/* 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: 9.59cqi; }
.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 */
}

.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); }

/* ==========================================================================
   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 { display: grid; 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; }
.faq__a[hidden] { display: grid; }

/* ==========================================================================
   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, 9vw, 152px); }
.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 (finalcta.png, 74x70 native): 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: 0.9375rem; line-height: 1.5;
  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-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 finalcta mark's black leaf (#111) 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; } }

/* toast for pending pages */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 24px);
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--black); color: var(--white); font-size: 0.875rem; line-height: 20px; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.45s var(--ease-out);
}
.toast b { color: var(--neonblue); font-weight: 600; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   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); }
  .svc-band .btn { width: 100%; }
  /* 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.72), rgba(17,17,17,0.82)); }
  .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: 76px; 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: 61% 40%; }
  /* both lines must fit the screen: "Experts in Family Law" is ~11 font-sizes wide */
  .hero h1 { font-size: min(7.6vw, 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: 68px; 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 */
@media (prefers-reduced-motion: reduce) {
  .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; }
}
