/* ==========================================================================
   PS Clinics — site stylesheet
   Colors sampled from the approved PS Clinics logo (navy #002246, red #930315)
   and the marketing brochure (navy #0F315A, burgundy #82282E).
   Fonts: Newsreader (headings) and Public Sans (text), both SIL OFL, self-hosted.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #00132a;
  --navy-900: #001a37;
  --navy-800: #002246;
  --navy-700: #0f315a;
  --navy-600: #284a72;
  --navy-400: #6b83a3;
  --navy-200: #c3cedc;
  --navy-100: #e6ecf3;
  --navy-50: #f2f5f9;

  --burgundy-800: #6c1824;
  --burgundy-700: #86202e;
  --burgundy-600: #9c2737;
  --logo-red: #930315;
  --rose-200: #f2c4ca;
  --rose-100: #f9e3e6;

  --ivory: #f7f5f0;
  --ivory-2: #efebe3;
  --line: #e4dfd5;
  --line-cool: #dde3eb;

  --ink: #14233a;
  --text: #2a3647;
  --muted: #536072;
  --white: #ffffff;

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2rem);
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgba(0, 26, 55, 0.06), 0 2px 8px rgba(0, 26, 55, 0.05);
  --shadow: 0 2px 6px rgba(0, 26, 55, 0.06), 0 14px 34px rgba(0, 26, 55, 0.09);
  --shadow-lg: 0 6px 16px rgba(0, 19, 42, 0.12), 0 30px 60px rgba(0, 19, 42, 0.18);

  --focus: var(--burgundy-700);
  --section-y: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1100px) {
  :root { --header-h: 88px; }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h3 { font-size: 1.35rem; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
abbr[title] { text-decoration: none; cursor: help; }
strong { font-weight: 650; color: var(--ink); }

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--burgundy-700); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark { --focus: #ffcf66; }
main:focus { outline: none; }

::selection { background: var(--rose-200); color: var(--navy-900); }

.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;
}

.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--navy-800);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  --focus: #ffcf66;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--burgundy-700);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--rose-200); }

.lead {
  color: var(--text);
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3rem);
  line-height: 1.6;
}

.section-title {
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
  max-width: 22ch;
}

.section-intro {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.rule {
  display: block;
  width: 56px;
  height: 3px;
  margin: 1.1rem 0 1.3rem;
  border-radius: 2px;
  background: var(--burgundy-700);
}
.rule--red { background: #c4283c; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary { background: var(--burgundy-700); color: var(--white); box-shadow: 0 6px 16px rgba(134, 32, 46, 0.22); }
.btn--primary:hover { background: var(--burgundy-800); color: var(--white); }

.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-900); color: var(--white); }

.btn--outline { border-color: var(--navy-200); background: var(--white); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--navy-800); color: var(--navy-800); }

.btn--light { background: var(--white); color: var(--navy-800); }
.btn--light:hover { background: var(--ivory); color: var(--navy-900); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn--sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-800);
  font-weight: 650;
  text-decoration: none;
}
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover { color: var(--burgundy-700); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(12px); }
}
.site-header.is-scrolled { border-color: var(--line-cool); box-shadow: 0 6px 24px rgba(0, 26, 55, 0.07); }

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

.brand { flex: none; display: block; border-radius: 6px; }
.brand__logo { width: 108px; height: auto; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.header-call { gap: 0.45rem; white-space: nowrap; }
.header-call__number { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--navy-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-800);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 620;
  cursor: pointer;
}
.nav-toggle .icon { width: 1.3em; height: 1.3em; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Mobile navigation panel */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 0.5rem var(--gutter) 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--line-cool);
  box-shadow: 0 24px 40px rgba(0, 26, 55, 0.14);
}
.site-header[data-nav-open] .site-nav { display: block; }
.site-nav__list { list-style: none; }
.site-nav__list li + li { border-top: 1px solid var(--line-cool); }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 54px;
  color: var(--navy-800);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--burgundy-700); }
.site-nav__extra { display: grid; gap: 0.6rem; margin-top: 1rem; }

/* Without JavaScript, show the menu as a simple list under the logo. */
@media (scripting: none) {
  .nav-toggle { display: none; }
  .site-header { position: static; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { display: block; position: static; width: 100%; box-shadow: none; padding: 0 0 1rem; order: 3; }
}

@media (max-width: 359px) {
  .brand__logo { width: 92px; }
  .site-header__inner { gap: 0.5rem; }
  .nav-toggle { padding-inline: 0.6rem; }
  .nav-toggle__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

@media (min-width: 420px) {
  .header-call__number { display: inline; }
  .header-call__word { display: none; }
}

@media (min-width: 1100px) {
  .brand__logo { width: 148px; }
  .site-header__inner { gap: 2rem; }
  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav__list { display: flex; align-items: center; gap: 0.25rem; }
  .site-nav__list li + li { border: 0; }
  .site-nav__link {
    position: relative;
    min-height: 44px;
    padding: 0 0.7rem;
    font-size: 0.94rem;
    font-weight: 560;
    white-space: nowrap;
    border-radius: 8px;
  }
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0.7rem; right: 0.7rem; bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--burgundy-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .site-nav__link:hover { color: var(--navy-900); }
  .site-nav__link:hover::after,
  .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__link[aria-current="page"] { color: var(--navy-900); }
  .site-nav__extra { display: none; }
  .site-header__actions { margin-left: 0.5rem; }
  .nav-toggle { display: none; }
}

@media (min-width: 1100px) and (max-width: 1240px) {
  .site-nav__link { padding: 0 0.5rem; font-size: 0.9rem; }
  .site-nav__link::after { left: 0.5rem; right: 0.5rem; }
  .header-call { padding-inline: 0.85rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.section--ivory { background: var(--ivory); }
.section--navy {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(40, 74, 114, 0.55), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--navy-100);
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .section-intro { color: var(--navy-200); }

.section-head { margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .section-intro { margin-inline: auto; }
.section-head--split { display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.25fr 1fr; gap: 3rem; }
  .section-head--split .section-intro { justify-self: end; margin-bottom: 0.4rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem);
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(195, 206, 220, 0.45), transparent 65%),
    linear-gradient(180deg, var(--ivory) 0%, #fbfaf7 100%);
}
.hero__art {
  position: absolute;
  inset: auto -5% 0 auto;
  width: min(980px, 110%);
  color: var(--navy-800);
  opacity: 0.09;
  pointer-events: none;
}
.hero__art .accent { fill: var(--burgundy-700); }
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
}
.hero__tagline {
  margin: 0 0 1.4rem;
  color: var(--burgundy-700);
  font-size: clamp(0.7rem, 0.62rem + 0.35vw, 0.8rem);
  font-weight: 650;
  letter-spacing: clamp(0.1em, 0.06em + 0.25vw, 0.16em);
  text-transform: uppercase;
}
.hero__title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 1.5rem + 5vw, 5.1rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--burgundy-700); }
.hero__subhead {
  max-width: 36ch;
  margin: 0 0 1.5rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--burgundy-700);
  color: var(--navy-700);
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
  font-weight: 640;
  line-height: 1.45;
}
.hero__lead { max-width: 40ch; margin-bottom: 2rem; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero__meta .icon { color: var(--burgundy-700); }
.hero__meta a { color: var(--navy-700); font-weight: 600; }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}

/* Load-in animation (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *,
  .hero .profile-card {
    animation: rise 0.8s var(--ease) both;
  }
  .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero__copy > :nth-child(5) { animation-delay: 0.24s; }
  .hero__copy > :nth-child(6) { animation-delay: 0.3s; }
  .hero .profile-card { animation-delay: 0.2s; animation-duration: 1s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Profile card ---------- */
.profile-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 280px at 110% -10%, rgba(107, 131, 163, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--navy-100);
  box-shadow: var(--shadow-lg);
}
.profile-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.profile-card__body { position: relative; padding: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.profile-card__photo { position: relative; width: 100%; height: clamp(260px, 22vw + 120px, 380px); margin: 0; overflow: hidden; }
.profile-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.profile-card__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(0, 26, 55, 0.55)); }
.profile-card__eyebrow,
.profile-card__label {
  margin: 0 0 0.7rem;
  color: var(--rose-200);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.profile-card__name {
  margin: 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 1.45rem + 1.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.cred-list { list-style: none; display: grid; gap: 0.85rem; }
.cred-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 520;
  line-height: 1.45;
}
.cred-list .icon {
  width: 1.5rem; height: 1.5rem;
  padding: 0.28rem;
  margin-top: -0.05rem;
  border-radius: 50%;
  background: rgba(242, 196, 202, 0.14);
  color: var(--rose-200);
}
.profile-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: 100%;
  color: var(--white);
  font-weight: 620;
  text-decoration: none;
}
.profile-card__link .icon { transition: transform 0.2s var(--ease); }
.profile-card__link:hover { color: var(--rose-200); }
.profile-card__link:hover .icon { transform: translateX(4px); }
.profile-card__training,
.profile-card__contact {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.training-mini { list-style: none; display: grid; gap: 0.8rem; }
.training-mini li { display: grid; line-height: 1.35; }
.training-mini__program { color: var(--white); font-weight: 600; }
.training-mini__school { color: var(--navy-200); font-size: 0.94rem; }

@media (min-width: 980px) {
  .profile-card--hero .profile-card__photo { height: 300px; }
}

/* ---------- Training path (home + leadership) ---------- */
.training-path { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.training-path li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  align-items: start;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.training-path__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-800);
}
.training-path__icon .icon { width: 22px; height: 22px; }
.training-path__program { color: var(--navy-800); font-weight: 650; line-height: 1.35; }
.training-path__school { color: var(--muted); font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.3; }
@media (min-width: 760px) {
  .training-path--row { grid-template-columns: repeat(3, 1fr); }
  .training-path--row li { grid-template-columns: 1fr; padding: 1.5rem; }
  .training-path--row .training-path__icon { grid-row: auto; margin-bottom: 0.75rem; }
  .training-path--row li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    right: -1rem;
    width: 1rem;
    height: 2px;
    background: var(--burgundy-700);
    opacity: 0.5;
  }
}

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4.5rem); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
  .split__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.prose { max-width: 68ch; }
.prose p,
.prose li { color: var(--text); }
.prose h2 { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem); margin-top: 0.2em; }
.prose h3 { margin-top: 1.8rem; }

.statement {
  margin: 2rem 0 0;
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--burgundy-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--ivory);
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy-200); }
.card__num {
  margin-bottom: 1rem;
  color: var(--burgundy-700);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card__num::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 0.6rem;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.6;
}
.card__title { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); margin-bottom: 0.6rem; }
.card p { color: var(--text); }
.card__link { margin-top: auto; padding-top: 1.1rem; }
.card__link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  align-items: start;
  align-content: start;
}
.feature__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--white);
  color: var(--burgundy-700);
  box-shadow: var(--shadow-sm);
}
.feature__icon .icon { width: 22px; height: 22px; }
.feature__title { margin: 0.2rem 0 0.25rem; font-family: var(--font-sans); font-size: 1.08rem; font-weight: 680; letter-spacing: 0; color: var(--navy-800); }
.feature p { color: var(--text); font-size: 1rem; }
.feature-grid { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.tagline-banner {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem);
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

/* ---------- Lists ---------- */
.dot-list { list-style: none; display: grid; gap: 0.55rem; }
.dot-list li { position: relative; padding-left: 1.3rem; }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--burgundy-700);
}
.dot-list--2 { grid-template-columns: 1fr; column-gap: 1.5rem; }
@media (min-width: 560px) { .dot-list--2 { grid-template-columns: 1fr 1fr; } }

.check-list { list-style: none; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list .icon { margin-top: 0.3em; width: 1.05rem; height: 1.05rem; color: var(--burgundy-700); }
.check-list--2 { gap: 0.8rem 2rem; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-800);
  font-size: 0.93rem;
  font-weight: 560;
  line-height: 1.3;
}

.panel {
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.panel--ivory { background: var(--ivory); }
.panel__title { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 680; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy-700); margin-bottom: 1rem; }
.panel + .panel { margin-top: 1.25rem; }

/* Specialty tiles (services page) */
.tile-grid { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .tile-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.tile-grid li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 64px;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.3;
}
.tile-grid li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--burgundy-700);
  transform: rotate(45deg);
}
.tile-grid--muted li { background: var(--ivory); }

/* ---------- Pathway ---------- */
.pathway { list-style: none; display: grid; gap: 0; counter-reset: none; }
.pathway__step {
  position: relative;
  padding: 0 0 2.25rem 4.25rem;
}
.pathway__step::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 2.9rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(242, 196, 202, 0.6), rgba(255, 255, 255, 0.12));
}
.pathway__step:last-child { padding-bottom: 0; }
.pathway__step:last-child::before { display: none; }
.pathway__num {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 2.8rem; height: 2.8rem;
  border: 1px solid rgba(242, 196, 202, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.pathway__title { margin: 0.45rem 0 0.5rem; font-size: 1.3rem; }
.pathway__text { color: var(--navy-200); font-size: 1rem; }
@media (min-width: 860px) {
  .pathway { grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
  .pathway__step { padding: 4.25rem 0 0; }
  .pathway__step::before {
    left: 3.6rem; right: -2.5rem; top: 1.4rem; bottom: auto;
    width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(242, 196, 202, 0.6), rgba(255, 255, 255, 0.1));
  }
  .pathway__step:nth-child(3n)::before { display: none; }
  .pathway__step:last-child::before { display: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 1.4rem + 3vw, 3.75rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 0% 120%, rgba(134, 32, 46, 0.55), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--navy-100);
  box-shadow: var(--shadow);
}
.cta-band__title { color: var(--white); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); max-width: 20ch; }
.cta-band__text p { max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-content: center; }
@media (min-width: 960px) {
  .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 559px) {
  .cta-band__actions .btn { width: 100%; }
}

/* ---------- Referral steps ---------- */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: steps; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: steps;
}
.steps li::before {
  content: counter(steps);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.steps__title { margin: 0.3rem 0 0.15rem; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 680; color: var(--navy-800); letter-spacing: 0; }
.steps p { font-size: 1rem; color: var(--text); }
.on-dark .steps li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.on-dark .steps li::before { background: var(--white); color: var(--navy-800); }
.on-dark .steps__title { color: var(--white); }
.on-dark .steps p { color: var(--navy-200); }

/* ---------- Notices ---------- */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  background: var(--navy-50);
  color: var(--text);
}
.notice > .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; color: var(--navy-700); }
.notice__title { margin: 0 0 0.25rem; font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; color: var(--navy-800); }
.notice p { font-size: 0.98rem; }
.notice--alert { border-color: #ecc9ce; background: #fcf3f4; }
.notice--alert > .icon { color: var(--burgundy-700); }
.notice + .notice { margin-top: 1rem; }

/* ---------- Contact panel ---------- */
.contact-panel {
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-panel__title { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.9rem); margin-bottom: 0.5rem; }
.contact-panel__address { color: var(--text); font-size: 1.08rem; line-height: 1.55; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin: 1.6rem 0; padding: 1.6rem 0; border-block: 1px solid var(--line); }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list__icon {
  display: grid; place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-800);
}
.contact-list__label { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.3; }
.contact-list__value { color: var(--navy-800); font-size: 1.12rem; font-weight: 640; line-height: 1.35; overflow-wrap: anywhere; }
a.contact-list__value { display: inline-block; padding-block: 0.2rem; text-decoration: none; }
a.contact-list__value:hover { color: var(--burgundy-700); text-decoration: underline; }
.contact-panel__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.contact-panel__actions .btn { flex: 1 1 200px; }
.contact-panel__note { display: flex; gap: 0.6rem; margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.contact-panel__note .icon { margin-top: 0.25em; color: var(--navy-600); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 1.4rem + 3.5vw, 4.5rem) clamp(2.75rem, 1.8rem + 3.5vw, 5rem);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(195, 206, 220, 0.4), transparent 65%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-title {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.page-title .accent { color: var(--burgundy-700); }
.page-hero__lead { max-width: 60ch; margin-bottom: 0; }
.page-hero__art {
  position: absolute;
  right: -40px;
  bottom: -10px;
  width: min(640px, 70%);
  color: var(--navy-800);
  fill: var(--navy-800);
  opacity: 0.08;
  pointer-events: none;
}
.page-hero__art .accent { fill: var(--burgundy-700); }

.breadcrumb { margin-bottom: 1.6rem; font-size: 0.9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--navy-200); }
.breadcrumb a { display: inline-block; padding-block: 0.3rem; color: var(--navy-700); }

/* ---------- Credentials band ---------- */
.creds-band {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.creds-band li {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 620;
  line-height: 1.35;
}
.creds-band .icon { width: 1.6rem; height: 1.6rem; color: var(--burgundy-700); }
.creds-band { list-style: none; }
@media (min-width: 860px) { .creds-band { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Area blocks (trauma page) ---------- */
.area {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  border-top: 1px solid var(--line);
}
.area:first-child { border-top: 0; padding-top: 0; }
.area:last-child { padding-bottom: 0; }
@media (min-width: 960px) {
  .area { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; }
  .area__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.area__num { display: block; margin-bottom: 0.8rem; color: var(--burgundy-700); font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; }
.area__title { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.4rem); margin-bottom: 0.6rem; }
.area__summary { color: var(--muted); font-size: 1.05rem; }
.area__body > * + * { margin-top: 1.25rem; }
.area__label { margin-bottom: 0.75rem; color: var(--navy-800); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.quote-band {
  position: relative;
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  line-height: 1.35;
  text-wrap: balance;
}
.quote-band::before {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  background: #c4283c;
}
.quote-band p { max-width: 42ch; }

/* ---------- Digital business card (/dr-mohan/) ---------- */
.vcard-page { background: var(--ivory); padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 5rem); }
.vcard-layout { display: grid; gap: 1.5rem; max-width: 1080px; margin-inline: auto; }
@media (min-width: 900px) { .vcard-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: 2rem; } }
.vcard {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 260px at 110% -20%, rgba(107, 131, 163, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-800) 45%, var(--navy-900));
  color: var(--navy-100);
  box-shadow: var(--shadow-lg);
}
.vcard__kicker { margin: 0 0 1rem; color: var(--rose-200); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.vcard__name { margin: 0 0 0.35rem; color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1.08; }
.vcard__title { margin: 0; color: var(--navy-100); font-size: 1.05rem; }
.vcard__org { display: block; margin-top: 0.15rem; color: var(--rose-200); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.vcard__photo { width: 128px; height: 128px; margin: 0 0 1.4rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 7px rgba(242, 196, 202, 0.25), 0 12px 28px rgba(0, 0, 0, 0.35); }
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.vcard .cred-list { margin-top: 0.25rem; }
.vcard .cred-list li { font-size: 0.98rem; }
.vcard__save { margin-top: 1.75rem; }
.vcard__save .btn { min-height: 64px; font-size: 1.15rem; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
.vcard__save .btn .icon { width: 1.35em; height: 1.35em; }
.vcard__hint { margin: 0.75rem 0 0; color: var(--navy-200); font-size: 0.92rem; text-align: center; }
.vcard__specialties { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--white); font-size: 0.95rem; font-style: italic; font-weight: 600; text-align: center; }

.action-list { list-style: none; display: grid; gap: 0.6rem; }
.action {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 64px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy-800);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.action:hover { border-color: var(--navy-200); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--navy-800); }
.action__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--navy-50); color: var(--navy-800); }
.action__text { display: grid; line-height: 1.3; min-width: 0; }
.action__label { font-weight: 650; }
.action__detail { color: var(--muted); font-size: 0.93rem; overflow-wrap: anywhere; }
.action__chev { margin-left: auto; color: var(--navy-400); }
.action--primary .action__icon { background: var(--rose-100); color: var(--burgundy-700); }
.vcard-side > * + * { margin-top: 1.5rem; }
.vcard-side__title { margin: 0 0 0.75rem; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy-700); }

details.help {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
details.help summary {
  padding: 0.9rem 1.1rem;
  min-height: 48px;
  color: var(--navy-800);
  font-weight: 620;
  cursor: pointer;
}
details.help[open] summary { border-bottom: 1px solid var(--line); }
details.help .help__body { padding: 1rem 1.1rem; font-size: 0.97rem; }
details.help .help__body p + p { margin-top: 0.6rem; }

/* ---------- Inner-page components ---------- */
.section--flush-top { padding-top: 0; }
.narrow { max-width: 880px; }
.stack > * + * { margin-top: 1.5rem; }
.divider { height: 1px; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; border: 0; background: var(--line); }
.subhead { margin: 0 0 1rem; font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem); }
.intro-title {
  max-width: none;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.creds-band--stack { grid-template-columns: 1fr !important; margin-bottom: 0.5rem; }

.team-roles { display: grid; gap: 1rem; margin-top: 1.5rem; }
.team-role { padding: 1.2rem 1.35rem; border: 1px solid var(--line); border-left: 3px solid var(--navy-800); border-radius: var(--radius-sm); background: var(--white); }
.team-role__title { margin: 0 0 0.3rem; font-family: var(--font-sans); font-size: 1.04rem; font-weight: 700; letter-spacing: 0; color: var(--navy-800); }
.team-role p { font-size: 1rem; }

.leader-list { display: grid; gap: 1rem; }
@media (min-width: 640px) { .leader-list { grid-template-columns: 1fr 1fr; } }
.leader { padding: 1.35rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.leader__name { margin: 0; color: var(--navy-800); font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.25; }
.leader__role { margin: 0.3rem 0 0; color: var(--burgundy-700); font-size: 0.82rem; font-weight: 680; letter-spacing: 0.12em; text-transform: uppercase; }

.quote-band { margin: 0 0 clamp(3rem, 2.4rem + 2.5vw, 5rem); }
.quote-band blockquote { margin: 0; }
.recovery { align-items: start; }

.panel__foot { margin-top: 1rem; color: var(--muted); font-size: 0.97rem; }
@media (min-width: 900px) { .tile-grid--2col { grid-template-columns: repeat(2, 1fr); } }

.matters {
  display: grid;
  gap: 1rem 3rem;
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory);
}
@media (min-width: 900px) { .matters { grid-template-columns: 1fr 2fr; } }
.matters__title { margin: 0; font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem); }
.matters p { max-width: 64ch; }
.matters__tag { grid-column: 1 / -1; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--navy-800); font-family: var(--font-serif); font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); }

.quick-contact { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 860px) { .quick-contact { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 960px) {
  .split--referral { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.notice--spaced { margin-top: clamp(2rem, 1.6rem + 1.5vw, 3rem); }

.mini-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.mini-cta__title { margin: 0 0 0.25rem; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.mini-cta p { color: var(--muted); }

.vcard-side__note { margin-top: 0.75rem; color: var(--muted); font-size: 0.92rem; }
.office-card { padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.office-card__address { color: var(--ink); font-size: 1.05rem; line-height: 1.55; }
.office-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.office-card__actions .btn { flex: 1 1 150px; }

/* ---------- Locations ---------- */
.location-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
.location {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-200);
  border-radius: var(--radius);
  background: var(--white);
}
.location--main { border-top-color: var(--burgundy-700); }
.location__name { margin: 0; font-size: 1.4rem; }
.location__place + .location__place { padding-top: 1rem; border-top: 1px solid var(--line); }
.location__label { margin: 0 0 0.3rem; color: var(--burgundy-700); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.location address { color: var(--text); line-height: 1.5; }
.location__dir { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 36px; margin-top: 0.35rem; color: var(--navy-800); font-size: 0.95rem; font-weight: 640; text-decoration: none; }
.location__dir:hover { color: var(--burgundy-700); text-decoration: underline; }
.access-band { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--navy-800); color: var(--navy-100); --focus: #ffcf66; }
.access-band__title { margin: 0 0 0.4rem; color: var(--rose-200); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.access-band__cities { margin: 0 0 0.6rem; color: var(--white); font-family: var(--font-serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; }
.access-band__cities span { color: var(--rose-200); }
.access-band__cta { color: var(--navy-200); }
.access-band a { color: var(--white); font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem;
  background: var(--navy-950);
  color: var(--navy-200);
  font-size: 0.97rem;
}
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: var(--rose-200); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.05fr 1.1fr; gap: 3rem; } }
.site-footer__name { margin: 0; color: var(--white); font-family: var(--font-serif); font-size: 2rem; line-height: 1.1; }
.site-footer__tagline { margin: 0.35rem 0 1rem; color: var(--rose-200); font-family: var(--font-serif); font-size: 1.12rem; }
.site-footer__about { max-width: 36ch; }
.site-footer__heading { margin: 0 0 1rem; color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer__links,
.site-footer__contact,
.site-footer__meta { list-style: none; }
.site-footer__links { display: grid; gap: 0.15rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__address { margin-bottom: 1rem; color: var(--white); line-height: 1.6; }
.site-footer__muted { color: var(--navy-200); }
.site-footer__contact { display: grid; gap: 0.55rem; }
.site-footer__contact li { display: flex; align-items: center; gap: 0.6rem; min-height: 32px; }
.site-footer__contact .icon { color: var(--rose-200); }
.site-footer__emergency { padding: 1rem 1.1rem; border: 1px solid rgba(242, 196, 202, 0.3); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--navy-100); }
.site-footer__emergency strong { color: var(--white); }
.site-footer__legal { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.86rem; line-height: 1.6; }
.site-footer__legal > p { max-width: 110ch; color: var(--navy-200); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.site-footer__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer__meta a { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- Simple page (privacy, 404) ---------- */
.simple-page .prose h2 { margin-top: 2.25rem; font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); }
.simple-page .prose ul { padding-left: 1.2rem; }
.simple-page .prose li + li { margin-top: 0.4rem; }
.link-grid { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .link-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal on scroll (JS adds classes; content is visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .hero__art, .page-hero__art, .cta-band__actions { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section, .page-hero, .hero { padding-block: 1.25rem; background: none; }
  .section--navy, .profile-card, .cta-band, .quote-band, .site-footer, .vcard { background: none !important; color: #000 !important; box-shadow: none !important; }
  .section--navy *, .profile-card *, .cta-band *, .quote-band *, .site-footer *, .vcard * { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
