/* ============================================================
   Dr Kunal Patel — production landing page styles
   Builds on brand.css tokens (cream/forest/sage/apricot/wheat,
   Fraunces + Inter, spacing scale, motion).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--apricot); color: var(--cream); }

/* ============================================================
   Active nav link
   ============================================================ */
.nav__links a[aria-current="page"] {
  color: var(--apricot);
}
.nav__links a[aria-current="page"]::after {
  right: 0;
}
.mobile-menu nav a[aria-current="page"] {
  color: var(--apricot);
}

/* ============================================================
   PAGE HERO — smaller variant for subpages (no photo split)
   ============================================================ */
.page-hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 820px;
}
.page-hero__h {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: var(--s-2) 0 0;
  color: var(--forest);
  text-wrap: balance;
}
.page-hero__lead {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 36, 'SOFT' 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
  color: var(--forest);
}
.page-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: var(--s-3);
}
.page-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.page-hero__meta-n {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(22px, 5.5vw, 36px);
  line-height: 1;
  color: var(--forest);
}
.page-hero__meta-l {
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.6vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-3);
}

@media (max-width: 599px) {
  .page-hero__cta .btn { width: 100%; }
}

/* Three-card audience fork on landing (third "About" card) */
@media (min-width: 980px) {
  .fork__grid--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.fork-card--about {
  background: var(--sage-12);
}
.skip-link {
  position: absolute; left: -1000px; top: 8px;
  background: var(--forest); color: var(--cream);
  padding: 10px 16px; border-radius: 4px;
  z-index: 100; font-weight: 500;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   LAYOUT — container + section rhythm
   ============================================================ */
.container {
  width: 100%;
  max-width: calc(var(--content-max) + var(--page-margin) * 2);
  margin: 0 auto;
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
}

.section {
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(56px, 9vw, 112px);
}

/* ============================================================
   PRIMITIVES — eyebrow, rules, buttons, ghost link
   ============================================================ */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--apricot);
  display: inline-block;
  margin: 0;
}

.rule {
  display: block;
  border: 0;
  height: 1px;
  background: var(--wheat);
  width: 56px;
  margin: 0;
}
.rule--apricot { background: var(--apricot); height: 2px; }
.rule--wheat   { background: var(--wheat); }
.rule--w32  { width: 32px; }
.rule--w56  { width: 56px; }
.rule--w72  { width: 72px; }
.rule--w80  { width: 80px; }
.rule--w120 { width: 120px; }

/* Section opener — eyebrow + headline + apricot rule, signature pattern */
.section-opener {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
  max-width: 760px;
}
.section-opener h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.section-opener .rule { margin-top: var(--s-2); }
.section-opener__lead { margin-top: var(--s-3); color: var(--fg-muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background var(--d-base) var(--ease-out),
              color var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out),
              transform var(--d-base) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--apricot { background: var(--apricot); color: var(--cream); }
.btn--apricot:hover { background: var(--apricot-90); }
.btn--apricot:active { transform: translateY(1px); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-90); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--ghost-inverse { background: transparent; color: var(--cream); border-color: rgba(251,246,238,0.5); }
.btn--ghost-inverse:hover { background: rgba(251,246,238,0.1); border-color: var(--cream); }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn__icon { transition: transform var(--d-base) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* Ghost link with arrow */
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--apricot);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.ghost-link svg { transition: transform var(--d-base) var(--ease-out); flex-shrink: 0; }
.ghost-link:hover svg { transform: translateX(3px); }
.ghost-link--inverse { color: var(--cream); text-decoration-color: var(--apricot); }

/* Icon circle — the brand's unifying iconography */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--wheat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest);
}
.icon-circle svg { width: 28px; height: 28px; }

/* ============================================================
   REAL PHOTOS — hero, about, location cards
   Images use object-fit:cover. Cream tint by default to harmonise
   with the warm palette; remove .photo--natural for full saturation.
   ============================================================ */
.hero__photo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--sage-12);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about__photo {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 380px;
  width: 100%;
  background: var(--sage-12);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.location-card__photo {
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--sage-12);
  position: relative;
}
.location-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--d-slow) var(--ease-out);
}
.location-card:hover .location-card__photo img { transform: scale(1.03); }
.location-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: auto;
  padding-top: 12px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-base) var(--ease-out),
              background var(--d-base) var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(251,246,238,0.94);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--page-margin);
  max-width: calc(var(--content-max) + var(--page-margin) * 2);
  margin: 0 auto;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
}
.nav__monogram {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--forest);
  display: inline-flex;
  align-items: baseline;
}
.nav__monogram-dot { color: var(--apricot); }
.nav__wordmark { display: none; flex-direction: column; gap: 2px; line-height: 1.15; }
.nav__wordmark-name {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: 16px;
  font-weight: 500;
}
.nav__wordmark-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.nav__links {
  display: none;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--forest);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--apricot);
  transition: right var(--d-base) var(--ease-out);
}
.nav__links a:hover::after { right: 0; }

.nav__cta { display: none; }
.nav__toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--forest);
  border-radius: 4px;
}

/* Mobile menu — drops down from the nav bar */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px -16px rgba(31,61,58,0.18);
  overflow: hidden;
  animation: menuDrop var(--d-base) var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 8px var(--page-margin) 16px;
}
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: 22px;
  color: var(--forest);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--d-fast) var(--ease-out);
}
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a:hover { color: var(--apricot); }
.mobile-menu__cta-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--apricot) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  text-transform: none;
}
.mobile-menu__cta-link svg { transition: transform var(--d-base) var(--ease-out); }
.mobile-menu__cta-link:hover svg { transform: translateX(3px); }

@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__wordmark { display: flex; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; margin-left: 8px; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   HERO — split layout (variant B from wireframe)
   ============================================================ */
.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: var(--s-4); }
.hero__headline {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: var(--s-2) 0 0;
}
.hero__lead {
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-3);
}
.hero__photo {
  min-height: 0;
}

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--wheat);
  border-radius: 999px;
  background: var(--sage-12);
  font-family: var(--font-sans);
  font-size: 13px;
  width: fit-content;
}
.status-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  position: relative;
}
.status-pill__dot::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
.status-pill__main { font-weight: 500; color: var(--forest); }
.status-pill__sub  { color: var(--fg-muted); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); }
  .hero__photo { aspect-ratio: 4 / 3; }
}

/* ============================================================
   CREDENTIAL STRIP
   ============================================================ */
.credentials {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.credentials__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}
.credentials__label { flex-shrink: 0; }
.credentials__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--fg-muted);
}
.credentials__list li { letter-spacing: 0.01em; }

/* ============================================================
   AUDIENCE FORK
   ============================================================ */
.fork { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(40px, 6vw, 64px); }
.fork__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .fork__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.fork-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--wheat);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.fork-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.fork-card--referrers { background: var(--forest-06); }
.fork-card--parents   { background: var(--apricot-12); }
.fork-card__h {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.1;
  margin: 0;
}
.fork-card p {
  margin: 0;
  color: var(--fg-muted);
  max-width: 36ch;
}
.fork-card .ghost-link { margin-top: auto; padding-top: 8px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about__photo { max-width: 380px; width: 100%; }
.about__body { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.about__body .serif-lead {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 36, 'SOFT' 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  margin: 0;
  color: var(--forest);
}
.about__body p { margin: 0; color: var(--fg-muted); }
.about__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px 28px;
  margin: 12px 0 0;
}
.about__facts > div { display: flex; flex-direction: column; gap: 6px; }
.about__facts dt { margin: 0; }
.about__facts dd { margin: 0; font-size: 14px; color: var(--forest); line-height: 1.5; }

@media (min-width: 840px) {
  .about__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* ============================================================
   PULL QUOTE — Sage panel
   ============================================================ */
.pullquote {
  background: var(--sage-12);
  padding: clamp(56px, 9vw, 112px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pullquote .container { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.pullquote__q {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.3;
  margin: 8px 0 0;
  color: var(--forest);
  text-wrap: pretty;
  max-width: 22ch * 2;
}
.pullquote__cite { margin-top: 8px; color: var(--forest); }

/* ============================================================
   SERVICES — 3-col grid
   ============================================================ */
.services { background: var(--apricot-12); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}
@media (min-width: 640px)  { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services__grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Mobile: horizontal scroll carousel — snap & hide scrollbar */
@media (max-width: 639px) {
  .services__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-margin);
    gap: 16px;
    margin: 0 calc(-1 * var(--page-margin));
    padding: 4px var(--page-margin) 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services__grid::-webkit-scrollbar { display: none; }
  .service {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }
}

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.service h3 {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  margin: 4px 0 0;
  color: var(--forest);
  text-wrap: balance;
}
.service p { margin: 0; color: var(--fg-muted); font-size: 14.5px; max-width: 36ch; }

.services__more { margin-top: clamp(28px, 4vw, 40px); }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px)  { .locations__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .locations__grid { grid-template-columns: repeat(3, 1fr); } }
.location-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.location-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.location-card h3 {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  margin: 0;
  color: var(--forest);
}
.location-card__addr { margin: 0; font-size: 13.5px; color: var(--forest); }
.location-card__note { margin: 0; font-size: 13.5px; color: var(--fg-muted); font-style: italic; }
.location-card .ghost-link { margin-top: auto; padding-top: 10px; }

/* meta list inside location cards — station / phone / email */
.location-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--forest);
}
.location-card__meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.location-card__meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--apricot);
}
.location-card__meta a {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-fast) var(--ease-out);
  word-break: break-word;
}
.location-card__meta a:hover { border-bottom-color: var(--apricot); }
.location-card__meta-sub { color: var(--fg-quiet); }

.locations__more { margin-top: clamp(24px, 4vw, 32px); }

/* ============================================================
   REFERRERS PANEL — Forest
   ============================================================ */
.referrers {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(64px, 9vw, 120px) 0;
}
.referrers h2, .referrers h3 { color: var(--cream); }
.referrers__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.referrers__header > div:first-child { max-width: 580px; }
.referrers__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: var(--s-3) 0 var(--s-3);
}
.referrers__header .lead { color: rgba(251,246,238,0.85); max-width: 540px; margin: 0; }
.referrers__cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 900px) {
  .referrers__header { grid-template-columns: 1.4fr 1fr; }
  .referrers__cta { justify-content: flex-end; }
}

.referrers__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 24px);
}
@media (min-width: 640px)  { .referrers__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .referrers__steps { grid-template-columns: repeat(4, 1fr); } }

.referrers__steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(217,197,160,0.4);
}
.referrers__step-h {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.2;
  margin: 0;
}
.referrers__steps p {
  margin: 0;
  color: rgba(251,246,238,0.8);
  font-size: 14px;
}

/* small inline referrer testimonial, sits beneath the steps */
.referrers__voice {
  margin: clamp(40px, 5vw, 56px) 0 0;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(217,197,160,0.4);
  border-radius: 10px;
  background: rgba(251,246,238,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.referrers__voice .eyebrow { color: var(--apricot); }
.referrers__voice blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.4;
  color: var(--cream);
  text-wrap: pretty;
}
.referrers__voice figcaption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(251,246,238,0.7);
  font-style: normal;
}

/* ============================================================
   VOICES — parent testimonials grid
   ============================================================ */
.voices { background: var(--bg); }
.voices__grid {
  /* CSS columns gives nice masonry-like flow for variable-length quotes */
  column-count: 1;
  column-gap: clamp(16px, 2.5vw, 28px);
}
@media (min-width: 720px)  { .voices__grid { column-count: 2; } }
@media (min-width: 1080px) { .voices__grid { column-count: 3; } }

/* Mobile: horizontal scroll carousel of quotes */
@media (max-width: 719px) {
  .voices__grid {
    column-count: unset;
    column-gap: unset;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--page-margin);
    gap: 16px;
    margin: 0 calc(-1 * var(--page-margin));
    padding: 4px var(--page-margin) 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    align-items: stretch;
  }
  .voices__grid::-webkit-scrollbar { display: none; }
  .voice-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: start;
    margin: 0;
  }
}

.voice-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(16px, 2.5vw, 28px);
  padding: clamp(22px, 2.6vw, 28px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.voice-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.voice-card__mark {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: 56px;
  line-height: 0.75;
  color: var(--apricot);
  display: block;
  margin-bottom: 6px;
}
.voice-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 36, 'SOFT' 0;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--forest);
  text-wrap: pretty;
}
.voice-card cite {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apricot);
}

/* ============================================================
   PARENTS
   ============================================================ */
.parents__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.parents__intro h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: var(--s-3) 0 var(--s-3);
}
.parents__intro .lead { margin: 0 0 var(--s-5); color: var(--fg-muted); max-width: 460px; }
.parents__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* parent self-refer booking block — highlighted card */
.parents__book {
  margin-top: var(--s-5);
  padding: clamp(20px, 3vw, 28px);
  background: var(--apricot-12);
  border: 1px solid var(--wheat);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.parents__book-lead {
  margin: 0;
  font-size: 14.5px;
  color: var(--forest);
  max-width: 460px;
}
.parents__book-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 0;
}
.parents__book-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.parents__book-list li:first-child { padding-top: 12px; border-top: 1px solid var(--border); }
.parents__book-list li:last-child { border-bottom: 0; }
.parents__book-name {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: 19px;
  color: var(--forest);
  line-height: 1.2;
}
.parents__book-name span { color: var(--fg-quiet); font-size: 14px; }
.parents__book-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 15px;
}
.parents__book-links a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid var(--apricot);
  padding-bottom: 1px;
  transition: color var(--d-fast) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.parents__book-links a:hover { color: var(--apricot); }
.parents__book-links a[href^="https"] {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--apricot);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: 999px;
  border-bottom: 0;
  font-size: 13.5px;
}
.parents__book-links a[href^="https"]:hover {
  background: var(--apricot-90);
  color: var(--cream);
}
.parents__book-links span { color: var(--fg-quiet); }

.parents__list-wrap { display: flex; flex-direction: column; gap: var(--s-4); }
.parents__list-h {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  margin: 0;
  color: var(--forest);
}
.parents__list-h::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--wheat);
  margin-top: 10px;
}

.parents__list { display: flex; flex-direction: column; }
.parents__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.parents__list li:first-child { padding-top: 0; }
.parents__list li:last-child  { border-bottom: 0; }
.parents__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--apricot);
  margin-top: 9px;
}
.parents__list h3 {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--forest);
}
.parents__list p { margin: 0; color: var(--fg-muted); font-size: 14.5px; }

@media (min-width: 900px) {
  .parents__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}

/* ============================================================
   FAQS
   ============================================================ */
.faqs { background: var(--apricot-12); }
.faqs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
}
@media (min-width: 800px) {
  .faqs__grid { grid-template-columns: 1fr 1fr; }
}
.faqs__grid--single { max-width: 760px; }
.faqs__grid--single { grid-template-columns: 1fr !important; }
.faqs__group { display: flex; flex-direction: column; gap: 12px; }
.faqs__group > .rule { margin: 4px 0 8px; }

.faq {
  border-bottom: 1px solid var(--border);
}
.faq:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--forest);
  list-style: none;
  transition: color var(--d-fast) var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--apricot); }
.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--wheat);
  color: var(--apricot);
  background: var(--cream);
  flex-shrink: 0;
}
.faq__icon-minus { display: none; }
.faq[open] .faq__icon-plus { display: none; }
.faq[open] .faq__icon-minus { display: block; }
.faq__body {
  padding: 0 40px 18px 0;
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.6;
  animation: faqFade var(--d-base) var(--ease-out);
}
.faq__body p { margin: 0; }
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faqs__more {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* ============================================================
   CLOSING CTA — referral portal chooser
   ============================================================ */
.closing { text-align: left; }
.closing .container { display: flex; flex-direction: column; gap: var(--s-4); max-width: 1080px; }
.closing__head { display: flex; flex-direction: column; gap: var(--s-3); max-width: 760px; }
.closing__h {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  margin: var(--s-2) 0 0;
}
.closing .lead { color: var(--fg-muted); max-width: 640px; margin: 0; }
.closing__foot {
  margin: var(--s-4) 0 0;
  font-size: 14.5px;
  color: var(--fg-muted);
}
.closing__foot a { color: var(--forest); text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.portals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: var(--s-5) 0 0;
}
@media (min-width: 720px)  { .portals { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .portals { grid-template-columns: repeat(3, 1fr); } }

.portal-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--wheat);
}
.portal-card__h {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  margin: 2px 0 0;
  color: var(--forest);
}
.portal-card p {
  margin: 0 0 6px;
  color: var(--fg-muted);
  font-size: 14px;
  max-width: 36ch;
}
.portal-card__cta { margin-top: auto; align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(48px, 7vw, 88px) 0 32px;
}
.footer .eyebrow { color: var(--apricot); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  margin-bottom: 40px;
}
.footer__brand { max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.footer__wordmark { display: flex; flex-direction: column; gap: 8px; }
.footer__name {
  font-family: var(--font-serif);
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: var(--cream);
}
.footer__tagline {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251,246,238,0.7);
}
.footer__strap {
  margin: 0;
  font-size: 14px;
  color: rgba(251,246,238,0.78);
  line-height: 1.6;
}
.footer__pills {
  display: none;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer__cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer__cols ul { display: flex; flex-direction: column; gap: 6px; }
.footer__cols a {
  color: rgba(251,246,238,0.85);
  text-decoration: none;
  font-size: 14px;
}
.footer__cols a:hover { color: var(--apricot); }
.footer__hours { color: rgba(251,246,238,0.6); font-size: 13px; }

@media (min-width: 720px)  { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); } }

/* Mobile (< 600px): collapse to one column, lay each col's links out
   as a horizontal wrap-row beneath its eyebrow. Compact, readable. */
@media (max-width: 599px) {
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid rgba(217,197,160,0.25);
  }
  .footer__cols > div { gap: 8px; }
  .footer__cols ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 16px;
  }
  .footer__cols a { font-size: 14.5px; }
  .footer__cols .eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    opacity: 0.78;
  }
}

/* ============================================================
   Footer bottom padding tweak (legal row removed)
   ============================================================ */
.footer__inner { margin-bottom: 0; }
.footer { padding-bottom: clamp(40px, 6vw, 64px); }

/* ============================================================
   FADE-IN reveal — used on hero-adjacent + below the fold
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Mobile-only tweaks
   ============================================================ */
@media (max-width: 599px) {
  .hero__cta .btn,
  .closing__cta .btn,
  .referrers__cta .btn,
  .parents__cta .btn { width: 100%; }
}
