/* Heal Your Prana — site.css (generated into site/assets/css/) */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face{
  font-family:'Jost';
  font-style:normal;
  font-weight:300 600; /* variable file: Google serves one woff2 for 300/400/500/600 */
  font-display:swap;
  src:url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Playfair Display';
  font-style:italic;
  font-weight:400;
  font-display:swap;
  src:url('../fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Design tokens ---------- */
:root{
  --gold:#eeae3c;        /* decorative fills, on-dark text ONLY */
  --gold-text:#8a6200;   /* accessible gold on white, 5.5:1 */
  --sage:#8da86d;        /* decorative fill */
  --sage-text:#55703c;   /* accessible sage: 5.6:1 on #fff, 5.1:1 on --header-bg */
  --green-deep:#0c4426;
  --cream:#fcf1d4; --cream-soft:#fef6ed; --blush:#ffebe3; --blush-soft:#fdf1ec;
  --surface:#fff; --header-bg:#f7f5f1;
  --ink:#383838; --ink-soft:#4a4a4a; --ink-mute:#5f5f5f;
  --font-display:'Jost','Century Gothic','Futura',system-ui,sans-serif;
  --font-body:'Jost',system-ui,-apple-system,sans-serif;
  --font-script:'Playfair Display',Georgia,serif;
  --container:1200px; --measure:68ch;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  /* In-page anchors are offset by the sticky header so targets are not hidden
     underneath it. site.js measures the real header and overwrites --header-h,
     so this literal is only the no-JS fallback. #top is exempt (see below). */
  --header-h:132px;
  scroll-padding-top:var(--header-h);
}
#top{scroll-margin-top:0}
body{
  margin:0;
  font-family:var(--font-body);
  font-weight:400;
  /* 1.0625rem (17px) reads better than 16px in Jost, which has a small x-height
     relative to its cap height. Paired with the larger .lead this gives a clear
     three-step hierarchy: heading > lead > body. */
  font-size:1.0625rem;
  color:var(--ink-soft);
  background:var(--surface);
  line-height:1.7;
  -webkit-text-size-adjust:100%;
}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--ink);line-height:1.2;text-wrap:balance}
h1{font-size:clamp(1.9rem,4vw,2.6rem);font-weight:500}
h2{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:500}
h3{font-size:1.15rem;font-weight:600}
p,li{max-width:var(--measure)}
a{color:var(--sage-text)}
a:hover{color:var(--green-deep)}
.container{max-width:var(--container);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}

/* ---------- Focus visibility (never removed without replacement) ---------- */
:focus-visible{outline:3px solid var(--green-deep);outline-offset:2px;border-radius:2px}
.hero :focus-visible,.on-dark :focus-visible{outline-color:#fff}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute;left:-999px;top:0;z-index:100;
  background:var(--green-deep);color:#fff;padding:.75rem 1.25rem;
  font-weight:600;text-decoration:none;
}
.skip-link:focus{left:0}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--header-bg);
  border-bottom:1px solid #e2ddd3;
}
.brand-box{
  /* Horizontal lockup: mark and wordmark on one line. The original stacked them,
     which cost ~45px of sticky-header height on every page and every scroll.
     display:flex (not inline-flex) so `margin-inline:auto` actually centres it —
     auto margins are inert on an inline-level box. */
  display:flex;flex-direction:row;align-items:center;justify-content:center;gap:.7rem;
  margin:.6rem auto .35rem;padding:.45rem 1.1rem;
  border:1px solid #d8d2c4;
  width:max-content;max-width:100%;
  text-decoration:none;
}
.brand-box img{width:44px;height:44px;flex:none}
.brand-name{
  font-family:var(--font-script);font-style:italic;
  font-size:1.45rem;color:var(--ink);letter-spacing:.02em;
  white-space:nowrap;
}
@media (max-width:400px){
  .brand-name{font-size:1.2rem}
  .brand-box img{width:38px;height:38px}
}
.nav-toggle{
  display:none;
  margin:.25rem auto .6rem;
  min-width:44px;min-height:44px;
  padding:.5rem 1rem;
  font:inherit;font-weight:600;color:var(--ink);
  background:transparent;border:1px solid #c9c2b2;border-radius:4px;
  cursor:pointer;
}
.site-nav ul{
  list-style:none;margin:0;padding:0 0 .6rem;
  display:flex;flex-wrap:wrap;justify-content:center;gap:.1rem .35rem;
}
.site-nav a{
  display:inline-flex;align-items:center;
  min-height:44px;padding:.35rem .62rem;
  font-family:var(--font-display);font-weight:500;font-size:.94rem;
  letter-spacing:.02em;text-decoration:none;color:var(--ink-soft);
}
.site-nav a:hover{color:var(--green-deep);text-decoration:underline;text-underline-offset:4px}

/* Social icons live at the end of the nav row, separated by a hairline so they
   read as a distinct group rather than another nav destination. */
.nav-social{
  display:flex;align-items:center;gap:.1rem;
  margin-left:.3rem;padding-left:.4rem;
  border-left:1px solid #ddd6c8;
}
.nav-social a{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;
  border-radius:50%;
}
.nav-social a:hover{background:#ece7dc;text-decoration:none}
.nav-social img{width:24px;height:24px;display:block}
/* Stacked nav: the social group becomes a full-width footer row of the panel. */
@media (max-width:1150px){
  .nav-social{
    justify-content:center;margin:.35rem 0 0;padding:.6rem 0 0;
    border-left:0;border-top:1px solid #e2ddd3;width:100%;
  }
}
.site-nav a[aria-current="page"]{color:var(--sage-text);font-weight:600;text-decoration:underline;text-underline-offset:6px}
.site-nav a.nav-cta{
  background:var(--green-deep);color:#fff;border-radius:999px;
  padding-inline:1.1rem;margin-left:.4rem;
}
.site-nav a.nav-cta:hover{background:#0a3a20;color:#fff;text-decoration:none}
.site-nav a.nav-cta[aria-current="page"]{color:#fff;text-decoration:none}

/* The desktop nav row (7 links + CTA + social group) needs ~1060px to sit on one
   line. Below that it wrapped to 2-3 rows and pushed the sticky header from
   130px to 238px, so the toggle takes over well above the mobile range. */
@media (max-width:1150px){
  /* Progressive enhancement: the collapse-behind-a-toggle pattern only
     activates when JS is present to operate the toggle. With JS off the
     nav stays visible and stacked, so navigation is never a dead end. */
  .js .nav-toggle{display:block}
  .js .site-nav{display:none}
  .js .site-nav.open{display:block;border-top:1px solid #e2ddd3}
  .site-nav ul{flex-direction:column;align-items:stretch;padding:.4rem 0 .8rem}
  .site-nav a{width:100%;justify-content:center;min-height:48px;font-size:1.05rem}
  /* Social icons stay circular 44px targets rather than inheriting the
     full-width stacked-link treatment above. */
  .nav-social{gap:1.25rem}
  .nav-social a{width:44px;min-height:44px}
  .site-nav a.nav-cta{margin-left:0;border-radius:0}
}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:clamp(340px,46vw,520px);display:grid;overflow:hidden}
.hero picture,.hero img.hero-img{position:absolute;inset:0;width:100%;height:100%}
.hero img.hero-img{object-fit:cover}
/* Background video sits above the poster image and below the scrim. It only
   gets a src (via site.js) when motion is allowed, so the poster is what
   reduced-motion, save-data, and no-JS visitors see. */
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;border:0;pointer-events:none;
  opacity:0;transition:opacity .6s ease;
}
.hero-video.ready{opacity:1}
.hero::after{
  content:"";position:absolute;inset:0;
  /* Light aesthetic wash only. Text legibility is guaranteed by .hero-panel
     below, not by this gradient — a photo-dependent scrim cannot promise a
     contrast ratio, since the underlying image luminance varies. */
  background:linear-gradient(to right, rgba(0,0,0,.34), rgba(0,0,0,.10));
}
.hero-inner{
  position:relative;z-index:1;align-self:center;
  padding-block:3rem;
}
.hero-panel{
  /* rgba(20,30,22,.88) composited over even a pure-white photo region yields
     5.6:1 for --gold text and 11.1:1 for white. Worst case passes AA.
     Width is sized so the eyebrow headline sits on one line at desktop. */
  background:rgba(20,30,22,.88);
  max-width:min(680px,100%);padding:1.85rem clamp(1.25rem,3vw,2.4rem);
  border-radius:14px;border:1px solid rgba(255,255,255,.16);
}
@supports (backdrop-filter:blur(4px)){
  .hero-panel{backdrop-filter:blur(3px)}
}
.hero-eyebrow{
  color:var(--gold); /* on the panel only */
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(1.4rem,3.2vw,2.1rem);
  margin:0 0 .75rem;max-width:none;
  text-wrap:balance;
}
@media (min-width:900px){
  /* Enough room at desktop to keep the headline on a single line. */
  .hero-eyebrow{white-space:nowrap}
}
.hero-line{color:#fff;font-size:clamp(1rem,2vw,1.2rem);margin:.25rem 0;font-weight:400}
.hero-line a{color:var(--gold);font-weight:500}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;padding:.6rem 1.5rem;margin-top:1.25rem;
  background:var(--gold);color:#231a05;border-radius:999px;
  font-family:var(--font-display);font-weight:600;font-size:1rem;
  text-decoration:none;border:2px solid transparent;
}
.btn:hover{background:#f5bd58;color:#231a05}
.btn-ghost{background:transparent;color:var(--green-deep);border-color:var(--green-deep);margin-top:0}
.btn-ghost:hover{background:var(--green-deep);color:#fff}

/* ---------- Generic sections ---------- */
main{display:block}
.section{padding-block:clamp(2rem,6vw,3.5rem)}
.section-alt{background:var(--cream-soft)}
.eyebrow{display:block;color:var(--gold-text);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;margin:0 0 .25rem}
/* The lead paragraph carries the page's core definition, so it steps up a full
   size and tightens its leading relative to body copy. Body paragraphs stay at
   1rem for long-form readability. */
.lead{
  font-size:clamp(1.15rem,1.6vw,1.3rem);
  line-height:1.55;
  color:var(--ink);
  font-weight:400;
}
.media-split{display:grid;gap:2rem;align-items:start}
@media (min-width:760px){
  .media-split{grid-template-columns:minmax(220px,340px) 1fr}
  .media-split.wide-media{grid-template-columns:minmax(260px,420px) 1fr}
}
.media-split img{border-radius:10px}
.small{font-size:.9rem;color:var(--ink-mute)}
.note{
  background:var(--blush-soft);border-left:4px solid var(--sage);
  padding:.75rem 1rem;border-radius:0 8px 8px 0;color:var(--ink-soft);
}
.credentials{padding-left:1.2rem}
.credentials li{margin-block:.3rem}
.ext-links{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.ext-links a{
  display:inline-flex;align-items:center;min-height:44px;
  padding:.4rem 1rem;border:1px solid var(--sage-text);border-radius:999px;
  text-decoration:none;font-weight:500;
}

/* ---------- Ailment explorer ---------- */
.explorer-tools{display:none}
.js .explorer-tools{display:block}
.search-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-block:1rem}
.search-row label{font-weight:600;color:var(--ink)}
#ailment-search{
  font:inherit;padding:.6rem .9rem;min-height:44px;min-width:min(340px,100%);
  border:2px solid #c9c2b2;border-radius:8px;color:var(--ink);
}
#ailment-search:focus-visible{border-color:var(--green-deep)}
.search-count{color:var(--ink-mute);font-size:.95rem}
.chip-index{list-style:none;padding:0;margin:.75rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem}
.chip-index a{
  display:inline-flex;align-items:center;min-height:44px;
  padding:.3rem .9rem;border-radius:999px;text-decoration:none;
  font-size:.9rem;font-weight:500;color:var(--ink);
  background:var(--header-bg);border:1px solid #d8d2c4;
}
.chip-index a:hover{border-color:var(--sage-text);color:var(--green-deep)}
.ailment-grid{margin-top:1.5rem}
@media (min-width:900px){
  .ailment-grid{columns:2;column-gap:1.5rem}
}
.ailment-card{
  break-inside:avoid;
  border:1px solid #eadfce;border-radius:12px;
  padding:1.1rem 1.3rem;margin:0 0 1.5rem;
  /* Anchor offset is handled globally by html{scroll-padding-top}; a local
     scroll-margin here would stack on top of it and overshoot. */
}
.ailment-card.tone-blush{background:linear-gradient(160deg,var(--blush),#fff)}
.ailment-card.tone-cream{background:linear-gradient(160deg,var(--cream),#fff)}
.ailment-card.tone-sage{background:linear-gradient(160deg,#dfe8d2,#fff)}
.ailment-card h3{margin:.2rem 0 .6rem}
.ailment-card ul{margin:0;padding-left:1.2rem}
.ailment-card li{margin-block:.15rem}
.ailment-card li.hit{font-weight:600;color:var(--green-deep)}
.hidden{display:none !important}

/* ---------- Pricing ---------- */
.pricing-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:1.25rem;margin-top:1.5rem;
}
/* 5 packages: force a single row at wide widths so the last card is not
   orphaned onto its own line. */
@media (min-width:1080px){
  .pricing-grid{grid-template-columns:repeat(5,1fr)}
}
.price-card{
  position:relative;
  background:var(--surface);
  border:1px solid #e4ddcd;border-radius:14px;
  padding:1.5rem 1.25rem 1.25rem;
  display:flex;flex-direction:column;gap:.4rem;align-items:flex-start;
}
.price-card.featured{border:3px solid var(--gold)}
.badge{
  position:absolute;top:-0.85rem;left:1rem;
  background:var(--gold);color:#231a05;
  font-size:.8rem;font-weight:600;letter-spacing:.04em;
  padding:.2rem .7rem;border-radius:999px;
}
.price-sessions{font-family:var(--font-display);font-weight:600;font-size:1.2rem;color:var(--ink)}
.price-amount{font-size:2rem;font-weight:600;color:var(--green-deep);font-family:var(--font-display)}
.price-unit{color:var(--ink-mute);font-size:.95rem}
.price-card .btn{margin-top:auto;align-self:stretch;background:var(--green-deep);color:#fff}
.price-card .btn:hover{background:#0a3a20}

/* ---------- Forms ---------- */
.form-wrap{max-width:640px}
.form-grid{display:grid;gap:1rem;margin-top:1.25rem}
@media (min-width:620px){
  .form-grid{grid-template-columns:1fr 1fr}
  .form-grid .field-full{grid-column:1 / -1}
}
.field label{display:block;font-weight:600;color:var(--ink);margin-bottom:.3rem}
.req-legend{margin:0 0 .6rem;font-size:.9rem;color:var(--ink-mute)}
.req-mark{color:var(--gold-text)}
.field input,.field textarea{
  font:inherit;width:100%;min-height:44px;
  padding:.6rem .8rem;color:var(--ink);
  border:2px solid #c9c2b2;border-radius:8px;background:#fff;
}
.field textarea{min-height:130px;resize:vertical}
.field input:focus-visible,.field textarea:focus-visible{border-color:var(--green-deep);outline-offset:0}
.consent-row{display:flex;gap:.6rem;align-items:flex-start}
.consent-row input{width:1.35rem;height:1.35rem;min-height:0;margin-top:.2rem;flex:none}
.consent-row label{font-weight:400;color:var(--ink-soft);margin:0}
.form-actions{margin-top:.5rem}
button.btn{border:none;cursor:pointer;font:inherit;font-weight:600;margin-top:0}
.form-fallback{margin-top:1rem}

/* ---------- Testimonials ---------- */
.rating-block{
  background:linear-gradient(160deg,var(--cream),#fff);
  border:1px solid #eadfce;border-radius:14px;
  padding:2rem;max-width:420px;text-align:center;margin-block:1.5rem;
}
.rating-score{font-size:3rem;font-weight:600;font-family:var(--font-display);color:var(--ink);line-height:1}
.rating-stars{color:var(--gold-text);font-size:1.4rem;letter-spacing:.15em;margin-block:.4rem}
.rating-meta{color:var(--ink-mute)}
.empty-state{
  border:2px dashed #d8d2c4;border-radius:12px;
  padding:1.75rem;max-width:var(--measure);color:var(--ink-mute);
  background:var(--cream-soft);
}

/* ---------- Form submit status ---------- */
.form-status{
  margin:.85rem 0 0;font-size:.98rem;line-height:1.55;max-width:60ch;
}
.form-status:empty{display:none}          /* no empty gap before first submit */
.form-status.is-ok{
  color:#14532d;background:#e7f4ea;border-left:4px solid #2f7a44;
  padding:.7rem .9rem;border-radius:6px;
}
.form-status.is-bad{
  color:#7a1d1d;background:#fdecec;border-left:4px solid #c0392b;
  padding:.7rem .9rem;border-radius:6px;
}
.btn[disabled]{opacity:.65;cursor:progress}

/* ---------- Reviews widget (Elfsight-alike, self-hosted) ---------- */
.reviews{
  border:1px solid #e6dfd0;border-radius:14px;background:var(--surface);
  padding:1.1rem 1.1rem 1.4rem;margin-top:1.5rem;
}
.reviews-head{
  display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;
  padding-bottom:1rem;border-bottom:1px solid #efe9dc;
}
.reviews-brand{display:flex;align-items:center;gap:.5rem;font-weight:600;color:var(--ink)}
.reviews-gmark{width:22px;height:22px;flex:none}
.reviews-score{display:flex;align-items:baseline;gap:.5rem}
.reviews-score b{font-family:var(--font-display);font-size:1.5rem;color:var(--ink);line-height:1}
.stars{color:#c8860d;letter-spacing:.1em;font-size:1.05rem;line-height:1}
.reviews-count{color:var(--ink-mute);font-size:.9rem}
.reviews-cta{
  margin-left:auto;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:.5rem 1.1rem;border-radius:6px;
  background:#1a73e8;color:#fff;text-decoration:none;font-weight:600;font-size:.92rem;
}
.reviews-cta:hover{background:#1765cc;color:#fff;text-decoration:none}

.reviews-body{position:relative;margin-top:1.1rem}
.reviews-track{
  display:grid;grid-template-columns:1fr;gap:1rem;
  padding:.25rem .15rem 0;align-items:start;
}
@media (min-width:560px){ .reviews-track{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:900px){ .reviews-track{grid-template-columns:repeat(3,minmax(0,1fr))} }
.review-card{
  border:1px solid #eadfce;border-radius:10px;background:var(--cream-soft);
  padding:1rem 1.05rem;display:flex;flex-direction:column;gap:.5rem;min-width:0;
}
.review-top{display:flex;align-items:center;gap:.6rem}
.review-avatar{
  width:36px;height:36px;border-radius:50%;flex:none;
  display:grid;place-items:center;font-weight:600;color:#fff;background:var(--sage-text);
  font-family:var(--font-display);
}
.review-who{min-width:0}
.review-author{font-weight:600;color:var(--ink);font-size:.95rem;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.review-text{margin:0;font-size:.95rem;line-height:1.6}
.review-text.clamped{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.review-more{
  align-self:flex-start;background:none;border:0;padding:.4rem 0;min-height:44px;
  color:var(--sage-text);font:inherit;font-size:.9rem;text-decoration:underline;
  text-underline-offset:3px;cursor:pointer;
}
.review-flag{
  align-self:flex-start;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;
  color:#8a5a00;background:#fdead2;border:1px solid #f0d3a4;border-radius:999px;
  padding:.15rem .5rem;font-weight:600;
}

.reviews-attrib{margin:.9rem 0 0;font-size:.8rem;color:var(--ink-mute)}

/* ---------- 404 ---------- */
.notfound{text-align:center;padding-block:4rem}
.notfound .links{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}

/* ---------- Disclaimer bar + footer ---------- */
.disclaimer-bar{
  background:var(--green-deep);color:#fff;
  text-align:center;padding:.6rem 1rem;font-size:.9rem;
}
.disclaimer-bar p{margin:0;max-width:none}
.site-footer{background:var(--header-bg);border-top:1px solid #e2ddd3;padding-block:2.5rem 1.5rem}
.footer-box{
  border:1px solid #d8d2c4;border-radius:4px;
  padding:2rem clamp(1rem,4vw,2.5rem);
  display:grid;gap:1.25rem;justify-items:center;text-align:center;
}
.footer-box img.footer-logo{width:96px;height:96px}
.footer-copy{margin:0;color:var(--ink-soft)}
.footer-disclaimer{font-size:.85rem;color:var(--ink-mute);max-width:70ch}
.social-row{display:flex;gap:.75rem}
.social-row a{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:10px;
}
.social-row img{width:32px;height:32px}
.back-top{
  display:inline-flex;align-items:center;min-height:44px;padding:.4rem 1rem;
  font-family:var(--font-display);font-weight:600;letter-spacing:.12em;
  font-size:.85rem;text-decoration:none;color:var(--ink);
}
.back-top:hover{color:var(--green-deep)}
.footer-contact{margin:0;color:var(--ink-soft)}
.footer-contact a{white-space:nowrap}

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