/* ==========================================================
   Catherine Buchan — Healing with the Angels
   ========================================================== */

:root {
  --lunar: #f9e9d0;        /* Lunar Glow — main background */
  --alabaster: #FAF2E6;    /* Warm Alabaster Cream (warmed from #FBF9F4) — sections 2 & 5, step cards */
  --blush: #d8bcab;        /* Blush — sections 3 & 6 background */
  --haze: #685c72;         /* Obsidian Haze — text, buttons, accents */
  --haze-deep: #574c61;    /* button hover */
  --ink: #3f3547;          /* deeper Obsidian Haze — headings, nav, emphasis */
  --line: rgba(104, 92, 114, 0.25);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --measure: 40rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(2.25rem, 5vw, 4rem);   /* halved 28 Sep (was 4.5–8rem) */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lunar);
  color: var(--haze);
  font-family: var(--sans);
  font-size: 1.0625rem;   /* 17px mobile */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } } /* 18px desktop */

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; line-height: 1.2; }

h1 {
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3rem);          /* 40 → 48px */
  letter-spacing: -0.005em;
  margin-bottom: 1.5rem;
}
h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.25rem);         /* 32 → 36px */
  margin-bottom: 1.25rem;
}
h3 {
  font-weight: 600;
  font-style: italic;
  font-size: 1.5rem;                            /* 24px */
  margin-bottom: 0.5rem;
}

.lead { font-size: 1.1em; }
.muted { color: var(--haze); }

/* Small four-point sparkle, used as a quiet ornament */
.sparkle {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--haze);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  flex-shrink: 0;
}
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: 0 auto 1.75rem;
}
.ornament::before, .ornament::after {
  content: ""; width: 48px; height: 1px; background: var(--haze);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-head { max-width: var(--measure); margin: 0 auto 3.5rem; text-align: center; }
.narrow { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: var(--haze);
  border: 1px solid var(--haze);
  padding: 1rem 2.25rem;
  border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover, .btn:focus-visible { background: var(--haze-deep); border-color: var(--haze-deep); }
.btn--small { padding: 0.7rem 1.5rem; font-size: 0.9375rem; }

:focus-visible { outline: 2px solid var(--haze); outline-offset: 3px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 233, 208, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(104,92,114,.45); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }

.brand { text-decoration: none; line-height: 1.1; }
.brand__name { display: block; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.75rem; color: var(--ink); }
.brand__tag { display: block; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 0.25rem 0; border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.nav__links a:not(.btn):hover { border-bottom-color: var(--ink); }

.nav__toggle {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--haze);
}
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--lunar); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border: 0; padding-top: 1.25rem; }
  .nav__links a:not(.btn) { display: block; padding: 0.9rem 0; border: 0; }
  .nav__links .btn { display: block; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--section); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__text p { max-width: 34rem; }
.hero__text .btn { margin-top: 1rem; }

.hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 50%;                   /* oval */
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #fdf5e8 0%, var(--blush) 65%, #cdae9c 100%);
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.hero__image::after {
  /* gentle glow + fade so the photo feels atmospheric rather than boxed-in */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px 20px rgba(249, 233, 208, 0.55);
  border-radius: inherit;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; max-width: 300px; width: 75%; margin: 0 auto; }
}

/* ---------- How Angel Therapy can help ---------- */
.help-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 2.75rem;
}
.help-list li { display: flex; gap: 1.1rem; }
.help-list .sparkle { width: 22px; height: 22px; margin-top: 0.5rem; background: #a97f6b; }  /* deeper Blush so it stands out on Alabaster */
.help-list h3 { font-size: 1.6rem; font-weight: 700; }
.help-list p { color: var(--haze); font-size: 0.97em; }
@media (max-width: 760px) { .help-list { grid-template-columns: 1fr; row-gap: 2.25rem; } }

/* ---------- How a session works ---------- */
.band-alabaster { background: var(--alabaster); }
.band-blush { background: var(--blush); }

.steps { list-style: none; margin: 0 0 3.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.step__num {
  display: block; font-family: var(--serif); font-weight: 600; font-size: 3.5rem; line-height: 1;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  color: var(--blush); margin-bottom: 1rem;
}
.step {
  background: var(--alabaster);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 10px 30px -22px rgba(104, 92, 114, 0.45);
}
.step h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.9rem; }
.step p { color: var(--haze); font-size: 0.9em; line-height: 1.7; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 2.75rem; } }

.steps-after { max-width: 60rem; margin: 0 auto; text-align: center; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.steps-after p { margin-bottom: 0.5em; }

/* ---------- Pay what you can afford ---------- */
.pay { text-align: center; max-width: 60rem; }
.pay strong { font-weight: 600; color: var(--ink); }

/* ---------- Make a Payment ---------- */
.payment { text-align: center; }
.payment strong { font-weight: 600; color: var(--ink); }
.payment .btn { margin-top: 1.25rem; }
.terms-gate { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.terms-gate .btn { margin-top: 0; }
.terms-check { display: inline-flex; align-items: flex-start; gap: 0.6rem; text-align: left; cursor: pointer; }
.terms-check input { width: 1.15rem; height: 1.15rem; margin: 0.3rem 0 0; accent-color: var(--haze); flex-shrink: 0; cursor: pointer; }
.terms-check a { color: var(--ink); font-weight: 600; }
.btn.is-disabled, .btn.is-disabled:hover { background: #b8b0be; border-color: #b8b0be; color: #fff; cursor: not-allowed; }
.payment__prompt { font-weight: 600; color: var(--ink); margin: 0.5rem 0 0; }  /* same size as the body text */
.payment a:not(.btn) { color: var(--ink); font-weight: 600; }
.thank-you h2 { font-size: clamp(1.6rem, 3vw, 1.85rem); margin: 3rem 0 1rem; }
.thank-you .btn { margin-top: 0.5rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about__photo {
  position: sticky; top: 7rem;
  aspect-ratio: 4 / 5; border-radius: 50%; overflow: hidden;
  background: linear-gradient(180deg, var(--blush), #cdae9c);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.about__text h3 { font-size: 1.75rem; font-weight: 700; margin-top: 2.5rem; }
.about__text h2 + h3 { margin-top: 0.5rem; }
.about__text .gap-after { margin-bottom: 2.2em; }
.about__text strong { font-weight: 700; color: var(--ink); }

.pull-quote {
  margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--ink);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.85rem; line-height: 1.35; color: var(--ink);
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 340px; width: 80%; margin: 0 auto; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 48rem; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq details {
  background: var(--alabaster);
  border-radius: 16px;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 10px 30px -22px rgba(104, 92, 114, 0.45);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 18px; height: 18px;
  background:
    linear-gradient(var(--blush), var(--blush)) center / 100% 3px no-repeat,
    linear-gradient(var(--blush), var(--blush)) center / 3px 100% no-repeat;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--haze); }
.faq__answer { padding: 0 0 1.5rem; color: var(--haze); max-width: 42rem; }

/* ---------- Final CTA ---------- */
.cta { position: relative; text-align: center; overflow: hidden; }
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, #fdf5e8 0%, var(--lunar) 60%);
}
.cta__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta .wrap { position: relative; z-index: 1; }

.session-card {
  display: inline-block; margin: 1rem auto 3.5rem;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--ink);
  background: rgba(249, 233, 208, 0.55);
  border-radius: 999px;
}
.session-card__title { font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 600; font-size: 1.6rem; color: var(--ink); margin: 0; }
.session-card__price { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--ink); margin: 0.15rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--haze); color: rgba(249, 233, 208, 0.85); padding: 4rem 0 2.5rem; font-size: 0.9375rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(249, 233, 208,.25); }
.site-footer .brand__name { color: var(--lunar); }
.site-footer .brand__tag { color: var(--lunar); }
.footer__contact { display: flex; align-items: center; gap: 1.5rem; }
.footer__contact a { color: var(--lunar); text-decoration: none; border-bottom: 1px solid rgba(249, 233, 208,.5); }
.footer__contact a:hover { border-bottom-color: #fff; color: #fff; }
.footer__contact a.icon-link { border: 0; display: inline-flex; color: var(--lunar); }
.footer__contact a.icon-link:hover { color: #fff; }
.footer__bottom {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.25rem 3rem;
  padding-top: 1.75rem; font-size: 0.8125rem; line-height: 1.6; color: rgba(249, 233, 208, 0.75);
}
.footer__col p { margin: 0 0 0.35em; }
.footer__legal { display: flex; flex-direction: column; gap: 0.35rem; }
@media (max-width: 760px) { .footer__bottom { grid-template-columns: 1fr; } }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: #fff; }
.footer__disclaimer { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(249, 233, 208, 0.15); font-size: 0.8125rem; line-height: 1.6; color: rgba(249, 233, 208, 0.75); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--alabaster);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(104, 92, 114, 0.5);
  padding: 1.1rem 0;
}
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: 0.9375rem; line-height: 1.6; max-width: 46rem; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.btn--outline { background: transparent; color: var(--haze); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--haze); border-color: var(--haze); color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0 var(--section); }
.legal .wrap { max-width: 48rem; }
.legal h2 { font-size: 1.75rem; margin: 2.75rem 0 0.75rem; }
.legal h3 { font-size: 1.3rem; margin: 1.75rem 0 0.4rem; }
.legal h4 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin: 1.25rem 0 0.3rem; }
.legal h2.legal__part { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal ul { padding-left: 1.25rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: 0.4em; }
.draft-note {
  background: #FFF6DC; border: 1px dashed #C9A961; padding: 1rem 1.25rem; margin-bottom: 2.5rem;
  font-size: 0.9rem; line-height: 1.6;
}
.todo { background: #FFF1C2; padding: 0 0.25em; }

/* ---------- Gentle reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.nowrap { white-space: nowrap; }
