/* Naturaliste Midwifery, one-page site */
/* Accent teal is taken from the Naturaliste Midwifery logo */
:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --limestone: #ebe5d9;
  --ink: #1f2a26;
  --muted: #56625c;
  --green: #12667a;
  --green-dark: #0c4f5f;
  --rule: #d8d0c1;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 72rem;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
section[id] { scroll-margin-top: 1rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 300; letter-spacing: -0.01em; max-width: 14ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 2rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.wordmark img { width: 29px; height: 56px; }
.header-inner { align-items: center; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 1rem; }
.site-nav a:hover { color: var(--green); text-decoration: underline; }

/* Shared */
.button { display: inline-block; background: var(--green); color: var(--paper); font: 600 1rem/1 var(--sans); padding: 0.95rem 1.4rem; border-radius: 3px; text-decoration: none; }
.button:hover { background: var(--green-dark); color: var(--paper); }
.text-link { font-weight: 600; }
.lead { font-size: 1.3rem; line-height: 1.5; }
.small { font-size: 0.95rem; color: var(--muted); }
.section { padding: 5rem 0; border-top: 1px solid var(--rule); }
.section-title { margin-bottom: 2.5rem; }

/* Hero */
.hero { padding: 4.5rem 0 5rem; }
.hero-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
.hero-text p { max-width: var(--measure); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.clinical { background: var(--limestone); padding: 2rem; border-radius: 3px; margin-top: 0.75rem; }
.clinical h2 { font-size: 1.6rem; }
.clinical ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.clinical li { margin-bottom: 0.4em; }
.clinical li::marker { color: var(--green); }
.clinical-note { margin: 0; font-size: 1rem; color: var(--muted); }

/* Consultations menu */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.menu article { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.menu p { color: var(--muted); max-width: var(--measure); }
.menu p:last-child { margin-bottom: 0; }
.menu .price { color: var(--ink); font-weight: 600; }
.unsure { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); max-width: var(--measure); }

/* About */
.about { background: var(--limestone); border-top: 0; }
.portrait { margin: 0 0 3rem; }
.portrait img { width: 100%; filter: grayscale(1); border-radius: 3px; background: var(--ink); }
.about-text { columns: 2 22rem; column-gap: 4rem; }
.about-text .section-title { column-span: all; margin-bottom: 1.5rem; }
.about-text p { break-inside: avoid; }
.reviews p { max-width: var(--measure); }

/* Fees */
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.fees > div > p { color: var(--muted); }
.prices { margin: 1.5rem 0 0; }
.prices div, .specs div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.prices div:first-child, .specs div:first-child { border-top: 1px solid var(--rule); }
.prices dt { margin: 0; }
.prices dd { margin: 0; font-weight: 600; white-space: nowrap; }
.medicare { margin-top: 3.5rem; max-width: var(--measure); }

/* Hire */
.hire-item { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.hire-item img { width: 100%; max-width: 22rem; mix-blend-mode: multiply; }
.hire-item > div > p { max-width: var(--measure); }
.hire-terms { font-weight: 600; }
.specs { margin: 1.5rem 0; max-width: var(--measure); font-size: 1rem; }
.specs dt { margin: 0; color: var(--muted); }
.specs dd { margin: 0; text-align: right; }

/* Contact */
.contact { background: var(--green); color: var(--paper); padding: 5rem 0; }
.contact h2 { color: var(--paper); }
.contact p { max-width: var(--measure); }
.contact a { color: var(--paper); }
.email { font-family: var(--serif); font-size: clamp(1.6rem, 4.5vw, 2.75rem); font-weight: 300; margin: 1.5rem 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding: 2.5rem 0; font-size: 1rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: baseline; }
.footer-inner p { margin: 0; }
.footer-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }

@media (max-width: 52rem) {
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-inner, .fees, .menu, .hire-item { grid-template-columns: 1fr; gap: 2rem; }
  .menu { gap: 0; }
  .section { padding: 3.5rem 0; }
  .portrait { margin-bottom: 2rem; }
  .hire-item img { max-width: 14rem; }
}
@media (max-width: 36rem) {
  body { font-size: 1.0625rem; }
  .wordmark { width: 100%; }
  .site-nav { gap: 0.25rem 1.1rem; }
  .clinical { padding: 1.5rem; }
}
