/* The Dent Lounge website.
   Scroll patterns (word fill, sticky narrative, zoom band, clip reveal) adapted from
   cinematic-site-components by Jay / RoboLabs (MIT), rewritten without GSAP. */

:root {
  --ink: #1d1d1c;
  --char: #262624;
  --night: #131312;
  --paper: #f6f3ec;
  --paper-2: #eeeae0;
  --white: #fffdf8;
  --gold: #b08f4c;
  --gold-2: #d2b77f;
  --gold-pale: #ece2c8;
  --line: #dcd6c8;
  --line-dark: #3b3a36;
  --muted: #6c695f;
  --muted-light: #bdb7aa;
  --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(20px, 5.6vw, 96px);
  --max: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-is-open, body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-pale); color: var(--ink); }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

h2 { font: 500 clamp(42px, 5.4vw, 86px)/.98 var(--display); letter-spacing: -.012em; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
h3 { font: 500 clamp(30px, 3vw, 44px)/1.04 var(--display); }

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--gold); font: 600 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; flex: none; }
.kicker-light { color: var(--gold-2); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.button .arrow { font-size: 16px; letter-spacing: 0; transition: transform .35s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }
.button-gold { background: var(--gold); color: #17160f; }
.button-gold:hover { background: var(--gold-2); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #000; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--gold-pale); }
.button-ghost { border-color: #ffffff70; color: #fff; background: #ffffff10; backdrop-filter: blur(6px); }
.button-ghost:hover { border-color: #fff; background: #ffffff22; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.text-link span:last-child { transition: transform .35s var(--ease); }
.text-link:hover span:last-child { transform: translateX(4px); }
.text-link-light { color: var(--gold-2); }

/* Header */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: #fff; transition: background .4s, color .4s, box-shadow .4s; }
.site-header.is-solid { background: #f6f3ecef; color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.brand { position: relative; width: 168px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .4s; }
.brand .brand-on-light { position: absolute; inset: 0; opacity: 0; }
.site-header.is-solid .brand-on-light { opacity: 1; }
.site-header.is-solid .brand-on-dark { opacity: 0; }
.site-nav { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; font-size: 13.5px; font-weight: 500; }
.site-nav a { position: relative; padding: 6px 0; opacity: .88; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current='true']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .9; }
.language-toggle:hover { opacity: 1; background: #ffffff18; }
.header-cta { min-height: 46px; padding: 0 22px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.site-header.menu-open { background: var(--night); color: #fff; box-shadow: none; }
.site-header.menu-open .brand-on-light { opacity: 0; }
.site-header.menu-open .brand-on-dark { opacity: 1; }

.menu-sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 28px) var(--pad) 36px; background: var(--night); color: #fff; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease); }
.menu-sheet[hidden] { display: none; }
.menu-sheet.is-open { opacity: 1; transform: none; }
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav a { padding: 10px 0; border-bottom: 1px solid #ffffff14; font: 500 clamp(32px, 8.4vw, 44px)/1.15 var(--display); }
.menu-sheet nav a:last-child { color: var(--gold-2); font-style: italic; border: 0; }
.menu-sheet-foot { display: grid; gap: 6px; padding-top: 24px; color: var(--muted-light); font-size: 14px; }
.menu-sheet-foot a { color: #fff; font: 600 22px/1.3 var(--sans); font-variant-numeric: tabular-nums; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, #0e0e0dd9 0%, #0e0e0d99 34%, #0e0e0d1f 68%, #0e0e0d00 100%),
  linear-gradient(0deg, #0e0e0dcc 0%, #0e0e0d00 42%),
  linear-gradient(180deg, #0e0e0d99 0%, #0e0e0d00 26%); }
.hero-content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(96px, 15vh, 170px); max-width: 720px; will-change: transform, opacity; }
.hero-title { font: 500 clamp(58px, 8.6vw, 138px)/.9 var(--display); letter-spacing: -.02em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > * { display: inline-block; }
.hero-title em { color: var(--gold-2); }
.hero-lede { max-width: 470px; margin-top: 26px; color: #f1ede3; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 28px; color: #d9d3c4; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.scroll-cue i { position: relative; width: 1px; height: 44px; overflow: hidden; background: #ffffff33; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold-2); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* Intro motion, only when JS is running */
.js .hero-media { clip-path: inset(7% 6% 7% 6%); transform: scale(1.14); transition: clip-path 1.5s var(--ease), transform 2.4s var(--ease); }
.js .hero-title .line > * { transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js .hero-title .line:nth-child(2) > * { transition-delay: .12s; }
.js .hero-lede, .js .hero-actions, .js .hero-foot, .js .hero .kicker { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js.is-loaded .hero-media { clip-path: inset(0 0 0 0); transform: scale(var(--hero-scale, 1)); }
.js.is-loaded .hero-title .line > * { transform: none; transition-delay: .35s; }
.js.is-loaded .hero-title .line:nth-child(2) > * { transition-delay: .47s; }
.js.is-loaded .hero .kicker { opacity: 1; transform: none; transition-delay: .25s; }
.js.is-loaded .hero-lede { opacity: 1; transform: none; transition-delay: .7s; }
.js.is-loaded .hero-actions { opacity: 1; transform: none; transition-delay: .82s; }
.js.is-loaded .hero-foot { opacity: 1; transform: none; transition-delay: 1s; }
.js.is-ready .hero-media { transition: none; }

/* Reveal */
.js [data-reveal]:not([data-reveal='clip']) { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal='clip'] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='clip'].is-in > img { clip-path: inset(0 0 0 0); }

/* Statement */
.statement { max-width: 1240px; margin: 0 auto; padding: clamp(110px, 15vw, 220px) var(--pad); }
.statement-text { font: 500 clamp(31px, 4.5vw, 66px)/1.12 var(--display); letter-spacing: -.01em; }
.statement-text .w { transition: color .5s; }
.js .statement-text .w { color: #1d1d1c2b; }
.js .statement-text .w.is-lit { color: var(--ink); }

/* Doctor */
.doctor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(110px, 13vw, 190px); }
.doctor-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.doctor-portrait img { width: 100%; height: 112%; object-fit: cover; object-position: 58% 30%; will-change: transform; }
.doctor-copy h2 { margin-bottom: 30px; }
.doctor-copy h2 em { display: block; }
.lead { max-width: 560px; color: #3c3b37; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; }
.doctor-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 42px; border-top: 1px solid var(--line); }
.doctor-facts div { padding: 18px 18px 0 0; }
.doctor-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.doctor-facts dt { color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.doctor-facts dd { margin-top: 6px; font: 500 22px/1.2 var(--display); }

/* Team band */
.team-band { position: relative; height: clamp(540px, 94vh, 940px); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.team-band-media { position: absolute; inset: 0; z-index: -2; }
.team-band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 40%; transform: scale(var(--zoom, 1)); will-change: transform; }
.team-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0e0e0dd0 0%, #0e0e0d55 30%, #0e0e0d00 55%), linear-gradient(90deg, #0e0e0d70 0%, #0e0e0d00 40%); }
.team-band-copy { position: absolute; left: var(--pad); bottom: clamp(48px, 9vh, 100px); }
.team-band-copy h2 { font-size: clamp(40px, 5vw, 80px); }

/* Care */
.care { max-width: var(--max); margin: 0 auto; padding: clamp(110px, 13vw, 190px) var(--pad); }
.care-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 110px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.care-head .kicker { grid-column: 1 / -1; }
.care-head p:last-child { max-width: 440px; color: var(--muted); font-size: 17px; }
.care-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); }
.care-sticky { position: sticky; top: calc(var(--header-h) + 28px); height: calc(100svh - var(--header-h) - 56px); max-height: 760px; overflow: hidden; background: var(--paper-2); }
.care-sticky img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(var(--care-scale, 1.04)); transition: transform 1.4s var(--ease); }
.care-counter { position: absolute; left: 22px; bottom: 18px; padding: 6px 12px; background: #f6f3ece6; font-size: 12px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.care-counter b { color: var(--gold); }
.care-list { counter-reset: none; }
.care-item { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; padding: 40px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s var(--ease); }
.care-item:last-child { border-bottom: 1px solid var(--line); }
.care-item.is-active { opacity: 1; }
.care-num { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.care-item h3 { margin: 16px 0 16px; }
.care-item p { max-width: 440px; margin-bottom: 26px; color: #4a4843; font-size: 17px; }
.care-item .text-link { align-self: flex-start; }
.care-note { margin-top: 40px; }

/* First visit */
.first-visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(100px, 12vw, 170px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--ink); color: #fff; }
.first-visit-media { aspect-ratio: 4 / 5; overflow: hidden; }
.first-visit-media img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 30%; }
.first-visit-copy h2 { margin-bottom: 28px; }
.first-visit-copy h2 em { color: var(--gold-2); }
.first-visit-copy > p { max-width: 520px; color: #dcd7cb; font-size: 17px; }
.bring-list { display: grid; gap: 0; max-width: 520px; margin: 34px 0 40px; border-top: 1px solid var(--line-dark); }
.bring-list li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
.bring-list li::before { content: ''; width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--gold-2); }
.first-visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.fine-print { margin-top: 32px; color: #9f9a8d !important; font-size: 13.5px !important; }
.first-visit .review-note { color: #c9c3b4; }

/* Finance */
.finance { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding: clamp(110px, 13vw, 190px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--paper-2); }
.finance-copy h2 { margin-bottom: 28px; }
.finance-copy > p { max-width: 520px; color: #4a4843; font-size: 17px; }
.finance-topics { margin: 40px 0 42px; border-top: 1px solid var(--line); }
.finance-topics div { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.4fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.finance-topics dt { font: 500 23px/1.2 var(--display); }
.finance-topics dd { color: var(--muted); font-size: 15px; }
.estimate { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(30px, 3.4vw, 48px); background: var(--char); color: #fff; }
.estimate-label { color: var(--gold-2); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.estimate h3 { margin: 12px 0 34px; font-size: clamp(30px, 2.6vw, 40px); }
.estimate-field { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 12px; color: #cfc9bb; font-size: 14px; }
.estimate-field .num { color: #fff; font-size: 20px; font-weight: 600; }
.estimate input[type='range'] { width: 100%; height: 28px; margin: 0 0 26px; background: transparent; accent-color: var(--gold-2); appearance: none; -webkit-appearance: none; }
.estimate input[type='range']::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold-2) var(--fill, 17%), #55534d var(--fill, 17%)); }
.estimate input[type='range']::-moz-range-track { height: 2px; background: #55534d; }
.estimate input[type='range']::-moz-range-progress { height: 2px; background: var(--gold-2); }
.estimate input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--gold-2); border: 4px solid var(--char); box-shadow: 0 0 0 1px var(--gold-2); }
.estimate input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-2); border: 4px solid var(--char); }
.estimate select { min-width: 92px; height: 44px; padding: 0 12px; border: 1px solid #55534d; border-radius: 2px; background: var(--char); color: #fff; font-variant-numeric: tabular-nums; }
.estimate-result { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: #cfc9bb; font-size: 14px; }
.estimate-result strong { color: var(--gold-2); font: 500 clamp(40px, 4vw, 54px)/1 var(--display); white-space: nowrap; }
.estimate-result small { color: #cfc9bb; font: 400 14px var(--sans); }
.estimate-disclaimer { margin-top: 24px; color: #9f9a8d; font-size: 12.5px; line-height: 1.55; }

/* Gallery */
.gallery { padding: clamp(110px, 13vw, 190px) 0 clamp(90px, 10vw, 150px); overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: var(--max); margin: 0 auto 52px; padding: 0 var(--pad); }
.gallery-controls { display: flex; gap: 10px; }
.round-button { width: 54px; height: 54px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 18px; transition: background .3s, color .3s, opacity .3s; }
.round-button:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.round-button:disabled { opacity: .25; cursor: default; }
.filmstrip { --h: clamp(320px, 40vw, 620px); display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 8px; scrollbar-width: none; cursor: grab; }
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.frame { flex: none; scroll-snap-align: start; }
.frame img { height: var(--h); width: auto; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.frame-wide img { aspect-ratio: 3 / 2; }
.frame-tall img { aspect-ratio: 2 / 3; }
.frame figcaption { display: flex; gap: 14px; margin-top: 14px; font-size: 13px; letter-spacing: .04em; }
.frame figcaption .num { color: var(--gold); font-weight: 600; }
.gallery-note { max-width: var(--max); margin-left: var(--pad) !important; margin-right: var(--pad) !important; }

/* Reviews */
.reviews { padding: clamp(100px, 12vw, 170px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--paper-2); }
.reviews [hidden] { display: none !important; }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.reviews-lede { max-width: 520px; margin-top: 24px; color: #4a4843; font-size: 17px; }
.reviews-count { display: inline-flex; align-items: center; flex: none; margin: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.review-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.review-stars { color: var(--gold); font-size: 17px; letter-spacing: .14em; line-height: 1; }
.review-text { flex: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; overflow-wrap: break-word; color: #3a3935; font-size: 15.5px; line-height: 1.65; }
.review-meta { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-pale); color: var(--ink); font: 500 24px/1 var(--display); }
.review-who { display: grid; min-width: 0; }
.review-author { overflow-wrap: anywhere; font-size: 14.5px; font-weight: 600; }
.review-date { color: var(--muted); font-size: 13px; }
.reviews-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: clamp(32px, 4vw, 48px); }

/* Request */
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: clamp(110px, 13vw, 180px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--ink); color: #fff; }
.request-copy h2 { margin-bottom: 28px; }
.request-copy h2 em { color: var(--gold-2); }
.request-copy > p { max-width: 480px; color: #dcd7cb; font-size: 17px; }
.phone-line { display: inline-grid; gap: 4px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.phone-line small { color: #a49f92; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.phone-line span { color: var(--gold-2); font: 500 clamp(34px, 3.4vw, 48px)/1.1 var(--display); }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(28px, 3.6vw, 52px); background: var(--white); color: var(--ink); }
.form-row { grid-column: 1 / -1; display: grid; gap: 8px; }
.form-row-half { grid-column: span 1; }
.form-row label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.form-row input, .form-row select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font-size: 16px; }
.form-row input:focus, .form-row select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px #b08f4c33; }
.form-row input[aria-invalid='true'] { border-color: #a4472f; }
.form-submit { grid-column: 1 / -1; margin-top: 8px; width: 100%; }
.form-status { grid-column: 1 / -1; min-height: 0; font-size: 14px; }
.form-status:not(:empty) { padding: 12px 14px; border-left: 2px solid #4f7a4a; background: #4f7a4a12; color: #2f4f2c; }
.form-status[data-error='true'] { border-left-color: #a4472f; background: #a4472f12; color: #7d311f; }
.request-form .review-note { grid-column: 1 / -1; margin-top: 4px; }
.form-optional { letter-spacing: .06em; text-transform: none; font-weight: 500; }
.form-check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.form-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.form-check label { padding-top: 1px; cursor: pointer; }
.form-check input[aria-invalid='true'] { outline: 2px solid #a4472f; outline-offset: 2px; }
.form-check + .form-check { margin-top: -6px; color: var(--muted); }
.form-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-submit:disabled { opacity: .55; cursor: not-allowed; }
.form-submit[aria-disabled='true'] { opacity: .7; cursor: progress; }
.form-privacy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.form-privacy a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* Privacy notice page */
.privacy-page { background: var(--paper); }
.privacy-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px var(--pad); background: var(--ink); }
.privacy-top img { width: 150px; }
.privacy-langs { display: flex; gap: 6px; }
.privacy-langs a { padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 2px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.privacy-main { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pad) clamp(56px, 8vw, 110px); }
.privacy-main h1 { margin: 0 0 18px; font: 500 clamp(40px, 5vw, 64px)/1.02 var(--display); }
.privacy-main h2 { margin: 40px 0 10px; font: 600 13px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.privacy-main p, .privacy-main li { color: #3a3934; font-size: 16.5px; }
.privacy-main p + p { margin-top: 12px; }
.privacy-main ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.privacy-main a { border-bottom: 1px solid currentColor; }
.privacy-lede { color: var(--muted); font-size: 18px; }
.privacy-call { display: inline-block; margin-top: 8px; font-weight: 700; }
.privacy-back { display: inline-flex; margin-top: 48px; }
html:has(#es:target) #en, html:not(:has(#es:target)) #es { display: none; }
html:has(#es:target) .privacy-langs a[href='#es'], html:not(:has(#es:target)) .privacy-langs a[href='#en'] { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Visit */
.visit-hero { position: relative; height: clamp(480px, 84vh, 860px); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.visit-hero-media { position: absolute; inset: 0; z-index: -2; }
.visit-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(var(--zoom, 1)); will-change: transform; }
.visit-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0e0e0dc4 0%, #0e0e0d3d 34%, #0e0e0d00 58%); }
.visit-hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(44px, 8vh, 90px); }
.visit-hero-copy h2 em { color: var(--gold-2); font-style: normal; letter-spacing: .04em; font-family: var(--sans); font-weight: 700; font-size: .62em; vertical-align: .12em; }
.visit-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 100px); max-width: var(--max); margin: 0 auto; padding: clamp(70px, 8vw, 120px) var(--pad) clamp(100px, 11vw, 160px); }
.contact-line { position: relative; display: grid; gap: 6px; padding: 22px 40px 22px 0; border-bottom: 1px solid var(--line); }
.contact-line:first-child { border-top: 1px solid var(--line); }
.contact-line small { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.contact-line strong { font: 500 clamp(24px, 2.2vw, 30px)/1.2 var(--display); }
.contact-line b { position: absolute; right: 4px; top: 50%; translate: 0 -50%; color: var(--gold); font-size: 20px; transition: transform .3s var(--ease); }
a.contact-line:hover b { transform: translate(3px, -3px); }
.visit-map { display: grid; gap: 16px; }
.visit-map iframe { width: 100%; height: clamp(340px, 34vw, 480px); border: 0; background: var(--paper-2); }
.map-button { justify-self: start; }

/* Footer */
.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 48px; align-items: center; padding: 64px var(--pad) 40px; background: var(--night); color: #cfc9bb; font-size: 14px; }
.footer-logo { width: 180px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-contact { display: grid; gap: 4px; text-align: right; }
.footer-contact a { color: #fff; font-size: 18px; font-weight: 600; }
.footer-fine { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-dark); color: #8d8879; font-size: 12px; }

/* Mobile dock */
.mobile-dock { display: none; }

/* Dialog */
.forms-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 40px); padding: clamp(28px, 5vw, 48px); border: 0; border-radius: 2px; background: var(--white); color: var(--ink); box-shadow: 0 30px 90px #0006; }
.forms-dialog::backdrop { background: #0d0d0ca8; backdrop-filter: blur(4px); }
.forms-dialog h2 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 24px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; }
.checklist { display: grid; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 16px; height: 16px; border: 1.5px solid var(--gold); border-radius: 2px; }
.dialog-warning { margin-top: 20px; color: var(--muted); font-size: 13.5px; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }

/* Tablet */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .review-list { display: flex; gap: 16px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .review-list::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 min(84vw, 380px); scroll-snap-align: start; }
}

@media (max-width: 960px) {
  .care-body { grid-template-columns: 1fr; gap: 34px; }
  .care-sticky { position: relative; top: 0; height: auto; aspect-ratio: 4 / 3; }
  .care-item { min-height: 0; padding: 30px 0; opacity: 1; }
  .care-head { grid-template-columns: 1fr; row-gap: 20px; }
  .finance { grid-template-columns: 1fr; }
  .estimate { position: relative; top: 0; }
  .request { grid-template-columns: 1fr; }
  .visit-body { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; padding-bottom: 86px; }
  .brand { width: 132px; }
  .header-cta { display: none; }
  .language-toggle { width: 40px; height: 40px; font-size: 11.5px; }

  .hero { min-height: 600px; }
  .hero-media img { object-position: 63% 50%; }
  .hero-shade { background: linear-gradient(0deg, #0e0e0df2 0%, #0e0e0dc4 38%, #0e0e0d33 64%, #0e0e0d66 100%); }
  .hero-content { bottom: 84px; }
  .hero-title { font-size: clamp(50px, 15vw, 70px); }
  .hero-lede { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-foot { bottom: 24px; gap: 14px; font-size: 10px; letter-spacing: .14em; }
  .hero-foot > span:nth-child(2) { display: none; }
  .scroll-cue i { height: 30px; }

  h2 { font-size: clamp(40px, 11vw, 54px); }
  .kicker { margin-bottom: 20px; }
  .statement { padding: 96px var(--pad); }
  .statement-text { font-size: clamp(28px, 7.6vw, 36px); line-height: 1.16; }

  .doctor { grid-template-columns: 1fr; gap: 36px; padding-bottom: 100px; }
  .doctor-portrait { aspect-ratio: 4 / 5; margin: 0 calc(var(--pad) * -1); }
  .doctor-facts { grid-template-columns: 1fr; margin: 30px 0 32px; }
  .doctor-facts div, .doctor-facts div + div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .doctor-facts dd { margin: 0; font-size: 20px; text-align: right; }
  .doctor .button { width: 100%; white-space: normal; text-align: center; }

  .team-band { height: auto; }
  .team-band-media { position: relative; aspect-ratio: 1 / 1; }
  .team-band-media img { object-position: 62% 50%; }
  .team-band::after { display: none; }
  .team-band-copy { position: relative; left: 0; bottom: 0; padding: 36px var(--pad) 56px; }
  .team-band-copy h2 { font-size: clamp(36px, 10vw, 46px); }
  .team-band-copy h2 br { display: none; }

  .care { padding: 96px var(--pad); }
  .care-sticky { margin: 0 calc(var(--pad) * -1); }
  .care-item h3 { margin: 10px 0 12px; }
  .care-item p { font-size: 16px; margin-bottom: 20px; }

  .first-visit { grid-template-columns: 1fr; gap: 40px; padding: 0 var(--pad) 96px; }
  .first-visit-media { aspect-ratio: 4 / 5; margin: 0 calc(var(--pad) * -1); }
  .first-visit-actions .button { width: 100%; }

  .finance { padding: 96px var(--pad); }
  .finance-topics div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .finance .button { width: 100%; white-space: normal; }
  .estimate { margin: 0 calc(var(--pad) * -1); padding: 34px var(--pad); }

  .gallery { padding: 96px 0 80px; }
  .gallery-head { margin-bottom: 34px; align-items: flex-end; }
  .gallery-controls { display: none; }
  .filmstrip { --h: 64vw; }
  .frame-tall img { height: var(--h); }

  .reviews { padding: 96px var(--pad); }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .reviews-links .button { width: 100%; white-space: normal; text-align: center; }

  .request { padding: 96px var(--pad); gap: 40px; }
  .request-form { grid-template-columns: 1fr; margin: 0 calc(var(--pad) * -1); padding: 32px var(--pad); }
  .form-row-half { grid-column: 1 / -1; }

  .visit-hero { height: 76svh; min-height: 480px; }
  .visit-hero-media img { object-position: 30% 50%; }
  .visit-body { padding: 56px var(--pad) 90px; }
  .map-button { width: 100%; }

  .site-footer { grid-template-columns: 1fr; text-align: left; gap: 26px; padding-top: 52px; }
  .footer-nav { justify-content: flex-start; }
  .footer-contact { text-align: left; }
  .footer-fine { flex-direction: column; gap: 6px; }

  .mobile-dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 6px; padding: 6px; border-radius: 4px; background: #131312ee; backdrop-filter: blur(12px); box-shadow: 0 12px 30px #0005; transition: transform .4s var(--ease), opacity .4s; }
  .mobile-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 8px; border-radius: 2px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-dock .dock-primary { background: var(--gold); color: #17160f; }
  .menu-is-open .mobile-dock, .dock-hidden .mobile-dock { transform: translateY(140%); opacity: 0; }
}

@media (max-width: 370px) {
  .mobile-dock a { font-size: 11px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .hero-media, .js.is-loaded .hero-media { clip-path: none; transform: none; }
  .js .hero-title .line > *, .js .hero-lede, .js .hero-actions, .js .hero-foot, .js .hero .kicker { opacity: 1; transform: none; }
  .js [data-reveal], .js [data-reveal] > img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .statement-text .w { color: var(--ink); }
  .team-band-media img, .visit-hero-media img, .care-sticky img, [data-parallax] { transform: none !important; }
}

@media print {
  body:has(dialog[open]) > *:not(dialog) { display: none !important; }
  .forms-dialog { position: static; box-shadow: none; max-height: none; }
  .dialog-close, .dialog-actions { display: none; }
}

/* Cormorant ships old-style figures; phone numbers and amounts use the sans for clean lining digits. */
.phone-line span, .contact-line strong.num, .estimate-result strong { font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; }
.phone-line span { font-size: clamp(26px, 2.6vw, 36px); }
.contact-line strong.num { font-size: clamp(22px, 1.9vw, 26px); }
.estimate-result strong { font-size: clamp(32px, 3.2vw, 44px); }

/* ?capture=1: frame-by-frame video capture; every effect follows scroll position only. */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation: none !important; }
