:root {
  --sage-900: #2f4a3a;
  --sage-700: #4a6b56;
  --sage-300: #a8bfa5;
  --cream: #f7f3ec;
  --cream-dark: #ece4d3;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --white: #ffffff;
  --accent: #b95c39;
  --accent-soft: #d8835a;
  --shadow: 0 2px 12px rgba(31, 41, 55, 0.08);
  --radius: 10px;
  --max-width: 1100px;
  --font-serif: 'Fraunces', Georgia, "Times New Roman", serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--sage-900);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--sage-700); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage-900);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--sage-900);
  font-weight: 700;
}
.brand span { display: block; font-size: 0.75rem; color: var(--ink-soft); font-weight: 400; font-family: var(--font-sans); letter-spacing: 0.05em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sage-700);
  color: var(--sage-700);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-menu a.active { color: var(--sage-900); border-bottom: 2px solid var(--sage-700); }

.btn {
  display: inline-block;
  background: var(--sage-700);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--sage-700);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover, .btn:focus { background: var(--sage-900); border-color: var(--sage-900); text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; color: var(--sage-700); }
.btn-outline:hover, .btn-outline:focus { background: var(--sage-700); color: var(--white); }

.phone-cta { font-weight: 600; color: var(--sage-900); }

.phone-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-700);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: 2px solid var(--sage-700);
  cursor: default;
  user-select: text;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
.phone-display::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 6.5rem;
  min-height: 72vh;
  background-image:
    linear-gradient(90deg, rgba(247, 243, 236, 0.95) 0%, rgba(247, 243, 236, 0.78) 45%, rgba(247, 243, 236, 0.20) 100%),
    url('../images/laughing%20people.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: block;
  max-width: 640px;
}
.hero-text .eyebrow {
  color: var(--sage-700);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-text h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); letter-spacing: -0.01em; }
.hero-text p { font-size: 1.1rem; max-width: 44ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; justify-content: flex-start; }

.hero-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 8px solid var(--cream);
  box-shadow: 0 0 0 1px var(--sage-700), 0 24px 48px -12px rgba(47, 74, 58, 0.35);
  background: var(--cream);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Page hero (non-home pages) */
.page-hero {
  padding: 3.5rem 0 2.75rem;
  background-image:
    linear-gradient(180deg, rgba(247, 243, 236, 0.90) 0%, rgba(247, 243, 236, 0.85) 100%),
    url('../images/warm%20space%202.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.page-hero .eyebrow {
  color: var(--sage-700);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 0.75rem;
}
.page-hero .lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Office photo strip (New Patients page) */
.office-photo { line-height: 0; background: var(--cream); }
.office-photo img { width: 100%; height: auto; display: block; }
.office-photo-hero {
  position: relative;
  background: url('../images/Janae_greeting.png') center/cover no-repeat;
  padding: 5rem 0;
}
.office-photo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 243, 236, 0.72);
}
.office-photo-hero .container {
  position: relative;
  z-index: 1;
}
.office-photo-hero .card {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--cream-dark);
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title p { max-width: 640px; margin: 0 auto; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.section-alt .card { background: var(--cream); border-color: var(--cream-dark); }
.card h3 { margin-top: 0; }

.portrait {
  border-radius: 14px;
  overflow: hidden;
  max-width: 440px;
  border: 8px solid var(--cream);
  box-shadow: 0 0 0 1px var(--sage-700), 0 24px 48px -12px rgba(47, 74, 58, 0.35);
  background: var(--cream);
}

/* Step cards */
.step-card { position: relative; padding-top: 2rem; }
.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sage-700);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Lists */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage-700);
  font-weight: 700;
}

/* CTA banner */
.cta-banner {
  background: var(--sage-900);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--cream); }
.cta-banner .btn { background: var(--cream); color: var(--sage-900); border-color: var(--cream); }
.cta-banner .btn:hover { background: var(--white); border-color: var(--white); }

/* Testimonials */
.testimonials {
  background: var(--cream);
  padding: 4rem 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  margin: 0;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--sage-300);
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}
.testimonial blockquote {
  margin: 0 0 1rem;
  padding-top: 1rem;
  color: var(--ink);
  font-style: italic;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--sage-900);
  font-size: 0.95rem;
}
.testimonial cite span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }

/* Insurance */
.insurance {
  background: var(--white);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}.insurance h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 0.75rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
}
.insurance-logo {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.insurance-logo:hover {
  box-shadow: 0 4px 16px rgba(31, 41, 55, 0.12);
  border-color: var(--sage-300);
  transform: translateY(-2px);
  text-decoration: none;
}
.insurance-logo img {
  max-height: 60px;
  max-width: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.insurance-logo--wide img {
  max-height: 90px;
  max-width: 95%;
}
.insurance-logo--fill img {
  width: 85%;
  max-width: 85%;
}
.insurance-logo .insurance-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sage-900);
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.2;
}
.insurance-logo.is-static {
  cursor: default;
}
.insurance-logo.is-static:hover {
  box-shadow: none;
  border-color: var(--cream-dark);
  transform: none;
}
.logo-asterisk {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--sage-700);
  font-size: 1.05rem;
  line-height: 1;
}
.logo-caption {
  position: absolute;
  bottom: 0.45rem;
  left: 0;
  right: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sage-700);
  letter-spacing: 0.04em;
  text-align: center;
}
.logo-label {
  position: absolute;
  bottom: 0.45rem;
  left: 0.5rem;
  right: 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sage-900);
  text-align: center;
  line-height: 1.2;
}
.insurance-note {
  max-width: 900px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-style: italic;
}
.fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.fee-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.fee-list li:last-child { border-bottom: none; }
.fee-list strong { color: var(--sage-900); }

/* Coming-soon placeholders */
.coming-soon-card {
  background: var(--white);
  border: 1px dashed var(--sage-300);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
}
.coming-soon-card .badge {
  align-self: flex-start;
  background: var(--sage-300);
  color: var(--sage-900);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.coming-soon-card h3 { margin: 0.25rem 0 0; color: var(--sage-900); }
.coming-soon-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.coming-soon-card .meta { color: var(--ink-soft); font-size: 0.8rem; margin-top: auto; }

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cream);
  border: 1px dashed var(--sage-300);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.video-placeholder::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--sage-700);
  margin-left: 4px;
}

/* Forms */
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--sage-700);
  outline-offset: 1px;
  border-color: var(--sage-700);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* Footer */
.site-footer {
  background: var(--sage-900);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: var(--white); font-family: var(--font-serif); margin: 0 0 0.75rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }

/* Responsive */
@media (max-width: 820px) {
  .hero-grid,
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 420px; margin: 0 auto; }
  .portrait { margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .hero { padding: 3.5rem 0 4rem; min-height: 0; }
  .nav-toggle { display: inline-block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cream-dark);
    gap: 0.75rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .btn { text-align: center; }
}

/* Scroll-fade animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
