/* OSTEOMEG — Megan Kuciak, Osteopathic Manual Practitioner */
:root {
  /* Megan's palette (rev 3): taken from her Canva brand palette. Light, airy, calming; no dark green. */
  --sky: #d2e2ec;        /* pale blue (Canva) */
  --sky-soft: #e7eff4;
  --sky-deep: #94a3af;   /* dusty blue (Canva) */
  --cream: #f1ebdd;      /* cream (Canva) */
  --cream-soft: #f8f5ee;
  --sand: #e4dfd1;       /* light greige, a tint of the Canva greige */
  --taupe: #9b8b7b;      /* taupe (Canva): decorative accents */
  --brown: #645a4e;      /* dark taupe (Canva): buttons, eyebrows */
  --brown-deep: #4a4239;
  --ink: #3f3831;        /* warm dark text */
  --ink-soft: #645a4e;
  --white: #ffffff;
  --radius-pill: 999px;
  --radius-arch: 999px 999px 999px 999px;
  --shadow: 0 10px 30px rgba(90, 65, 45, .10);
  --font-display: "Abril Fatface", "Bodoni Moda", Georgia, serif;
  --font-elegant: "Italiana", "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 400; line-height: 1.15; }
/* Megan likes balanced titles: two-line headings split evenly, never one word on its own line. */
h1, h2, h3, .eyebrow, .tagline, .lede, .balance, .page-hero p { text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.elegant { font-family: var(--font-elegant); letter-spacing: .01em; }
.elegant b, .elegant strong { font-family: var(--font-display); font-weight: 400; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--brown); margin-bottom: .8em; display: block; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
h2.elegant { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; }

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-header.solid { position: sticky; top: 0; border-bottom: 1px solid rgba(0,0,0,.06); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header.solid::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: -1; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--font-elegant); font-size: 1.6rem; letter-spacing: .06em; text-decoration: none; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.nav-links { display: flex; gap: clamp(12px, 1.6vw, 28px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-size: .92rem; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-links .btn { border-bottom: 0; padding: 10px 22px; }
.on-dark { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 14px 32px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; text-decoration: none; letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-sky:hover { background: var(--sky-deep); }
.btn-dark { background: var(--brown-deep); color: var(--white); }
.btn-dark:hover { background: var(--brown); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-brown { background: var(--brown); color: var(--white); }
.btn-brown:hover { background: var(--brown-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; height: clamp(60px, 10vw, 150px); }
.wave path { fill: currentColor; }
.bg-sky { background: var(--sky); color: var(--ink); }
.bg-sky .eyebrow { color: var(--ink); opacity: .7; }
.bg-sky .check-list li::before { opacity: .18; }
.bg-cream { background: var(--cream-soft); }
.bg-sand { background: var(--sand); color: var(--ink); }
.bg-sky-soft { background: var(--sky-soft); }
.c-sky { color: var(--sky); } .c-white { color: var(--white); } .c-cream { color: var(--cream-soft); } .c-brown { color: var(--brown); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; background: var(--brown-deep); }
.hero > picture img, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,33,27,.55) 0%, rgba(40,33,27,.32) 45%, rgba(40,33,27,.55) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 120px var(--gutter) 160px; }
.hero h1 { font-size: clamp(3.1rem, 12vw, 8.5rem); margin-bottom: .15em; }
.hero .tagline { font-size: clamp(1.05rem, 2.2vw, 1.5rem); letter-spacing: .04em; margin-bottom: 1.8em; font-weight: 500; }
.hero .sub { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; opacity: .92; margin-bottom: 1.2em; display: block; }
.hero .btn-row { justify-content: center; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; color: var(--white); }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(56px, 8vw, 110px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split.reverse .split-media { order: 2; }
.arch { border-radius: var(--radius-arch); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.wide { aspect-ratio: 5 / 4; }
.split-media { max-width: 480px; justify-self: center; width: 100%; }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cream); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.cred { background: var(--white); padding: 26px 18px; text-align: center; color: var(--ink); }
.cred strong { color: var(--brown-deep); }
.cred strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 400; line-height: 1.1; }
.cred span { font-size: .82rem; letter-spacing: .06em; opacity: .9; }

/* Clinic cards */
.clinics { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.clinic { background: var(--white); border-radius: 28px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--ink); }
.clinic .tag { align-self: flex-start; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; background: var(--cream); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.clinic h3 { font-family: var(--font-elegant); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .25em; }
.clinic .focus { color: var(--ink-soft); margin-bottom: 1.2em; }
.clinic dl { margin: 0 0 1.5em; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .95rem; }
.clinic dt { font-weight: 600; color: var(--sky-deep); display: flex; align-items: flex-start; padding-top: 3px; }
.clinic dt svg { width: 18px; height: 18px; }
.clinic dd { margin: 0; }
.clinic .btn-row { margin-top: auto; }
.clinic .btn { flex: 1 1 auto; }
.map { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: 18px; margin-bottom: 1.4em; background: var(--cream); }

/* Learn more cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.card { position: relative; text-decoration: none; display: flex; flex-direction: column; align-items: center; padding-top: 0; }
.card .arch { width: 78%; aspect-ratio: 4/5; position: relative; z-index: 2; box-shadow: none; }
.card .card-base { background: var(--cream); border-radius: 30px; width: 100%; margin-top: -42%; padding: calc(42% + 22px) 22px 26px; text-align: center; }
.card .pill { display: inline-block; background: var(--sky); color: var(--ink); padding: 12px 26px; border-radius: 999px; font-size: 1rem; transition: background .2s; }
.card p { font-size: .92rem; color: var(--ink-soft); margin: 14px 0 0; }
.card:hover .pill { background: var(--sky-deep); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: currentColor; opacity: .25; }
.check-list li::after { content: ""; position: absolute; left: 6px; top: calc(.45em + 4px); width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* Condition tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tiles.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles.tiles-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .tiles.tiles-3, .tiles.tiles-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles.tiles-3, .tiles.tiles-4 { grid-template-columns: 1fr; } }
.tile { background: var(--white); border-radius: 22px; padding: 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.06); }
.tile h3 { margin-bottom: .35em; }
.tile p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--white); border-radius: 24px; padding: 26px 22px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.2rem; color: var(--taupe); display: block; line-height: 1; margin-bottom: 12px; }
.steps h3 { margin-bottom: .3em; }
.steps p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(58,46,38,.15); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border: solid var(--brown); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* Quote / promise */
.promise { text-align: center; max-width: 820px; margin: 0 auto; }
.promise blockquote { margin: 0; font-family: var(--font-elegant); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 150px 0 0; text-align: center; overflow: hidden; }
.page-hero.texture { color: var(--ink); }
.page-hero.texture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 70px); }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 6.5rem); margin-bottom: .15em; }
.page-hero p { font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .02em; }
.page-hero .wave { position: relative; z-index: 2; color: var(--white); margin-top: -1px; }

/* Breadcrumbs */
.crumbs { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; opacity: .8; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 8px; }

/* Notice */
.note { background: var(--cream); border-radius: 18px; padding: 18px 22px; font-size: .92rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--cream); color: var(--ink); padding: 64px 0 110px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--brown); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: var(--ink); font-size: 1.9rem; display: inline-block; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(58,46,38,.15); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--ink-soft); }


/* Booking chooser dialog */
dialog.chooser { border: 0; border-radius: 28px; padding: 0; width: min(560px, calc(100% - 24px)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.chooser::backdrop { background: rgba(58,46,38,.4); backdrop-filter: blur(3px); }
.chooser-inner { padding: 30px 26px 26px; }
.chooser h2 { font-size: 2rem; text-align: center; }
.chooser p.lead { text-align: center; color: var(--ink-soft); font-size: .95rem; }
.chooser-options { display: grid; gap: 12px; margin: 20px 0 10px; }
.chooser-option { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; text-decoration: none; background: var(--cream-soft); border: 1.5px solid transparent; border-radius: 20px; padding: 18px 20px; transition: border-color .2s, background .2s; }
.chooser-option:hover { border-color: var(--brown); background: #fff; }
.chooser-option strong { display: block; font-size: 1.08rem; }
.chooser-option span { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; display: block; }
.chooser-option .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; }
.chooser-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-soft); cursor: pointer; font-size: 1.4rem; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 0; visibility: hidden; background: var(--white); color: var(--ink); flex-direction: column; justify-content: center; gap: 22px; font-size: 1.3rem;
    transform: translateY(-100%); transition: transform .35s ease; z-index: 40; }
  .nav-links a { font-size: 1.35rem; }
  .nav-open .nav-links { transform: none; visibility: visible; }
  .nav-open .menu-toggle { position: relative; z-index: 45; color: var(--ink); }
}
@media (max-width: 820px) {
  .split, .clinics { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 360px; }
  .creds { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 28px; }
  .cols-2 { columns: 1; }
  .hero-inner { padding: 110px var(--gutter) 140px; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .clinic dl { font-size: .92rem; }
  .btn { width: 100%; }
  .nav-links .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Rev 2: specialty cards (prenatal/postpartum + pediatric) */
.specialties { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.specialty { background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; }
.specialty img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.specialty div { padding: 26px 28px 30px; }
.specialty h3 { font-family: var(--font-elegant); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: .3em; }
.specialty p { color: var(--ink-soft); font-size: .96rem; }
.specialty .more { color: var(--brown); font-weight: 600; font-size: .95rem; }
.hours { background: var(--sky-soft); border-radius: 16px; padding: 14px 18px; margin: 0 0 1.4em; font-size: .93rem; }
.hours strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); margin-bottom: 4px; }
.hours ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
@media (max-width: 820px) { .specialties { grid-template-columns: 1fr; } }

/* Rev 3: three stage cards and the short booking promo */
.specialties.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .specialties.three { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.promo { text-align: center; }
.promo p { max-width: 640px; margin-left: auto; margin-right: auto; }
.promo .btn-row { justify-content: center; }
.split-prose { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split-prose.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split-prose { grid-template-columns: 1fr; } .split-prose.reverse > :first-child { order: 0; } }
.photo-soft { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.photo-soft img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Rev 4 (Megan's Oct 28 drawings): one consistent type scale and page structure ===== */
/* Megan asked for every title, subtitle and body text to be the same size site-wide. */
.lede { font-size: inherit; color: var(--ink-soft); }
.tile p, .card p, .specialty p, .steps p, .photo-card p, .note { font-size: 1rem; }
h2.elegant { font-size: clamp(2rem, 4vw, 2.9rem); }
.eyebrow, .subtitle, .card-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brown); margin: 0 0 .6em; display: block; line-height: 1.5; }
.subtitle { margin-top: 1.4em; }

/* Page title band: same on every page except FAQ and Book. Caps title + one-line blurb, light blue, wave below. */
.page-title { position: relative; background: var(--sky); text-align: center; padding: 140px 0 0; overflow: hidden; }
.page-title .wrap { padding-bottom: clamp(26px, 4vw, 44px); }
.page-title h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 7.5vw, 5.4rem); line-height: .98; letter-spacing: .01em; margin: 0 0 .25em; }
.page-title .blurb { font-size: clamp(1rem, 1.8vw, 1.2rem); letter-spacing: .03em; color: var(--ink-soft); margin: 0; text-wrap: balance; }
.page-title .creds-line { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); margin: 14px 0 0; }
.page-title .wave { display: block; color: var(--white); margin-top: -1px; }

/* Home hero (Megan's drawing): name, OSTEOMEG wordmark, location line, two buttons. */
.hero .hero-name { display: block; font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: .08em; margin-bottom: .4em; }
.hero h1.wordmark { font-family: var(--font-display); font-size: clamp(3.4rem, 13vw, 9rem); letter-spacing: .02em; margin-bottom: .1em; }

/* Photo cards: photo on top, small-caps title, short text or a bullet list. */
.photo-cards { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.photo-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.photo-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-card { background: var(--white); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .2s; }
a.photo-card:hover { transform: translateY(-3px); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card .body { padding: 20px 22px 24px; border-top: 1px solid rgba(58,46,38,.08); }
.photo-card p { margin: 0; color: var(--ink-soft); }
.photo-card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.photo-card li { margin-bottom: .25em; }
@media (max-width: 1000px) { .photo-cards.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .photo-cards.cols-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
@media (max-width: 560px) { .photo-cards.cols-4 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* Info tiles with small-caps titles (pediatric reasons). */
.tile .card-title { margin-bottom: .5em; }

/* Simple bullet lists inside text sections. */
.dot-list { margin: 0 0 1.2em; padding-left: 1.2em; color: var(--ink-soft); }
.dot-list li { margin-bottom: .3em; }

/* Megan's approach: four small-caps subtitles, each with a line of text. */
.approach dt { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--brown); margin-top: 1.1em; }
.approach dd { margin: .2em 0 0; color: var(--ink-soft); }

/* Landscape rounded photo frame (Megan's drawing shows these on the Prenatal page). */
.frame-wide { border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.frame-wide img { width: 100%; height: 100%; object-fit: cover; }

/* Credentials row under the About text. */
.creds.compact { margin-top: clamp(30px, 4vw, 48px); }
.creds.compact .cred { padding: 18px 14px; }
.creds.compact .cred strong { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* Footer (rev 4): fuller, conventional layout with social links. */
.site-footer { padding-top: 70px; }
.footer-grid { grid-template-columns: 1.4fr 1fr 2fr; }
.footer-about p { margin: 0 0 1em; color: var(--ink-soft); }
.footer-clinics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-clinics strong { display: block; color: var(--ink); }
.footer-clinics span { display: block; color: var(--ink-soft); }
.footer-clinics a.book { display: inline-block; margin-top: 6px; color: var(--brown); font-weight: 600; }
.social { display: flex; gap: 10px; margin: 6px 0 18px; padding: 0; list-style: none; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--brown); border: 1px solid rgba(58,46,38,.12); transition: background .2s, color .2s; }
.social a:hover { background: var(--brown); color: var(--white); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-cta { margin-top: 4px; }
.footer-bottom a { color: inherit; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-clinics { grid-template-columns: 1fr; } }
.site-footer ul.social { display: flex; gap: 10px; }
.page-title .wave { margin-bottom: -2px; position: relative; }
.footer-bottom { flex-direction: row; }

/* Rev 5: tighter footer (Peter: it was taking too much space). */
.site-footer { padding: 40px 0 22px; font-size: .88rem; line-height: 1.55; }
.footer-grid { grid-template-columns: 1.15fr 1fr 1.7fr; gap: 28px 36px; align-items: start; }
.site-footer .brand { font-size: 1.45rem; margin-bottom: 6px; }
.site-footer h2 { margin-bottom: 8px; }
.footer-about p { margin: 0 0 10px; }
.site-footer ul.social { margin: 0; gap: 8px; }
.social a { width: 34px; height: 34px; }
.social svg { width: 17px; height: 17px; }
.site-footer ul.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.footer-clinics { gap: 16px; }
.footer-clinics span { display: block; }
.footer-clinics a.book { margin-top: 0; display: inline; }
.footer-bottom { display: block; margin-top: 22px; padding-top: 14px; font-size: .76rem; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom .land { font-style: italic; }
.safety-note { margin-top: 18px; font-size: 1rem; color: var(--ink-soft); font-style: italic; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }
.site-footer ul.footer-nav a, .footer-clinics a { white-space: nowrap; }
.footer-grid { grid-template-columns: 1fr 1.15fr 1.75fr; }
.site-footer ul.footer-nav { grid-auto-flow: column; grid-template-rows: repeat(4, auto); }

/* Announcement banner (edited in Settings → Site settings) */
.site-banner { background: var(--brown); color: #fff; text-align: center; font-size: .9rem; padding: 10px 0; }
