:root {
  --ink: #332a27;
  --brown: #876f68;
  --brown-dark: #66504a;
  --sand: #c0a08d;
  --cream: #f5eee7;
  --ivory: #fffaf5;
  --line: rgba(74, 56, 50, .18);
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Italiana", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }

.site-header { height: 122px; padding: 20px clamp(1.25rem, 4vw, 4.5rem) 0; padding-left: clamp(1.5rem, 7vw, 8rem); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 20; background: none; }
.brand img { width: clamp(160px, 18vw, 245px); height: auto; }
.main-nav { position: fixed; z-index: 21; inset: 0 0 0 auto; width: min(430px, 100%); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 7rem clamp(2rem, 5vw, 4.5rem); background: rgba(245,238,231,.98); box-shadow: -24px 0 60px rgba(51,42,39,.14); transform: translateX(105%); visibility: hidden; transition: transform .35s ease, visibility .35s ease; }
.main-nav.open { transform: translateX(0); visibility: visible; }
.main-nav a { text-decoration: none; font: 400 2.1rem var(--display); }
.main-nav a:not(.nav-cta):hover { color: var(--brown); }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-cta { min-height: 52px; display: inline-flex; align-items: center; padding: .7rem 1.25rem; border: 1px solid rgba(135,111,104,.7); background: rgba(245,238,231,.9); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .04em; backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.header-cta:hover { background: var(--brown-dark); color: #fff; }
.menu-toggle { display: block; position: relative; z-index: 22; width: 52px; height: 52px; border: 1px solid rgba(135,111,104,.55); background: rgba(245,238,231,.9); cursor: pointer; backdrop-filter: blur(8px); }
.menu-toggle span { display: block; width: 21px; height: 1px; background: var(--ink); margin: 4px auto; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

.hero { min-height: 780px; display: grid; grid-template-columns: 1.03fr .97fr; background: var(--cream); overflow: hidden; }
.hero-copy { padding: 185px clamp(1.5rem, 7vw, 8rem) 68px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero-copy::before { content: ""; width: 180px; height: 1px; background: var(--sand); position: absolute; left: clamp(1.5rem, 7vw, 8rem); top: 168px; }
.eyebrow { margin: 0 0 1.2rem; color: var(--brown); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { max-width: 720px; margin: 0; font: 400 clamp(3.3rem, 5.5vw, 6.7rem)/.98 var(--display); letter-spacing: -.02em; }
h1 em { display: inline-block; color: var(--brown); font-family: Georgia, serif; font-size: .43em; font-weight: 400; line-height: 1.35; letter-spacing: 0; margin-top: 1.2rem; }
.hero-intro { max-width: 580px; margin: 2.2rem 0 0; color: #675853; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: 2.2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .8rem 1.5rem; text-decoration: none; font-size: .88rem; font-weight: 500; letter-spacing: .03em; transition: .25s ease; }
.button-primary { background: var(--brown-dark); color: #fff; border: 1px solid var(--brown-dark); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.button-text { padding-inline: 0; border-bottom: 1px solid currentColor; }
.button-text:hover { color: var(--brown); }
.hero-meta { display: flex; gap: 3rem; margin-top: auto; padding-top: 3rem; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: .2rem; }
.hero-meta span { color: var(--brown); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-meta strong, .hero-meta a { font-weight: 500; text-decoration: none; }
.hero-visual { min-height: 780px; position: relative; background: #e9dacc; }
.hero-visual::after { content: ""; pointer-events: none; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(245,238,231,.2), transparent 24%); }
.hero-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-slide:nth-child(2) img { object-position: 50% 35%; }
.hero-slide:nth-child(3) img { object-position: 50% 35%; }
.hero-slide:nth-child(4) img { object-position: 48% 48%; }
.slider-controls { position: absolute; z-index: 4; left: 2rem; right: 2rem; bottom: 2.2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.slider-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(51,42,39,.25); color: #fff; font-size: 1.1rem; cursor: pointer; backdrop-filter: blur(5px); }
.slider-dots { display: flex; align-items: center; gap: .55rem; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: .25s ease; }
.slider-dot.is-active { width: 24px; border-radius: 999px; background: #fff; }
.hero-seal { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 3rem); bottom: 2.5rem; width: 138px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); color: #fff; backdrop-filter: blur(6px); background: rgba(102,80,74,.2); }
.hero-seal span { font-size: .57rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-seal b { font: 400 1.55rem var(--display); margin: .15rem 0; }

.intro-band { padding: clamp(4rem, 8vw, 7.5rem) 1.5rem; background: var(--ivory); text-align: center; }
.intro-band p { max-width: 850px; margin: 0 auto; font: 400 clamp(2rem, 4vw, 4.5rem)/1.16 var(--display); }
.intro-band em { color: var(--brown); font-family: Georgia, serif; font-weight: 400; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.treatments { background: #efe3d9; }
.section-heading { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading h2, .philosophy h2, .final-cta h2 { margin: 0; font: 400 clamp(2.6rem, 4.6vw, 5.1rem)/1.05 var(--display); }
.section-heading > p:last-child { max-width: 590px; margin: 1.5rem 0 0; color: #675853; }
.treatment-groups { border-top: 1px solid var(--line); }
.treatment-group { display: grid; grid-template-columns: 80px 1fr; min-height: 320px; padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
.treatment-group > div:last-child { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: 3rem; align-items: start; }
.group-number { color: var(--brown); font: 400 1.05rem var(--display); }
.group-label { margin: 0 0 .7rem; color: var(--brown); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.treatment-group h3 { max-width: 360px; margin: 0; font: 400 clamp(2rem, 3vw, 3.25rem)/1.1 var(--display); }
.treatment-group ul { columns: 2; column-gap: 3rem; list-style: none; margin: .2rem 0 0; padding: 0; }
.treatment-group li { break-inside: avoid; padding: .8rem 0; border-bottom: 1px solid rgba(74,56,50,.11); color: #584946; }
.treatment-group.featured { background: rgba(255,255,255,.26); margin-inline: calc(clamp(1.25rem, 6vw, 7rem) * -1); padding-inline: clamp(1.25rem, 6vw, 7rem); }
.medical-note { margin: 2rem 0 0; font-size: .82rem; color: #786660; }

.philosophy { min-height: 700px; display: grid; grid-template-columns: .65fr 1.15fr .85fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: var(--brown-dark); color: #f8eee7; overflow: hidden; }
.philosophy-photo { align-self: stretch; min-height: 490px; margin: 0; overflow: hidden; }
.philosophy-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.philosophy .eyebrow { color: #d6bba9; }
.philosophy-copy > p:not(.eyebrow) { max-width: 560px; color: #e2d2ca; }
.button-text.light { color: #fff; margin-top: 1rem; }
.philosophy blockquote { margin: 0; color: #dec7b9; font: italic 400 clamp(1.65rem, 2.7vw, 3rem)/1.45 Georgia, serif; }
.philosophy blockquote span { display: block; height: 3.6rem; font: 400 5rem/1 var(--display); color: #c9a994; }

.space-showcase { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem); background: #efe3d9; }
.space-copy { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.space-copy .eyebrow { align-self: start; }
.space-copy h2 { margin: 0; font: 400 clamp(2.6rem, 4.6vw, 5.1rem)/1.05 var(--display); }
.space-copy > p:last-child { margin: 0; color: #675853; }
.space-gallery { display: grid; grid-template-columns: 1.45fr .85fr; grid-template-rows: repeat(2, minmax(260px, 28vw)); gap: clamp(.75rem, 1.5vw, 1.4rem); }
.space-photo { margin: 0; overflow: hidden; background: var(--cream); }
.space-photo-main { grid-row: 1 / -1; }
.space-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.space-photo-main img { object-position: 50% 54%; }
.space-photo:last-child img { object-position: 50% 65%; }
.space-photo:hover img { transform: scale(1.02); }

.visit { background: var(--ivory); }
.visit-heading { margin-bottom: 3rem; }
.visit-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border: 1px solid var(--line); }
.visit-card { min-height: 350px; padding: clamp(2rem, 4vw, 3.7rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.visit-card:last-child { border-right: 0; }
.card-kicker { color: var(--brown); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.address-card h3 { margin: 1.6rem 0 2.5rem; font: 400 clamp(1.7rem, 2.2vw, 2.5rem)/1.35 var(--display); }
.address-card .button { align-self: flex-start; margin-top: auto; }
.hours-card dl { margin: 1.2rem 0 0; }
.hours-card dl div { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.hours-card dt { font-size: .82rem; color: #74645f; }
.hours-card dd { margin: .25rem 0 0; font-weight: 500; }
.contact-phone { margin-top: 1.5rem; text-decoration: none; font: 400 clamp(2rem, 3vw, 3.5rem) var(--display); }
.contact-card p { color: #74645f; }
.contact-links { display: flex; gap: 1.5rem; margin-top: auto; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--brown); }

.final-cta { padding: clamp(5rem, 10vw, 10rem) 1.5rem; background: #d7bca9; text-align: center; }
.final-cta .eyebrow { color: var(--brown-dark); }
.final-cta p:not(.eyebrow) { max-width: 550px; margin: 1.4rem auto 2rem; }
.button-light { background: var(--ivory); color: var(--ink); }
.button-light:hover { transform: translateY(-2px); background: #fff; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr .8fr; align-items: end; gap: 2rem; padding: 3.5rem clamp(1.25rem, 6vw, 7rem); background: var(--ink); color: #d8c9c1; }
.site-footer > img { width: min(250px, 100%); }
.footer-info p { margin: .2rem 0; font-size: .83rem; }
.footer-info a { text-decoration: none; }
.footer-copy { margin: 0; justify-self: end; font-size: .75rem; }
.floating-contact { position: fixed; z-index: 15; right: 1.2rem; bottom: 1.2rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--brown-dark); color: #fff; box-shadow: 0 10px 30px rgba(51,42,39,.22); }
.floating-contact svg { width: 25px; fill: currentColor; }

@media (max-width: 1040px) {
  .site-header { padding-left: 2.5rem; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-inline: 2.5rem; }
  .hero-copy::before { left: 2.5rem; }
  .treatment-group > div:last-child { grid-template-columns: 1fr 1.2fr; }
  .philosophy { grid-template-columns: 1fr 1fr; }
  .philosophy-photo { min-height: 520px; grid-row: 1 / span 2; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-card:nth-child(2) { border-right: 0; }
  .visit-card:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .site-header { height: 92px; padding: 14px 1.2rem 0; background: none; }
  .brand img { width: 170px; }
  .header-actions { gap: .45rem; }
  .header-cta { min-height: 48px; padding-inline: .85rem; font-size: .72rem; }
  .menu-toggle { width: 48px; height: 48px; }
  .main-nav { inset: 0; width: 100%; padding: 5rem 2rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; padding: 145px 1.3rem 3rem; }
  .hero-copy::before { left: 1.3rem; top: 126px; width: 100px; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  h1 em { font-size: .38em; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .hero-meta { gap: 1.5rem; }
  .hero-visual { min-height: 620px; }
  .slider-controls { left: 1rem; right: 1rem; bottom: 1.4rem; justify-content: flex-start; }
  .hero-seal { width: 112px; right: 1rem; bottom: 1rem; }
  .intro-band { text-align: left; }
  .treatment-group { grid-template-columns: 42px 1fr; }
  .treatment-group > div:last-child { grid-template-columns: 1fr; gap: 1.5rem; }
  .treatment-group ul { columns: 1; }
  .philosophy { min-height: auto; grid-template-columns: 1fr; }
  .philosophy-photo { min-height: 360px; grid-row: auto; }
  .philosophy blockquote { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
  .space-copy { grid-template-columns: 1fr; gap: 1rem; }
  .space-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 500px 300px; }
  .space-photo-main { grid-column: 1 / -1; grid-row: auto; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-card, .visit-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .visit-card:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .footer-copy { justify-self: start; }
}

@media (max-width: 380px) {
  .brand img { width: 145px; }
  .header-cta { padding-inline: .65rem; font-size: .68rem; }
}

@media (max-width: 520px) {
  .space-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .space-photo, .space-photo-main { grid-column: auto; grid-row: auto; height: 460px; }
  .space-photo-main { height: 300px; }
  .space-photo:last-child { height: 440px; }
}

@media (min-width: 781px) {
  .treatments { padding-top: clamp(5rem, 6vw, 7rem); padding-bottom: clamp(5rem, 6vw, 7rem); }
  .treatments .section-heading { max-width: 1180px; display: grid; grid-template-columns: 1.05fr .95fr; column-gap: clamp(3rem, 7vw, 8rem); align-items: end; margin-bottom: 3.5rem; }
  .treatments .section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 1rem; }
  .treatments .section-heading h2 { font-size: clamp(3.2rem, 4vw, 4.6rem); }
  .treatments .section-heading > p:last-child { max-width: 480px; margin: 0 0 .45rem; font-size: 1.02rem; }
  .treatment-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.6vw, 1.6rem); border-top: 0; align-items: start; }
  .treatment-group { min-height: 0; grid-template-columns: 42px minmax(0, 1fr); align-self: start; padding: clamp(1.8rem, 2.4vw, 2.7rem); border: 1px solid rgba(74,56,50,.14); background: rgba(255,250,245,.72); box-shadow: 0 16px 45px rgba(74,56,50,.055); transition: transform .3s ease, box-shadow .3s ease; }
  .treatment-group:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(74,56,50,.1); }
  .treatment-group > div:last-child { display: block; }
  .treatment-group h3 { min-height: 2.2em; margin-bottom: 1.6rem; font-size: clamp(2rem, 2.5vw, 2.8rem); }
  .treatment-group ul { columns: 1; margin-top: 0; }
  .treatment-group li { padding: .72rem 0; }
  .treatment-group.featured { margin-inline: 0; padding-inline: clamp(1.8rem, 2.4vw, 2.7rem); background: var(--brown-dark); color: #fff; border-color: var(--brown-dark); }
  .treatment-group.featured .group-number, .treatment-group.featured .group-label { color: #dec7b9; }
  .treatment-group.featured li { color: #f2e8e2; border-bottom-color: rgba(255,255,255,.14); }
  .medical-note { margin-top: 1.5rem; }
}

@media (min-width: 781px) and (max-width: 1180px) {
  .treatment-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treatment-group:nth-child(3) { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
  .hero, .hero-visual { min-height: 720px; }
  .intro-band { padding-block: 5.5rem; }
  .section { padding-top: 6.5rem; padding-bottom: 6.5rem; }
  .philosophy { min-height: 620px; padding-top: 6.5rem; padding-bottom: 6.5rem; }
  .space-showcase { padding-top: 6.5rem; padding-bottom: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
