/* ==========================================================================
   Marvallous Home Care — site stylesheet
   Tokens taken from the design handoff. Mobile-first; fluid rather than
   breakpoint-driven, with one real breakpoint at 900px for the nav.
   ========================================================================== */

/* ---------- Fonts (self-hosted, zero third-party requests) ---------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --plum:        #3E1D5C;
  --plum-hover:  #52277A;
  --purple:      #6B3FA0;
  --purple-lt:   #7E4FB8;
  --lav-surface: #F4EFFA;
  --lav-border:  #E9D5FF;
  --lav-on-plum: #D8C8F7;
  --lav-pale:    #EFE6FB;
  --dot:         #C4B5FD;
  --ink:         #0F172A;
  --body:        #475569;
  --footer-text: #CBD5E1;
  --hairline:    #E5E7EB;
  --hairline-ft: #F1F2F4;
  --offwhite:    #F8F9FB;
  --white:       #FFFFFF;
  --error:       #B91C1C;
  --ok-bg:       #F0FDF4;
  --ok-border:   #BBF7D0;
  --ok-text:     #14532D;
  --live:        #16A34A;
  --live-plum:   #4ADE80;

  --sans:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw:   1320px;
  --section: clamp(56px, 8vw, 96px);

  --shadow-float: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-cap:   0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-tab:   0 2px 8px rgba(15, 23, 42, 0.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The UA rule [hidden]{display:none} loses to any class or inline `display`,
   which silently broke every tab panel. Force it. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;            /* belt-and-braces against horizontal scroll */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--lav-border); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 980px; }
.wrap--prose  { max-width: 760px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--lav  { background: var(--lav-surface); }
.section--plum { background: var(--plum); color: var(--white); position: relative; overflow: hidden; }
.section--plum h2, .section--plum h3 { color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[id] { scroll-margin-top: 24px; }

/* Decorative circles on plum sections */
.blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); pointer-events: none; }
.blob--tr { right: -120px; top: -120px; width: 360px; height: 360px; }
.blob--bl { left: -80px; bottom: -120px; width: 280px; height: 280px; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--purple);
  margin: 0 0 14px;
}
.section--plum .eyebrow, .eyebrow--onplum { color: var(--lav-on-plum); }
.h1 { font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.h2--std { font-size: clamp(29px, 4.4vw, 52px); line-height: 1.05; }
.h2--min { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.h3--lg  { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.h3 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--body); }
.accent { color: var(--plum); }
.section--plum .accent { color: var(--lav-on-plum); }
.muted { color: var(--body); }
.section--plum .muted, .muted--onplum { color: var(--lav-pale); }

/* Long single words in huge headings must not overflow a 320px phone */
.h1, .h2, .h2--std, .h2--min, .h3--lg { overflow-wrap: break-word; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 15px; font-weight: 600;
  padding: 14px 26px; min-height: 48px; border-radius: 999px; border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  text-align: center;
}
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-hover); color: var(--white); }
.btn--ghost { border-color: var(--hairline); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--purple); color: var(--plum); }
.btn--white { background: var(--white); color: var(--plum); }
.btn--white:hover { background: var(--lav-pale); color: var(--plum); }
.btn--outline-white { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--outline-white:hover { background: rgba(255,255,255,.14); color: var(--white); }
.btn--sm { font-size: 14px; padding: 12px 22px; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--plum); color: var(--white); padding: 12px 20px;
  font-family: var(--display); font-size: 14px; font-weight: 600; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: var(--white); }

.topbar { background: var(--plum); color: var(--lav-pale); font-size: 13px; font-weight: 500; }
.topbar__in {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 16px; padding-block: 10px; text-align: center;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--lav-on-plum); }
.topbar .sep { opacity: .4; }
.topbar .accent-txt { color: var(--lav-on-plum); }

.site-header {
  background: var(--white); border-bottom: 1px solid var(--hairline-ft);
  position: sticky; top: 0; z-index: 40;
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 12px;
}
/* The handoff set this to 128px, which crowded the nav off the row on every
   subpage. Capped so the header bar stays ~80px tall at desktop. */
.brand img { height: clamp(44px, 6vw, 64px); width: auto; }

.nav-desktop { display: none; }
@media (min-width: 901px) {
  .nav-desktop {
    display: flex; align-items: center; gap: clamp(14px, 1.8vw, 32px);
    font-family: var(--display); font-size: 14px; font-weight: 600; white-space: nowrap;
  }
  .nav-toggle, .nav-callbtn { display: none; }
}
.nav-desktop a[aria-current="page"] { color: var(--plum); }

.nav-mobile-bar { display: flex; align-items: center; gap: 8px; }
@media (min-width: 901px) { .nav-mobile-bar { display: none; } }
.nav-callbtn, .nav-toggle {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--white); display: inline-flex; align-items: center; justify-content: center;
  color: var(--plum);
}
.nav-toggle { border-radius: 12px; color: var(--ink); }

.nav-panel {
  display: none; border-top: 1px solid var(--hairline-ft); background: var(--white);
  padding: 8px var(--gutter) 24px;
  font-family: var(--display); font-size: 16px; font-weight: 600;
}
.nav-panel[data-open="true"] { display: block; }
@media (min-width: 901px) { .nav-panel { display: none !important; } }
.nav-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 10px 0;
  border-bottom: 1px solid var(--offwhite);
}
.nav-panel .btn { margin-top: 14px; width: 100%; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: flex-start; }
.hero__copy  { flex: 1 1 380px; min-width: 0; }
.hero__media { flex: 1.35 1 380px; min-width: 0; }
.hero--text-lead .hero__copy { flex: 1.1 1 380px; }
.hero--text-lead .hero__media { flex: 1 1 320px; }

.framed {
  position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--lav-surface) 0%, var(--lav-border) 100%);
}
.framed > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio-5-4 { aspect-ratio: 5 / 4; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-10 { aspect-ratio: 16 / 10; }

/* Floating caption card over a photo. On phones it sits below the photo
   instead of overlapping it, so it never covers the subject. */
.floatcard {
  background: var(--white); border: 1px solid var(--hairline-ft);
  padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: 14px; margin-top: 14px;
}
.floatcard__icon {
  width: 44px; height: 44px; background: var(--lav-surface); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.floatcard__t { font-family: var(--display); font-size: 14px; font-weight: 700; line-height: 1.2; }
.floatcard__s { font-size: 12.5px; color: var(--body); margin-top: 4px; }
@media (min-width: 720px) {
  .hero__media { position: relative; }
  .hero__media .floatcard {
    position: absolute; left: 16px; right: auto; bottom: 16px;
    max-width: 310px; margin-top: 0;
  }
}

/* ---------- Trust row ---------- */
.trustrow {
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--hairline-ft); margin-top: 28px;
}
.trustrow__n { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--plum); line-height: 1; }
.trustrow__l { font-size: 13px; color: var(--body); margin-top: 4px; }
.trustrow .rule { width: 1px; height: 36px; background: var(--hairline); }
@media (max-width: 520px) { .trustrow .rule { display: none; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.grid--svc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.grid--4   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.grid--5   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.grid--tile{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.grid--cty { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 14px; }
.grid--cond{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.split {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: center;
}
.split--top { align-items: start; }

/* Section head: title left, supporting paragraph right */
.sechead {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px);
}
.sechead__main { max-width: 760px; flex: 1 1 400px; }
.sechead__aside { max-width: 360px; flex: 1 1 260px; font-size: 16px; line-height: 1.55; color: var(--body); }
.sechead--center { display: block; text-align: center; max-width: 780px; margin-inline: auto; }

/* ---------- Cards ---------- */
.card { border-radius: 20px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.card--outline { border: 1px solid var(--hairline); background: var(--white); }
.card--lav     { background: var(--lav-surface); border: 1px solid var(--lav-border); }
.card--plum    { background: var(--plum); color: var(--white); position: relative; overflow: hidden; }
.card--plum p, .card--plum li { color: var(--lav-pale); }
.card--white   { background: var(--white); }
.card--lg { border-radius: 24px; padding: clamp(26px, 4vw, 44px); }
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.card__meta { font-size: 13px; color: var(--body); line-height: 1.7; margin-top: auto; padding-top: 16px; }
.card__icon { margin-bottom: 20px; }
.card > * + * { margin-top: 10px; }
.card > .card__icon + * { margin-top: 0; }

/* Service card bullet lists */
.bullets { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px 24px; }
.bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bullets .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--purple); flex-shrink: 0; }
.card--plum .bullets .dot { background: var(--dot); }
.card--plum .bullets li { color: var(--white); }

/* Stat cards */
.stat { background: var(--white); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; }
.stat__n { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); line-height: 1; color: var(--plum); letter-spacing: -.04em; }
.stat__n small { font-size: .42em; color: var(--purple); font-weight: 600; margin-left: 4px; }
.stat__rule { width: 36px; height: 3px; background: var(--lav-border); border-radius: 999px; margin: 16px 0 18px; }
.stat__t { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.stat__d { font-size: 14px; line-height: 1.55; color: var(--body); }

/* Numbered step cards */
.step { border-radius: 20px; padding: clamp(26px, 3vw, 34px); position: relative; }
.step--outline { border: 1px solid var(--hairline); }
.step--lav { background: var(--lav-surface); }
.step--plum { background: var(--plum); color: var(--white); }
.step--plum .step__d { color: rgba(255,255,255,.85); }
.step__tag {
  position: absolute; top: -13px; left: 22px; background: var(--plum); color: var(--white);
  padding: 4px 12px; font-family: var(--display); font-size: 12px; font-weight: 700; border-radius: 999px;
}
.step--plum .step__tag { background: var(--white); color: var(--plum); }
.step__n { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--purple); margin: 10px 0 16px; }
.step--plum .step__n { color: var(--dot); }
.step__t { font-family: var(--display); font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 10px; }
.step__d { font-size: 14px; line-height: 1.6; color: var(--body); }
.steps-grid { display: grid; gap: 24px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* Condition tiles */
.cond {
  background: var(--white); padding: 24px; border-radius: 18px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid transparent; transition: transform 180ms ease, box-shadow 180ms ease;
}
.cond__top { display: flex; align-items: center; justify-content: space-between; }
.cond__icon { width: 40px; height: 40px; background: var(--lav-surface); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.cond__t { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.cond__d { font-size: 13.5px; color: var(--body); line-height: 1.5; }

/* Credential strip */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px 24px; padding-top: 24px; border-top: 1px solid var(--hairline-ft); margin-top: clamp(32px, 4vw, 48px); }
.cred { display: flex; align-items: flex-start; gap: 12px; }
.cred__t { font-family: var(--display); font-size: 13px; font-weight: 700; }
.cred__d { font-size: 12px; color: var(--body); margin-top: 2px; }

/* Value cards (About) */
.value__letter {
  width: 52px; height: 52px; background: var(--white); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--plum); letter-spacing: -.02em;
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
}
.pill--lav { background: var(--lav-surface); color: var(--plum); }
.pill--white { background: var(--white); color: var(--plum); }
.pill--glass { background: rgba(255,255,255,.14); color: var(--lav-pale); border: 1px solid rgba(255,255,255,.18); }
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--purple); }
.pill--glass .dot { background: var(--live-plum); }
.chip { background: var(--lav-surface); color: var(--plum); padding: 7px 14px; border-radius: 999px; font-family: var(--display); font-size: 13px; font-weight: 600; }

/* Counties panel on plum */
.glasspanel { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.county { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 10px; }
.county .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--dot); flex-shrink: 0; }

/* Two-column service list */
.listgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px 32px; font-size: 14.5px; }
.listgrid li { display: flex; align-items: center; gap: 10px; list-style: none; }
.listgrid .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--purple); flex-shrink: 0; }

/* ---------- Tabs ---------- */
.tabstrip { display: inline-flex; background: var(--lav-surface); padding: 6px; border-radius: 999px; gap: 4px; max-width: 100%; flex-wrap: wrap; justify-content: center; }
.tabstrip--white { background: var(--white); }
.tab {
  background: transparent; color: var(--body); border: 0; padding: 12px 22px; min-height: 44px;
  font-family: var(--display); font-size: 14px; font-weight: 600; border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.tab[aria-selected="true"] { background: var(--white); color: var(--plum); box-shadow: var(--shadow-tab); }
.tabstrip--white .tab[aria-selected="true"] { background: var(--plum); color: var(--white); box-shadow: 0 2px 8px rgba(62,29,92,.18); }
[role="tabpanel"]:focus { outline: none; }

/* Scenario panel */
.scenario { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 52px); display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.factbox { background: var(--offwhite); padding: 16px 18px; border-radius: 12px; }
.factbox__k { font-family: var(--display); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--purple); font-weight: 700; margin-bottom: 6px; }
.factbox__v { font-family: var(--display); font-size: 16px; font-weight: 700; }
.week { display: grid; grid-template-columns: minmax(84px, 110px) 1fr; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline-ft); align-items: baseline; }
.week__t { font-family: var(--display); font-size: 13px; font-weight: 700; color: var(--plum); }
.week__d { font-size: 14.5px; line-height: 1.5; }
@media (max-width: 420px) { .week { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--offwhite); border-radius: 14px; padding: 4px 22px 4px; }
.faq details[open] { padding-bottom: 20px; }
.faq summary {
  font-family: var(--display); font-size: 17px; font-weight: 700; cursor: pointer;
  letter-spacing: -.015em; padding: 16px 0; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--purple); line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { font-size: 15px; color: var(--body); line-height: 1.6; margin-top: 2px; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-family: var(--display); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--error); }
.input, .select, .textarea {
  width: 100%; background: var(--offwhite); border: 1px solid var(--hairline);
  padding: 13px 14px; font-size: 16px; border-radius: 10px; min-height: 48px;
  font-family: var(--sans);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--error); }
.err { font-size: 12.5px; color: var(--error); margin-top: 5px; min-height: 0; }
.err:empty { display: none; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--body); }
.checkline input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--plum); }
.checkline a { color: var(--plum); font-weight: 600; text-decoration: underline; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0 12px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formstatus { background: var(--ok-bg); border: 1px solid var(--ok-border); border-radius: 12px; padding: 20px; font-size: 15px; line-height: 1.6; color: var(--ok-text); }
.formerror { font-size: 13.5px; line-height: 1.5; color: var(--error); }
.formerror:empty { display: none; }
button[disabled] { opacity: .65; }

/* ---------- Legal / prose pages ---------- */
.prose h2 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; margin: 40px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--body); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 10px; }
.prose ul li { list-style: disc; }
.prose a { color: var(--plum); font-weight: 600; text-decoration: underline; }
.contactcard { background: var(--lav-surface); border-radius: 18px; padding: 26px; font-size: 16px; line-height: 1.7; color: var(--ink); margin-top: 20px; }
.contactcard a { color: var(--plum); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: 60px 0 24px; }
.site-footer h2 { font-family: var(--display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); font-weight: 700; margin: 0 0 14px; }
.site-footer a:hover { color: var(--lav-on-plum); }
.footer-grid {
  display: grid; gap: 36px clamp(24px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-links { display: flex; flex-direction: column; font-size: 14px; }
.footer-links a { padding: 7px 0; min-height: 40px; display: flex; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { width: 44px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.015em; }
.footer-phone { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.015em; display: inline-block; margin-bottom: 6px; }
.footer-bottom {
  padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 8px 24px; font-size: 13px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { padding: 7px 0; min-height: 40px; display: flex; align-items: center; }
.footer-note { font-size: 12.5px; line-height: 1.6; color: #94A3B8; margin-top: 4px; max-width: 70ch; }

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: var(--stack, 16px); }
.stack-8  { --stack: 8px; }
.stack-20 { --stack: 20px; }
.stack-24 { --stack: 24px; }
.stack-28 { --stack: 28px; }
.stack-32 { --stack: 32px; }
.tc { text-align: center; }
.mt-auto { margin-top: auto; }
.arrow { flex-shrink: 0; }
.linkarrow { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--plum); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.card--plum .linkarrow { color: var(--white); }


/* ---------- Full service list band ---------- */
.servicelist {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--offwhite);
  border-radius: 24px;
}
.servicelist__head { text-align: center; max-width: 620px; margin: 0 auto clamp(24px, 3vw, 32px); }
.servicelist__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 10px clamp(20px, 3vw, 40px);
  list-style: none;
}
.servicelist__grid li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.5; padding: 7px 0;
  border-bottom: 1px solid var(--hairline-ft);
}
.servicelist__grid svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- Hero breathing room ----------
   The next section's eyebrow was peeking above the fold on a laptop. */
.hero-section { padding-block: clamp(32px, 5vw, 56px) clamp(72px, 11vw, 132px); }
