/* chrome.css
   Shared across every page. Loaded first.
   Part of a three-file system:
     chrome.css  tokens, reset, base type, header, footer, buttons  (every page)
     site.css    inner-page components                              (inner pages)
     home.css    the landing-page design, scoped to .lp             (homepage)
*/

/* ==========================================================================
   Holistic Hypno Healing — core stylesheet
   Hand-authored. No framework, no build step.
   Sections: 1 tokens · 2 reset · 3 typography · 4 layout · 5 components
             6 header/footer · 7 page blocks · 8 responsive · 9 a11y/print
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --sage:        #7a9e7e;
  --sage-dark:   #4a6e4e;
  --sage-light:  #a8c5ab;
  --deep:        #1e2a1f;
  --deep-darker: #111c12;
  --cream:       #f8f4ed;
  --warm-white:  #fdfaf5;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a0;
  --earth:       #8b6f5e;
  --earth-light: #c4a898;
  --text:        #2c3a2d;
  --text-light:  #6b7c6c;
  --line:        rgba(122, 158, 126, 0.22);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap:      1180px;
  --wrap-text: 760px;
  --gutter:    clamp(1.25rem, 5vw, 3rem);
  --radius:    18px;
  --radius-sm: 10px;
  --shadow:    0 2px 6px rgba(30, 42, 31, .04), 0 12px 32px rgba(30, 42, 31, .07);
  --shadow-lg: 0 4px 12px rgba(30, 42, 31, .06), 0 24px 60px rgba(30, 42, 31, .12);
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--deep);
  letter-spacing: -.012em;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }

h2 { font-size: clamp(2rem, 4.6vw, 3.15rem); }

h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); }

h4 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }

p  { margin: 0 0 1.15em; text-wrap: pretty; }

a  { color: var(--sage-dark); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ease); }

a:hover { color: var(--deep); }

em, .accent { font-style: italic; color: var(--sage-dark); }

strong { font-weight: 500; color: var(--deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-dark); margin: 0 0 1.4rem;
}

.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-light); max-width: 60ch; }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.wrap--text { max-width: var(--wrap-text); }

/* ---------- 5. Components ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1.05rem 2.1rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease);
}

.btn--primary { background: var(--sage-dark); color: #fff; box-shadow: 0 10px 26px rgba(74,110,78,.26); }

.btn--primary:hover { background: var(--deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(30,42,31,.28); }

.btn--ghost { background: transparent; color: var(--deep); border-color: var(--line); }

.btn--ghost:hover { background: rgba(122,158,126,.1); color: var(--deep); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--deep); }

.btn--light:hover { background: var(--gold-light); color: var(--deep); transform: translateY(-2px); }

.btn--lg { padding: 1.2rem 2.6rem; font-size: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 500; color: var(--deep); text-decoration: none;
  padding-block: .4rem; transition: gap .22s var(--ease), color .22s var(--ease);
}

.text-link:hover { gap: .85rem; color: var(--sage-dark); }

.text-link span { color: var(--sage-dark); }

a.card { text-decoration: none; color: inherit; display: block; }

a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage-light); }

a.card:hover .card__more { gap: .7rem; }

a.pill:hover { background: var(--sage-dark); color: #fff; border-color: var(--sage-dark); }

/* ---------- 6. Header / footer ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: .9rem 1.4rem; border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,250,245,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(30,42,31,.05); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }

.brand { font-family: var(--font-display); font-size: 1.42rem; color: var(--deep); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }

.brand b { font-weight: 600; color: var(--sage-dark); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }

.nav a { font-size: .92rem; color: var(--text); text-decoration: none; position: relative; padding-block: .3rem; }

.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--sage-dark); transition: right .28s var(--ease); }

.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.nav a[aria-current="page"] { color: var(--deep); font-weight: 500; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; }

.nav-toggle svg { width: 20px; height: 20px; stroke: var(--deep); }

.site-footer { background: var(--deep-darker); color: rgba(255,255,255,.62); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .93rem; }

.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 500; }

.site-footer a { color: rgba(255,255,255,.62); text-decoration: none; }

.site-footer a:hover { color: var(--gold-light); }

.site-footer ul { list-style: none; display: grid; gap: .6rem; }

.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 1rem; }

.site-footer .brand b { color: var(--sage-light); }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.45);
}

.footer-disclaimer { max-width: 62ch; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.42); }

/* ---------- 8. Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; padding: 5.5rem var(--gutter) 2.5rem;
    background: var(--warm-white); flex-direction: column; align-items: stretch; gap: 0;
    transform: translateY(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg);
    max-height: 100dvh; overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; }
  .site-header__inner { position: relative; z-index: 101; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 9. Accessibility / print ---------- */
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
