/* ============================================================
   Lakewood Integrative Health — Design System
   Warm editorial wellness: cream grounds, deep green ink,
   sage accents. Fraunces display serif + Karla body.
   Corner language: soft 14px radius, used site-wide.
   ============================================================ */

:root {
  --cream: #F7F4EE;
  --cream-deep: #F0EBE0;
  --paper: #FDFCF8;
  --ink: #26302A;
  --ink-soft: #4C554B;
  --muted: #6B7267;
  --sage: #5F6B4F;
  --sage-dark: #46513A;
  --sage-tint: #E7E9DE;
  --hairline: #E2DCCC;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 30px rgba(38, 48, 42, 0.08);
  --shadow-lift: 0 18px 44px rgba(38, 48, 42, 0.13);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(0.25, 0.6, 0.25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1rem; }

a { color: var(--sage-dark); }
a:hover { color: var(--sage); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 1rem;
}
.eyebrow--light { color: #D9DCC9; }
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.7;
}
.center { text-align: center; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--sage-dark); color: #EDEFE4; }
.section--deep h2, .section--deep h3 { color: #F7F5EC; }
.section--deep p { color: #D6DAC6; }

section h2, .section h2 { max-width: 16ch; }
.section .center h2, .section h2.center { margin-left: auto; margin-right: auto; }
.section-desc {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
}
.section--deep .section-desc { color: #D6DAC6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}
.btn--solid { background: var(--sage-dark); color: #F7F5EC; }
.btn--solid:hover { background: #37402E; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--outline { border-color: var(--sage-dark); color: var(--sage-dark); background: transparent; }
.btn--outline:hover { background: var(--sage-dark); color: #F7F5EC; transform: translateY(-2px); }
.btn--light { border-color: rgba(247, 245, 236, 0.6); color: #F7F5EC; }
.btn--light:hover { background: #F7F5EC; color: var(--sage-dark); }
.btn--onlight { background: var(--white); color: var(--sage-dark); box-shadow: var(--shadow-soft); }
.btn--onlight:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--sage-dark); }

.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sage-dark);
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--sage); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(38, 48, 42, 0.07); background: rgba(253, 252, 248, 0.97); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:not(.btn):hover { color: var(--ink); border-color: var(--sage); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--ink); border-color: var(--sage); }
.main-nav .btn { padding: 0.72rem 1.4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--paper);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a:not(.btn) {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    padding: 12px 0;
    border-bottom: none;
    font-family: var(--serif);
    font-weight: 500;
  }
  .main-nav .btn { margin-top: 20px; font-size: 0.95rem; padding: 1.1rem 2.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(86vh, 780px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(24, 30, 24, 0.78) 0%, rgba(24, 30, 24, 0.42) 45%, rgba(24, 30, 24, 0.18) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 7rem 24px 5.5rem;
}
.hero__content h1 {
  color: #FBFAF4;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.4rem;
}
.hero__content .lead {
  color: #E8E7DC;
  max-width: 52ch;
  margin-bottom: 2.2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ribbon {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
}
.hero__ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  justify-content: center;
  padding: 1.1rem 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.page-hero h1 { max-width: 18ch; margin-bottom: 1rem; }
.page-hero .lead { max-width: 56ch; }

/* ---------- Value grid ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.value-card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.value-card__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--sage);
  display: block;
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
}
@media (max-width: 960px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Service categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #EDEFE4;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cat-card__img { position: absolute; inset: 0; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 28, 22, 0.88) 0%, rgba(22, 28, 22, 0.3) 55%, rgba(22, 28, 22, 0.05) 100%);
}
.cat-card__body { position: relative; z-index: 1; padding: 2.2rem 2rem; width: 100%; }
.cat-card__body h3 { color: #FBFAF4; margin-bottom: 0.9rem; font-size: 1.55rem; }
.cat-card__body ul { list-style: none; margin: 0; padding: 0; }
.cat-card__body li {
  padding: 0.5rem 0;
  font-size: 0.97rem;
  color: #DDDCCB;
  border-bottom: 1px solid rgba(251, 250, 244, 0.14);
}
.cat-card__body li:last-child { border-bottom: none; }
.cat-card__body .text-link { color: #FBFAF4; border-color: #FBFAF4; margin-top: 1.1rem; }
.cat-card__body .text-link:hover { color: #D9DCC9; }

/* ---------- Editorial split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(4rem, 8vw, 6.5rem); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split__media { order: -1; } }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__body .eyebrow { margin-bottom: 0.8rem; }
.split__body h2 { margin-bottom: 1.1rem; }
.split__body p { color: var(--ink-soft); }
.split__list { list-style: none; margin: 1.3rem 0 1.8rem; padding: 0; }
.split__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
}
.split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- Provider cards ---------- */
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .provider-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.provider-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.provider-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.provider-card__media { aspect-ratio: 4 / 4.6; overflow: hidden; }
.provider-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 0.6s var(--ease); }
.provider-card:hover .provider-card__media img { transform: scale(1.035); }
.provider-card__body { padding: 1.7rem 1.7rem 2rem; display: flex; flex-direction: column; flex: 1; }
.provider-card__body h3 { margin-bottom: 0.3rem; font-size: 1.35rem; }
.provider-card__cred {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.9rem;
}
.provider-card__bio { color: var(--muted); font-size: 0.97rem; flex: 1; }
.provider-card__body .text-link { margin-top: 1.3rem; }

/* ---------- Journey steps ---------- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 880px) { .journey { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.journey-step {
  border-top: 2px solid rgba(251, 250, 244, 0.25);
  padding-top: 1.6rem;
}
.journey-step__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: #CBD2B4;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.journey-step h3 { color: #F7F5EC; margin-bottom: 0.5rem; }
.journey-step p { color: #D6DAC6; margin: 0; font-size: 1rem; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .location-grid { grid-template-columns: 1fr; } }
.location-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-soft);
}
.location-card h2 { margin-bottom: 1rem; }
.location-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.location-list li {
  display: flex;
  gap: 14px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.98rem;
  color: var(--ink-soft);
  align-items: baseline;
}
.location-list strong { color: var(--ink); min-width: 78px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage-dark);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  color: #EDEFE4;
}
.cta-band h2 { color: #F7F5EC; margin-left: auto; margin-right: auto; }
.cta-band p { color: #D6DAC6; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero__ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #202822;
  color: #B9C0AC;
  padding: 4rem 0 2.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(185, 192, 172, 0.18);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #EDEFE4;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #EDEFE4; margin-bottom: 0.8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: #B9C0AC; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #EDEFE4; }
.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8D9581;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #B9C0AC; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.45rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(95, 107, 79, 0.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
#formStatus p { margin: 0; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); }

/* ---------- Sticky mobile book bar ---------- */
.mobile-book {
  display: none;
}
@media (max-width: 700px) {
  .mobile-book {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 150;
  }
  .mobile-book .btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--sage-dark);
    color: #F7F5EC;
    box-shadow: 0 10px 30px rgba(38, 48, 42, 0.3);
    padding: 1.1rem;
    font-size: 0.9rem;
  }
  .main-nav.is-open .btn { display: none; }
  body { padding-bottom: 84px; }
}
