/* Lark Doula - site styles
   Garamond headings to match the logo, a clean sans-serif for reading,
   white and pale teal with deep turquoise and a little marigold.
   To retune the palette, change the variables below. */
:root {
  --ink: #2b2927;          /* body text */
  --muted: #566664;        /* secondary text */
  --turquoise: #1f5c60;    /* buttons, links */
  --turquoise-dark: #163f42; /* headings, footer */
  --accent: #e3a31c;       /* small accents: lines, bullets, menu underline. Not for text */
  --field-border: #7d8f8d; /* form field edges (visible against the page) */
  --paper: #ffffff;        /* page background */
  --tint: #eaf3f2;         /* alternate section background */
  --card: #ffffff;
  --rule: #d5e3e1;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 63, 66, 0.05), 0 8px 24px rgba(22, 63, 66, 0.07);
  --serif: "EB Garamond", Garamond, "Adobe Garamond Pro", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--turquoise); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--turquoise-dark); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--turquoise-dark); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--turquoise); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 44rem); }
section { padding: clamp(1.5rem, 2.5vw, 2rem) 0; }
.sand { background: var(--tint); }

.eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--turquoise); margin: 0 0 1rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.note { font-size: 0.95rem; color: var(--muted); }
.arrow-link { font-weight: 600; text-decoration: none; }
.arrow-link::after { content: " \2192"; content: " \2192" / ""; }

/* Buttons */
.button {
  display: inline-block; padding: 0.8rem 1.5rem; font-family: var(--sans); font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; color: #fff; background: var(--turquoise);
  border: 1.5px solid var(--turquoise); border-radius: 999px; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.button:hover { background: var(--turquoise-dark); border-color: var(--turquoise-dark); color: #fff; }
.button.outline { background: transparent; color: var(--turquoise); }
.button.outline:hover { background: var(--turquoise); color: #fff; }
.button.small { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.button.light { background: #fff; border-color: #fff; color: var(--turquoise-dark); }
.button.light:hover { background: var(--tint); border-color: var(--tint); color: var(--turquoise-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
/* Header: logo on the left, Contact button in the top corner, menu underneath it */
.nav-bar { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand contact" "brand nav"; align-items: center; gap: 0.4rem 2rem; padding: 0.6rem 0; }
.brand { grid-area: brand; display: block; }
.header-contact { grid-area: contact; justify-self: end; }
.nav-bar nav { grid-area: nav; justify-self: end; }
.brand img { height: 3.25rem; width: auto; }
.nav-bar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; margin: 0; padding: 0; }
.nav-bar ul a { display: inline-block; font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav-bar ul a:hover { color: var(--turquoise); }
.nav-bar ul a[aria-current] { color: var(--turquoise); border-bottom-color: var(--accent); }
@media (max-width: 52rem) {
  .site-header { position: static; }
  .nav-bar { gap: 0.25rem 0.5rem; }
  .nav-bar ul { gap: 0.1rem 1.25rem; }
  .nav-bar ul a { padding: 0.3rem 0; } /* still at least 44 px tall to tap */
  .brand img { height: 2.4rem; }
  .nav-bar .button.small { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
}

/* Home hero */
.home-hero { padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.5rem, 2.5vw, 2rem); background: var(--paper); }
.hero-grid { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 54rem) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero-photo { margin: 0; position: relative; max-width: 26rem; justify-self: center; }
.hero-photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border-radius: 12rem 12rem var(--radius) var(--radius); background: var(--turquoise); opacity: 0.14; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12rem 12rem var(--radius) var(--radius); }
.hero-photo figcaption { position: relative; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-top: 1.75rem; }

/* Credential strip */
.creds { padding: 0; border-block: 1px solid var(--rule); background: var(--card); }
.creds ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.creds li { font-size: 0.98rem; line-height: 1.35; padding-left: 1rem; border-left: 2px solid var(--accent); }
.creds strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--turquoise-dark); }

/* Page hero (all pages except home) */
.page-hero { background: var(--paper); padding: clamp(2rem, 4.5vw, 3.5rem) 0 0; }
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero .lead { max-width: 44rem; margin-bottom: 0; }
.page-hero + section { padding-top: 1.5rem; }

/* Two-column layouts */
.two-col { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 50rem) {
  .two-col { grid-template-columns: 1fr 1.4fr; }
  .two-col.even { grid-template-columns: 1fr 1fr; }
  .two-col.wide-left { grid-template-columns: 1.4fr 1fr; }
  .sticky { position: sticky; top: 6.5rem; }
}
.photo { margin: 0; }
picture { display: block; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.pull { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; font-style: italic; color: var(--turquoise-dark); border-left: 2px solid var(--accent); padding-left: 1.25rem; margin: 1.5rem 0; }

/* Cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-top: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card > :last-child { margin-bottom: 0; }
.card .arrow-link { margin-top: auto; padding-top: 0.5rem; }
.card.accent { border-top: 3px solid var(--accent); }
.card ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.card li { margin-bottom: 0.4rem; }
.card li > ul { margin: 0.4rem 0 0; }
li::marker { color: var(--accent); }

/* Call-to-action band */
.band { background: var(--turquoise); color: #eef3f2; } /* lighter than the footer so the two don't merge */
.band h2 { color: #fff; }
.band a:not(.button) { color: #fff; }
.band .two-col { align-items: center; }

/* Services */
.package-group { display: grid; gap: 2rem 3.5rem; align-items: start; }
.package-group + .package-group { margin-top: clamp(2rem, 4vw, 2.75rem); }
/* Package photo stays beside the packages on mid-size screens, like the NICU page photos; stacks on phones */
@media (min-width: 40rem) { .package-group { grid-template-columns: minmax(13rem, 0.8fr) 1.2fr; gap: 2rem 2.25rem; } }
@media (min-width: 54rem) { .package-group { grid-template-columns: 0.9fr 1.1fr; gap: 2rem 3.5rem; } }
.package-group .photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.package-group .photo h2, .package-group .photo .group-title { margin: 1.25rem 0 0; }
.package-note { max-width: 22rem; margin: 1.5rem 0 0; padding-left: 1rem; border-left: 2px solid var(--accent); font-size: 1.25rem; line-height: 1.5; }
.package-note strong { display: block; margin-bottom: 0.25rem; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--turquoise-dark); }
.package-list { display: grid; gap: 1.25rem; }
.package h3 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 0.75rem; }
.package .package-fit { margin: 0; font-style: italic; font-size: 1.05rem; }
.package ul:has(+ .package-fit) { margin-bottom: 0.4rem; }
.package .price { margin-left: auto; font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--turquoise); white-space: nowrap; }

.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; color: var(--turquoise-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--turquoise); }
.faq details[open] summary::after { content: "-"; transform: scaleX(1.6); }  /* a plain hyphen, widened to match the + */
.faq details p { margin: 0 0 1.25rem; max-width: 40rem; }
.faq details p.faq-label { margin: 0 0 0.35rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--turquoise-dark); }

/* Resources */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.chips a { display: block; padding: 0.4rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--turquoise); color: var(--turquoise); }
.resource-group + .resource-group { margin-top: 3rem; }
/* Every other category sits on a full-width sand band, so the long page isn't one flat column */
.resource-group:nth-of-type(even) { background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(-1.5rem -100vmax); padding-block: 0.5rem; }
.resource-group:nth-of-type(even) + .resource-group, .resource-group + .resource-group:nth-of-type(even) { margin-top: 3rem; }
.resource-group .cards { margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.resource h3 { font-size: 1.4rem; }
.resource .meta { font-size: 0.95rem; color: var(--muted); margin-top: auto; padding-top: 0.5rem; }
.fine-print { font-size: 0.95rem; color: var(--muted); margin-top: 2rem; }

/* Research */
.article-list { list-style: none; padding: 0; }
.article-card { padding: 0; overflow: hidden; text-decoration: none; height: 100%; }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card div { padding: 1.5rem 1.75rem 1.75rem; }
.article-card h3 { font-size: 1.6rem; margin-bottom: 0.4em; }
.article-card p { color: var(--ink); font-size: 1rem; margin: 0; }
.article-card:hover h3 { color: var(--turquoise-dark); }
.article-header { padding-bottom: 0; }
.article-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }
.byline { color: var(--muted); }
.article { padding-top: 2rem; }
.article .cover { width: 100%; border-radius: var(--radius); margin-bottom: 2.5rem; box-shadow: var(--shadow); }
.article p { font-size: 1.125rem; line-height: 1.75; }
.article h2 { font-size: 1.9rem; margin-top: 1.2em; }
.article-footer { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.contact-list span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.contact-list a { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
.inquiry-form { display: block; padding: clamp(1.5rem, 4vw, 2.5rem); }
.inquiry-form[hidden], .form-thanks[hidden] { display: none; }
.inquiry-form label, .inquiry-form legend { display: block; font-weight: 600; margin: 1.5rem 0 0.4rem; padding: 0; }
.inquiry-form .hint { font-weight: 400; color: var(--muted); }
.inquiry-form input[type="text"], .inquiry-form input[type="email"], .inquiry-form input[type="tel"], .inquiry-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-border); border-radius: 8px;
}
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 1px; border-color: var(--turquoise); }
.inquiry-form fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
.inquiry-form legend { margin-top: 0; }
.inquiry-form .choice { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-weight: 400; margin: 0.5rem 0; }
.inquiry-form .choice input[type="checkbox"], .inquiry-form .choice input[type="radio"] { width: 1.15rem; height: 1.15rem; accent-color: var(--turquoise); flex: none; margin: 0; }
.inquiry-form .choice input[type="text"] { flex: 1 1 10rem; width: auto; padding: 0.4rem 0.6rem; }
.inquiry-form textarea { resize: vertical; display: block; }
.inquiry-form > .note:first-child { margin: 0; }
/* Booking calendar on the Contact page (Google Calendar embed) */
.booking-grid { display: grid; gap: 2rem; align-items: start; }
/* The calendar stays narrow (under about 600px) so Google shows the month on top and the times below it */
.booking-grid > :first-child { max-width: 30rem; }
@media (min-width: 54rem) { .booking-grid { grid-template-columns: 30rem minmax(0, 1fr); gap: 2rem 3rem; } }
.booking-embed { padding: 0; overflow: hidden; }
.booking-embed iframe { display: block; width: 100%; height: 90rem; border: 0; }  /* tall enough for a full weekday of times without scrolling inside the box */
.booking .note { margin: 0.75rem 0 0; }
.inquiry-form button { margin-top: 1.75rem; cursor: pointer; }
.inquiry-form button:disabled { opacity: 0.6; cursor: default; }
.req { color: var(--turquoise); }
.field-error { color: #a33a22; font-weight: 600; margin: 0.75rem 0 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-thanks { padding: clamp(1.75rem, 4vw, 2.75rem); }
.form-thanks:focus { outline: none; }

/* Footer */
.site-footer { background: var(--turquoise-dark); color: #d9e4e2; padding: 3.5rem 0 2rem; font-size: 0.98rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.site-footer .name { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: 0.25rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: #9fb9b6; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.9rem; color: #9fb9b6; }

/* Article author box */
.author-box { margin-top: 2rem; }
.author-box p { font-size: 1rem; line-height: 1.6; }

/* Home heading is longer than other page titles, so it is set a little smaller */
.home-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }

/* Photo beside a page heading (NICU and high-risk pages) */
/* Photos marked "compact" stay small when the page is a single column (NICU page) */
.photo.compact { max-width: 28rem; }
@media (max-width: 54rem) {
  .photo.compact { max-width: 16rem; }
}
/* "offset" adds the same tinted rectangle behind a photo as the hero image */
.photo.offset { position: relative; margin-right: 1.25rem; margin-bottom: 1.25rem; }
.photo.offset::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border-radius: var(--radius); background: var(--turquoise); opacity: 0.14; }
.photo.offset img { position: relative; box-shadow: none; }
/* A card with a photo beside the text (NICU page) */
.feature-card { margin-top: 2.5rem; display: grid; gap: 1.5rem 2.25rem; align-items: center; }
.feature-card h2, .feature-card h3 { margin-top: 0; margin-bottom: 0.6rem; }
.flow > .feature-card:first-child { margin-top: 0; }
.feature-card p { margin: 0; }
@media (min-width: 40rem) { .feature-card { grid-template-columns: 13rem 1fr; } }

/* Icons */
.icon { width: 2.5rem; height: 2.5rem; padding: 0.55rem; margin-bottom: 1rem; border-radius: 50%; background: var(--tint); fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-cards .card h2 { font-size: 1.9rem; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 3.25rem; line-height: 1; color: var(--accent); margin-bottom: 0.5rem; }
.steps p { margin: 0; }

/* Portrait beside a short personal note */
.story { display: grid; gap: 2rem 3rem; align-items: center; }
.story img { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.2); }
@media (min-width: 44rem) { .story { grid-template-columns: auto 1fr; } }
.band .arrow-link { color: #fff; }
.band .card { color: var(--ink); text-decoration: none; }
.band .card .arrow-link { color: var(--turquoise); }
.band .card:hover h3 { color: var(--turquoise-dark); }

/* Chips that are labels, not links */
.chips.static li { padding: 0.4rem 0.95rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font-size: 0.95rem; font-weight: 500; }
.chips.static { margin-top: 0.75rem; }

/* Long-form service pages: one flowing column with a contact card alongside */
.flow-layout { display: grid; gap: 1.5rem 5rem; align-items: start; }
@media (min-width: 60rem) { .flow-layout { grid-template-columns: minmax(0, 1fr) 21rem; } }
.flow { max-width: 42rem; }
.flow h2 { margin-top: 1.1em; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.flow h2:first-child { margin-top: 0; }

.aside-card { gap: 0; }
@media (min-width: 60rem) { .aside-card { position: sticky; top: 6.5rem; } }
.aside-card h2 { font-size: 1.8rem; }
.aside-card .button { text-align: center; }
.aside-card .phone { font-size: 0.95rem; color: var(--muted); text-align: center; margin: 0.75rem 0 0; }
.price-list { list-style: none; padding: 1.25rem 0 0; margin: 1.5rem 0 1rem; border-top: 1px solid var(--rule); }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.98rem; margin-bottom: 0.5rem; }
.price-list .price { font-weight: 600; color: var(--turquoise); white-space: nowrap; }

.icon-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1.25rem 2rem; }
@media (min-width: 40rem) { .icon-list { grid-template-columns: 1fr 1fr; } }
.icon-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.icon-list .icon { margin: 0; }
.icon-list strong { color: var(--turquoise-dark); }

.story-quote { margin: 1.5rem 0 0; padding: 2rem 2.25rem; background: var(--tint); border-radius: var(--radius); }
.story-quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; font-style: italic; color: var(--turquoise-dark); }
.story-quote figcaption { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; font-size: 0.98rem; line-height: 1.4; }
.story-quote img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }

.do-dont { display: grid; gap: 1.5rem 2.5rem; margin-top: 1.25rem; }
@media (min-width: 40rem) { .do-dont { grid-template-columns: 1fr 1fr; } }
.do-dont h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.45rem; }
.do-dont .icon { margin: 0; flex: none; }
.do-dont p { margin: 0; }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-top: 1px solid var(--rule); }
.link-list li:last-child { border-bottom: 1px solid var(--rule); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; text-decoration: none; }
.link-list a::after { content: "\2192"; content: "\2192" / ""; font-family: var(--sans); color: var(--accent); }

/* Steps on the dark band */
.band .steps li { border-top-color: rgba(255, 255, 255, 0.2); }
.band .steps li::before { color: #eab195; }
.band .steps h3 { color: #fff; }

/* Small heading above the direct contact details */
.side-heading { font-size: 1.5rem; margin-bottom: 0.25rem; }
.aside-more { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); text-align: center; }

/* The two birds from the logo, used as a quiet divider */
.birds { width: 5rem; height: auto; margin: 0 auto 1.5rem; opacity: 0.85; }
.birds.light { filter: brightness(0) invert(1); opacity: 0.7; }
.birds.left { margin-left: 0; }
/* Tall Meet Amanda photos: keep them a moderate size when the columns stack on smaller screens */
@media (max-width: 49.99rem) { .photo.portrait { max-width: 19rem; margin-inline: auto; } }
/* Photos beside text: keep them a moderate size when the columns stack (Services packages on phones) */
@media (max-width: 53.99rem) { .package-group .photo img { max-width: 22rem; } }
/* Phones: heading, then the packages, then the link and note. The photo stays as a short banner on top. */
@media (max-width: 39.99rem) {
  .package-group { gap: 0; }
  .package-group .photo { display: contents; }
  .package-group .photo img { order: 1; max-width: none; aspect-ratio: 16 / 9; }
  .package-group .photo h2, .package-group .photo .group-title { order: 2; margin: 1.25rem 0 1.25rem; }
  .package-group .package-list { order: 3; }
  .package-group .photo > p { order: 4; margin-top: 1.25rem !important; }
  .package-group .photo > .package-note { order: 5; }
}
/* Price on its own line under the package name until the cards are wide enough to fit both. */
@media (max-width: 53.99rem) {
  .package h3 { display: block; }
  .package .price { display: block; margin-top: 0.25rem; }
}
.closing { text-align: center; }
.closing .lead { color: inherit; }

/* Reduced-fee statement under the packages */
.fee-note { max-width: 44rem; margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); font-size: 1.15rem; }

/* ---- Personal-practice pass: Garamond for reading, sans-serif only for small interface text ---- */
body { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; }
.lead { font-size: 1.5rem; line-height: 1.45; }
.nav-bar, .button, .note, .eyebrow, .price, .price-list, .chips, .inquiry-form, .contact-list span,
.site-footer, .creds li, .fine-print, .resource .meta, .byline, .aside-card .phone, .field-error { font-family: var(--sans); }
.creds strong { font-family: var(--serif); }
.site-footer .name { font-family: var(--serif); }
.card { font-size: 1.2rem; }
.package li, .card ul { font-size: 1.15rem; }
.faq details p { font-size: 1.2rem; }
.article p { font-size: 1.35rem; line-height: 1.65; }
.fee-note { font-size: 1.3rem; }

/* Small search heading above a large, human first line */
h1.kicker, .home-hero h1.kicker { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; line-height: 1.4; color: var(--turquoise); margin: 0 0 1rem; text-wrap: balance; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5.2vw, 3.9rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--turquoise-dark); margin: 0 0 0.5em; text-wrap: balance; }
.subtitle { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--turquoise); margin: -0.25rem 0 1rem; }
.home-hero .actions { margin-bottom: 1.25rem; }
/* Phones and tablets: the photo comes right after the greeting instead of below all the text */
@media (max-width: 53.99rem) {
  .home-hero .hero-grid { gap: 0; }
  .home-hero .hero-grid > div { display: contents; }
  .home-hero .hero-grid > div > * { order: 3; }
  .home-hero .hero-grid > div > .kicker, .home-hero .hero-grid > div > .display { order: 1; }
  .home-hero .hero-photo { order: 2; max-width: 15rem; justify-self: start; margin: 0.5rem 0 2.25rem; }
}
/* Phones: a smaller photo sits beside the greeting, so the intro starts on the first screen */
@media (max-width: 39.99rem) {
  .home-hero .hero-grid { grid-template-columns: 1fr 7.5rem; column-gap: 1.5rem; }
  .home-hero .hero-grid > div > * { grid-column: 1 / -1; }
  .home-hero .hero-grid > div > .display { grid-column: 1; align-self: center; margin: 0 0 1.5rem; font-size: 2.05rem; }
  .home-hero .hero-photo { grid-column: 2; max-width: none; width: 100%; margin: 0 0 2.25rem; }
  .home-hero .hero-photo::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
  .home-hero .hero-photo figcaption { display: none; }
}

/* Two personal photos at the end of Meet Amanda */
.snapshots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.snapshots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.snapshots img:nth-child(2) { margin-top: 2.5rem; }

/* ---- One reading size everywhere ----
   Paragraphs, lists, cards, FAQ answers and articles all use the same size.
   Only two things are larger: the single intro line under a page title, and
   short stand-alone statements centred under the birds. */
.lead, .card, .card ul, .package li, .faq details p, .fee-note, .article p, .pull + p { font-size: 1.3rem; line-height: 1.55; }
.page-hero .lead, .closing .lead { font-size: 1.5rem; line-height: 1.45; }
.cred-list { margin: 0; padding-left: 1.15rem; }
.cred-list li { margin-bottom: 0.3rem; line-height: 1.35; }
.cred-list li > ul { margin: 0.3rem 0 0; }
/* Package cards are lists of short items, so they use tighter spacing */
.package li { line-height: 1.35; margin-bottom: 0.3rem; }
.package .package-fit { line-height: 1.35; }
.byline { font-size: 0.95rem; }
.article .eyebrow, .author-box .eyebrow { font-size: 0.85rem; line-height: 1.4; }

/* ---- One typeface rule ----
   Garamond for everything people read. The sans-serif is used only for
   the menu, buttons (and button-like tags), and small ALL-CAPS labels. */
.note, .price, .price-list, .inquiry-form, .site-footer, .creds li, .fine-print, .resource .meta,
.byline, .aside-card .phone, .field-error, .faq summary::after, .link-list a::after { font-family: var(--serif); }
.button, .inquiry-form .button, .chips, .chips a, .eyebrow, .kicker, h1.kicker, .contact-list span, .site-footer h2 { font-family: var(--sans); }

/* Garamond needs a little more size than the sans-serif did */
.note, .fine-print, .resource .meta, .aside-card .phone, .creds li { font-size: 1.1rem; line-height: 1.45; }
.creds strong { font-size: 1.35rem; }
.byline { font-size: 1.15rem; font-style: italic; }
.price { font-size: 1.3rem; font-weight: 500; }
.price-list li { font-size: 1.15rem; }
.site-footer { font-size: 1.15rem; }
.copyright { font-size: 1.05rem; }
.inquiry-form label, .inquiry-form legend { font-weight: 500; font-size: 1.3rem; }
.inquiry-form .choice { font-size: 1.25rem; }
.inquiry-form .note { font-size: 1.1rem; }
.inquiry-form input, .inquiry-form textarea { font-family: var(--serif); font-size: 1.25rem; }
.package .price { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

/* ---- Header: menu in Garamond, larger, with a larger logo ---- */
.nav-bar { font-family: var(--serif); padding: 0.75rem 0; }
.nav-bar ul { gap: 0.25rem 2rem; }
.nav-bar ul a { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.brand img { height: 5.5rem; }
.site-footer { font-size: 1.2rem; }
html { scroll-padding-top: 7.5rem; }
@media (min-width: 50rem) { .sticky { top: 8rem; } }
@media (min-width: 60rem) { .aside-card { top: 8rem; } }
@media (max-width: 52rem) {
  .brand img { height: 3.75rem; }
  .nav-bar ul { gap: 0.1rem 1.4rem; }
  .nav-bar ul a { font-size: 1.3rem; }
}

/* =====================================================================
   ONE TYPE SYSTEM (this block overrides everything above it)
   Typeface: Garamond everywhere, including buttons and labels.
   Sizes:    reading text 1.3rem, intro under a page title 1.5rem,
             small headings 1.5rem, section headings 1.9rem+,
             capital-letter labels 1rem, footer 1.15rem
   ===================================================================== */
:root { --sans: "EB Garamond", Garamond, "Adobe Garamond Pro", Georgia, serif; }
strong, b { font-weight: 600; }

/* Reading text: one size, one colour */
.note, .inquiry-form .note, .fine-print, .resource .meta, .aside-card .phone, .creds li, .byline,
.inquiry-form .choice, .inquiry-form label, .inquiry-form legend, .inquiry-form input, .inquiry-form textarea,
.field-error, .link-list a, .price-list li, .chips.static li {
  font-size: 1.3rem; line-height: 1.55;
}
.note, .inquiry-form .note, .fine-print, .resource .meta, .aside-card .phone, .byline { color: var(--ink); }
.inquiry-form label, .inquiry-form legend { font-weight: 600; }
.inquiry-form .hint { font-weight: 400; color: var(--ink); }
.byline { font-style: italic; }

/* Small headings: one size */
h3, .package h3, .resource h3, .article-card h3, .offers h3, .do-dont h3, .faq summary, .contact-list a,
.site-footer .name, .creds strong, .side-heading, .steps h3 { font-size: 1.5rem; line-height: 1.25; }
.creds strong { font-weight: 500; }
.price, .package .price, .price-list .price { font-size: 1.5rem; font-weight: 500; }

/* Section headings inside pages: one size */
.article h2, .flow h2, .aside-card h2, .inquiry-form h2, .package-group .photo h2, .package-group h2,
.icon-cards .card h2, .resource-group h2 { font-size: 1.9rem; line-height: 1.15; }

/* Quotes: one style */
.pull, .story-quote blockquote { font-size: 1.6rem; line-height: 1.35; }

/* Small labels: one style, sentence case */
.eyebrow, .kicker, h1.kicker, .home-hero h1.kicker, .contact-list span, .site-footer h2,
.article .eyebrow, .author-box .eyebrow {
  font-size: 1.15rem; font-weight: 500; letter-spacing: 0; line-height: 1.35;
}

/* Buttons and tags, in Garamond */
.button, .inquiry-form .button { font-size: 1.25rem; font-weight: 500; padding: 0.65rem 1.5rem 0.75rem; letter-spacing: 0.01em; }
.button.small, .nav-bar .button.small { font-size: 1.15rem; padding: 0.45rem 1.15rem 0.55rem; }
.chips a { font-size: 1.15rem; font-weight: 400; }
.arrow-link { font-weight: 500; }

/* Footer: one size */
.site-footer, .site-footer p, .site-footer li, .copyright { font-size: 1.15rem; line-height: 1.5; }
.site-footer h2 { font-size: 1.15rem; }
.story-quote figcaption, .hero-photo figcaption { font-size: 1.15rem; }

/* The Contact button in the header's top corner, the same size as the menu text */
.nav-bar ul { align-items: center; }
.nav-bar a.button.header-contact { font-size: 1.4rem; font-weight: 500; color: #fff; padding: 0.35rem 1.3rem 0.45rem; border: 1.5px solid var(--turquoise); border-radius: 999px; }
.nav-bar a.button.header-contact:hover { color: #fff; background: var(--turquoise-dark); border-color: var(--turquoise-dark); }
.nav-bar a.button.header-contact[aria-current="page"] { color: #fff; border-color: var(--turquoise); background: var(--turquoise-dark); }
@media (max-width: 52rem) { .nav-bar a.button.header-contact { font-size: 1.3rem; } }


/* Narrower windows: the menu gets its own row under the logo, Contact stays in the corner */
@media (max-width: 60rem) {
  .nav-bar { grid-template-areas: "brand contact" "nav nav"; }
  .nav-bar nav { justify-self: start; }
}
/* The header is taller in this range, so jump links stop a little lower */
@media (min-width: 52.01rem) and (max-width: 60rem) { html { scroll-padding-top: 9.5rem; } }

/* Studies from My Posts (/studies): a small square post image beside each study, kept beside the text down to phone width */
.study-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; max-width: 52rem; }
.study { display: grid; grid-template-columns: 6rem 1fr; grid-template-areas: "img head" "body body"; gap: 1rem 1.25rem; align-items: center; padding: 1.25rem; }
.study img { grid-area: img; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.study-head { grid-area: head; }
.study-body { grid-area: body; }
.study h2 { font-size: 1.5rem; line-height: 1.2; margin: 0; }
.study p { margin: 0 0 0.6rem; }
.study .eyebrow { margin-bottom: 0.3rem; }
.study .source { font-size: 1.05rem; color: var(--ink); }
@media (min-width: 40rem) {
  .study { grid-template-columns: 9rem 1fr; grid-template-areas: "img head" "img body"; align-items: start; gap: 0.75rem 1.75rem; padding: 1.75rem; }
  .study h2 { font-size: 1.7rem; }
}
.paper-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; max-width: 52rem; }
.paper-list a, .paper-list .paper-title { font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.paper-list .paper-title { color: var(--turquoise-dark); display: block; }
.paper-list .source { margin: 0.25rem 0 0; font-size: 1.05rem; color: var(--ink); }
#my-research h3 { margin: 2.25rem 0 0; font-size: 1.5rem; }
#my-research h3 + .paper-list { margin-top: 1rem; padding-left: 1.25rem; }

/* ---- Type scale (2026-10-28) ----
   A small, fixed set of sizes so the page is easy to follow. Later rules win, so this
   block overrides the older size rules above.
     label  1.15rem  small labels and footer headings
     small  1.05rem  footer, notes, captions, listing details, fine print
     body   1.25rem  all reading text, including intro paragraphs, cards, FAQ answers, forms
     nav    1.35rem  menu links and the Contact button (a step above body)
     h3     1.5rem   card titles, FAQ questions, prices, quotes, small headings
     h2     clamp(1.8rem, 3vw, 2.2rem) */
body, .lead, .page-hero .lead, .closing .lead, .card, .card ul, .package li, .faq details p,
.fee-note, .article p, .pull + p, .package-note, .inquiry-form label, .inquiry-form legend,
.inquiry-form .choice, .inquiry-form input, .inquiry-form textarea, .price-list li,
.button, .inquiry-form .button, .button.small, .article-card p, .author-box p,
.faq details p.faq-label { font-size: 1.25rem; line-height: 1.55; }
.faq details p.faq-label { line-height: 1.3; }
.site-footer, .site-footer p, .site-footer li, .copyright, .note, .fine-print, .resource .meta,
.aside-card .phone, .story-quote figcaption, .hero-photo figcaption, .package .package-fit,
.byline, .study .source, .paper-list .source, .chips a, .chips.static li, .inquiry-form .note,
.creds li { font-size: 1.05rem; line-height: 1.5; }
h1.kicker, .home-hero h1.kicker, .eyebrow, .article .eyebrow, .author-box .eyebrow,
.site-footer h2, .contact-list span { font-size: 1.15rem; }
.nav-bar ul a, .nav-bar a.button.header-contact, .button.small.header-contact { font-size: 1.35rem; }
@media (max-width: 52rem) { .nav-bar ul a, .nav-bar a.button.header-contact { font-size: 1.35rem; } }
h3, .resource h3, .article-card h3, .faq summary, .price, .package .price, .price-list .price,
.contact-list a, .package-note strong, .paper-list a, .paper-list .paper-title, .study h2,
.side-heading, .site-footer .name, .creds strong, .steps h3, .do-dont h3, .link-list a,
#my-research h3, .pull, .story-quote blockquote { font-size: 1.5rem; }
h2, .flow h2, .aside-card h2, .icon-cards .card h2, .resource-group h2, .article h2,
.inquiry-form h2, .package-group .photo h2, .package-group h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
@media (min-width: 40rem) { .study h2 { font-size: 1.5rem; } }
/* Package cards and the credentials list keep their tighter line spacing */
.package li, .package .package-fit, .cred-list li { line-height: 1.35; }
/* Headings inside cards and in the single-column page body (NICU and high-risk pages)
   all use the small-heading size, so headings on those pages sit at one level */
.card h2, .card h3, .feature-card h2, .feature-card h3, .aside-card h2, .flow h2 { font-size: 1.5rem; line-height: 1.2; }

/* Keyboard focus: a clear ring on every link, button, and form control */
a:focus-visible, button:focus-visible, summary:focus-visible, .button:focus-visible { outline: 2px solid var(--turquoise-dark); outline-offset: 3px; border-radius: 2px; }

/* Footer (2026-10-28): brand and service area, contact, and pages in two short columns */
.site-footer { padding: 2.5rem 0 1.5rem; }
@media (min-width: 54rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .footer-area { margin-top: 0.75rem; color: #c3d3d0; max-width: 26rem; }
.footer-pages ul { columns: 2; column-gap: 2rem; }
.footer-pages li { break-inside: avoid; }
.copyright { margin-top: 1.75rem; padding-top: 1rem; }

/* Lists inside FAQ answers (the "Before the birth" topics on Services) */
.faq details ul { margin: 0 0 1.25rem; padding-left: 1.25rem; max-width: 40rem; }
.faq details li { font-size: 1.25rem; line-height: 1.55; }

/* Pages where the contact card should come right after the intro on phones
   (pregnancy loss and abortion support page). On computers it sits beside the text as usual. */
.split-aside > .aside-card { max-width: 42rem; } /* same width as the text when it sits between paragraphs */
@media (min-width: 60rem) {
  .split-aside > .flow:first-child { grid-column: 1; grid-row: 1; }
  .split-aside > .aside-card { grid-column: 2; grid-row: 1 / span 2; }
  .split-aside > .flow:last-child { grid-column: 1; grid-row: 2; }
}

/* "Find me on Instagram and Facebook" line at the end of Meet Amanda */
.social-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 1.25rem; }
.social-icons a { display: inline-flex; align-items: center; gap: 0.3rem; }
.social-icons svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-icons svg .dot { fill: currentColor; stroke: none; }

/* Keeps a hyphenated word on one line without a special hyphen */
.nowrap { white-space: nowrap; }

/* Home page sections that used to be their own pages (2026-11-21): Services & Pricing (#services)
   and the FAQ (#faq, which now holds the high-risk answer, #high-risk). The two package group titles sit one step under
   the "Services & Pricing" heading. */
.package-group .photo .group-title { font-size: 1.75rem; line-height: 1.15; }
#services > .wrap > .lead { margin-bottom: 1.75rem; }

/* Phones and narrow windows: the menu is pinned too, but slides out of the way while you
   scroll down and comes back as soon as you scroll up (js/site.js adds .nav-hidden).
   Jump links stop just below the top of the screen, since the menu is hidden after a jump. */
@media (max-width: 52rem) {
  .site-header { position: sticky; top: 0; transition: transform 0.25s ease; }
  .site-header.nav-hidden { transform: translateY(-100%); }
  html { scroll-padding-top: 1rem; }
}
@media (max-width: 52rem) and (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
