:root {
  --ink: #102a2d;
  --ink-soft: #486164;
  --paper: #f7f5ef;
  --white: #fff;
  --teal: #0f5e62;
  --teal-dark: #0a4549;
  --lime: #c8df74;
  --line: #d9dfd8;
  --sand: #e9e3d6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(16, 42, 45, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #d49b00; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--white); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.topbar { background: var(--ink); color: var(--white); font-size: .86rem; }
.topbar .shell { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { color: var(--lime); font-weight: 700; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,245,239,.95); border-bottom: 1px solid rgba(16,42,45,.12); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { width: 45px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); color: var(--lime); display: grid; place-items: center; font: 700 1.3rem var(--serif); }
.brand-copy { font: 700 1.02rem/1.15 var(--serif); max-width: 230px; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; }
.nav-links[hidden] { display: flex; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav-links a:hover { color: var(--teal); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); padding: .65rem .8rem; border-radius: 8px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 50px; padding: .8rem 1.2rem; border: 1px solid var(--teal); border-radius: 4px; background: var(--teal); color: var(--white); font-weight: 750; text-decoration: none; transition: .2s ease; }
.button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); border-color: rgba(16,42,45,.35); }
.eyebrow { margin: 0 0 .8rem; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.04; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.8rem); max-width: 10ch; }
h2 { margin: 0 0 1rem; font-size: clamp(2.25rem, 4.5vw, 4.4rem); }
h3 { font-size: 1.55rem; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch; }
.hero-copy { padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - 1180px)/2)); padding-right: clamp(2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lead { max-width: 58ch; font-size: 1.16rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-image { min-height: 540px; background: linear-gradient(rgba(7,45,48,.08),rgba(7,45,48,.15)), url("/assets/chiropractic-treatment.jpg") center/cover; }
.trust-strip { background: var(--teal); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.2); }
.trust-grid strong { display: block; color: var(--lime); font-family: var(--serif); font-size: 1.15rem; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--white); }
.section.dark p, .section.dark .eyebrow { color: #cbd7d4; }
.section-intro { max-width: 720px; margin-bottom: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.service-card { min-height: 310px; padding: 2rem; border-top: 5px solid var(--lime); background: var(--white); box-shadow: 0 12px 45px rgba(16,42,45,.08); }
.service-card p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.portrait { aspect-ratio: 4/5; width: 100%; object-fit: cover; object-position: center top; box-shadow: var(--shadow); }
.photo-panel { min-height: 480px; background-size: cover; background-position: center; }
.locations { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.3rem; }
.location { background: var(--white); padding: 2rem; border: 1px solid var(--line); }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.page-hero { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--sand); }
.page-hero h1 { max-width: 13ch; font-size: clamp(3rem, 6vw, 5.8rem); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.5rem; font-size: 2rem; }
.conditions { columns: 2; padding-left: 1.2rem; }
.lead-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: start; }
.lead-form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.3rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 700; font-size: .9rem; }
input, textarea, select { width: 100%; margin-top: .35rem; padding: .8rem; border: 1px solid #879898; border-radius: 3px; background: var(--white); }
textarea { min-height: 130px; resize: vertical; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; margin: 1rem 0; font-size: .8rem; font-weight: 400; color: var(--ink-soft); }
.consent input { width: 18px; margin: .25rem 0 0; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-status { margin-top: 1rem; padding: .8rem; background: #fff6d5; }
.site-footer { background: #091e20; color: #d9e5e2; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: inherit; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; font-size: .8rem; }

@media (max-width: 820px) {
  .topbar .shell span:first-child { display: none; }
  .nav { min-height: 70px; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; padding: 1.2rem 20px 1.6rem; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links[hidden] { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4.5rem 20px; }
  .hero-image { min-height: 390px; }
  .trust-grid, .grid-3, .split, .locations, .lead-layout, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand-copy { font-size: .88rem; max-width: 185px; }
  .field-grid { grid-template-columns: 1fr; }
  .conditions { columns: 1; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
