/* =========================================================
   NURTURING WITH ELODIE — design tokens
   Palette: warm linen, deep olive, muted terracotta, sandy clay.
   Display: Fraunces (soft) · Body: Karla · Notes: Caveat
   ========================================================= */

:root{
  --bg:            #EFE8DA;   /* warm linen background */
  --bg-card:       #FBF7EF;   /* paper card surface */
  --bg-card-deep:  #E7DEC9;   /* slightly deeper card, for nested surfaces */
  --ink:           #3B4430;   /* deep olive-charcoal — body text */
  --ink-soft:      #5C6650;   /* softened ink for secondary text */
  --olive:         #6B7A4F;   /* primary brand olive */
  --olive-deep:    #444E33;   /* deep olive — inverted sections, hovers */
  --terracotta:    #B5673F;   /* muted rust — accent / CTA */
  --terracotta-deep:#8F4F30;
  --clay:          #D8B48C;   /* soft sandy clay — highlights, tags */
  --line:          #CBBFA0;   /* hairline borders */
  --cream:         #FBF7EF;
  --shadow:        rgba(59,68,48,.10);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Karla", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-note:    "Caveat", cursive;

  --container: 1120px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.15; margin:0 0 .5em; color:var(--ink); }
h1{ font-size:clamp(2.4rem, 4.6vw, 3.6rem); font-weight:560; letter-spacing:-.01em; }
h2{ font-size:clamp(1.7rem, 3vw, 2.35rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; }
.lede{ font-size:1.18rem; color:var(--ink-soft); }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 28px; }
@media (max-width:430px){ .container{ padding:0 18px; } }
.section{ padding-block:40px; }
.section--tight{ padding-block:24px; }
@media (max-width:720px){
  .section{ padding-block:30px; }
  body{ font-size:16px; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-body); font-weight:700; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--terracotta-deep);
  margin-bottom:1em;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--terracotta-deep); display:inline-block; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2.5px solid var(--terracotta); outline-offset:3px; border-radius:4px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  font-family:var(--font-body); font-weight:700; font-size:.98rem;
  padding:14px 26px; border-radius:999px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn:hover{ transform:translateY(-1px); }
/* Long labels (especially in French) must wrap on a phone rather than
   run off the side of the screen. */
@media (max-width:640px){
  .btn{ white-space:normal; padding:13px 20px; max-width:100%; text-align:center; }
}
.btn-primary{ background:var(--terracotta); color:var(--cream); }
.btn-primary:hover{ background:var(--terracotta-deep); }
.btn-ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--bg); }
.btn-on-dark{ background:var(--clay); color:var(--olive-deep); }
.btn-on-dark:hover{ background:var(--cream); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(239,232,218,.92); backdrop-filter:saturate(140%) blur(6px);
  border-bottom:1px solid var(--line);
}
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; gap:20px; }
.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0; }
.logo svg{ width:34px; height:34px; color:var(--olive); }
.logo img{ width:40px; height:40px; }
.logo-word{ font-family:var(--font-display); font-size:1.28rem; color:var(--ink); font-weight:600; letter-spacing:-.01em; }
.logo-word em{ font-style:italic; color:var(--terracotta); }

.nav-links{ display:flex; align-items:center; gap:6px; list-style:none; margin:0; padding:0; }
.nav-links a{
  display:inline-block; padding:9px 14px; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:.95rem; color:var(--ink-soft); transition:background .15s, color .15s;
}
.nav-links a:hover{ background:var(--bg-card-deep); color:var(--ink); }
.nav-links a[aria-current="page"]{ background:var(--olive); color:var(--cream); }

.nav-right{ display:flex; align-items:center; gap:14px; }
.lang-switch{ display:flex; border:1.5px solid var(--ink); border-radius:999px; overflow:hidden; font-weight:700; font-size:.82rem; }
.lang-switch a{ padding:7px 12px; text-decoration:none; color:var(--ink); display:inline-flex; align-items:center; gap:6px; }
.lang-switch a.is-active{ background:var(--ink); color:var(--bg); }
.lang-switch .flag{ width:18px; height:13px; border-radius:2px; flex-shrink:0; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle svg{ display:block; width:26px; height:26px; color:var(--ink); }

@media (max-width:900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; z-index:60;
    background:var(--bg); border-bottom:1px solid var(--line);
    box-shadow:0 14px 28px var(--shadow);
    flex-direction:column; align-items:flex-start;
    padding:8px 18px 16px; gap:2px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    visibility:hidden; transition:opacity .18s, transform .18s, visibility .18s;
  }
  .nav-links.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; visibility:visible; }
  /* Menu items sit to the left, indented from the edge. */
  .nav-links a{ padding:13px 14px; font-size:1.05rem; text-align:left; }

  /* Phone header: logo, then the burger right beside it, language pills hard right.
     The logo must be allowed to shrink or it pushes the flags off screen. */
  .nav-row{ padding:12px 18px; gap:10px; }
  .logo{ flex-shrink:1; min-width:0; }
  .logo img{ width:34px; height:34px; }
  .logo-word{ font-size:1.05rem; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; line-height:0; }
  .nav-right{ margin-left:auto; flex-shrink:0; }
}

@media (max-width:430px){
  .nav-row{ padding:10px 14px; gap:8px; }
  .nav-links{ padding:8px 14px 14px; }
  .logo img{ width:30px; height:30px; }
  .logo-word{ font-size:.92rem; }
  .lang-switch{ font-size:.72rem; }
  .lang-switch a{ padding:6px 6px; gap:5px; }
  .lang-switch .flag{ width:15px; height:11px; }
}
/* Safety net for very narrow phones: keep the mark, drop the wordmark
   rather than let the header wrap or overflow. */
@media (max-width:359px){
  .logo-word{ display:none; }
}

/* =========================================================
   MARGIN NOTE — signature element.
   A handwritten aside from Elodie, used once or twice per
   page. Keep it rare: it only works because it's uncommon.
   ========================================================= */
.margin-note{
  font-family:var(--font-note); color:var(--terracotta-deep);
  font-size:1.5rem; line-height:1.25; max-width:230px;
  transform:rotate(-3deg);
  position:relative;
}
.margin-note::before{
  content:""; position:absolute; left:-18px; top:6px; width:9px; height:9px;
  border-radius:50%; background:var(--terracotta);
}

/* =========================================================
   ORGANIC IMAGE PLACEHOLDER
   Soft blob-mask frame standing in for a real photo. Swap
   the <img> inside .ph-frame for a real photo whenever one
   is ready — the mask, border and caption keep working.
   ========================================================= */
.ph-frame{
  position:relative; overflow:hidden; background:linear-gradient(155deg, var(--clay), var(--olive) 130%);
  aspect-ratio:4/5;
}
.ph-frame.is-wide{ aspect-ratio:16/11; }
.ph-frame.is-round{ border-radius:50%; aspect-ratio:1/1; }
.ph-frame.shape-a{ border-radius:62% 38% 55% 45% / 48% 42% 58% 52%; }
.ph-frame.shape-b{ border-radius:38% 62% 45% 55% / 55% 48% 52% 45%; }
.ph-frame .ph-icon{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.ph-frame .ph-icon svg{ width:34%; height:34%; color:rgba(251,247,239,.85); }
.ph-frame > img{ display:block; width:100%; height:100%; object-fit:cover; }
.ph-frame .ph-tag{
  position:absolute; left:50%; bottom:20px; transform:translateX(-50%);
  width:max-content; max-width:76%; text-align:center; line-height:1.45;
  background:rgba(59,68,48,.55); color:var(--cream);
  font-size:.72rem; font-weight:700; letter-spacing:.04em; padding:5px 12px; border-radius:14px;
}

/* =========================================================
   ORGANIC DIVIDER — a hand-drawn thread instead of a hairline.
   ========================================================= */
.thread{ display:block; width:100%; height:20px; margin:0 auto; color:var(--olive); opacity:.55; }

/* =========================================================
   HERO
   ========================================================= */
.hero{ padding-block:64px 40px; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hero-copy .btn{ margin-top:8px; }
.hero-art{ position:relative; }
.hero-art .margin-note{ position:absolute; right:-6px; bottom:-22px; z-index:2; }
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-art{ order:-1; max-width:280px; margin:0 auto; }
  .hero-art .margin-note{ display:none; }
}

/* =========================================================
   QUOTE BAND — inverted color section, used sparingly
   ========================================================= */
.band{ background:var(--olive-deep); color:var(--cream); }
.band h2, .band h1{ color:var(--cream); }
.band .lede, .band p{ color:var(--cream); }
.band .eyebrow{ color:var(--clay); }
.band .eyebrow::before{ background:var(--clay); }
.quote-band{ padding-block:64px; text-align:center; }
.quote-band svg.quote-mark{ width:36px; height:36px; color:var(--clay); margin-bottom:18px; }
.quote-band blockquote{ font-family:var(--font-display); font-style:italic; font-size:clamp(1.35rem,2.6vw,2rem); max-width:820px; margin:0 auto; font-weight:500; }
.quote-band cite{ display:block; margin-top:18px; font-family:var(--font-body); font-style:normal; font-weight:700; font-size:.9rem; color:var(--clay); letter-spacing:.03em; }

/* =========================================================
   TEASER CARDS (home quick-nav)
   ========================================================= */
.teaser-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:980px){ .teaser-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .teaser-grid{ grid-template-columns:1fr; } }
.teaser-card{
  background:var(--bg-card); border-radius:var(--radius-md); padding:26px 22px; text-decoration:none; color:var(--ink);
  border:1px solid var(--line); transition:transform .16s ease, box-shadow .16s ease;
  display:flex; flex-direction:column; gap:12px;
}
.teaser-card:hover{ transform:translateY(-4px); box-shadow:0 14px 28px var(--shadow); }
.teaser-card .ic{ width:40px; height:40px; color:var(--terracotta); }
.teaser-card h3{ margin-bottom:2px; }
.teaser-card p{ margin:0; color:var(--ink-soft); font-size:.96rem; }
.teaser-card .go{ margin-top:auto; display:flex; align-items:center; gap:6px; font-weight:700; font-size:.88rem; color:var(--olive-deep); }
.teaser-card .go svg{ width:15px; height:15px; }

/* =========================================================
   ABOUT teaser / bio blocks
   ========================================================= */
.split{ display:grid; grid-template-columns:.8fr 1.2fr; gap:52px; align-items:center; }
.split.reverse{ grid-template-columns:1.2fr .8fr; }
.split.reverse .split-art{ order:2; }
@media (max-width:860px){
  .split, .split.reverse{ grid-template-columns:1fr; }
  .split-art{ max-width:280px; margin:0 auto; order:-1 !important; }
}

/* =========================================================
   TIMELINE (training — genuinely chronological, so dates
   as markers are earned here, unlike a generic numbered list)
   ========================================================= */
.timeline{ list-style:none; margin:0; padding:0; border-left:2px solid var(--line); }
.timeline li{ position:relative; padding:2px 0 32px 32px; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{
  content:""; position:absolute; left:-7px; top:6px; width:12px; height:12px; border-radius:50%;
  background:var(--cream); border:2.5px solid var(--terracotta);
}
.timeline .yr{ font-size:.85rem; color:var(--terracotta-deep); font-weight:700; letter-spacing:.02em; }
.timeline h3{ margin:.15em 0 .3em; }
.timeline p{ color:var(--ink-soft); margin:0; }

/* =========================================================
   BADGES (professional standards)
   ========================================================= */
.badge-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:760px){ .badge-grid{ grid-template-columns:1fr; } }
.badge-card{ background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius-md); padding:24px; text-align:left; }
.badge-card svg{ width:32px; height:32px; color:var(--olive); margin-bottom:12px; }
.badge-card h3{ font-size:1.05rem; margin-bottom:.25em; }
.badge-card p{ color:var(--ink-soft); font-size:.92rem; margin:0; }

/* =========================================================
   PACKAGE CARDS
   ========================================================= */
.pkg-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
@media (max-width:900px){ .pkg-grid{ grid-template-columns:1fr; } }
.pkg-card{
  background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px 26px; display:flex; flex-direction:column; gap:14px; position:relative;
}
.pkg-card.is-featured{ border-color:var(--terracotta); box-shadow:0 16px 32px var(--shadow); }
.pkg-name{ font-family:var(--font-display); font-size:1.4rem; }
.pkg-hours{ color:var(--ink-soft); font-size:.95rem; }
.pkg-price{ font-family:var(--font-display); font-size:2.1rem; font-weight:600; color:var(--olive-deep); }
.pkg-rate{ font-size:.95rem; color:var(--ink-soft); }
.pkg-card hr{ border:none; border-top:1px solid var(--line); margin:4px 0; }
.pkg-card .btn{ margin-top:auto; align-self:flex-start; }
.pkg-extra{
  margin:28px 0 28px; text-align:center; font-size:.95rem; color:var(--ink-soft);
  background:var(--bg-card-deep); border-radius:var(--radius-sm); padding:14px;
}

.info-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:8px; }
@media (max-width:760px){ .info-strip{ grid-template-columns:1fr; } }
.info-strip .item{ display:flex; gap:12px; }
.info-strip svg{ width:24px; height:24px; color:var(--terracotta); flex-shrink:0; margin-top:2px; }
.info-strip h3{ font-size:1rem; margin-bottom:.2em; }
.info-strip p{ font-size:.92rem; color:var(--ink-soft); margin:0; }

.callout{
  background:var(--clay); border-radius:var(--radius-md); padding:26px 28px; display:flex; gap:18px; align-items:flex-start;
}
.callout svg{ width:28px; height:28px; color:var(--olive-deep); flex-shrink:0; margin-top:2px; }
.callout h3{ margin-bottom:.2em; }
.callout p{ margin:0; color:var(--olive-deep); }

/* =========================================================
   CHECK LIST (postnatal support offerings)
   ========================================================= */
.check-list{ list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.check-list li{ display:flex; gap:14px; align-items:flex-start; }
.check-list svg{ width:22px; height:22px; color:var(--olive); flex-shrink:0; margin-top:4px; }

/* =========================================================
   FORM (contact)
   ========================================================= */
.form-card{ background:var(--bg-card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:34px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-weight:700; font-size:.92rem; margin-bottom:6px; }
.field .hint{ font-size:.82rem; color:var(--ink-soft); font-weight:400; margin-left:6px; }
.field input, .field textarea, .field select{
  width:100%; font-family:var(--font-body); font-size:1rem; padding:12px 14px; border-radius:var(--radius-sm);
  border:1.5px solid var(--line); background:var(--cream); color:var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--olive); }
.field select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B4430' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:20px;
  padding-right:44px; cursor:pointer;
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:600px){ .field-row{ grid-template-columns:1fr; } }
.form-note{ font-size:.85rem; color:var(--ink-soft); margin-top:14px; }

/* Consent checkbox. The label wraps the input so the whole line is clickable. */
.field-consent{ margin-bottom:18px; }
.field-consent .checkbox{
  display:flex; gap:11px; align-items:flex-start; cursor:pointer;
  font-weight:400; font-size:.88rem; line-height:1.5; color:var(--ink-soft); margin-bottom:0;
}
.field-consent .checkbox input[type="checkbox"]{
  width:18px; height:18px; flex-shrink:0; margin-top:2px; padding:0;
  accent-color:var(--olive); cursor:pointer;
}
.field-consent .checkbox:hover span{ color:var(--ink); }

/* Turnstile widget: keep it from pushing the button too far down. */
.cf-turnstile{ margin-bottom:20px; }

/* Form status line.
   Empty by default (no box), becomes a tinted panel only when there is
   something to say, so it can't be mistaken for ordinary body text. */
#form-status{ margin-top:16px; font-weight:700; }
#form-status:empty{ display:none; }
#form-status[data-state="sending"]{ color:var(--ink-soft); font-weight:400; }
#form-status[data-state="err"]{
  color:var(--terracotta-deep);
  background:rgba(181,103,63,.09);
  border:1px solid var(--terracotta);
  border-radius:var(--radius-sm);
  padding:12px 15px;
  font-weight:400;
}

/* Confirmation shown IN PLACE OF the form once a message is sent, so the
   Send button disappears and there is no doubt the message went. */
.form-sent{
  text-align:center;
  padding:14px 4px 6px;
  animation:form-sent-in .45s ease-out both;
}
@keyframes form-sent-in{
  from{ opacity:0; transform:translateY(10px); }
  to{ opacity:1; transform:none; }
}
.form-sent:focus{ outline:none; }
.form-sent-mark{
  width:66px; height:66px; margin:0 auto 22px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--olive); color:var(--cream);
}
.form-sent-mark svg{ width:32px; height:32px; }
.form-sent h2{
  font-family:var(--font-display);
  font-size:1.55rem; line-height:1.25;
  margin:0 0 12px; color:var(--olive-deep);
}
.form-sent p{
  margin:0 auto; max-width:36ch;
  color:var(--ink-soft); font-size:1rem;
}
.form-sent-next{
  margin:24px auto 0; padding-top:20px;
  border-top:1px solid var(--line);
  font-size:.9rem; color:var(--ink-soft);
}
.form-sent-next a{ color:var(--terracotta-deep); font-weight:700; }

.contact-info{ display:grid; gap:18px; }
.contact-info .row{ display:flex; gap:14px; align-items:flex-start; }
.contact-info svg{ width:22px; height:22px; color:var(--terracotta); flex-shrink:0; margin-top:2px; }
.contact-info a{ text-decoration:none; font-weight:700; }
.contact-info a:hover{ text-decoration:underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--olive-deep); color:var(--cream); padding:56px 0 28px; }
.site-footer a{ color:var(--cream); text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
.footer-grid h4{ font-family:var(--font-body); font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--clay); margin-bottom:14px; }
.footer-links{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer-social{ display:flex; gap:12px; margin-top:14px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1.5px solid var(--clay); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{ margin-top:44px; padding-top:22px; border-top:1px solid rgba(251,247,239,.18); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.85rem; color:var(--clay); }

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero{ padding-block:56px 20px; }
.page-hero .eyebrow{ margin-bottom:.6em; }
.page-hero p.lede{ max-width:640px; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
@media (max-width:800px){ .two-col{ grid-template-columns:1fr; } }

.center{ text-align:center; }
.max-prose{ max-width:700px; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.stack-lg > * + *{ margin-top:22px; }
.tag-inline{ display:inline-block; background:var(--bg-card-deep); border-radius:999px; padding:4px 12px; font-size:.8rem; font-weight:700; color:var(--olive-deep); }
