/* Trisha Wilkerson — Holistic Health Coaching
   Family: kimberlycrispeno.com + theaftermathagency.com (shared forest green, pill CTAs, forest footer).
   Own identity: plaster-pink paper, Fraunces (soft) + Figtree, one bold moment (the hero statement). */

:root {
  --plaster: #f3e9e2;      /* page */
  --clay: #e8d6cb;         /* deeper pink band */
  --sage: #d5ddcf;         /* green band */
  --forest: #34483b;       /* primary actions, footer, emphasis */
  --forest-deep: #2a3a30;
  --ink: #1f2721;          /* text */
  --ink-soft: #545b55;     /* secondary text */
  --turmeric: #b5822c;     /* small marks only (focus ring, list markers) */
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --on-forest: #f3ece4;

  --display: "Fraunces", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, sans-serif;

  /* Classic scale: 14 · 18 · 21 · 24 · 36 · 48 · 72 */
  --fs-small: 0.875rem;
  --fs-body: 1.125rem;
  --fs-lead: 1.3125rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(1.875rem, 1.2rem + 2.4vw, 2.25rem);
  --fs-h2-lg: clamp(2.25rem, 1.4rem + 3vw, 3rem);
  --fs-h1: clamp(2.75rem, 1.5rem + 4.6vw, 4.5rem);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --measure: 34em;
  --space-section: clamp(72px, 11vw, 144px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--turmeric); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--forest); color: var(--on-forest); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9em 1.75em;
  border-radius: 999px;
  background: var(--forest); color: var(--on-forest);
  font: 600 1rem/1.2 var(--text);
  text-decoration: none;
  transition: background-color .2s ease;
}
.button:hover { background: var(--forest-deep); }
.button--light { background: var(--on-forest); color: var(--forest); }
.button--light:hover { background: #fff; }

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--plaster) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.name {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  font-size: 1.625rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 1rem; }
.nav a:not(.button) { text-decoration: none; color: var(--ink-soft); }
.nav a:not(.button):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.nav .button { padding: 0.7em 1.35em; font-size: 0.9375rem; }

.menu-button {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
}

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--plaster); padding: 4px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; color: var(--ink); }
  .nav .button { margin-top: 20px; padding: 0.9em 1.5em; font-size: 1rem; }
}

/* ---------- Hero: the one bold moment ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: min(calc(100svh - 76px), 900px);
}
.hero-text {
  align-self: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 96px) 0;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  max-width: 11em;
}
.hero .turn {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--forest);
  margin: 0.75em 0 0;
  max-width: 17em;
}
.hero .intro { margin-top: 2rem; max-width: 30em; color: var(--ink-soft); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 2.25rem; }
.hero-photo { margin: 0; position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-text { padding: 48px var(--gutter) 56px; }
}

/* single orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .turn, .hero .intro, .hero .actions { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .turn { animation-delay: .35s; }
  .hero .intro { animation-delay: .55s; }
  .hero .actions { animation-delay: .7s; }
  .hero-photo img { animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.band { padding: var(--space-section) 0; }
.band--clay { background: var(--clay); }
.band--sage { background: var(--sage); }

.section-title { font-size: var(--fs-h2-lg); line-height: 1.1; letter-spacing: -0.015em; max-width: 18em; }
.section-intro { margin-top: 1.25rem; max-width: var(--measure); color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; }

/* Story */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.story-photo { margin: 0; position: sticky; top: 108px; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.story-text { max-width: var(--measure); }
.story-text p { color: color-mix(in srgb, var(--ink) 86%, transparent); }
.statement {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-size: var(--fs-h2);
  line-height: 1.22;
  color: var(--forest);
  margin: 1.4em 0 !important;
  max-width: 16em;
}
.story-text > p:first-child { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-photo { position: static; max-width: 360px; }
}

/* Approach: the six practices as one sentence */
.practices {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: var(--fs-h2-lg);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  max-width: 22em;
  margin: clamp(32px, 5vw, 56px) 0 0;
}
.practices strong { font-weight: 400; color: var(--ink); }

/* Ways to work together: rows, weighted by importance */
.offers { margin-top: clamp(40px, 6vw, 72px); }
.offer {
  display: grid; grid-template-columns: 5fr 7fr; gap: 16px clamp(32px, 6vw, 96px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer h3 { font-size: var(--fs-h3); line-height: 1.25; }
.offer--main h3 { font-size: var(--fs-h2); line-height: 1.15; }
.offer .facts { list-style: none; padding: 0; margin: 14px 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.offer .facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--turmeric); margin-right: 10px; vertical-align: 0.15em; }
.offer-body { max-width: var(--measure); }
.offer-body .link { display: inline-block; margin-top: 4px; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }

/* Already Good */
.book { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 112px); align-items: end; }
.book-title {
  font-size: clamp(3.5rem, 2rem + 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--forest);
}
.book-subtitle { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: var(--fs-h3); line-height: 1.35; margin: 1rem 0 1.5rem; max-width: 20em; }
.book p.note { color: var(--ink-soft); max-width: var(--measure); }
.listen-heading { font-family: var(--text); font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.episodes { list-style: none; padding: 0; margin: 0; }
.episodes li + li { border-top: 1px solid var(--line); }
.episodes a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none; }
.episodes .title { font-family: var(--display); font-variation-settings: "SOFT" 100; font-size: var(--fs-lead); }
.episodes .where { font-size: var(--fs-small); color: var(--ink-soft); white-space: nowrap; }
.episodes a:hover .title { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; align-items: start; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0;
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-size: var(--fs-lead); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--text); font-size: 1.5rem; line-height: 1; color: var(--forest);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; max-width: var(--measure); color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .answer { animation: open .3s ease-out; }
}
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* Closing */
.closing { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.closing-photo { margin: 0; }
.closing-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }
.closing p { max-width: 30em; color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; margin-top: 1.25rem; }
.closing .button { margin-top: 2rem; }
@media (max-width: 760px) { .closing { grid-template-columns: 1fr; } .closing-photo { max-width: 260px; } }

/* Footer */
.site-footer { background: var(--forest); color: var(--on-forest); padding: clamp(56px, 8vw, 88px) 0 32px; }
.site-footer a { text-decoration: none; color: color-mix(in srgb, var(--on-forest) 82%, transparent); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.3em; }
.footer-top { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; }
.site-footer .name { font-size: 2.25rem; display: inline-block; color: var(--on-forest); }
.footer-line { margin-top: 1rem; max-width: 26em; color: color-mix(in srgb, var(--on-forest) 78%, transparent); font-size: 1rem; }
.footer-col h2 { font-family: var(--text); font-size: 1rem; font-weight: 600; margin: 0 0 12px; color: var(--on-forest); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1rem; }
.footer-bottom {
  margin-top: clamp(48px, 7vw, 72px); padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--on-forest) 18%, transparent);
  font-size: var(--fs-small); color: color-mix(in srgb, var(--on-forest) 68%, transparent);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

.nowrap { white-space: nowrap; }
