:root {
  --ink: #66785f;
  --text: #66785f;
  --muted: #8b9b84;
  --green: #be9960;
  --green-dark: #66785f;
  --green-pale: #fbf9f4;
  --green-soft: #8b9b84;
  --cream: #fbf9f4;
  --white: #fbf9f4;
  --line: rgba(102, 120, 95, 0.2);
  --shadow: 0 24px 70px rgba(102, 120, 95, 0.15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --heading-font: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body, button, a { -webkit-font-smoothing: antialiased; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

img { max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.0;
}

.site-frame { min-height: 100svh; display: flex; flex-direction: column; }
.site-frame > main { flex: 1; }

.container, .header-inner, .footer-inner, .narrow, .legal-content {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.narrow { max-width: 840px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(251, 249, 244, 0.95);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 249, 244, 0.98);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(102, 120, 95, 0.12);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand { display: inline-flex; width: clamp(220px, 27vw, 330px); }
.brand img { width: 100%; height: auto; object-fit: contain; }

#main-navigation { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
#main-navigation a {
  position: relative;
  padding: 12px 2px;
  color: var(--green-dark);
  font-size: .95rem;
  font-weight: 560;
  letter-spacing: .015em;
  transition: color .25s ease;
}
#main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 2px;
  background: var(--green-dark);
  transition: right .28s ease;
}
#main-navigation a:hover, #main-navigation a[aria-current="page"] { color: var(--ink); }
#main-navigation a:hover::after, #main-navigation a[aria-current="page"]::after { right: 0; }

.menu-button { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 92px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
}

.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(251,249,244,.99) 0%, rgba(251,249,244,.88) 31%, rgba(251,249,244,.14) 58%, transparent 75%);
}

.hero-content {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  padding: 72px 0 120px;
}

.hero-content h1 { max-width: 640px; margin-bottom: 14px; font-family: var(--font); font-size: clamp(3.25rem, 7vw, 6.6rem); font-style: normal; font-weight: 650; letter-spacing: -.035em; }
.hero-content > p:not(.eyebrow) { max-width: 430px; margin-bottom: 34px; color: var(--green-dark); font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid var(--green-dark);
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
  font-size: .95rem;
  font-weight: 650;
  box-shadow: 0 14px 30px rgba(77, 96, 70, .2);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.primary-button:hover { transform: translateY(-2px); background: var(--green-soft); box-shadow: 0 18px 34px rgba(102, 120, 95, .28); }

.page-intro {
  padding: clamp(80px, 10vw, 80px) 0 clamp(76px, 9vw, 80px);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--green-soft) 18%, var(--cream)), var(--cream) 72%);
  text-align: center;
}
.page-intro h1 { margin-bottom: 28px; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 430; }
.page-intro .narrow > p:last-child { margin: 0 auto; max-width: 790px; color: var(--green-dark); font-size: clamp(1.04rem, 1.8vw, 1.25rem); line-height: 1.8; }
.compact-intro { padding-block: clamp(70px, 8vw, 80px); }

.content-section { padding: clamp(76px, 9vw, 80px) 0; background: var(--cream); }
.section-heading { margin-bottom: 48px; text-align: center; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 430; }

.therapy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.therapy-card {
  position: relative;
  min-height: 210px;
  padding: 30px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px 28px 4px 28px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(51, 70, 47, .055);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.therapy-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--card-accent, var(--green)); }
.therapy-card:hover { transform: translateY(-5px); border-color: rgba(109,128,102,.32); box-shadow: 0 22px 50px rgba(51, 70, 47, .11); }
.therapy-card h3 { max-width: 90%; margin: 52px 0 10px; font-size: 1.25rem; line-height: 1.3; }
.therapy-card p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.card-number { position: absolute; top: 22px; right: 24px; color: color-mix(in srgb, var(--card-accent, var(--green)), transparent 28%); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.tone-1 { --card-accent: #66785f; } .tone-2 { --card-accent: #be9960; } .tone-3 { --card-accent: #8b9b84; } .tone-4 { --card-accent: #be9960; } .tone-5 { --card-accent: #66785f; }

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.offer-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.offer-card {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 6px 42px 6px 42px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.offer-grid-three .offer-card { display: flex; height: 100%; flex-direction: column; padding: clamp(26px, 3vw, 40px); }
.offer-grid-three .offer-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.offer-grid-three .offer-card .price-list { margin-top: auto; }
.offer-card-alt { margin-top: 58px; background: color-mix(in srgb, var(--green-soft) 14%, var(--cream)); }
.offer-kicker { margin-bottom: 14px; color: var(--green); font-size: .77rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.offer-card h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 460; }
.offer-card h2 span { color: var(--muted); font-size: .65em; }
.offer-card h3 { margin: 30px 0 14px; font-size: 1.15rem; }
.offer-card ul, .legal-content ul { margin: 22px 0 26px; padding-left: 0; list-style: none; }
.offer-card li, .legal-content li { position: relative; margin: 9px 0; padding-left: 28px; }
.offer-card li::before, .legal-content li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.price-list { margin: 32px 0 24px; border-top: 1px solid var(--line); }
.price-list > div { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.price-list span { color: var(--muted); font-size: .92rem; }
.price-list b { color: var(--green-dark); white-space: nowrap; }
.fine-print { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.65; }
.treatment-focus-list { text-align: left; }

@media (min-width: 901px) {
  .treatment-focus-list { width: fit-content; max-width: 100%; margin: 28px auto; padding-left: 1.4rem; }
}

.contact-section { min-height: 540px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: stretch; }
.contact-list { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 22px; align-items: center; padding: 25px 28px; border: 1px solid var(--line); border-radius: 4px 24px 4px 24px; background: var(--white); }
.contact-card h2 { margin-bottom: 6px; font-size: 1.1rem; }
.contact-card p { margin-bottom: 0; }
.contact-card a { color: var(--green-dark); font-weight: 650; }
.contact-card a:hover { text-decoration: underline; }
.contact-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--green-pale); color: var(--green-dark); }
.contact-icon svg { width: 23px; height: 23px; }
.directions-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5vw, 58px); border-radius: 4px 42px 4px 42px; background: linear-gradient(145deg, var(--green-dark), var(--green-soft)); color: var(--cream); box-shadow: var(--shadow); }
.directions-card .eyebrow { color: var(--green); }
.directions-card h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 440; }
.directions-card p:not(.eyebrow) { margin-bottom: 28px; }
.directions-card .primary-button { border-color: var(--cream); background: var(--cream); color: var(--green-dark); box-shadow: none; }

.legal-page { padding: clamp(74px, 9vw, 124px) 0; background: linear-gradient(180deg, var(--green-pale) 0 260px, var(--cream) 260px); }
.legal-content { max-width: 920px; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); border-radius: 5px 44px 5px 44px; background: var(--white); box-shadow: var(--shadow); }
.legal-content h1 { margin-bottom: 56px; font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 430; }
.legal-content h2 { margin: 54px 0 18px; padding-top: 34px; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 2.6vw, 2rem); }
.legal-content h3 { margin: 32px 0 10px; font-size: 1.08rem; }
.legal-content p { margin-bottom: 18px; }
.legal-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding: 42px 0; background: var(--green-soft); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-inner p { margin: 0; }
.footer-inner p strong, .footer-inner p span { display: block; }
.footer-inner p strong { color: var(--cream); font-size: 1rem; }
.footer-inner p span { color: var(--cream); font-size: .88rem; }
.footer-inner nav { display: flex; gap: 12px; align-items: center; color: var(--cream); font-size: .9rem; }
.footer-inner nav a:hover { text-decoration: underline; }

.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green-dark); color: var(--white); box-shadow: 0 12px 24px rgba(51,67,47,.26); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--green-pale); opacity: 1; visibility: visible; transition: opacity .45s ease, visibility .45s ease; }
.preloader span { width: 42px; height: 42px; border: 3px solid rgba(109,128,102,.2); border-top-color: var(--green-dark); border-radius: 50%; animation: spin .8s linear infinite; }
.preloader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .68s ease var(--delay, 0ms), transform .68s cubic-bezier(.2,.65,.2,1) var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .brand { width: 230px; }
  .menu-button { display: inline-flex; position: relative; z-index: 2; width: 46px; height: 46px; padding: 12px 10px; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 50%; background: rgba(255,255,255,.62); cursor: pointer; }
  .menu-button span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
  .menu-button.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.is-open span:nth-child(2) { opacity: 0; }
  .menu-button.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #main-navigation { position: absolute; top: 68px; left: 20px; right: 20px; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 4px 24px 4px 24px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
  #main-navigation.nav-open { opacity: 1; visibility: visible; transform: translateY(0); }
  #main-navigation a { padding: 12px 14px; }
  #main-navigation a::after { display: none; }
  .hero { min-height: calc(100svh - 78px); }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(251,249,244,.98) 0%, rgba(251,249,244,.88) 47%, rgba(251,249,244,.16) 82%); }
  .therapy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid, .contact-layout { grid-template-columns: 1fr; }
  .offer-card-alt { margin-top: 0; }
}

@media (max-width: 600px) {
  .container, .header-inner, .footer-inner, .narrow, .legal-content, .hero-content { width: min(100% - 28px, 1180px); }
  .brand { width: 205px; }
  .hero { min-height: 800px; align-items: end; }
  .hero-image { object-position: 55% center; margin-top: -150px; }
  .hero-shade { background: linear-gradient(45deg, rgba(251,249,244,.99) 0%, rgba(251,249,244,.94) 48%, rgba(251,249,244,.06) 85%); }
  .hero-content { padding: 44px 0 72px; margin-left: 40px;}
  .hero-content h1 { font-size: clamp(rem, 17vw, 5rem); }
  .hero-content > p:not(.eyebrow) { max-width: 330px; }
  .therapy-grid { grid-template-columns: 1fr; }
  .therapy-card { min-height: 180px; }
  .price-list > div { grid-template-columns: 1fr auto; }
  .price-list span { grid-column: 1 / -1; grid-row: 2; }
  .contact-card { align-items: flex-start; padding: 22px; }
  .contact-card p, .contact-card a { overflow-wrap: anywhere; }
  .footer-inner { flex-direction: column; align-items: flex-start;margin-left: 40px; }
  .legal-content { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
