/* ============================================================
   Vibrant Property Solutions — production stylesheet
   Self-contained: self-hosted Inter, design tokens, base
   reset, accessibility, motion system, components, responsive
   rules and hover states. No external dependencies (CSP-safe).
   ============================================================ */

/* ---------- Self-hosted Inter (variable, latin) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand blues (derived from the logo) */
  --blue-50: #eaf3fb;
  --blue-100: #d2e6f6;
  --blue-200: #a6ccec;
  --blue-300: #6faadd;
  --blue-400: #3e88ce;
  --blue-500: #2b74b9;
  --blue-600: #2b74b9;
  --blue-700: #205e9b;
  --blue-800: #17436e;
  --blue-900: #0f2c49;

  --brand: #2b74b9;
  --brand-strong: #17436e;
  --color-accent: #f2a03d;            /* restrained warm accent — used sparingly */
  --text-heading: #17436e;
  --text-brand: #2b74b9;
  --link: #2b74b9;
  --text-body: #54585b;
  --text-muted: #6b7b8c;
  --color-border: #e7ecf1;
  --surface-page: #ffffff;
  --surface-soft: #f6f9fc;

  /* Semantic (forms) */
  --ok: #1a7f52;
  --ok-bg: #e8f6ef;
  --err: #c0362c;
  --err-bg: #fdecea;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 6px 20px rgba(0, 25, 55, 0.07);
  --shadow-md: 0 18px 50px rgba(0, 25, 55, 0.12);

  /* Motion */
  --motion-fast: 160ms;
  --motion-normal: 280ms;
  --motion-slow: 600ms;
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
  --ease-emphasized: cubic-bezier(.16, 1, .3, 1);

  /* Layout */
  --header-h: 80px;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  font-family: var(--font-body);
  color: var(--text-body);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
main { display: block; }
input, select, textarea { font-family: var(--font-body); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500) !important;
  box-shadow: 0 0 0 4px rgba(43, 116, 185, 0.14) !important;
}

/* Anchored sections should not hide beneath the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Skip-to-content link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 44, 73, .3);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; outline-offset: 2px; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Page transition (progressive enhancement) ---------- */
@view-transition { navigation: auto; }

/* ---------- Reveal-on-scroll ----------
   Only active once JS adds `.js` to <html>, so content is
   fully visible if scripts are disabled or fail to load. */
.js [data-reveal] {
  opacity: 0;
  transition: opacity var(--motion-slow) var(--ease-emphasized),
              transform var(--motion-slow) var(--ease-emphasized);
}
.js [data-reveal="fade-up"]        { transform: translateY(24px); }
.js [data-reveal="fade-in"]        { transform: none; }
.js [data-reveal="slide-in-left"]  { transform: translateX(-32px); }
.js [data-reveal="slide-in-right"] { transform: translateX(32px); }
.js [data-reveal="scale-in"]       { transform: scale(.97); }
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children: put data-stagger on a grid/row wrapper */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease-emphasized), transform .55s var(--ease-emphasized);
}
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > *:nth-child(1) { transition-delay: .04s; }
.js [data-stagger].is-visible > *:nth-child(2) { transition-delay: .10s; }
.js [data-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
.js [data-stagger].is-visible > *:nth-child(4) { transition-delay: .22s; }
.js [data-stagger].is-visible > *:nth-child(5) { transition-delay: .28s; }
.js [data-stagger].is-visible > *:nth-child(6) { transition-delay: .34s; }

/* Legacy hero reveal (CSS-only, runs on load; no JS dependency) */
@keyframes vfadeup {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vreveal { opacity: 0; }
.vreveal.vin { animation: vfadeup 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.vreveal.d1 { animation-delay: .08s; }
.vreveal.d2 { animation-delay: .18s; }
.vreveal.d3 { animation-delay: .30s; }
.vreveal.d4 { animation-delay: .42s; }
.vreveal.d5 { animation-delay: .54s; }
/* Slow hero image settle (once, not looping) */
@keyframes heroImgIn { from { transform: scale(1.04); } to { transform: scale(1); } }
.js .hero-img { animation: heroImgIn 1.1s var(--ease-emphasized) both; }

/* ---------- Hover / pressed states (win over inline base styles) ---------- */
.h-navlink { transition: background .2s ease, color .2s ease; }
.h-navlink:hover { background: var(--blue-50) !important; color: var(--blue-700) !important; }
.h-book:hover { background: var(--blue-700) !important; transform: translateY(-2px) !important; box-shadow: 0 8px 22px rgba(43,116,185,.35) !important; }
.h-book:active { transform: translateY(0) scale(.985) !important; }
.h-lift:hover { transform: translateY(-3px) !important; }
.h-lift:active { transform: translateY(-1px) scale(.99) !important; }
.h-lift2:hover { transform: translateY(-2px) !important; }
.h-lift2:active { transform: translateY(0) scale(.985) !important; }
.h-ghost:hover { background: rgba(255,255,255,.2) !important; }
.h-ghost22:hover { background: rgba(255,255,255,.22) !important; }
.h-card:hover { transform: translateY(-6px) !important; box-shadow: 0 22px 44px rgba(22,32,74,.14) !important; border-color: var(--blue-200) !important; }
.h-card13:hover { transform: translateY(-6px) !important; box-shadow: 0 22px 44px rgba(22,32,74,.13) !important; }
.h-contactcard:hover { transform: translateY(-3px) !important; box-shadow: 0 16px 34px rgba(22,32,74,.12) !important; border-color: var(--blue-200) !important; }
.h-footlink:hover { color: #fff !important; }
.h-social:hover { background: var(--blue-600) !important; transform: translateY(-2px); }
.h-chip:hover { background: var(--blue-600) !important; color: #fff !important; }
.h-crumb:hover { color: #fff !important; text-decoration: underline; }
.h-link700:hover { color: var(--blue-700) !important; }
.h-reset:hover { background: var(--blue-100) !important; }

/* Arrow nudge on hover/focus for cards and text links */
.h-card .svc-arrow, .h-card13 .svc-arrow, .h-textlink .svc-arrow {
  transition: transform var(--motion-fast) var(--ease-standard);
}
.h-card:hover .svc-arrow, .h-card:focus-visible .svc-arrow,
.h-card13:hover .svc-arrow, .h-card13:focus-visible .svc-arrow,
.h-textlink:hover .svc-arrow, .h-textlink:focus-visible .svc-arrow { transform: translateX(4px); }

/* Card image subtle zoom (clickable image cards only) */
.h-card .card-img { transition: transform var(--motion-slow) var(--ease-standard); }
.h-card:hover .card-img, .h-card:focus-visible .card-img { transform: scale(1.04); }

/* Keyboard focus parity with hover for whole-card links */
.h-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(22,32,74,.14); border-color: var(--blue-200); outline: 3px solid var(--brand); outline-offset: 3px; }
.h-card13:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(22,32,74,.13); outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Section label component ---------- */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  display: inline-block;
}
.sec-label.on-dark { color: var(--blue-300); }
.sec-label.on-dark::before { background: var(--blue-300); }
.sec-label.center { justify-content: center; }

/* ---------- Header ---------- */
.h-book:focus-visible, .h-lift:focus-visible, .h-lift2:focus-visible,
.h-ghost:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Service page layout helpers ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.svc-media {
  height: 440px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(22, 32, 74, 0.16);
}

/* Services sticky sub-nav — active chip state (scroll-spy) */
.h-chip.is-active {
  background: var(--blue-600) !important;
  color: #fff !important;
}

/* ---------- Process timeline (home) ---------- */
.process-timeline { position: relative; }
.proc-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(43, 116, 185, .32);
}
@media (min-width: 1025px) {
  .process-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-200), var(--blue-300), var(--blue-200));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.1s var(--ease-emphasized);
    z-index: 0;
  }
  .process-timeline.is-visible::before { transform: scaleX(1); }
}
/* Mobile: single-column vertical timeline */
@media (max-width: 640px) {
  .grid-4.process-timeline { grid-template-columns: 1fr !important; gap: 0 !important; }
  .proc-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; text-align: left; position: relative; }
  .proc-step .proc-badge { margin: 0; }
  .proc-step + .proc-step { margin-top: 16px; }
  /* vertical connector between badges */
  .proc-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -16px;
    width: 2px;
    background: var(--blue-200);
    z-index: 0;
  }
}

/* ---------- Accordion (progressive disclosure) ---------- */
.acc { border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 12px; }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--brand-strong);
}
.acc__btn:hover { background: var(--surface-soft); }
.acc__ico {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-600);
  transition: transform var(--motion-normal) var(--ease-standard), background var(--motion-normal) ease;
}
.acc[data-open="1"] .acc__ico { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
/* Panels are open by default; only collapse once JS is present, so
   the content stays fully readable if scripting is unavailable. */
.acc__panel { overflow: hidden; transition: max-height var(--motion-normal) var(--ease-standard); }
.js .acc__panel { max-height: 0; }
.acc__inner { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.65; }

/* ---------- Form field + validation states ---------- */
.field { display: block; margin-bottom: 18px; }
.field > .field-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-strong);
  margin-bottom: 7px;
}
.req { color: var(--err); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #dde4eb;
  border-radius: 11px;
  font-size: 16px;
  color: var(--brand-strong);
  background: #fbfcfd;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--err);
}
.field-error svg { flex: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--err) !important;
  background: var(--err-bg);
}
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(192, 54, 44, .14) !important;
  border-color: var(--err) !important;
}
.field.invalid .field-error { display: flex; }

/* Error summary */
.form-errsum {
  display: none;
  background: var(--err-bg);
  border: 1px solid rgba(192, 54, 44, .3);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.form-errsum.show { display: block; }
.form-errsum h4 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--err); margin: 0 0 8px;
}
.form-errsum ul { margin: 0; padding-left: 20px; }
.form-errsum a { color: var(--err); font-weight: 600; font-size: 14px; text-decoration: underline; }

/* Submit button loading state + spinner */
.btn-submit[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn-submit[aria-busy="true"] .btn-label,
.btn-submit[aria-busy="true"] .btn-ico { display: none; }
.spinner {
  display: none;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Service-preselection notice */
.preselect-note {
  display: none;
  align-items: center;
  gap: 9px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--blue-700);
  font-weight: 600;
  font-family: var(--font-display);
}
.preselect-note.show { display: flex; }

/* ---------- Mobile bottom contact bar ---------- */
.mobile-bar { display: none; }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  padding: 9px 4px calc(9px + env(safe-area-inset-bottom));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--brand-strong);
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar a svg { display: block; }
.mobile-bar a.mb-primary { background: var(--blue-600); color: #fff; }
.mobile-bar a.mb-wa { color: #128c3e; }
.mobile-bar a:active { background: var(--blue-50); }
.mobile-bar a.mb-primary:active { background: var(--blue-700); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 21px 13px 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe5b 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(15, 44, 73, 0.16);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(15, 44, 73, 0.18); }
.wa-float:active { transform: translateY(-1px); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.55); outline-offset: 3px; }
.wa-float__ico { display: flex; align-items: center; justify-content: center; flex: none; }
.wa-float__ico svg { display: block; }
.wa-float__txt { white-space: nowrap; }

/* Attention pulse — baked base shadow into keyframes so hover can override cleanly */
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.42), 0 2px 6px rgba(15,44,73,.16), 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.42), 0 2px 6px rgba(15,44,73,.16), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.42), 0 2px 6px rgba(15,44,73,.16), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: wa-pulse 2.6s ease-out infinite; }
  .wa-float:hover { animation: none; }
}

/* ---------- Responsive ---------- */
.v-burger { display: none; }
.v-drawer { display: none; }

@media (max-width: 1024px) {
  .v-navlinks { display: none !important; }
  .v-navactions { display: none !important; }
  .v-burger { display: flex !important; }
  .grid-2, .svc-row, .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .grid-3 { grid-template-columns: 1fr 1fr !important; }
  .grid-4, .trust-grid, .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .cta-pad { padding: 52px 34px !important; }
  .svc-media { height: 300px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  /* Allow grid children to shrink below content width (prevents overflow) */
  .hero-grid > * { min-width: 0; }
  .badge-float {
    position: static !important;
    inset: auto !important;
    margin: 18px 0 0 !important;
    max-width: none !important;
  }
  .imgs-2 img { margin-top: 0 !important; }
  .trust-grid > div { border-right: none !important; }
  .process-timeline::before { display: none !important; }
}

@media (max-width: 640px) {
  .grid-3, .footer-grid, .reasons-grid, .contact-cards, .info-row { grid-template-columns: 1fr !important; }
  .form-2 { grid-template-columns: 1fr !important; }
  .cta-pad { padding: 40px 22px !important; border-radius: 20px !important; }
  .form-pad { padding: 26px 20px !important; }
  .hero-pad { padding: 52px 20px 60px !important; }
  .subhero-pad { padding: 52px 20px !important; }
  .hero-min { min-height: 0 !important; }
  /* Keep the hero headline comfortably inside narrow screens */
  .hero-min h1 { font-size: clamp(27px, 7.6vw, 40px) !important; overflow-wrap: break-word; }
  .subhero-pad h1 { overflow-wrap: break-word; }
  .trust-pad { padding: 28px 18px !important; gap: 24px 12px !important; }
  .sec-pad { padding-top: 54px !important; padding-bottom: 54px !important; }
  .chips-sticky { position: static !important; }
  .h-40 { font-size: 30px !important; }
  .h-42 { font-size: 31px !important; }
}

/* ---------- Floating WhatsApp: mobile handling ----------
   On phones we surface WhatsApp inside the fixed bottom
   contact bar, so hide the floating button to avoid a
   duplicate/overlapping action (per brief). */
@media (max-width: 640px) {
  .wa-float { display: none !important; }
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 22px rgba(22, 32, 74, .10);
  }
  /* Reserve space so the bar never covers page content */
  body.has-mobile-bar { padding-bottom: 68px; }
  /* Hide the bar while the mobile menu is open */
  body.nav-open .mobile-bar { display: none; }
}

/* Lock background scroll while the mobile drawer is open */
body.nav-open { overflow: hidden; }

/* ============================================================
   Mobile view refinements (handoff revision)
   Ordered after the base responsive rules so these win.
   ============================================================ */
@media (max-width: 1024px) {
  /* Nav: pull the logo left so it lines up with the page
     content beneath it (the logo art has built-in whitespace). */
  .v-logo { margin-left: -38px; }

  /* Three-tile groups: first two share a row, the third sits
     centred on its own row below them. */
  .grid-3.tri-2up { grid-template-columns: 1fr 1fr !important; gap: 22px !important; }
  .grid-3.tri-2up > :nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }

  /* Meet the team: keep two columns on tablets so the cards
     stay equal height automatically. */
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 22px !important; }
}

@media (max-width: 640px) {
  /* Nav logo alignment on phones */
  .v-logo { margin-left: -40px; }

  /* Trust bar under the hero — smaller, lighter figures */
  .trust-num { font-size: 21px !important; font-weight: 700 !important; }

  /* Home service tiles — roughly 20% shorter via tighter content */
  .h-card > div:first-child { height: 128px !important; }
  .h-card > div:last-child { padding: 20px 20px 22px !important; }
  .h-card h3 { font-size: 19.5px !important; margin-bottom: 8px !important; }
  .h-card p { font-size: 14.5px !important; line-height: 1.55 !important; margin-bottom: 14px !important; }

  /* How it works — about 10% smaller type */
  .home-process h2 { font-size: 30px !important; }
  .home-process .proc-num { font-size: 39px !important; }
  .home-process h3 { font-size: 21px !important; }
  .home-process p { font-size: 13px !important; }

  /* Three-tile groups: tighten the gap and content for the
     narrower two-up cells. */
  .grid-3.tri-2up { gap: 14px !important; }
  .grid-3.tri-2up > :nth-child(3) { width: calc(50% - 7px); }
  .grid-3.tri-2up > div { padding: 22px 18px !important; }
  .grid-3.tri-2up h3 { font-size: 17px !important; margin-bottom: 8px !important; }
  .grid-3.tri-2up p { font-size: 13.5px !important; line-height: 1.5 !important; }
  .grid-3.tri-2up > div > :first-child {
    width: 44px !important; height: 44px !important; margin-bottom: 14px !important;
  }

  /* Meet the team — single column, equal-height cards */
  .team-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .team-card { min-height: 320px !important; padding: 26px 24px !important; }
  .team-photo { width: 78px !important; height: 78px !important; }
  .team-name { font-size: 18px !important; }
  .team-role { font-size: 13px !important; }
  .team-card p { font-size: 14.5px !important; line-height: 1.6 !important; }
}

/* ============================================================
   Reduced motion — respect the user's system preference.
   Keep essential content visible; disable non-essential motion.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .js [data-reveal],
  .js [data-stagger] > *,
  .vreveal {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Disable the cross-document page-transition animation */
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
