/* Cascade Doula Care — Miguel's proposal
   Palette: evergreen ink + warm cream + clay. Deliberately warmer and
   higher contrast than the live blush/serif site, so the two read as
   genuinely different choices rather than variations. */

:root {
  --ink: #1e2a23;
  --ink-soft: #35443b;
  --cream: #fbf7f1;
  --sand: #f2e9dd;
  --sand-deep: #e6d9c9;
  --clay: #bd6448;
  --clay-dark: #a15238;
  --sage: #7d8f7b;
  --muted: #6d7c72;
  --white: #fff;
  --maxw: 1180px;
  --radius: 4px;
  --shadow: 0 18px 50px -22px rgba(30, 42, 35, .38);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
/* keep headline lines evenly filled instead of dropping one short word
   onto a line of its own */
h1, h2 { text-wrap: balance; }
.lede { text-wrap: pretty; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h2, .section--ink h3 { color: var(--cream); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin: 0 0 1.1em;
}
.section--ink .eyebrow { color: var(--sand-deep); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.section--ink .lede { color: #cfd8d0; }

/* buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font: 600 .82rem/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--clay-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(30, 42, 35, .3);
}
.btn--ghost:hover { background: rgba(30, 42, 35, .06); color: var(--ink); }
.btn--onlight-dark { background: var(--ink); }
.btn--onlight-dark:hover { background: #101a15; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30, 42, 35, .1);
}
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
/* clay so the mark anchors the left of the header against the clay CTA on
   the right, while the wordmark stays ink and does not compete */
.brand__mark { height: 46px; width: auto; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: .82rem;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--clay); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--clay); }
.nav .btn { color: var(--white); border: 0; padding: 12px 22px; font-size: .74rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font: 600 .78rem/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); padding: 10px 0;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 10px 28px 26px;
    border-bottom: 1px solid rgba(30, 42, 35, .12);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(30, 42, 35, .08); }
  .nav .btn { margin-top: 16px; text-align: center; }
}

/* hero */
.hero { position: relative; color: var(--cream); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(24,34,28,.9) 0%, rgba(24,34,28,.72) 45%, rgba(24,34,28,.35) 100%);
}
.hero__inner { position: relative; padding: clamp(90px, 15vw, 170px) 0; max-width: 760px; }
.hero h1 { color: var(--cream); }
.hero .lede { color: #dfe6df; max-width: 620px; }
.hero--short .hero__inner { padding: clamp(64px, 9vw, 108px) 0; }

/* light hero: Nicole's blush washed over the photo instead of the dark
   evergreen. Text flips to ink, since cream would vanish on it. */
.hero--light .hero__media::after {
  background: linear-gradient(105deg,
    rgba(225, 204, 190, .93) 0%,
    rgba(225, 204, 190, .82) 42%,
    rgba(225, 204, 190, .48) 100%);
}
.hero--light h1 { color: var(--ink); }
.hero--light .lede { color: var(--ink-soft); }
.hero--light .btn--ghost {
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1.5px rgba(30, 42, 35, .4) !important;
}
.hero--light .btn--ghost:hover { background: rgba(30, 42, 35, .07); }

/* trust strip */
.trust { background: var(--ink); color: #cfd8d0; padding: 20px 0; }
.trust ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 34px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}

/* cards */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid rgba(30, 42, 35, .1);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.card__num {
  font-family: var(--serif); font-size: 2.2rem; color: var(--clay);
  line-height: 1; display: block; margin-bottom: 14px;
}
.section--ink .card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  color: #dfe6df;
}

/* premium feature cards: hairline rule, generous padding, and one of
   Nicole's line drawings watermarked into the corner. Paths are relative
   to this stylesheet so they work from any page depth. */
.grid--duo { grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); }
.card--feature {
  position: relative;
  overflow: hidden;
  padding: 42px 40px 46px;
  /* warm vertical wash rather than flat white, so the card has some depth */
  background: linear-gradient(175deg, #fff 0%, #fffdfa 55%, #fbf6ef 100%);
  border: 1px solid rgba(30, 42, 35, .09);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(30, 42, 35, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* hairline inset ring, reads as a printed edge rather than a UI border */
.card--feature > * { position: relative; z-index: 1; }
.card--num::after, .card--feature::after { z-index: 0; }
.card--num .card__num::before {
  content: "";
  position: absolute;
  left: 18px; top: 18px;
  width: 38px; height: 38px;
  border-top: 2px solid var(--clay);
  border-left: 2px solid var(--clay);
  border-top-left-radius: 6px;
  opacity: .45;
  transition: width .25s ease, height .25s ease, opacity .25s ease;
}
.card--num:hover .card__num::before { width: 54px; height: 54px; opacity: .75; }
.card--feature::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--clay);
  margin-bottom: 24px;
}
.card--feature::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 210px;
  height: 210px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .2;
  pointer-events: none;
  filter: invert(18%) sepia(12%) saturate(900%) hue-rotate(90deg);
}
.card--feature:nth-child(4n+1)::after { background-image: url("../img/line-1.png"); }
.card--feature:nth-child(4n+2)::after { background-image: url("../img/line-2.png"); }
.card--feature:nth-child(4n+3)::after { background-image: url("../img/line-3.png"); }
.card--feature:nth-child(4n+4)::after { background-image: url("../img/line-2.png"); transform: scaleX(-1); }
.card--feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(189, 100, 72, .3);
}
/* numbered variant: the numeral replaces the hairline rule */
.card--feature.card--num::before { display: none; }
.card--feature .card__num {
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  position: static;
}
.card--num { padding-top: 44px; }
.card--feature .card__num + h3 {
  padding-top: 14px;
  border-top: 2px solid rgba(189, 100, 72, .28);
  display: inline-block;
}
.card--feature h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: .55em; }
.card--feature p { color: var(--ink-soft); position: relative; }

/* the five BRM pillars: one row so they read as a set, compact because
   they carry no body copy */
.grid--five { grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 18px; }
.card--pillar { padding: 34px 24px 34px; }
.card--pillar .card__num { font-size: 1.9rem; margin-bottom: 4px; }
.card--pillar .card__num + h3 {
  padding-top: 11px;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  margin-bottom: 0;
  line-height: 1.25;
}
.card--pillar::after { width: 132px; height: 132px; right: -26px; bottom: -30px; opacity: .17; }

/* split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(34px, 5vw, 68px); align-items: center; }
/* offset hairline frame behind each photo, the way a matted print sits on
   a mount. Editorial rather than a plain drop shadow. */
.split__media { position: relative; }
.split__media::before {
  content: "";
  position: absolute;
  top: 18px; right: -18px; bottom: -18px; left: 18px;
  border: 1px solid rgba(189, 100, 72, .5);
  border-radius: 6px;
  pointer-events: none;
}
.split__media img {
  position: relative;
  border-radius: 6px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 620px;
}
@media (max-width: 620px) {
  .split__media::before { top: 12px; right: -12px; bottom: -12px; left: 12px; }
}
/* top-align the media with the first line of text instead of centring it
   against a tall column */
.split--top { align-items: start; }
.split--top .split__media img { height: auto; max-height: none; }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 16px 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--clay);
}
.section--ink .checklist li::before { background: var(--sand-deep); }

/* quotes */
.quote {
  background: var(--white);
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 0;
}
.quote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; margin-bottom: .7em; }
.quote cite { font-style: normal; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
/* grid, not CSS columns: rows keep every card top on the same line.
   Masonry staggered them, which read as misaligned. */
.quote-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

/* price table */
.prices { list-style: none; margin: 0; padding: 0; }
.prices li {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  justify-content: space-between; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(30, 42, 35, .13);
}
.prices li:first-child { border-top: 1px solid rgba(30, 42, 35, .13); }
.prices .price-name { font-family: var(--serif); font-size: 1.16rem; }
.prices .price-meta { color: var(--muted); font-size: .88rem; }
.prices .price-amt { font-family: var(--serif); font-size: 1.3rem; color: var(--clay); }

/* form */
.form-panel {
  background: var(--white);
  border: 1px solid rgba(30, 42, 35, .1);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px; font-weight: 600;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid rgba(30, 42, 35, .22);
  border-radius: var(--radius);
  background: var(--cream);
  font: inherit; font-size: .96rem; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent;
}
.field textarea { min-height: 128px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.form-status {
  display: none; margin-top: 18px; padding: 14px 16px;
  background: var(--sand); border-left: 3px solid var(--clay);
  border-radius: var(--radius); font-size: .92rem;
}
.form-status.is-visible { display: block; }

/* Nicole's line drawings, keyed off her blush background into transparent
   art so they can sit on any colour. White reads well on the ink band. */
.motifs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(26px, 6vw, 64px);
  margin: 0 0 36px;
}
.motifs img {
  height: clamp(84px, 11vw, 132px);
  width: auto;
  opacity: .5;
}
@media (max-width: 560px) { .motifs img:nth-child(3) { display: none; } }

/* ornament band: the drawings used large and on purpose, high on the page,
   sage-tinted so they read against cream */
.ornament {
  background: var(--cream);
  padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 4vw, 46px);
  text-align: center;
}
.ornament .motifs { margin-bottom: 22px; }
.ornament .motifs img { height: clamp(110px, 14vw, 172px); opacity: .85; }
/* the ornament already provides breathing room, so the section after it
   does not need a full top pad */
.ornament + .section { padding-top: clamp(26px, 3.5vw, 52px); }
.ornament p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.4;
}

/* photo strip */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 3px; }
.strip img { width: 100%; height: 300px; object-fit: cover; }

/* sticky mobile cta */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 12px 16px;
  background: rgba(251, 247, 241, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(30, 42, 35, .12);
}
.sticky-cta .btn { flex: 1; text-align: center; padding: 14px 10px; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .quote-cols { grid-template-columns: 1fr; }
}

/* footer */
.site-footer { background: var(--ink); color: #b9c5bc; padding: 64px 0 40px; font-size: .92rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: var(--cream); font-size: 1rem; margin-bottom: .8em; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: .82rem; color: #93a297;
}

/* preview banner — remove before this ever goes to a real domain */
.preview-flag {
  background: var(--clay); color: var(--white);
  text-align: center; padding: 9px 16px;
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
}

/* secondary nav links live in the mobile menu and the footer only */
@media (min-width: 1081px) { .nav .secondary { display: none; } }
