/* ============================================================
   WEST ELKS WELLNESS — shared stylesheet
   Brand palette (per 2024 Mini Brand Guidelines):
     Slate blue   #5E7583  primary   (ambitious / stable / reliable)
     Sage gray    #7B857F  primary   (dependable / comfortable / mature)
     Light sage   #BFCBC0  secondary (tranquil / modern / calming)
     Cream / sand #DFDACE  secondary (grounded / confident)
     Gold         #D8A84D  accent    (freshness / hope / positivity)
   Fonts: Balbeer Rustic (headers), Daydream (script), Bebas Neue (labels)
   ============================================================ */

/* ---- Brand fonts (drop files into /fonts — see fonts/README.txt) ---- */
@font-face {
  font-family: 'Balbeer Rustic';
  src: url('/fonts/BalbeerRustic.woff2') format('woff2'),
       url('/fonts/BalbeerRustic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Daydream';
  src: url('/fonts/Daydream.woff2') format('woff2'),
       url('/fonts/Daydream.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Della Robbia';
  src: url('/fonts/DellaRobbia.woff2') format('woff2'),
       url('/fonts/DellaRobbia.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand colors */
  --slate: #5E7583;
  --slate-dark: #4c606b;
  --sage: #7B857F;
  --sage-dark: #5c6560;
  --sage-light: #bfcbc0;
  --sand: #dfdace;
  --gold: #d8a84d;
  --gold-dark: #bd8e33;

  /* surfaces & text */
  --bg: #f6f4ec;
  --bg-alt: #e9e3d4;
  --ink: #2e322f;
  --ink-soft: #5a615b;
  --white: #ffffff;

  /* font stacks — real brand fonts first, graceful fallbacks after */
  --font-head: 'Balbeer Rustic', 'Arial Narrow', system-ui, sans-serif;
  --font-script: 'Daydream', cursive;
  --font-label: 'Bebas Neue', 'Inter', sans-serif;
  --font-body: 'Della Robbia', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 50, 47, 0.08);
  --shadow-lg: 0 20px 50px rgba(46, 50, 47, 0.13);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: .2px;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* script accent (matches the "Wellness" tagline in the logo) */
.script {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--slate);
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer;
  border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--slate); color: #fff; box-shadow: 0 6px 18px rgba(94,117,131,.32); }
.btn-primary:hover { background: var(--slate-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(94,117,131,.4); }
.btn-ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: #fff; }
.btn-gold { background: var(--gold); color: #2e322f; box-shadow: 0 6px 18px rgba(216,168,77,.35); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--slate); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Top bar ---------- */
.topbar { background: var(--slate-dark); color: #eef2f0; font-size: 13.5px; letter-spacing: .2px; font-family: var(--font-ui); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .tb-left { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,244,236,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(123,133,127,.22); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: block; }
.logo-text { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--sage); line-height: 1; text-transform: uppercase; letter-spacing: .5px; }
.logo-text .script { display: inline-block; font-size: 24px; text-transform: none; margin-left: 4px; vertical-align: -3px; color: var(--slate); }
.logo-text small { display: block; font-family: var(--font-label); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; margin-top: 3px; }
nav.menu { display: flex; align-items: center; gap: 28px; }
nav.menu a { font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
nav.menu a:hover, nav.menu a.active { color: var(--slate); }
nav.menu a.active { font-weight: 600; }
.nav .btn { padding: 11px 22px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ---------- Eyebrow label (Bebas Neue) ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-label);
  font-size: 16px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--slate); font-weight: 400;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #e7ece8 0%, #f6f4ec 55%, #ece6d8 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 68px; padding-bottom: 78px; }
.hero .eyebrow { margin-bottom: 16px; color: var(--gold-dark); }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); }
/* script accents in headlines sit on their own line, scaled up to match the
   visual weight of the Balbeer caps (Daydream's letters are small per em) */
h1 .script, h2 .script {
  display: block;
  font-size: 1.55em;
  line-height: .92;
  color: var(--slate);
  margin: .08em 0 .04em;
}
.hero h1 .script { font-size: 1.6em; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 24px 0 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-family: var(--font-ui); font-size: 14px; color: var(--ink-soft); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--sage); }
.hero-visual { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4/5; border-radius: 200px 200px 18px 18px; object-fit: cover; object-position: 28% 50%; box-shadow: var(--shadow-lg); background: linear-gradient(160deg,var(--sage),var(--slate)); display: block; }
.hero-badge { position: absolute; bottom: 24px; left: -24px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 250px; }
.hero-badge .b-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; flex-shrink: 0; color: var(--slate-dark); }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Trust strip ---------- */
.trust { background: var(--slate); color: #eef2f0; }
.trust .wrap { display: flex; justify-content: space-around; gap: 24px; padding: 22px 24px; flex-wrap: wrap; text-align: center; }
.trust .t-item { font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.trust .t-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Generic section ---------- */
section.block { padding: 86px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--gold-dark); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 46px); margin: 12px 0 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Empathy / lede ---------- */
.empathy { background: var(--bg-alt); }
.empathy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.empathy h2 { font-size: clamp(28px, 3.2vw, 37px); line-height: 1.1; margin-bottom: 22px; }
/* this heading's script is a long phrase, so scale it down from the global
   1.55em so it wraps cleanly and doesn't crowd the text below */
.empathy h2 .script { color: var(--slate); font-size: 1.5em; line-height: 1.04; margin: .14em 0 .06em; }
/* short script accents (e.g. "freedom from the burn") can run larger */
.empathy h2.goal-head .script { font-size: 1.6em; }
.empathy p { color: var(--ink-soft); margin-bottom: 16px; }
.empathy .check-list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.empathy .check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.empathy .check-list svg { width: 22px; height: 22px; color: var(--sage); flex-shrink: 0; margin-top: 2px; }
.empathy-card { background: #fff; border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); border: 1px solid rgba(123,133,127,.16); }
.empathy-card h3 { font-size: 26px; margin-bottom: 14px; color: var(--slate); }
.empathy-card p { font-size: 16px; }

.lede { background: var(--bg-alt); }
.lede .wrap { max-width: 820px; text-align: center; }
.lede h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 30px; }
.lede h2 .script { color: var(--slate); }
/* left-align the paragraphs on a comfortable measure — centered long
   body copy is hard to read; the heading stays centered */
.lede p { font-size: 18px; color: var(--ink-soft); margin: 0 auto 18px; max-width: 640px; text-align: left; }

/* ---------- Approach cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border: 1px solid rgba(123,133,127,.14); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .c-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--sage-light); display: grid; place-items: center; color: var(--slate-dark); margin-bottom: 20px; }
.card .c-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Pillars (reflux) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.pillar { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid rgba(123,133,127,.14); display: flex; gap: 18px; align-items: flex-start; }
.pillar .p-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--sage-light); display: grid; place-items: center; color: var(--slate-dark); flex-shrink: 0; }
.pillar .p-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Conditions ---------- */
.conditions { background: var(--sage-dark); color: #fff; }
.conditions .section-head h2, .conditions .section-head p { color: #fff; }
.conditions .section-head .eyebrow { color: var(--gold); }
.conditions .cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 980px; margin: 0 auto; }
.conditions .cond-grid span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 11px 18px; font-size: 14.5px; text-align: center; transition: background .2s; }
.conditions .cond-grid span:hover { background: rgba(255,255,255,.22); }
.cond-note { text-align: center; margin-top: 34px; font-size: 15px; opacity: .92; }

/* ---------- For You (reflux conditions) ---------- */
.foryou { background: var(--sage-dark); color: #fff; }
.foryou .section-head h2, .foryou .section-head p { color: #fff; }
.foryou .section-head .eyebrow { color: var(--gold); }
.foryou .cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 820px; margin: 0 auto; }
.foryou .cond-grid span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: 11px 18px; font-size: 14.5px; text-align: center; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step .num { font-family: var(--font-head); font-size: 56px; color: var(--sage-light); line-height: 1; }
.step h3 { font-size: 22px; margin: 8px 0 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-img { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); object-fit: cover; object-position: 50% 8%; box-shadow: var(--shadow); background: linear-gradient(160deg,var(--sage-light),var(--sage)); display: block; }
.about h2 { font-size: clamp(30px, 3.8vw, 42px); margin-bottom: 8px; }
.about .credential { font-family: var(--font-label); letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); font-size: 15px; margin-bottom: 20px; }
.about p { color: var(--ink-soft); margin-bottom: 16px; }
.about .quote { font-family: var(--font-script); font-size: 34px; color: var(--slate); border-left: 3px solid var(--gold); padding-left: 22px; margin: 28px 0; line-height: 1.35; }

/* ---------- Guide (reflux) ---------- */
.guide { background: var(--bg-alt); }
.guide .wrap { max-width: 620px; text-align: center; }
.guide h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.guide p { font-size: 17px; color: var(--ink-soft); margin-bottom: 24px; }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--slate-dark); color: #fff; text-align: center; }
.testimonial .stars { color: var(--gold); font-size: 22px; letter-spacing: 4px; margin-bottom: 22px; }
.testimonial blockquote { font-family: var(--font-head); font-size: clamp(25px, 3.2vw, 36px); font-weight: 400; line-height: 1.35; max-width: 880px; margin: 0 auto 24px; }
.testimonial cite { font-style: normal; font-size: 15px; opacity: .85; letter-spacing: .5px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--bg); text-align: center; }
.cta-box { background: linear-gradient(150deg, var(--slate) 0%, var(--slate-dark) 100%); border-radius: 28px; padding: 64px 40px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; right: -40px; bottom: -30px; width: 320px; height: 180px; background: url('/assets/leaf-light.png') no-repeat center/contain; opacity: .14; transform: rotate(-6deg); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
/* botanical leaf divider under section headings */
.leaf-divider { display: block; width: 130px; height: auto; margin: 0 auto 18px; opacity: .9; }
.cta-box h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.cta-box p { font-size: 18.5px; opacity: .94; max-width: 560px; margin: 0 auto 30px; }
.cta-box .hero-cta { justify-content: center; }
.cta-box .hero-note { justify-content: center; color: rgba(255,255,255,.88); }
.cta-box .hero-note svg { color: var(--gold); }

/* ---------- Footer ---------- */
footer { background: #2a302e; color: #c6cbc4; padding: 60px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
footer h4 { color: #fff; font-family: var(--font-label); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; font-weight: 400; }
footer .logo-text { color: #fff; }
footer .logo-text .script { color: var(--sage-light); }
footer .logo-text small { color: #9aa093; }
footer p { margin-bottom: 10px; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; display: grid; gap: 10px; }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #828779; }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #c6cbc4; }
.socials a:hover { background: var(--sage); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.disclaimer { font-size: 12.5px; color: #71766a; max-width: 760px; margin-top: 14px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .empathy-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .cards, .steps, .pillars { grid-template-columns: 1fr; }
  .conditions .cond-grid, .foryou .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-img { max-width: 360px; }
  /* let long button labels wrap instead of forcing horizontal overflow */
  .btn { white-space: normal; text-align: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .empathy-card { padding: 28px 24px; }
  .menu-toggle { display: block; }
  /* mobile dropdown menu (toggled by the hamburger via a small script) */
  nav.menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid rgba(123,133,127,.25);
    box-shadow: var(--shadow);
    padding: 4px 24px 14px;
  }
  header.nav.open nav.menu { display: flex; }
  nav.menu a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid rgba(123,133,127,.14); }
  nav.menu a:last-child { border-bottom: none; }
}
@media (max-width: 520px) {
  .conditions .cond-grid, .foryou .cond-grid { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .hero-badge { left: 0; }
}
