/* ==========================================================================
   Millport Villas — Residential Care Facility for the Elderly
   Custom stylesheet (loads after Bootstrap 5)
   ========================================================================== */

/* ---------- 1. Design tokens ----------
   Premium, bright and welcoming. #072354 is the brand anchor — it carries
   headings, the header, deep section bands and primary CTAs — but it is used
   as *ink*, not as wallpaper: clean white holds the majority of the surface
   area so the site reads light and open. #1B8638 is the accent — the "living"
   cue for wellbeing and confirmation — and warm gold + soft peach supply the
   warmth that keeps a navy-on-white palette from turning clinical.

   White is the ground everywhere; the warm tints (--mv-stone, --mv-peach-soft,
   --mv-green-tint) are barely-there washes used only to separate alternating
   bands, never as a page background.

   The --mv-navy/--mv-sage/--mv-gold alias names are kept so all eight pages
   recolour from this one block without touching a line of HTML.
   ------------------------------------------------------------------ */
:root {
  /* How far the hero trust cards hang below the hero's bottom edge. Declared
     here (not on the cards) because the section beneath must pad past the
     same distance — one value, so the two can never drift apart. Stepped down
     per breakpoint in section 30. */
  --mv-hero-card-overlap: clamp(3rem, 5.5vw, 5rem);

  /* Core palette — brand navy */
  --mv-ink: #072354;          /* primary brand colour                        */
  --mv-ink-deep: #041634;     /* deeper still: hero scrims, footer           */
  --mv-ink-soft: #1C3D75;     /* lifted navy: gradients, hover states        */
  --mv-ink-tint: #E8EEF8;     /* palest navy wash: alternating bands         */

  /* Complementary accent — brand green.
     The second brand colour. It is the "living" accent: growth, garden,
     wellbeing. Used for confirmation and vitality cues (ticks, amenity
     icons, "included" markers, the wellbeing band) so it never competes
     with gold, which owns the primary CTA. Three steps because one green
     cannot clear WCAG AA everywhere:
       --mv-green      #1B8638  4.47:1 on white — fills, borders, icon tiles,
                                large (>=24px) display text. NOT body text.
       --mv-green-deep #126024  7.40:1 on white — anything body-sized anyone
                                has to read.
       --mv-green-lift #3FBF63  6.42:1 on navy  — green on the dark bands,
                                where #1B8638 falls to 3.28:1.               */
  --mv-green: #1B8638;
  --mv-green-deep: #126024;
  --mv-green-lift: #3FBF63;
  --mv-green-tint: #EAF5EC;   /* palest green wash: soft blocks, hovers      */

  /* The former gold accent now resolves to the brand green. These names are
     kept (rather than search-replaced away) because ~70 rules reference them;
     retiring the names would be a much larger, riskier diff for no visual
     difference. Each maps onto the green step that is legible where it is
     actually used:
       --mv-gold-warm  = #1B8638  decorative fills, rules, borders, icon
                                  frames on LIGHT grounds (4.47:1 on white).
       --mv-gold-deep  = #126024  green as TEXT on a light ground (7.40:1) —
                                  anything body-sized anyone has to read.
     NOTE: --mv-gold (the alias below) is also used as text on NAVY bands, so
     it points at --mv-green-lift, not at #1B8638, which falls to 3.28:1
     there. See the alias block. */
  --mv-gold-warm: var(--mv-green);
  --mv-gold-deep: var(--mv-green-deep);
  /* Rating stars only: a neutral warm gold so ratings read as ratings and
     not as the green brand accent. 4.86:1 on white. */
  --mv-star-gold: #C8952F;
  --mv-peach: #E8A87C;        /* soft warm accent                            */
  --mv-peach-soft: #FBEDE2;   /* peach wash for soft tinted blocks           */

  /* Warm neutrals — the ground the whole site sits on */
  --mv-cream-bg: #FFFFFF;     /* page-level ground: clean white             */
  --mv-stone: #FAF7F2;        /* faintest warm band: alternating sections   */
  --mv-stone-deep: #F0EBE2;   /* deeper warm tint: borders, hovers          */

  /* Semantic aliases (legacy names → new palette) */
  --mv-navy: var(--mv-ink);
  --mv-navy-dark: var(--mv-ink-deep);
  --mv-navy-light: var(--mv-ink-soft);
  --mv-sage: var(--mv-peach);
  /* Peach survives as soft background washes only. As TEXT it was #C97F4E,
     ~3.4:1 on white (below AA) and now an orphan third hue next to the green
     accent, so both text aliases resolve to the deep green. */
  --mv-sage-dark: var(--mv-green-deep);
  --mv-sage-soft: var(--mv-peach-soft);
  /* --mv-gold is the accent as it appears on the NAVY bands (banner eyebrow,
     breadcrumbs, footer links, back-to-top) as well as on white. It resolves
     to the lifted green so it stays legible on navy, where #1B8638 is only
     3.28:1; on white it reads as a bright, friendly green. */
  --mv-gold: var(--mv-green-lift);
  --mv-gold-dark: var(--mv-gold-deep);
  --mv-cream: var(--mv-stone);
  --mv-cream-deep: var(--mv-stone-deep);
  /* Legacy forest/brass/terracotta names still referenced in a few rules */
  --mv-forest: var(--mv-ink);
  --mv-forest-dark: var(--mv-ink-deep);
  --mv-forest-light: var(--mv-ink-soft);
  --mv-brass: var(--mv-gold-warm);
  --mv-brass-dark: var(--mv-gold-deep);
  --mv-terracotta: var(--mv-peach);
  --mv-terracotta-dark: var(--mv-green-deep);
  --mv-terracotta-soft: var(--mv-peach-soft);

  /* Text: warm-tinted navy-greys, never pure black */
  --mv-charcoal: #22303F;
  --mv-muted: #5E6B7D;
  --mv-border: #E2E7EF;
  --mv-white: #FFFFFF;

  /* The brief specifies Calluna as the main font. Calluna is commercial
     (exljbris / Jos Buivenga) and cannot be served from a free CDN, so it is
     not bundled here — see the @font-face block in section 1b for the drop-in
     procedure. Spectral is the active face until then: the closest
     freely-licensed relative, same warm humanist book-serif character with a
     true italic.

     "Calluna" leads BOTH stacks, so the moment the webfont kit is added it
     takes over headings and body copy together with no further edits. */
  --mv-font-head: "Calluna", "Spectral", Georgia, "Times New Roman", serif;
  --mv-font-body: "Calluna", "Spectral", Georgia, "Times New Roman", serif;
  /* Sans kept for eyebrows, buttons and UI chrome, where a serif would muddy
     small uppercase text. */
  --mv-font-ui: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Type scale ----
     One ladder for the whole site. Every heading, eyebrow and body size below
     resolves to one of these steps, so a section title is the same size on
     every page whether it sits on stone, on navy or over a parallax image.
     Sizes are fluid (clamp) so the hierarchy holds from 360px to 1600px. */

  /* Display / headings */
  --mv-fs-hero:     clamp(2.4rem, 5.6vw, 4.4rem);   /* page hero h1 only      */
  --mv-fs-h1:       clamp(2.1rem, 5vw, 3.5rem);     /* inner-page h1          */
  --mv-fs-h2:       clamp(1.75rem, 3.6vw, 2.6rem);  /* every section title    */
  --mv-fs-h3:       clamp(1.25rem, 2.2vw, 1.6rem);  /* sub-section heading    */
  --mv-fs-h4:       1.2rem;                         /* card / item heading    */
  --mv-fs-h5:       1.05rem;                        /* compact card heading   */

  /* Body copy */
  --mv-fs-lead:     clamp(1.08rem, 1.3vw, 1.22rem); /* intros, standfirsts    */
  --mv-fs-body:     1.0625rem;                      /* default running text   */
  --mv-fs-sm:       .95rem;                         /* card copy, captions    */
  --mv-fs-xs:       .85rem;                         /* meta, fine print       */

  /* Uppercase eyebrows and labels */
  --mv-fs-eyebrow:  .78rem;
  --mv-ls-eyebrow:  .14em;

  /* Heading rhythm — shared so hierarchy reads the same everywhere */
  --mv-lh-head:     1.22;
  --mv-lh-tight:    1.15;   /* large display headings only */
  --mv-lh-body:     1.75;
  --mv-lh-snug:     1.6;    /* card copy */
  --mv-ls-head:     -.015em;

  /* Restrained radii: still soft enough to feel residential, tight enough to
     read as considered rather than playful. */
  --mv-radius: 10px;
  --mv-radius-lg: 16px;
  --mv-radius-xl: 22px;
  /* Buttons and other pill-shaped controls */
  --mv-radius-btn: 8px;

  /* Navy-tinted shadows: neutral grey shadows look muddy over cream, and a
     shadow carrying a trace of the brand colour reads as depth, not dirt. */
  --mv-shadow-sm: 0 4px 16px rgba(7, 35, 84, .07);
  --mv-shadow: 0 14px 38px rgba(7, 35, 84, .11);
  --mv-shadow-lg: 0 28px 70px rgba(7, 35, 84, .16);
  --mv-transition: .35s cubic-bezier(.22, .61, .36, 1);
  /* Longer, softer easing for entrance animations */
  --mv-ease-out: .8s cubic-bezier(.16, 1, .3, 1);
  --mv-header-h: 86px;

  /* Shared premium card system (contact tiles, feature cards, hero cards,
     sidebar boxes). A faint warm wash so cards read as a distinct surface on
     white sections as well as on stone/cream ones. */
  --mv-card-surface: linear-gradient(180deg, #fff 0%, var(--mv-stone) 100%);
  --mv-card-hairline: 1px solid rgba(27, 134, 56, .22);
  --mv-card-shadow: 0 1px 2px rgba(7, 35, 84, .04), 0 10px 30px rgba(7, 35, 84, .06);
  --mv-card-shadow-hover: 0 2px 4px rgba(7, 35, 84, .05), 0 22px 48px rgba(7, 35, 84, .12);
}

/* ---------- 1b. Calluna (commercial — drop-in) ----------
   The brief's specified typeface. Calluna is licensed, not free, so no font
   files ship with this repo and the site currently renders in Spectral.

   TO ACTIVATE CALLUNA — no other file needs to change:

   Option A · self-hosted kit (preferred: no third-party request, fastest)
     1. Buy a webfont licence at https://www.exljbris.com/calluna.html
     2. Put the .woff2 files in assets/fonts/
     3. Delete the surrounding comment markers on the @font-face rules below.

   Option B · Adobe Fonts (Calluna is included in a Creative Cloud plan)
     1. Create a web project containing Calluna, then add its <link> to the
        <head> of all 8 pages, above assets/css/style.css.
     2. Leave the rules below commented out — Adobe serves the @font-face.

   Either way --mv-font-head / --mv-font-body already lead with "Calluna", so
   the swap happens as soon as the family resolves.

   font-display:swap renders Spectral immediately and repaints in Calluna on
   arrival, so no one waits on a blank page. Keep the 400/600 pair at minimum:
   body copy uses 400 and every heading uses 600.

@font-face {
  font-family: "Calluna";
  src: url("../fonts/calluna-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calluna";
  src: url("../fonts/calluna-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Calluna";
  src: url("../fonts/calluna-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calluna";
  src: url("../fonts/calluna-semibold-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
*/

/* ---------- 2. Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mv-header-h) + 16px); }

body {
  font-family: var(--mv-font-body);
  /* Larger base size: primary audience includes seniors 60+ */
  font-size: var(--mv-fs-body);
  line-height: var(--mv-lh-body);
  color: var(--mv-charcoal);
  /* Warm white rather than pure white: the whole site sits a half-step warmer
     than #fff so white cards read as raised surfaces against it. */
  background-color: var(--mv-cream-bg);
  overflow-x: hidden;
}

/* Nav, form controls and other interactive chrome stay on the sans face:
   small uppercase and input text are crisper without serifs. */
.navbar, .nav-link, .form-control, .form-select, .form-label,
.breadcrumb, .badge, .mv-badge, .pagination { font-family: var(--mv-font-ui); }

h1, h2, h3, h4, h5, h6, .mv-display {
  font-family: var(--mv-font-head);
  color: var(--mv-navy);
  /* Spectral's 600 is the sweet spot for display sizes: enough weight to
     anchor a section without the slab-like density of its 700. */
  font-weight: 600;
  line-height: var(--mv-lh-head);
  letter-spacing: var(--mv-ls-head);
  text-wrap: balance;
}

/* Previous/next titles fill the line before wrapping, rather than splitting evenly. */
.mv-post-nav__title { text-wrap: pretty; }

h1 { font-size: var(--mv-fs-h1); line-height: var(--mv-lh-tight); }
h2 { font-size: var(--mv-fs-h2); }
h3 { font-size: var(--mv-fs-h3); }
h4 { font-size: var(--mv-fs-h4); }
h5 { font-size: var(--mv-fs-h5); }
h6 { font-size: var(--mv-fs-eyebrow); }

/* Bootstrap's .h1–.h6 helpers are used to downgrade headings for document
   outline reasons (e.g. an <h2> that must *look* like a card heading).
   Point them at the same ladder so they never diverge from the real tags. */
.h1 { font-size: var(--mv-fs-h1) !important; }
.h2 { font-size: var(--mv-fs-h2) !important; }
.h3 { font-size: var(--mv-fs-h3) !important; }
.h4 { font-size: var(--mv-fs-h4) !important; }
.h5 { font-size: var(--mv-fs-h5) !important; }
.h6 { font-size: var(--mv-fs-eyebrow) !important; }
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--mv-font-head);
  font-weight: 600;
  line-height: var(--mv-lh-head);
  letter-spacing: var(--mv-ls-head);
  color: var(--mv-navy);
}

/* ---- Split-colour headings -------------------------------------------
   Every heading runs in the primary navy tone and closes on the gold
   accent: the opening clause stays primary, the final phrase is wrapped
   in <span class="hl"> and lifts to the warm gold, italic — the same treatment
   the hero h1 already uses, generalised so every section title on every
   page reads as one system.

   Inherits font-family, size, weight and letter-spacing from the heading
   it sits inside, so the type scale and rhythm are untouched.

   One accent tone site-wide (--mv-gold-warm / #1B8638) on both light and dark
   grounds, so the highlight is identical everywhere it appears. */
.hl {
  color: var(--mv-brass);
  font-style: italic;
  font-weight: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

p { margin-bottom: 1.1rem; }

/* Serif body copy benefits from slightly opened tracking at small sizes and
   from proper optical rendering. */
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
p, li { letter-spacing: .002em; }

a { color: var(--mv-navy); text-decoration: none; transition: color var(--mv-transition); }
a:hover, a:focus { color: var(--mv-gold-dark); }

/* Visible, on-brand focus ring for keyboard users everywhere. */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.form-control:focus-visible, .form-select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--mv-gold-warm);
  outline-offset: 3px;
  border-radius: 4px;
}

img { max-width: 100%; height: auto; }

/* Selection uses the deep green, not --mv-gold: white on #3FBF63 is only
   ~2.3:1, which makes selected text harder to read than unselected. */
::selection { background: var(--mv-green-deep); color: #fff; }

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid var(--mv-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 2000;
  background: var(--mv-navy);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: 0 0 var(--mv-radius) var(--mv-radius);
  transition: top .25s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Utilities ---------- */
.bg-cream { background-color: var(--mv-cream) !important; }
.bg-cream-deep { background-color: var(--mv-cream-deep) !important; }
.bg-white-clean { background-color: #fff !important; }
/* Navy bands get a subtle depth gradient and a warm glow rather than a flat
   fill, so a dark section still feels lit rather than heavy. */
.bg-navy {
  background-color: var(--mv-navy) !important;
  background-image:
    radial-gradient(70% 90% at 12% 0%, rgba(27, 134, 56, .16), transparent 62%),
    radial-gradient(60% 80% at 92% 100%, rgba(232, 168, 124, .14), transparent 68%),
    linear-gradient(160deg, var(--mv-ink-deep) 0%, var(--mv-ink) 55%, var(--mv-ink-soft) 100%) !important;
}
.bg-sage-soft { background-color: var(--mv-sage-soft) !important; }

.text-navy { color: var(--mv-navy) !important; }
.text-gold { color: var(--mv-gold-dark) !important; }
.text-sage { color: var(--mv-sage-dark) !important; }
.text-muted-2 { color: var(--mv-muted) !important; }

/* Generous vertical rhythm — the brief asks for spacious, and white space is
   the cheapest luxury signal there is. */
.section { padding: clamp(4.5rem, 7vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
/* Phones: 72px top and bottom left ~144px between sections; this keeps the
   rhythm without long empty scrolls. */
@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
}

.lead-2 { font-size: var(--mv-fs-lead); line-height: var(--mv-lh-body); color: var(--mv-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  color: var(--mv-gold-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mv-gold);
  display: inline-block;
}
.eyebrow.eyebrow-center::before { display: none; }

/* Every section heading on the site — whatever the section's background or
   block class — resolves to this one rule. Variants below may change colour,
   measure or alignment, but never the size, weight or rhythm. */
.section-title,
.mv-trust__title,
.mv-values__title,
.mv-mission-banner__title,
.mv-parallax__title {
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h2);
  font-weight: 600;
  line-height: var(--mv-lh-tight);
  letter-spacing: var(--mv-ls-head);
  margin-bottom: 1rem;
}
.section-intro { max-width: 720px; font-size: var(--mv-fs-lead); line-height: var(--mv-lh-body); color: var(--mv-muted); }
.section-head-center { text-align: center; }
.section-head-center .section-intro { margin-inline: auto; }
.mv-section-difference .section-intro { max-width: 800px; }

.rule-gold { width: 64px; height: 3px; background: var(--mv-gold); border-radius: 3px; border: 0; opacity: 1; }

/* ---------- 4. Buttons ----------
   CTAs carry the conversion load on every page, so they are deliberately
   generous: wide padding, a warm gold fill that stands clear of both the
   navy and the cream grounds, and a light sweep on hover that signals
   interactivity without novelty.
   ------------------------------------------------------------------ */
.btn {
  font-family: var(--mv-font-ui);
  font-weight: 600;
  border-radius: var(--mv-radius-btn);
  padding: .9rem 2.1rem;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition),
              background-color var(--mv-transition), border-color var(--mv-transition),
              color var(--mv-transition);
  border-width: 2px;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg { padding: 1.05rem 2.5rem; font-size: 1.05rem; }

/* Shared light sweep for the two solid CTA styles. */
.btn-gold::before, .btn-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.btn-gold:hover::before, .btn-navy:hover::before,
.btn-gold:focus-visible::before, .btn-navy:focus-visible::before { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  .btn-gold::before, .btn-navy::before { display: none; }
}

/* Primary CTA. Now the brand green rather than gold, so it carries white
   text (5.11:1) — the old near-black brown ink was chosen for a gold fill
   and drops to ~2.4:1 on green. Hover DEEPENS the green instead of
   lightening it, which keeps the label's contrast climbing on hover. */
.btn-gold {
  background: var(--mv-green);
  border-color: var(--mv-green);
  color: #fff;
  box-shadow: 0 2px 10px rgba(27, 134, 56, .28);
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--mv-green-deep);
  border-color: var(--mv-green-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(27, 134, 56, .42);
}

.btn-navy {
  background: var(--mv-navy);
  border-color: var(--mv-navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(7, 35, 84, .22);
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--mv-ink-soft);
  border-color: var(--mv-ink-soft);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(7, 35, 84, .34);
}

.btn-outline-navy { border-color: var(--mv-navy); color: var(--mv-navy); background: transparent; }
.btn-outline-navy:hover, .btn-outline-navy:focus { background: var(--mv-navy); color: #fff; transform: translateY(-2px); }

.btn-outline-cream { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-cream:hover, .btn-outline-cream:focus { background: #fff; color: var(--mv-navy); border-color: #fff; }

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--mv-navy);
}
.btn-link-arrow .arrow { transition: transform var(--mv-transition); }
.btn-link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- 5. Header ---------- */
.mv-topbar {
  background: linear-gradient(100deg, var(--mv-ink-deep) 0%, var(--mv-ink) 60%, var(--mv-ink-soft) 100%);
  color: rgba(255, 255, 255, .88);
  font-size: var(--mv-fs-xs);
  font-family: var(--mv-font-ui);
  padding: .55rem 0;
  letter-spacing: .01em;
}
.mv-topbar a { color: rgba(255, 255, 255, .92); font-weight: 500; }
.mv-topbar a:hover { color: var(--mv-gold-warm); }

.mv-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(253, 250, 245, .92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(7, 35, 84, .07);
  transition: box-shadow var(--mv-transition), background-color var(--mv-transition);
}
.mv-header.is-stuck {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(7, 35, 84, .06), 0 10px 30px rgba(7, 35, 84, .08);
}

/* The bar keeps ONE height at every scroll position. Nothing about the sticky
   state may change the box model — only colour and shadow — or the page
   content jumps under the header as it sticks. */
.mv-navbar {
  padding-block: .65rem;
  min-height: var(--mv-header-h);
  flex-wrap: nowrap;
  column-gap: 1rem;
}

.mv-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  /* The mark must never be squeezed by neighbouring nav items. */
  flex: 0 0 auto;
  max-width: 100%;
}
/* Both marks are millportvillas.png at 2098x749 (~2.8:1), driven from a single
   --mv-logo-h, with aspect-ratio deriving the width, so the complete emblem +
   wordmark is always laid out at its true proportions — never clipped, never
   stretched. */
.mv-brand__logo {
  display: block;
  height: var(--mv-logo-h, 55px);
  width: auto;
  aspect-ratio: 2098 / 749;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
}
/* Deliberately identical when stuck — see .mv-navbar above. */
@media (max-width: 991.98px) { .mv-brand__logo { --mv-logo-h: 40px; } }
@media (max-width: 575.98px) { .mv-brand__logo { --mv-logo-h: 34px; } }

/* The list is the vertical centring authority for every item in it, links and
   the CTA alike, so they share one baseline regardless of their own padding. */
.mv-nav {
  flex-wrap: nowrap;
  align-items: center;
}
.mv-nav .nav-item { display: flex; align-items: center; }

.mv-nav .nav-link {
  font-weight: 600;
  color: var(--mv-charcoal);
  padding: .5rem .85rem !important;
  position: relative;
  display: flex;
  align-items: center;
  /* "About Us" and "Schedule a Tour" must never break across two lines. */
  white-space: nowrap;
  line-height: 1.2;
}
.mv-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .15rem;
  height: 2px;
  background: var(--mv-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mv-transition);
}
.mv-nav .nav-link:hover::after,
.mv-nav .nav-link.active::after { transform: scaleX(1); }
.mv-nav .nav-link.active { color: var(--mv-navy); }

/* The tour CTA keeps its gold styling; only its metrics are tuned so it sits
   on the same centre line as the links and never wraps. */
.mv-nav .btn-gold {
  white-space: nowrap;
  padding: .6rem 1.35rem;
  line-height: 1.2;
  font-size: var(--mv-fs-sm);
}

/* font-size scales Bootstrap's icon (1.5em): .9rem gives a ~22px icon in a
   compact 38px button, rather than Bootstrap's default ~56px. */
.navbar-toggler { border: 2px solid var(--mv-border); border-radius: 8px; padding: .2rem .35rem; font-size: .9rem; }
.navbar-toggler:focus { box-shadow: none; }
/* Open menu: the three bars become an X (same colour and weight as Bootstrap's bars). */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  /* Below lg the bar is brand + toggler only; the panel below it is free to be
     as tall as it needs, so the fixed bar height no longer applies. */
  .mv-navbar { min-height: 0; flex-wrap: wrap; }
  .mv-nav {
    flex-wrap: wrap;
    align-items: stretch;
    padding-top: 1rem;
    border-top: 1px solid var(--mv-border);
    margin-top: .85rem;
  }
  .mv-nav .nav-item { display: block; }
  .mv-nav .nav-link { padding: .75rem .25rem !important; display: block; }
  .mv-nav .nav-link::after { left: .25rem; right: auto; width: 26px; }
  .mv-header .navbar-collapse .btn { width: 100%; margin-top: .75rem; }
  .mv-nav .btn-gold { white-space: normal; }
}

/* ---------- 6. Media placeholders ---------- */
.mv-media {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--mv-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--mv-sage-soft), var(--mv-cream-deep));
  box-shadow: var(--mv-shadow);
}
.mv-media::before { content: ""; display: block; padding-top: 68%; }
.mv-media--square::before { padding-top: 100%; }
.mv-media--portrait::before { padding-top: 126%; }
.mv-media--wide::before { padding-top: 56.25%; }
.mv-media--tall::before { padding-top: 142%; }

.mv-media__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-align: center;
  padding: 1rem;
  color: var(--mv-navy);
  font-size: var(--mv-fs-xs);
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .72;
}
.mv-media__label svg { width: 34px; height: 34px; opacity: .55; }
.mv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Image-layer parallax: the photograph is taller than its frame and bleeds
   top and bottom, so the JS transform can drift it inside the mask without
   ever exposing an edge. With no JS it simply sits centred and still. */
.mv-media--parallax img {
  top: -12%;
  bottom: auto;
  height: 124%;
  will-change: transform;
}
/* ---------- Mission & Philosophy — cinematic full-bleed parallax banner ----
   A single premium banner: the photograph runs edge to edge behind a warm
   navy scrim, the mission copy sits in a spacious editorial column, and the
   four philosophy points sit over the image as open icon-led columns — no
   cards, no boxes, nothing competing with the photograph. */
.mv-mission-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  color: #fff;
  background: var(--mv-forest-dark);
}

/* Image + overlay as a single animated layer — see .mv-parallax__bg for the
   reasoning. The scrim is nested here, so one transform carries both and the
   two can never fall out of alignment. */
.mv-mission-banner__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.08);
  animation: mv-banner-drift 44s ease-in-out infinite alternate;
}
.mv-mission-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Flat, constant #072354 overlay at a single opacity across the frame. */
.mv-mission-banner__scrim {
  position: absolute;
  inset: 0;
  background: #072354;
  opacity: .78;
}
/* The former brass/green bloom layer is gone: it tinted the overlay away from
   a single flat #072354 and, being static while the photograph moved, read as
   a colour shift travelling across the image. */

.mv-mission-banner__inner {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
}
.mv-mission-banner__head {
  max-width: 95ch;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}
.eyebrow--light { color: var(--mv-brass); }

/* Single-line headline: the copy is 46 characters, so the size is driven by
   viewport width rather than a fixed ramp, and the title opts out of the head
   column's measure so it can run the full container width. `white-space:
   nowrap` holds the line together on the wide layouts; below the lg
   breakpoint it is released, since no readable size fits 46 characters on a
   phone. */
.mv-mission-banner__title {
  /* size/weight/rhythm inherited from the shared section-title rule */
  color: #fff;
  margin: clamp(.85rem, 1.6vw, 1.15rem) 0 clamp(1.35rem, 2.4vw, 1.9rem);
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .mv-mission-banner__title { white-space: normal; }
}
/* .mv-mission-banner__title::after {
  content: "";
  display: block;
  width: 78px; height: 1px;
  margin: clamp(1.4rem, 2.6vw, 1.9rem) 0 0;
  background: linear-gradient(90deg, var(--mv-brass), rgba(27, 134, 56, 0));
} */
.mv-mission-banner__lead {
  font-size: var(--mv-fs-lead);
  line-height: var(--mv-lh-body);
  color: rgba(255, 255, 255, .8);
  /* max-width: 48ch; */
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
}

/* Mission statement as a quiet pull-quote, not a card */
.mv-mission-banner__quote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--mv-font-head);
  font-style: italic;
  font-size: var(--mv-fs-h4);
  line-height: 1.6;
  letter-spacing: -.012em;
  color: rgba(255, 255, 255, .95);
  /* max-width: 44ch; */
}

/* Philosophy points — open icon-led columns, divided by brass hairlines.
   Deliberately unboxed: the photograph stays the surface, the text simply
   sits on it. */
.mv-philosophy {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(27, 134, 56, .28);
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
}
.mv-philosophy__item {
  padding: 0 clamp(1.1rem, 2.2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, .13);
}
.mv-philosophy__item:first-child { border-left: 0; padding-left: 0; }
.mv-philosophy__item:last-child { padding-right: 0; }

/* A quiet brass outline mark — no filled chips, nothing that reads as a badge */
.mv-philosophy__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: clamp(.95rem, 1.7vw, 1.3rem);
  border-radius: 50%;
  border: 1px solid rgba(27, 134, 56, .45);
  color: var(--mv-brass);
  transition: border-color var(--mv-transition), color var(--mv-transition), transform var(--mv-transition);
}
.mv-philosophy__icon svg { width: 1.2rem; height: 1.2rem; }
.mv-philosophy__item:hover .mv-philosophy__icon {
  border-color: var(--mv-brass);
  transform: translateY(-3px);
}
.mv-philosophy h3 {
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0 0 .5rem;
}
.mv-philosophy p {
  margin: 0;
  font-size: var(--mv-fs-sm);
  line-height: 1.68;
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 991.98px) {
  .mv-philosophy { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2rem, 4vw, 2.75rem); }
  .mv-philosophy__item { padding-inline: clamp(1rem, 2.5vw, 1.75rem); }
  .mv-philosophy__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .mv-philosophy__item:nth-child(even) { padding-right: 0; }
}
@media (max-width: 575.98px) {
  .mv-philosophy { grid-template-columns: 1fr; row-gap: 2rem; }
  .mv-philosophy__item { border-left: 0; padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-media--parallax img { top: 0; height: 100%; transform: none !important; }
  .mv-mission-banner__media,
  .mv-parallax__bg {
    inset: 0;
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- 7. Hero (cinematic full-bleed) ----------
   The exterior photograph carries the section; a navy scrim keeps the
   headline legible over the sky. Trust cards overlap the lower edge so the
   next section tucks under them.
   ------------------------------------------------------------------ */
.mv-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 0;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.mv-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  z-index: -2;
  /* Very slow drift: enough to feel alive on arrival, never enough to
     distract while reading. */
  animation: mv-hero-drift 26s ease-out both;
}
@keyframes mv-hero-drift {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .mv-hero__bg { animation: none; }
}
/* The scrim is weighted to the left so the headline sits on deep navy while
   the right-hand side keeps the daylight and the gardens — the picture still
   reads as a photograph, not as a tinted panel. It is kept deliberately light
   on the open side so the hero feels bright and welcoming rather than heavy. */
.mv-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(7, 35, 84, .86) 0%, rgba(7, 35, 84, .62) 38%,
                    rgba(7, 35, 84, .22) 68%, rgba(7, 35, 84, 0) 100%),
    linear-gradient(to top, rgba(4, 22, 52, .40), transparent 46%),
    /* a breath of the green accent low on the right, picking up the gardens */
    radial-gradient(70% 60% at 88% 78%, rgba(27, 134, 56, .16), transparent 70%);
}

.mv-hero__inner { position: relative; z-index: 2; }
.mv-hero__content { max-width: 720px; padding-bottom: clamp(3rem, 6.5vw, 5rem); }

/* Eyebrow — a fine, spaced serif line above the headline, with a short rule
   that anchors it to the left margin the headline shares. */
.mv-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.25rem;
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.mv-hero__eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--mv-green-lift);
  flex: 0 0 34px;
}

.mv-hero h1 {
  color: #fff;
  font-size: var(--mv-fs-hero);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
  text-shadow: 0 2px 34px rgba(4, 18, 40, .40);
}
.mv-hero h1 span,
.mv-hero h1 .hl { color: var(--mv-green-lift); font-style: italic; }

.mv-hero__lead {
  font-size: var(--mv-fs-lead);
  line-height: var(--mv-lh-body);
  color: rgba(255, 255, 255, .90);
  /* max-width: 44ch; */
  margin-top: 1.15rem;
}

.mv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.9rem; }

/* Hero CTAs are the largest buttons on the site: they are the one thing a
   visitor is meant to do from this screen. */
.mv-hero .btn-hero {
  padding: 1.05rem 2.6rem;
  font-size: 1.02rem;
  letter-spacing: .015em;
}
.mv-hero .btn-gold.btn-hero { box-shadow: 0 6px 22px rgba(27, 134, 56, .38); }
.mv-hero .btn-gold.btn-hero:hover,
.mv-hero .btn-gold.btn-hero:focus { box-shadow: 0 16px 38px rgba(27, 134, 56, .48); }
/* The secondary CTA sits on a photograph, so it carries a faint translucent
   fill — a bare outline disappears over the lighter parts of the image. */
.mv-hero .btn-outline-cream.btn-hero {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.mv-hero .btn-outline-cream.btn-hero:hover,
.mv-hero .btn-outline-cream.btn-hero:focus {
  background: #fff;
  border-color: #fff;
  color: var(--mv-navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(4, 18, 40, .28);
}

.mv-hero__call { margin: 1.15rem 0 0; color: rgba(255, 255, 255, .72); font-size: var(--mv-fs-sm); }
.mv-hero__call a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.45); }
.mv-hero__call a:hover { color: var(--mv-green-lift); border-color: var(--mv-green-lift); }

.mv-hero__badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.mv-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: .45rem 1.05rem;
  font-size: var(--mv-fs-xs); font-weight: 600;
  color: #fff;
}
.mv-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mv-brass); }

/* Floating trust cards */
.mv-hero__cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  /* The overlap is a fixed distance, not a share of card height: tying it to
     the cards meant a single extra line of copy pushed them clear past the
     photograph's bottom edge. The negative margin below matches the offset
     exactly so the next section always tucks flush under them. */
  transform: translateY(var(--mv-hero-card-overlap));
  margin-bottom: calc(clamp(2.5rem, 5vw, 4.5rem) * -1 + var(--mv-hero-card-overlap) * -1);
}
/* Hero cards: near-white glass panels with a soft, wide shadow. They sit on
   the photograph, so the fill stays high-opacity (text legibility) while the
   blur and the white hairline keep them feeling like glass rather than like
   three opaque boxes dropped on the image. */
.mv-hero-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.05rem;
  row-gap: .4rem;
  padding: 1.65rem 1.6rem 1.55rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 100%);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    0 1px 1px rgba(7, 35, 84, .04),
    0 10px 24px rgba(7, 35, 84, .10),
    0 28px 60px rgba(7, 35, 84, .13);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
/* Hairline frame. Inset by the border width because the card clips its own
   overflow (to round the accent rule), which would otherwise shave this off. */
.mv-hero-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .7);
  pointer-events: none;
  z-index: 1;
}
/* Accent rule along the top edge — hidden at rest so the row stays quiet, and
   drawn left-to-right on hover so the lift reads as deliberate. */
.mv-hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-green-deep), var(--mv-green-lift));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mv-transition);
}
.mv-hero-card:hover::before { transform: scaleX(1); }
.mv-hero-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 1px 1px rgba(7, 35, 84, .04),
    0 16px 32px rgba(7, 35, 84, .12),
    0 40px 78px rgba(7, 35, 84, .18);
}
.mv-hero-card__icon {
  grid-row: 1 / span 2;
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 25px;
  /* background: var(--mv-green-tint);
  border: 0; */
  color: var(--mv-green-deep);
  display: grid; place-items: center;
  margin-bottom: 0;
  transition: background var(--mv-transition), color var(--mv-transition);
  background: rgba(27, 134, 56, .07);
  border: 1px solid rgba(27, 134, 56, .45);
}
.mv-hero-card:hover .mv-hero-card__icon {
  background: var(--mv-navy);
  color: #fff;
}
.mv-hero-card__icon svg { width: 21px; height: 21px; }
/* The card title is a real title — the navy serif — not a grey micro-label.
   That one change is most of what made the row read as clutter. */
.mv-hero-card h2 {
  align-self: end;
  font-family: var(--mv-font-head);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--mv-ink);
  margin: 0;
}
.mv-hero-card p {
  margin: 0;
  font-size: var(--mv-fs-sm);
  line-height: 1.6;
  color: var(--mv-muted);
}

@media (prefers-reduced-motion: reduce) {
  .mv-hero-card::before { transition: none; }
}

@media (max-width: 575.98px) {
  .mv-hero-card { padding: 1.35rem 1.3rem; column-gap: .9rem; }
}

@media (max-width: 991.98px) {
  /* The overlap value for this breakpoint lives in section 30, after the
     wider breakpoints, so the cascade resolves it correctly. */
  .mv-hero__cards { grid-template-columns: 1fr; gap: 1rem; margin-bottom: calc(var(--mv-hero-card-overlap) * -1); }
  .mv-hero { margin-bottom: clamp(2rem, 5vw, 3rem); }
  .mv-hero__content { padding-bottom: clamp(2.5rem, 7vw, 4rem); }
}
@media (max-width: 575.98px) {
  .mv-hero__actions .btn { width: 100%; }
}

/* ---------- 8. Page banner (interior pages) ---------- */
.mv-banner {
  position: relative;
  background:
    radial-gradient(1200px 400px at 15% 0%, rgba(27, 134, 56, .16), transparent 60%),
    linear-gradient(125deg, var(--mv-forest-dark) 0%, var(--mv-forest) 52%, var(--mv-forest-light) 100%);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
/* Hairline rule under the banner picks up the brass accent */
.mv-banner::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-green-lift), var(--mv-green) 55%, transparent);
}
.mv-banner::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 124, .34), transparent 70%);
}
.mv-banner h1 { color: #fff; position: relative; z-index: 2; }
.mv-banner p { color: rgba(255, 255, 255, .84); max-width: 640px; position: relative; z-index: 2; }
.mv-banner .eyebrow { color: var(--mv-gold); }
/* The lead wraps to the heading's width: the block is as wide as the h1, and
   the paragraph (width 0, min-width 100%) adds nothing to that width but fills
   it. 640px is the floor, so a short heading never squeezes the lead. */
.mv-banner__text { width: fit-content; min-width: min(100%, 640px); max-width: 100%; }
.mv-banner__text p { width: 0; min-width: 100%; max-width: none; }
.mv-banner .eyebrow::before { background: var(--mv-gold); }

.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin-bottom: 0; position: relative; z-index: 2; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--mv-gold); }
.breadcrumb-item.active { color: var(--mv-gold); }

/* ---------- 9. Cards ---------- */
/* Feature cards follow the same premium tile system as .mv-contact-tile:
   soft white wash, hairline gold frame, no heavy border, lifted shadow. */
.mv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 2.4rem 2rem 2.2rem;
  border: 0;
  border-radius: var(--mv-radius-lg);
  background: var(--mv-card-surface);
  box-shadow: var(--mv-card-shadow);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--mv-card-hairline);
  pointer-events: none;
}
/* A gold rule grows across the top edge on hover: the card acknowledges the
   pointer without moving anything the eye is trying to read. */
.mv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mv-green), var(--mv-green-lift));
  transform: translateX(-50%);
  transition: width var(--mv-transition);
  z-index: 2;
}
.mv-card:hover::before, .mv-card:focus-within::before { width: 62%; }

.mv-card:hover, .mv-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--mv-card-shadow-hover);
}

.mv-card__icon {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 50%;
  background: rgba(27, 134, 56, .07);
  border: 1px solid rgba(27, 134, 56, .45);
  color: var(--mv-gold-dark);
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  transition: background var(--mv-transition), color var(--mv-transition),
              border-color var(--mv-transition), transform var(--mv-transition);
}
.mv-card:hover .mv-card__icon, .mv-card:focus-within .mv-card__icon {
  background: var(--mv-navy);
  border-color: var(--mv-navy);
  color: var(--mv-gold-warm);
  transform: scale(1.06);
}
.mv-card__icon svg { width: 24px; height: 24px; }
.mv-card h3 {
  font-size: var(--mv-fs-h4);
  line-height: var(--mv-lh-head);
  margin-bottom: .7rem;
  color: var(--mv-navy);
}
.mv-card p {
  font-size: var(--mv-fs-sm);
  line-height: 1.68;
  color: var(--mv-muted);
}
.mv-card p:last-child { margin-bottom: 0; }

@media (max-width: 575.98px) {
  .mv-card { padding: 1.9rem 1.5rem; }
}

/* Accent variant: the green top rule stays hidden until the card is hovered
   or focused, matching the base .mv-card behaviour rather than sitting on
   permanently. The growth animation lives on .mv-card::before. */

/* USP strip */
.mv-usp {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff;
  border-radius: var(--mv-radius);
  padding: 1.5rem;
  border: 1px solid var(--mv-border);
  height: 100%;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-usp:hover { transform: translateY(-4px); box-shadow: var(--mv-shadow-sm); }
.mv-usp .icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--mv-cream-deep);
  color: var(--mv-gold-dark);
}
.mv-usp h3 { font-size: var(--mv-fs-h5); margin-bottom: .25rem; }
.mv-usp p { font-size: var(--mv-fs-sm); margin-bottom: 0; color: var(--mv-muted); }

/* Feature list */
.mv-checklist { list-style: none; padding: 0; margin: 0; }
.mv-checklist li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .85rem;
}
.mv-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 20px; height: 20px;
  border-radius: 50%;
  /* Green, not peach: a tick is a confirmation cue, and green is the brand's
     complementary accent for exactly that. Tick stroke is #126024 (the
     contrast-safe step) on a pale green disc — 7.4:1, so the mark stays
     legible for readers with low vision, not just visible. */
  background: var(--mv-green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126024' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(27, 134, 56, .22);
}

/* Caption under a photo-strip tile (contact "what a tour is like", about page).
   Small uppercase on the UI face so it reads as a label, not body copy, with a
   short green rule tying the strip to the brand's complementary accent.
   --mv-green-deep, not --mv-green: at this size the text must clear AA. */
.mv-strip-cap {
  margin: .85rem 0 0;
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mv-green-deep);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mv-strip-cap::before {
  content: "";
  flex: 0 0 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--mv-green);
}

/* --- Trust band ----------------------------------------------------------
   The four proof points read as a single engraved row rather than four
   separate cards: a gold hairline rule above the band, vertical hairlines
   between the figures, and a quiet ring-set icon over each number. The
   numerals are the loudest thing on the band — oversized Spectral in gold,
   with the unit ("h", "+", ":1") set smaller so the digit carries the weight. */
.mv-trust {
  position: relative;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
  overflow: hidden;
}
/* A very soft brass wash in the upper corners keeps the flat forest panel
   from reading as a solid block behind the numbers. */
.mv-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 12% 0%, rgba(27, 134, 56, .13) 0%, rgba(27, 134, 56, 0) 70%),
    radial-gradient(48% 44% at 90% 6%, rgba(27, 134, 56, .09) 0%, rgba(27, 134, 56, 0) 72%);
  pointer-events: none;
}
.mv-trust > .container { position: relative; }

.mv-trust__head { text-align: center; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.mv-trust__head .eyebrow { color: var(--mv-gold); margin-bottom: .85rem; }
.mv-trust__head .eyebrow::before { background: var(--mv-gold); }
.mv-trust__title {
  /* size/weight/rhythm inherited from the shared section-title rule */
  color: var(--mv-white);
  max-width: 34ch;
  margin: 0 auto;
}

/* Hairline grid: borders live on the items so they collapse cleanly when the
   grid reflows to two columns and then one. */
.mv-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(27, 134, 56, .28);
}

.mv-stat {
  text-align: center;
  padding: clamp(2rem, 3.5vw, 2.75rem) 1.25rem clamp(1.5rem, 2.5vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.mv-trust__grid > .mv-stat:first-child { border-left: 0; }

.mv-stat__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(27, 134, 56, .34);
  background: rgba(27, 134, 56, .08);
  color: var(--mv-gold);
}
.mv-stat__icon svg { width: 20px; height: 20px; display: block; }

.mv-stat__num {
  font-family: var(--mv-font-head);
  font-size: clamp(2.75rem, 5.4vw, 4.15rem);
  font-weight: 700;
  color: var(--mv-gold);
  line-height: .95;
  letter-spacing: -.02em;
  /* Lining figures of an even width so the four numerals sit on one baseline */
  font-variant-numeric: lining-nums tabular-nums;
}
.mv-stat__unit {
  font-size: .5em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: .06em;
}

.mv-stat__label {
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  color: var(--mv-white);
  margin-top: 1.1rem;
}
.mv-stat__note {
  font-size: var(--mv-fs-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
  margin: .5rem auto 0;
  max-width: 24ch;
}

/* Light variant, for the same band over stone/white sections */
.mv-stat--light .mv-stat__num { color: var(--mv-navy); }
.mv-stat--light .mv-stat__label { color: var(--mv-navy); }
.mv-stat--light .mv-stat__note { color: var(--mv-muted); }

@media (max-width: 991.98px) {
  .mv-trust__grid { grid-template-columns: repeat(2, 1fr); }
  /* Re-draw the dividers for a 2-up grid: no left border on either first
     column item, and a top hairline on the second row. */
  .mv-trust__grid > .mv-stat:nth-child(odd) { border-left: 0; }
  .mv-trust__grid > .mv-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 575.98px) {
  .mv-trust__grid { grid-template-columns: 1fr; }
  .mv-trust__grid > .mv-stat { border-left: 0; }
  .mv-trust__grid > .mv-stat + .mv-stat { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- 10. Service detail rows ---------- */
.mv-service-row { padding: clamp(2rem, 1vw, 2rem) 0; border-bottom: 1px solid var(--mv-border); }
.mv-service-row:last-child { border-bottom: 0; }
/* --mv-service-num-size also drops the image by the number's height on wide
   screens, so the photo's top edge lines up with the heading beside it. */
.mv-service-row { --mv-service-num-size: 3rem; }
.mv-service-row .mv-service-num {
  font-family: var(--mv-font-head);
  font-size: var(--mv-service-num-size);
  font-weight: 700;
  color: var(--mv-cream-deep);
  line-height: 1;
  margin-bottom: .5rem;
}
@media (min-width: 992px) {
  .mv-service-row__media { margin-top: calc(var(--mv-service-num-size) + .5rem); }
}
.mv-section-details{
  padding-top: 2rem;
}
/* ---------- 11. Caregivers ----------
   Profile cards read as one set: equal-height columns, a portrait framed to a
   consistent crop, and a gold hairline that wipes in on hover to match the
   service cards above. The photograph sits inside the card rather than above
   it so the whole tile lifts as a single object.
   ------------------------------------------------------------------ */
.mv-person {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(170deg, #fff 0%, #fff 64%, var(--mv-stone) 100%);
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius-lg);
  padding: 1.5rem 1.35rem 1.75rem;
  overflow: hidden;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition), border-color var(--mv-transition);
}
.mv-person::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-green), var(--mv-green-lift));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.mv-person:hover { transform: translateY(-7px); box-shadow: var(--mv-shadow); border-color: var(--mv-terracotta-soft); }
.mv-person:hover::after { transform: scaleX(1); }

/* The portrait keeps its own subtle frame; the card supplies the shadow. */
.mv-person .mv-media {
  border-radius: var(--mv-radius);
  margin-bottom: 1.15rem;
  box-shadow: none;
  border: 1px solid var(--mv-border);
}
.mv-person .mv-media img {
  object-position: 50% 22%;   /* keep faces off the top crop line */
  transition: transform var(--mv-transition);
}
.mv-person:hover .mv-media img { transform: scale(1.04); }

.mv-person h3 { font-size: var(--mv-fs-h4); margin-bottom: .35rem; }
.mv-person .role {
  font-size: var(--mv-fs-eyebrow);
  color: var(--mv-sage-dark);
  font-weight: 700;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: 0;
}
/* Hairline rule between the role and the summary, sized to the text block */
.mv-person .role::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: .85rem auto 0;
  background: var(--mv-brass);
  opacity: .55;
  transition: width var(--mv-transition), opacity var(--mv-transition);
}
.mv-person:hover .role::after { width: 46px; opacity: 1; }
.mv-person p { font-size: var(--mv-fs-sm); color: var(--mv-muted); margin-top: .8rem; margin-bottom: 0; }

@media (max-width: 575.98px) {
  .mv-person { padding: 1.15rem 1rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-person,
  .mv-person::after,
  .mv-person .mv-media img,
  .mv-person .role::after { transition: none; }
  .mv-person:hover { transform: none; }
  .mv-person:hover .mv-media img { transform: none; }
}

/* ---------- 12. Gallery ---------- */
.mv-gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.mv-filter-btn {
  border: 2px solid var(--mv-border);
  background: #fff;
  color: var(--mv-navy);
  border-radius: 999px;
  padding: .55rem 1.4rem;
  font-weight: 600;
  font-size: var(--mv-fs-sm);
  transition: all var(--mv-transition);
}
.mv-filter-btn { font-family: var(--mv-font-ui); }
.mv-filter-btn:hover {
  border-color: var(--mv-green);
  background: var(--mv-green-tint);
  color: var(--mv-green-deep);
}
.mv-filter-btn.active {
  background: var(--mv-navy);
  border-color: var(--mv-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(7, 35, 84, .22);
}
/* A small green dot marks the live filter without recolouring the pill. */
.mv-filter-btn.active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mv-green-lift);
  margin-right: .5rem;
  vertical-align: middle;
}

.mv-gallery-item { transition: opacity .3s ease, transform .3s ease; }
.mv-gallery-item.is-hidden { display: none; }

/* Each photograph sits on white as its own lifted card, ringed in the faintest
   warm stone so the tiles read as a set rather than a contact sheet. */
.mv-gallery-figure {
  position: relative;
  border-radius: var(--mv-radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 35, 84, .06), 0 10px 26px rgba(7, 35, 84, .09);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-gallery-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(7, 35, 84, .07);
  pointer-events: none;
  z-index: 2;
}
.mv-gallery-figure:hover,
.mv-gallery-figure:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(7, 35, 84, .07), 0 20px 42px rgba(7, 35, 84, .16);
}
.mv-gallery-figure .mv-media { border-radius: var(--mv-radius); box-shadow: none; }
/* The photograph itself lifts slightly under the pointer while a navy wash
   deepens to carry the caption. */
.mv-gallery-figure .mv-media img { transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
.mv-gallery-figure:hover .mv-media img,
.mv-gallery-figure:focus-visible .mv-media img { transform: scale(1.06); }
/* The caption stays legible at rest — a soft navy veil at the foot of the
   frame — and only deepens on hover, so nothing has to be hunted for. */
.mv-gallery-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.1rem 1.05rem;
  background: linear-gradient(to top, rgba(7, 35, 84, .82), rgba(7, 35, 84, .3) 55%, transparent);
  color: #fff;
  font-weight: 600;
  font-size: var(--mv-fs-sm);
  text-align: left;
  letter-spacing: .005em;
  text-shadow: 0 1px 3px rgba(7, 35, 84, .5);
  transform: translateY(0);
  opacity: 1;
  transition: background var(--mv-transition), padding var(--mv-transition);
}
.mv-gallery-figure:hover figcaption,
.mv-gallery-figure:focus-visible figcaption {
  background: linear-gradient(to top, rgba(7, 35, 84, .94), rgba(7, 35, 84, .5) 60%, rgba(7, 35, 84, .05));
  padding-bottom: 1.3rem;
}
/* A green hairline underscores the caption on hover — the one accent note. */
.mv-gallery-figure figcaption::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  bottom: .6rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--mv-green-lift);
  transition: width var(--mv-transition);
}
.mv-gallery-figure:hover figcaption::before,
.mv-gallery-figure:focus-visible figcaption::before { width: 2.2rem; }
@media (prefers-reduced-motion: reduce) {
  .mv-gallery-figure,
  .mv-gallery-figure:hover,
  .mv-gallery-figure:focus-visible { transform: none; }
  .mv-gallery-figure:hover .mv-media img,
  .mv-gallery-figure:focus-visible .mv-media img { transform: none; }
}

/* ---------- 13. Testimonials ---------- */
.mv-quote {
  background: #fff;
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius-lg);
  padding: 2.6rem 2.2rem 2.2rem;
  height: 100%;
  position: relative;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-quote:hover { transform: translateY(-5px); box-shadow: var(--mv-shadow); }
.mv-quote::before {
  content: "\201C";
  font-family: var(--mv-font-head);
  font-size: 4.5rem;
  color: var(--mv-gold);
  opacity: .35;
  position: absolute;
  top: .4rem; right: 1.4rem;
  line-height: 1;
}
.mv-quote__stars { color: var(--mv-star-gold); letter-spacing: .12em; margin-bottom: .9rem; }
.mv-quote blockquote {
  position: relative;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h4);
  line-height: var(--mv-lh-snug);
  color: var(--mv-forest);
  margin-bottom: 1.5rem;
}
.mv-quote__person { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--mv-border); padding-top: 1.1rem; }
.mv-quote__avatar {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 50%;
  background: var(--mv-sage-soft);
  color: var(--mv-navy);
  display: grid; place-items: center;
  font-family: var(--mv-font-head);
  font-weight: 700;
}
.mv-quote__person strong { display: block; color: var(--mv-navy); }
.mv-quote__person span { font-size: var(--mv-fs-xs); color: var(--mv-muted); }

.mv-approval-note {
  font-size: var(--mv-fs-xs);
  color: var(--mv-muted);
  background: var(--mv-cream);
  border-left: 3px solid var(--mv-gold);
  padding: .75rem 1rem;
  border-radius: 0 6px 6px 0;
}

/* ---------- 14. Blog ---------- */
.mv-post {
  height: 100%;
  background: #fff;
  border: 1px solid var(--mv-border);
  border-radius: var(--mv-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-post:hover { transform: translateY(-6px); box-shadow: var(--mv-shadow); }
.mv-post .mv-media { border-radius: 0; box-shadow: none; }
.mv-post__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.mv-post__meta { font-size: var(--mv-fs-xs); color: var(--mv-muted); display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .7rem; }
.mv-post__cat {
  display: inline-block;
  background: var(--mv-sage-soft);
  color: var(--mv-sage-dark);
  border-radius: 999px;
  padding: .2rem .8rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mv-post h3 { font-size: var(--mv-fs-h4); margin-bottom: .6rem; }
.mv-post h3 a { color: var(--mv-navy); }
.mv-post h3 a:hover { color: var(--mv-gold-dark); }
.mv-post p { font-size: var(--mv-fs-sm); color: var(--mv-muted); }
.mv-post .btn-link-arrow { margin-top: auto; }

.mv-article { font-size: var(--mv-fs-body); }
/* Article subheadings sit a step below the section-title size, so a typical
   heading holds one line in the column; a long one fills the first line
   before wrapping rather than splitting into two short halves. */
.mv-article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-wrap: pretty; margin-top: 2.4rem; margin-bottom: 1rem; }
.mv-article h3 { margin-top: 1.9rem; margin-bottom: .8rem; }
.mv-article ul, .mv-article ol { margin-bottom: 1.3rem; padding-left: 1.3rem; }
.mv-article li { margin-bottom: .5rem; }
.mv-article blockquote {
  border-left: 4px solid var(--mv-gold);
  background: var(--mv-cream);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--mv-radius) var(--mv-radius) 0;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h4);
  line-height: var(--mv-lh-snug);
  color: var(--mv-navy);
  margin: 1.8rem 0;
}

/* Sidebar boxes use the same premium tile treatment, at a quieter scale. */
.mv-sidebar-box {
  position: relative;
  padding: 1.8rem 1.6rem;
  border: 0;
  border-radius: var(--mv-radius-lg);
  background: var(--mv-card-surface);
  box-shadow: var(--mv-card-shadow);
  margin-bottom: 1.5rem;
}
.mv-sidebar-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--mv-card-hairline);
  pointer-events: none;
}
/* Article page, desktop: when the sidebar runs longer than the article, the
   article scrolls normally until its end reaches the bottom of the screen,
   then holds there while the sidebar carries on — no blank column beside it.
   Not stretched to the row, so it has room to slide; inert when it is the
   longer column. */
@media (min-width: 992px) {
  .mv-article-col {
    position: sticky;
    bottom: 1.5rem;
    align-self: flex-end;
  }
  /* The same for the sidebar when the article is the longer column (blog
     articles and listing). One that fits on screen holds under the header;
     a taller one (.is-tall, set by wp.js) scrolls until its end is in view
     and holds there, so none of it is ever out of reach. */
  .mv-sidebar-col {
    position: sticky;
    top: calc(var(--mv-header-h) + 1.5rem);
    align-self: flex-start;
  }
  .mv-sidebar-col.is-tall {
    top: auto;
    bottom: 1.5rem;
    align-self: flex-end;
  }
}
/* Sidebar call-out buttons: compact, natural width side by side when the
   sidebar spans the page (tablet); stacked full width in the narrow desktop
   column and on phones, where two pills would not fit on one line. */
.mv-sidebar-cta__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.mv-sidebar-cta__actions .btn { padding: .65rem 1.4rem; font-size: .95rem; }
@media (min-width: 992px), (max-width: 575.98px) {
  .mv-sidebar-cta__actions .btn { flex: 1 1 100%; }
}
.mv-sidebar-box h3 {
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  color: var(--mv-muted);
  margin: 0 0 1.1rem;
}
.mv-sidebar-list { list-style: none; padding: 0; margin: 0; }
.mv-sidebar-list li { border-bottom: 1px solid rgba(27, 134, 56, .16); }
.mv-sidebar-list li:last-child { border-bottom: 0; }
/* Tablet: the sidebar spans the page, so short category names run in two
   columns (alphabetical down each) instead of one row stretched edge to edge. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .mv-sidebar-list--cats { column-count: 2; column-gap: 3rem; }
  .mv-sidebar-list--cats li { break-inside: avoid; }
}
.mv-sidebar-list a { display: flex; justify-content: space-between; gap: .75rem; padding: .65rem 0; font-size: var(--mv-fs-sm); font-weight: 500; }
/* Current category or article in the sidebar lists. */
.mv-sidebar-list a[aria-current="page"] {
  color: var(--mv-green-deep);
  font-weight: 600;
  background: var(--mv-green-tint);
  box-shadow: inset 3px 0 0 var(--mv-green);
  border-radius: 6px;
  /* Extra side padding offset by negative margins: the tinted row widens,
     the text stays aligned with the rows above and below. */
  padding-inline: .75rem;
  margin-inline: -.75rem;
}

.mv-tag {
  display: inline-block;
  border: 1px solid var(--mv-border);
  background: #fff;
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .82rem;
  margin: 0 .35rem .55rem 0;
  color: var(--mv-muted);
}
/* Current tag (on its tag page) is shown filled, like the hover state. */
.mv-tag:hover,
.mv-tag[aria-current="page"] { background: var(--mv-navy); color: #fff; border-color: var(--mv-navy); }

/* ---------- 15. Forms ---------- */
.mv-form-card {
  background: #fff;
  border-radius: var(--mv-radius-lg);
  box-shadow: var(--mv-shadow);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  border: 1px solid var(--mv-border);
}
.form-label { font-weight: 600; color: var(--mv-navy); font-size: var(--mv-fs-sm); margin-bottom: .4rem; }
/* Required-field asterisk, wherever it appears (labels, consent line, form note). */
.req { color: #B3261E; }

/* Checkboxes in the site's colours. Bootstrap's default leaves a pale blue
   border and a wide blue glow after any click, which lingers on an unticked
   box and spills over the first letter of its label. Keyboard focus keeps a
   clear ring; a mouse click leaves none. */
.form-check-input {
  border: 2px solid #93A0B2;
  cursor: pointer;
}
.form-check-input:checked {
  background-color: var(--mv-green);
  border-color: var(--mv-green);
}
.form-check-input:focus {
  border-color: #93A0B2;
  box-shadow: none;
}
.form-check-input:checked:focus { border-color: var(--mv-green); }
.form-check-input:focus-visible {
  outline: 2px solid var(--mv-ink-soft);
  outline-offset: 2px;
  box-shadow: none;
}
.form-check-input[aria-invalid="true"],
.wpcf7-not-valid .form-check-input { border-color: #B3261E; }
.form-control, .form-select {
  border: 2px solid var(--mv-border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: 1rem;
  color: var(--mv-charcoal);
  background-color: #fff;
  transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--mv-ink-soft);
  box-shadow: 0 0 0 4px rgba(28, 61, 117, .16);
}
.form-control::placeholder { color: #93A0B2; }
/* Message boxes: a fixed 148px, not resizable; longer text scrolls inside. */
textarea.form-control { height: 148px; min-height: 148px; resize: none; }
/* Keep typed text clear of the browser's clear (x) button in search fields. */
input[type="search"]::-webkit-search-cancel-button { margin-left: .75rem; cursor: pointer; }
.form-text { font-size: var(--mv-fs-xs); color: var(--mv-muted); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #B3261E; }
.invalid-feedback { font-size: var(--mv-fs-xs); }

.mv-form-success {
  display: none;
  background: var(--mv-sage-soft);
  border: 1px solid var(--mv-sage);
  color: #0B3A2E;
  border-radius: var(--mv-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.mv-form-success.is-visible { display: block; }

/* ---------- 16. Contact / location ---------- */
.mv-contact-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  height: 100%;
  padding: 2rem 1.75rem 1.9rem;
  border: 0;
  border-radius: var(--mv-radius-lg);
  background: var(--mv-card-surface);
  box-shadow: var(--mv-card-shadow);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-contact-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--mv-card-hairline);
  pointer-events: none;
}
.mv-contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--mv-card-shadow-hover);
}
.mv-contact-tile .icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(27, 134, 56, .45);
  color: var(--mv-gold-dark);
  display: grid; place-items: center;
  transition: background var(--mv-transition), color var(--mv-transition), border-color var(--mv-transition);
}
.mv-contact-tile:hover .icon {
  background: var(--mv-navy);
  border-color: var(--mv-navy);
  color: var(--mv-gold);
}
.mv-contact-tile h2,
.mv-contact-tile h3,
.mv-contact-tile .mv-tile-label {
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  color: var(--mv-muted);
  margin: 0 0 .55rem;
}
.mv-contact-tile > div { width: 100%; }
.mv-contact-tile p, .mv-contact-tile a {
  font-size: var(--mv-fs-sm);
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--mv-charcoal);
  overflow-wrap: break-word;
}
.mv-contact-tile a {
  display: inline-block;
  font-weight: 500;
  color: var(--mv-navy);
  transition: color .2s ease;
}
.mv-contact-tile a[href^="tel:"] { white-space: nowrap; }
.mv-contact-tile a:hover { color: var(--mv-gold-dark); }
.mv-contact-tile p.mt-1,
.mv-contact-tile p + p {
  margin-top: .6rem !important;
  font-size: var(--mv-fs-xs);
  line-height: 1.55;
  color: var(--mv-muted);
}

@media (max-width: 575.98px) {
  .mv-contact-tile { padding: 1.6rem 1.35rem; gap: .75rem; }
}

.mv-map {
  position: relative;
  height: 100%;
  border-radius: var(--mv-radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: var(--mv-sage-soft);
  display: grid;
  place-items: stretch;
  border: 1px solid var(--mv-border);
  box-shadow: 0 18px 40px rgba(7, 35, 84, .10);
}
.mv-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 991.98px) {
  .mv-map, .mv-map iframe { min-height: 340px; }
}

/* ---------- 17. Accordion (FAQ) ---------- */
.accordion-item {
  border: 1px solid rgba(226, 231, 239, .9);
  border-radius: var(--mv-radius-lg) !important;
  margin-bottom: .85rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(7, 35, 84, .04);
  transition: box-shadow var(--mv-transition), border-color var(--mv-transition),
              transform var(--mv-transition);
}
.accordion-item:last-child { margin-bottom: 0; }
.accordion-item:hover { box-shadow: 0 12px 30px rgba(7, 35, 84, .09); }
/* The open card lifts clear of the stack — one obvious focal point. */
.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(27, 134, 56, .32);
  box-shadow: 0 20px 48px rgba(7, 35, 84, .13);
}
.accordion-button {
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  font-weight: 600;
  line-height: var(--mv-lh-head);
  letter-spacing: var(--mv-ls-head);
  color: var(--mv-navy);
  background: #fff;
  padding: 1.35rem 1.6rem;
  gap: 1rem;
  transition: color var(--mv-transition), background var(--mv-transition);
}
.accordion-button:hover { color: var(--mv-green-deep); }
.accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--mv-navy);
  box-shadow: none;
  padding-bottom: .9rem;
}
/* Chevron sits in a soft disc so the row has a clear affordance. */
.accordion-button::after {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  background-color: var(--mv-cream);
  background-size: 1rem 1rem;
  background-position: center;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072354' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform var(--mv-transition), background-color var(--mv-transition);
}
/* Open state carries the green accent: an expanded panel is an "active"
   state, and green is the brand's cue for that. White chevron on solid
   #1B8638 is 4.65:1, so the arrow stays clearly visible. */
.accordion-button:not(.collapsed)::after {
  background-color: var(--mv-green);
  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='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.accordion-collapse { transition: height .45s cubic-bezier(.22, .61, .36, 1); }
.accordion-body {
  padding: 0 1.6rem 1.5rem;
  color: var(--mv-muted);
  font-size: var(--mv-fs-sm);
  line-height: 1.75;
}
.accordion-body a { color: var(--mv-terracotta-dark); text-underline-offset: 3px; }

/* FAQ section layout — sticky aside with a supporting image */
.mv-faq-aside { position: sticky; top: calc(var(--mv-header-h) + 2rem); }
.mv-faq-aside .section-title { margin-bottom: .75rem; }
.mv-faq-aside .lead-2 { margin-bottom: 0; max-width: 34ch; }

.mv-faq-figure {
  position: relative;
  margin: 1.75rem 0 1.5rem;
  border-radius: var(--mv-radius-xl);
  overflow: hidden;
  box-shadow: var(--mv-shadow);
}
.mv-faq-figure img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.mv-faq-figure:hover img { transform: scale(1.04); }
.mv-faq-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.5rem 1.35rem;
  background: linear-gradient(to top, rgba(4, 22, 52, .88), rgba(4, 22, 52, 0));
  color: #fff;
  font-size: var(--mv-fs-sm);
  line-height: 1.5;
}
.mv-faq-figure-kicker {
  display: block;
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--mv-ls-eyebrow);
  text-transform: uppercase;
  color: var(--mv-brass);
  margin-bottom: .3rem;
}
.mv-faq-cta { margin-top: .25rem; }

@media (max-width: 991.98px) {
  .mv-faq-aside { position: static; }
  .mv-faq-figure img { height: 240px; }
}

/* ---------- 18. CTA band ---------- */
.mv-cta {
  position: relative;
  background:
    radial-gradient(60% 100% at 90% 0%, rgba(232, 168, 124, .18), transparent 62%),
    linear-gradient(120deg, var(--mv-ink-deep) 0%, var(--mv-ink) 48%, var(--mv-ink-soft) 100%);
  color: #fff;
  border-radius: var(--mv-radius-lg);
  padding: clamp(2.6rem, 5vw, 4rem);
  overflow: hidden;
  box-shadow: var(--mv-shadow-lg);
}
/* Hairline gold rule along the top edge — a small premium signal. */
.mv-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-green-lift), var(--mv-green) 55%, transparent);
  z-index: 3;
}
.mv-cta::after {
  content: "";
  position: absolute;
  left: -90px; bottom: -160px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 134, 56, .30), transparent 70%);
}
.mv-cta h2 { color: #fff; position: relative; z-index: 2; }
.mv-cta p { color: rgba(255, 255, 255, .85); position: relative; z-index: 2; }
.mv-cta .mv-cta__actions { position: relative; z-index: 2; }

.mv-cta-full {
  background:
    radial-gradient(55% 90% at 88% 6%, rgba(232, 168, 124, .16), transparent 64%),
    radial-gradient(50% 80% at 8% 96%, rgba(27, 134, 56, .14), transparent 66%),
    linear-gradient(120deg, var(--mv-ink-deep) 0%, var(--mv-ink) 50%, var(--mv-ink-soft) 100%);
  color: #fff;
}
.mv-cta-full h2 { color: #fff; }
.mv-cta-full p { color: rgba(255, 255, 255, .85); }

/* ---------- 19. Footer ---------- */
.mv-footer {
  position: relative;
  background:
    radial-gradient(60% 70% at 10% 0%, rgba(27, 134, 56, .10), transparent 62%),
    linear-gradient(170deg, var(--mv-ink) 0%, var(--mv-ink-deep) 70%);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
/* Gold hairline across the top, tying the footer to the CTA band above it. */
.mv-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mv-green-lift), var(--mv-green) 50%, transparent);
}
.mv-footer h3 { color: #fff; font-size: var(--mv-fs-h5); margin-bottom: 1.2rem; }
.mv-footer a { color: rgba(255, 255, 255, .75); }
.mv-footer a:hover { color: var(--mv-gold); }
/* Footer sits on a dark ground. The supplied millportvillas.png is dark green artwork
   on a baked-in white background, so it cannot sit directly on the navy: the
   light chip below both hides that white box's hard edge and keeps the mark
   legible. NOTE for the client: the green mark is the one element that does
   not follow the new navy palette — a navy/cream version of the logo would
   let this chip be dropped entirely. */
.mv-brand__logo--light {
  --mv-logo-h: 58px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: .3rem .5rem;
  /* content-box keeps the padding a frame around the mark rather than eating
     into it, so the aspect-ratio box stays true to the file. */
  box-sizing: content-box;
}
@media (max-width: 575.98px) {
  .mv-brand__logo--light { --mv-logo-h: 46px; padding: .25rem .4rem; }
}
.mv-footer-list { list-style: none; padding: 0; margin: 0; }
.mv-footer-list li { margin-bottom: .6rem; }
/* Current page (and the blog page while reading a post), echoing the header's active link. */
.mv-footer-list a[aria-current="page"],
.mv-footer-list .current_page_parent > a,
.mv-footer .mv-footer-home {
  color: var(--mv-gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.mv-footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; }
.mv-footer-contact svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: .35rem; color: var(--mv-gold); }
.mv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2.5rem;
  /* Even space above and below the credit line. The fixed back-to-top button
     lifts itself clear of this strip where they would overlap (main.js), so
     no empty band has to be reserved for it here. */
  padding: 1.5rem 0;
  font-size: var(--mv-fs-xs);
}
.mv-social { display: flex; gap: .6rem; }
.mv-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  transition: all var(--mv-transition);
}
.mv-social a:hover { background: var(--mv-gold); color: var(--mv-navy-dark); transform: translateY(-3px); }
.mv-social svg { width: 18px; height: 18px; }

/* ---------- 20. Back to top ---------- */
.mv-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  /* Green fill and a faint white ring: a navy button vanished over the navy
     bands (stats, footer), while green reads on navy and on white alike. */
  border: 2px solid rgba(255, 255, 255, .35);
  background: var(--mv-gold-warm);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--mv-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--mv-transition);
  z-index: 1040;
}
.mv-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.mv-top:hover { background: var(--mv-gold); color: var(--mv-navy); }

/* ---------- 21. Animations ----------
   Entrances are long and soft rather than quick and springy: the point is
   that content settles into place, not that it performs.
   ------------------------------------------------------------------ */
/* Staggering is handled by the data-delay attribute in the markup, applied
   by initScrollAnimations() in main.js — one mechanism, not two. */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--mv-ease-out), transform var(--mv-ease-out);
  will-change: opacity, transform;
}
[data-animate].is-in { opacity: 1; transform: none; }
[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="zoom"] { transform: scale(.94); }

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

/* ---------- 22. Pagination ---------- */
.pagination { gap: .4rem; }
.page-link {
  border: 2px solid var(--mv-border);
  border-radius: 8px !important;
  color: var(--mv-navy);
  font-weight: 600;
  padding: .6rem 1rem;
}
.page-link:hover { background: var(--mv-cream); color: var(--mv-navy); border-color: var(--mv-sage); }
.page-item.active .page-link { background: var(--mv-navy); border-color: var(--mv-navy); color: #fff; }
.page-item.disabled .page-link { color: #93A0B2; background: #fff; }

/* ---------- 23. Print ---------- */
@media print {
  .mv-header, .mv-topbar, .mv-footer, .mv-top, .mv-cta, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ---------- Lightbox image ---------- */
.mv-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--mv-radius);
}

/* Hero exterior: bias the crop upward so the house, not the driveway, fills the frame. */
.mv-hero__visual .mv-media img { object-position: 50% 38%; }

/* ---------- 24. Brand story / intro ---------- */
/* The hero cards overhang into the top of this section, so the padding is the
   full section rhythm plus the overhang — the section clears the cards and
   then keeps the same breathing room every other section opens with. */
/* Bottom: the media column already carries 110px of its own padding to clear
   the inset square, so a full section's padding on top of that read as a gap
   half again too large before the services section below. */
.mv-intro {
  padding-top: calc(clamp(4.5rem, 10vw, 11rem) + var(--mv-hero-card-overlap));
      padding-bottom: clamp(1rem, 0vw, 4rem);
}

/* Bottom padding must clear the square inset (its height = its width) so the
   overlap stays inside the column instead of bleeding into the next section. */
.mv-intro__media { position: relative; padding-bottom: 110px; padding-right: 2.5rem; }
.mv-intro__media > .mv-media--portrait { border-radius: var(--mv-radius-xl); }
/* Landscape photo in a portrait frame: favour the caregiver and guitarist */
.mv-intro__media > .mv-media--portrait img { object-position: 68% 50%; }

/* Smaller image overlaps the primary one, offset to the lower right */
.mv-intro__media-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  max-width: 220px;
  border-radius: var(--mv-radius-lg);
  border: 6px solid #fff;
  box-shadow: var(--mv-shadow-lg);
  background: none;   /* hide the .mv-media placeholder gradient behind the photo */
}

.mv-intro__stat {
  position: absolute;
  left: -14px;
  bottom: 22%;
  background: var(--mv-forest);
  color: #fff;
  border-radius: var(--mv-radius);
  box-shadow: var(--mv-shadow-lg);
  padding: 1rem 1.3rem;
  max-width: 190px;
}
.mv-intro__stat strong {
  display: block;
  font-family: var(--mv-font-head);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--mv-brass);
}
.mv-intro__stat span { font-size: var(--mv-fs-xs); color: rgba(255, 255, 255, .82); line-height: 1.45; display: block; margin-top: .3rem; }

.mv-pillars { display: grid; gap: 1.4rem; margin-top: 2rem; }
.mv-pillar { padding-left: 1.2rem; border-left: 3px solid var(--mv-terracotta-soft); }
.mv-pillar h3 {
  font-size: var(--mv-fs-h5);
  margin-bottom: .35rem;
  color: var(--mv-terracotta-dark);
}
.mv-pillar p { margin: 0; color: var(--mv-muted); font-size: var(--mv-fs-sm); }

@media (max-width: 991.98px) {
  /* Stacked: the copy, not the image, now sits at the section's bottom edge,
     so the 110px inset cushion is gone and the trimmed bottom padding is
     restored to the normal section rhythm. */
  .mv-intro { padding-bottom: clamp(4.5rem, 7vw, 8rem); }
  .mv-intro__media { padding-right: 0; padding-bottom: 0; }
  .mv-intro__media-inset { display: none; }
  .mv-intro__stat { left: auto; right: 14px; bottom: 14px; }
}

/* ---------- 25. Life at Millport Villas — mosaic ---------- */
/* Tightened top padding so the gallery sits closer to the dining section. */
.mv-section-gallery { padding-top: clamp(2rem, 3vw, 3.5rem); }

.mv-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  /* 7 items over 3 columns = 12 cells (the tall frame spans 2 rows, the two
     wide frames span 2 columns each) = 4 rows exactly, no holes. Rows are
     slightly shorter than the old 2-row grid so the taller mosaic does not
     push the testimonials too far down the page. */
  grid-template-rows: repeat(3, 215px);
  gap: 1rem;
}
.mv-mosaic__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--mv-radius-lg);
  box-shadow: var(--mv-shadow-sm);
}
.mv-mosaic__item--tall { grid-row: span 2; }
.mv-mosaic__item--wide { grid-column: span 2; }

.mv-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}
.mv-mosaic__item:hover img { transform: scale(1.06); }

.mv-mosaic__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.3rem 1.2rem;
  color: #fff;
  background: linear-gradient(to top, rgba(4, 22, 52, .92), rgba(4, 22, 52, .55) 55%, transparent);
  transform: translateY(12px);
  opacity: 0;
  transition: transform var(--mv-transition), opacity var(--mv-transition);
}
.mv-mosaic__item:hover figcaption,
.mv-mosaic__item:focus-within figcaption { transform: none; opacity: 1; }

.mv-mosaic__item figcaption strong {
  display: block;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  margin-bottom: .15rem;
}
.mv-mosaic__item figcaption span { font-size: var(--mv-fs-xs); color: rgba(255, 255, 255, .84); }

/* Touch devices have no hover, so captions stay visible */
@media (hover: none) {
  .mv-mosaic__item figcaption { transform: none; opacity: 1; }
}

@media (max-width: 991.98px) {
  /* 2 columns: 12 cells / 2 = 6 rows. */
  .mv-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 190px); }
  .mv-mosaic__item--tall { grid-row: span 2; }
  .mv-mosaic__item--wide { grid-column: span 2; }
}
@media (max-width: 575.98px) {
  /* Single column: spans are reset below, so one row per item = 7. */
  .mv-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(7, 210px); }
  .mv-mosaic__item--tall, .mv-mosaic__item--wide { grid-row: auto; grid-column: auto; }
}

/* ---------- 26. Parallax banner (Why Families Choose Us) ----------
   Full-bleed cinematic band. The background image is oversized vertically
   (top/bottom bleed) so the JS transform can move it without exposing an
   edge; if JS never runs the image simply sits still and centred.
   ------------------------------------------------------------------ */
.mv-parallax {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 11vw, 7rem) 0;
  background: var(--mv-forest-dark);
  color: #fff;
}
/* The photograph and its overlay are ONE animated layer. The scrim is a child
   of this wrapper, so the single transform below moves and scales both
   together — the overlay can never drift out of register with the image, and
   because the overlay is a flat colour at a fixed opacity there is no
   brightness or hue shift as the layer travels. The wrapper bleeds past the
   section on every side so the zoom/pan never exposes an edge. */
.mv-parallax__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  /* The layer is promoted to its own compositor layer and animated only via
     `transform`, so the whole thing (photo + scrim) is rasterised once and
     then moved as a finished bitmap. Nothing inside it repaints per frame,
     which is what removes the flicker and the shimmering edge. */
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.08);
  animation: mv-banner-drift 44s ease-in-out infinite alternate;
}
.mv-parallax__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
/* Flat, constant #072354 wash — one opacity across the whole frame, so no
   part of the photograph brightens or darkens as the layer moves. It is a
   sibling inside the same promoted layer, so it scales and pans in exact
   lockstep with the photograph and its opacity never varies. */
.mv-parallax__scrim {
  position: absolute;
  inset: 0;
  background: #072354;
  opacity: .78;
}

/* A slow, subtle zoom and drift. The translation is capped well inside the
   headroom the 1.08–1.14 scale provides (a 1.08 scale hides up to 4% of
   travel per side), so no endpoint can ever pull an edge into view. */
@keyframes mv-banner-drift {
  from { transform: translate3d(-1.5%, -1.5%, 0) scale(1.08); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.14); }
}
/* The content sits in its own stacking context above the animated layer, so
   the background's zoom/pan cannot move, scale or repaint the cards. */
.mv-parallax__inner {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
}

.mv-parallax .eyebrow-light { color: var(--mv-brass); }
/* The headline is given a wider measure than a typical display line (28ch
   rather than 20ch) so it breaks into two generous lines instead of three
   cramped ones, and steps up in size to hold the extra width. `text-wrap:
   balance` keeps the two lines close to even. */
.mv-parallax__title {
  /* size/weight/rhythm inherited from the shared section-title rule */
  color: #fff;
  max-width: 28ch;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(4, 18, 40, .45);
}
.mv-parallax__lead {
  color: rgba(255, 255, 255, .86);
  font-size: var(--mv-fs-lead);
  line-height: var(--mv-lh-body);
  max-width: 74ch;
  margin: clamp(1.35rem, 2.2vw, 1.75rem) auto 0;
}

.mv-parallax__points { margin-top: clamp(1.75rem, 5vw, 3rem); }
.mv-parallax__point {
  height: 100%;
  padding: 1.75rem 1.6rem;
  border-radius: var(--mv-radius-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  /* Frosted glass over the photograph; the solid fallback below keeps the
     text legible in browsers without backdrop-filter. */
  background: rgba(4, 22, 52, .38);
  transition: transform var(--mv-transition), background var(--mv-transition), border-color var(--mv-transition);
}
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .mv-parallax__point {
    background: rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
.mv-parallax__point:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 134, 56, .55);
}
.mv-parallax__point h3 {
  color: #fff;
  font-size: var(--mv-fs-h5);
  margin-bottom: .5rem;
}
.mv-parallax__point p {
  color: rgba(255, 255, 255, .8);
  font-size: var(--mv-fs-sm);
  margin-bottom: 0;
}
.mv-parallax__point--cta { border-color: rgba(27, 134, 56, .4); }
.mv-parallax__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .9rem;
  font-weight: 600;
  /* The lifted green: #1B8638 (--mv-brass) is unreadable on the dark glass card. */
  color: var(--mv-gold);
  text-decoration: none;
}
.mv-parallax__link svg { width: 18px; height: 18px; transition: transform var(--mv-transition); }
.mv-parallax__link:hover { color: #fff; }
.mv-parallax__link:hover svg { transform: translateX(4px); }

.mv-parallax__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

@media (max-width: 575.98px) {
  .mv-parallax__point { padding: 1.4rem 1.25rem; }
  .mv-parallax__actions .btn { width: 100%; }
}

/* The banner drift is motion: hold the layer still when motion is reduced.
   Resetting the inset too, so the un-scaled layer still covers the section. */
@media (prefers-reduced-motion: reduce) {
  .mv-parallax__bg {
    inset: 0;
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Dining & Nutrition (home) ----------
   Editorial split: a large framed plate photo anchors the row, the copy sits
   in a warm card beside it. Stone-to-white wash keeps it distinct from the
   neighbouring sections without another flat colour block.
   ------------------------------------------------------------------ */
.mv-dine {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mv-stone) 55%, #FFFFFF 100%);
  padding-bottom: 0px;
}
.mv-dine__wash {
  position: absolute;
  top: -22%;
  right: -12%;
  width: min(52vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 134, 56, .16) 0%, rgba(27, 134, 56, 0) 68%);
  pointer-events: none;
}
.mv-dine .container { position: relative; z-index: 1; }
.mv-dine .section-intro { max-width: 640px; }

/* Framed photo */
.mv-dine__frame {
  position: relative;
  margin: 0;
  padding: clamp(.65rem, 1.4vw, 1rem);
  border-radius: calc(var(--mv-radius-xl) + 8px);
  background: var(--mv-card-surface);
  border: var(--mv-card-hairline);
  box-shadow: var(--mv-card-shadow);
  transition: box-shadow var(--mv-transition), transform var(--mv-transition);
}
.mv-dine__frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--mv-card-shadow-hover);
}
.mv-dine__frame .mv-media {
  border-radius: var(--mv-radius-xl);
  box-shadow: none;
}
.mv-dine__frame .mv-media img {
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
}
.mv-dine__frame:hover .mv-media img { transform: scale(1.045); }

/* Caption plate — floats over the lower-left corner of the photo */
.mv-dine__caption {
  position: absolute;
  left: clamp(1.5rem, 4vw, 2.75rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 24rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--mv-radius);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--mv-gold);
  box-shadow: 0 16px 40px rgba(7, 35, 84, .18);
}
.mv-dine__caption strong {
  display: block;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  color: var(--mv-forest);
  line-height: 1.2;
}
.mv-dine__caption span {
  display: block;
  margin-top: .25rem;
  font-size: var(--mv-fs-xs);
  color: var(--mv-muted);
}

/* Copy list */
.mv-dine__list { list-style: none; padding: 0; margin: 0; }
.mv-dine__list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(27, 134, 56, .2);
}
.mv-dine__list li:first-child { padding-top: 0; }
.mv-dine__list li:last-child { border-bottom: 0; }

.mv-dine__ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27, 134, 56, .12);
  color: var(--mv-gold-dark);
  transition: background var(--mv-transition), color var(--mv-transition), transform var(--mv-transition);
}
.mv-dine__ico svg { width: 21px; height: 21px; }
.mv-dine__list li:hover .mv-dine__ico {
  background: var(--mv-green-deep);
  color: #fff;
  transform: translateY(-2px);
}

.mv-dine__body {
  font-size: var(--mv-fs-sm);
  color: var(--mv-muted);
  line-height: 1.65;
}
.mv-dine__body strong {
  display: block;
  margin-bottom: .2rem;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  font-weight: 600;
  color: var(--mv-forest);
  line-height: 1.3;
}

/* Closing invitation */
.mv-dine__invite {
  margin: 1.75rem 0 0;
  padding: 1.15rem 1.35rem;
  border-radius: var(--mv-radius);
  background: rgba(255, 255, 255, .72);
  border: var(--mv-card-hairline);
  font-size: var(--mv-fs-sm);
  color: var(--mv-muted);
}
.mv-dine__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: .35rem;
  font-weight: 600;
  color: var(--mv-terracotta-dark);
  text-decoration: none;
  white-space: nowrap;
}
.mv-dine__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--mv-transition);
}
.mv-dine__link:hover { color: var(--mv-forest); }
.mv-dine__link:hover svg { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .mv-dine__caption { max-width: none; }
}
@media (max-width: 575.98px) {
  .mv-dine__caption {
    position: static;
    margin-top: .9rem;
    backdrop-filter: none;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mv-dine__frame,
  .mv-dine__frame .mv-media img,
  .mv-dine__ico,
  .mv-dine__link svg { transition: none; }
  .mv-dine__frame:hover { transform: none; }
  .mv-dine__frame:hover .mv-media img { transform: none; }
}

/* ---------- Family Voices (home testimonials) ----------
   One featured quote carries the emotional weight; two supporting cards sit
   beneath it. Deliberately not a three-up grid — the hierarchy is the point.
   ------------------------------------------------------------------ */
.mv-voices {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--mv-stone) 0%, #FFFFFF 62%, var(--mv-stone) 100%);
}
.mv-voices__wash {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: min(78vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 134, 56, .13) 0%, rgba(27, 134, 56, 0) 65%);
  pointer-events: none;
}
.mv-voices .container { position: relative; z-index: 1; }
.mv-voices .section-intro { max-width: 660px; }

/* Shared quote card */
.mv-voice {
  position: relative;
  height: 100%;
  margin: 0;
  padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.6rem, 3vw, 2.4rem) clamp(1.75rem, 3vw, 2.25rem);
  border-radius: var(--mv-radius-xl);
  background: var(--mv-card-surface);
  border: var(--mv-card-hairline);
  box-shadow: var(--mv-card-shadow);
  transition: transform var(--mv-transition), box-shadow var(--mv-transition);
}
.mv-voice::after {
  /* brass hairline that draws in on hover */
  content: "";
  position: absolute;
  left: clamp(1.6rem, 3vw, 2.4rem);
  right: clamp(1.6rem, 3vw, 2.4rem);
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mv-green), var(--mv-green-lift));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--mv-transition);
}
.mv-voice:hover {
  transform: translateY(-5px);
  box-shadow: var(--mv-card-shadow-hover);
}
.mv-voice:hover::after { transform: scaleX(1); }

/* Oversized decorative quote mark */
.mv-voice__mark {
  position: absolute;
  top: clamp(.2rem, 1vw, .6rem);
  right: clamp(1.2rem, 3vw, 2rem);
  font-family: var(--mv-font-head);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 1;
  color: var(--mv-gold);
  opacity: .16;
  pointer-events: none;
  user-select: none;
}

.mv-voice__stars {
  color: var(--mv-star-gold);
  letter-spacing: .18em;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.mv-voice blockquote {
  position: relative;
  margin: 0 0 1.75rem;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h4);
  font-weight: 400;
  line-height: 1.62;
  color: var(--mv-forest);
}

/* Attribution */
.mv-voice__person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 134, 56, .22);
}
.mv-voice__avatar {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--mv-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mv-forest);
  background: linear-gradient(145deg, var(--mv-sage-soft), var(--mv-stone-deep));
  box-shadow: 0 0 0 1px rgba(27, 134, 56, .35), 0 0 0 5px rgba(255, 255, 255, .9), 0 6px 18px rgba(7, 35, 84, .12);
}
.mv-voice__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.mv-voice__id strong {
  display: block;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h5);
  color: var(--mv-forest);
  line-height: 1.3;
}
.mv-voice__id span {
  display: block;
  margin-top: .15rem;
  font-size: var(--mv-fs-xs);
  color: var(--mv-muted);
}

/* Featured variant */
.mv-voice--feature {
  max-width: 62rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 4.5vw, 3.6rem) clamp(1.75rem, 4.5vw, 3.6rem) clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
  background:
    linear-gradient(180deg, #fff 0%, #FBF6ED 100%);
  box-shadow: 0 2px 4px rgba(7, 35, 84, .05), 0 30px 64px rgba(7, 35, 84, .13);
}
.mv-voice--feature::after { transform-origin: center; }
.mv-voice--feature .mv-voice__mark {
  top: clamp(-.4rem, -.5vw, 0rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  opacity: .13;
}
.mv-voice--feature blockquote {
  font-size: var(--mv-fs-h3);
  line-height: 1.5;
  max-width: 46rem;
  margin-inline: auto;
}
.mv-voice--feature .mv-voice__person {
  justify-content: center;
  border-top: 0;
  padding-top: 0;
  text-align: left;
}
.mv-voice--feature .mv-voice__person::before {
  /* short brass rule in place of the full-width divider */
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -1.6rem;
  width: 56px;
  height: 2px;
  background: var(--mv-gold);
  opacity: .5;
}
.mv-voice--feature .mv-voice__avatar {
  width: 68px;
  height: 68px;
  font-size: 1.45rem;
}

/* Closing note + CTA */
.mv-voices__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.mv-voices__foot-text {
  margin: 0;
  font-size: var(--mv-fs-xs);
  color: var(--mv-muted);
}

@media (max-width: 575.98px) {
  .mv-voice--feature .mv-voice__person { flex-direction: column; text-align: center; gap: .75rem; }
  .mv-voices__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-voice,
  .mv-voice::after { transition: none; }
  .mv-voice:hover { transform: none; }
  .mv-voice:hover::after { transform: scaleX(1); }
  .mv-voice--feature:hover::after { transform: translateX(0) scaleX(1); }
}

/* ==================================================================
   ABOUT — OUR VALUES (editorial)
   Asymmetric two-column: a sticky lead column set against a
   numbered, rule-separated list. No cards, no boxes.
   ================================================================== */
.mv-values {
  position: relative;
  background: var(--mv-cream);
  overflow: hidden;
}
.mv-values::before {
  /* oversized watermark numeral-free tint wash */
  content: "";
  position: absolute;
  top: -12%;
  right: -14%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(27, 134, 56, .10), transparent 68%);
  pointer-events: none;
}
.mv-values > .container { position: relative; z-index: 1; }

.mv-values__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* ---- Lead column ---- */
.mv-values__lead { position: sticky; top: calc(var(--mv-header-h) + 2.5rem); }

.mv-values__title {
  /* size/weight/rhythm inherited from the shared section-title rule */
  color: var(--mv-navy);
  margin: .35rem 0 0;
}
.mv-values__title em {
  font-style: italic;
  color: var(--mv-gold-dark);
}

.mv-values__standfirst {
  margin: 1.35rem 0 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--mv-gold);
  font-size: var(--mv-fs-lead);
  line-height: 1.75;
  color: var(--mv-muted);
  max-width: 26rem;
}

.mv-values__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  padding-bottom: .4rem;
  font-family: var(--mv-font-ui);
  font-size: var(--mv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mv-navy);
  border-bottom: 1px solid var(--mv-border);
  transition: color var(--mv-transition), border-color var(--mv-transition);
}
.mv-values__cta svg { transition: transform var(--mv-transition); }
.mv-values__cta:hover,
.mv-values__cta:focus-visible { color: var(--mv-gold-dark); border-color: var(--mv-gold); }
.mv-values__cta:hover svg,
.mv-values__cta:focus-visible svg { transform: translateX(4px); }

/* ---- Numbered list ---- */
.mv-values__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.mv-value {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--mv-border);
  transition: background var(--mv-transition);
}
.mv-value:first-child { border-top: 0; padding-top: 0; }
.mv-value:last-child { padding-bottom: 0; }

.mv-value__num {
  font-family: var(--mv-font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--mv-gold);
  text-stroke: 1px var(--mv-gold);
  transition: color var(--mv-transition);
}
.mv-value:hover .mv-value__num { color: var(--mv-gold); }

.mv-value__name {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .5rem;
  font-family: var(--mv-font-head);
  font-size: var(--mv-fs-h4);
  font-weight: 600;
  color: var(--mv-navy);
}
.mv-value__icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--mv-sage);
}
.mv-value__body p {
  margin: 0;
  max-width: 38rem;
  font-size: var(--mv-fs-sm);
  line-height: 1.75;
  color: var(--mv-muted);
}

@media (max-width: 991.98px) {
  .mv-values__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mv-values__lead { position: static; }
  .mv-values__standfirst { max-width: none; }
  /* The title's line break is set for the narrow desktop column; at full
     width it would leave the first line half empty, so the title flows and
     wraps only where it has to. */
  .mv-values__title br { display: none; }
}

@media (max-width: 575.98px) {
  .mv-value { grid-template-columns: 1fr; gap: .5rem; }
  .mv-value__num { font-size: 1.25rem; -webkit-text-stroke: 0; text-stroke: 0; color: var(--mv-gold); }
}

@media (prefers-reduced-motion: reduce) {
  .mv-values__cta,
  .mv-values__cta svg,
  .mv-value,
  .mv-value__num { transition: none; }
}

/* ==========================================================================
   30. RESPONSIVE LAYER
   ==========================================================================
   Appended last so it cascades over the component rules above without
   editing them. Ordered largest -> smallest (max-width queries), so each
   narrower breakpoint inherits everything set by the wider ones.

   Target widths: 1440, 1366, 1280, 1199, 1024, 991, 768, 575, 480, 425,
   375, 320.

   Baseline (>1440px) is the existing desktop design, untouched. The fluid
   clamp() type scale in section 1 already handles most size interpolation;
   what follows is the layout, density and spacing work that clamps cannot
   express — column counts, overlap offsets, sticky behaviour and the
   touch-target floor.
   ------------------------------------------------------------------ */

/* ---------- 30.1 Global guards (all widths) ---------- */

/* Nothing may push the page sideways. `body{overflow-x:hidden}` in section 2
   hides a horizontal overflow but does not prevent it; these keep the
   offenders inside the viewport in the first place. */
img, svg, video, canvas { max-width: 100%; }
.mv-media img,
.mv-mosaic__item img,
.mv-hero__bg,
.mv-parallax__bg img,
.mv-mission-banner__media img { max-width: none; }

/* Long unbroken strings — email addresses, phone numbers, URLs — are the
   usual cause of a stubborn 320px overflow. */
p, li, dd, figcaption, blockquote, .mv-card p, .mv-post__body p { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Phone browsers widen the page to fit anything past the right edge, even
   with body{overflow-x:hidden} — a side-sliding block not yet revealed (30px
   off-screen) made every page ~30px wider than the phone. `clip` cuts that
   off without creating a scroll box, so sticky elements inside still work. */
main, .mv-footer { overflow-x: clip; }
@media (max-width: 991.98px) {
  /* Columns stack on narrow screens, so side slides become the same gentle rise as everything else. */
  [data-animate="fade-left"], [data-animate="fade-right"] { transform: translateY(30px); }
}

/* ---------- 30.2 <=1440px — large desktop ---------- */
@media (max-width: 1440px) {
  /* Below 1440 the hero is shorter, so the overlap is eased to keep the
     cards clear of the headline above and the copy beneath. */
  :root { --mv-hero-card-overlap: clamp(2.75rem, 5vw, 4.5rem); }
  .mv-hero-card { padding: 1.55rem 1.5rem 1.5rem; }
}

/* ---------- 30.3 <=1366px — common laptop ---------- */
@media (max-width: 1366px) {
  /* .mv-hero__content { max-width: 680px; } */
  :root { --mv-hero-card-overlap: clamp(2.5rem, 4.5vw, 4rem); }
  .mv-hero__cards { gap: 1.25rem; }

  /* The mosaic rows are fixed pixel heights, so they must step down with the
     viewport or the tiles grow disproportionately tall relative to the
     narrowing columns. */
  .mv-mosaic { grid-template-rows: repeat(3, 215px); }

  /* Philosophy columns lose their generous inline padding first — the text
     is what needs the room, not the gutters. */
  .mv-philosophy__item { padding-inline: clamp(.9rem, 1.8vw, 1.5rem); }
}

/* ---------- 30.4 <=1280px — small laptop ---------- */
@media (max-width: 1280px) {
  :root { --mv-header-h: 80px; }

  :root { --mv-hero-card-overlap: clamp(2.25rem, 4vw, 3.5rem); }
  .mv-hero__cards { gap: 1rem; }
  .mv-hero-card { padding: 1.45rem 1.35rem; column-gap: .9rem; }
  .mv-hero-card__icon { width: 40px; height: 40px; flex: 0 0 40px; margin-bottom: 0; }

  /* Nav links tighten before the toggler appears at 991px, so the full item
     set plus the CTA still fits one line without wrapping the brand. */
  .mv-nav .nav-link { padding: .5rem .6rem !important; }
  .mv-nav .nav-link::after { left: .6rem; right: .6rem; }
  .mv-nav .btn-gold { padding: .55rem 1.1rem; }
  .mv-brand__logo { --mv-logo-h: 48px; }

  .mv-mosaic { grid-template-rows: repeat(3, 200px); gap: .9rem; }
  .mv-card { padding: 2.1rem 1.75rem 1.95rem; }
  .mv-service-row { --mv-service-num-size: 2.6rem; }
}

/* ---------- 30.5 <=1199px — Bootstrap lg: portrait tablet & narrow laptop -- */
@media (max-width: 1199.98px) {
  /* The banner's decorative circle is 460px wide and sits outside the right
     edge; at this width it starts to drive horizontal overflow. */
  .mv-banner::after { width: 340px; height: 340px; right: -130px; bottom: -150px; }

  :root { --mv-hero-card-overlap: clamp(2rem, 3.5vw, 3rem); }
  .mv-hero__content { max-width: 620px; }

  /* Four stat columns become cramped well before the 991px reflow; the
     dividers are redrawn for a 2-up grid here instead. */
  .mv-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .mv-trust__grid > .mv-stat:nth-child(odd) { border-left: 0; }
  .mv-trust__grid > .mv-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }

  /* Philosophy drops to 2-up at the same point, matching the stats rhythm. */
  .mv-philosophy { grid-template-columns: repeat(2, 1fr); row-gap: clamp(2rem, 4vw, 2.75rem); }
  .mv-philosophy__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .mv-philosophy__item:nth-child(even) { padding-right: 0; }

  /* 46 characters will not hold one line here. */
  .mv-mission-banner__title { white-space: normal; }

  .mv-values__grid { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .mv-values__lead { position: static; }
  .mv-values__standfirst { max-width: none; }

  .mv-mosaic { grid-template-rows: repeat(3, 185px); }
  .mv-footer .mv-footer-list { margin-bottom: 1.25rem; }
}

/* ---------- 30.6 <=1024px — landscape tablet / iPad ---------- */
@media (max-width: 1024px) {
  :root { --mv-header-h: 76px; }

  .mv-hero { padding-top: clamp(3rem, 8vw, 5rem); }
  .mv-hero__content { max-width: 100%; padding-bottom: clamp(2rem, 5.5vw, 3.5rem); }
  .mv-hero__lead { max-width: 52ch; }

  /* Trust cards ease further out of overlap: at this width the offset
     collides with the copy above it. */
  :root { --mv-hero-card-overlap: clamp(1.75rem, 3vw, 2.5rem); }
  .mv-hero__cards { gap: .9rem; }

  .mv-parallax { height: auto; }
  .mv-parallax__title { max-width: 24ch; }
  .mv-parallax__lead { max-width: 60ch; }

  .mv-mosaic { grid-template-rows: repeat(3, 170px); }
  .mv-service-row { padding-block: clamp(2rem, 5vw, 3rem); }
  .mv-card { padding: 2rem 1.65rem 1.85rem; }
}

/* ---------- 30.7 <=991px — Bootstrap md: collapsed nav, single column ------ */
@media (max-width: 991.98px) {
  :root { --mv-header-h: 72px; }

  /* The collapsed menu can exceed the viewport on short landscape phones,
     so it scrolls inside the header rather than pushing the page. */
  .mv-header .navbar-collapse {
    max-height: calc(100vh - var(--mv-header-h) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* Every nav row clears the 44px touch-target minimum. */
  .mv-nav .nav-link { padding: .85rem .25rem !important; min-height: 44px; display: flex; align-items: center; }
  .navbar-toggler { min-width: 38px; min-height: 38px; }

  /* Hero cards stack; the overlap is removed entirely so nothing is clipped. */
  :root { --mv-hero-card-overlap: 0px; }
  .mv-hero__cards { grid-template-columns: 1fr; margin-bottom: 0; margin-top: 2rem; }
  /* The cards no longer overlap the next section, so the hero can clip its
     zooming video (which otherwise showed as a strip below) and frame the
     cards with its own bottom padding. */
  .mv-hero { overflow: clip; padding-bottom: 2.5rem; margin-bottom: 0; }
  .mv-intro { padding-top: 3.5rem; }

  .mv-parallax__points > [class*="col"] + [class*="col"] { margin-top: 1rem; }
  .mv-mosaic { grid-template-rows: repeat(5, 190px); }

  /* Decorative circles are pure overflow risk on narrow screens. */
  .mv-banner::after { display: none; }
}

/* ---------- 30.8 <=768px — tablet portrait / large phone ---------- */
@media (max-width: 768px) {
  :root { --mv-header-h: 68px; }

  /* Stats and philosophy go fully single-column here: two columns of
     uppercase labels at this width break awkwardly mid-word. */
  .mv-trust__grid { grid-template-columns: 1fr; }
  .mv-trust__grid > .mv-stat { border-left: 0; }
  .mv-trust__grid > .mv-stat + .mv-stat { border-top: 1px solid rgba(255, 255, 255, .1); }
  .mv-stat__note { max-width: 32ch; }

  .mv-philosophy { grid-template-columns: 1fr; row-gap: 2rem; }
  .mv-philosophy__item { border-left: 0; padding-inline: 0; }

  .mv-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 165px); gap: .75rem; }

  /* Captions are hover-revealed on desktop; on touch they stay visible, so
     they need to be legible rather than cinematic. */
  .mv-mosaic__item figcaption { padding: 1rem .9rem .85rem; }

  .mv-service-row .mv-service-num { font-size: 2.25rem; }
  .mv-values__standfirst { padding-left: 1rem; }

  /* Footer columns stack with breathing room instead of colliding. */
  .mv-footer-list { margin-bottom: 1.75rem; }
  .mv-footer-bottom { text-align: center; }
  .mv-footer-bottom > * + * { margin-top: .5rem; }
  /* Social icons stay left, in line with the logo, text and columns around them. */
}

/* ---------- 30.9 <=575px — Bootstrap sm: phone ---------- */
@media (max-width: 575.98px) {
  :root { --mv-header-h: 64px; --mv-page-gutter: 16px; }

  /* A consistent 16px page gutter at phone widths.

     The padding is set directly rather than through `--bs-gutter-x`. That
     variable cannot be used here: `.row` redeclares it from its own `g-*`
     class, so a value set on the container is overridden inside every row.
     The container's padding would shrink while the row kept its 3rem
     negative margin, and each row would then escape the container by the
     difference. Section 30.15 clamps the rows to match this padding. */
  .container, .container-fluid,
  .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Full-width primary actions are easier to hit and read as intentional
     rather than as buttons that happen to have wrapped. */
  .mv-hero__actions,
  .mv-cta__actions,
  .mv-parallax__actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .mv-hero__actions .btn,
  .mv-cta__actions .btn,
  .mv-parallax__actions .btn { width: 100%; justify-content: center; }
  /* Full-width stacked buttons drop the btn-lg bulk: shorter and smaller
     type, still above the 44px touch minimum. */
  .mv-hero__actions .btn,
  .mv-cta__actions .btn,
  .mv-parallax__actions .btn { padding: .7rem 1.25rem; font-size: .95rem; }
  /* Every page-level button group (hero, "Why" section, call-to-action
     banner, testimonials foot) uses one compact phone button rather than
     full-width slabs. A group is as wide as its longest label and its
     buttons stretch to it, so they match; the group is centred. */
  .mv-hero__actions,
  .mv-parallax__actions,
  .mv-cta__actions { width: fit-content; max-width: 100%; align-items: stretch; gap: .6rem; margin-inline: auto; }
  .mv-hero__actions { margin-top: 1.4rem; }
  .mv-cta__actions.gap-3 { gap: .6rem !important; } /* match the others over Bootstrap's !important utility */
  .mv-hero__actions .btn,
  .mv-parallax__actions .btn,
  .mv-cta__actions .btn,
  .mv-voices__foot .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: .55rem 1.35rem;
    font-size: .875rem;
    line-height: 1.3;
  }

  /* Every interactive control clears the 44px touch minimum. */
  .btn, .mv-filter-btn, .mv-social a { min-height: 44px; }
  /* The menu button is the exception: next to the small phone logo a full
     44px box looks oversized, so it steps down to 34px (~19px icon). */
  .navbar-toggler { min-width: 34px; min-height: 34px; padding: .15rem .3rem; font-size: .8rem; border-radius: 7px; }

  /* Services page titles step down on the narrowest phones (24px at 320px,
     back to full size by ~375px) so names like "Daily Living Assistance"
     hold one line; only the three longest still need two. */
  .mv-service-row .section-title { font-size: min(var(--mv-fs-h2), 7.5vw); text-wrap: pretty; }

  /* A section's lone button ("Read Our Full Story", "View Full Gallery",
     "Ask a Question", "Book a Visit"…) is centred and the same compact size
     as the button groups above, rather than hanging off the left edge. */
  .mv-btn-solo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: .55rem 1.35rem;
    font-size: .875rem;
    line-height: 1.3;
  }
  .mv-filter-btn { padding-inline: 1rem; }

  .mv-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(7, 200px); }
  .mv-mosaic__item figcaption { transform: none; opacity: 1; }

  /* The back-to-top button moves inboard so it does not sit under a
     thumb resting on the screen edge. */
  .mv-top { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }

  /* Service numbers become a quiet label rather than a display figure. */
  .mv-service-row .mv-service-num { font-size: 1.9rem; margin-bottom: .25rem; }

  .mv-quote, .mv-voice { padding: 1.5rem 1.25rem; }
  /* Icon beside the text instead of above it: stacked, each tile was mostly
     empty space to the right of a two-line entry. */
  .mv-contact-tile { flex-direction: row; gap: 1rem; padding: 1.15rem 1.1rem; }
  .mv-contact-tile > div { flex: 1 1 auto; min-width: 0; }
  .mv-contact-tile h2,
  .mv-contact-tile h3,
  .mv-contact-tile .mv-tile-label { margin-bottom: .2rem; }
  .mv-sidebar-box { padding: 1.35rem 1.15rem; }
  .mv-form-card { padding: 1.5rem 1.15rem; }

  /* Gallery filters scroll horizontally instead of stacking into a tall
     column that pushes the grid below the fold. */
  .mv-gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    /* Start-aligned: a centred row wider than the screen pushes "All Photos"
       off the left edge, out of scrolling reach. The row runs edge to edge
       (negative margin, matching padding) so cut-off pills hint at the scroll. */
    justify-content: flex-start;
    margin-inline: calc(var(--mv-page-gutter, 12px) * -1);
    padding-inline: var(--mv-page-gutter, 12px);
    gap: .5rem;
    padding-bottom: .75rem;
    /* A visible slim bar signals that the row scrolls sideways. */
    scrollbar-width: thin;
    scrollbar-color: var(--mv-gold-warm) var(--mv-border);
    -webkit-overflow-scrolling: touch;
  }
  .mv-gallery-filters::-webkit-scrollbar { height: 4px; }
  .mv-gallery-filters::-webkit-scrollbar-track { background: var(--mv-border); border-radius: 4px; }
  .mv-gallery-filters::-webkit-scrollbar-thumb { background: var(--mv-gold-warm); border-radius: 4px; }
  .mv-gallery-filters .mv-filter-btn { flex: 0 0 auto; }
}

/* ---------- 30.10 <=480px — standard phone ---------- */
@media (max-width: 480px) {
  /* Hero type steps below the fluid floor: the clamp minimum is tuned for
     readability at 375px+, and four lines of 2.4rem is too tall here. */
  .mv-hero h1 { font-size: clamp(2rem, 8.5vw, 2.5rem); line-height: 1.12; }
  /* The desktop headline break is authored in the markup; at phone widths the
     line wraps naturally and the hard break only makes it lopsided. */
  .mv-hero h1 br { display: none; }
  .mv-hero__lead { font-size: 1.02rem; margin-top: 1.1rem; }
  .mv-hero__badges { gap: .45rem; margin-bottom: 1.2rem; }
  .mv-badge { padding: .4rem .8rem; font-size: .76rem; }

  .mv-card { padding: 1.6rem 1.25rem; }
  .mv-card__icon { width: 46px; height: 46px; flex: 0 0 46px; margin-bottom: 1.1rem; }

  .mv-mosaic { grid-template-rows: repeat(7, 180px); }
  .mv-stat__num { font-size: clamp(2.4rem, 13vw, 3.1rem); }

  /* The numbered value rows lose their number column at 575px; tighten the
     remaining rhythm so the list does not run excessively long. */
  .mv-value { padding-block: 1.25rem; }

  .mv-person { padding: 1.1rem .95rem 1.25rem; }
  .mv-post__body { padding: 1.25rem 1.1rem; }
}

/* ---------- 30.11 <=425px ---------- */
@media (max-width: 425px) {
  .container, .container-fluid { padding-left: 14px; padding-right: 14px; }
  :root { --mv-page-gutter: 14px; }

  .mv-hero h1 { font-size: clamp(1.85rem, 8.8vw, 2.25rem); }
  .mv-mosaic { grid-template-rows: repeat(7, 165px); }

  /* Breadcrumbs wrap rather than overflow the banner. */
  .breadcrumb { flex-wrap: wrap; font-size: .82rem; }

  .mv-philosophy__icon { width: 2.25rem; height: 2.25rem; }
  .mv-parallax__point { padding: 1.25rem 1.1rem; }
}

/* ---------- 30.12 <=375px — iPhone SE / mini ---------- */
@media (max-width: 375px) {
  :root { --mv-header-h: 60px; }

  .mv-brand__logo { --mv-logo-h: 32px; }
  .mv-hero h1 { font-size: 1.75rem; }
  .mv-hero__lead { font-size: .98rem; }

  .mv-mosaic { grid-template-rows: repeat(7, 150px); }
  .mv-card { padding: 1.4rem 1.1rem; }
  .mv-card h3 { font-size: 1.1rem; }

  .mv-stat__num { font-size: 2.6rem; }
  .mv-service-row .mv-service-num { font-size: 1.7rem; }

  .mv-badge { font-size: .72rem; padding: .35rem .7rem; }
}

/* ---------- 30.13 <=320px — smallest supported ---------- */
@media (max-width: 320px) {
  .container, .container-fluid { padding-left: 12px; padding-right: 12px; }
  :root { --mv-page-gutter: 12px; }

  .mv-brand__logo { --mv-logo-h: 28px; }
  .mv-brand { gap: .5rem; }

  .mv-hero h1 { font-size: 1.6rem; letter-spacing: -.01em; }
  .mv-hero__lead { font-size: .94rem; }

  /* At 320px the tel: nowrap in section 15 is the one rule that can still
     force a scrollbar, so it is released here. */
  .mv-contact-tile a[href^="tel:"],
  .mv-dine__link { white-space: normal; }

  .mv-mosaic { grid-template-rows: repeat(7, 135px); }
  .mv-card { padding: 1.25rem 1rem; }
  .mv-stat__num { font-size: 2.25rem; }
  .mv-stat__note { max-width: none; }

  .btn { font-size: .9rem; padding-inline: 1rem; }
  .mv-top { width: 42px; height: 42px; right: .75rem; bottom: .75rem; }
}

/* ---------- 30.14 Landscape phones ----------
   Short viewports: the hero's vertical clamp padding is generous enough to
   push the headline off a 380px-tall landscape screen entirely. */
@media (max-height: 480px) and (orientation: landscape) {
  .mv-hero { padding-top: 3rem; }
  .mv-hero__content { padding-bottom: 2rem; }
  .mv-header .navbar-collapse { max-height: calc(100vh - var(--mv-header-h)); }
}

/* ---------- 30.15 Bootstrap gutter tuning ----------
   The layouts lean on `g-5` (3rem) to give the desktop grid its editorial
   air. Once the columns stack that gutter becomes dead vertical space
   between a photograph and the paragraph it belongs to, which reads as a
   section break rather than a pair. These step it down so stacked columns
   stay visually grouped.

   `--bs-gutter-x` must be stepped down in step with the container padding,
   because the two are two halves of the same mechanism: the container pads
   by half the gutter and the row pulls back by the other half. Bootstrap's
   own `.container` padding is `--bs-gutter-x * .5`, so setting the variable
   on the container keeps the pair balanced automatically. A `g-5` row left
   at 3rem inside a 28px-padded container escapes its container by 10px per
   side — which is exactly the overflow this block removes. */
/* Above the md breakpoint Bootstrap's .container keeps its default 24px
   inline padding while a `g-5` row asks for a 3rem (48px) gutter, so the
   row overhangs the container by 12px per side. Capping the gutter at 48px
   only helps once the padding matches; the container padding is widened
   instead, which preserves the intended 3rem gap between columns. */
@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 24px;
    padding-right: 24px;
  }
  .row.row.g-5, .row.row.g-lg-5 { --bs-gutter-x: 3rem; }
}

/* The horizontal gutter is capped to twice the container's inline padding,
   because the row's negative margin is half the gutter and must be fully
   absorbed by that padding. Selectors repeat `.row` to outweigh Bootstrap's
   own `.g-5`/`.g-lg-5` declarations, which would otherwise keep the gutter
   at 3rem and push each row past the container edge. The vertical gutter is
   free to differ: stacked columns need less air than side-by-side ones. */
/* Container padding 16px -> gutter ceiling 32px (2rem). Bootstrap's own
   default container padding is 12px here, which is too little to absorb a
   2rem gutter, so the padding is raised to match rather than shrinking the
   gutter further and losing the gap between columns. */
@media (max-width: 991.98px) {
  .container, .container-fluid,
  .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 16px;
    padding-right: 16px;
  }
  .row.row, .row.row[class*="g-"] { --bs-gutter-x: 2rem; }
  .row.row.g-5, .row.row.g-lg-5 { --bs-gutter-y: 2rem; }
  .row.row.g-4, .row.row.g-lg-4 { --bs-gutter-y: 1.5rem; }
}
/* Container padding 16px -> gutter ceiling 32px. */
@media (max-width: 575.98px) {
  .row.row, .row.row[class*="g-"] { --bs-gutter-x: 32px; }
  .row.row.g-5, .row.row.g-lg-5 { --bs-gutter-y: 1.5rem; }
  .row.row.g-4, .row.row.g-lg-4 { --bs-gutter-y: 1.25rem; }
}
/* Container padding 14px -> gutter ceiling 28px. */
@media (max-width: 425px) {
  .row.row, .row.row[class*="g-"] { --bs-gutter-x: 28px; }
}
/* Container padding 12px -> gutter ceiling 24px. */
@media (max-width: 320px) {
  .row.row, .row.row[class*="g-"] { --bs-gutter-x: 24px; }
}

/* ---------- 30.16 Stacked column ordering ----------
   Alternating sections use `flex-lg-row-reverse` so the photograph swaps
   sides down the page. When the row stacks, the reverse no longer applies
   and every section falls back to source order, which is correct: on a
   phone the image should lead and the copy follow, consistently. This is
   recorded rather than changed — the fallback is the desired behaviour. */

/* ---------- 30.17 Flex/grid minimum-size floor ----------
   A flex item's `min-width` defaults to `auto`, which resolves to the
   content's intrinsic minimum — so a column will refuse to shrink below its
   widest unbreakable child and push past the container instead of wrapping.
   Bootstrap's `.col-*` classes are flex items, so any column whose content
   has a wide intrinsic minimum (a long heading, a `nowrap` run, a wide
   inline-flex group) overflows the row rather than reflowing inside it.

   Setting `min-width: 0` restores the expected behaviour: the column shrinks
   to its share of the row and its content wraps. `min-height: 0` does the
   same for the block axis. This is the single rule that keeps every page
   inside the viewport at 320px. */
.row > * { min-width: 0; }

/* Grid containers have the same default on their items. */
.mv-philosophy__item,
.mv-trust__grid > *,
.mv-values__grid > *,
.mv-value > *,
.mv-mosaic__item,
.mv-hero__cards > * { min-width: 0; }

/* Flex rows that carry their own layout need the same floor so a long word
   or a nowrap phrase cannot force the row wider than its parent. */
.mv-usp, .mv-checklist li, .mv-footer-contact li,
.mv-post__meta, .mv-quote__person, .mv-voice__person { min-width: 0; }
.mv-usp > *, .mv-checklist li > *, .mv-footer-contact li > * { min-width: 0; }


/* ==========================================================================
   31. RESPONSIVE — COMPONENT GEOMETRY
   --------------------------------------------------------------------------
   Section 30 handles the page-level system: containers, gutters, column
   counts, the touch-target floor and the overflow guards. What it does not
   reach are the components whose desktop geometry is authored in fixed
   units — absolute overlays, reserved padding, sticky offsets and a few
   nowrap runs. Those keep their desktop values at every width because no
   rule below 992px mentions them.

   Each block below names the component and the width at which its authored
   geometry stops working. The design is unchanged: these restore the
   intended composition once the layout that composition assumed is gone.
   ------------------------------------------------------------------------ */

/* ---------- 31.1 Intro stat badge ----------
   Section 24 already resolves most of this cluster at 991px: the inset photo
   is hidden and the reserved padding is dropped. What it leaves is the stat
   badge, still absolutely positioned — moved to `right: 14px; bottom: 14px`,
   inset over the portrait image.

   That works while the image is tall. It stops working at phone widths for
   two reasons: the badge's 190px max-width is a large share of a 320px
   column, and it sits over the lower-right of a photo whose subject is now
   proportionally much larger. The badge is placed in normal flow beneath the
   image instead, which keeps both the figure and the number readable. */
@media (max-width: 575.98px) {
  .mv-intro__stat {
    position: static;
    max-width: none;
    margin-top: .85rem;
    padding: .9rem 1.1rem;
  }
  .mv-intro__stat strong { font-size: 2rem; }
}

/* ---------- 31.2 Dining caption ----------
   Section 26 releases the caption's `max-width` at 991px and takes it out of
   the overlay at 575px. Between those two widths it is still absolutely
   positioned with clamped insets that bottom out at 1.5rem per side, over a
   photo that has already narrowed to a single stacked column — so the
   caption covers most of the image it is captioning. The flow treatment is
   brought forward to the point where the row actually stacks.

   `-webkit-backdrop-filter` is included because the 575px rule omits it, and
   without the prefix the blur persists on iOS Safari behind an opaque
   background, which darkens the panel. */
@media (max-width: 991.98px) {
  .mv-dine__caption {
    position: static;
    margin-top: .9rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--mv-cream);
    box-shadow: none;
  }
}
@media (max-width: 575.98px) {
  .mv-dine__caption { -webkit-backdrop-filter: none; background: var(--mv-cream); }
}

/* ---------- 31.3 Mission banner headline ----------
   Section 30.5 releases the `white-space: nowrap` at 1199px. The quote below
   it keeps its display size at every width; at phone widths an italic h4 in
   the heading face runs to five or six lines and reads as a block of texture
   rather than a pull quote. */
@media (max-width: 991.98px) {
  .mv-mission-banner__quote { font-size: var(--mv-fs-h5); line-height: 1.5; }
}

/* ---------- 31.4 FAQ aside figure ----------
   Section 17 unsticks the aside at 991px and fixes its figure to 240px tall.
   Once the column is full-width that figure is a wide, short letterbox; the
   height is released so the image keeps a usable shape, and the measure on
   the standfirst is dropped since it no longer sits in a narrow column. */
@media (max-width: 991.98px) {
  .mv-faq-aside .lead-2 { max-width: none; }
}
@media (max-width: 575.98px) {
  .mv-faq-figure img { height: 200px; }
}

/* ---------- 31.5 Article body ----------
   Blog copy is the one place with a genuine reading measure to protect.
   The blockquote's 4px rule plus 1.6rem inline padding eats 56px of a
   320px line, so both step down with the viewport. */
@media (max-width: 575.98px) {
  .mv-article blockquote {
    padding: 1.15rem 1.15rem;
    font-size: var(--mv-fs-h5);
    margin: 1.4rem 0;
  }
  .mv-article h2 { margin-top: 1.9rem; }
  .mv-article h3 { margin-top: 1.5rem; }
  .mv-article ul, .mv-article ol { padding-left: 1.1rem; }
}

/* ---------- 31.6 Map embed ----------
   The iframe carries a 420px floor, stepped to 340px at 991px in section 19.
   On a 320px-wide phone a 340px-tall map is taller than it is wide, which
   reads as a gap in the page rather than a located place. */
@media (max-width: 575.98px) {
  .mv-map, .mv-map iframe { min-height: 260px; }
}

/* ---------- 31.7 Post and quote furniture ----------
   Small flex rows that hold an avatar beside a name. The avatars are fixed
   at 48/56px via `flex-basis`, which is correct — they must not distort —
   but the rows need permission to wrap so a long name moves to its own line
   instead of forcing the card wider. */
@media (max-width: 575.98px) {
  .mv-post__meta { flex-wrap: wrap; row-gap: .35rem; }
  .mv-quote__person, .mv-voice__person { flex-wrap: wrap; row-gap: .5rem; }
  .mv-voice__avatar { width: 48px; height: 48px; flex: 0 0 48px; font-size: 1.1rem; }
}

/* ---------- 31.8 Tag list ----------
   Tags are inline-block pills with a right margin. At phone widths they
   need a comfortable hit area without becoming full-width blocks. */
@media (max-width: 575.98px) {
  .mv-tag { padding: .4rem .85rem; margin: 0 .3rem .5rem 0; }
}

/* ---------- Video inside an .mv-media frame ----------
   Fills the frame like an image does, with a centred play button that
   fades out once the film is running. */
.mv-video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.mv-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  cursor: pointer;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .25s ease;
}
.mv-video__play svg { width: 38px; height: 38px; margin-left: 3px; fill: var(--mv-navy, #1d2a3a); }
.mv-video__play:hover,
.mv-video__play:focus-visible { background: #fff; transform: translate(-50%, -50%) scale(1.07); }

.mv-video.is-playing .mv-video__play { opacity: 0; pointer-events: none; }

@media (max-width: 575.98px) {
  .mv-video__play { width: 64px; height: 64px; }
  .mv-video__play svg { width: 28px; height: 28px; }
}

/* ---------- Phones: stats band as a 2 x 2 grid ----------
   Stacked one per row, the four figures took ~1000px of scrolling. Two
   columns with lighter padding keep every figure legible in about half. */
@media (max-width: 768px) {
  .mv-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .mv-trust__grid > .mv-stat,
  .mv-trust__grid > .mv-stat + .mv-stat { border-left: 0; border-top: 0; padding: 1.75rem .75rem 1.5rem; }
  .mv-trust__grid > .mv-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .mv-trust__grid > .mv-stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .mv-stat__icon { width: 40px; height: 40px; margin-bottom: .85rem; }
  .mv-stat__num { font-size: clamp(2rem, 10vw, 2.5rem); }
  .mv-stat__label { margin-top: .8rem; letter-spacing: .1em; }
  .mv-stat__note { max-width: none; font-size: .85rem; }
}

/* Service rows: the last block in the text column carries no bottom margin,
   so the space above each divider matches the space below it. */
.mv-service-row .col-lg-6 > :last-child { margin-bottom: 0; }
