/* ==========================================================================
   Footscray Dental Studio — Global Stylesheet v2 ("Glowdent" design language)
   Brand: Navy #2d4459 · Gold #bd995e · White / off-white #f5f5f3
   Type:  Marcellus (oversized display) · Poppins (body/nav/buttons)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours */
  --navy: #2d4459;
  --navy-strong: #24374a;
  --navy-deep: #101b26;        /* footer ground */
  --navy-card: #1a2a3a;        /* footer contact cards */
  --navy-watermark: #1c2e3f;   /* giant wordmark tone */

  --gold: #bd995e;
  --gold-light: #d9bc86;
  --gold-text: #7d6130;        /* AA gold on light */
  --gold-pale: #ecdfc6;

  --white: #ffffff;
  --off: #f5f5f3;              /* off-white section ground */
  --off-2: #edebe6;            /* card ground on white */
  --line: #e3e1da;
  --line-soft: #ecebe6;

  --text: #33424f;
  --text-soft: #66727e;
  --text-faint: #8a949d;
  --text-on-dark: #e8ecef;
  --text-on-dark-soft: #a7b4bf;

  /* Type */
  --font-display: 'Marcellus', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero: clamp(2.9rem, 6.5vw + .5rem, 5.6rem);
  --fs-display: clamp(2.2rem, 3.8vw + .6rem, 3.7rem);
  --fs-statement: clamp(1.55rem, 2.6vw + .6rem, 2.7rem);
  --fs-h3: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  --fs-body: 1rem;

  /* Shape */
  --r-card: 24px;
  --r-img: 24px;
  --r-tile: 16px;
  --r-pill: 999px;

  --shadow-pill: 0 10px 30px rgba(16, 27, 38, .12);
  --shadow-card: 0 2px 8px rgba(16, 27, 38, .05), 0 18px 44px rgba(16, 27, 38, .09);
  --shadow-float: 0 24px 60px rgba(16, 27, 38, .18);

  --container: 78rem;
  --container-narrow: 52rem;
  --header-h: 4.5rem;
  --header-gap: 1.1rem;
  --t: .3s cubic-bezier(.33, 1, .68, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-gap) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
img { border-radius: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-display); }
h3 { font-size: var(--fs-h3); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; }

p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-text); text-underline-offset: 3px; transition: color var(--t); }
a:hover { color: var(--navy); }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
li { margin-bottom: .55rem; }
strong { color: var(--navy); font-weight: 600; }

::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--navy); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 12px 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(var(--container-narrow), 100% - 2.5rem); margin-inline: auto; }

.section { padding-block: clamp(4rem, 8.5vw, 7.5rem); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--off { background: var(--off); }
.section--white { background: var(--white); }

.section-head { max-width: 48rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.1rem;
}
.eyebrow--gold { color: var(--gold-text); }
.on-dark .eyebrow { color: var(--text-on-dark-soft); }

/* Balanced card grids — equal heights per row, no orphan cards.
   Count classes (.grid--nX) centre any unfillable final row. */
.grid { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 700px) and (max-width: 979px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(4, 1fr); }
  :is(.grid--2, .grid--3, .grid--4) > * { grid-column: span 2; }
  :is(.grid--n3, .grid--n5, .grid--n7) > :last-child { grid-column: 2 / span 2; }
  .grid--n1 > :only-child { grid-column: 2 / span 2; }
}
@media (min-width: 980px) {
  .grid--2 { grid-template-columns: repeat(4, 1fr); }
  .grid--2 > * { grid-column: span 2; }
:is(.grid--2.grid--n3, .grid--2.grid--n5) > :last-child { grid-column: 2 / span 2; }
  .grid--n1 > :only-child { grid-column: 2 / span 2; }
  .grid--3 { grid-template-columns: repeat(6, 1fr); }
  .grid--3 > * { grid-column: span 2; }
  .grid--3.grid--n4 > :nth-child(4) { grid-column: 3 / span 2; }
  .grid--3.grid--n5 > :nth-child(4) { grid-column: 2 / span 2; }
  .grid--3.grid--n5 > :nth-child(5) { grid-column: 4 / span 2; }
  .grid--3.grid--n7 > :nth-child(7) { grid-column: 3 / span 2; }
  .grid--3.grid--n8 > :nth-child(7) { grid-column: 2 / span 2; }
  .grid--3.grid--n8 > :nth-child(8) { grid-column: 4 / span 2; }
  .grid--4 { grid-template-columns: repeat(8, 1fr); }
  .grid--4 > * { grid-column: span 2; }
  .grid--4.grid--n5 > :nth-child(5) { grid-column: 4 / span 2; }
  .grid--4.grid--n6 > :nth-child(5) { grid-column: 3 / span 2; }
  .grid--4.grid--n6 > :nth-child(6) { grid-column: 5 / span 2; }
}

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--rev > :first-child { order: 2; }
}
.split-photo { border-radius: var(--r-img); overflow: hidden; }
.split-photo img { width: 100%; height: 100%; min-height: 22rem; max-height: 34rem; object-fit: cover; }

/* ---------- Buttons (pills with trailing arrow) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; line-height: 1.2;
  padding: .95rem 1.8rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
/* Circular diagonal-arrow badge (thick rounded ↗ glyph drawn as SVG) */
.btn::after {
  content: "";
  display: block;
  width: 2.35em; height: 2.35em; flex: none;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312202e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 54%;
  transition: transform var(--t), background-color var(--t);
}
.btn:not(.btn--no-arrow):not(.btn--call) {
  padding-top: .4rem; padding-bottom: .4rem; padding-right: .45rem; gap: .85rem;
}
.btn--no-arrow::after { content: none; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translate(2px, -2px) scale(1.07); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--navy::after {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312202e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.btn--navy:hover::after {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bc86' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.btn--gold::after, .btn--white::after, .btn--outline::after {
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.btn--white:hover::after {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9bc86' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.btn--outline:hover::after {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d4459' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.btn--glass::after {
  background-color: rgba(255, 255, 255, .92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d4459' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 7.5h9M16.5 7.5v9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}

/* Entrance pop for the arrow badge */
@keyframes arrowPop {
  from { transform: scale(0) rotate(-50deg); opacity: 0; }
  to   { transform: scale(1) rotate(0); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content .btn::after,
  .reveal.is-visible .btn::after,
  .reveal-stagger.is-visible .btn::after {
    animation: arrowPop .55s cubic-bezier(.34, 1.56, .64, 1) .25s backwards;
  }
}

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--gold); color: var(--navy-deep); box-shadow: 0 12px 28px rgba(189, 153, 94, .35); }

.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-deep); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--gold); color: var(--navy-deep); }

.btn--outline { background: transparent; color: var(--navy); border-color: rgba(45, 68, 89, .35); }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.btn--glass {
  background: rgba(255, 255, 255, .14); color: #fff;
  border-color: rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--call { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn--call::after { content: none; }
.btn--call:hover { background: var(--gold); color: var(--navy-deep); }

.btn--lg { padding: 1.15rem 2.3rem; font-size: 1.02rem; }
.btn--sm { padding: .62rem 1.3rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 2rem; }
.btn-row:first-child { margin-top: 0; }

/* ---------- Floating pill header ---------- */
.site-header {
  position: fixed; top: var(--header-gap); left: 0; right: 0; z-index: 100;
  pointer-events: none;
}
.header-pill {
  pointer-events: auto;
  width: min(var(--container), 100% - 2rem); margin-inline: auto;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-pill);
  display: flex; align-items: center; gap: 1rem;
  padding: .45rem .55rem .45rem 1.4rem;
  transition: box-shadow var(--t), background var(--t);
}
.is-stuck .header-pill { box-shadow: 0 14px 40px rgba(16, 27, 38, .2); background: #fff; }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo svg, .logo img { height: 3.5rem; width: auto; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .9rem; font-weight: 500; color: var(--navy);
  padding: .55rem .8rem; border-radius: var(--r-pill);
  background: none; border: 0; font-family: var(--font-body); cursor: pointer;
  transition: color var(--t), background var(--t);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--gold-text); background: var(--off); }
.nav-link[aria-current="page"] { color: var(--gold-text); }
.nav-link .caret { width: .68rem; height: .68rem; transition: transform var(--t); }
.nav-link:hover .caret { transform: translate(1px, -1px); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(90deg); }

.header-ctas { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex: none; }
.header-ctas .btn { padding: .72rem 1.35rem; font-size: .86rem; }

/* Services dropdown */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 1.1rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(60rem, calc(100vw - 2rem));
  background: #fff; border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
  padding: 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mega::before { /* invisible bridge across the gap between nav item and panel */
  content: ""; position: absolute; left: 0; right: 0; top: -1.3rem; height: 1.3rem;
}
.has-mega.is-open .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Pill-framed category images inside the mega menu */
.mega-img {
  display: block; position: relative; height: 4.4rem;
  border-radius: var(--r-pill); overflow: hidden;
  margin-bottom: 1.1rem; text-decoration: none;
  background: linear-gradient(140deg, #3d566e, var(--navy-deep));
}
.mega-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .55s ease;
}
.mega-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 27, 38, .72), rgba(16, 27, 38, .08) 70%);
}
.mega-img span {
  position: absolute; left: 1.15rem; bottom: .65rem; z-index: 2;
  color: #fff; font-weight: 600; font-size: .84rem; letter-spacing: .02em;
}
.mega-img:hover img { transform: scale(1.08); }
.mega-featured .mega-img { margin-bottom: .75rem; }
.mega-col h3 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: .8rem;
}
.mega-col h3 a { color: inherit; text-decoration: none; }
.mega-col h3 a:hover { color: var(--navy); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; }
.mega-col a.sub {
  display: block; padding: .36rem 0; font-size: .89rem; color: var(--text);
  text-decoration: none; transition: color var(--t), padding-left var(--t);
}
.mega-col a.sub:hover { color: var(--gold-text); padding-left: .35rem; }
.mega-featured {
  background: var(--navy); border-radius: var(--r-tile);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem;
}
.mega-featured h3 { color: var(--gold-light); }
.mega-featured a.sub { color: var(--text-on-dark); }
.mega-featured a.sub:hover { color: var(--gold-light); }
.mega-featured .mega-note { font-size: .78rem; color: var(--text-on-dark-soft); margin: 0; }
.mega-featured .mega-view-all { font-size: .85rem; color: var(--gold-light); text-decoration: none; font-weight: 500; margin-top: .5rem; }
.mega-featured .mega-view-all:hover { color: #fff; }

/* Mobile header */
.nav-toggle {
  display: none; background: var(--off); border: 0; cursor: pointer;
  color: var(--navy); border-radius: var(--r-pill); padding: .65rem .8rem;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1180px) { .header-ctas .btn--navy { display: none; } }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; z-index: 99;
    top: calc(var(--header-gap) + var(--header-h) + .6rem);
    left: 1rem; right: 1rem;
    max-height: calc(100vh - var(--header-gap) - var(--header-h) - 1.6rem);
    max-height: calc(100dvh - var(--header-gap) - var(--header-h) - 1.6rem);
    overflow-y: auto;
    background: #fff; border-radius: var(--r-card);
    box-shadow: var(--shadow-float);
    padding: 1.25rem 1.25rem 1.75rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
    margin-inline: 0;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .35rem; font-size: 1rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .mega {
    position: static; transform: none; width: 100%;
    display: none; grid-template-columns: 1fr; gap: 1.35rem;
    box-shadow: none; padding: .25rem .35rem 1.1rem;
    transition: none;
  }
  .mega::before { display: none; }
  /* In the drawer only the JS-managed is-open state shows the panel (a focused
     trigger must not pin it open), and transform is restated so the desktop
     translateX(-50%) rule of equal specificity can never drag it off-screen */
  .has-mega.is-open .mega {
    display: grid; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  }
  .mega-img { height: 3.6rem; margin-bottom: .8rem; }
  .mega-note { display: none; }
  .mega-featured { padding: 1.1rem 1.15rem; }
  .mega-col a.sub { padding: .5rem 0; font-size: .93rem; }
  .mobile-nav-ctas { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; }
  /* Keep the page still behind the open drawer */
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1061px) { .mobile-nav-ctas { display: none; } }
@media (max-width: 560px) {
  .header-pill { padding-left: 1rem; }
  .logo svg, .logo img { height: 2.7rem; }
  .header-ctas .btn--call { padding: .6rem 1rem; font-size: .78rem; }
}

/* ---------- Photo hero ---------- */
.hero-photo {
  position: relative; overflow: hidden;
  min-height: max(38rem, 96svh);
  display: flex; align-items: flex-end;
  border-radius: 0;
  color: #fff;
}
.hero-photo--short { min-height: max(30rem, 68svh); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(13, 22, 31, .68) 0%, rgba(13, 22, 31, .4) 42%, rgba(13, 22, 31, .14) 75%, rgba(13, 22, 31, .26) 100%),
    linear-gradient(to top, rgba(13, 22, 31, .52) 0%, rgba(13, 22, 31, 0) 45%);
}

/* Overview section — relocated hero copy, split layout */
.overview-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 4.5rem); align-items: start;
}
@media (min-width: 920px) { .overview-grid { grid-template-columns: 1fr 1.55fr; } }
.overview-grid h2 { margin-bottom: 0; }
.overview-body p { max-width: 42rem; }
.hero-content {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-gap) + var(--header-h) + 4rem);
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
  max-width: 46rem;
}
.hero-photo h1 { color: #fff; margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.02rem; color: rgba(255, 255, 255, .92); max-width: 36rem; }

.trust-strip { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.75rem; }
.trust-avatars { display: flex; }
.trust-avatars img {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 2px solid #fff; object-fit: cover;
  margin-left: -.65rem;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-strip span { font-size: .85rem; font-weight: 500; color: rgba(255, 255, 255, .92); }

.hero-cards {
  position: absolute; right: clamp(1rem, 4vw, 4rem); bottom: clamp(2.5rem, 6vh, 4.5rem);
  z-index: 3; display: flex; flex-direction: column; gap: .9rem; align-items: flex-end;
  max-width: 21rem;
}
.stat-card {
  background: rgba(255, 255, 255, .94); color: var(--text);
  border-radius: 20px; padding: 1.4rem 1.6rem; width: 100%;
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stat-card .stat-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.stat-card .stat-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1.05; color: var(--navy); margin: .2rem 0 .35rem; }
.stat-card p { font-size: .82rem; color: var(--text-soft); margin: 0; }
.chip-card {
  background: rgba(16, 27, 38, .55); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 20px; padding: 1.1rem 1.25rem; width: 100%;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip-card .chip-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .6rem; }
.chip-card .chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: .74rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-pill); padding: .32rem .8rem;
}
@media (max-width: 980px) {
  .hero-cards { position: static; flex-direction: row; flex-wrap: wrap; align-items: stretch; max-width: none; margin-top: 2rem; }
  .hero-cards > * { flex: 1 1 16rem; }
  .hero-photo { align-items: stretch; }
  .hero-content { max-width: none; }
  .hero-photo .container { display: flex; flex-direction: column; justify-content: flex-end; }
}

/* ---------- Marquee ---------- */
.marquee-strip { background: var(--white); padding: 2.75rem 0 2.5rem; border-bottom: 1px solid var(--line-soft); }
.marquee-caption { text-align: center; font-size: .82rem; color: var(--text-faint); margin-bottom: 1.6rem; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem);
  width: max-content;
  /* 42 logos per pass, so the loop runs long to keep the same gentle drift speed */
  animation: marquee 210s linear infinite;
  padding-right: clamp(1.25rem, 2.5vw, 2.25rem);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mark { display: flex; align-items: center; flex: none; }
.mark img {
  height: clamp(4rem, 6.4vw, 5.2rem); width: auto;
  object-fit: contain; opacity: .82;
  transition: opacity var(--t), filter var(--t);
}
.marquee:hover .mark img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Editorial statement ---------- */
.statement-section { position: relative; background: var(--off); overflow: hidden; }
.statement {
  max-width: 46rem; margin-inline: auto; text-align: center; position: relative; z-index: 2;
  font-family: var(--font-display); font-size: var(--fs-statement);
  line-height: 1.35; color: var(--navy);
}
.statement-eyebrow { text-align: center; display: block; }
.float-photo {
  position: absolute; z-index: 1; border-radius: 18px; overflow: hidden;
  width: clamp(9rem, 16vw, 14rem); box-shadow: var(--shadow-card);
}
.float-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.float-photo--left { left: clamp(.5rem, 4vw, 5rem); top: 18%; transform: rotate(-2deg); }
.float-photo--right { right: clamp(.5rem, 4vw, 5rem); bottom: 14%; transform: rotate(2deg); }
@media (max-width: 900px) {
  .float-photo { position: static; transform: none; width: 11rem; }
  .statement-floats { display: flex; justify-content: center; gap: 1.25rem; margin-top: 2.25rem; }
}
@media (min-width: 901px) { .statement-floats { display: contents; } }

/* ---------- Service cards ---------- */
.svc-card {
  background: var(--off); border: 1.5px solid transparent; border-radius: var(--r-card);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.section--off .svc-card { background: var(--white); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--line); }
.svc-card h3 { margin-bottom: 0; }
.svc-card h3 a { color: var(--navy); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { font-size: .93rem; color: var(--text-soft); margin: 0; }
.svc-card .btn { margin-top: auto; position: relative; z-index: 1; }
.svc-card--featured { border-color: var(--navy); background: var(--white); }
.svc-card--featured:hover { border-color: var(--navy); }

.icon-tile {
  width: 4.4rem; height: 4.4rem; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--navy);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.section--off .icon-tile, .svc-card--featured .icon-tile { background: var(--off); }
.icon-tile svg { width: 2.1rem; height: 2.1rem; }
.icon-tile--img img { width: 2.9rem; height: 2.9rem; object-fit: contain; }
/* Icon tiles stay as they are on hover (client preference) */

.photo-card { border-radius: var(--r-card); overflow: hidden; min-height: 18rem; position: relative; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.04); }

/* ---------- Checklists ---------- */
.feature-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .8rem; }
@media (min-width: 700px) { .feature-list--2col { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0; font-size: .95rem; }
.feature-list .tick {
  flex: none; width: 1.5rem; height: 1.5rem; margin-top: .25rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold-text);
}
.feature-list .tick svg { width: .8rem; height: .8rem; }
.on-dark .feature-list .tick { background: rgba(189, 153, 94, .25); color: var(--gold-light); }

/* Numbered steps — balanced, count-aware rows (never 4 + 1 orphan) */
.steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; counter-reset: step; align-items: stretch; }
@media (min-width: 700px) and (max-width: 1019px) {
  .steps--grid { grid-template-columns: repeat(4, 1fr); }
  .steps--grid > li { grid-column: span 2; }
  :is(.steps--n3, .steps--n5, .steps--n7) > li:last-child { grid-column: 2 / span 2; }
}
@media (min-width: 1020px) {
  .steps--grid { grid-template-columns: repeat(12, 1fr); }
  .steps--grid > li { grid-column: span 3; }        /* 4 across by default */
  .steps--n3 > li, .steps--n6 > li { grid-column: span 4; }  /* rows of 3 */
  .steps--n5 > li { grid-column: span 4; }          /* 3 + 2 centred */
  .steps--n5 > li:nth-child(4) { grid-column: 3 / span 4; }
  .steps--n5 > li:nth-child(5) { grid-column: 7 / span 4; }
  .steps--n7 > li { grid-column: span 3; }          /* 4 + 3 centred */
  .steps--n7 > li:nth-child(5) { grid-column: 2 / span 3; }
  .steps--n7 > li:nth-child(6) { grid-column: 5 / span 3; }
  .steps--n7 > li:nth-child(7) { grid-column: 8 / span 3; }
}
.steps li {
  counter-increment: step; margin: 0;
  background: var(--off); border-radius: var(--r-tile);
  padding: 1.4rem 1.4rem 1.4rem 4.3rem; position: relative;
  font-size: .93rem; color: var(--text-soft);
  transition: transform var(--t), box-shadow var(--t);
}
.section--off .steps li { background: var(--white); }
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.2rem; top: 1.3rem;
  font-family: var(--font-display); font-size: 1.45rem; color: var(--gold);
  line-height: 1;
}
.steps li strong { display: block; margin-bottom: .2rem; }

/* ---------- Offer cards ---------- */
.offer-card { position: relative; }
.offer-card .offer-price { font-family: var(--font-display); font-size: 2rem; color: var(--navy); line-height: 1.1; }
.offer-card .offer-price--sm { font-size: 1.15rem; line-height: 1.4; }
.offer-card ul { font-size: .9rem; color: var(--text-soft); margin: 0; padding-left: 1.1rem; }
.offer-badge {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-text); background: var(--gold-pale);
  padding: .35rem .85rem; border-radius: var(--r-pill);
}

/* ---------- Rating badge ---------- */
.rating-badge {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-tile);
  padding: .85rem 1.3rem; text-decoration: none;
  transition: transform var(--t), box-shadow var(--t);
}
.rating-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.rating-badge .g { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.rating-badge .stars { color: var(--gold); letter-spacing: .1em; }
.rating-badge .label { font-size: .76rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--line-soft);
  border-radius: var(--r-tile); overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.section--white .faq-item { background: var(--off); border-color: transparent; }
.faq-item.is-open { border-color: var(--gold); box-shadow: var(--shadow-card); background: var(--white); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: .98rem; font-weight: 500; color: var(--navy);
  padding: 1.15rem 1.4rem;
}
.faq-icon {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--navy);
  transition: transform var(--t), background var(--t), color var(--t);
}
.faq-icon svg { width: .85rem; height: .85rem; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.33, 1, .68, 1); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.4rem 1.25rem; color: var(--text-soft); font-size: .93rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label { display: block; font-size: .84rem; font-weight: 500; color: var(--navy); margin-bottom: .45rem; }
.field .req { color: var(--gold-text); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .94rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 14px;
  padding: .95rem 1.15rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(189, 153, 94, .18);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field .error-msg { display: none; font-size: .78rem; color: #a13c2e; margin-top: .35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a13c2e; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: .8rem; color: var(--text-soft); text-align: center; }
.form-success {
  display: none; background: #eef4ec; border: 1px solid #c4d8bd; color: #3d5a34;
  border-radius: 14px; padding: 1rem 1.25rem; font-size: .9rem;
}
.form-success.is-visible { display: block; }

/* Booking split section */
.booking-split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .booking-split { grid-template-columns: 1fr 1.15fr; } }
.booking-title { font-size: clamp(2.6rem, 5vw, 4.3rem); }
.social-row { display: flex; gap: .6rem; margin-top: 1.75rem; }
.social-dot {
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--off); color: var(--navy); border: 1px solid var(--line-soft);
  transition: background var(--t), color var(--t), transform var(--t);
}
.social-dot svg { width: 1.05rem; height: 1.05rem; }
.social-dot:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

/* ---------- Info panels / hours / map ---------- */
.info-panel { background: var(--off); border-radius: var(--r-card); padding: 1.75rem; }
.section--off .info-panel { background: var(--white); }
.info-panel h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.1rem; }
.info-panel h3 svg { width: 1.15rem; height: 1.15rem; color: var(--gold-text); flex: none; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; color: var(--navy); font-weight: 500; }

/* Visiting Us — modern info cards + full-width map */
.visit-card {
  background: var(--off); border-radius: var(--r-card);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
  transition: transform var(--t), box-shadow var(--t);
}
.section--off .visit-card { background: var(--white); }
.visit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.visit-card h3 { margin-bottom: 0; font-size: 1.25rem; }
.visit-card p { font-size: .95rem; color: var(--text-soft); }
.visit-card .btn { margin-top: auto; }
.visit-card .hours { width: 100%; }
.hrow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .6rem 0; border-bottom: 1px dashed var(--line);
  font-size: .93rem; color: var(--text-soft);
}
.hrow:last-of-type { border-bottom: 0; }
.hrow span:last-child { white-space: nowrap; font-weight: 500; color: var(--navy); text-align: right; }
.map-embed {
  display: block; width: 100%; border: 0;
  border-radius: var(--r-card);
  height: clamp(20rem, 42vw, 28rem);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-card);
}

.map-card {
  border-radius: var(--r-card); overflow: hidden; min-height: 22rem; position: relative;
  background:
    linear-gradient(120deg, rgba(189, 153, 94, .1), transparent 55%),
    repeating-linear-gradient(0deg, var(--off-2) 0 2px, transparent 2px 48px),
    repeating-linear-gradient(90deg, var(--off-2) 0 2px, transparent 2px 48px),
    var(--off);
  display: grid; place-items: center;
}
.map-card .map-pin { text-align: center; padding: 2rem; }
.map-card .map-pin svg { width: 2.8rem; height: 2.8rem; color: var(--navy); margin-inline: auto; }
.map-card .map-pin p { font-size: .9rem; color: var(--navy); font-weight: 500; margin-top: .6rem; }
.map-card .map-pin .ph-note { font-size: .74rem; color: var(--text-soft); font-weight: 400; }

/* ---------- Urgent banner ---------- */
.urgent-banner {
  background: linear-gradient(135deg, var(--gold), #a5824a);
  color: var(--navy-deep); border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem;
  box-shadow: var(--shadow-card);
}
.urgent-banner .urgent-icon {
  flex: none; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: rgba(16, 27, 38, .14); display: grid; place-items: center;
}
.urgent-banner .urgent-icon svg { width: 1.5rem; height: 1.5rem; }
.urgent-banner p { margin: 0; color: var(--navy-deep); font-weight: 500; }

/* ---------- Placeholder imagery (fallback only) ---------- */
.img-ph {
  position: relative; overflow: hidden; border-radius: var(--r-img);
  background: linear-gradient(150deg, var(--off-2), var(--off));
  border: 1.5px dashed var(--line);
  min-height: 16rem; display: flex; align-items: flex-end;
}
.img-ph .ph-label {
  margin: 1.25rem; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); background: var(--white);
  padding: .45rem .9rem; border-radius: var(--r-pill);
}

/* ---------- Navy sections & inner-page helpers ---------- */
.section--navy { background: var(--navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p, .section--navy li { color: var(--text-on-dark-soft); }
.section--navy .eyebrow { color: var(--gold-light); }
.section--navy strong { color: #fff; }
.section--navy a:not(.btn) { color: var(--gold-light); }
.section--navy a:not(.btn):hover { color: #fff; }

.info-panel--dark { background: var(--navy-card); }
.info-panel--dark h3 { color: #fff; }
.info-panel--dark h3 svg { color: var(--gold-light); }
.info-panel--dark .hrow { border-bottom-color: rgba(255, 255, 255, .18); color: var(--text-on-dark-soft); }
.info-panel--dark .hrow span:last-child { color: var(--gold-light); }

/* Solid navy hero for utility/legal pages (no photo) */
.hero-solid {
  background:
    radial-gradient(50rem 26rem at 90% -20%, rgba(189, 153, 94, .22), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding-top: calc(var(--header-gap) + var(--header-h) + 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-solid h1 { color: #fff; margin-bottom: 0; }
.hero-solid .breadcrumbs ol { margin-bottom: 1.25rem; }

/* Graceful fallbacks when a stock photo fails to load */
.hero-photo { background: linear-gradient(140deg, #3d566e, var(--navy-deep)); }
.split-photo {
  background: linear-gradient(140deg, #43597033, var(--off-2));
  min-height: 20rem;
}
.avatar-photo { position: relative; background: linear-gradient(150deg, #3d566e, var(--navy-deep)); }
.avatar-photo .init {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-light);
}
.avatar-photo img { position: relative; z-index: 1; }

/* Related-services mini cards */
.related-card h3 { font-size: 1.15rem; }

/* ---------- Dark CTA banner ---------- */
.cta-banner { background: var(--navy); position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(44rem 26rem at 108% 130%, rgba(189, 153, 94, .25), transparent 62%);
}
.cta-banner .container { position: relative; }
.cta-banner-inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-banner-inner { grid-template-columns: 1.4fr 1fr; } .cta-banner-inner .btn-row { justify-content: flex-end; } }
.cta-banner h2 { color: #fff; margin-bottom: .6rem; }
.cta-banner p { color: var(--text-on-dark-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--text-on-dark-soft); font-size: .92rem; position: relative; overflow: hidden; }
.footer-cards { display: grid; gap: 1.25rem; padding-top: clamp(3.5rem, 6vw, 5rem); }
@media (min-width: 760px) { .footer-cards { grid-template-columns: repeat(3, 1fr); } }
.footer-card {
  background: var(--navy-card); border-radius: var(--r-card);
  padding: 2rem 1.5rem; text-align: center;
  transition: transform var(--t), background var(--t);
}
.footer-card:hover { transform: translateY(-4px); background: #203144; }
.footer-card .fc-icon {
  width: 3rem; height: 3rem; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: rgba(189, 153, 94, .16); color: var(--gold-light);
}
.footer-card .fc-icon svg { width: 1.3rem; height: 1.3rem; }
.footer-card h3 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.footer-card a { color: var(--text-on-dark-soft); text-decoration: none; }
.footer-card a:hover { color: var(--gold-light); }

.footer-main {
  display: grid; gap: 3rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  position: relative; z-index: 2;
}
@media (min-width: 900px) { .footer-main { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-brand .logo svg, .footer-brand .logo img { height: 4.2rem; }
.newsletter-title { font-family: var(--font-display); color: #fff; font-size: 1.6rem; margin: 1.5rem 0 1rem; }
.newsletter-form { display: flex; align-items: center; gap: .5rem; max-width: 20rem; border-bottom: 1.5px solid rgba(255, 255, 255, .3); padding-bottom: .5rem; }
.newsletter-form input {
  flex: 1; background: none; border: 0; color: #fff;
  font-family: var(--font-body); font-size: .92rem; padding: .4rem 0;
}
.newsletter-form input::placeholder { color: var(--text-on-dark-soft); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: none; border: 0; color: var(--gold-light); cursor: pointer;
  font-size: 1.2rem; padding: .2rem .4rem; transition: transform var(--t), color var(--t);
}
.newsletter-form button:hover { transform: translateX(3px); color: #fff; }
.footer-brand .btn { margin-top: 1.5rem; }
.site-footer h3.col-title {
  font-family: var(--font-body); font-size: .76rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--text-on-dark-soft); text-decoration: none; transition: color var(--t); }
.site-footer a:hover { color: var(--gold-light); }

.footer-bottom {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  align-items: center; justify-content: space-between; font-size: .78rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }

.footer-watermark {
  position: relative; z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--font-display); color: var(--navy-watermark);
  font-size: clamp(5rem, 17.5vw, 16.5rem); line-height: .72;
  text-align: center; letter-spacing: .04em; white-space: nowrap;
  margin-top: 1.5rem; margin-bottom: -.12em;
}

/* ---------- Breadcrumbs (pill style) ---------- */
.breadcrumbs { position: relative; z-index: 3; }
.breadcrumbs ol {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  list-style: none; margin: 0 0 1.5rem; padding: .5rem 1.1rem;
  font-size: .78rem; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-pill);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "›"; color: var(--gold-light); }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 500; }

/* ---------- Utility pages ---------- */
.prose h2 { margin-top: 3rem; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.placeholder-flag {
  background: var(--gold-pale); border: 1.5px dashed var(--gold);
  border-radius: var(--r-tile); padding: 1.25rem;
  font-size: .9rem; color: var(--navy); margin-bottom: 3rem;
}
.sitemap-cols { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .sitemap-cols { grid-template-columns: repeat(3, 1fr); } }
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols ul ul { padding-left: 1.1rem; margin-top: .5rem; border-left: 1.5px solid var(--line); }
.sitemap-cols a { text-decoration: none; color: var(--text); }
.sitemap-cols a:hover { color: var(--gold-text); }

.page-404 { text-align: center; padding-block: clamp(8rem, 16vw, 12rem) clamp(5rem, 10vw, 8rem); }
.page-404 .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold); line-height: 1; }

/* Team cards */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Footer lockup: the single logo asset reversed out to white on the dark ground */
.logo--reversed img { filter: brightness(0) invert(1); }

/* Wordmark fallback — shown only if the logo image fails to load and removes itself */
.logo-text {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em;
  color: var(--gold-text); white-space: nowrap;
}
.logo-text b { font-weight: 400; color: var(--navy); }
.logo--reversed .logo-text, .logo--reversed .logo-text b { color: #fffdf9; }
.logo img + .logo-text { display: none; }

/* Long client headings sit a step down so a hero never fills the whole viewport */
.hero-photo h1.h1--long { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; }

/* Featured practitioner profiles */
.team-features { display: grid; gap: 3.5rem; margin-bottom: 1rem; }
.team-feature { align-items: start; }
/* Photo only pins alongside the bio once the split is actually two columns —
   on a single-column layout a sticky photo would sit over the text as you scroll */
@media (min-width: 920px) {
  .team-feature .team-photo { position: sticky; top: 7rem; }
}
.team-feature .role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; display: block; margin-bottom: .55rem; }
.team-feature .team-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.team-feature .team-photo { aspect-ratio: 4 / 4.6; max-width: 26rem; justify-self: center; width: 100%; }
.team-feature .team-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }
.team-feature p { max-width: 38rem; }

.team-card .avatar-photo { border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 4 / 3.4; }
.team-card .avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.team-card .tbc { font-size: .84rem; color: var(--text-soft); }
.tbc-note {
  font-size: .86rem; color: var(--text-soft); background: var(--off);
  border: 1.5px dashed var(--gold); border-radius: var(--r-tile);
  padding: 1.25rem; margin-bottom: 2rem;
}

.small-note { font-size: .84rem; color: var(--text-soft); font-style: italic; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--text-on-dark-soft); }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.33, 1, .68, 1); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.33, 1, .68, 1); }
  .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .07s; }
  .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .14s; }
  .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .21s; }
  .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .28s; }
  .reveal-stagger.is-visible > :nth-child(6) { transition-delay: .35s; }
}

@media print {
  .site-header, .site-footer, .cta-banner, .btn, .breadcrumbs { display: none !important; }
}
