/* ==========================================================
   Seed of Life — site styles
   Colours match the original Wix site.
   ========================================================== */

:root {
  --sand: #e1d5c5;     /* main background */
  --teal: #5e8074;     /* bands + footer */
  --rose: #a35f50;     /* text colour on sand */
  --rose-btn: #c29990; /* buttons */
  --blush: #e0c1ba;    /* week cards */
  --taupe: #baaea5;    /* agenda cards */
  --yellow: #d6c567;   /* call-to-action circles */
  --brown: #6d3f35;    /* logo brown */
  --white: #ffffff;

  --font: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--rose);
  font-family: var(--font); font-weight: 300; font-size: 1.05rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .25em; }
.center { text-align: center; }
.italic { font-style: italic; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2.5rem; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--rose-btn); color: #fff;
  text-decoration: none; padding: .7em 1.6em; font-size: 1rem; line-height: 1.3;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 300;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn--yellow { background: var(--yellow); color: #fff; }
.btn--dark { background: var(--rose); }

.circle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--yellow); color: #fff; text-align: center; text-decoration: none;
  padding: 20px; line-height: 1.35;
}
.circle--big { width: 260px; height: 260px; }
.circle strong { font-weight: 400; font-size: 1.5rem; }
a.circle:hover { opacity: .9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--sand);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { width: 140px; height: auto; padding: 4px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a, .dropdown > button { text-decoration: none; font-size: 1.05rem; color: var(--rose); }
.nav a:hover, .nav a[aria-current="page"], .dropdown > button[aria-current="page"] { color: var(--rose-btn); }

.dropdown { position: relative; }
.dropdown > button {
  font-family: inherit; font-weight: 300; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.dropdown > button::after {
  content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: -16px; min-width: 200px;
  background: var(--sand); box-shadow: 0 6px 18px rgba(0,0,0,.12); padding: 10px 16px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown:hover .dropdown__menu, .dropdown:focus-within .dropdown__menu, .dropdown.open .dropdown__menu {
  opacity: 1; visibility: visible; transform: none;
}

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--rose); }
.menu-toggle span { display: block; width: 28px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .logo img { width: 78px; }
  .menu-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55; background: var(--sand);
    flex-direction: column; justify-content: center; gap: 20px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  .nav a, .dropdown > button { font-size: 1.5rem; }
  .dropdown { display: flex; flex-direction: column; align-items: center; }
  .dropdown__menu {
    position: static; box-shadow: none; background: none; padding: 8px 0 0; min-width: 0;
    opacity: 1; visibility: visible; transform: none; align-items: center; display: none;
  }
  .dropdown.open .dropdown__menu { display: flex; }
  .dropdown__menu a { font-size: 1.15rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.bg-teal { background: var(--teal); color: #fff; }
.bg-sand { background: var(--sand); color: var(--rose); }

.band { padding: clamp(40px, 6vw, 72px) var(--gutter); text-align: center; }
.band h1 { margin-bottom: .2em; }
.band p { max-width: 700px; margin: 0 auto; }

/* Full-bleed photo */
.photo-bg { position: relative; overflow: hidden; color: #fff; }
.photo-bg > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-bg::after { content: ""; position: absolute; inset: 0; background: rgba(30, 20, 12, .35); z-index: 1; }
.photo-bg > :not(.bg) { position: relative; z-index: 2; }

.hero { min-height: clamp(420px, 70vh, 640px); display: flex; align-items: center; padding: 60px var(--gutter); }
.hero__content { max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__content h3 { max-width: 520px; line-height: 1.6; }

.img-banner { width: 100%; height: clamp(300px, 55vh, 520px); object-fit: cover; }

/* Split 50/50 rows with no gaps (Wix-style) */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > .text { padding: clamp(40px, 7vw, 100px) clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.split > img, .split > .photo-cell { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.split .photo-cell { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 24px; color: #fff; }
.split .photo-cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split .photo-cell > .glass { position: relative; z-index: 1; }

.glass { background: rgba(94, 128, 116, .82); color: #fff; padding: 22px 26px; font-size: .95rem; }
.glass--blush { background: rgba(224, 193, 186, .88); color: var(--rose); }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split > img { min-height: 0; aspect-ratio: 4 / 3; }
  .split .order-first-mobile { order: -1; }
}

/* ---------- Home ---------- */
.about-text p { font-size: .95rem; }
.testimonials { padding: clamp(56px, 8vw, 100px) var(--gutter); }
.slider { max-width: 720px; margin: 0 auto; position: relative; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: center;
  background: rgba(225, 213, 197, .94); color: var(--rose);
  padding: 34px clamp(22px, 5vw, 60px) 40px; text-align: center; font-size: .95rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.slide img { width: 110px; height: 130px; object-fit: cover; margin-bottom: 20px; }
.slide cite { display: block; margin-top: 10px; font-style: italic; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.8); color: var(--rose); font-size: 1.4rem; line-height: 1;
}
.slider__btn--prev { left: -54px; }
.slider__btn--next { right: -54px; }
@media (max-width: 860px) {
  .slider__btn--prev { left: 6px; top: auto; bottom: -56px; transform: none; }
  .slider__btn--next { right: 6px; top: auto; bottom: -56px; transform: none; }
}
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: #fff; }

/* ---------- Birth prep ---------- */
.prep { padding: clamp(56px, 8vw, 100px) var(--gutter); background-attachment: fixed; }
.prep::after { background: rgba(30, 20, 12, .45); }
.prep .wrap { max-width: 900px; }
.prep ul li { margin-bottom: .1em; }
.weeks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
.week { background: rgba(224, 193, 186, .9); color: var(--rose); padding: 26px 30px; }
.week h3 { text-align: center; font-size: 1.15rem; margin-bottom: 1em; }
.week h3 span { display: block; }
.prep-cta { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; margin-top: 36px; }
.prep-cta .circle ul { text-align: left; font-size: .9rem; margin: 8px 0 0; }
.small-circle { width: 140px; height: 140px; background: rgba(186,174,165,.9); font-size: .85rem; }
@media (max-width: 680px) { .weeks { grid-template-columns: 1fr; } }

/* ---------- Agenda ---------- */
.agenda-card {
  background: var(--taupe); color: var(--brown); max-width: 560px; margin: 0 auto 56px;
  display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 26px 34px; align-items: start;
}
.agenda-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.agenda-card h2 { font-style: italic; font-size: 1.5rem; letter-spacing: .04em; color: var(--brown); }
.agenda-card .btn { margin-top: 22px; }
@media (max-width: 560px) { .agenda-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- Yoga ---------- */
.yoga { display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 760px) { .yoga { grid-template-columns: 1fr; } }

/* ---------- Services overview ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: var(--blush); text-decoration: none; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card div { padding: 22px 26px 28px; }
.card h3 { margin-bottom: .3em; }
.card:hover { opacity: .92; }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.post-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: #fff; text-decoration: none; }
.post-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover img { transform: scale(1.03); }
.post-card::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.post-card .meta { position: absolute; z-index: 2; top: 24px; left: 28px; font-size: .8rem; }
.post-card h2 { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 40px; font-family: "Playfair Display", Georgia, serif; font-size: 1.6rem; border-bottom: 1px solid #fff; padding-bottom: 14px; margin: 0; }
@media (max-width: 680px) { .posts { grid-template-columns: 1fr; } }

.article { max-width: 740px; margin: 0 auto; color: #4a3a33; overflow-wrap: anywhere; }
.article h1 { font-family: "Playfair Display", Georgia, serif; color: var(--rose); }
.article .meta { font-size: .85rem; margin-bottom: 2em; color: var(--rose); }
.article img { margin: 0 auto 2em; }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; margin-top: 28px; }
.form label { display: flex; flex-direction: column; font-size: .85rem; color: #333; gap: 4px; }
.form input, .form textarea {
  font: inherit; font-size: 1rem; padding: 8px 10px; border: 1px solid #555; background: #e6e2dc; color: #222; border-radius: 0;
}
.form .full { grid-column: 1 / -1; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { grid-column: 3; background: var(--rose); }
.contact-info { display: flex; gap: 60px; flex-wrap: wrap; font-size: .9rem; }
.contact-info .label { font-style: italic; font-size: .85rem; margin-bottom: 2px; }
@media (max-width: 680px) {
  .form { grid-template-columns: 1fr; }
  .form .btn { grid-column: auto; }
}
.hidden { display: none; }

/* ---------- Links page ---------- */
.links { max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; text-align: center; }
.links .btn { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal); color: #fff; text-align: center; padding: 50px var(--gutter) 56px; }
.site-footer .name { font-size: 1.9rem; margin-bottom: 18px; }
.site-footer__row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px clamp(30px, 8vw, 110px); font-style: italic; font-size: 1.25rem; margin-bottom: 18px; }
.site-footer a { color: #fff; }
.social { display: flex; gap: 16px; justify-content: center; }
.social a { width: 22px; height: 22px; display: inline-flex; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.social--dark a { color: #222; width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (hover: none) { .prep { background-attachment: scroll; } }
