/* ============================================================
   Component styles — Holistic Wellness Hub
   ============================================================ */

/* ---------- circles motif ---------- */
.circles { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- image placeholder ---------- */
.imgph {
  position: relative;
  width: 100%;
  background-color: var(--sand-50);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(94,99,54,.07) 0,
    rgba(94,99,54,.07) 1px,
    transparent 1px,
    transparent 11px
  );
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.imgph-tag {
  font-family: "Hanken Grotesk", monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  background: rgba(250,247,240,.82);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 11px;
  margin: 12px;
  backdrop-filter: blur(2px);
}

/* ---------- buttons ---------- */
.btn {
  --bw: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em;
  border: 0; cursor: pointer; border-radius: var(--r-pill);
  transition: transform .18s cubic-bezier(.2,.7,.2,1), background .2s, color .2s, box-shadow .2s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { font-size: 14px; padding: 9px 17px; }
.btn-md { font-size: 16px; padding: 13px 26px; }
.btn-lg { font-size: 17px; padding: 17px 34px; }

.btn-solid { background: var(--olive); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--olive-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { filter: brightness(.96); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn-ghost { background: rgba(255,255,255,.5); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* tweak panel hint */
.tweak-hint { font-size: 12px; line-height: 1.45; color: var(--ink-mute); margin: -2px 0 6px; opacity: .85; }

/* ---------- pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 14px; border-radius: var(--r-pill);
}
.pill-olive { background: rgba(94,99,54,.12); color: var(--olive-700); }
.pill-clay  { background: rgba(192,138,99,.18); color: #8a5733; }
.pill-forest{ background: rgba(47,56,25,.12); color: var(--forest); }
.pill-paper { background: var(--paper); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- dot bullet ---------- */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; display: inline-block; }

/* ---------- headings ---------- */
.heading { max-width: 760px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(241,236,226,.82);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-script { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 23px; color: var(--olive); margin-bottom: 2px; }
.brand-name { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink-soft); }
.brand-name em { font-style: normal; color: var(--clay); }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .18s, color .18s;
}
.nav-links a:hover { color: var(--ink); background: rgba(94,99,54,.08); }
.nav-links a.active { color: var(--olive); background: rgba(94,99,54,.13); }

.nav-cta { margin-left: 4px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile { display: none; flex-direction: column; gap: 6px; padding: 12px var(--gutter) 24px;
  background: var(--cream); border-bottom: 1px solid var(--line); }
.nav-mobile a { padding: 12px 8px; font-size: 17px; font-weight: 600; border-radius: var(--r-sm); }
.nav-mobile a.active { color: var(--olive); }
.nav-mobile .btn { margin-top: 8px; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest); color: var(--sand-50); padding-top: clamp(56px, 7vw, 96px); margin-top: 0; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer .muted { color: rgba(231,224,211,.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand-script { color: #cfd3a5; }
.footer-brand .brand-name { color: rgba(231,224,211,.8); }
.footer-brand .brand-name em { color: var(--clay-soft); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: rgba(231,224,211,.78); font-size: 15px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.social { font-size: 13px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.07); color: #e7e0d3 !important; }
.social:hover { background: rgba(255,255,255,.16); }
.footer-base { display: flex; justify-content: space-between; align-items: center; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 8px; font-size: 13.5px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-base { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
