/* Gentle Reset Wellness — site styles
   Palette from Lynne's existing brand: cream paper, ink blue, misty blue boxes,
   plus a sunset peach taken from the hero photo, used sparingly. */
@font-face { font-family: "Lora"; src: url("assets/fonts/lora.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("assets/fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("assets/fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --cream: #F6F2EC;
  --paper: #FBF9F5;
  --ink: #23396B;
  --ink-deep: #1A2B52;
  --ink-soft: #4B5D82;
  --mist: #E3E9F1;
  --blue: #C5D1E2;
  --peach: #D9946A;
  --line: #D9DEE7;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;

  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 760px; }
.section-lede { color: var(--ink-soft); max-width: 62ch; }
.fine { font-size: .92rem; color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 600 1rem/1.2 var(--serif); text-decoration: none;
  background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink);
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--mist); color: var(--ink-deep); }
.btn--small { padding: 9px 18px; font-size: .95rem; }
.btn--light { background: var(--paper); color: var(--ink-deep); border-color: var(--paper); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); }
.btn--outline { background: transparent; color: var(--paper); border-color: rgba(251,249,245,.5); }
.btn--outline:hover { background: rgba(251,249,245,.1); border-color: var(--paper); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,242,236,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; flex: none; background: var(--ink);
  -webkit-mask: url("assets/img/logo-mark.png") center / contain no-repeat;
          mask: url("assets/img/logo-mark.png") center / contain no-repeat;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--script); font-size: 1.85rem; line-height: 1.05; }
.brand__sub { font-size: .78rem; letter-spacing: .06em; color: var(--ink-soft); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: 1rem; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.menu {
  display: none; font: 600 .95rem var(--serif); color: var(--ink);
  background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; cursor: pointer;
}

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero__note { font-size: .98rem; color: var(--ink-soft); font-style: italic; }
.hero__art { margin: 0; }
.hero__art img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 200px 200px 24px 24px; /* arched window */
  box-shadow: 0 30px 60px -30px rgba(26,43,82,.45);
  background: var(--mist);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__art img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(1.03); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
}

/* Facts */
.facts { background: var(--paper); border-block: 1px solid var(--line); padding: 34px 0 26px; }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 0 14px; }
.facts__list > div { border-left: 2px solid var(--blue); padding-left: 16px; }
.facts dt { font-size: .9rem; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; }
.facts dd a { color: var(--ink); }
.facts__states { font-size: .95rem; color: var(--ink-soft); margin: 10px 0 0; }

/* Intro */
.intro { padding: var(--section) 0 calc(var(--section) * .7); }
.intro__big { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.55; }
.intro p:not(.intro__big):not(.script-line) { color: var(--ink-soft); }
.script-line { font-family: var(--script); font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.3; margin: 1.2em 0 0; }

/* Topics */
.help { padding: calc(var(--section) * .6) 0 var(--section); }
.help__head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.help__head p { color: var(--ink-soft); margin: 0; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.topic[open] { grid-column: 1 / -1; border-color: var(--blue); box-shadow: 0 20px 40px -28px rgba(26,43,82,.35); }
.topic summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 26px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.topic summary::-webkit-details-marker { display: none; }
.topic summary::after {
  content: "+"; position: absolute; right: 22px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  background: var(--mist); color: var(--ink); transition: transform .25s;
}
.topic[open] summary::after { transform: rotate(45deg); }
.topic summary:hover .topic__title { text-decoration: underline; }
.topic__title { font-size: 1.3rem; font-weight: 600; }
.topic__line { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.topic__body { padding: 0 26px 26px; max-width: 74ch; }
.topic__lead { font-style: italic; font-size: 1.25rem; color: var(--ink); }
.topic__body p:not(.topic__lead) { color: var(--ink-soft); }

/* Belief */
.belief { background: var(--ink-deep); color: var(--paper); padding: var(--section) 0; text-align: center; }
.belief__quote { font-family: var(--script); font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.2; margin-bottom: .4em; }
.belief p:last-child { color: rgba(251,249,245,.78); font-size: 1.2rem; max-width: 52ch; margin-inline: auto; }

/* About */
.about { padding: var(--section) 0; }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: 110px; }
.about__photo img { border-radius: 24px; background: var(--mist); width: 100%; }
.about__copy > p { color: var(--ink-soft); }
.about h3 { margin-top: 2em; }
.training { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 18px; }
.training li { background: var(--mist); border-radius: 16px; padding: 20px 22px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.training strong { display: block; color: var(--ink); font-size: 1.12rem; }
.training__cert { display: block; font-style: italic; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.about__close { font-style: italic; color: var(--ink) !important; font-size: 1.2rem; }

/* Resources */
.resources { background: var(--paper); border-block: 1px solid var(--line); padding: var(--section) 0; }
.shop { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shop li { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 4px; background: var(--cream); }
.shop__name { font-weight: 600; font-size: 1.12rem; line-height: 1.35; margin-bottom: 6px; }
.shop__price { color: var(--ink-soft); }
.shop__note { font-style: italic; color: #A2643F; font-size: .95rem; }
.shop__links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

/* Newsletter */
.note { padding: var(--section) 0; }
.note__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 900px; }
.note__art { width: 220px; border-radius: 50%; }
.note p { color: var(--ink-soft); }
.note__form { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 8px; }
.note__form input {
  flex: 1 1 240px; font: 1rem var(--serif); color: var(--ink);
  padding: 13px 18px; border: 1.5px solid var(--blue); border-radius: 999px; background: var(--paper);
}
.note__form input:focus { outline: none; border-color: var(--ink); }
.note__status { min-height: 1.5em; margin: 0; font-size: .98rem; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); padding: var(--section) 0; text-align: center; }
.contact p { color: rgba(251,249,245,.82); }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0; }
.contact__privacy { font-size: .95rem; max-width: 58ch; margin-inline: auto; }
.contact__privacy strong { color: var(--paper); }

/* Footer */
.footer { background: var(--ink-deep); color: rgba(251,249,245,.7); padding: 44px 0; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.footer p { margin: 0; }
.footer__name { color: var(--paper); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--paper); }
.footer__crisis, .footer__legal { grid-column: 1 / -1; }
.footer__crisis { padding-top: 18px; border-top: 1px solid rgba(251,249,245,.15); }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .help__head { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; }
  .about__photo { position: static; max-width: 380px; }
  .facts__list { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 4px var(--pad) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .topics { grid-template-columns: 1fr; }
  .facts__list { grid-template-columns: 1fr; gap: 14px; }
  .note__grid { grid-template-columns: 1fr; text-align: center; }
  .note__art { width: 140px; margin: 0 auto; }
  .note__form { justify-content: center; }
  .hero__actions .btn, .contact__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.55rem; }
  .brand__mark { width: 38px; height: 38px; }
}
