/*
Theme Name: Siobhan Pearce
Theme URI: https://siobhanpearce.co.uk
Author: Siobhan Pearce
Author URI: https://siobhanpearce.co.uk
Description: A warm, cream-palette block theme for doula and lactation consultant Siobhan Pearce.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siobhan-pearce
*/

:root {
  color-scheme: light only;
  --bg: #F8F5F0;
  --bg-alt: #EFE7DD;
  --card-bg: #FDFBF7;
  --accent: #8E9B8A;
  --accent-dark: #6F7C6B;
  --headline: #2E2A27;
  --subtext: #6C645E;
  --blush: #D8C4BC;
  --forest-shadow: #4A554A;
  --hairline: rgba(46, 42, 39, 0.12);
  --shadow-soft: 0 2px 12px rgba(46, 42, 39, 0.04);
  --shadow-card: 0 4px 24px rgba(142, 155, 138, 0.08);
  --shadow-card-hover: 0 12px 36px rgba(142, 155, 138, 0.14);
  --shadow-button: 0 8px 24px rgba(142, 155, 138, 0.3);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-base: 0.4s var(--ease);
  --transition-slow: 0.6s var(--ease);
  --content-size: 800px;
  --wide-size: 1280px;
  --section-gap: 7rem;
}

html { scroll-behavior: smooth; color-scheme: light only; }

body {
  background: var(--bg);
  color: var(--headline);
  font-family: 'Lato', -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p { color: var(--subtext); text-wrap: pretty; }
em { font-style: italic; color: var(--accent-dark); }

/* Footer top-margin reset */
.wp-site-blocks > footer { margin-block-start: 0; }

/* Reset bottom margin on top-level groups so sections butt edge-to-edge */
.wp-site-blocks > main > .wp-block-group { margin-block-start: 0; margin-block-end: 0; }

/* ------- Typography helpers ------- */
.h1, .has-h-1-font-size { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.015em; color: var(--headline); text-wrap: balance; }
.h2, .has-h-2-font-size { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; color: var(--headline); text-wrap: balance; }
.h3, .has-h-3-font-size { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--headline); }
.h4, .has-h-4-font-size { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--headline); }

.lede { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--subtext); }

.eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-dark); display: inline-block; margin-bottom: 16px;
}

.flourish::after { content: ''; display: block; width: 40px; height: 1px; background: var(--accent); margin-top: 20px; }

/* Center hairline flourish helper */
.flourish-center { display: inline-block; }
.flourish-center::after { content: ''; display: block; width: 40px; height: 1px; background: var(--accent); margin: 20px auto 0; }

.wide-wrap { max-width: var(--wide-size); margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; }
.narrow-wrap { max-width: var(--content-size); margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; }

/* ------- Buttons (re-style core wp button to match) ------- */
/* The .btn / .btn-ghost / .btn-primary classes get applied to BOTH the wrapper
   .wp-block-button div AND we want only the inner __link to render visually.
   Zero out wrapper paint so only the link is the visible button. */
.wp-block-button,
.wp-block-button.btn,
.wp-block-button.btn-primary,
.wp-block-button.btn-ghost,
.wp-block-button.btn-text,
.wp-block-button.btn-small {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.wp-block-button__link,
a.btn,
button.btn {
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 38px !important; border-radius: var(--radius-pill) !important;
  border: 1px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; transition: all var(--transition-base);
  line-height: 1.2; outline: none; box-shadow: none;
}
.wp-block-button__link:focus,
.btn:focus { outline: none; box-shadow: none; }
.wp-block-button__link:focus-visible,
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(142, 155, 138, 0.35); }
.btn-primary .wp-block-button__link,
.is-style-primary .wp-block-button__link,
a.btn-primary,
button.btn-primary {
  background: var(--accent-dark); color: #fff !important; border-color: var(--accent-dark);
}
.btn-primary .wp-block-button__link:hover,
.is-style-primary .wp-block-button__link:hover,
a.btn-primary:hover,
button.btn-primary:hover { background: var(--forest-shadow); border-color: var(--forest-shadow); box-shadow: var(--shadow-button); color: #fff !important; }
.btn-ghost .wp-block-button__link,
.is-style-ghost .wp-block-button__link,
a.btn-ghost,
button.btn-ghost {
  background: transparent !important; color: var(--headline) !important; border: 1px solid var(--accent) !important;
}
.btn-ghost .wp-block-button__link:hover,
.is-style-ghost .wp-block-button__link:hover,
a.btn-ghost:hover,
button.btn-ghost:hover { background: var(--accent-dark) !important; color: #fff !important; border-color: var(--accent-dark) !important; box-shadow: var(--shadow-button); }
.btn-small .wp-block-button__link,
.is-style-small .wp-block-button__link,
a.btn-small,
button.btn-small { padding: 11px 24px !important; font-size: 11px !important; }
.btn-text .wp-block-button__link,
.is-style-text .wp-block-button__link,
a.btn-text,
button.btn-text {
  font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-dark) !important;
  background: transparent !important;
  padding: 0 0 4px 0 !important;
  border: none !important;
  border-bottom: 1px solid var(--accent) !important;
  border-radius: 0 !important;
  transition: all var(--transition-base); display: inline-block;
}
.btn-text .wp-block-button__link:hover,
.is-style-text .wp-block-button__link:hover,
a.btn-text:hover,
button.btn-text:hover { color: var(--headline) !important; border-bottom-color: var(--headline) !important; letter-spacing: 0.22em; background: transparent !important; }

/* ------- Site Header ------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 48px; max-width: var(--wide-size); margin: 0 auto; gap: 32px; flex-wrap: wrap; }
.wordmark-link { text-decoration: none; color: inherit; line-height: 1; }
.wordmark { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 28px; color: var(--headline); }
.wordmark em { font-style: italic; color: var(--accent-dark); }
.wordmark-sub { display: block; font-family: 'Lato', sans-serif; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--subtext); margin-top: 4px; }
/* ------- HERO (homepage magazine) ------- */
.hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0 0;
  position: relative;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 140px;
}
.hero-grid.no-overlap { padding-bottom: 0; }
.hero-text { padding-right: 12px; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { max-width: 32ch; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* HERO compact center variant (contact) */
.hero-compact { padding: clamp(4rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem); background: var(--bg); text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-inner h1 { margin-bottom: 24px; }
.hero-inner .lede { margin: 0 auto; max-width: 52ch; }

/* HERO subpage with extra bottom space */
.hero.subpage { padding: clamp(4rem, 8vw, 6.5rem) 0 var(--section-gap); }
.hero.subpage .hero-grid { padding-bottom: 0; gap: 72px; }

/* ------- Service mini cards (overlap) ------- */
.service-mini-wrap { position: relative; margin-top: -120px; z-index: 4; }
.service-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-mini {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.service-mini-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 14px;
  color: var(--accent-dark); display: block; margin-bottom: 8px;
}
.service-mini h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; line-height: 1.2; margin-bottom: 12px; color: var(--headline); }
.service-mini p { font-size: 14px; line-height: 1.65; color: var(--subtext); }

/* ------- Section band backgrounds ------- */
.band-base { background: var(--bg); }
.band-alt { background: var(--bg-alt); }
.section-pad { padding: var(--section-gap) 0; }

/* ------- INTRO ------- */
.intro { padding: calc(var(--section-gap) + 1rem) 0 var(--section-gap); background: var(--bg-alt); position: relative; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.intro-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; background: var(--bg); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-text p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.intro-text .btn-text { margin-top: 16px; }

/* ------- SERVICE DETAIL STRIP ------- */
.service-detail { padding: var(--section-gap) 0; background: var(--bg); }
.service-detail-head { margin-bottom: 64px; max-width: 640px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-detail-item { border-top: 1px solid var(--accent); padding-top: 32px; }
.service-detail-item h3 { margin-bottom: 16px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--headline); }
.service-detail-item p { font-size: 15px; line-height: 1.75; margin-bottom: 20px; color: var(--subtext); }

/* ------- TRUST / Pill Badges ------- */
.trust { padding: var(--section-gap) 0; background: var(--bg-alt); text-align: center; }
.trust.base { background: var(--bg); }
.trust.alt { background: var(--bg-alt); }
.trust-head { max-width: 680px; margin: 0 auto 48px; }
.trust-head p { margin-top: 28px; font-size: 17px; }
.badge-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.pill-badge {
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  font-family: 'Lato', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--headline);
  border: 1px solid var(--accent);
  transition: all var(--transition-base);
  display: inline-block;
}
.pill-badge:hover { border-color: var(--accent-dark); box-shadow: var(--shadow-card); }

/* ------- APPROACH (ordered pillar list) ------- */
.approach { padding: var(--section-gap) 0; background: var(--bg); }
.approach.alt { background: var(--bg-alt); }
.approach.base { background: var(--bg); }
.approach-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.approach-head h2 { margin-bottom: 24px; }
.approach-head p { font-size: 17px; line-height: 1.8; max-width: 36ch; }
.pillars-list { list-style: none; border-left: 1px solid var(--accent); padding-left: 40px; margin: 0; }
.pillars-list li {
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 24px;
  transition: transform var(--transition-base);
}
.pillars-list li:hover { transform: translateX(6px); }
.pillars-list li:last-child { border-bottom: none; }
.pillar-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; color: var(--accent-dark); min-width: 36px; }
.pillar-name { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 26px; color: var(--headline); }

/* approach-head centered variant (about page) */
.approach-head.center { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.approach-head.center .eyebrow { display: inline-block; }
.approach-head.center h2 { display: inline-block; margin-bottom: 20px; }
.approach-head.center p { font-size: 17px; margin-top: 24px; }

/* 6 pillar grid (about) */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.pillar-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow-card); text-align: center; transition: all var(--transition-base); }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.pillar-card .name { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 26px; color: var(--headline); }
.pillar-card .name::after { content: ''; display: block; width: 32px; height: 1px; background: var(--accent); margin: 14px auto 0; }

/* 4-pillar approach (doula-services) */
.approach-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.approach-pillars .card {
  background: var(--card-bg); border-radius: var(--radius-lg); padding: 32px 24px;
  box-shadow: var(--shadow-card); text-align: center;
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--headline);
  transition: all var(--transition-base);
}
.approach-pillars .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.approach-pillars .card::after { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); margin: 12px auto 0; }

/* ------- WHO ------- */
.who { padding: var(--section-gap) 0; background: var(--bg-alt); }
.who.alt { background: var(--bg-alt); }
.who.base { background: var(--bg); }
.who-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.who-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 3/4; background: var(--bg); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
.who-text h2 { margin-bottom: 36px; }
.who-list { list-style: none; column-count: 1; margin: 0; padding: 0; }
.who-list li {
  padding: 16px 0;
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 22px; line-height: 1.4;
  color: var(--headline);
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 16px;
}
.who-list li:last-child { border-bottom: none; }
.who-list li::before { content: ''; width: 16px; height: 1px; background: var(--accent); flex-shrink: 0; display: inline-block; }

.who-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.who-head .eyebrow { display: inline-block; }
.who-head h2 { display: inline-block; margin-bottom: 20px; }
.who-head p { font-size: 17px; margin-top: 24px; }
.who-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.who-pill {
  margin-block-start: 24px !important;
  background: var(--card-bg);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--headline);
  border: 1px solid var(--hairline);
  transition: all var(--transition-base);
}
.who-pill:hover { border-color: var(--accent-dark); background: rgba(142, 155, 138, 0.08); }
.who-pill.wide-pill { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }

/* ------- TESTIMONIALS ------- */
.testimonials { padding: var(--section-gap) 0; background: var(--bg); }
.testimonials-head { text-align: center; margin-bottom: 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--wide-size); margin: 0 auto; }
.quote-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  display: flex; flex-direction: column;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 56px; line-height: 0.5;
  color: var(--accent); opacity: 0.6; margin-bottom: 16px;
}
.quote-card p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: 20px; line-height: 1.5;
  color: var(--headline); margin-bottom: 28px; flex: 1;
}
.quote-attr {
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--subtext);
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.testimonials-cta { text-align: center; margin-top: 56px; }

/* Quote band (single centred) */
.quote-band { padding: var(--section-gap) 0; background: var(--bg-alt); }
.quote-band .quote-card {
  max-width: 760px; margin: 0 auto;
  padding: 56px 48px; text-align: center;
  display: block;
}
.quote-band .quote-mark { font-size: 72px; margin-bottom: 24px; }
.quote-band .quote-card p { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; margin-bottom: 32px; }
.quote-band .quote-attr { max-width: 280px; margin: 0 auto; padding-top: 22px; }

/* ------- LOCATION ------- */
.location { padding: var(--section-gap) 0; background: var(--bg-alt); text-align: center; }
.location.base { background: var(--bg); }
.location.alt { background: var(--bg-alt); }
.location h2 { margin-bottom: 24px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.location p { max-width: 620px; margin: 0 auto 36px; font-size: 17px; }
.area-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 800px; margin: 0 auto; }
.area-pill {
  background: var(--card-bg);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: 'Lato', sans-serif;
  font-size: 13px; color: var(--headline);
  border: 1px solid var(--hairline);
  transition: all var(--transition-base);
  display: inline-block;
}
.area-pill:hover { border-color: var(--accent-dark); background: rgba(142, 155, 138, 0.08); }
.area-pill.bold {
  background: transparent;
  border: 1px solid var(--accent);
  padding: 14px 24px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.area-pill.bold:hover { border-color: var(--accent-dark); box-shadow: var(--shadow-card); }

/* ------- FINAL CTA ------- */
.final-cta { padding: 0; background: var(--bg); }
.final-cta-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 520px; }
.final-cta-photo { background: var(--bg-alt); overflow: hidden; }
.final-cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-text {
  background: var(--bg); color: var(--headline);
  padding: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
}
.final-cta-text .eyebrow { color: var(--accent-dark); }
.final-cta-text h2 { color: var(--headline); margin-bottom: 24px; max-width: 14ch; }
.final-cta-text p { color: var(--subtext); font-size: 17px; margin-bottom: 36px; max-width: 38ch; }
.final-cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.final-cta-text .btn-primary { align-self: flex-start; }

/* Final CTA centered variant (contact) */
.final-cta.centered { padding: var(--section-gap) 0; background: var(--bg-alt); text-align: center; }
.final-cta-inner { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.final-cta.centered h2 { max-width: none; margin-bottom: 24px; }
.final-cta.centered p { font-size: 17px; margin-bottom: 36px; font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--subtext); max-width: none; }

/* ------- SPLIT / STORY ------- */
.split { padding: var(--section-gap) 0; }
.split.alt { background: var(--bg-alt); }
.split.base { background: var(--bg); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-grid.image-left { grid-template-columns: 1fr 1.1fr; }
.split-grid.text-photo-11 { grid-template-columns: 1.1fr 1fr; }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; background: var(--bg); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 24px; }
.split-text p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; }

.story { padding: var(--section-gap) 0; }
.story.alt { background: var(--bg-alt); }
.story.base { background: var(--bg); }
.story-inner { max-width: 760px; margin: 0 auto; padding: 0 48px; text-align: center; }
.story-inner .eyebrow { display: inline-block; }
.story-inner h2 { display: inline-block; margin-bottom: 28px; }
.story-inner p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; text-align: left; }

/* ------- FEATURE (3 cards with hairline lists) ------- */
.feature { padding: var(--section-gap) 0; }
.feature.alt { background: var(--bg-alt); }
.feature.base { background: var(--bg); }
.feature-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.feature-head .eyebrow { display: inline-block; }
.feature-head h2 { display: inline-block; margin-bottom: 20px; }
.feature-head p { font-size: 17px; margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--wide-size); margin: 0 auto; }
.feature-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 40px 32px; box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-card h3 { margin-bottom: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--headline); }
.feature-card h3.flourish::after { margin-top: 16px; }
.feature-card ul { list-style: none; margin: 0; padding: 0; }
.feature-card li {
  padding: 12px 0;
  color: var(--subtext); font-size: 15px; line-height: 1.6;
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 12px;
}
.feature-card li:last-child { border-bottom: none; }
.feature-card li::before {
  content: ''; flex-shrink: 0; width: 10px; height: 1px;
  background: var(--accent); position: relative; top: -4px;
}

/* ------- POSTNATAL SPLIT + CARD ------- */
.pn-split { padding: var(--section-gap) 0; background: var(--bg-alt); }
.pn-split-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.pn-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; background: var(--bg); }
.pn-photo img { width: 100%; height: 100%; object-fit: cover; }
.pn-text h2 { margin-bottom: 24px; }
.pn-text p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.pn-card {
  margin-top: 56px; background: var(--card-bg);
  border-radius: var(--radius-lg); padding: 36px 40px;
  box-shadow: var(--shadow-card);
  max-width: 980px; margin-left: auto; margin-right: auto;
}
.pn-card h4 { margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--headline); }
.pn-card ul { list-style: none; columns: 2; column-gap: 48px; margin: 0; padding: 0; }
.pn-card li {
  padding: 10px 0; color: var(--subtext); font-size: 15px;
  display: flex; align-items: baseline; gap: 12px; break-inside: avoid;
}
.pn-card li::before {
  content: ''; flex-shrink: 0; width: 10px; height: 1px;
  background: var(--accent); position: relative; top: -4px;
}

/* ------- CHECKLIST ------- */
.checklist { padding: var(--section-gap) 0; }
.checklist.alt { background: var(--bg-alt); }
.checklist.base { background: var(--bg); }
.checklist-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.checklist-head .eyebrow { display: inline-block; }
.checklist-head h2 { display: inline-block; margin-bottom: 20px; }
.checklist-list {
  list-style: none;
  max-width: 760px; margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 40px;
  box-shadow: var(--shadow-card);
}
.checklist-list li {
  padding: 20px 0; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 18px;
  font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--headline);
}
.checklist-list li:last-child { border-bottom: none; }
.checklist-list .check {
  flex-shrink: 0; color: var(--accent-dark);
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic;
}

/* ------- STEPS (numbered cards) ------- */
.steps { padding: var(--section-gap) 0; }
.steps.alt { background: var(--bg-alt); }
.steps.base { background: var(--bg); }
.steps-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.steps-head .eyebrow { display: inline-block; }
.steps-head h2 { display: inline-block; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--wide-size); margin: 0 auto; }
.step-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 44px 32px; box-shadow: var(--shadow-card);
  transition: all var(--transition-base); text-align: left;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.step-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-weight: 300; font-size: 56px; color: var(--accent-dark);
  line-height: 1; margin-bottom: 8px; display: block;
}
.step-card h3 { margin-bottom: 16px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--headline); }
.step-card h3.flourish::after { margin-top: 14px; }
.step-card p { font-size: 15px; line-height: 1.7; color: var(--subtext); }

/* ------- VALUES (italic row) ------- */
.values { padding: var(--section-gap) 0; }
.values.alt { background: var(--bg-alt); }
.values.base { background: var(--bg); }
.values-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.values-head .eyebrow { display: inline-block; }
.values-head h2 { display: inline-block; margin-bottom: 24px; }
.values-head p { font-size: 17px; margin-top: 24px; font-style: italic; font-family: 'Cormorant Garamond', serif; color: var(--subtext); }
.values-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.values-row .word {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: clamp(13px, 2.5vw, 25px);
  color: var(--headline); padding: 12px 28px;
}
.values-row .divider { width: 1px; height: 36px; background: var(--accent); }

/* ------- CONTACT FORM ------- */
.contact { padding: var(--section-gap) 0; background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-card);
}
.form-card .quiet {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 16px; color: var(--subtext); margin-bottom: 28px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%; background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'Lato', sans-serif; font-size: 15px;
  color: var(--headline);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.field input:focus,
.field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142, 155, 138, 0.18);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-card .small-print { font-size: 13px; color: var(--subtext); margin-top: 20px; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.form-card .small-print a { color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid var(--accent); }
.form-actions { margin-top: 28px; }

.info-stack { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.info-card h3 { margin-bottom: 14px; font-size: 22px; font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.2; color: var(--headline); }
.info-card h3.flourish::after { margin-top: 12px; }
.info-card p { font-size: 14px; line-height: 1.7; color: var(--subtext); }

/* ------- FOOTER ------- */
.site-footer { padding: 80px 0 40px; background: var(--bg-alt); border-top: 1px solid var(--hairline); }
.site-footer.alt { background: var(--bg-alt); }
.site-footer.base { background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; max-width: var(--wide-size); margin-left: auto; margin-right: auto; padding: 0 48px; }
.footer-brand .wordmark { font-size: 32px; }
.footer-brand p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: var(--subtext); margin-top: 16px; max-width: 26ch; }
.footer-col h5 { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 20px; margin-top: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; color: var(--subtext); font-size: 14px; }
.footer-col a { color: var(--subtext); text-decoration: none; font-size: 14px; transition: color var(--transition-base); }
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom { border-top: 1px solid var(--hairline); padding: 32px 48px 0; text-align: center; font-size: 12px; color: var(--subtext); max-width: var(--wide-size); margin: 0 auto; }

/* ------- WHY-CHOOSE (split: copy left + tinted check card right) ------- */
.why-choose { padding: var(--section-gap) 0; background: var(--bg); }
.why-choose.alt { background: var(--bg-alt); }
.why-choose.base { background: var(--bg); }
.why-choose-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
  max-width: var(--wide-size); margin: 0 auto; padding: 0 48px;
}
.why-copy .eyebrow { display: inline-block; }
.why-copy h2 { margin-bottom: 24px; }
.why-copy p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; color: var(--subtext); }
.why-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.why-card::before {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--accent); margin-bottom: 24px;
}
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list > li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--headline);
}
.why-list > li:last-child { border-bottom: none; }
.why-list .check {
  flex-shrink: 0;
  color: var(--accent-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  margin: 0;
}
.why-list > li > p { margin: 0; color: var(--headline); font-family: inherit; font-size: inherit; line-height: 1.5; }

/* ------- QUOTE-BAND INNER (pull-quote feature) ------- */
.quote-band-inner { max-width: 820px; margin: 0 auto; padding: 0 48px; text-align: center; }
.quote-band-inner .eyebrow { display: inline-block; }
.quote-band-inner h2 { display: inline-block; margin-bottom: 28px; }
.quote-band-inner p.lead {
  font-size: 17px; line-height: 1.85; margin-top: 28px;
  color: var(--subtext);
}
.quote-band-inner p.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
  color: var(--headline);
  margin: 36px auto 12px;
  max-width: 22ch;
  text-wrap: balance;
}
.quote-band-inner p.pull-quote-attr {
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--subtext);
  margin: 0 auto 36px;
  display: inline-block;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  min-width: 200px;
}
.quote-band-inner p.closing {
  font-size: 17px; line-height: 1.85; margin-top: 18px; text-align: left;
  color: var(--subtext);
}

/* ------- CLOSING STACK (centred short paragraphs with hairline dividers) ------- */
.closing-stack { padding: var(--section-gap) 0; background: var(--bg); }
.closing-stack.alt { background: var(--bg-alt); }
.closing-stack-inner { max-width: 680px; margin: 0 auto; padding: 0 48px; text-align: center; }
.closing-stack-inner .eyebrow { display: inline-block; }
.closing-stack-inner h2 { display: inline-block; margin-bottom: 40px; }
.closing-stack-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--headline);
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
}
.closing-stack-inner p:last-child { border-bottom: none; }
.closing-stack-inner p.body-line {
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 17px;
  line-height: 1.85;
  color: var(--subtext);
}

/* ------- Fees page ------- */
.fees-grid { padding: var(--section-gap) 0; }
.fees-grid.alt { background: var(--bg-alt); }
.fees-grid.base { background: var(--bg); }
.fees-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.fees-head .eyebrow { display: inline-block; }
.fees-head h2 { display: inline-block; margin-bottom: 20px; }
.fees-head p { font-size: 17px; margin-top: 24px; }
.fees-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: var(--wide-size); margin: 0 auto; }
.fee-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  display: flex; flex-direction: column;
}
.fee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.fee-card h3 { margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; color: var(--headline); }
.fee-card h3.flourish::after { margin-top: 14px; }
.fee-card p { font-size: 15px; line-height: 1.7; color: var(--subtext); margin-bottom: 16px; }
.fee-price {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(34px, 4vw, 46px); line-height: 1.1;
  color: var(--accent-dark); margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.fee-price .fee-note {
  display: block; margin-top: 6px;
  font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: none; color: var(--subtext);
}
.fee-packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: var(--wide-size); margin: 0 auto; }
.fee-package {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: all var(--transition-base);
}
.fee-package:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.fee-package .eyebrow { display: inline-block; margin-bottom: 12px; }
.fee-package h3 { margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; color: var(--headline); }
.fee-package h3.flourish::after { margin-top: 16px; }
.fee-package p { font-size: 16px; line-height: 1.75; color: var(--subtext); margin-bottom: 20px; }
.fee-package ul { list-style: none; margin: 0 0 24px; padding: 0; }
.fee-package li {
  padding: 10px 0; color: var(--subtext); font-size: 15px;
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--hairline);
}
.fee-package li:last-child { border-bottom: none; }
.fee-package li::before {
  content: ''; flex-shrink: 0; width: 10px; height: 1px;
  background: var(--accent); position: relative; top: -4px;
}
.fee-package .fee-price { margin-bottom: 24px; }
.fee-voucher {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  max-width: 980px; margin: 0 auto;
  text-align: center;
  border: 1px solid var(--hairline);
}
.fee-voucher .eyebrow { display: inline-block; }
.fee-voucher h2 { display: inline-block; margin-bottom: 24px; }
.fee-voucher p { font-size: 17px; line-height: 1.8; color: var(--subtext); max-width: 56ch; margin: 0 auto 16px; }
.fee-voucher .wp-block-buttons { margin-top: 28px; justify-content: center; }
.fee-included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.fee-included .card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; line-height: 1.4;
  color: var(--headline);
  transition: all var(--transition-base);
}
.fee-included .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.fee-included .card::after { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); margin: 12px auto 0; }

@media (max-width: 760px) {
  .fees-cards, .fee-packages, .fee-included { grid-template-columns: 1fr; }
  .fee-voucher { padding: 40px 24px; }
}

/* ------- Reveal animation (IntersectionObserver) ------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ------- Editor visibility (keep reveal items visible in editor) ------- */
.editor-styles-wrapper .reveal {
  opacity: 1 !important; transform: none !important;
  animation: none !important; transition: none !important;
}

/* ------- Responsive ------- */
@media (max-width: 760px) {
  .header-inner { padding: 16px 24px; gap: 12px; flex-wrap: wrap; }
  .hero-grid,
  .intro-grid,
  .approach-grid,
  .who-grid,
  .final-cta-grid,
  .split-grid,
  .split-grid.image-left,
  .pn-split-grid,
  .why-choose-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-choose-grid,
  .quote-band-inner,
  .closing-stack-inner { padding-left: 24px; padding-right: 24px; }
  .hero-grid { padding-bottom: 32px; }
  .service-mini-wrap { margin-top: 24px; }
  .service-mini-grid,
  .service-detail-grid,
  .testimonials-grid,
  .feature-grid,
  .approach-pillars,
  .pillars-grid,
  .who-pills,
  .steps-grid { grid-template-columns: 1fr; }
  .pn-card ul { columns: 1; }
  .pillars-list { padding-left: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
  .final-cta-text { padding: 48px 24px; }
  .form-card { padding: 32px 24px; }
  .story-inner { padding: 0 24px; }
  .values-row .divider { display: none; }
  :root { --section-gap: 4.5rem; }
}
