/* Natural Health Center website styles */

:root {
  /* Accent. Other options from the design:
     Brass:   --accent: #CDAE62;  --accent-ink: #7A6122;
     Glacier: --accent: #8EC5D8;  --accent-ink: #2E6B82; */
  --accent: #D08A55;      /* copper, on dark backgrounds */
  --accent-ink: #9A5A2B;  /* copper, on light backgrounds */

  --deep: #0F2C2D;        /* header, hero, visit, footer */
  --deep-2: #143536;      /* nutrition section */
  --deep-3: #1A4344;      /* photo placeholder */
  --paper: #EEF2F0;       /* light sections */
  --ink: #132322;         /* text on light */
  --ink-2: #3E504E;       /* secondary text on light */
  --mist: #E6EEEA;        /* text on dark */
  --mist-2: #C9D6D1;      /* secondary text on dark */
  --mist-3: #A9BDB7;      /* small labels on dark */
  --rule: rgba(19, 35, 34, 0.16);
  --rule-dark: rgba(230, 238, 234, 0.16);

  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--mist);
}

.wrap {
  max-width: 1344px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--mist);
  color: var(--deep);
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* Desktop nav vs phone menu */
.wide-only { display: flex; }
.narrow-only { display: none; }
@media (max-width: 1140px) {
  .wide-only { display: none; }
  .narrow-only { display: flex; }
}

/* Text links that underline on hover */
.nav-link, .menu-link, .menu-phone, .fact-link, .footer-nav a { text-decoration: none; }
.nav-link:hover, .menu-link:hover, .menu-phone:hover, .fact-link:hover, .footer-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { border-color: var(--accent); background: var(--accent); color: var(--deep); }
.btn-ghost { border-color: rgba(230, 238, 234, 0.4); background: transparent; color: var(--mist); }
.btn-dark { border-color: var(--deep); background: var(--deep); color: var(--mist); }
.btn-outline { border-color: rgba(19, 35, 34, 0.45); background: transparent; color: var(--ink); }
.btn-small { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn-block { display: flex; min-height: 50px; margin-top: 8px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-spaced { margin-top: 32px; }

/* ---------- Shared text ---------- */

.section-title {
  margin: 0;
  font-family: var(--sans);
  font-stretch: 112%;
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Header ---------- */

.site-header { background: var(--deep); color: var(--mist); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  color: var(--mist);
  text-decoration: none;
}
.mark { width: 30px; height: 18px; flex: none; overflow: visible; }
.mark path { fill: none; stroke: var(--accent); stroke-width: 1.6px; stroke-linecap: round; }
.mark path + path { stroke-opacity: 0.5; }
.mark circle { fill: var(--accent); }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: var(--sans);
  font-stretch: 112%;
  font-weight: 550;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.brand-sub { font-family: var(--sans); font-size: 13px; line-height: 1.2; color: var(--mist-3); }

.primary-nav { align-items: center; gap: 30px; }
.header-actions { align-items: center; gap: 22px; }
.nav-link { padding: 12px 0; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--mist-2); }
.nav-phone { color: var(--mist); }

.menu-button {
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--mist);
  cursor: pointer;
}
.menu-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6px; stroke-linecap: round; }
.menu-button .icon-close,
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { flex-direction: column; padding: 8px 0 20px; }
.menu-link {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(230, 238, 234, 0.14);
  font-family: var(--sans);
  font-stretch: 108%;
  font-size: 20px;
  color: var(--mist);
}
.menu-phone {
  display: flex;
  align-items: center;
  min-height: 54px;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--mist-2);
}

/* ---------- Hero ---------- */

.hero { background: var(--deep); color: var(--mist); }
.hero .wrap { padding-top: clamp(40px, 6.5vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }

.hero-title {
  margin: 0;
  max-width: 12.5em;
  font-family: var(--sans);
  font-stretch: 118%;
  font-weight: 320;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* The vibrating string: seven harmonics of a standing wave */
.wave-row { display: flex; align-items: center; margin-top: clamp(28px, 4vw, 52px); }
.wave-end {
  flex: none;
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--deep);
}
.wave-end:first-child { margin-right: -5px; }
.wave-end:last-child { margin-left: -5px; }
.waves { flex: 1 1 0px; min-width: 0; height: clamp(132px, 16vw, 240px); display: block; overflow: visible; }
.axis { fill: none; stroke: var(--mist); stroke-opacity: 0.22; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.wave {
  fill: none;
  stroke: var(--accent);
  vector-effect: non-scaling-stroke;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: vibrate 6.4s ease-in-out infinite alternate;
}
.w1 { stroke-opacity: 0.95; stroke-width: 1.7px; }
.w2 { stroke-opacity: 0.78; stroke-width: 1.4px; animation-duration: 5.6s; animation-delay: -1.1s; }
.w3 { stroke-opacity: 0.64; stroke-width: 1.25px; animation-duration: 4.9s; animation-delay: -2.3s; }
.w4 { stroke-opacity: 0.52; stroke-width: 1.15px; animation-duration: 4.4s; animation-delay: -0.7s; }
.w5 { stroke-opacity: 0.42; stroke-width: 1.05px; animation-duration: 3.9s; animation-delay: -1.9s; }
.w6 { stroke-opacity: 0.34; stroke-width: 1px; animation-duration: 3.5s; animation-delay: -2.8s; }
.w7 { stroke-opacity: 0.28; stroke-width: 1px; animation-duration: 3.2s; animation-delay: -1.4s; }
@keyframes vibrate {
  from { transform: scaleY(1); }
  to { transform: scaleY(-1); }
}
@media (prefers-reduced-motion: reduce) {
  .wave { animation: none; }
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero-lead {
  margin: 0;
  max-width: 32em;
  font-family: var(--serif);
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.55;
  color: var(--mist-2);
  text-wrap: pretty;
}

/* ---------- Tesla quote ---------- */

.quote-section { background: var(--paper); color: var(--ink); }
.quote-section .wrap { padding-top: clamp(72px, 10vw, 152px); padding-bottom: clamp(72px, 10vw, 152px); }
.quote { margin: 0 0 0 clamp(0px, 9vw, 168px); max-width: 1000px; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-indent: -0.4em;
  text-wrap: balance;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.quote figcaption::before { content: ""; flex: none; width: 36px; height: 1px; background: var(--accent-ink); }

/* ---------- Therapies ---------- */

.therapies { background: var(--paper); color: var(--ink); }
.therapies .wrap { padding-bottom: clamp(80px, 10vw, 144px); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px clamp(40px, 6vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--rule);
}
.split-intro { flex: 1 1 320px; max-width: 460px; }
.therapy-groups { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }

.group-title {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  color: var(--accent-ink);
}
.therapy-list { list-style: none; margin: 0; padding: 0; }
.therapy-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.therapy-name {
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.therapy-note { font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--ink-2); }

.more { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.more a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Nutrition ---------- */

.nutrition { background: var(--deep-2); color: var(--mist); }
.nutrition .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px clamp(40px, 6vw, 96px);
  padding-top: clamp(80px, 10vw, 144px);
  padding-bottom: clamp(80px, 10vw, 144px);
}
.nutrition-copy { flex: 1 1 380px; max-width: 560px; }
.nutrition .lead { color: var(--mist-2); }

.ticks { list-style: none; margin: 36px 0 0; padding: 0; border-bottom: 1px solid var(--rule-dark); }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
}
.ticks li::before { content: ""; flex: none; width: 18px; height: 1px; margin-top: 13px; background: var(--accent); }

.photo-slot {
  flex: 1 1 380px;
  min-width: 0; /* keeps the box from forcing sideways scrolling on 320px-wide phones */
  aspect-ratio: 6 / 5;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px dashed rgba(230, 238, 234, 0.28);
  background: var(--deep-3);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--mist-3);
}

/* ---------- Recommended practitioners ---------- */

.practitioners { background: var(--paper); color: var(--ink); }
.practitioners .wrap { padding-top: clamp(80px, 10vw, 144px); padding-bottom: clamp(56px, 7vw, 96px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 64px;
}
.section-head .section-title { max-width: 10em; }
.section-head-copy { max-width: 30em; }
.section-head-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}
.section-head-copy .sent-by { margin-top: 6px; font-style: italic; color: var(--ink); }

.people {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 32px;
}
.people li { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--ink); }
.people p { margin: 0; }
.discipline { order: -1; font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--accent-ink); }
.person-name {
  margin: 4px 0 0;
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.person-org { font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.people .person-desc { margin-top: 6px; font-family: var(--serif); font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Detox bath ---------- */

.resources { background: var(--paper); color: var(--ink); }
.resources .wrap { padding-bottom: clamp(80px, 10vw, 144px); }
.resource {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.resource h2 {
  flex: 1 1 240px;
  margin: 0;
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 400;
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.resource p {
  flex: 2 1 360px;
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Visit ---------- */

.visit { background: var(--deep); color: var(--mist); }
.visit .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px clamp(40px, 6vw, 96px);
  padding-top: clamp(80px, 10vw, 144px);
  padding-bottom: clamp(80px, 10vw, 144px);
}
.visit-copy { flex: 1 1 340px; max-width: 520px; }
.visit .lead { margin-top: 20px; color: var(--mist-2); }

.facts {
  flex: 1 1 440px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  column-gap: 40px;
}
.facts div { padding: 22px 0; border-top: 1px solid var(--rule-dark); }
.facts dt { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--mist-3); }
.facts dd { margin: 8px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.fact-link { color: var(--mist); }
.todo { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer { background: var(--deep); color: var(--mist); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--rule-dark);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-nav a { padding: 12px 0; font-family: var(--sans); font-size: 14px; color: var(--mist-2); }
.footer-note { margin: 0; font-family: var(--sans); font-size: 14px; color: var(--mist-3); }
