/* Pasupuleti Dental Care — Lavender + Plum identity */
:root {
  --plum: #33264F;
  --plum-2: #47386A;
  --plum-deep: #271D3D;
  --ink: #28222F;
  --muted: #5F5870;
  --lav: #B7A5E0;
  --lav-2: #9C88D2;
  --lav-deep: #6A54A6;
  --mist: #EEE9F8;
  --enamel: #F7F6FA;
  --white: #FFFFFF;
  --gold: #C4A46A;
  --line: #DED7EB;
  --on-plum: #F3EFFA;
  --on-plum-2: #CFC5E4;
  --shadow: rgba(40, 28, 64, 0.16);
  --f-display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --radius: 16px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--enamel); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-color: var(--lav); text-underline-offset: 3px; }
a:hover { color: var(--lav-deep); }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); color: var(--plum); letter-spacing: 0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2.5px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--plum); color: var(--on-plum); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.eyebrow { font: 600 12.5px/1.2 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 14px; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 46ch; }

/* Icons */
.icon { width: 48px; height: 48px; fill: none; stroke: var(--plum); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Bare class selectors on purpose: they must match inside <use> instances of the sprite symbols. */
.mi { fill: var(--mist); }
.ac { stroke: var(--lav-2); stroke-width: 2.2; }
.ac-f { fill: var(--lav); stroke: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--plum); color: var(--on-plum); }
.btn-primary:hover { background: var(--plum-2); color: var(--white); }
.btn-ghost { color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--mist); color: var(--plum); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }

/* Logo C: the dotted i */
.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; color: var(--plum); text-decoration: none; }
.logo-text { display: inline-flex; flex-direction: column; align-items: center; }
.mark { display: block; flex: none; }
.mark .mark-arch { fill: var(--lav); }
.mark .mark-tooth { fill: var(--enamel); }
.mark .mark-shine { fill: none; stroke: var(--plum); stroke-width: 3.6; stroke-linecap: round; }
.logo-mark { width: 34px; height: 48px; }
.logo:hover { color: var(--plum); }
.logo-word { font-family: var(--f-display); font-size: 30px; letter-spacing: 0.01em; white-space: nowrap; }
.logo-sub { font: 600 8.4px/1 var(--f-body); letter-spacing: 0.52em; margin: 7px -0.52em 0 0; white-space: nowrap; }
.dot-i { position: relative; display: inline-block; }
.dot-i svg { position: absolute; left: 50%; top: -0.05em; width: 0.27em; height: 0.33em; transform: translateX(-54%); fill: var(--lav); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 250, 0.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15.5px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lav); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .nav-call { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 600; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--plum); }
.nav .nav-call:hover { background: var(--mist); }
.nav-call svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.menu-btn { display: none; align-items: center; gap: 10px; font: 600 15px/1 var(--f-body); color: var(--plum); background: transparent; border: 0; padding: 12px 4px; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 1.8px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

/* Hero: full-screen video background */
.hero { position: relative; overflow: hidden; }
.hero-video { display: flex; align-items: flex-end; min-height: clamp(560px, calc(92vh - var(--header-h)), 860px); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); background: var(--plum-deep); color: var(--on-plum); isolation: isolate; }
.hero-video { background: radial-gradient(circle at 12% 18%, rgba(106, 84, 166, 0.35), transparent 42%), var(--plum-deep); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #D9CFE3; }
.hero-bg-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(39, 29, 61, 0.9) 0%, rgba(39, 29, 61, 0.72) 28%, rgba(39, 29, 61, 0.28) 46%, rgba(39, 29, 61, 0) 60%),
  linear-gradient(0deg, rgba(39, 29, 61, 0.45) 0%, rgba(39, 29, 61, 0) 26%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: end; width: 100%; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; color: #FFFFFF; max-width: 12.5ch; }
.hero-cards .where-card { display: none; }
.hero .ul { text-decoration: underline; text-decoration-color: var(--lav); text-decoration-thickness: 0.085em; text-underline-offset: 0.16em; text-decoration-skip-ink: none; }
.hero .eyebrow { color: var(--lav); }
.hero .lede { margin: 22px 0 30px; color: var(--on-plum-2); max-width: 44ch; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-points li { padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--on-plum); background: rgba(39, 29, 61, 0.55); box-shadow: inset 0 0 0 1px rgba(207, 197, 228, 0.28); }
.hero-cards { display: grid; gap: 12px; justify-items: end; align-self: end; }
.float-card { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 16px; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, 0.95); box-shadow: 0 22px 50px -30px rgba(20, 12, 36, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.6); max-width: 360px; }
.rating-card .stars { color: #E2A93B; font-size: 18px; letter-spacing: 2px; }
.rating-card .rating-text { display: grid; }
.rating-card b { font: 400 19px/1.1 var(--f-display); color: var(--plum); }
.rating-card .rating-text span { font-size: 13px; color: var(--muted); }
.rating-card:hover { color: var(--ink); background: #FFFFFF; }
.doc-card { gap: 16px; padding: 14px 20px 14px 14px; max-width: 400px; }
.doc-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--lav); }
.doc-card b { display: block; font: 400 20px/1.2 var(--f-display); color: var(--plum); }
.doc-card span span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.where-card { font-size: 14px; color: var(--ink); }
.where { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 15px; }
.pin { width: 19px; height: 19px; fill: none; stroke: var(--lav-deep); stroke-width: 1.7; flex: none; }
.btn-lav { background: var(--lav); color: var(--plum-deep); }
.btn-lav:hover { background: #FFFFFF; color: var(--plum-deep); }
.btn-outline-light { color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(243, 239, 250, 0.7); background: rgba(255, 255, 255, 0.04); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }

/* Treatment ribbon and clinic-at-a-glance strip */
.ribbon { overflow: hidden; background: var(--lav); color: var(--plum-deep); padding: 12px 0; }
.ribbon-track { display: flex; width: max-content; gap: 34px; animation: ribbon 48s linear infinite; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 34px; font: 400 18px/1 var(--f-display); white-space: nowrap; }
.ribbon-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--plum); opacity: 0.55; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.stats-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-tile { display: grid; gap: 2px; padding: clamp(18px, 3vw, 28px) clamp(12px, 2vw, 24px); text-decoration: none; color: var(--muted); border-left: 1px solid var(--line); }
.stat-tile:first-child { border-left: 0; }
.stat-tile b { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--f-display); color: var(--plum); font-variant-numeric: tabular-nums; }
.stat-tile span { font-size: 14.5px; }
.stat-tile:hover b { color: var(--lav-deep); }

/* Reviews and Instagram bands */
.reviews-band { background: radial-gradient(circle at 15% 20%, rgba(183, 165, 224, 0.28), transparent 45%), linear-gradient(135deg, var(--plum-deep), var(--plum) 70%); color: var(--on-plum); padding: clamp(56px, 8vw, 96px) 0; }
.reviews-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.big-rating { display: grid; justify-items: center; gap: 6px; padding: 26px 34px; border-radius: 24px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(207, 197, 228, 0.25); }
.big-rating .score { font: 400 clamp(64px, 8vw, 96px)/1 var(--f-display); color: #FFFFFF; }
.big-rating .stars { color: #E2A93B; font-size: 22px; letter-spacing: 3px; }
.big-rating .count { color: var(--on-plum-2); font-size: 14px; }
.reviews-copy h2 { color: #FFFFFF; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.reviews-copy p { color: var(--on-plum-2); margin: 12px 0 24px; max-width: 52ch; }
.insta-band { background: linear-gradient(120deg, var(--mist), #E4DAF4); padding: clamp(40px, 6vw, 64px) 0; }
.insta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.insta-inner h2 { font-size: clamp(26px, 3vw, 36px); }
.insta-inner p:not(.eyebrow) { color: var(--muted); margin-top: 6px; }
.reels { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 32px; }
.reel { width: 340px; max-width: 100%; border-radius: 18px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 50px -30px rgba(51, 38, 79, 0.5); }
.reel iframe { display: block; width: 100%; height: 660px; border: 0; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; }
.section-head > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 56ch; }

/* Treatment cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -44px var(--shadow); text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.card:hover { color: var(--ink); box-shadow: 0 0 0 1.5px var(--lav), 0 30px 60px -36px var(--shadow); }
.card-visual { display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, var(--mist) 58%, #E2D8F2 100%); overflow: hidden; }
.card-visual .icon { width: 84px; height: 84px; filter: drop-shadow(0 14px 18px rgba(51, 38, 79, 0.18)); }
.card-visual.has-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-visual.has-img img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.card h3 { font: 400 23px/1.2 var(--f-display); color: var(--plum); }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .more { font-weight: 600; font-size: 14.5px; color: var(--lav-deep); margin-top: 4px; }
.treatments-home { background: linear-gradient(180deg, var(--enamel), var(--mist)); }
.all-link { margin-top: 30px; }

/* Doctor */
.doctor { background: var(--mist); }
.doctor-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.doc-intro { margin: 0; justify-self: center; width: min(100%, 360px); }
.doc-intro figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
@media (min-width: 1100px) {
  .doctor-grid { grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 56px; }
  .doc-intro { width: 340px; }
}
@media (min-width: 861px) and (max-width: 1099px) {
  .doc-intro { grid-column: 1 / -1; }
}
.doc-portrait { position: relative; justify-self: center; width: min(100%, 340px); margin: 0 0 22px 22px; }
.doc-arch { position: absolute; inset: 22px 22px -22px -22px; background: var(--plum); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.doc-portrait::after { content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 1px solid rgba(196, 164, 106, 0.8); border-bottom: 0; border-radius: 50% 50% 0 0 / 40% 40% 0 0; pointer-events: none; }
.doc-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }

/* 3D showcase */
.showcase { background: radial-gradient(circle at 85% 10%, rgba(183, 165, 224, 0.22), transparent 40%), var(--plum-deep); }
.showcase .section-head h2 { color: #FFFFFF; }
.showcase .section-head > p:not(.eyebrow) { color: var(--on-plum-2); }
.showcase .eyebrow { color: var(--lav); }
.showcase .tile { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(207, 197, 228, 0.2); }
.showcase .tile:hover { box-shadow: inset 0 0 0 1.5px var(--lav), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.showcase .tile-text b { color: #FFFFFF; }
.showcase .tile-text > span:not(.more) { color: var(--on-plum-2); }
.showcase .tile .more { color: var(--lav); }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tile { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: 22px; overflow: hidden; background: var(--enamel); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.tile:hover { color: var(--ink); box-shadow: 0 0 0 1.5px var(--lav), 0 26px 50px -34px var(--shadow); }
.tile-media { display: block; background: #E3DCEC; }
.tile-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.tile-text { display: grid; gap: 6px; align-content: start; padding: 22px 26px 24px; }
.tile-text b { font: 400 25px/1.2 var(--f-display); color: var(--plum); }
.tile-text > span:not(.more) { color: var(--muted); font-size: 15.5px; }
.tile .more { font-weight: 600; font-size: 14.5px; color: var(--lav-deep); margin-top: 6px; }
.doctor-copy h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; }
.doc-role { margin: 10px 0 20px; font-weight: 600; color: var(--lav-deep); }
.doctor-copy > p:not(.eyebrow):not(.doc-role) { color: var(--muted); max-width: 54ch; }
.facts { margin: 28px 0 0; display: grid; gap: 0; max-width: 520px; }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid rgba(106, 84, 166, 0.22); }
.facts dt { font: 600 12.5px/1.6 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav-deep); }
.facts dd { margin: 0; color: var(--ink); }

/* Visit steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 1.5px solid var(--plum); padding-top: 18px; }
.step-n { display: block; font: 400 40px/1 var(--f-display); color: var(--lav-2); margin-bottom: 14px; }
.steps h3 { font: 600 18px/1.3 var(--f-body); color: var(--plum); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* FAQ */
.questions { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 17.5px/1.4 var(--f-body); color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--lav-deep); border-bottom: 2px solid var(--lav-deep); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; margin-bottom: 20px; }
.addr { font-size: 19px; line-height: 1.55; color: var(--ink); }
.landmark { display: flex; gap: 10px; margin: 16px 0 26px; color: var(--muted); font-size: 15.5px; max-width: 48ch; }
.landmark .pin { margin-top: 3px; }
.contact-list { margin: 0 0 28px; }
.contact-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.contact-list dt { font: 600 12.5px/1.9 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav-deep); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.map { position: sticky; top: calc(var(--header-h) + 20px); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; border-radius: var(--radius); background: var(--mist); box-shadow: 0 0 0 1px var(--line); }
.map-note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Treatments page */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; max-width: 16ch; }
.page-hero .lede { margin-top: 18px; max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips a { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--plum); background: var(--white); padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.chips a:hover { box-shadow: 0 0 0 1.5px var(--lav); color: var(--plum); }
.tlist { padding-bottom: clamp(56px, 8vw, 96px); }
.treatment { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.t-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.t-icon .icon { width: 54px; height: 54px; }
.treatment h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.t-lede { margin-top: 12px; max-width: 64ch; }
.t-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin: 22px 0 20px; max-width: 860px; }
.t-cols h3 { font: 600 12.5px/1.4 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 8px; }
.t-cols ul { list-style: none; display: grid; gap: 6px; }
.t-cols li { position: relative; padding-left: 20px; color: var(--muted); font-size: 16px; }
.t-cols li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lav); }
.t-cols p { color: var(--muted); font-size: 16px; }
.treatment.has-media { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 280px); }
.t-media { margin: 0; align-self: start; }
.t-media video, .t-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #E3DCEC; box-shadow: 0 0 0 1px var(--line); }
.t-media figcaption { margin-top: 8px; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.cta-band { background: var(--plum); color: var(--on-plum); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: grid; justify-items: start; gap: 16px; }
.cta-band h2 { color: var(--on-plum); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.cta-band p { color: var(--on-plum-2); max-width: 56ch; margin-bottom: 10px; }
.cta-band .btn-primary { background: var(--lav); color: var(--plum-deep); }
.cta-band .btn-primary:hover { background: var(--on-plum); color: var(--plum-deep); }
.cta-band .btn-ghost { color: var(--on-plum); box-shadow: inset 0 0 0 1.5px var(--on-plum-2); }
.cta-band .btn-ghost:hover { background: var(--plum-2); color: var(--white); }
.not-found { padding-bottom: clamp(80px, 12vw, 160px); }
.not-found .cta-row { margin-top: 30px; }

/* Footer */
.site-footer { background: var(--plum-deep); color: var(--on-plum-2); padding: clamp(52px, 7vw, 80px) 0 0; font-size: 15.5px; }
.site-footer a { color: var(--on-plum); text-decoration-color: rgba(183, 165, 224, 0.55); }
.site-footer a:hover { color: var(--lav); }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 44px; }
.foot .logo { color: var(--on-plum); }
.foot .logo-mark { width: 40px; height: 56px; }
.foot .logo .logo-word { font-size: 34px; }
.foot-brand p { margin-top: 18px; line-height: 1.55; }
.foot-h { font: 600 12.5px/1.4 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lav); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot address { line-height: 1.6; margin-bottom: 10px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(207, 197, 228, 0.18); font-size: 13.5px; }

/* Booking page */
.book-hero { padding-bottom: clamp(20px, 3vw, 32px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(64px, 9vw, 112px); }
.book-form, .book-done { display: grid; gap: 18px; background: var(--white); border-radius: 22px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -48px var(--shadow); }
.book-done { justify-items: start; outline: none; }
.book-done h2 { font-size: clamp(30px, 3.4vw, 40px); }
.bf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bf-field { display: grid; gap: 6px; align-content: start; }
.bf-field label, .bf-slots legend { font-weight: 600; color: var(--plum); font-size: 15.5px; }
.optional { font-weight: 400; color: var(--muted); font-size: 14px; }
.book-form input[type="text"], .book-form input[type="tel"], .book-form input[type="date"], .book-form select, .book-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--enamel); border: 1px solid #CFC6DF; border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.book-form textarea { resize: vertical; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--lav-deep); outline: 2px solid rgba(106, 84, 166, 0.25); background: var(--white); }
.book-form [aria-invalid="true"] { border-color: #A4261D; background: #FDF3F2; }
.bf-slots { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.slot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--enamel); box-shadow: inset 0 0 0 1px #CFC6DF; cursor: pointer; }
.slot b { color: var(--plum); }
.slot small { color: var(--muted); font-size: 13px; }
.slot input:checked + span { background: var(--plum); box-shadow: none; }
.slot input:checked + span b, .slot input:checked + span small { color: var(--on-plum); }
.slot input:focus-visible + span { outline: 2.5px solid var(--lav-deep); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15.5px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--plum); flex: none; }
.bf-submit { justify-self: start; min-width: 220px; }
.bf-privacy { color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 12px 16px; border-radius: 12px; background: #FDF3F2; color: #A4261D; font-weight: 600; outline: none; }
.form-status.show { display: block; }
.book-aside { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: var(--mist); }
.book-aside h2 { font-size: 22px; margin-top: 10px; }
.book-aside h2:first-child { margin-top: 0; }
.book-aside p, .book-aside address { color: var(--muted); }
.nav .nav-call[aria-current="page"] { background: var(--mist); text-decoration: none; }

/* Mobile quick contact bar */
.quickbar { display: none; }

/* Motion: page-load rise, scroll reveal, 3D tilt. All of it switches off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-cards > * { animation: arch-in 1.1s cubic-bezier(.2, .7, .2, 1) both, bob 7s ease-in-out 1.2s infinite; }
  .hero-cards > :nth-child(2) { animation-delay: .15s, 2.2s; }
  .hero-cards > :nth-child(3) { animation-delay: .3s, 3.1s; }
  .hero-bg-video { animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  .js .reveal { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
  .cards li:nth-child(3n + 2), .steps li:nth-child(2), .tiles li:nth-child(2) { transition-delay: .08s; }
  .cards li:nth-child(3n), .steps li:nth-child(3) { transition-delay: .16s; }
  .steps li:nth-child(4) { transition-delay: .24s; }
}
/* 3D tilt only where there is a mouse; phones and tablets skip the extra compositing work. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  [data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
  [data-tilt]:hover { --ty: -4px; transform-style: preserve-3d; transition: transform .12s linear, box-shadow .25s; }
  [data-tilt]:hover .card-visual .icon, [data-tilt]:hover .tile-text b { transform: translateZ(28px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes arch-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 10px; }
  .ribbon-track span:nth-child(n + 12) { display: none; }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(18px, 4vw, 40px) 20px; background: var(--enamel); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px var(--shadow); }
  .nav:not(.open) { display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--plum); }
  .nav a[aria-current="page"] { text-decoration: none; }
  .nav .nav-call { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .logo-word { font-size: 26px; }
  .logo-mark { width: 29px; height: 41px; }
  .logo { gap: 10px; }
  .logo-sub { font-size: 7.4px; margin-top: 6px; }
  .hero-grid, .doctor-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  /* Phones: the vertical video fills the screen; the tooth stays clear at the top and the text sits on the
     plum lower half that the video itself fades into. */
  .hero-video { display: block; min-height: 0; padding: 0 0 32px; background: var(--plum-deep); }
  .hero-bg { position: relative; inset: auto; z-index: 0; height: clamp(320px, 56vh, 540px); background: #D9CFE3; overflow: hidden; }
  .hero-bg-video { object-position: 50% 8%; }
  .hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, var(--plum-deep), rgba(39, 29, 61, 0)); }
  .hero-shade { display: none; }
  .hero-video .hero-grid { position: relative; margin-top: -34px; }
  .hero h1 { max-width: none; }
  .hero-cards { justify-items: stretch; }
  .hero-cards .where-card { display: none; }
  .doc-card { max-width: none; }
  .doc-card img { width: 76px; height: 76px; }
  .rating-card { max-width: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile:nth-child(3) { border-left: 0; }
  .stat-tile:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .reviews-inner { grid-template-columns: 1fr; justify-items: start; }
  .doc-portrait { width: min(80%, 280px); }
  .treatment.has-media { grid-template-columns: 96px minmax(0, 1fr); }
  .treatment.has-media .t-media { grid-column: 2; max-width: 320px; }
  .map { position: static; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .quickbar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 246, 250, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .quickbar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .qb-book { background: var(--plum); color: var(--on-plum); }
  .qb-call { background: var(--white); color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
  .qb-wa { background: var(--lav); color: var(--plum-deep); }
  .qb-book:hover { color: var(--white); }
  .qb-call:hover { color: var(--plum); }
  .qb-wa:hover { color: var(--plum-deep); }
  .book-grid, .bf-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .treatment, .treatment.has-media { grid-template-columns: 1fr; }
  .treatment.has-media .t-media { grid-column: 1; }
  .tiles { grid-template-columns: 1fr; }
  .t-icon { width: 72px; height: 72px; }
  .t-icon .icon { width: 44px; height: 44px; }
  .t-cols { grid-template-columns: 1fr; }
  .facts div, .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .cta-row .btn { flex: 1 1 100%; }
  .slot-row { grid-template-columns: 1fr; }
  .bf-submit { justify-self: stretch; }
  .faq details p { padding-right: 0; }
}

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

/* Brand-mark pointer on devices with a mouse. The tip of the arch is the click point; text fields keep the I-beam. */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("/assets/img/cursor.png") 11 1, auto; cursor: -webkit-image-set(url("/assets/img/cursor.png") 1x, url("/assets/img/cursor@2x.png") 2x) 11 1, auto; }
  a, button, label, select, summary, [role="button"], [data-tilt] { cursor: url("/assets/img/cursor-link.png") 11 1, pointer; cursor: -webkit-image-set(url("/assets/img/cursor-link.png") 1x, url("/assets/img/cursor-link@2x.png") 2x) 11 1, pointer; }
  input:not([type="radio"]):not([type="checkbox"]), textarea { cursor: text; }
}
