/* ============================================================
   SORELLAHOOD — brand styles
   Palette inherited from Elina Health:
   sage   #577f60   blush  #e6b4ab   charcoal #231F20
   ink    #404040   cream  #faf7f3   off-white #f9f9f9
   ============================================================ */

:root {
  --sage: #577f60;
  --sage-deep: #3e5d47;
  --sage-dark: #2c4434;
  --blush: #e6b4ab;
  --blush-soft: #f3dad4;
  --cream: #faf7f3;
  --off: #f9f9f9;
  --ink: #231f20;
  --gray: #404040;
  --white: #ffffff;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 18px 50px rgba(35, 31, 32, 0.10);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; }
em { font-style: italic; }

a { color: inherit; }

.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--blush); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35,31,32,0.16); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--primary { background: var(--sage); color: var(--white); }
.btn--primary:hover { background: var(--sage-deep); }
.btn--blush { background: var(--blush); color: var(--ink); }
.btn--blush:hover { background: var(--blush-soft); }
.btn--ghost { border-color: var(--sage); color: var(--sage); background: transparent; }
.btn--ghost:hover { background: var(--sage); color: var(--white); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(87, 127, 96, 0.14);
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
}
.nav__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sage); color: var(--blush);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
}
.nav__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--gray);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--sage); }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230, 180, 171, 0.34), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(87, 127, 96, 0.16), transparent 60%),
    var(--cream);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; }
.hero__title {
  font-size: clamp(3rem, 8vw, 5.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.hero__title em { color: var(--sage); }
.hero__sub { font-size: 1.15rem; color: var(--gray); max-width: 600px; margin-bottom: 22px; }
.hero__quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--sage-deep);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero__quote em { font-style: italic; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 90px; }

.hero__shape { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__shape--1 {
  width: 420px; height: 420px; right: -120px; top: -60px;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%);
  opacity: 0.55;
}
.hero__shape--2 {
  width: 340px; height: 340px; right: 180px; top: 240px;
  border: 2px solid rgba(87, 127, 96, 0.25);
  background: transparent; filter: none;
}

.hero__ticker {
  border-top: 1px solid rgba(87,127,96,0.16);
  border-bottom: 1px solid rgba(87,127,96,0.16);
  overflow: hidden; white-space: nowrap;
  background: rgba(255,255,255,0.5);
}
.hero__ticker-track {
  display: inline-flex; gap: 36px; align-items: center;
  padding: 14px 0;
  animation: ticker 26s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--sage-deep);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { background: var(--white); padding: 70px 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
}
.stat__num {
  display: block; font-family: var(--serif);
  font-size: 3rem; color: var(--sage); line-height: 1;
  margin-bottom: 10px;
}
.stat__small { font-size: 1.4rem; }
.stat__label { font-size: 0.88rem; color: var(--gray); }

/* ---------- split / positioning ---------- */
.split { padding: 110px 0; }
.split__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center;
}
.split__media { position: relative; padding-bottom: 70px; }
.photo-card {
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; background: var(--blush-soft);
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-card--a {
  width: 88%; aspect-ratio: 4 / 3;
}
.photo-card--b {
  position: absolute; right: 0; bottom: 0;
  width: 46%; aspect-ratio: 1 / 1;
  border: 6px solid var(--cream);
}
.checklist { list-style: none; margin-top: 22px; }
.checklist li {
  padding-left: 32px; position: relative; margin-bottom: 12px; font-weight: 500;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blush-soft); color: var(--sage-deep);
  font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- red zone ---------- */
.redzone {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(230,180,171,0.16), transparent 60%),
    var(--sage-dark);
  color: var(--cream);
  padding: 110px 0;
}
.redzone__title { color: var(--white); max-width: 640px; }
.redzone__lead { max-width: 680px; opacity: 0.85; margin-bottom: 50px; }
.redzone__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px;
}
.card--dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(230,180,171,0.25);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.card--dark:hover { transform: translateY(-4px); background: rgba(255,255,255,0.10); }
.card--dark h3 { color: var(--blush); margin-bottom: 12px; font-size: 1.5rem; }
.card--dark p { font-size: 0.95rem; opacity: 0.88; }

/* ---------- community banner ---------- */
.banner { background: var(--off); padding: 90px 0 0; }
.banner__frame { margin: 0; }
.banner__frame img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.banner__frame figcaption {
  margin-top: 14px; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: var(--sage-deep);
}

/* ---------- programs ---------- */
.programs { padding: 110px 0; background: var(--off); }
.programs__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px;
}
.tier {
  background: var(--white); border-radius: var(--radius);
  padding: 38px 32px; box-shadow: 0 6px 24px rgba(35,31,32,0.06);
  display: flex; flex-direction: column;
  border-top: 5px solid var(--blush);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tier--featured { border-top-color: var(--sage); position: relative; }
.tier__badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--sage); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.tier__kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 10px;
}
.tier h3 { margin-bottom: 14px; }
.tier__desc { font-size: 0.94rem; color: var(--gray); margin-bottom: 18px; }
.tier ul { list-style: none; margin-bottom: 26px; }
.tier ul li {
  font-size: 0.9rem; padding: 8px 0 8px 24px; position: relative;
  border-bottom: 1px dashed rgba(87,127,96,0.18);
}
.tier ul li::before { content: "—"; position: absolute; left: 0; color: var(--blush); font-weight: 700; }
.tier__link {
  margin-top: auto; font-weight: 700; font-size: 0.92rem;
  color: var(--sage); text-decoration: none;
}
.tier__link:hover { text-decoration: underline; }

/* ---------- audiences ---------- */
.audiences { padding: 110px 0; background: var(--white); }
.audiences__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px;
}
.aud {
  background: var(--cream); border-radius: var(--radius); padding: 32px 26px;
  transition: transform 0.2s ease;
}
.aud:hover { transform: translateY(-4px); }
.aud__icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blush-soft); color: var(--sage-deep);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px;
}
.aud h3 { font-size: 1.15rem; margin-bottom: 10px; }
.aud p { font-size: 0.9rem; color: var(--gray); }

/* ---------- about ---------- */
.about { padding: 110px 0; background: var(--off); }
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.about__copy p { margin-bottom: 18px; color: var(--gray); }
.about__copy .btn { margin-top: 8px; }
.about__side { display: grid; gap: 24px; }
.about__media img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.about__panel {
  background: var(--sage); color: var(--cream);
  border-radius: var(--radius); padding: 48px 42px;
  box-shadow: var(--shadow);
}
.about__panel blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 1.45rem; line-height: 1.45; margin-bottom: 22px;
}
.about__sig { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blush); }

/* ---------- faq ---------- */
.faq { padding: 110px 0; background: var(--white); }
.faq__inner { max-width: 780px; }
.faq__item {
  border-bottom: 1px solid rgba(87,127,96,0.18);
  padding: 6px 0;
}
.faq__item summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  padding: 18px 36px 18px 0; position: relative;
  transition: color 0.15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; color: var(--sage);
  transition: transform 0.2s ease;
}
.faq__item[open] summary { color: var(--sage-deep); }
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:hover { color: var(--sage); }
.faq__item p { padding: 0 0 20px; color: var(--gray); font-size: 0.96rem; max-width: 680px; }

/* ---------- booking ---------- */
.book {
  padding: 110px 0;
  background:
    radial-gradient(900px 400px at -10% 0%, rgba(230,180,171,0.28), transparent 60%),
    var(--cream);
}
.book__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.book__inner > p { color: var(--gray); margin-bottom: 36px; }
.book__form { text-align: left; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book__form input, .book__form select, .book__form textarea {
  width: 100%;
  font-family: var(--sans); font-size: 0.95rem;
  padding: 15px 18px; border-radius: 12px;
  border: 1.5px solid rgba(87,127,96,0.3);
  background: var(--white); color: var(--ink);
  outline: none; transition: border-color 0.15s ease;
}
.book__form input:focus, .book__form select:focus, .book__form textarea:focus {
  border-color: var(--sage);
}
.book__form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23577f60' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}
.form__turnstile { display: flex; justify-content: center; min-height: 0; }
.form__turnstile:empty { display: none; }
.book__form button { justify-self: center; margin-top: 8px; border: none; }
.book__form button:disabled { opacity: 0.65; cursor: default; transform: none; box-shadow: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__status { text-align: center; font-size: 0.95rem; min-height: 1.2em; margin-top: 4px; }
.form__status.is-success { color: var(--sage-deep); font-weight: 600; }
.form__status.is-error { color: #b3503f; }
.form__status.is-sending { color: var(--sage); font-weight: 600; }
.form__status.is-sending::before {
  content: ""; display: inline-block; width: 14px; height: 14px;
  margin-right: 8px; vertical-align: -2px;
  border: 2px solid var(--blush-soft); border-top-color: var(--sage);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form__status a { color: var(--sage); font-weight: 600; }
.book__alt { margin-top: 26px; font-size: 0.92rem; color: var(--gray); }
.book__alt a { color: var(--sage); font-weight: 600; }

/* ---------- legal / content pages ---------- */
.legal { padding: 70px 0 90px; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__lead {
  font-family: var(--serif); font-style: italic;
  font-size: 1.3rem; line-height: 1.5; color: var(--sage-deep);
  margin: 8px 0 36px;
}
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-family: var(--serif); font-weight: 500; }
.legal p, .legal li { color: var(--gray); margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--sage); font-weight: 600; }
.legal__updated { font-size: 0.85rem; color: var(--sage); letter-spacing: 0.04em; text-transform: uppercase; }
.legal__callout {
  background: var(--blush-soft); border-radius: var(--radius);
  padding: 24px 28px; margin: 32px 0;
}
.legal__callout p:last-child { margin-bottom: 0; }
.legal__back { display: inline-block; margin-top: 36px; font-weight: 600; }

/* privacy reassurance line under the form */
.book__privacy {
  display: block; text-align: center;
  max-width: 480px; margin: 18px auto 0;
  font-size: 0.88rem; line-height: 1.5; color: var(--gray);
}
.book__privacy a { color: var(--sage); font-weight: 600; white-space: nowrap; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 70px 0 30px; }
.footer__grid {
  display: grid; grid-template-columns: 1.1fr 0.7fr 0.7fr 1.5fr; gap: 44px; margin-bottom: 50px;
}
.footer__brand p { margin-top: 14px; font-size: 0.9rem; line-height: 1.7; }
.footer__brand strong { color: var(--white); font-family: var(--serif); font-size: 1.05rem; }
.footer__col h4 {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 16px;
}
.footer__col a {
  display: block; text-decoration: none; font-size: 0.92rem;
  margin-bottom: 10px; transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--blush); }
.footer__legal p { font-size: 0.8rem; line-height: 1.6; margin-bottom: 12px; opacity: 0.75; }
.footer__crisis { opacity: 1 !important; }
.footer__crisis strong { color: var(--blush); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px;
  font-size: 0.82rem;
}
.footer__bottom a { color: var(--blush); text-decoration: none; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__ticker-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stats__grid, .audiences__grid { grid-template-columns: repeat(2, 1fr); }
  .programs__grid, .redzone__cards { grid-template-columns: 1fr; }
  .split__grid, .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .split__media { max-width: 560px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid rgba(87,127,96,0.15);
    flex-direction: column; padding: 20px 24px; gap: 18px;
  }
  .nav__links.is-open { display: flex; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .hero { padding-top: 70px; }
  .hero__actions { margin-bottom: 60px; }
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
}
