/* Lodge Accountants
 * Hand-written, mobile first. Grid and Flexbox, no framework, no build step.
 * Design language from the approved mockups: generous white space, navy type,
 * a confident blue, and soft mint, lavender and butter accents.
 * Breakpoints: 30em (480), 40em (640), 48em (768), 64em (1024), 80em (1280).
 * Every text/background pair meets WCAG 2.2 AA.
 */

/* ============================================================ tokens */
:root {
  --navy: #0f2748;
  --navy-800: #16325a;
  --ink: #2a3950;
  --muted: #56657c;
  --line: #e3eaf3;
  --line-strong: #74849b;

  --white: #ffffff;
  --sky-50: #f4f8fd;
  --sky-100: #e8f0fb;
  --sky-200: #d3e2f6;
  --blue: #2f6fd6;
  --blue-700: #2458b3;
  --mint-50: #effaf5;
  --mint-100: #d8f2e6;
  --mint-300: #9fdcc1;
  --mint-700: #15694f;
  --lav-50: #f6f4fe;
  --lav-100: #ece8fb;
  --lav-700: #5b45b3;
  --butter-100: #fdf1cc;
  --butter-700: #7a5200;
  --error: #b42318;
  --error-bg: #fef3f2;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 72, .05);
  --shadow: 0 2px 4px rgba(15, 39, 72, .04), 0 12px 32px rgba(15, 39, 72, .08);
  --shadow-lg: 0 4px 8px rgba(15, 39, 72, .04), 0 24px 60px rgba(15, 39, 72, .12);
  --ring: 0 0 0 3px var(--white), 0 0 0 6px var(--blue-700);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: 1rem;
  --max: 76rem;
  --header-h: 0px;

  interpolate-size: allow-keywords;
}

/* Consent controls remain in the page flow so they cannot cover form fields. */
.cookie-banner { background: var(--sky-50); border-bottom: 2px solid var(--line-strong); padding-block: 1rem; }
.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 1rem; }
.cookie-banner p { font-size: .92rem; max-width: 65ch; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cookie-banner__actions .btn { min-height: 44px; }
.cookie-settings { font: inherit; border: 0; background: none; color: #dbe6f5; padding: .45rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 64em) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; } }
@media print { .cookie-banner, .cookie-settings { display: none !important; } }
@media (min-width: 40em) { :root { --gutter: 1.5rem; } }
@media (min-width: 64em) { :root { --gutter: 2rem; } }

/* ============================================================== base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* Lock the page behind the open mobile menu. The root scrolls, so the lock goes on <html>. */
html.nav-locked, html.nav-locked body { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }

h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -0.025em; font-weight: 750; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.07rem + .35vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.3; }
.h2--sm { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue-700); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
address { font-style: normal; }
.small { font-size: .92rem; color: var(--muted); }
::selection { background: var(--mint-100); color: var(--navy); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -10rem; z-index: 200;
  background: var(--navy); color: var(--white); padding: .8rem 1.25rem; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1.05em; height: 1.05em; }

/* Unconfirmed practice details: highlighted until the client supplies them. */
.ph {
  background: #fff1b8; color: #5c4300; border-radius: 4px; padding: 0 .3em;
  font-size: .86em; font-weight: 700; letter-spacing: 0;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ============================================================ layout */
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 2.75rem + 5vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.section--tinted { background: var(--sky-50); }
.section--curved { border-radius: var(--r-2xl) var(--r-2xl) 0 0; }
@media (min-width: 64em) { .section--curved { border-radius: 3.5rem 3.5rem 0 0; } }

.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.75rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head--split { max-width: none; text-align: left; display: grid; gap: 1rem 3rem; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
@media (min-width: 64em) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  color: var(--blue-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow--pill { background: var(--white); border: 1px solid var(--sky-200); border-radius: 999px; padding: .4rem .9rem .4rem .7rem; box-shadow: var(--shadow-sm); letter-spacing: .1em; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint-700); box-shadow: 0 0 0 4px var(--mint-100); }

.display { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.display__em {
  display: block; font-weight: 700;
  background: linear-gradient(90deg, var(--blue) 0%, #3a8f86 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* The gradient's darkest end still clears 4.5:1 at this size; forced colours fall back below. */
}
.lead { font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem); color: var(--muted); line-height: 1.65; max-width: 40rem; }
.prose { max-width: 42rem; }
.center-link { text-align: center; margin-top: 2.75rem; }

.split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: center; }
@media (min-width: 64em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--intro { grid-template-columns: .95fr 1.05fr; }
  .split--builder { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .split--local { grid-template-columns: 1.05fr .95fr; }
  .split--about { grid-template-columns: 1.2fr .8fr; }
  .split--contact-more { grid-template-columns: .9fr 1.1fr; }
}
.stacked + .stacked { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

/* =========================================================== buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem; border: 1.5px solid transparent; border-radius: 14px;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn--lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -6px rgba(47, 111, 214, .55); }
.btn--primary:hover { background: var(--blue-700); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(47, 111, 214, .6); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { border-color: var(--blue); color: var(--navy); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue); }
.btn--outline:hover { background: var(--sky-50); color: var(--navy); }
.btn--ghost { background: var(--sky-50); color: var(--navy); border-color: var(--sky-100); }
.btn--ghost:hover { background: var(--sky-100); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--mint-100); color: var(--navy); transform: translateY(-2px); }
.btn--text { background: none; color: var(--blue-700); padding-inline: .75rem; text-decoration: underline; text-underline-offset: .2em; }
.btn[hidden] { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.actions .btn { flex: 1 1 100%; }
@media (min-width: 30em) { .actions .btn { flex: 0 0 auto; } }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--blue-700); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-quiet { color: var(--navy); font-weight: 700; }

/* Round icon badges in the mockup's four tones. */
.tone-icon { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-700); }
.tone-icon .icon { width: 1.3rem; height: 1.3rem; }
.tone-icon--sm { width: 2rem; height: 2rem; }
.tone-icon--sm .icon { width: 1rem; height: 1rem; }
.tone-icon--lg { width: 4rem; height: 4rem; }
.tone-icon--lg .icon { width: 1.75rem; height: 1.75rem; }
.tone-icon--mint { background: var(--mint-100); color: var(--mint-700); }
.tone-icon--lavender { background: var(--lav-100); color: var(--lav-700); }
.tone-icon--butter { background: var(--butter-100); color: var(--butter-700); }

/* ============================================================ header */
/* The header hides by moving its sticky offset, never with transform, and only blurs on desktop.
   A transform or backdrop-filter on the header would make it the containing block for the fixed
   mobile drawer inside it, trapping the drawer in the header's height. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: top .35s var(--ease), box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(15, 39, 72, .18); }
.site-header.is-hidden { top: calc(-1 * var(--header-h, 8rem) - 2px); }
body.menu-open .site-header { top: 0; }
@media (min-width: 64em) {
  .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
}

.header-inner { display: flex; align-items: center; gap: 1rem; padding-block: .75rem; position: relative; }

.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--navy); text-decoration: none; border-radius: var(--r-sm); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand__logo { height: 100px; width: auto; }
/* Reserved space for the logo: portrait, at least 100px high. */
.brand__slot {
  display: grid; place-items: center; width: 72px; min-height: 100px;
  border: 2px dashed var(--sky-200); border-radius: 14px;
  background: linear-gradient(160deg, var(--sky-50), var(--mint-50));
  color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-size: clamp(1.1rem, .95rem + .7vw, 1.45rem); font-weight: 800; letter-spacing: -0.03em; }
.brand__tagline { font-size: .78rem; color: var(--muted); margin-top: .35rem; font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: .5rem; position: relative; z-index: 70; }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 48px; min-height: 48px; padding: .5rem; border-radius: 14px;
  color: var(--navy); font-weight: 700; text-decoration: none; border: 1.5px solid var(--sky-200);
}
a.header-phone:hover { background: var(--sky-50); color: var(--navy); }
.header-phone .icon { color: var(--blue); }
.header-phone__number { display: none; }
.header-cta { display: none; }
.rating { display: none; align-items: center; gap: .4rem; color: var(--navy); text-decoration: none; font-size: .9rem; }
.icon--star { color: #a86b00; fill: #f5b400; stroke: #a86b00; }
.rating__label { color: var(--muted); }

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: var(--navy); color: var(--white); border: 0; border-radius: 14px; cursor: pointer;
}
.menu-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: a full-height drawer that slides in from the right, over everything. */
.site-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(24rem, 88vw); height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; gap: 1rem;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 0 var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--white); box-shadow: -24px 0 60px rgba(15, 39, 72, .18);
  transform: translateX(105%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s linear .4s;
}
body.menu-open .site-nav { transform: none; visibility: visible; transition: transform .4s var(--ease); }
/* Same height as the header, so the close button lines up with the menu title. */
.site-nav__head { flex: none; height: var(--header-h, 8rem); display: flex; align-items: center; border-bottom: 1px solid var(--line); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
/* While the drawer is open only the close button stays above it. */
@media (max-width: 63.99em) {
  body.menu-open .header-actions > :not(.menu-toggle) { visibility: hidden; }
}
.site-nav__title { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-scrim {
  position: fixed; inset: 0; z-index: 55; background: rgba(15, 39, 72, .45);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
body.menu-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.nav-item { position: relative; }
.nav-item--mega { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.nav-link {
  display: flex; align-items: center; min-height: 52px; padding: .6rem .85rem; border-radius: 12px;
  color: var(--navy); font-weight: 700; font-size: 1.15rem; text-decoration: none;
}
.nav-link:hover { background: var(--sky-50); color: var(--navy); }
.nav-link[aria-current="page"] { background: var(--sky-100); }
.mega-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--sky-50); color: var(--navy); cursor: pointer;
}
.mega-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.icon--chevron { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
.mega-toggle[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.mega { grid-column: 1 / -1; display: none; padding: .25rem 0 .75rem; }
.nav-item--mega.is-open .mega { display: block; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.mega__link { display: flex; align-items: flex-start; gap: .85rem; padding: .7rem .75rem; border-radius: 14px; color: var(--ink); text-decoration: none; }
.mega__link:hover { background: var(--sky-50); color: var(--ink); }
.mega__link strong { display: block; color: var(--navy); font-size: 1rem; }
.mega__text { display: none; }
.mega__foot { display: none; }
.site-nav__foot { margin-top: auto; display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.site-nav__note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }
.site-nav__note .icon { color: var(--mint-700); }

.no-js .site-nav { position: static; transform: none; visibility: visible; width: 100%; height: auto; box-shadow: none; padding: 0; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .menu-toggle, .no-js .mega-toggle, .no-js .site-nav__head { display: none; }
.no-js .mega { display: block; }

@media (min-width: 40em) {
  .header-phone { border: 0; padding-inline: .6rem; }
  .header-phone__number { display: inline; }
}
@media (min-width: 40em) { .header-cta { display: inline-flex; } }
@media (max-width: 29.99em) { .brand__tagline { display: none; } }

@media (min-width: 64em) {
  .header-inner { gap: 1.5rem; padding-block: .85rem; }
  .brand { margin-right: 0; }
  .menu-toggle, .site-nav__head, .site-nav__foot, .nav-scrim { display: none !important; }
  .rating { display: inline-flex; }
  .header-actions { margin-left: auto; gap: .75rem; }

  .site-nav, .no-js .site-nav {
    position: static; transform: none; visibility: visible; width: auto; height: auto; margin-left: auto;
    flex-direction: row; overflow: visible; padding: 0; background: none; box-shadow: none;
  }
  .nav-list { display: flex; align-items: center; gap: .25rem; }
  .nav-link { font-size: 1rem; min-height: 44px; padding: .5rem 1rem; font-weight: 650; position: relative; }
  .nav-link[aria-current="page"] { background: none; }
  .nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--blue); }
  .nav-item--mega { display: flex; }
  .nav-link--services { padding-right: .2rem; }
  .mega-toggle { width: 32px; height: 44px; background: none; }
  .mega-toggle:hover { background: var(--sky-50); }

  .mega, .no-js .mega {
    position: absolute; top: calc(100% + .75rem); left: 50%; z-index: 80;
    width: min(58rem, calc(100vw - 2rem)); padding: 1rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    display: block; opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-item--mega { position: static; }
  .header-inner { position: relative; }
  .mega { left: 50%; }
  .nav-item--mega.is-open .mega,
  .no-js .nav-item--mega:hover .mega, .no-js .nav-item--mega:focus-within .mega {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .25s var(--ease);
  }
  .mega__grid { grid-template-columns: repeat(3, 1fr); gap: .35rem; }
  .mega__link { padding: .9rem; }
  .mega__text { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: .2rem; }
  .mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .75rem; padding: .9rem 1rem; background: var(--mint-50); border-radius: var(--r); font-size: .93rem; }
  .mega__foot p { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--navy); font-weight: 600; }
  .mega__foot .icon { color: var(--mint-700); }
}
/* Absolutely positioned mega menu is anchored to the header row. */
@media (min-width: 64em) { .site-nav { position: static; } .nav-list { position: static; } }

/* ============================================================== hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f1f6fd 0%, #f7fafe 60%, var(--white) 100%); }
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.hero__blobs::before, .hero__blobs::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.hero__blobs::before { width: 38rem; height: 38rem; right: -12rem; top: -14rem; background: radial-gradient(circle, var(--mint-100), transparent 70%); }
.hero__blobs::after { width: 30rem; height: 30rem; left: -14rem; bottom: -16rem; background: radial-gradient(circle, var(--lav-100), transparent 70%); }

.hero--home { padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(5rem, 4rem + 4vw, 7.5rem); }
.hero__grid { position: relative; display: grid; gap: clamp(3rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 64em) { .hero--home .hero__grid, .hero--split .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero__text { position: relative; }
.hero__text--center { text-align: center; margin-inline: auto; max-width: 52rem; }
.hero__text--center .lead { margin-inline: auto; }

.hero__media { position: relative; margin-inline: .5rem; }
.hero__photo { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 42% 2rem 2rem 42% / 50% 2rem 2rem 50%; box-shadow: var(--shadow-lg); background: var(--sky-100); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--soft { aspect-ratio: 4 / 3; border-radius: 45% 2rem 2rem 45% / 60% 2rem 2rem 60%; }
.hero__photo--wide { aspect-ratio: 4 / 3; }
@media (max-width: 39.99em) { .hero__photo { border-radius: 38% 1.5rem 1.5rem 38% / 45% 1.5rem 1.5rem 45%; } }

.hero__note {
  position: absolute; top: -1.25rem; right: -.5rem; z-index: 2;
  display: grid; place-items: center; align-content: center; gap: .1rem;
  width: clamp(7.5rem, 6rem + 5vw, 10.5rem); aspect-ratio: 1; margin: 0; padding: 1rem;
  border-radius: 50%; background: var(--mint-100); box-shadow: 0 10px 30px -10px rgba(21, 105, 79, .35);
  font-family: var(--hand); font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); line-height: 1.05; text-align: center; color: var(--navy);
  transform: rotate(-8deg);
}
.hero__note svg { width: 70%; height: auto; color: var(--mint-700); }
.hero__note--alt { top: auto; bottom: -1rem; right: auto; left: -.5rem; background: var(--butter-100); transform: rotate(6deg); }
.hero__note--alt svg { color: var(--butter-700); }

.hero__badge {
  position: absolute; left: -.5rem; bottom: 1.5rem; z-index: 2;
  display: flex; align-items: center; gap: .75rem; max-width: 17rem;
  padding: .85rem 1.1rem; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.hero__badge strong { display: block; color: var(--navy); }
.hero__badge span span { color: var(--muted); }
.hero__badge-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; background: var(--mint-100); color: var(--mint-700); }
@media (min-width: 64em) { .hero__badge { left: -2.5rem; } .hero__note { right: -1.5rem; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero--page { padding-block: clamp(1rem, .75rem + 1vw, 1.75rem) clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.hero--page .hero__grid { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.hero--page .hero__text--center { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }

.breadcrumb { position: relative; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .9rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); display: inline-block; padding-block: .6rem; }
.breadcrumb a[aria-current="page"] { color: var(--navy); text-decoration: none; font-weight: 700; }

/* Short reassurance row under the hero buttons. */
.trust { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 30em) { .trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 1.75rem; } }
.trust__item { display: flex; align-items: center; gap: .6rem; font-size: .93rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.trust__icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--sky-200); color: var(--blue); background: var(--white); }
.trust__icon .icon { width: 1.1rem; height: 1.1rem; }
.trust__item--2 .trust__icon { color: var(--mint-700); border-color: var(--mint-300); }
.trust__item--3 .trust__icon { color: var(--lav-700); border-color: #cfc5f4; }

/* ============================================================= stats */
.stats-wrap { position: relative; z-index: 3; margin-top: clamp(-4.5rem, -3rem - 2vw, -3rem); }
.stats {
  list-style: none; margin: 0; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
@media (min-width: 64em) { .stats { grid-template-columns: repeat(4, 1fr); gap: 0; } .stat + .stat { border-left: 1px solid var(--line); } }
.stat { display: grid; gap: .3rem; padding: .5rem 1rem; text-align: center; }
.stat__value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.stat:nth-child(2) .stat__value { color: var(--blue-700); }
.stat:nth-child(3) .stat__value { color: var(--mint-700); }
.stat:nth-child(4) .stat__value { color: var(--lav-700); }
.stat__label { font-size: .9rem; color: var(--muted); line-height: 1.4; }

/* ============================================================= intro */
.media-stack { position: relative; padding: 0 0 2.5rem; }
.media-stack__main img { border-radius: var(--r-xl); aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.media-stack__card {
  position: absolute; right: -.5rem; bottom: 0; display: flex; align-items: center; gap: .85rem;
  max-width: 18rem; padding: 1rem 1.2rem; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg);
}
@media (min-width: 64em) { .media-stack__card { right: -2rem; } }
.media-stack__card p { margin: 0; line-height: 1.35; font-size: .92rem; }
.media-stack__card strong { display: block; color: var(--navy); }
.media-stack__card span { color: var(--muted); }

.promises-title { margin-top: 2.25rem; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.promise { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.promise:hover { border-color: var(--sky-200); box-shadow: var(--shadow); }
.promise p { margin: 0; }
.promise strong { color: var(--navy); }

.avatar {
  display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100)); color: var(--navy); font-weight: 800; letter-spacing: .02em;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.avatar .icon { width: 1.4rem; height: 1.4rem; color: var(--blue-700); }
.avatar--lg { width: 4.25rem; height: 4.25rem; font-size: 1.2rem; }
.avatar--lg .icon { width: 1.8rem; height: 1.8rem; }
.avatar--xl { width: 7rem; height: 7rem; font-size: 2rem; }
.avatar--xl .icon { width: 2.75rem; height: 2.75rem; }

/* ============================================================= cards */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:not(.card--static):hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sky-200); }
.card:focus-within { box-shadow: var(--ring); }
.card .tone-icon { margin-bottom: 1.5rem; transition: transform .3s var(--ease); }
.card:hover .tone-icon { transform: scale(1.06) rotate(-4deg); }
.card p { color: var(--muted); flex: 1; }
.card__title { margin-bottom: .5rem; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-weight: 700; color: var(--blue-700); }
.card__more .icon { transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

/* ====================================================== quote builder */
.section--builder { background: radial-gradient(60% 80% at 0% 0%, var(--mint-50), transparent 70%), radial-gradient(60% 80% at 100% 100%, var(--lav-50), transparent 70%); }
.builder-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(1.25rem, .75rem + 2.5vw, 2.5rem); }
.builder { display: grid; gap: 1.5rem; }
.builder__top { display: grid; gap: .6rem; }
.builder__count { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.builder__progress { height: 6px; border-radius: 6px; background: var(--sky-100); overflow: hidden; }
.builder__progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #3a8f86); transition: width .5s var(--ease); }
.no-js .builder__top { display: none; }
.builder__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.builder__step[hidden] { display: none; }
.js .builder__step:not([hidden]) { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.builder__legend { padding: 0; margin-bottom: 1rem; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 750; color: var(--navy); letter-spacing: -0.02em; line-height: 1.25; }
.builder__hint { margin: -.5rem 0 1rem; color: var(--muted); font-size: .95rem; }
.builder__sub { border: 0; margin: 0 0 1.25rem; padding: 0; }
.builder__sublegend { padding: 0; margin-bottom: .7rem; font-weight: 700; color: var(--navy); }

.option-grid { display: grid; gap: .7rem; }
@media (min-width: 30em) { .option-grid { grid-template-columns: 1fr 1fr; } }
.option, .check, .pill { position: relative; display: block; cursor: pointer; }
.option input, .check input, .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__box {
  display: flex; align-items: center; gap: .85rem; min-height: 64px; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); font-weight: 650; color: var(--navy); line-height: 1.3;
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.option:hover .option__box { border-color: var(--sky-200); transform: translateY(-2px); }
.option__icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--sky-50); color: var(--blue-700); transition: background-color .2s; }
.option__label { flex: 1; }
.option__tick { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; transition: all .2s; }
.option__tick .icon { width: .9rem; height: .9rem; stroke-width: 3; }
.option input:checked + .option__box { border-color: var(--blue); background: var(--sky-50); box-shadow: 0 0 0 3px rgba(47, 111, 214, .12); }
.option input:checked + .option__box .option__icon { background: var(--blue); color: var(--white); }
.option input:checked + .option__box .option__tick { background: var(--blue); border-color: var(--blue); color: var(--white); }
.option input:focus-visible + .option__box, .check input:focus-visible + .check__box, .pill input:focus-visible + span { outline: 3px solid var(--blue-700); outline-offset: 2px; }

.check-grid { display: grid; gap: .6rem; }
@media (min-width: 30em) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check__box { display: flex; align-items: center; gap: .75rem; min-height: 54px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--navy); transition: border-color .2s, background-color .2s; line-height: 1.3; }
.check:hover .check__box { border-color: var(--sky-200); }
.check__tick { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; flex: none; border-radius: 6px; border: 1.5px solid var(--line-strong); color: transparent; transition: all .2s; }
.check__tick .icon { width: .85rem; height: .85rem; stroke-width: 3; }
.check input:checked + .check__box { border-color: var(--mint-700); background: var(--mint-50); }
.check input:checked + .check__box .check__tick { background: var(--mint-700); border-color: var(--mint-700); color: var(--white); }

.pill-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--navy); transition: all .2s; }
.pill:hover span { border-color: var(--sky-200); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }

.builder__result { padding: 1.5rem; border-radius: 20px; background: linear-gradient(135deg, var(--mint-50), var(--sky-50)); border: 1px solid var(--mint-100); animation: step-in .45s var(--ease); }
.builder__result:focus { outline: none; }
.builder__result-eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; padding: .3rem .75rem; border-radius: 999px; background: var(--white); font-size: .82rem; font-weight: 800; color: var(--mint-700); }
.builder__result-title { font-size: 1.35rem; }
.builder__result-note { margin-top: 1rem; font-size: .93rem; color: var(--muted); }
.builder__error { margin: 0; padding: .75rem 1rem; border-radius: 12px; background: var(--error-bg); color: var(--error); font-weight: 600; }
.builder__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.builder__nav [data-next], .builder__nav [data-submit] { margin-left: auto; }
.no-js .builder__step + .builder__step { padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ============================================================= lists */
.ticks { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; }
.ticks--compact { gap: .6rem; font-size: .98rem; }
.icon--tick { width: 1.5rem; height: 1.5rem; padding: .28rem; margin-top: .12rem; border-radius: 50%; background: var(--mint-100); color: var(--mint-700); stroke-width: 2.6; }

/* ============================================================= steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step { position: relative; display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step p { margin: 0; color: var(--muted); }
.step__title { margin-bottom: .4rem; }
.step__num { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--sky-100); color: var(--blue-700); font-size: 1.5rem; font-weight: 800; }
.step--2 .step__num { background: var(--mint-100); color: var(--mint-700); }
.step--3 .step__num { background: var(--lav-100); color: var(--lav-700); }
@media (min-width: 64em) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 3.5rem; right: -2rem; width: 2rem; height: 0;
    border-top: 2px dashed var(--sky-200);
  }
}

/* ======================================================== fee feature */
.fee-feature {
  display: grid; gap: 2.5rem; align-items: center; overflow: hidden;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: linear-gradient(135deg, var(--mint-50) 0%, var(--sky-50) 100%);
  border: 1px solid var(--mint-100); border-radius: var(--r-2xl);
}
@media (min-width: 64em) { .fee-feature { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.fee-feature__media { position: relative; }
.fee-feature__media img { border-radius: var(--r-xl); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.fee-feature__chips { list-style: none; margin: 0; padding: 0; position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.fee-feature__chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: .88rem; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm); }
.fee-feature__chips .icon { color: var(--mint-700); }

/* ============================================================= dates */
.section--dates { background: linear-gradient(180deg, var(--white), var(--sky-50)); }
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40em) { .dates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .dates { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.date-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.date-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.date-card__cal { display: grid; width: 4.25rem; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); text-align: center; background: var(--white); }
.date-card__month { padding: .2rem 0; background: var(--mint-100); color: var(--mint-700); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.date-card__day { padding: .2rem 0 .35rem; font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.date-card__title { margin-bottom: .3rem; font-size: 1.1rem; }
.date-card__body { display: flex; flex-direction: column; flex: 1; }
.date-card__body > p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.date-card__count { display: grid; gap: .1rem; margin-top: auto !important; font-size: .88rem; color: var(--muted); }
.date-card__days { font-size: 1.05rem; font-weight: 800; color: var(--blue-700); }
.date-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 700; font-size: .93rem; text-decoration: none; }
.date-card__link:hover { text-decoration: underline; }
.date-card--next { background: var(--navy); border-color: var(--navy); color: #dbe6f5; }
.date-card--next .date-card__title { color: var(--white); }
.date-card--next .date-card__body > p, .date-card--next .date-card__count { color: #c3d3ea; }
.date-card--next .date-card__days { color: var(--mint-300); }
.date-card--next .date-card__link { color: var(--white); }
.date-card--next .date-card__cal { border-color: transparent; }

/* ============================================================ local */
.rounded-media img { border-radius: var(--r-xl); box-shadow: var(--shadow); }
.rounded-media--tall img { aspect-ratio: 4 / 4.2; object-fit: cover; }
.tag-list { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100); font-size: .9rem; font-weight: 600; color: var(--navy); }
.tag-list .icon { color: var(--blue); }

/* =============================================================== FAQ */
.faq__layout { display: grid; gap: 2.5rem; }
@media (min-width: 64em) { .faq__layout { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; } .faq__intro { position: sticky; top: 7rem; } }
.faq__intro p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { min-height: 44px; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: inherit; font-size: .93rem; font-weight: 650; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--sky-200); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:focus-visible { outline: none; box-shadow: var(--ring); }
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq-item[hidden] { display: none; }
.faq-item[open] { border-color: var(--sky-200); box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; min-height: 56px; color: var(--navy); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: none; box-shadow: var(--ring); }
.faq-item__icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sky-50); color: var(--blue-700); transition: transform .3s var(--ease), background-color .2s; }
.faq-item__icon .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--ink); }
/* Smooth open and close where supported. */
.faq-item::details-content, .more::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq-item[open]::details-content, .more[open]::details-content { block-size: auto; }

/* ============================================================== talk */
.talk {
  display: grid; gap: 2.5rem; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background: radial-gradient(70% 90% at 0% 100%, var(--mint-100), transparent 60%), linear-gradient(135deg, var(--mint-50), var(--sky-50));
  border: 1px solid var(--mint-100); border-radius: var(--r-2xl);
}
@media (min-width: 64em) { .talk { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; } }
.talk__intro { position: relative; display: flex; flex-direction: column; }
.talk__phone { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.talk__phone .icon { color: var(--blue); }
.talk__art { display: none; }
@media (min-width: 64em) { .talk__art { display: block; width: 13rem; margin-top: auto; padding-top: 2rem; } .talk__art img { filter: drop-shadow(0 20px 20px rgba(15, 39, 72, .12)); } }

.who-answers { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.who-answers p { margin: 0; }
.who-answers__name { font-weight: 800; color: var(--navy); }
.who-answers__role { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.who-answers__photo img { width: 4.25rem; height: 4.25rem; border-radius: 50%; object-fit: cover; }

/* ============================================================== form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.25rem, .75rem + 2.5vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form-intro { color: var(--muted); }
.enquiry-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 700; color: var(--navy); font-size: .96rem; }
.req, .opt { font-weight: 500; color: var(--muted); font-size: .88em; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 9.5rem; resize: vertical; line-height: 1.55; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232458b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 111, 214, .2); }
.field--error input, .field--error textarea, [aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px; }
.field-error { margin: 0; color: var(--error); font-weight: 650; font-size: .93rem; }
.field-count { margin: 0; font-size: .85rem; color: var(--muted); text-align: right; }
.form-prefilled { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .75rem 1rem; border-radius: 12px; background: var(--mint-50); color: var(--mint-700); font-weight: 650; font-size: .93rem; }
.form-prefilled[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .25rem; }
.form-actions .btn { flex: 1 1 100%; }
@media (min-width: 30em) { .form-actions .btn { flex: 0 0 auto; } }
.form-note { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: var(--muted); font-size: .93rem; }
.form-note .icon { color: var(--mint-700); }
.form-privacy { margin: 0; font-size: .86rem; color: var(--muted); }
.enquiry-form button[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-status { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; border-radius: 18px; }
.form-status:focus { outline: 3px solid var(--blue-700); outline-offset: 3px; }
.form-status--error { grid-template-columns: 1fr; background: var(--error-bg); border: 2px solid var(--error); }
.form-status--error .form-status__title { color: var(--error); }
.form-status--error ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.form-status--error a { color: var(--error); font-weight: 650; }
.form-status--ok { background: var(--mint-50); border: 2px solid var(--mint-700); }
.form-status__title { font-size: 1.15rem; margin: 0 0 .3rem; }
.icon--status { width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%; background: var(--mint-700); color: var(--white); stroke-width: 2.6; }
#enquiry-status:focus { outline: none; }
#enquiry-status:empty { display: none; }
/* Honeypot: off-screen with CSS. Never the hidden attribute, which bots check for. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================== CTA band */
.cta-band {
  position: relative; display: grid; gap: 1.75rem; align-items: center; overflow: hidden;
  padding: clamp(1.75rem, 1rem + 3.5vw, 3.75rem);
  background: radial-gradient(70% 120% at 100% 0%, var(--mint-100) 0%, transparent 60%), linear-gradient(135deg, var(--mint-50), var(--sky-50));
  border: 1px solid var(--mint-100); border-radius: var(--r-2xl);
}
.cta-band__text { max-width: 36rem; position: relative; z-index: 1; }
.cta-band__text p:last-child { color: var(--muted); }
.cta-band__actions { display: grid; gap: .9rem; justify-items: start; position: relative; z-index: 1; }
.cta-band__art { display: none; }
@media (min-width: 64em) {
  .cta-band { grid-template-columns: 1fr auto 13rem; gap: 3rem; }
  .cta-band__actions { justify-items: center; }
  .cta-band__art { display: block; margin: -1rem -1rem -4.5rem 0; filter: drop-shadow(0 20px 22px rgba(15, 39, 72, .14)); }
}

/* ============================================================ services */
.service-pills { list-style: none; margin: 2.5rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 56rem; position: relative; }
.service-pill { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .4rem 1rem .4rem .45rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy); font-weight: 650; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.service-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-200); color: var(--navy); }

.subnav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .35s var(--ease); }
.header-shown .subnav { top: var(--header-h); }
.subnav__list { list-style: none; margin: 0; padding: .5rem 0; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; color: var(--muted); font-weight: 650; font-size: .95rem; text-decoration: none; transition: background-color .2s, color .2s; }
.subnav__link:hover { color: var(--navy); background: var(--sky-50); }
.subnav__link.is-active { background: var(--navy); color: var(--white); }

.service { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); scroll-margin-top: 4.5rem; }
.service:nth-of-type(even) { background: var(--sky-50); }
.service__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 64em) {
  .service__grid { grid-template-columns: .9fr 1.1fr; }
  .service--flip .service__media { order: 2; }
  .service__media { position: sticky; top: 8rem; }
}
.service__media { position: relative; }
.service__media img { aspect-ratio: 4 / 3.3; object-fit: cover; }
.service__num { position: absolute; top: -1rem; left: -.5rem; display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); font-weight: 800; font-size: 1.1rem; color: var(--navy); }
.service--flip .service__num { left: auto; right: -.5rem; }
.service__text .lead { margin-bottom: 1.75rem; }
.service__subhead { margin-top: .5rem; }
.fee-note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.75rem; padding: 1.25rem; border-radius: 20px; background: var(--mint-50); border: 1px solid var(--mint-100); }
.fee-note__title { font-size: 1.05rem; margin-bottom: .3rem; }
.fee-note p { font-size: .97rem; }
.more { margin-top: 2.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.more__summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding: 1rem 1.5rem; color: var(--navy); font-weight: 750; cursor: pointer; list-style: none; border-radius: var(--r-lg); }
.more__summary::-webkit-details-marker { display: none; }
.more__summary:hover { background: var(--sky-50); }
.more__summary:focus-visible { outline: none; box-shadow: var(--ring); }
.more__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--blue); color: var(--white); transition: transform .3s var(--ease); flex: none; }
.more__icon .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.4; }
.more[open] .more__icon { transform: rotate(45deg); }
.more__body { display: grid; gap: 2rem; padding: .5rem 1.5rem 2rem; }
@media (min-width: 64em) { .more__body { grid-template-columns: 1fr 1fr; gap: 2.5rem 3.5rem; padding: .5rem 2.5rem 2.5rem; } }
.more__block h3 { margin-bottom: .6rem; }
.more__block--talk { padding: 1.5rem; border-radius: 18px; background: var(--sky-50); }

/* ============================================================= pricing */
.section--packages { padding-top: clamp(1rem, .5rem + 2vw, 2.5rem); }
.selector { display: grid; justify-items: center; gap: .9rem; margin-bottom: 2.5rem; text-align: center; }
.selector__label { margin: 0; font-weight: 750; color: var(--navy); }
.selector__options { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: .4rem; border-radius: 22px; background: var(--sky-50); border: 1px solid var(--line); }
.selector__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1.1rem; border: 0; border-radius: 16px; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.selector__btn:hover { color: var(--navy); }
.selector__btn[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.selector__btn:focus-visible { outline: none; box-shadow: var(--ring); }
.selector__btn .icon { color: var(--blue); }

.packages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 64em) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { position: relative; display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.package.is-selected { border-color: var(--blue); box-shadow: var(--shadow-lg); }
@media (min-width: 64em) { .package.is-selected { transform: translateY(-10px); } }
.package--popular { padding-top: 3.25rem; background: linear-gradient(180deg, var(--sky-50), var(--white) 30%); }
.package__flag { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: .45rem; border-radius: calc(var(--r-xl) - 2px) calc(var(--r-xl) - 2px) 0 0; background: var(--mint-100); color: var(--mint-700); text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .06em; }
.package__head { display: flex; gap: 1rem; align-items: flex-start; }
.package__name { margin-bottom: .25rem; font-size: 1.45rem; }
.package__for { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.package__price { display: grid; margin: 1.5rem 0; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.package__price-main { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.package__price-sub { color: var(--muted); font-size: .93rem; }
.package .ticks { flex: 1; margin-bottom: 1.75rem; }

.addons { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 64em) { .addons { grid-template-columns: .7fr 2fr; align-items: center; } }
.addons__head p { color: var(--muted); margin: 0; }
.addons__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 40em) { .addons__list { grid-template-columns: 1fr 1fr; } }
.addon { display: flex; gap: .9rem; align-items: flex-start; height: 100%; padding: 1.1rem 1.2rem; border-radius: 18px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--muted); font-size: .93rem; line-height: 1.5; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.addon:hover { border-color: var(--sky-200); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--muted); }
.addon strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: .15rem; }

.compare { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
@media (min-width: 64em) { .compare { grid-template-columns: .7fr 1.6fr; gap: 3.5rem; align-items: start; } }
.compare__intro p { color: var(--muted); }
.compare__table-wrap { overflow-x: auto; border-radius: var(--r); }
.compare__table-wrap:focus-visible { outline: 3px solid var(--blue-700); }
.compare__table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .95rem; }
.compare__table th, .compare__table td { padding: .85rem .75rem; border-bottom: 1px solid var(--line); text-align: center; transition: background-color .3s; }
.compare__table th[scope="row"], .compare__table thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare__table thead th { font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--line); }
.compare__table .is-hl { background: var(--sky-50); }
.compare__table thead .is-hl { color: var(--blue-700); }
.yes { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mint-100); color: var(--mint-700); }
.yes .icon { width: .95rem; height: .95rem; stroke-width: 3; }
.no { color: #9aa7b8; }
.part { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--lav-100); color: var(--lav-700); font-size: .82rem; font-weight: 700; }

/* =============================================================== about */
.mini-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-stats li { display: grid; gap: .35rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--sky-50); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); line-height: 1.4; }
.mini-stats li:nth-child(2) { background: var(--mint-50); }
.mini-stats li:nth-child(3) { background: var(--lav-50); }
.mini-stats li:nth-child(4) { background: #fffaeb; }
.mini-stats__value { font-size: 2.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .partner-grid { grid-template-columns: 1fr 1fr; } }
.partner { display: grid; gap: 1.5rem; align-items: start; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
@media (min-width: 30em) { .partner { grid-template-columns: auto 1fr; } }
.partner__photo img { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; }
.partner__name { margin-bottom: .2rem; }
.partner__qual { color: var(--blue-700); font-weight: 700; font-size: .95rem; margin-bottom: .75rem; }
.card-grid--three { }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.tag-cloud__tag { padding: .7rem 1.2rem; border-radius: 999px; font-weight: 700; color: var(--navy); background: var(--sky-100); box-shadow: var(--shadow-sm); }
.tag-cloud__tag--1 { background: var(--mint-100); }
.tag-cloud__tag--2 { background: var(--lav-100); }
.tag-cloud__tag--3 { background: var(--butter-100); }
.not-card { padding: 2rem; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.not-card__title { font-weight: 800; color: var(--navy); }
.not-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.not-card li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--navy); }
.no-mark { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; flex: none; border-radius: 50%; background: var(--error-bg); color: var(--error); }
.no-mark .icon { width: .9rem; height: .9rem; stroke-width: 3; }
.details-panel { padding: 2rem; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); font-size: .95rem; }

/* ============================================================= contact */
.section--contact-page { padding-top: 0; }
.contact-page { display: grid; gap: 2rem; }
@media (min-width: 64em) { .contact-page { grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: start; } .contact-aside { position: sticky; top: 7rem; } }
.form-card--raised { margin-top: -1rem; position: relative; }
.contact-aside { display: grid; gap: 1.5rem; }
.contact-card { padding: 1.75rem; border-radius: var(--r-xl); background: var(--sky-50); border: 1px solid var(--line); }
.contact-card .who-answers { margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.contact-list { margin: 0 0 1.25rem; display: grid; gap: 1rem; }
.contact-list dt { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); font-size: .95rem; }
.contact-list dd { margin: .3rem 0 0 2.6rem; }

/* =============================================================== legal */
.section--legal { padding-top: 1rem; }
.section--legal .container { max-width: calc(46rem + 2 * var(--gutter)); }
.section--legal h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.footer-links--dark { list-style: none; padding: 0; display: grid; gap: .4rem; }

/* ============================================================== footer */
.site-footer { background: var(--navy); color: #c9d6ea; padding-top: clamp(3rem, 2rem + 3vw, 5rem); font-size: .97rem; }
.site-footer a:not(.btn) { color: var(--white); }
.footer-cta { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); border-radius: var(--r-xl); background: linear-gradient(120deg, var(--navy-800), #1d4577); border: 1px solid rgba(255, 255, 255, .08); }
@media (min-width: 48em) { .footer-cta { grid-template-columns: 1fr auto; } }
.footer-cta__title { margin: 0 0 .3rem; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; color: var(--white); letter-spacing: -0.02em; line-height: 1.25; }
.footer-cta__text { margin: 0; color: #c9d6ea; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.footer-heading { font-size: 1.05rem; color: var(--white); letter-spacing: 0; margin-bottom: 1rem; }
.footer-col--practice p { max-width: 26rem; }
.footer-nap { display: grid; gap: .75rem; margin-top: 1.25rem; }
.footer-nap__row { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.footer-nap__row .icon { color: var(--mint-300); margin-top: .25rem; width: 1.1rem; height: 1.1rem; }
.footer-phone { font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-links a { display: inline-block; padding-block: .45rem; color: #dbe6f5; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; padding-block: 1.75rem 2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: #aebfd7; }
.footer-legal p { margin: 0; max-width: 56rem; }
.to-top { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--mint-300); }

/* ===================================================== mobile action bar */
.action-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 45;
  display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .5rem;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 1.5rem)); transition: transform .4s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar__call, .action-bar__quote { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .5rem 1rem; border-radius: 14px; font-weight: 750; text-decoration: none; }
.action-bar__call { background: var(--sky-50); color: var(--navy); }
.action-bar__quote { background: var(--blue); color: var(--white); }
.action-bar__quote:hover { color: var(--white); background: var(--blue-700); }
@media (min-width: 64em) { .action-bar { display: none; } }
@media (max-width: 63.99em) { .site-footer { padding-bottom: 5.5rem; } }
.no-js .action-bar { display: none; }

/* ============================================================== reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .display__em { color: CanvasText; background: none; }
  .btn, .card, .form-card, .package, .builder-card, .option__box, .check__box, .pill span, .chip { border: 1px solid CanvasText; }
  .brand__slot { border-color: CanvasText; }
}

@media print {
  .site-header, .action-bar, .cta-band, .enquiry-form, .builder-card, .skip-link, .subnav, .footer-cta { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body { font-size: 11pt; }
  .site-footer { background: none; color: #000; }
}

/* ======================================================= narrow screens */
/* The off-canvas drawer must never widen the page. */
html { overflow-x: hidden; }
/* Grid children may shrink below their content; long tokens and buttons wrap. */
.split > *, .cta-band > *, .fee-feature > *, .contact-page > *, .talk > *, .service__grid > *,
.faq__layout > *, .hero__grid > *, .compare > *, .addons > *, .footer-grid > * { min-width: 0; }
.ph { overflow-wrap: anywhere; }
.btn { white-space: normal; text-align: center; }
.brand { min-width: 0; }
@media (max-width: 22.5em) {
  .header-phone { display: none; }
  .brand { gap: .6rem; }
  .brand__name { font-size: 1rem; }
}
.hero__photo picture { height: 100%; }
.mini-stats__value .ph { font-size: .42em; vertical-align: middle; }
.media-stack__card--top { top: -1.25rem; bottom: auto; right: auto; left: -.5rem; }
@media (min-width: 64em) { .media-stack__card--top { left: -2rem; } }
.partner__badge { display: inline-flex; align-items: center; gap: .4rem; margin: -.25rem 0 .9rem; padding: .3rem .75rem; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-100); font-size: .85rem; font-weight: 700; color: var(--navy); }
.partner__badge .icon { color: var(--blue); }
/* A single partner: one centred card rather than half a grid. */
.partner-grid:has(> .partner:only-child) { grid-template-columns: 1fr; max-width: 46rem; margin-inline: auto; }

/* The rest of the team, under the partner card. */
.team-grid { list-style: none; margin: 1.5rem auto 0; padding: 0; display: grid; gap: 1.25rem; max-width: 64rem; }
@media (min-width: 40em) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { display: grid; justify-items: center; align-content: start; gap: .35rem; padding: 1.75rem 1.25rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .avatar, .team-card__photo { margin-bottom: .6rem; }
.team-card__photo img { width: 4.25rem; height: 4.25rem; border-radius: 50%; object-fit: cover; }
.team-card__name { margin: 0; font-size: 1.15rem; }
.team-card__role { margin: 0; color: var(--blue-700); font-weight: 650; font-size: .93rem; line-height: 1.45; }
.team-card:nth-child(2) .avatar { background: linear-gradient(135deg, var(--lav-100), var(--sky-100)); }
.team-card:nth-child(3) .avatar { background: linear-gradient(135deg, var(--butter-100), var(--mint-100)); }
.partner__badges { list-style: none; margin: -.25rem 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.partner__badges .partner__badge { margin: 0; }
/* A real photo in an avatar circle. */
.avatar--photo { padding: 0; overflow: hidden; background: var(--sky-100); }
.avatar--photo picture, .avatar--photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
