/* MC Accountants: interim landing page
   Mobile-first. Breakpoints: 40em (640), 48em (768), 64em (1024), 80em (1280). */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-600-normal.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;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.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;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.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;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.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;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #283991;
  --blue: #2060A8;
  --sky: #24A0D9;
  --ink: #1A1D24;
  --slate: #5F6368;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --error: #B42318;
  --success: #1E7A46;
  --line: #D9E0EA;

  --navy-rgb: 40 57 145;
  --deep-rgb: 17 27 77; /* darker, more neutral navy for photo overlays */
  --grad: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--sky) 100%);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-btn: 10px;
  --shadow-sm: 0 1px 2px rgb(26 29 36 / 0.06), 0 2px 10px rgb(26 29 36 / 0.05);
  --shadow: 0 2px 6px rgb(26 29 36 / 0.05), 0 16px 40px rgb(40 57 145 / 0.10);
  --shadow-lg: 0 4px 10px rgb(26 29 36 / 0.06), 0 24px 60px rgb(40 57 145 / 0.16);

  --gutter: 16px;
  --section-pad: 64px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}
@media (min-width: 48em) { :root { --gutter: 24px; } }
@media (min-width: 64em) { :root { --section-pad: 96px; --header-h: 80px; --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) {
  /* Added by JS after load, so arriving at /#section jumps straight there */
  html.smooth-scroll { scroll-behavior: smooth; }
  :root { interpolate-size: allow-keywords; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 64em) { body { font-size: 1.125rem; } }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 1.6vw + 1.3rem, 2.75rem); font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
address { font-style: normal; }
a[href^="tel:"], .step::before { font-variant-numeric: tabular-nums; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--white); }
#main:focus { outline: none; }

.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: var(--gutter); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.nowrap { white-space: nowrap; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--sky); flex: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.swoosh-fill { fill: var(--swoosh-fill, url(#mc-grad)); }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.i-solid { fill: currentColor; stroke: none; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 40px; pointer-events: none; }
.anchor-top { position: absolute; top: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.3em;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--lg { min-height: 54px; padding: 0.8em 1.5em; font-size: 1.0625rem; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgb(32 96 168 / 0.25); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 8px 22px rgb(10 18 60 / 0.25); }
.btn--light:hover { background: var(--mist); color: var(--navy); }
.btn--ghost { background: rgb(255 255 255 / 0.06); color: var(--white); border-color: rgb(255 255 255 / 0.75); }
.btn--ghost:hover { background: rgb(255 255 255 / 0.16); color: var(--white); border-color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--blue);
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 0.9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgb(26 29 36 / 0.08); border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h); transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header__logo { display: block; flex: none; margin-right: auto; border-radius: 4px; }
.site-header__logo img { width: 144px; transition: width 0.3s var(--ease); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-width: 48px; min-height: 48px; border-radius: var(--radius-btn);
  color: var(--navy); font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.site-header__phone:hover { background: var(--mist); color: var(--navy); }
.site-header__phone .icon { width: 1.4em; height: 1.4em; color: var(--blue); }
.site-header__phone-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.site-header__cta { display: none; }
.nav-toggle {
  order: 3; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius-btn);
  background: var(--mist); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.site-header__actions { order: 2; }

/* Mobile nav panel */
.site-nav { order: 4; }
.site-nav__list { list-style: none; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  color: var(--ink); font-family: var(--font-head); font-weight: 600; text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--blue); }
.js .site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; padding: 8px var(--gutter) 20px;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgb(26 29 36 / 0.12);
}
.js .site-nav.is-open { display: block; }
.js .site-nav__list li + li { border-top: 1px solid var(--line); }
.site-nav__cta { width: 100%; margin-top: 12px; }
/* Without JavaScript the links simply wrap below the logo */
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { width: 100%; order: 4; padding-bottom: 8px; }
.no-js .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 18px; }
.no-js .site-nav__cta { display: none; }

@media (min-width: 48em) {
  .site-header__logo img { width: 172px; }
  .site-header.is-scrolled .site-header__logo img { width: 150px; }
  .site-header__cta { display: inline-flex; }
  .site-nav__cta { display: none; }
  .site-header__actions { gap: 12px; }
}
@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .site-header__inner { gap: 20px; }
  .site-header__logo { margin-right: 0; }
  .js .site-nav, .no-js .site-nav, .site-nav {
    position: static; display: block; order: 0; width: auto; margin-right: auto;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .site-nav__list, .no-js .site-nav__list { display: flex; gap: 4px; margin-left: 12px; }
  .js .site-nav__list li + li { border: 0; }
  .site-nav a:not(.btn) { padding: 0 12px; border-radius: 8px; }
  .site-nav a:not(.btn):hover { background: var(--mist); }
  .site-header__actions { order: 0; }
}
@media (min-width: 80em) {
  .site-header__phone { padding: 0 12px; }
  .site-header__phone-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 48px 0 150px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 100%; }
/* The photo is bright, so the navy behind white body text stays at 0.7 or more (4.5:1 over a white wall).
   It fades out below the text on small screens, and just past the headline on large ones. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgb(var(--deep-rgb) / 0.86) 0,
    rgb(var(--deep-rgb) / 0.8) calc(100% - 215px),
    rgb(var(--deep-rgb) / 0.4) calc(100% - 130px),
    rgb(var(--deep-rgb) / 0) 100%);
}
.hero__content { text-shadow: 0 1px 2px rgb(16 24 72 / 0.25); }
.hero__content .btn { text-shadow: none; }
.hero__content { max-width: 40rem; }
.hero__eyebrow { color: var(--white); margin-bottom: 18px; }
.hero__title {
  font-size: clamp(2.5rem, 4vw + 1rem, 4.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
  color: var(--white); margin-bottom: 20px;
}
.hero__title-line { display: block; }
.hero__sub { font-size: 1.0625rem; line-height: 1.6; max-width: 34rem; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__ctas .btn { flex: 1 1 100%; }
.hero__reassure { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 500; font-size: 0.9375rem; }
.hero__reassure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__reassure .icon { width: 1.15em; height: 1.15em; stroke-width: 2.25; color: var(--white); }

@media (min-width: 40em) {
  .hero { padding: 64px 0 180px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__sub { font-size: 1.1875rem; }
  .hero__media img { object-position: 70% 50%; }
}
@media (min-width: 64em) {
  .hero { min-height: clamp(560px, calc(100vh - var(--header-h)), 760px); display: flex; align-items: center; padding: 72px 0 88px; }
  .hero__inner { width: min(100% - 2 * var(--gutter), 1200px); }
  /* Stops are measured from the text column's left edge (--x), so the overlay hugs the text at any width:
     body text ends within 575px of it, the headline within 745px (large text, 3:1) */
  .hero::before {
    --x: max(var(--gutter), 50% - 600px);
    background: linear-gradient(90deg,
      rgb(var(--deep-rgb) / 0.9) 0,
      rgb(var(--deep-rgb) / 0.84) calc(var(--x) + 520px),
      rgb(var(--deep-rgb) / 0.6) calc(var(--x) + 700px),
      rgb(var(--deep-rgb) / 0.18) calc(var(--x) + 860px),
      rgb(var(--deep-rgb) / 0) calc(var(--x) + 980px));
  }
  .hero__content { max-width: 46rem; }
  .hero__sub { max-width: 35rem; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust__list {
  list-style: none; display: grid; gap: 14px 16px; padding-block: 24px;
}
@media (min-width: 40em) { .trust__list { grid-template-columns: 1fr 1fr; gap: 20px 24px; padding-block: 28px; } }
.trust__item { display: flex; align-items: center; gap: 14px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink); }
.trust__item strong { font-weight: 600; color: var(--navy); }
.trust__sub { display: block; color: var(--slate); }
/* Lettered tiles stand in for the official ACCA and ATT artwork until the firm supplies it */
.trust__mark {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 12px;
  background: var(--white); border: 1.5px solid rgb(40 57 145 / 0.22); color: var(--navy);
  font: 700 1.0625rem/1 var(--font-head); letter-spacing: 0.04em;
}
.trust__mark--years { display: flex; flex-direction: column; justify-content: center; gap: 3px; font-size: 1.5rem; letter-spacing: -0.02em; background: var(--navy); border-color: var(--navy); color: var(--white); }
.trust__mark--years small { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.trust__badge { width: 48px; height: auto; flex: none; margin-inline: 8px; }
@media (min-width: 64em) {
  .trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; padding-block: 32px; }
  .trust__item { max-width: 17.5rem; }
}

/* ---------- Client logos ---------- */
.logos { background: var(--white); padding-block: 36px 44px; }
.logos__title {
  font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); text-align: center; margin-bottom: 20px;
}
.logos__list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-items: center; justify-items: center;
}
.logos__list img { width: 100%; max-width: 190px; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s, opacity 0.3s; }
@media (hover: hover) { .logos__list img:hover { filter: none; opacity: 1; } }
@media (min-width: 48em) { .logos__list { grid-template-columns: repeat(4, 1fr); gap: 24px 40px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-pad); overflow: hidden; }
.section--mist { background: var(--mist); }
.section__head { max-width: 46rem; margin-bottom: 40px; }
.section__intro { margin-top: 16px; font-size: 1.125rem; color: var(--slate); }
.motif { position: absolute; pointer-events: none; opacity: 0.07; z-index: 0; }
.section > .container { position: relative; z-index: 1; }
.motif--why { width: 520px; height: 445px; right: -140px; bottom: -120px; }
.motif--contact { width: 560px; height: 480px; left: -220px; top: 40px; opacity: 0.05; }

/* Cards */
.cards { list-style: none; display: grid; gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid rgb(40 57 145 / 0.06);
}
@media (min-width: 48em) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Why us */
.why__card { padding: 28px; }
.why__card h3 { margin: 18px 0 10px; }
.why__card p { color: var(--slate); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); color: var(--white); box-shadow: 0 8px 18px rgb(32 96 168 / 0.28);
}
.card__icon .icon { width: 26px; height: 26px; }
@media (min-width: 64em) { .why__card { padding: 36px 32px; } }

/* Services */
.service { display: flex; flex-direction: column; overflow: hidden; }
.services__grid { gap: 20px; }
.service__media { display: block; aspect-ratio: 5 / 2; overflow: hidden; background: var(--mist); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 14px; }
.service__title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.service__lead { color: var(--slate); margin-bottom: 16px; }
.service__title .icon { color: var(--blue); width: 1.3em; height: 1.3em; }
.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 14px; font-size: 1rem; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 7px;
  border-left: 2.25px solid var(--blue); border-bottom: 2.25px solid var(--blue); transform: rotate(-45deg);
}
.service .link-arrow { margin-top: auto; }
@media (min-width: 48em) { .services__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 64em) {
  .services__grid { gap: 28px; }
  .service__body { padding: 26px 32px 16px; }
  .service__title { font-size: 1.375rem; }
}
/* Wide screens: a slim photo beside the copy, so the words lead */
@media (min-width: 80em) {
  .service { flex-direction: row; }
  .service__media { flex: 0 0 34%; aspect-ratio: auto; }
  .service__body { padding: 28px 28px 16px; }
}

.who { margin-top: 48px; display: grid; gap: 16px; }
.who__title { font-size: 1.25rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 9px 16px; border-radius: 999px; background: var(--mist); color: var(--navy);
  font-weight: 500; font-size: 0.9375rem; border: 1px solid rgb(40 57 145 / 0.12);
}
@media (min-width: 64em) { .who { grid-template-columns: auto 1fr; align-items: center; gap: 28px; } }

/* How it works */
.how__grid { display: grid; gap: 40px; align-items: center; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 4px; margin-bottom: 32px; }
.step { position: relative; counter-increment: step; padding: 0 0 22px 68px; min-height: 64px; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -4px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: var(--white); font: 700 1.25rem/1 var(--font-head);
  box-shadow: 0 8px 18px rgb(32 96 168 / 0.28);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 23px; top: 52px; bottom: 2px; width: 2px;
  background: linear-gradient(var(--sky), rgb(36 160 217 / 0.15)); border-radius: 2px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--slate); }
.frame { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.how__media { aspect-ratio: 3 / 2; }
@media (min-width: 64em) { .how__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Reviews */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--mist); position: relative; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before {
  content: "\201C"; display: block; font: 700 3.5rem/0.8 var(--font-head); color: var(--sky); margin-bottom: 6px;
}
.quote blockquote p { font-size: 1rem; line-height: 1.65; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; line-height: 1.4; }
.quote__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.quote__role { font-size: 0.9375rem; color: var(--slate); }
.quote--featured {
  background: var(--navy); background-image: var(--grad); color: var(--white);
  padding: 32px 28px; margin-bottom: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  /* keep the text on the darker part of the gradient */
  background-image: linear-gradient(120deg, var(--navy) 0%, #24489C 55%, var(--blue) 100%);
}
.quote--featured blockquote::before { color: var(--white); opacity: 0.9; }
.quote--featured blockquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem); line-height: 1.45; letter-spacing: -0.01em; }
.quote--featured .quote__name { color: var(--white); }
.quote--featured .quote__role { color: var(--white); }
.quote__swoosh { position: absolute; right: -40px; bottom: -36px; width: 260px; height: 222px; opacity: 0.12; --swoosh-fill: #fff; }
.quote--featured > :not(.quote__swoosh, .quote__logo) { position: relative; max-width: 54rem; }
.quote--featured figcaption { margin-top: 0; }
/* Decorative client logo, level with the opening quote mark (the company is named in the caption) */
.quote__logo { position: absolute; top: 36px; right: 28px; width: auto; height: 38px; filter: brightness(0) invert(1); opacity: 0.92; }

.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: 4px;
  padding: 4px 4px 16px; margin-inline: -4px; border-radius: var(--radius);
  scrollbar-width: thin;
}
.quotes .quote { scroll-snap-align: start; }
/* With JavaScript the dots below replace the scrollbar */
.js .quotes { padding-bottom: 4px; scrollbar-width: none; }
.js .quotes::-webkit-scrollbar { display: none; }
.quotes__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.quotes__dots { display: flex; flex-wrap: wrap; align-items: center; margin-left: -6px; }
.quotes__dot {
  display: grid; place-items: center; min-width: 24px; height: 44px; padding: 0 6px;
  border: 0; border-radius: 8px; background: none; cursor: pointer;
}
.quotes__dot span {
  position: relative; overflow: hidden; width: 8px; height: 8px; border-radius: 8px;
  background: #7D879A; /* 3.6:1 on white */
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.quotes__dot:hover span { background: var(--navy); }
.quotes__dot[aria-current="true"] span { width: 28px; background: var(--blue); }
/* While playing, the current pill fills up until the next review */
.is-playing .quotes__dot[aria-current="true"] span { background: #7D879A; }
.is-playing .quotes__dot[aria-current="true"] span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue);
  transform-origin: left; transform: scaleX(0);
}
.quotes__toggle {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 18px 0 14px;
  border: 1.5px solid rgb(40 57 145 / 0.22); border-radius: 999px; background: var(--white); color: var(--navy);
  font: 600 0.9375rem/1 var(--font-head); cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.quotes__toggle:hover { border-color: var(--blue); color: var(--blue); }
.quotes__toggle .icon { width: 16px; height: 16px; }
@media (min-width: 48em) {
  .quotes { grid-auto-columns: 60%; }
}
@media (min-width: 64em) {
  /* One even grid: the featured review fills two columns and two rows, the other five sit around it */
  .reviews__layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .reviews__more, .quotes, .js .quotes { display: contents; }
  .quote--featured { grid-column: 1 / span 2; grid-row: 1 / span 2; justify-content: center; padding: 48px 56px; margin-bottom: 0; }
  .quote--featured .quote__logo { top: 48px; right: 56px; height: 48px; }
  .quotes__controls { display: none; }
  .quote--featured blockquote p { font-size: clamp(1.625rem, 1.2vw + 0.9rem, 2rem); line-height: 1.4; }
}

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); padding-block: 80px; text-align: center; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* light at the top edge so the light trails show; full strength behind the text */
  background: linear-gradient(180deg, rgb(var(--navy-rgb) / 0.3) 0, rgb(var(--navy-rgb) / 0.86) 72px, rgb(var(--navy-rgb) / 0.86) 100%);
}
.cta-band__inner { max-width: 44rem; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { font-size: 1.125rem; margin-bottom: 28px; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.cta-band__or { font-weight: 500; }
.cta-band__or a { color: var(--white); font-weight: 600; }
.cta-band__or a:hover { color: var(--white); }
@media (min-width: 64em) {
  .cta-band { padding-block: 112px; }
  .cta-band::before {
    background: radial-gradient(ellipse 50% 62% at 50% 54%, rgb(var(--navy-rgb) / 0.9) 0%, rgb(var(--navy-rgb) / 0.86) 62%, rgb(var(--navy-rgb) / 0.2) 100%);
  }
}

/* About */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__lead { font-size: 1.125rem; margin-bottom: 28px; }
.directors { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.director {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: var(--mist); border-radius: var(--radius); border: 1px solid rgb(40 57 145 / 0.08);
}
.director__name { font-size: 1.125rem; margin-bottom: 2px; }
.director__role { color: var(--slate); font-size: 0.9375rem; line-height: 1.45; }
.monogram {
  flex: none; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--white);
  font: 700 1.375rem/1 var(--font-head); letter-spacing: 0.02em;
  box-shadow: 0 0 0 4px var(--white), 0 8px 18px rgb(40 57 145 / 0.25);
}
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.values li { display: inline-flex; align-items: center; gap: 8px; }
.values .icon { color: var(--blue); stroke-width: 2.25; }
.about__media .frame { aspect-ratio: 3 / 2; }
@media (min-width: 48em) and (max-width: 63.99em) { .directors { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .about__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

/* FAQ */
.faq__inner { max-width: 52rem; }
@media (min-width: 64em) {
  .faq__inner { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq__head { margin-bottom: 0; }
}
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 14px; border: 1px solid rgb(40 57 145 / 0.08); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--navy); border-radius: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--blue); width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__item p { padding: 0 20px 20px; color: var(--ink); }
@media (min-width: 64em) { .faq__item summary { padding: 16px 28px; font-size: 1.125rem; } .faq__item p { padding: 0 28px 24px; } }

/* Contact */
.contact__grid { display: grid; gap: 24px; }
.contact__form { padding: 24px 20px; }
.form { display: grid; gap: 18px; }
.form__note { font-size: 0.9375rem; color: var(--slate); }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field__optional { font-weight: 400; color: var(--slate); }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--slate); border-radius: var(--radius-btn); background: var(--white);
  font-size: 1rem; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232060A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__error { color: var(--error); font-size: 0.9375rem; font-weight: 500; display: flex; gap: 6px; align-items: flex-start; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 0.75rem; font-weight: 700; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: grid; gap: 12px; }
.form__submit .btn { width: 100%; }
.form__privacy { font-size: 0.9375rem; color: var(--slate); }
.form__alert { padding: 14px 16px; border-radius: var(--radius-btn); background: #FDF0EF; border: 1px solid #F3C4BF; color: var(--error); font-weight: 500; }
.form__alert a { color: var(--error); font-weight: 600; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.35); border-top-color: var(--white); }
[aria-busy="true"] .spinner { display: inline-block; animation: spin 0.8s linear infinite; }
.btn[disabled] { cursor: progress; opacity: 0.9; transform: none; }
.form-success { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 48px 16px; }
.form-success:focus { outline: none; }
.form-success__tick { width: 76px; height: 76px; }
.form-success__tick circle { fill: none; stroke: var(--success); stroke-width: 3; }
.form-success__tick path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form-success__text { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); max-width: 26rem; line-height: 1.4; }

.contact__card {
  position: relative; overflow: hidden; align-self: start;
  padding: 28px 24px; border-radius: var(--radius); color: var(--white);
  background: linear-gradient(150deg, var(--navy) 0%, #25469A 70%, #23519F 100%); box-shadow: var(--shadow-lg);
  display: grid; gap: 22px;
}
.contact__card-title { color: var(--white); font-size: 1.375rem; }
.contact__list { list-style: none; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.contact__list .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--white); }
.contact__list a { color: var(--white); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; color: var(--white); }
.contact__card .btn { justify-self: start; }
.contact__side { display: grid; gap: 24px; align-content: start; }
.next { padding: 24px; }
.next__title { margin-bottom: 14px; }
.next .ticks { margin-bottom: 0; }
.social { display: flex; gap: 10px; }
.social__link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--white); background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3);
  transition: background-color 0.2s;
}
.social__link:hover { background: rgb(255 255 255 / 0.24); color: var(--white); }
.social__link .icon { width: 20px; height: 20px; }
@media (min-width: 48em) { .form__row--2 { grid-template-columns: 1fr 1fr; } .contact__form { padding: 32px; } .form__submit .btn { width: auto; justify-self: start; } }
@media (min-width: 64em) { .contact__grid { grid-template-columns: 1.6fr 1fr; gap: 32px; } .contact__card { padding: 36px 32px; } .next { padding: 28px 32px; } .contact__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 1px solid var(--line); padding-block: 48px 28px; font-size: 0.9375rem; color: var(--ink); }
.site-footer__grid { display: grid; gap: 32px 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.site-footer__brand img { width: 172px; margin-bottom: 14px; }
.site-footer__brand p { color: var(--slate); max-width: 22rem; margin-bottom: 18px; }
.site-footer__title { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.site-footer__col { display: grid; gap: 10px; align-content: start; }
.site-footer__col .site-footer__title { margin-bottom: 4px; }
.site-footer__links { list-style: none; display: grid; gap: 2px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; color: var(--ink); }
.site-footer__links a:hover { color: var(--blue); text-decoration: underline; }
.site-footer__col .btn { margin-top: 6px; color: var(--white); }
.site-footer__legal { max-width: 52rem; }
.site-footer a { color: var(--blue); }
.site-footer .social__link { color: var(--navy); background: var(--white); border-color: var(--line); }
.site-footer .social__link:hover { color: var(--blue); background: var(--white); border-color: var(--blue); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; color: var(--slate); }
@media (min-width: 40em) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) { .site-footer__grid { grid-template-columns: 1.5fr 0.8fr 1.1fr 1.2fr; gap: 40px; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--white); box-shadow: 0 -6px 24px rgb(26 29 36 / 0.12); border-top: 1px solid var(--line);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px; border-radius: var(--radius-btn); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.875rem; color: var(--navy); background: var(--mist);
}
.action-bar .icon { width: 22px; height: 22px; }
.action-bar a.action-bar__book { background: var(--blue); color: var(--white); }
.js .action-bar { transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; }
.js .action-bar.is-shown { transform: none; visibility: visible; transition: transform 0.35s var(--ease), visibility 0s; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 48em) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- Privacy page ---------- */
.legal { padding-block: 48px 72px; }
.legal__inner { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 2vw + 1.4rem, 2.75rem); color: var(--navy); letter-spacing: -0.02em; margin-bottom: 12px; }
.legal h2 { font-size: 1.375rem; margin: 36px 0 10px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: 6px; }
.legal__meta { color: var(--slate); }
.site-header--simple .site-header__inner { justify-content: space-between; }
.site-header--simple .site-header__logo { margin-right: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 600; text-decoration: none; }
.back-link .icon { transform: rotate(180deg); }
body.page-legal { padding-bottom: 0; }
.site-header--simple .site-header__actions { gap: 16px; }

/* ---------- Motion (only when the visitor hasn't asked for less) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tick { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise 0.7s var(--ease) both; }
  .hero__content > :nth-child(1) { animation-delay: 0.1s; }
  .hero__content > :nth-child(2) { animation-delay: 0.2s; }
  .hero__content > :nth-child(3) { animation-delay: 0.3s; }
  .hero__content > :nth-child(4) { animation-delay: 0.4s; }
  .hero__content > :nth-child(5) { animation-delay: 0.5s; }
  .hero__media img { animation: zoom 20s ease-out both; transform-origin: 70% 50%; }

  .js .reveal { opacity: 0; transform: translateY(12px); }
  .js .reveal.is-visible {
    opacity: 1; transform: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s var(--ease), content-visibility 0.3s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }

  .is-playing .quotes__dot[aria-current="true"] span::after { animation: fill var(--delay, 5.5s) linear both; }

  .form-success__tick circle, .form-success__tick path { stroke-dasharray: 1; }
  .form-success:not([hidden]) .form-success__tick { animation: pop 0.4s var(--ease) both; }
  .form-success:not([hidden]) .form-success__tick circle { animation: tick 0.6s var(--ease) 0.1s both; }
  .form-success:not([hidden]) .form-success__tick path { animation: tick 0.4s var(--ease) 0.55s both; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .btn:hover, .service:hover .service__media img { transform: none; }
}
