/* ==========================================================================
   High Risk Pregnancy Center of Arizona
   Design system + site styles
   --------------------------------------------------------------------------
   Contents
     01. Tokens
     02. Reset & base
     03. Typography
     04. Layout primitives
     05. Buttons & links
     06. Topbar / header / navigation
     07. Hero
     08. Sections & decorative motifs
     09. Cards (service, team, location, post, value)
     10. Lists, steps, stats
     11. Accordion / FAQ
     12. Forms
     13. Callout bands & CTA
     14. Footer
     15. Utilities
     16. Motion & reveal
     17. Responsive
   ========================================================================== */


/* 01. Tokens ============================================================== */

:root {
  /* Brand palette — warm, reassuring, clinically credible */
  --ivory:        #FCFAF6;
  --ivory-deep:   #F7F1E9;
  --cream:        #F3EAE0;

  --plum-900:     #2C1A29;
  --plum-800:     #3B2338;
  --plum-700:     #4E2E48;
  --plum-600:     #653C5C;
  --plum-400:     #8C6683;

  --blush-50:     #FDF4F1;
  --blush-100:    #FAE9E3;
  --blush-200:    #F3D6CC;
  --blush-400:    #E0AC9C;
  --blush-600:    #C4806D;

  --sage-50:      #F0F4EF;
  --sage-100:     #E2EAE1;
  --sage-300:     #B5C7B6;
  --sage-500:     #849D86;
  --sage-700:     #57715A;

  --gold:         #B08843;

  /* Semantic */
  --bg:           var(--ivory);
  --bg-alt:       var(--ivory-deep);
  --surface:      #FFFFFF;
  --ink:          #2A2126;
  --ink-soft:     #5C5158;
  --ink-muted:    #7C7178;
  --brand:        var(--plum-700);
  --brand-deep:   var(--plum-900);
  --accent:       var(--blush-400);
  --accent-soft:  var(--blush-100);
  --line:         rgba(44, 26, 41, 0.12);
  --line-soft:    rgba(44, 26, 41, 0.07);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.19vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.33vw, 1.38rem);
  --step-2:  clamp(1.41rem, 1.29rem + 0.58vw, 1.75rem);
  --step-3:  clamp(1.67rem, 1.47rem + 0.96vw, 2.22rem);
  --step-4:  clamp(1.98rem, 1.67rem + 1.51vw, 2.81rem);
  --step-5:  clamp(2.35rem, 1.87rem + 2.30vw, 3.58rem);
  --step-6:  clamp(2.79rem, 2.06rem + 3.44vw, 4.55rem);

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs:  0.625rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2.25rem;
  --space-xl:  3.5rem;
  --space-2xl: 5rem;
  --section-y: clamp(3.5rem, 2.4rem + 5vw, 7rem);

  /* Form */
  --radius-xs: 6px;
  --radius-s:  10px;
  --radius-m:  16px;
  --radius-l:  24px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(44, 26, 41, 0.05);
  --shadow-s:  0 2px 8px rgba(44, 26, 41, 0.06);
  --shadow-m:  0 10px 30px -12px rgba(44, 26, 41, 0.18);
  --shadow-l:  0 26px 60px -28px rgba(44, 26, 41, 0.30);

  --container: 1200px;
  --container-narrow: 880px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}


/* 02. Reset & base ======================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: var(--space-l) 0;
}

::selection { background: var(--blush-200); color: var(--plum-900); }

:focus-visible {
  outline: 3px solid var(--plum-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  background: var(--plum-800);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }


/* 03. Typography ========================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--brand-deep);
  margin: 0 0 var(--space-s);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-s); }
p:last-child { margin-bottom: 0; }

a { color: var(--plum-700); text-underline-offset: 3px; }
a:hover { color: var(--plum-600); }

strong { font-weight: 650; color: var(--plum-900); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin: 0 0 var(--space-s);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blush-400), var(--sage-300));
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-soft);
}

.prose > * + * { margin-top: var(--space-s); }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-l); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-m); }
.prose ol { padding-left: 1.4rem; }
.prose blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem var(--space-m);
  border-left: 3px solid var(--blush-400);
  color: var(--ink-soft);
  font-style: italic;
}
.post-review { margin-top: var(--space-xs); font-size: var(--step--1); color: var(--sage-700); font-weight: 600; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin-bottom: 0.4rem; }

.text-muted { color: var(--ink-muted); }
.text-small { font-size: var(--step--1); }


/* 04. Layout primitives =================================================== */

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--cream); }
.section--plum { background: var(--plum-900); color: rgba(255,255,255,0.86); }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum .eyebrow { color: var(--blush-200); }
.section--plum .lead { color: rgba(255,255,255,0.78); }

.section-head { max-width: 62ch; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--space-m); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }


/* 05. Buttons & links ===================================================== */

.btn {
  --btn-bg: var(--plum-700);
  --btn-fg: #fff;
  --btn-bd: var(--plum-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), color 0.18s var(--ease);
  box-shadow: var(--shadow-s);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--plum-700); --btn-fg: #fff; --btn-bd: var(--plum-700); }
.btn--primary:hover { --btn-bg: var(--plum-800); }

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--plum-800);
  --btn-bd: rgba(44,26,41,0.22);
  box-shadow: none;
}
.btn--secondary:hover { --btn-bg: #fff; --btn-bd: var(--plum-700); }

.btn--sage { --btn-bg: var(--sage-700); --btn-fg: #fff; --btn-bd: var(--sage-700); }
.btn--sage:hover { --btn-bg: #4b6650; }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,0.4);
  box-shadow: none;
}
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,0.12); --btn-bd: rgba(255,255,255,0.75); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--plum-800); --btn-bd: #fff; }

.btn--sm { padding: 0.6rem 1.15rem; font-size: var(--step--1); }
.btn--lg { padding: 1rem 2rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-m);
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  color: var(--plum-700);
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }


/* 06. Topbar / header / navigation ======================================== */

.topbar {
  background: var(--plum-900);
  color: rgba(255,255,255,0.82);
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,0.86); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.42rem; }
.topbar__item svg { opacity: 0.7; flex: none; }
.topbar__portal {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.topbar__portal:hover { background: rgba(255,255,255,0.1); text-decoration: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 246, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-m); background: rgba(252, 250, 246, 0.96); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--plum-900);
  flex: none;
}
/* Traced vector mark from the practice artwork. Header uses the standard
   colourway, footer the reversed one (lighter greys for the dark ground). */
.brand__mark { flex: none; width: auto; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
/* Lockup: "HRPCAZ" leads, full practice name supports it */
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.038em;
  text-transform: uppercase;
  color: var(--plum-400);
  font-weight: 600;
  white-space: nowrap;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: block;
  padding: 0.55rem 0.72rem;
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav__link:hover { color: var(--plum-800); background: rgba(44,26,41,0.05); }
.nav__link[aria-current="page"] {
  color: var(--plum-800);
  font-weight: 650;
  background: var(--blush-50);
}

.header__cta { flex: none; }

/* In-drawer CTA — only surfaces once the desktop header CTA is hidden */
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  flex: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--plum-800);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 41, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
  z-index: 98;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }


/* 07. Hero ================================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--blush-100) 0%, rgba(250,233,227,0) 62%),
    radial-gradient(820px 540px at 4% 108%, var(--sage-50) 0%, rgba(240,244,239,0) 60%),
    var(--ivory);
  padding-block: clamp(3.25rem, 2rem + 6vw, 6.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.hero__title { font-size: var(--step-6); margin-bottom: var(--space-m); }
.hero__title em {
  font-style: italic;
  color: var(--plum-600);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero__text { font-size: var(--step-1); color: var(--ink-soft); max-width: 54ch; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-m);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--plum-700);
  box-shadow: var(--shadow-xs);
}
.badge svg { color: var(--sage-700); flex: none; }

/* Hero visual — layered SVG/gradient composition (swap for photography) */
.hero__visual { position: relative; }
.hero__figure {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 260px 260px var(--radius-l) var(--radius-l);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--blush-100) 0%, var(--cream) 45%, var(--sage-100) 100%);
  box-shadow: var(--shadow-l);
  border: 1px solid rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 320px at 70% 20%, rgba(255,255,255,0.75), transparent 65%),
    radial-gradient(300px 260px at 20% 80%, rgba(224,172,156,0.35), transparent 70%);
}
.hero__figure svg { position: relative; z-index: 1; width: 62%; opacity: 0.95; }

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  backdrop-filter: blur(6px);
}
.hero__chip strong { display: block; font-size: 0.95rem; line-height: 1.25; }
.hero__chip span { font-size: 0.78rem; color: var(--ink-muted); }
.hero__chip--a { left: -6%; bottom: 16%; }
.hero__chip--b { right: -4%; top: 12%; }
.hero__chip-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--plum-700);
  flex: none;
}
.hero__chip--b .hero__chip-icon { background: var(--sage-100); color: var(--sage-700); }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4.5vw, 5.5rem);
  background:
    radial-gradient(900px 480px at 85% 0%, var(--blush-100) 0%, rgba(250,233,227,0) 60%),
    radial-gradient(700px 460px at 0% 100%, var(--sage-50) 0%, rgba(240,244,239,0) 62%),
    var(--ivory-deep);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { max-width: 68ch; }
.page-hero h1 { margin-bottom: var(--space-s); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 var(--space-m);
  padding: 0;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--plum-700); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }


/* 08. Sections & decorative motifs ======================================== */

.trust-strip {
  background: var(--plum-900);
  color: rgba(255,255,255,0.9);
  padding-block: 1.15rem;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 550;
  letter-spacing: 0.01em;
}
.trust-strip__item svg { color: var(--blush-200); flex: none; }
a.trust-strip__item { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 3px; }
a.trust-strip__item:hover { color: #fff; text-decoration-color: currentColor; }

.figure-panel {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(150deg, var(--sage-100), var(--cream) 55%, var(--blush-100));
  box-shadow: var(--shadow-m);
  border: 1px solid rgba(255,255,255,0.6);
  display: grid;
  place-items: center;
}
.figure-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 300px at 30% 25%, rgba(255,255,255,0.7), transparent 70%);
}
.figure-panel svg { position: relative; z-index: 1; width: 55%; }
.figure-panel--tall { aspect-ratio: 4 / 5; }

.figure-note {
  position: absolute;
  left: 6%;
  bottom: 6%;
  z-index: 2;
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius-m);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-m);
  font-size: var(--step--1);
  max-width: 76%;
}
.figure-note strong { display: block; color: var(--plum-800); }

/* Photographic variant — drops the decorative wash so the image reads true */
.figure-panel--photo { background: var(--cream); }
.figure-panel--photo::after { content: none; }
.figure-panel--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}


/* 09. Cards =============================================================== */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: var(--space-l);
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--blush-200); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-s);
  border-radius: 18px;
  background: var(--blush-100);
  color: var(--plum-700);
}
.card__icon--sage { background: var(--sage-100); color: var(--sage-700); }
.card__icon--cream { background: var(--cream); color: var(--gold); }

.card--link { display: flex; flex-direction: column; }
.card--link .link-arrow { margin-top: auto; padding-top: var(--space-s); }

/* Office matched from a scanned QR's ?office= parameter */
.card.is-highlighted {
  border-color: var(--plum-600);
  box-shadow: 0 0 0 4px rgba(101, 60, 92, 0.14), var(--shadow-m);
}

.card--flat { box-shadow: none; background: transparent; border-color: var(--line); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-s); background: var(--surface); }

/* Service card with numbered index */
.service-card__num {
  position: absolute;
  top: var(--space-m);
  right: var(--space-m);
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--blush-200);
  line-height: 1;
}

/* Team card */
.team-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
  display: flex;
  flex-direction: column;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.team-card__photo {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, var(--blush-100), var(--cream) 60%, var(--sage-100));
  position: relative;
}
.team-card:nth-child(even) .team-card__photo {
  background: linear-gradient(155deg, var(--sage-100), var(--cream) 60%, var(--blush-100));
}
.team-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__initials {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  font-weight: 600;
  color: var(--plum-700);
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.team-card__body { padding: var(--space-m); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.team-card__name { font-size: var(--step-1); margin: 0; }
.team-card__role {
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.team-card__bio { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.3rem; }

/* Location card */
.location-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.location-card__map {
  height: 150px;
  position: relative;
  background:
    linear-gradient(115deg, var(--sage-100) 0%, var(--cream) 100%);
  overflow: hidden;
}
.location-card__map::before,
.location-card__map::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.75);
}
.location-card__map::before { inset: 0 auto 0 32%; width: 14px; transform: skewX(-14deg); }
.location-card__map::after  { inset: 46% 0 auto 0; height: 12px; }
.location-card__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  z-index: 2;
  color: var(--plum-700);
  filter: drop-shadow(0 6px 10px rgba(44,26,41,0.25));
}
.location-card__body { padding: var(--space-m); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.location-card__name { font-size: var(--step-1); margin: 0; }
.location-card__addr { font-style: normal; color: var(--ink-soft); font-size: 0.95rem; }
.location-card__links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: var(--space-s); }

/* Post card */
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
  text-decoration: none;
  color: inherit;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); color: inherit; }
.post-card__thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--blush-100), var(--cream) 60%, var(--sage-100));
}
.post-card__thumb svg { width: 34%; opacity: 0.8; }
.post-card__body { padding: var(--space-m); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.post-card__meta span + span::before { content: "•"; margin-right: 0.5rem; opacity: 0.6; }
.post-card__title { font-size: var(--step-2); margin: 0; }
.post-card__excerpt { color: var(--ink-soft); font-size: 0.96rem; }

/* Value / feature list card */
.value-card {
  display: flex;
  gap: var(--space-s);
  align-items: flex-start;
  padding: var(--space-m);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
}
.value-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--blush-100);
  color: var(--plum-700);
}
.value-card h4 { margin-bottom: 0.25rem; }
.value-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Quote / review card */
.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: var(--space-l);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.quote-card__stars { display: flex; gap: 3px; color: var(--gold); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--plum-800);
}
.quote-card__author { margin-top: auto; font-size: var(--step--1); color: var(--ink-muted); font-weight: 600; }
.quote-card--placeholder { border-style: dashed; border-color: var(--blush-200); background: var(--blush-50); }

/* Google review attribution — author, when, which office, link back to Google.
   Google's terms require the reviewer's name and a route back to the review. */
.review__foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: var(--space-s);
  border-top: 1px solid var(--line-soft);
}
.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--plum-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.review__meta { min-width: 0; }
.review__author {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--plum-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review__sub { font-size: 0.79rem; color: var(--ink-muted); }
.review__link {
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.18s var(--ease);
}
.review__link:hover { background: var(--bg-alt); }
.review__g { display: block; }

/* Long reviews stay readable without stretching the grid row */
.quote-card blockquote {
  display: -webkit-box;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single review — centred and given room rather than stranded in a grid */
.review-solo { max-width: 720px; margin-inline: auto; }
.review-solo .quote-card { padding: var(--space-xl); }
.review-solo blockquote { font-size: var(--step-2); line-height: 1.5; }

.review-sources { margin-top: var(--space-xl); text-align: center; }
.review-sources .text-small { max-width: 62ch; margin-inline: auto; }
.review-sources .btn-row { justify-content: center; }


/* 10. Lists, steps, stats ================================================= */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357715A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.65rem var(--space-m); }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 0; padding: 0; }
.pill-list li {
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 550;
  color: var(--plum-800);
  box-shadow: var(--shadow-xs);
}

.steps { counter-reset: step; display: grid; gap: var(--space-m); }
.step {
  position: relative;
  padding-left: 4.25rem;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--plum-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-s);
}
.step::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 58px;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(var(--blush-200), rgba(243,214,204,0));
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); }
.stat { text-align: center; padding: var(--space-m) var(--space-s); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  color: var(--plum-700);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.section--plum .stat__num { color: var(--blush-200); }
.stat__label { font-size: var(--step--1); color: var(--ink-muted); letter-spacing: 0.03em; }
.section--plum .stat__label { color: rgba(255,255,255,0.7); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-m); }
.info-block { padding: var(--space-m); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-m); }
.info-block h4 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 0.4rem; }
.info-block p, .info-block address { font-size: 0.95rem; color: var(--ink-soft); font-style: normal; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.hours-table th { font-weight: 600; color: var(--plum-800); }
.hours-table td { color: var(--ink-soft); text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }


/* 11. Accordion / FAQ ===================================================== */

.accordion { display: grid; gap: 0.75rem; }
.acc-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.acc-item.is-open { border-color: var(--blush-200); box-shadow: var(--shadow-s); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: 1.15rem var(--space-m);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--plum-900);
  line-height: 1.3;
}
.acc-trigger:hover { background: var(--blush-50); }
.acc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--plum-700);
  transition: transform 0.28s var(--ease), background-color 0.2s var(--ease);
}
.acc-item.is-open .acc-icon { transform: rotate(180deg); background: var(--plum-700); color: #fff; }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { overflow: hidden; }
.acc-panel__inner > div { padding: 0 var(--space-m) var(--space-m); color: var(--ink-soft); }


/* 12. Forms =============================================================== */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-m);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-s) var(--space-m); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.label { font-size: 0.9rem; font-weight: 650; color: var(--plum-800); }
.label .req { color: var(--blush-600); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #A79CA2; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(44,26,41,0.24); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--plum-600);
  box-shadow: 0 0 0 4px rgba(101, 60, 92, 0.13);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E2E48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 17px;
  padding-right: 2.6rem;
}
.field-hint { font-size: 0.82rem; color: var(--ink-muted); }
/* Spam trap: off-screen, never seen by people. */
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { font-size: 0.82rem; color: #A4443A; font-weight: 600; display: none; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #C4645A; background: #FDF5F4; }
.field.has-error .field-error { display: block; }

.checkbox { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.checkbox input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--plum-700); flex: none; }

.form-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: var(--space-s);
  background: var(--blush-50);
  border: 1px solid var(--blush-200);
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.form-note svg { flex: none; color: var(--blush-600); margin-top: 2px; }

.form-status {
  display: none;
  margin-top: var(--space-s);
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.95rem;
}
.form-status.is-success { display: block; background: var(--sage-50); border: 1px solid var(--sage-300); color: var(--sage-700); }
.form-status.is-error { display: block; background: #FDF3F2; border: 1px solid #E5B7B1; color: #A4443A; }
/* Nothing went wrong and nothing succeeded — the form simply has no back end
   yet, so it gets its own tone rather than a misleading green or an alarming red. */
.form-status.is-notice { display: block; background: var(--blush-50); border: 1px solid var(--blush-200); color: var(--plum-700); }
.form-status.is-notice a { color: inherit; font-weight: 700; }


/* 13. Callout bands & CTA ================================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 55%, #3A2136 100%);
  color: #fff;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before {
  width: 460px; height: 460px;
  right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(224,172,156,0.30), transparent 65%);
}
.cta-band::after {
  width: 420px; height: 420px;
  left: -140px; bottom: -200px;
  background: radial-gradient(circle, rgba(132,157,134,0.28), transparent 65%);
}
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: var(--step-1); }

.notice {
  display: flex;
  gap: var(--space-s);
  align-items: flex-start;
  padding: var(--space-m);
  border-radius: var(--radius-m);
  background: var(--blush-50);
  border: 1px solid var(--blush-200);
}
.notice__icon { flex: none; color: var(--blush-600); }
.notice h4 { margin-bottom: 0.25rem; }
.notice p { font-size: 0.95rem; color: var(--ink-soft); }
.notice--sage { background: var(--sage-50); border-color: var(--sage-300); }
.notice--sage .notice__icon { color: var(--sage-700); }
.notice--urgent { background: #FDF3F2; border-color: #E5B7B1; }
.notice--urgent .notice__icon { color: #A4443A; }


/* 14. Footer ============================================================== */

.site-footer {
  background: var(--plum-900);
  color: rgba(255,255,255,0.72);
  padding-top: var(--space-2xl);
  font-size: 0.95rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-s);
}
.site-footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--space-xl) var(--space-l);
  padding-bottom: var(--space-xl);
}
.footer__brand .brand { color: #fff; margin-bottom: var(--space-s); }
.footer__brand .brand__sub { color: var(--blush-200); }
.footer__tagline { max-width: 34ch; line-height: 1.6; }

.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }

.footer__loc { margin-bottom: var(--space-m); }
.footer__loc strong { display: block; color: #fff; font-size: 0.93rem; margin-bottom: 0.15rem; }
.footer__loc address { font-style: normal; line-height: 1.5; }

.footer__contact { display: grid; gap: 0.6rem; }
.footer__contact-item { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact-item svg { flex: none; margin-top: 3px; opacity: 0.6; }

.footer__emergency {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: var(--space-s) var(--space-m);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-m);
  background: rgba(255,255,255,0.04);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: var(--space-l);
}
.footer__emergency svg { flex: none; color: var(--blush-200); margin-top: 2px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem var(--space-m);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-m);
  border-top: 1px solid rgba(255,255,255,0.13);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-m); list-style: none; margin: 0; padding: 0; }


/* 15. Utilities =========================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: var(--space-s); }
.mt-m { margin-top: var(--space-m); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-m { margin-bottom: var(--space-m); }
.mb-l { margin-bottom: var(--space-l); }
.max-60 { max-width: 60ch; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }


/* 16. Motion & reveal ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.hero__chip { animation: float-soft 7s ease-in-out infinite; }
.hero__chip--b { animation-duration: 8.5s; animation-delay: -2s; }

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


/* 17. Responsive ========================================================== */

/* Tight band: nav is still horizontal but space is scarce, so the header
   lockup drops to the "HRPCAZ" line alone. It returns once nav collapses. */
@media (max-width: 1140px) and (min-width: 941px) {
  .site-header .brand__sub { display: none; }
}

@media (max-width: 1080px) {
  .nav__link { padding: 0.55rem 0.55rem; font-size: 0.9rem; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    width: min(340px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: calc(var(--space-xl) + 12px) var(--space-m) var(--space-l);
    background: var(--ivory);
    border-left: 1px solid var(--line-soft);
    box-shadow: -20px 0 50px -30px rgba(44,26,41,0.5);
    transform: translateX(102%);
    transition: transform 0.32s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link {
    padding: 0.85rem 0.9rem;
    font-size: 1.05rem;
    border-radius: var(--radius-s);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__cta { margin-top: var(--space-m); display: block; }
  .nav__cta .btn { width: 100%; }

  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__visual { max-width: 460px; margin-inline: auto; }
  .hero__chip--a { left: 0; }
  .hero__chip--b { right: 0; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .topbar__group--secondary { display: none; }
  .topbar__inner { justify-content: center; gap: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .check-list--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-l); }
  .trust-strip__inner { justify-content: flex-start; gap: 0.75rem 1.5rem; }
  .hero__figure { border-radius: 200px 200px var(--radius-l) var(--radius-l); }
  .brand__mark { height: 34px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero__chip { display: none; }
  .topbar__item--fax { display: none; }
}

@media print {
  .topbar, .site-header, .nav, .cta-band, .site-footer, .btn { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------- Office move announcement --
   Built by initMoveNotice() in site.js; shown once per visitor. */
.move-notice {
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-l);
  overflow: auto;
}
.move-notice::backdrop { background: rgba(44, 26, 41, 0.55); }
.move-notice[open] { animation: move-notice-in 0.35s var(--ease); }
@keyframes move-notice-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .move-notice[open] { animation: none; } }
.move-notice__body { position: relative; padding: clamp(1.5rem, 5vw, 2.25rem); }
.move-notice__close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-soft);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.move-notice__close:hover { background: var(--blush-50); color: var(--ink); }
.move-notice__title { font-size: var(--step-3); margin: 0.35rem 0 var(--space-s); padding-right: 2rem; }
.move-notice__office {
  padding: var(--space-s) 1.15rem;
  border-radius: var(--radius-m);
  background: var(--blush-50);
  border: 1px solid var(--blush-200);
}
.move-notice__office strong { display: block; font-size: var(--step-1); color: var(--plum-800); }
.move-notice__office address { font-style: normal; color: var(--ink); margin-top: 0.15rem; }
.move-notice__tag {
  display: inline-block; margin-bottom: 0.35rem;
  padding: 0.15rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--plum-700); color: #fff;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.move-notice__same { margin: var(--space-m) 0 0.4rem; }
.move-notice__list { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: var(--step--1); }
.move-notice__list li + li { margin-top: 0.3rem; }
.move-notice__help { margin-top: var(--space-s); font-size: var(--step--1); color: var(--ink-soft); }
.move-notice .btn-row { margin-top: var(--space-m); }
@media print { .move-notice { display: none !important; } }
