/* ParentLink, Option A: "Stages"
   A calm, bookish site organised around the stages of having a baby.
   Type: Alegreya (headings) + Alegreya Sans (text). Scale: 1.25 from 18px.
   Colour: green-tinted paper, dark green ink, logo green for structure, deep logo orange for actions. */

:root {
  color-scheme: light;
  --paper: #FAFBF8;
  --surface: #FFFFFF;
  --wash: #EBF2EC;
  --ink: #1C2B23;
  --muted: #56665C;
  --green: #00703C;
  --green-deep: #005A30;
  --orange: #D24927;
  --orange-ink: #B53D1E;
  --line: #D4DFD7;

  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;

  --s-1: .8rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.5625rem; --s3: 1.953rem; --s4: 2.441rem; --s5: 3.052rem; --s6: 3.815rem;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(var(--s4), 6vw, var(--s6)); letter-spacing: -.012em; }
h2 { font-size: clamp(var(--s2), 3.4vw, var(--s4)); }
h3 { font-size: var(--s1); font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons: one action colour, one quiet outline. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .55em 1.35em;
  background: var(--orange-ink); color: #fff; border: 2px solid var(--orange-ink); border-radius: 999px;
  font: 700 var(--s0)/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #9C3318; border-color: #9C3318; color: #fff; }
.btn-quiet { background: transparent; color: var(--green); border-color: var(--green); }
.btn-quiet:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------------------------------------------------------------- header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250, 251, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 40px; width: auto; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main > a, .has-sub > a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 6px; }
nav.main > a:hover, .has-sub > a:hover { color: var(--green); }
nav.main > a[aria-current], .has-sub > a.current { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
nav.main > .btn { margin-left: 10px; padding: .4em 1.2em; min-height: 44px; color: #fff; }
nav.main > .btn:hover { color: #fff; }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; left: 0; top: 100%; min-width: 260px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(28, 43, 35, .35); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.sub a:hover, .sub a[aria-current] { background: var(--wash); color: var(--green-deep); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------------------------------------------------------------- homepage */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; min-height: min(78vh, 720px); }
.hero-copy { align-self: center; padding: 72px var(--gutter) 72px max(var(--gutter), calc((100vw - 74rem) / 2 + var(--gutter))); display: grid; gap: 28px; justify-items: start; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: .98; letter-spacing: -.02em; max-width: 9ch; }
.hero .lead { font-size: var(--s1); color: var(--muted); max-width: 30rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; border-bottom-left-radius: 240px; }

.trust { display: flex; flex-wrap: wrap; gap: 16px 40px; padding-block: 28px; color: var(--muted); font-size: var(--s-1); border-bottom: 1px solid var(--line); }
.trust p { display: flex; align-items: center; gap: 12px; max-width: 24rem; }
.trust img { height: 40px; width: auto; }

/* The signature: a rail from pregnancy to the first months. */
.stages { padding-block: 96px; }
.stages h2 { max-width: 16em; }
.stages .intro { margin-top: 14px; color: var(--muted); max-width: var(--measure); font-size: var(--s1); }
.rail { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--green) 0 66%, var(--orange) 100%); }
.stage { position: relative; padding-top: 48px; min-width: 0; }
.stage::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); }
.stage:nth-child(2)::before { background: var(--green); }
.stage:nth-child(3)::before { background: var(--orange); border-color: var(--orange); }
.stage h3 { font-size: var(--s3); font-weight: 500; }
.stage > p { margin-top: 8px; color: var(--muted); min-height: 3.3em; }
.stage ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.stage li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.stage li a:hover { color: var(--green); }
.stage li a:hover span:first-child { text-decoration: underline; text-underline-offset: .18em; }
.cost { color: var(--muted); font-weight: 400; font-size: var(--s-1); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }

.block { padding-block: 88px; }
.section-head { display: grid; gap: 12px; max-width: var(--measure); margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: var(--s1); }

.class-list { border-top: 2px solid var(--ink); }
.class-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 7rem; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.class-row .when { font-weight: 700; color: var(--green); font-size: var(--s-1); line-height: 1.5; }
.class-row strong { display: block; font-family: var(--serif); font-weight: 500; font-size: var(--s2); line-height: 1.2; margin-bottom: 4px; color: var(--ink); }
.class-row .what { color: var(--muted); }
.class-row .cost { justify-self: end; font-family: var(--serif); font-size: var(--s2); color: var(--ink); }
.class-row:hover strong { color: var(--green); }

.about { background: var(--wash); }
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.about-split > div { display: grid; gap: 18px; justify-items: start; }
.about-split p { color: var(--muted); max-width: var(--measure); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; max-width: 170px; }
.team figcaption { margin-top: 14px; color: var(--muted); font-size: var(--s-1); }
.team strong { display: block; color: var(--ink); font-size: var(--s0); }

.words blockquote { margin: 0; }
.words .big p { font-family: var(--serif); font-size: clamp(var(--s3), 4vw, var(--s5)); line-height: 1.2; max-width: 22em; text-wrap: pretty; }
.words .big p::before { content: "\201C"; color: var(--orange); }
.words .big p::after { content: "\201D"; color: var(--orange); }
.words cite { display: block; margin-top: 18px; font-style: normal; color: var(--muted); }
.small-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.small-quotes p { font-size: var(--s1); }

.welcome { padding-top: 0; }
.welcome .births { margin-top: 20px; font-family: var(--serif); font-size: clamp(var(--s2), 3vw, var(--s3)); line-height: 1.35; color: var(--green-deep); max-width: 34em; }

.cta { background: var(--green); color: #fff; padding-block: 72px; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; font-size: var(--s1); color: #DDEDE3; max-width: 30rem; }
.cta dl { margin: 0; display: grid; }
.cta dl div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.cta dl div:first-child { border-top: 1px solid rgba(255, 255, 255, .25); }
.cta dt { font-size: var(--s-1); color: #C7E0D1; }
.cta dd { margin: 0; font-size: var(--s1); font-weight: 700; }
.cta a { color: #fff; }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding-block: 56px 48px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head h1 { max-width: 18em; }
.page-head .lead { font-size: var(--s1); color: var(--muted); max-width: var(--measure); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--s-1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .sep { color: #A9BAAF; }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 64px; align-items: start; padding-block: 56px 96px; }
.page-body.full { grid-template-columns: minmax(0, 1fr); }
.page-body.full .prose { max-width: 52rem; }

.prose { min-width: 0; max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: var(--s3); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--green); }
.prose img.feature { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 32px; }
.prose img.feature.contain { object-fit: contain; background: var(--surface); padding: 24px; border: 1px solid var(--line); }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--orange); font-family: var(--serif); font-size: var(--s1); line-height: 1.5; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: var(--s-1); color: var(--muted); }
.callout { background: var(--wash); border-radius: 8px; padding: 20px 24px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cols2 > div > * + * { margin-top: .6em; }
.cols2 h3 { margin-top: 0; }
.small { font-size: var(--s-1); color: var(--muted); }

.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 56px; margin: 0 !important; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); font: 700 var(--s0)/32px var(--serif); text-align: center; background: var(--paper); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; font-family: var(--serif); font-size: var(--s1); font-weight: 700; margin-bottom: 4px; }

.price-list { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.price-list td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-list td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 16px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 1.6rem/1 var(--serif); color: var(--green); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 18px; color: var(--muted); }

.listing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.listing > div { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--s-1); color: var(--muted); }
.listing strong { display: block; color: var(--ink); font-size: var(--s0); }
.link-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.link-groups ul { list-style: none; padding: 0; margin-top: 10px; }
.link-groups li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.timeline-list section { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline-list h2 { margin: 0; font-size: var(--s2); color: var(--green); font-variant-numeric: lining-nums; }
.timeline-list ul { margin: 0; }

.video-link { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; }
.video-link:hover { border-color: var(--green); color: var(--ink); }
.video-link .play { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--orange-ink); position: relative; }
.video-link .play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-link strong { display: block; font-family: var(--serif); font-size: var(--s1); }
.video-link span:not(.play) { color: var(--muted); font-size: var(--s-1); }

.side-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: grid; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.side-card .price { font-family: var(--serif); font-size: var(--s4); line-height: 1; font-variant-numeric: lining-nums; }
.side-card .price small { font-family: var(--sans); font-size: var(--s-1); color: var(--muted); }
.side-card h2 { font-size: var(--s2); }
.side-card dl { margin: 4px 0; }
.side-card dl div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: var(--s-1); }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 500; }
.side-card .note { font-size: var(--s-1); color: var(--muted); }
.intakes { width: 100%; border-collapse: collapse; font-size: var(--s-1); }
.intakes caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.intakes td { padding: 8px 0; border-top: 1px solid var(--line); }
.intakes td:last-child { text-align: right; font-weight: 700; }
.intakes .open { color: var(--green); }
.intakes .full { color: var(--muted); }

.hub-list { padding-block: 32px 96px; display: grid; }
.hub-item { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hub-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.hub-item img.contain { object-fit: contain; background: var(--surface); padding: 10px; border: 1px solid var(--line); }
.hub-text strong { display: block; font-family: var(--serif); font-weight: 500; font-size: var(--s3); line-height: 1.15; }
.hub-text span { display: block; margin-top: 6px; color: var(--muted); max-width: var(--measure); }
.hub-price { font-family: var(--serif); font-size: var(--s1); white-space: nowrap; font-variant-numeric: lining-nums; }
.hub-item:hover strong { color: var(--green); }

.team-full { display: grid; margin-top: 12px; }
.bio { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); }
.bio img { width: 8rem; height: 8rem; object-fit: cover; border-radius: 50%; }
.bio h3 { margin: 0; font-size: var(--s2); font-weight: 500; }
.bio .role { color: var(--green); font-weight: 700; margin: 4px 0 10px; }

.form-card { display: grid; gap: 18px; min-width: 0; }
.form-card .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-card label { display: grid; gap: 6px; font-weight: 700; font-size: var(--s-1); }
.form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink); background: var(--surface); border: 1.5px solid #B9C9BE; border-radius: 8px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 112, 60, .18); }
.form-card .btn { justify-self: start; }
.sent { padding: 14px 18px; background: var(--wash); border-left: 3px solid var(--green); border-radius: 4px; }

/* ---------------------------------------------------------------- footer */
footer.site { background: var(--ink); color: #C9D6CE; padding-block: 64px 32px; font-size: var(--s-1); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
footer.site .tagline { font-family: var(--serif); font-size: var(--s3); color: #fff; line-height: 1.1; margin-bottom: 16px; }
footer.site .brand p + p { margin-top: 12px; }
footer.site h2 { font-family: var(--sans); font-size: var(--s0); font-weight: 700; color: #fff; margin-bottom: 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { padding: 4px 0; }
footer.site a { color: #C9D6CE; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); color: #9DB1A5; }

.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .menu-toggle { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100vh - 76px); overflow-y: auto; }
  nav.main.open { display: flex; }
  nav.main > a, .has-sub > a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none !important; }
  .has-sub > a::after { display: none; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 4px 0 8px 14px; min-width: 0; background: none; }
  .sub a { padding: 7px 0; color: var(--muted); }
  nav.main > .btn { margin: 18px 0 0; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 48px var(--gutter) 40px; }
  .hero-photo { height: 340px; border-bottom-left-radius: 0; border-top-left-radius: 160px; }
  .rail { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 44px; }
  .rail::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--green) 0 66%, var(--orange) 100%); }
  .stage { padding-top: 0; }
  .stage::before { left: -44px; }
  .stage > p { min-height: 0; }
  .about-split, .cta .wrap, .page-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side-card { position: static; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .small-quotes { grid-template-columns: minmax(0, 1fr); }
  footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.site .brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  html { font-size: 106.25%; }
  .stages, .block { padding-block: 64px; }
  .class-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .class-row .when { grid-column: 1 / -1; }
  .hub-item { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 18px; }
  .hub-price { grid-column: 2; font-size: var(--s0); }
  .hub-text strong { font-size: var(--s2); }
  .cols2, .listing, .link-groups, .form-card .row { grid-template-columns: minmax(0, 1fr); }
  .bio { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .timeline-list section { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
