/* T-Dental Hub - brand: Dark Teal #105B64, Gold #D2AE6D, Times CG + Gotham */

@font-face { font-family: "Gotham"; src: url("../assets/fonts/GothamMedium.otf") format("opentype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Times CG"; src: url("../assets/fonts/TimesCG.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --teal: #105B64;
  --teal-d: #0a4048;
  --ink: #072f35;
  --gold: #D2AE6D;
  --cream: #FFFBF4;
  --white: #ffffff;
  --text: #0c3d44;
  --muted: #0a4048;
  --muted-l: #FFFBF4;
  --line: rgba(16, 91, 100, .18);
  --line-l: rgba(255, 255, 255, .16);
  --f-body: "Gotham", "Montserrat", system-ui, sans-serif;
  --f-head: "Montserrat", "Gotham", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 64px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--f-body); font-weight: 500; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 52px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 58ch; }
.lead--light { color: var(--muted-l); }
.alpha { background: transparent; }
.on-dark { color: var(--cream); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 6px; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; cursor: pointer; border: 0; transition: background .25s, color .25s; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #dcbb82; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-d); }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: flex-start; padding: 12px 22px; border-radius: 6px; background: var(--teal); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; cursor: pointer; transition: background .25s, color .25s; }
.link:hover, a.card:hover .link { background: var(--teal-d); }
.section--dark .link, .section--teal .link { background: var(--gold); color: var(--ink); }
.section--dark .link:hover, .section--teal .link:hover, .section--dark a.card:hover .link { background: #dcbb82; }
.link i { font-size: 12px; transition: transform .3s var(--ease); }
.link:hover i { transform: translateX(5px); }

/* Header */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: padding .3s, background .3s; }
.nav.is-scrolled { padding: 10px 0; background: var(--teal-d); }
.nav__inner { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.nav__brand img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 30px; margin: 0 auto; align-items: center; }
.nav__links > a, .has-sub > a { color: var(--cream); font-size: 14px; padding: 8px 0; transition: color .25s; display: inline-flex; gap: 8px; align-items: center; }
.nav__links > a:hover, .has-sub > a:hover, .nav__links .is-current { color: var(--gold); }
.has-sub { position: relative; }
.has-sub > a i { font-size: 10px; }
.sub { position: absolute; top: 100%; left: -18px; min-width: 250px; padding: 10px; border-radius: 8px; background: var(--teal-d); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--cream); }
.sub a:hover { background: rgba(255,255,255,.08); }
.nav__cta { padding: 11px 20px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--cream); font-size: 22px; cursor: pointer; margin-left: auto; }

/* Home hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--cream); background: linear-gradient(160deg, #0a4048 0%, #105B64 55%, #0d4a52 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-top: 110px; padding-bottom: 80px; }
.eyebrow { display: flex; flex-wrap: wrap; font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.eyebrow span + span::before { content: "|"; margin: 0 14px; opacity: .6; }
.hero__title { font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -.035em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 40ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted-l); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stage { position: relative; aspect-ratio: var(--ar); width: min(100%, 560px); justify-self: end; }
.flying-tooth { position: absolute; inset: 0; z-index: 5; pointer-events: none; will-change: transform; }
.hero__model { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }

/* Inner page hero */
.phero { background: linear-gradient(160deg, #0a4048 0%, #105B64 100%); color: var(--cream); padding: 170px 0 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted-l); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: "/"; margin-right: 10px; opacity: .5; }
.phero h1 { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -.03em; margin-bottom: 20px; max-width: 18ch; }
.phero .lead { color: var(--muted-l); }
.phero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.phero__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ink); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__icon { justify-self: center; width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; font-size: 84px; color: var(--gold); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-l); }

/* Sections */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--teal { background: var(--teal-d); color: var(--cream); }
.section__head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { margin-bottom: 16px; color: var(--teal); }
.section--dark .section__head h2, .section--teal .section__head h2 { color: var(--cream); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .lead { margin-inline: auto; }
.section--dark .lead, .section--teal .lead { color: var(--muted-l); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 88px); align-items: center; }
.split h2 { color: var(--teal); margin-bottom: 18px; }
.split p + p { margin-top: 16px; }
.split .btn, .split .link { margin-top: 26px; }
.split__media { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 18px; }
.prose h3 { font-size: 24px; color: var(--teal); margin: 34px 0 10px; }

/* Service columns (home + services) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 40px 36px 36px; display: flex; flex-direction: column; background: var(--white); border-radius: 8px; }
.pillar > i { font-size: 30px; color: var(--teal); margin-bottom: 24px; }
.pillar h3 { font-size: 26px; color: var(--teal); margin-bottom: 12px; }
.pillar > p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.pillar ul { display: grid; gap: 10px; margin-bottom: 30px; font-size: 15px; }
.pillar li, .ticks li { padding-left: 18px; position: relative; }
.pillar li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.pillar .link { margin-top: auto; }
.ticks { display: grid; gap: 12px; margin-top: 20px; }

/* Card grid */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: 8px; padding: 32px 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), background .3s; }
a.card:hover { transform: translateY(-4px); }
.section--white .card { background: var(--cream); }
.card > i { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: var(--teal); color: var(--white); font-size: 18px; margin-bottom: 20px; }
.card h3 { font-size: 20px; color: var(--teal); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link { margin-top: 20px; }
.section--dark .card, .section--teal .card { background: rgba(255,255,255,.07); }
.section--dark .card h3, .section--teal .card h3 { color: var(--cream); }
.section--dark .card p, .section--teal .card p { color: var(--muted-l); }
.section--dark .card > i, .section--teal .card > i { background: var(--gold); color: var(--ink); }

/* Photo grid */
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: clamp(460px, 58vw, 700px); }
.bento__item, .shot { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--ink); }
.bento__item--lg { grid-row: span 2; }
.bento__item img, .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img, .shot:hover img { transform: scale(1.04); }
.bento__item::after, .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,37,42,.75) 0%, rgba(4,37,42,0) 45%); }
.bento__item figcaption, .shot figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; color: var(--cream); font-family: var(--f-head); font-weight: 700; font-size: 18px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { aspect-ratio: 4 / 3; cursor: zoom-in; }

/* Pinned scroll sections */
.scrub { position: relative; }
.scrub--dark { background: var(--teal-d); color: var(--cream); }
.scrub__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 50px; overflow: hidden; }
.scrub__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.scrub h2 { margin-bottom: 36px; color: var(--teal); }
.scrub--dark h2 { color: var(--cream); }
.steps { position: relative; min-height: 170px; }
.step { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; max-width: 460px; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step h3 { font-size: 24px; margin-bottom: 10px; color: var(--gold); }
.step p { color: var(--muted-l); }
.progress { margin-top: 34px; height: 2px; width: min(300px, 100%); background: var(--line-l); overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.scrub__stage { display: grid; place-items: center; }
.scrub--dark .scrub__stage { width: 100%; }
.vframe--chair { width: min(100%, 700px); margin-inline: auto; }
.scrub--light .scrub__stage { width: 100%; }
.scrub--light .scrub__stage video { width: 100%; height: auto; }
.readout { margin-top: 30px; display: grid; gap: 4px; }
.readout li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 18px; border-radius: 8px; opacity: .7; transition: opacity .4s, background .4s; }
.readout li.is-active { opacity: 1; background: var(--white); }
.readout i { width: 42px; height: 42px; flex: none; border-radius: 6px; display: grid; place-items: center; background: var(--teal); color: var(--white); font-size: 16px; }
.readout strong { display: block; font-family: var(--f-head); font-size: 17px; color: var(--teal); }
.readout span { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline__line { position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line-l); }
.timeline__line span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.tstep { text-align: center; position: relative; }
.tstep__dot { width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--gold); background: var(--teal-d); box-shadow: 0 0 0 8px var(--ink), 0 0 0 9px var(--line-l); position: relative; z-index: 1; }
.tstep h3 { font-size: 21px; margin-bottom: 10px; }
.tstep p { color: var(--muted-l); font-size: 15px; max-width: 28ch; margin-inline: auto; }

/* Video band */
.regain { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--cream); background: var(--ink); }
.regain__video { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.regain__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,37,42,.9) 0%, rgba(4,37,42,.55) 50%, rgba(4,37,42,.15) 100%); }
.regain__content { position: relative; padding-top: 100px; padding-bottom: 100px; }
.regain h2 { font-size: clamp(46px, 8vw, 120px); line-height: 1; letter-spacing: -.04em; margin-bottom: 26px; }
.regain .lead { margin-bottom: 36px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 8px; padding: 0 28px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--teal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-size: 14px; transition: transform .3s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--teal); color: var(--cream); padding: clamp(56px, 7vw, 90px) 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 44px); max-width: 20ch; }
.cta .lead { color: var(--muted-l); margin-top: 12px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
.contact h2 { color: var(--teal); margin-bottom: 20px; }
.details { margin-top: 34px; display: grid; gap: 20px; }
.details li { display: flex; gap: 16px; align-items: flex-start; }
.details i { width: 44px; height: 44px; flex: none; border-radius: 6px; display: grid; place-items: center; background: var(--teal); color: var(--white); font-size: 17px; }
.details strong { display: block; font-family: var(--f-head); color: var(--teal); }
.details span { color: var(--muted); font-size: 15.5px; }
.mascot { margin-top: 28px; width: min(260px, 60%); }

.form { position: relative; padding: clamp(26px, 4vw, 48px); border-radius: 8px; color: var(--cream); display: grid; gap: 20px; overflow: hidden; background: var(--teal-d); }
.form h3 { font-size: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 12px; font-family: var(--f-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--cream); padding: 14px 15px; border-radius: 6px; border: 0; outline: 0; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color-scheme: dark; transition: box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { color: #04252a; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px var(--gold); }
.field.is-invalid input, .field.is-invalid select { box-shadow: inset 0 0 0 1.5px #ff9d8f; }
.form__success { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 30px; background: var(--teal-d); }
.form__success[hidden] { display: none; }
.form__success i { font-size: 48px; color: var(--gold); }
.form__success p { color: var(--muted-l); max-width: 34ch; }

/* Footer */
.footer { background: #000000; color: var(--cream); padding: 70px 0 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__top img { height: 46px; width: auto; margin-bottom: 18px; }
.footer__top p { color: var(--muted-l); font-size: 15px; max-width: 34ch; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 15px; }
.footer li a { opacity: 1; transition: opacity .25s; }
.footer li a:hover { opacity: 1; }
.footer__bottom { text-align: center; padding-top: 26px; font-size: 13px; color: var(--muted-l); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(4,37,42,.94); padding: 30px; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 8px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__stage { justify-self: center; width: min(80%, 400px); }
  .tooth-anchor { position: relative; right: auto; top: auto; margin: 0 auto 24px; width: 200px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 32px 26px; }
  .scrub__grid, .contact__grid, .split, .phero--split .container { grid-template-columns: 1fr; }
  .scrub__stage { order: -1; }
  .scrub--dark .scrub__stage video { width: min(100%, 440px); }
  .steps { min-height: 200px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .timeline__line { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .bento__item { aspect-ratio: 4 / 3; }
  .bento__item--lg { grid-row: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .phero__icon { display: none; }
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; inset: 0 0 auto 0; max-height: 100vh; overflow-y: auto; padding: 90px var(--pad) 30px; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; background: var(--teal-d); transform: translateY(-100%); transition: transform .45s var(--ease); z-index: -1; }
  .nav__links > a, .has-sub > a { font-size: 20px; font-family: var(--f-head); font-weight: 700; }
  .has-sub > a i { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .sub a { padding: 6px 0; font-size: 16px; }
  .nav.is-open .nav__links { transform: none; }
}
@media (max-width: 700px) {
  .grid--2, .grid--3, .grid--4, .shots, .form__row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.tooth-anchor { position: absolute; right: 2%; top: -40px; width: clamp(220px, 24vw, 340px); aspect-ratio: .92; pointer-events: none; }

/* Uncropped alpha video frames: the wrapper shows the subject, the full frame is never trimmed */
.vframe { position: relative; width: 100%; aspect-ratio: var(--ar); }
.vframe video { position: absolute; max-width: none; width: var(--vw); height: auto; left: var(--vl); top: var(--vt); pointer-events: none; }
.hero__model .vframe { width: 100%; }
.hero__model .vframe video { filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); }
.scrub--dark .vframe video { filter: drop-shadow(0 40px 40px rgba(0,0,0,.35)); }
.scrub__grid--wide { grid-template-columns: 1.4fr .8fr; }
.scrub--light .scrub__copy h2 { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 18px; }
.scrub__pin { overflow: visible; }
.scrub { overflow: hidden; }

/* Select fields: custom chevron with comfortable inset */
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 52px; cursor: pointer; }
.select i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--gold); pointer-events: none; transition: transform .25s var(--ease); }
.select select:focus + i { transform: translateY(-50%) rotate(180deg); }
.field input[type="date"] { padding-right: 16px; min-height: 52px; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .8; margin-right: 2px; padding: 4px; }

.split--text { grid-template-columns: 1fr; max-width: 760px; }
.phero__vis { justify-self: center; width: min(100%, 440px); }

/* Hover effects on all imagery */
.phero__media, .split__media, .bento__item, .shot { isolation: isolate; }
.phero__media img, .split__media img { transition: transform 1.2s var(--ease), filter .6s; }
.phero__media:hover img, .split__media:hover img { transform: scale(1.06); filter: brightness(1.06) saturate(1.08); }
.vframe { transition: transform .7s var(--ease); }
.vframe:hover { transform: scale(1.05) translateY(-8px); }
.nav__brand img, .footer__top img { transition: transform .5s var(--ease); }
.nav__brand:hover img, .footer__top img:hover { transform: scale(1.04); }
.regain__video { transition: filter .8s; }
.regain:hover .regain__video { filter: brightness(1.08) saturate(1.1); }
@media (hover: none) { .vframe:hover { transform: none; } }

/* Drag-to-compare slider (no labels) */
.compare { position: relative; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--ink); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.compare:hover .compare__img { transform: scale(1.04); }
.compare__top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--teal); font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

.section--white .pillar { background: var(--cream); }

/* Remove ring outlines from remaining tiles */
.phero__icon { box-shadow: none; background: rgba(255,255,255,.08); }
.tstep__dot { box-shadow: 0 0 0 8px var(--ink); }
.scrub--light .scrub__stage { box-shadow: none; }

.compare__tag { position: absolute; top: 18px; z-index: 2; padding: 8px 16px; border-radius: 6px; background: var(--teal-d); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; transition: opacity .3s; }
.compare__tag--before { left: 18px; }
.compare__tag--after { right: 18px; background: var(--gold); color: var(--ink); }
.compare.hide-before .compare__tag--before, .compare.hide-after .compare__tag--after { opacity: 0; }

/* Larger comparison showcase */
.showcase { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.showcase__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(32px, 4vw, 56px); }
.showcase__head h2 { color: var(--teal); margin-bottom: 16px; max-width: 18ch; }
.showcase__head .lead { max-width: 62ch; }
.compare--xl { aspect-ratio: 3 / 2; width: 100%; border-radius: 12px; }
.compare--xl .compare__tag { top: 28px; padding: 11px 22px; font-size: 15px; }
.compare--xl .compare__tag--before { left: 28px; }
.compare--xl .compare__tag--after { right: 28px; }
.compare--xl .compare__handle i { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 20px; }


/* Hero gradients (static) */
.hero {
  background:
    radial-gradient(55% 70% at 78% 45%, rgba(38, 140, 152, .55) 0%, rgba(38, 140, 152, 0) 70%),
    radial-gradient(45% 55% at 8% 100%, rgba(210, 174, 109, .20) 0%, rgba(210, 174, 109, 0) 70%),
    linear-gradient(135deg, #062a30 0%, #0d4a52 45%, #105B64 100%);
}
.phero {
  background:
    radial-gradient(50% 90% at 85% 40%, rgba(38, 140, 152, .45) 0%, rgba(38, 140, 152, 0) 70%),
    radial-gradient(40% 70% at 5% 100%, rgba(210, 174, 109, .16) 0%, rgba(210, 174, 109, 0) 70%),
    linear-gradient(135deg, #062a30 0%, #0d4a52 50%, #105B64 100%);
}

.lead { line-height: 1.45; }
.card p, .pillar > p, .step p, .tstep p, .readout span, .faq details p { line-height: 1.45; }
.pillar ul { gap: 8px; }
.pillar li { line-height: 1.4; }

/* Slider: side-by-side, larger */
.split--wide { grid-template-columns: .62fr 1.38fr; gap: clamp(28px, 4vw, 64px); }
.split--wide .compare { width: 100%; }
.compare .compare__tag { font-size: 14px; padding: 10px 20px; }
.compare__handle i { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 18px; }
@media (max-width: 1080px) { .split--wide { grid-template-columns: 1fr; } }

/* Hero tooth reacts to the pointer only while hovered */
.hero__model { pointer-events: auto; cursor: grab; }
.hero__model .vframe:hover { transform: none; }

/* ===== Hover effects on every component ===== */
.card, .pillar, .readout li, .tstep, .details li, .faq details, .phero__icon, .pillar li, .footer li a, .form__row .field { transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .35s, color .3s, opacity .35s; }

.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(7, 47, 53, .35); }
.card > i { transition: transform .45s var(--ease), background .3s, color .3s; }
.card:hover > i { transform: scale(1.12) rotate(-6deg); background: var(--gold); color: var(--ink); }
.card h3 { transition: color .3s; }
.card:hover h3 { color: var(--teal-d); }
.section--dark .card:hover, .section--teal .card:hover { background: rgba(255,255,255,.13); box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); }
.section--dark .card:hover h3, .section--teal .card:hover h3 { color: var(--gold); }

.pillar:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px rgba(7, 47, 53, .4); }
.pillar > i { transition: transform .45s var(--ease), color .3s; }
.pillar:hover > i { transform: scale(1.15) rotate(-6deg); color: var(--gold); }
.pillar li:hover { transform: translateX(6px); color: var(--teal); }

.readout li:hover { opacity: 1; transform: translateX(8px); background: var(--white); }
.readout li i { transition: transform .4s var(--ease), background .3s, color .3s; }
.readout li:hover i { transform: scale(1.1); background: var(--gold); color: var(--ink); }

.tstep:hover { transform: translateY(-6px); }
.tstep__dot { transition: transform .45s var(--ease), background .3s, color .3s; }
.tstep:hover .tstep__dot { transform: scale(1.12); background: var(--gold); color: var(--ink); }
.tstep h3 { transition: color .3s; }
.tstep:hover h3 { color: var(--gold); }

.details li:hover { transform: translateX(8px); }
.details i { transition: transform .4s var(--ease), background .3s, color .3s; }
.details li:hover i { transform: scale(1.1); background: var(--gold); color: var(--ink); }

.faq details:hover { transform: translateX(6px); box-shadow: 0 18px 32px -22px rgba(7, 47, 53, .35); }
.faq summary { transition: color .3s; }
.faq summary:hover { color: var(--teal-d); }
.faq details[open] { box-shadow: 0 18px 32px -22px rgba(7, 47, 53, .35); }

.phero__icon:hover { transform: scale(1.06) rotate(-4deg); background: rgba(255,255,255,.14); }
.phero__icon i { transition: transform .5s var(--ease); }
.phero__icon:hover i { transform: scale(1.1); }

.field input:hover, .field select:hover, .field textarea:hover { background: rgba(255,255,255,.14); }
.select:hover i { color: var(--cream); }

.footer li a:hover { color: var(--gold); transform: translateX(5px); display: inline-block; }
.footer__bottom { transition: color .3s; }
.footer__bottom:hover { color: var(--gold); }

.btn { transition: background .25s, color .25s, transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-3px); }
.btn:active, .link:active { transform: translateY(0) scale(.98); }
.link { transition: background .25s, color .25s, transform .3s var(--ease); }
.link:hover { transform: translateY(-3px); }

.nav__links > a, .has-sub > a { transition: color .25s, transform .3s var(--ease); }
.nav__links > a:hover, .has-sub > a:hover { transform: translateY(-2px); }
.sub a { transition: background .25s, padding-left .3s var(--ease), color .25s; }
.sub a:hover { padding-left: 20px; color: var(--gold); }

.compare__handle i { transition: transform .35s var(--ease); }
.compare:hover .compare__handle i { transform: scale(1.12); }
.compare__tag { transition: opacity .3s, transform .35s var(--ease); }
.compare:hover .compare__tag { transform: translateY(2px); }

.section__head h2, .split h2, .contact h2, .scrub h2 { transition: color .3s; }
.step:hover h3 { color: var(--cream); }
.step { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.crumbs a { transition: color .25s; }
.footer__top img { transition: transform .5s var(--ease); }
@media (hover: none) { .card:hover, .pillar:hover, .tstep:hover, .faq details:hover, .details li:hover, .readout li:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .card:hover, .pillar:hover, .tstep:hover { transform: none; } }

/* Heading row with a button at the top right */
.head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; max-width: none; }
.head-row > div { max-width: 680px; }
.head-row .link { flex: none; margin-top: 6px; }
@media (max-width: 700px) { .head-row { flex-direction: column; } }

/* Tooth landing spot sits beside the heading, left of the button */
.tooth-anchor { right: 250px; top: 0; width: clamp(150px, 14vw, 200px); }
@media (max-width: 1080px) { .tooth-anchor { right: auto; top: auto; } }

.tooth-anchor { display: none !important; }

.credits { display: grid; gap: 16px; }
.credits li a { color: var(--teal); text-decoration: underline; }
.credits li a:hover { color: var(--teal-d); }

/* Contact: text beside the tooth, aligned to the same box */
.contact__book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: center; }
.contact__book .details { margin-bottom: 34px; }
.contact__mascot { display: grid; place-items: center; }
.contact__mascot .vframe { width: min(100%, 400px); }
@media (max-width: 900px) { .contact__book { grid-template-columns: 1fr; } .contact__mascot { order: -1; } .contact__mascot .vframe { width: min(70%, 300px); } }

/* Booking popup with blurred background */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 8px; transform: translateY(24px) scale(.98); transition: transform .45s var(--ease); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.modal.is-open .modal__panel { transform: none; }
.modal__panel .form { margin: 0; border-radius: 8px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .12); color: var(--cream); font-size: 18px; transition: background .25s, transform .3s var(--ease), color .25s; }
.modal__close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* Contact: tooth sits at the far right of the section */
.contact__mascot { place-items: center end; justify-items: end; }
.contact__mascot .vframe { margin-left: auto; width: min(100%, 440px); }
@media (max-width: 900px) { .contact__mascot { justify-items: center; } .contact__mascot .vframe { margin: 0 auto; } }

/* Book page: tooth on the left, holding the text panel on the right */
.contact__book { grid-template-columns: .85fr 1.15fr; gap: 0; align-items: center; }
.contact__mascot { order: -1; position: relative; z-index: 2; justify-items: end; margin-right: -42px; }
.contact__mascot .vframe { margin: 0 0 0 auto; width: min(100%, 440px); }
.contact__book .contact__info { background: var(--white); border-radius: 8px; padding: clamp(36px, 5vw, 72px); padding-left: clamp(64px, 7vw, 104px); box-shadow: 0 40px 70px -40px rgba(7, 47, 53, .35); }
@media (max-width: 900px) {
  .contact__book { grid-template-columns: 1fr; }
  .contact__mascot { margin-right: 0; justify-items: center; }
  .contact__mascot .vframe { margin: 0 auto; width: min(70%, 300px); }
  .contact__book .contact__info { padding: 32px 26px; }
}

/* Centred page header */
.phero--center .container { text-align: center; }
.phero--center h1 { margin-inline: auto; max-width: 22ch; }
.phero--center .lead { margin-inline: auto; }

/* Calmer hovers: no tilting or scaling icons, no lifting service tiles */
.pillar:hover { transform: none; box-shadow: 0 28px 48px -32px rgba(7, 47, 53, .45); }
.pillar > i, .pillar:hover > i { transform: none; transition: color .3s; }
.pillar:hover > i { color: var(--teal-d); }
.pillar li:hover { transform: none; }
.card:hover { transform: none; box-shadow: 0 24px 40px -28px rgba(7, 47, 53, .4); }
.card > i, .card:hover > i { transform: none; transition: background .3s, color .3s; }
.card:hover > i { background: var(--gold); color: var(--ink); }
.readout li:hover i, .details li:hover i { transform: none; }
.phero__icon:hover, .phero__icon:hover i { transform: none; }
.tstep:hover, .tstep:hover .tstep__dot { transform: none; }
.faq details:hover { transform: none; }
a.card:hover { transform: none; }

/* Tile hover: the whole tile changes colour */
.pillar, .card { transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.pillar h3, .pillar > p, .pillar li, .card h3, .card p { transition: color .3s; }
.pillar:hover, .section--white .pillar:hover, .card:hover, .section--white .card:hover { background: var(--teal); box-shadow: none; }
.pillar:hover h3, .pillar:hover > p, .pillar:hover li, .card:hover h3, .card:hover p { color: var(--cream); }
.pillar:hover > i { color: var(--gold); }
.pillar:hover .link, .card:hover .link { background: var(--gold); color: var(--ink); }
.card:hover > i { background: var(--gold); color: var(--ink); }
.section--dark .card:hover, .section--teal .card:hover { background: var(--teal); }
.section--dark .card:hover h3, .section--teal .card:hover h3 { color: var(--cream); }

.vframe--clip { overflow: hidden; }

/* ===== Blog ===== */
.tag { display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--cream); color: var(--teal); font-family: var(--f-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; transition: background .3s, color .3s; }
.section--white .tag { background: var(--white); }
.tag--light { background: rgba(255,255,255,.14); color: var(--cream); }
.post-card .link { margin-top: 24px; }
.post-card:hover .tag { background: var(--gold); color: var(--ink); }
.post { margin-inline: auto; text-align: left; }
.post h3 { text-align: left; }
.post__back { text-align: center; margin-top: 48px; }

/* ===== Blog sidebar, search and categories ===== */
.blog-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.blog-side { position: sticky; top: 104px; align-self: start; }
.blog-side__inner { background: var(--white); border-radius: 8px; padding: 24px; }
.search { position: relative; display: block; margin-bottom: 26px; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 14px; pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 15px; color: var(--text); padding: 14px 16px 14px 42px; border: 0; outline: 0; border-radius: 6px; background: var(--cream); transition: background .25s, box-shadow .25s; }
.search input::placeholder { color: var(--teal); opacity: 1; }
.search input:hover { background: #f6efe1; }
.search input:focus { background: var(--white); box-shadow: inset 0 0 0 2px var(--gold); }
.blog-side h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.cats { display: grid; gap: 4px; }
.cat { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.cat span { font-size: 12px; min-width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 13px; background: var(--cream); color: var(--teal); transition: background .25s, color .25s; }
.cat:hover { background: var(--cream); }
.cat.is-active { background: var(--teal); color: var(--cream); }
.cat.is-active span { background: var(--gold); color: var(--ink); }
.blog-empty { padding: 40px 0; color: var(--teal); font-weight: 700; }
.post-card[hidden] { display: none; }
.post-card__img { margin: -32px -28px 24px; border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); width: calc(100% + 56px); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post__figure { margin: 0 auto 40px; max-width: 900px; border-radius: 8px; overflow: hidden; }
.post__figure img { width: 100%; transition: transform 1s var(--ease); }
.post__figure:hover img { transform: scale(1.04); }
@media (max-width: 1000px) { .blog-layout { grid-template-columns: 1fr; } .blog-side { position: static; } }
@media (max-width: 700px) { .blog-main .grid--2 { grid-template-columns: 1fr; } }
.card .tag { align-self: flex-start; }

/* ===== Regain your smile: video zooms to fit, then overlay and text arrive ===== */
.regain { background: var(--cream); }
.regain__media { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.regain__video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.regain__shade { background: linear-gradient(90deg, rgba(4,37,42,.9) 0%, rgba(4,37,42,.55) 50%, rgba(4,37,42,.2) 100%); }

/* Card hover: the button always stays clearly readable (gold with dark text) */
a.card:hover .link, .card:hover .link, .post-card:hover .link { background: var(--gold); color: var(--ink); }
a.card:hover .link i, .card:hover .link i { color: var(--ink); }

/* ===== Blog cards: featured image + date ===== */
.post-card__img { margin: -32px -28px 22px; width: calc(100% + 56px); aspect-ratio: 4 / 3; border-radius: 8px 8px 0 0; overflow: hidden; background: var(--ink); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; align-self: stretch; }
.post-card__meta .tag { margin-bottom: 0; align-self: auto; }
.post-card__meta time { font-size: 13px; font-weight: 700; color: var(--teal); transition: color .3s; }
.post-card:hover .post-card__meta time { color: var(--cream); }
.post__figure img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ===== Home blog carousel ===== */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .card { flex: 0 0 calc((100% - 48px) / 3); min-width: 280px; scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--teal); color: var(--white); font-size: 16px; transition: background .25s, color .25s; }
.carousel__btn:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 1000px) { .carousel__track > .card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .carousel__track > .card { flex-basis: 86%; } }

/* Regain: normal-flow section (same height as before), video fills it edge to edge, zoom centred */
.regain { background: var(--ink); }
.regain__media { position: absolute; inset: 0; overflow: hidden; clip-path: none; }
.regain__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform-origin: 50% 50%; will-change: transform; }

.maillink { color: var(--teal); text-decoration: underline; }
.maillink:hover { color: var(--teal-d); }
.footer__mail { margin-top: 12px; }
.footer__mail a { color: var(--gold); }
.footer__mail a:hover { text-decoration: underline; }

/* Regain: the whole section is what zooms, so it clips its own content */
.regain { overflow: hidden; will-change: transform; background: var(--ink); }
.regain__video { transform: none !important; }

/* Category tag in the upper-left corner of the card image */
.post-card__img { position: relative; }
.tag--corner { position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0; background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); }
.post-card:hover .tag--corner { background: var(--gold); color: var(--ink); }
.post-card__meta { justify-content: flex-start; }

/* Whole service tile is clickable */
a.pillar { color: inherit; text-decoration: none; cursor: pointer; }

/* Regain: the video starts as a card in the services section, then travels down and grows to fill its section */
.services--home { padding-bottom: calc(42vh + 90px); }
.regain { background: transparent; overflow: visible; position: relative; z-index: 2; }
.regain__media { overflow: hidden; border-radius: 0; will-change: transform; transform-origin: 50% 50%; box-shadow: 0 40px 80px -40px rgba(7, 47, 53, .55); }
.regain__shade, .regain__content { z-index: 1; }
.regain__shade { overflow: hidden; }
@media (max-width: 700px) { .services--home { padding-bottom: calc(30vh + 70px); } }

.post ul { margin: 14px 0 22px; padding: 0; display: grid; gap: 10px; }
.post li { position: relative; padding-left: 22px; }
.post li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.post p { line-height: 1.6; }

/* ===== Home: light header with the colour logo ===== */
.nav--light { background: var(--cream); box-shadow: 0 1px 0 rgba(16, 91, 100, .14); }
.nav--light.is-scrolled { background: var(--cream); }
.nav--light .nav__links > a, .nav--light .has-sub > a { color: var(--teal); }
.nav--light .nav__links > a:hover, .nav--light .has-sub > a:hover, .nav--light .nav__links .is-current { color: #a67c2e; }
.nav--light .nav__toggle { color: var(--teal); }
@media (max-width: 960px) {
  .nav--light .nav__links > a, .nav--light .has-sub > a { color: var(--cream); }
  .nav--light .nav__links > a:hover, .nav--light .has-sub > a:hover { color: var(--gold); }
}

/* ===== Blog post: featured image sits close under the title ===== */
.phero--post { padding-bottom: 44px; }
.section--post { padding-top: 40px; }
.post__figure { margin-bottom: 36px; }

/* ===== New video in split sections ===== */
.split__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover video { transform: scale(1.04); }

/* ===== Smile video: a small card in the services heading that travels down and grows into its section ===== */
.services--home { padding-bottom: clamp(70px, 9vw, 130px); }
.video-anchor { flex: 0 1 240px; aspect-ratio: 16 / 9; align-self: flex-start; margin: 6px 0 0; }
.regain { background: var(--ink); overflow: visible; position: relative; z-index: 2; }
.regain__media { inset: 0; pointer-events: none; }
@media (max-width: 700px) { .video-anchor { flex: none; width: 220px; } }

/* Start spot of the travelling video: a preview card below the service tiles */
.video-anchor { flex: none; width: clamp(260px, 26vw, 380px); aspect-ratio: 16 / 9; margin: 48px auto 0; align-self: auto; }
@media (max-width: 700px) { .video-anchor { width: min(86%, 320px); margin-top: 36px; } }

/* ===== Home header: floating, boxed, rounded glass bar ===== */
.nav--light, .nav--light.is-scrolled { background: transparent; box-shadow: none; padding: 16px 0; }
.nav--light.is-scrolled { padding: 10px 0; }
.nav--light .nav__inner { position: relative; max-width: min(1240px, calc(100% - 32px)); padding: 10px 14px 10px 22px; border-radius: 20px; }
.nav--light .nav__inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 20px; pointer-events: none;
  background: rgba(255, 251, 244, .86); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 24px 50px -24px rgba(4, 37, 42, .55), inset 0 0 0 1px rgba(255, 255, 255, .55); }
.nav--light .nav__brand img { height: 38px; }
.nav--light .sub { left: 0; top: calc(100% + 14px); border-radius: 14px; }
@media (max-width: 960px) {
  .nav--light .nav__inner { padding: 10px 12px 10px 16px; }
  .nav--light .nav__links { top: 0; }
}

/* Home header: the button is fully rounded to match the rounded bar */
.nav--light .nav__cta { border-radius: 999px; padding: 12px 24px; }

/* Blog carousel arrows: previous on the left edge, next on the right edge */
.carousel__nav { justify-content: space-between; }

/* Footer: rounded upper corners */
.footer { border-radius: 32px 32px 0 0; position: relative; z-index: 3; }
@media (max-width: 700px) { .footer { border-radius: 24px 24px 0 0; } }

/* Play / pause button on section videos */
.split__media { position: relative; }
.mediabtn { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(7, 47, 53, .78); color: var(--cream); font-size: 17px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s, color .25s, transform .25s; }
.mediabtn:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.mediabtn i { margin-left: 0; }
.mediabtn .fa-play { margin-left: 3px; }

/* Footer: boxed card, aligned with the content width, rounded on every corner */
.footer { width: min(1240px, calc(100% - 32px)); margin: 56px auto 16px; border-radius: 28px; padding: 56px 0 28px; }
.footer .container { padding: 0 clamp(24px, 4vw, 56px); max-width: none; }
@media (max-width: 700px) { .footer { border-radius: 22px; margin-top: 40px; padding-top: 40px; } }

/* Home header: concentric corners. Bar radius 20px, equal 10px gap around the button, so the button radius is 20 - 10 = 10px */
.nav--light .nav__inner, .nav--light .nav__inner::before { border-radius: 20px; }
.nav--light .nav__inner { padding: 10px 10px 10px 22px; }
.nav--light .nav__cta { border-radius: 10px; }
@media (max-width: 960px) { .nav--light .nav__inner { padding: 10px 10px 10px 16px; } }

/* Footer: boxed but attached to the bottom of the page (not floating) */
.footer { margin: 0 auto; border-radius: 28px 28px 0 0; }
@media (max-width: 700px) { .footer { margin-top: 0; border-radius: 22px 22px 0 0; } }

/* Smile video section: a boxed, rounded card at the content width */
.regain { width: min(1240px, calc(100% - 32px)); margin: 16px auto; min-height: calc(100vh - 32px); border-radius: 28px; }
.regain__shade { border-radius: 28px; overflow: hidden; }
.regain .container { max-width: none; padding-left: clamp(28px, 5vw, 72px); padding-right: clamp(28px, 5vw, 72px); }
@media (max-width: 700px) { .regain, .regain__shade { border-radius: 22px; } }

/* Footer: wider, spanning the page with a small margin on each side */
.footer { width: calc(100% - 32px); max-width: none; }
.footer .container { padding: 0 clamp(28px, 6vw, 96px); }

/* Smile video section: wider, same width as the footer */
.regain { width: calc(100% - 32px); max-width: none; }
.regain .container { padding-left: clamp(28px, 6vw, 96px); padding-right: clamp(28px, 6vw, 96px); }

/* Smile video section: reduced height */
.regain { min-height: 68vh; }
.regain__content { padding-top: 56px; padding-bottom: 56px; }
.regain h2 { font-size: clamp(40px, 6.4vw, 96px); margin-bottom: 20px; }

/* Smile video section: centred text over an even overlay */
.regain { align-items: center; }
.regain__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.regain .lead { margin-left: auto; margin-right: auto; }
.regain__shade { background: rgba(4, 37, 42, .62); }

/* Video section: no dark box behind the card while the video is still arriving */
.regain { background: transparent; }

/* Smile video section: a little taller, and it holds just below the floating header */
.regain { min-height: min(78vh, calc(100vh - 112px)); }

/* Footer content lines up with the content edges of every section above it */
.footer .container { max-width: calc(var(--max) + var(--pad) * 2); padding: 0 var(--pad); margin: 0 auto; }

/* Blog carousel arrows: on the sides of the cards, vertically centred, not below */
.carousel__nav { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; width: 52px; height: 52px;
  box-shadow: 0 12px 28px -10px rgba(7, 47, 53, .55); transition: background .25s, color .25s, transform .25s; }
.carousel__btn[data-dir="-1"] { left: -26px; }
.carousel__btn[data-dir="1"] { right: -26px; }
.carousel__btn:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 1200px) { .carousel__btn[data-dir="-1"] { left: 8px; } .carousel__btn[data-dir="1"] { right: 8px; } }

/* Footer: light-weight text, headings stay bold */
.footer li a, .footer__top p, .footer__bottom, .footer__mail a { font-family: var(--f-head); font-weight: 300; letter-spacing: .01em; }
.footer h4 { font-family: var(--f-head); font-weight: 700; }

/* Footer social icons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--cream); font-size: 16px; transition: background .25s, color .25s, transform .3s var(--ease); }
.social:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }

/* Footer: brand teal background */
.footer { background: var(--teal); }
.footer__mail a { color: #ecd9ae; }
.social { background: rgba(255, 255, 255, .14); }

/* House rule: forms never glow on hover or click. Focus shows as a solid underline only. */
.field input:hover, .field select:hover, .field textarea:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.field input:focus, .field select:focus, .field textarea:focus { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 -2px 0 var(--gold); outline: 0; }
.field.is-invalid input, .field.is-invalid select { box-shadow: inset 0 0 0 1.5px #ff9d8f; }
.search input:hover { background: var(--cream); }
.search input:focus { background: var(--cream); box-shadow: inset 0 -2px 0 var(--gold); }
.select:hover i { color: var(--gold); }

/* ================= Mobile ================= */
/* The 3D clips are wider than their visible subject (transparent edges). Never let that widen the page. */
html, body { overflow-x: clip; max-width: 100%; }
.hero, .scrub, .section { overflow-x: clip; }

/* Mobile menu: Services submenu is collapsed until tapped */
.has-sub > a i { transition: transform .3s var(--ease); }
@media (max-width: 960px) {
  .has-sub > a i { display: inline-block; font-size: 14px; margin-left: 4px; }
  .has-sub.is-open > a i { transform: rotate(180deg); }
  .sub { display: none; }
  .has-sub.is-open .sub { display: block; }
}

@media (max-width: 700px) {
  body { font-size: 15px; line-height: 1.5; }
  h2 { font-size: clamp(24px, 7vw, 30px); }
  .lead { font-size: 15px; }

  /* Home hero: centred, smaller type, buttons on one line */
  .hero__grid { padding-top: 104px; padding-bottom: 48px; gap: 8px; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__title { font-size: clamp(34px, 10.5vw, 42px); margin-bottom: 16px; }
  .hero__title .line { text-align: center; }
  .hero__lead { font-size: 15px; margin: 0 auto 22px; max-width: 30ch; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; flex: 1 1 0; min-width: 0; padding: 13px 10px; font-size: 13px; }
  .hero__stage { width: min(64%, 240px); margin-top: 12px; }

  /* Inner page headers */
  .phero { padding: 112px 0 44px; }
  .phero h1 { font-size: clamp(28px, 8.5vw, 34px); margin-bottom: 12px; }
  .phero--post { padding-bottom: 28px; }

  /* Sections, cards, tiles */
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 26px; }
  .pillar { padding: 26px 22px; }
  .pillar h3 { font-size: 20px; }
  .card { padding: 24px 20px; }
  .card h3 { font-size: 17px; }
  .card p, .pillar > p, .pillar li, .tstep p, .readout span { font-size: 14px; }
  .btn, .link { font-size: 13px; padding: 12px 18px; }
  .btn--lg { padding: 13px 20px; font-size: 14px; }
  .head-row .link { margin-top: 14px; }

  /* Smile video section */
  .regain h2 { font-size: clamp(30px, 9vw, 38px); margin-bottom: 14px; }
  .regain .lead { font-size: 14px; margin-bottom: 22px; }
  .regain__content { padding-top: 36px; padding-bottom: 36px; }

  /* Blog */
  .post-card__img { margin: -24px -20px 18px; width: calc(100% + 40px); }
  .post h3 { font-size: 19px; }
  .post p, .post li { font-size: 15px; }
  .carousel__btn { width: 44px; height: 44px; font-size: 14px; }
  .carousel__btn[data-dir="-1"] { left: 6px; }
  .carousel__btn[data-dir="1"] { right: 6px; }

  /* Contact */
  .contact__book .contact__info { padding: 26px 20px; }
  .form { padding: 22px 18px; }
  .form h3 { font-size: 21px; }

  /* Footer */
  .footer { width: calc(100% - 16px); padding: 36px 0 22px; border-radius: 22px 22px 0 0; }
  .footer .container { padding: 0 22px; }
  .footer__top { gap: 26px; }
  .footer li a, .footer__top p { font-size: 14px; }
}

/* Phones: the smile video is one plain section. No preview card, no travelling, no pinning, so it only appears once. */
@media (max-width: 700px) {
  .video-anchor { display: none; }
  .services--home { padding-bottom: 40px; }
  .regain { min-height: 64vh; margin: 8px auto 16px; }
  .regain__media { border-radius: 22px; }
}

/* Home header on phones: logo and close icon stay visible on the open menu panel */
@media (max-width: 960px) {
  .nav--light.is-open .nav__brand img { filter: brightness(0) invert(1); }
  .nav--light.is-open .nav__toggle { color: var(--cream); }
}

/* ===== Call-to-action band: gold box, with space above the footer ===== */
.cta { width: calc(100% - 32px); margin: 64px auto 56px; border-radius: 28px; background: var(--gold); color: var(--ink); padding: clamp(40px, 6vw, 72px) 0; }
.cta h2, .cta .lead { color: var(--ink); }
@media (max-width: 700px) { .cta { margin: 44px auto 40px; border-radius: 22px; } }

/* ===== Coloured tiles ===== */
.ctiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ctile { border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.ctile > i { font-size: 26px; margin-bottom: 8px; }
.ctile h3 { font-size: 24px; }
.ctile p { font-size: 15.5px; line-height: 1.45; }
.ctile--gold { background: var(--gold); color: var(--ink); }
.ctile--teal { background: var(--teal); color: var(--cream); }
.ctile--teal > i { color: var(--gold); }
.ctile--white { background: var(--white); color: var(--text); }
.ctile--white h3, .ctile--white > i { color: var(--teal); }
@media (max-width: 900px) { .ctiles { grid-template-columns: 1fr; } }

/* ===== Modern treatment rooms: each changing text is a tile with its own colour ===== */
.steps { min-height: 250px; }
.step { inset: 0 auto auto 0; width: 100%; max-width: 500px; padding: 30px 32px; border-radius: 18px; transform: translateY(26px) scale(.97); }
.step.is-active { transform: none; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step:nth-child(1) { background: var(--gold); color: var(--ink); }
.step:nth-child(1) h3, .step:nth-child(1) p { color: var(--ink); }
.step:nth-child(2) { background: var(--cream); color: var(--text); }
.step:nth-child(2) h3 { color: var(--teal); }
.step:nth-child(2) p { color: var(--text); }
.step:nth-child(3) { background: #1d8190; color: #ffffff; }
.step:nth-child(3) h3 { color: #ffe9b8; }
.step:nth-child(3) p { color: #ffffff; }
@media (max-width: 700px) { .steps { min-height: 280px; } .step { padding: 24px 22px; } .step h3 { font-size: 22px; } }

/* ===== Phones: services tiles are smaller and swipe sideways; fewer gaps ===== */
@media (max-width: 700px) {
  .services--home { padding-top: 44px; padding-bottom: 28px; }
  .services .section__head, .head-row { margin-bottom: 16px; }
  .head-row { gap: 10px; }
  .head-row .link { margin-top: 6px; }
  .pillars { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 14px; scrollbar-width: none; margin-bottom: 0; }
  .pillars::-webkit-scrollbar { display: none; }
  .pillar { flex: 0 0 74%; scroll-snap-align: start; padding: 20px 18px; min-height: 0; }
  .pillar > i { font-size: 22px; margin-bottom: 12px; }
  .pillar h3 { font-size: 18px; margin-bottom: 8px; }
  .pillar > p { font-size: 13.5px; margin-bottom: 14px; }
  .pillar ul { gap: 5px; margin-bottom: 14px; font-size: 13px; }
  .pillar .link { padding: 9px 14px; font-size: 12px; }
}

/* ===== Tighter spacing sitewide ===== */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section__head { margin-bottom: clamp(24px, 3.2vw, 44px); }
.section__head h2 { margin-bottom: 12px; }
.hero__grid { padding-top: 100px; padding-bottom: 56px; gap: 16px; }
.hero__title { margin-bottom: 22px; }
.hero__lead { margin-bottom: 28px; }
.phero { padding: 132px 0 52px; }
.phero h1 { margin-bottom: 14px; }
.phero--post { padding-bottom: 36px; }
.section--post { padding-top: 28px; }
.pillars { margin-bottom: clamp(28px, 3.6vw, 48px); }
.pillar { padding: 30px 28px 28px; }
.pillar > i { margin-bottom: 18px; }
.pillar > p { margin-bottom: 16px; }
.pillar ul { margin-bottom: 20px; }
.grid { gap: 18px; }
.ctiles { gap: 16px; }
.card { padding: 26px 24px; }
.split { gap: clamp(24px, 4vw, 56px); }
.split p + p { margin-top: 10px; }
.split .btn, .split .link { margin-top: 18px; }
.prose p + p { margin-top: 12px; }
.prose h3 { margin: 24px 0 8px; }
.post__back { margin-top: 32px; }
.timeline { gap: 20px; }
.tstep__dot { margin-bottom: 16px; }
.faq { gap: 10px; }
.faq summary { padding: 18px 0; }
.cta { margin: 44px auto 40px; padding: clamp(32px, 4.5vw, 54px) 0; }
.footer { padding: 44px 0 22px; }
.footer__top { gap: 28px; padding-bottom: 28px; }
.footer__bottom { padding-top: 18px; }
.contact__grid, .contact__book { gap: clamp(24px, 4vw, 56px); }
.details { margin-top: 22px; gap: 14px; }
.video-anchor { margin-top: 32px; }
.services--home { padding-bottom: clamp(44px, 6vw, 84px); }
.regain__content { padding-top: 64px; padding-bottom: 64px; }
.blog-layout { gap: clamp(20px, 3vw, 40px); }
.readout { margin-top: 22px; }
.carousel__nav { margin-top: 18px; }

/* ===== Phones: blog arrows hidden, smaller blog meta text, tidy swipe row ===== */
@media (max-width: 700px) {
  .carousel__nav { display: none; }
  .post-card__meta { margin-bottom: 8px; }
  .post-card__meta time { font-size: 11px; }
  .tag { font-size: 10px; padding: 4px 9px; letter-spacing: .08em; margin-bottom: 10px; }
  .tag--corner { top: 10px; left: 10px; }
  .post-card h3 { font-size: 16px; }
  .post-card p { font-size: 13px; line-height: 1.4; }
  .post-card .link { margin-top: 14px; }
  .phero--post .lead { font-size: 12px; }
  .phero--post .tag { font-size: 10px; }
  .section { padding: 38px 0; }
  .phero { padding: 108px 0 34px; }
  .pillars { scroll-padding-left: var(--pad); }
  .footer__top { gap: 22px; }
}

/* Back-to-back sections of the same colour share one gap instead of adding two together */
.section:not(.section--white):not(.section--dark):not(.section--teal) + .section:not(.section--white):not(.section--dark):not(.section--teal) { padding-top: 0; }
.section--white + .section--white { padding-top: 0; }

/* ===== Phones: heading-to-button spacing ===== */
@media (max-width: 700px) {
  .head-row { gap: 6px; }
  .head-row > div { margin: 0; }
  .head-row .link { margin-top: 4px; }
  .section__head h2, .split h2, .contact h2, .scrub h2 { margin-bottom: 8px; }
  .section__head .lead { margin-bottom: 0; }
  .split .btn, .split .link { margin-top: 12px; }
  .split p + p { margin-top: 8px; }
  .cta__inner { gap: 14px; }
  .cta h2 { margin-bottom: 0; }
  .cta .lead { margin-top: 6px; }
  .regain h2 { margin-bottom: 10px; }
  .regain .lead { margin-bottom: 16px; }
  .contact__book .details { margin: 14px 0 18px; }
  .hero__lead { margin-bottom: 18px; }
  .hero__title { margin-bottom: 12px; }
  .phero .lead { margin-top: 0; }
}

/* ===== One spacing value for every gap between sections ===== */
:root { --sp: clamp(32px, 4vw, 56px); }
.section { padding: var(--sp) 0; }
.section:not(.section--white):not(.section--dark):not(.section--teal) + .section:not(.section--white):not(.section--dark):not(.section--teal) { padding-top: var(--sp); }
.section--white + .section--white { padding-top: var(--sp); }
.services--home { padding-bottom: var(--sp); }
.pillars { margin-bottom: 0; }
.regain { margin: var(--sp) auto; }
.cta { margin: var(--sp) auto; padding: clamp(32px, 4.5vw, 54px) 0; }
.section--post { padding-top: 28px; }
/* The smile video's preview card sits in the middle of the gap above its section and takes no space of its own */
.video-anchor { position: absolute; left: 50%; bottom: -42px; transform: translateX(-50%); width: 150px; aspect-ratio: 16 / 9; margin: 0; }
@media (max-width: 700px) {
  :root { --sp: 22px; }
  .section { padding: var(--sp) 0; }
  .services--home { padding-bottom: var(--sp); }
  .regain { margin: var(--sp) auto; }
  .cta { margin: var(--sp) auto; }
}


/* ===== Footer text (not headings) is pure white ===== */
.footer li a, .footer__top p, .footer__bottom, .footer__mail a { color: #ffffff; opacity: 1; }
.footer li a:hover, .footer__mail a:hover { color: #ffffff; }

/* ===== Chair frame keeps its sizing on narrow screens (an older rule shrank the video inside its frame) ===== */
.scrub--dark .scrub__stage .vframe video { width: var(--vw); height: auto; }
.scrub--dark .vframe--chair { width: min(100%, 520px); margin-inline: auto; }

/* ===== Phones: Modern treatment rooms is a plain stacked layout (chair, then three coloured tiles). No pinning. ===== */
@media (max-width: 700px) {
  .scrub__pin { min-height: 0; display: block; padding: var(--sp) 0; overflow: visible; }
  .scrub__grid { gap: 14px; }
  .scrub__stage { order: -1; }
  .scrub--dark .vframe--chair { width: min(92%, 360px); }
  .scrub h2 { font-size: clamp(24px, 7vw, 28px); margin-bottom: 14px; text-align: center; }
  .steps { min-height: 0; display: grid; gap: 10px; }
  .step { position: static; opacity: 1; transform: none; pointer-events: auto; max-width: none; width: 100%; padding: 18px 20px; border-radius: 14px; }
  .step h3 { font-size: 18px; margin-bottom: 6px; }
  .step p { font-size: 14px; line-height: 1.4; }
  .progress { display: none; }
}

/* Blog carousel: arrows sit in their own side gutters and never touch the cards */
@media (min-width: 701px) {
  .carousel { padding: 0 72px; }
  .carousel__btn[data-dir="-1"] { left: 0; }
  .carousel__btn[data-dir="1"] { right: 0; }
}
@media (max-width: 700px) { .carousel { padding: 0; } }

/* Article page: previous / next post buttons */
.post__nav { max-width: 70ch; margin: 36px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.post__nav .btn { flex: 0 1 auto; }


/* ===== Lighter description text sitewide: regular weight for body copy, headings and buttons stay bold ===== */
:root { --f-body: "Montserrat", "Gotham", system-ui, sans-serif; }
body { font-family: var(--f-body); font-weight: 400; }
.nav__links > a, .has-sub > a, .sub a { font-weight: 500; }
.lead, .hero__lead, p, li, .details span, .readout span, .step p, .card p, .pillar > p, .tstep p, .ctile p, .post p, .post li, .faq details p { font-weight: 400; }
.field input, .field select, .field textarea { font-weight: 400; }

/* Blog carousel: cards use the full content width (same left and right edges as the rest of the page).
   The arrows sit outside that box, centred in the page margins. */
.carousel { padding: 0; }
.carousel__btn { width: 44px; height: 44px; font-size: 14px; }
.carousel__btn[data-dir="-1"] { left: calc(var(--pad) / -2 - 22px); right: auto; }
.carousel__btn[data-dir="1"] { right: calc(var(--pad) / -2 - 22px); left: auto; }
@media (max-width: 900px) { .carousel__nav { display: none; } }


/* ===== Hero heading sits on two lines ===== */
.hero__title { font-size: clamp(32px, 5vw, 76px); line-height: 1.04; }
.hero__lead { max-width: 52ch; }
@media (max-width: 700px) { .hero__title { font-size: clamp(30px, 9.4vw, 38px); } .hero__lead { max-width: 34ch; } }

/* ===== Every description uses the same size ===== */
:root { --desc: 16px; }
.lead, .hero__lead, .section__head .lead, .phero .lead, .regain .lead, .cta .lead, .contact .lead,
.card p, .pillar > p, .pillar li, .step p, .tstep p, .ctile p, .readout span, .details span,
.faq details p, .split p, .post p, .post li, .post-card p, .footer__top p {
  font-size: var(--desc); line-height: 1.5;
}
.phero--post .lead { font-size: var(--desc); }
@media (max-width: 700px) {
  :root { --desc: 14px; }
  .lead, .hero__lead, .section__head .lead, .phero .lead, .regain .lead, .cta .lead, .contact .lead,
  .card p, .pillar > p, .pillar li, .step p, .tstep p, .ctile p, .readout span, .details span,
  .faq details p, .split p, .post p, .post li, .post-card p, .footer__top p { font-size: var(--desc); }
  .phero--post .lead { font-size: 12px; }
}

/* ===== Booking form fields: no hover, focus or active effects ===== */
.field input, .field select, .field textarea,
.field input:hover, .field select:hover, .field textarea:hover,
.field input:focus, .field select:focus, .field textarea:focus,
.field input:active, .field select:active, .field textarea:active {
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); outline: 0; transition: none;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: inset 0 0 0 1.5px #ff9d8f; }
.form__row .field, .form .field { transform: none; transition: none; }
.select:hover i, .select select:focus + i, .select select:active + i { color: var(--gold); transform: translateY(-50%); }

/* Footer address */
.footer__addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; line-height: 1.6; }
.footer__addr i { color: var(--gold); margin-top: 5px; flex: none; }

/* Book page: the tooth's flat edge sits exactly on the card's edge (no gap) and its hand overlaps the card */
.contact__book { column-gap: 0; }
@media (min-width: 901px) {
  .contact__mascot { margin-right: 0; }
  .contact__mascot .vframe { margin-right: calc(-1 * min(42px, 9.55%)); }
}

/* Footer phone numbers */
.footer__phone { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; line-height: 1.6; }
.footer__phone i { color: var(--gold); margin-top: 5px; flex: none; }
.footer__phone a:hover { text-decoration: underline; }

/* Floating WhatsApp button (below the menu, lightbox and booking modal) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 31px; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .25s, box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -8px rgba(0, 0, 0, .55); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 29px; } }
@media print { .wa-float { display: none; } }

/* Footer email (icon like the address and phone lines) */
.footer__mail { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; line-height: 1.6; }
.footer__mail i { color: var(--gold); margin-top: 5px; flex: none; }
