/* ==========================================================================
   OPALINE DENTAL STUDIO - fictional demo clinic
   Art direction: "sculpted porcelain" - ivory light, deep evergreen,
   muted brass hairlines, editorial serif, glass depth, slow motion.
   Deliberately different from JSmile (white + bright gold, classic
   layout) and from the juderod.com portfolio (dark stage, canvas).
   ========================================================================== */

:root {
  --porcelain: #f6f2ea;
  --paper:     #fcfaf5;
  --white:     #ffffff;
  --pine:      #0f302b;
  --pine-2:    #16443c;
  --pine-deep: #0a221f;
  --ink:       #21302c;
  --mut:       #5d6d67;
  --brass:     #b08d57;
  --brass-ink: #8a6a3e;
  --brass-hi:  #d9bd8b;
  --cream:     #f4efe5;
  --cream-dim: rgba(244, 239, 229, .64);
  --line:      rgba(33, 48, 44, .14);
  --line-soft: rgba(33, 48, 44, .08);
  --line-cream:rgba(244, 239, 229, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease:      cubic-bezier(.22, .68, .22, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 5vw, 52px);
  --r: 20px;
  --shadow-1: 0 1px 2px rgba(15, 48, 43, .05), 0 14px 34px -18px rgba(15, 48, 43, .18);
  --shadow-2: 0 2px 4px rgba(15, 48, 43, .06), 0 30px 60px -28px rgba(15, 48, 43, .30);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--brass-hi); color: var(--pine-deep); }

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 14px; top: -60px; z-index: 200;
  background: var(--pine); color: var(--cream);
  padding: 10px 18px; border-radius: 10px;
  font-size: .85rem; text-decoration: none;
  transition: top 200ms var(--ease);
}
.skip:focus { top: 14px; }

/* -------------------------------------------------------------- type */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -.015em;
  line-height: 1.06;
  color: var(--pine);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(1.9rem, 4.1vw, 3.15rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.42rem); line-height: 1.22; }

.em { font-style: italic; font-weight: 480; color: var(--brass-ink); }

.eyeb {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 22px;
}
.eyeb::before { content: ""; width: 34px; height: 1px; background: var(--brass); }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--mut); max-width: 60ch; }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border: 0; border-radius: 999px;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease);
  will-change: transform;
}
.btn:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(.97); }
.btn--brass {
  background: linear-gradient(135deg, #bd9a63, #a5814b);
  color: #fffdf7;
  box-shadow: 0 14px 30px -14px rgba(138, 106, 62, .55);
}
.btn--brass:hover { box-shadow: 0 20px 40px -16px rgba(138, 106, 62, .7); }
.btn--ghost {
  background: transparent; color: var(--pine);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--brass-ink); }
.btn--cream {
  background: var(--cream); color: var(--pine-deep);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4);
}
.btn--cream:hover { background: #fff; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: var(--pine);
  text-decoration: none; padding-block: 6px;
}
.tlink .arr { transition: transform 300ms var(--ease); }
.tlink:hover .arr { transform: translateX(5px); }
.tlink--cream { color: var(--cream); }

/* --------------------------------------------------------- reveal fx */
html.js-fx .fx {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease-out);
}
html.js-fx .fx.in { opacity: 1; transform: none; }
html.js-fx .fx-d1 { transition-delay: 110ms; }
html.js-fx .fx-d2 { transition-delay: 220ms; }
html.js-fx .fx-d3 { transition-delay: 330ms; }
html.js-fx .fx-d4 { transition-delay: 440ms; }

/* ---------------------------------------------------------- 3d tilt */
[data-tilt] {
  transform: perspective(950px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transform-style: preserve-3d;
  transition: transform 480ms var(--ease-out), box-shadow 480ms var(--ease);
}

/* ------------------------------------------------------------- grain */
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ================================================================ NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: background-color 320ms var(--ease), box-shadow 320ms var(--ease), backdrop-filter 320ms var(--ease);
}
.nav.scrolled {
  background: rgba(246, 242, 234, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none;
}
.logo__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #fffdf6 0%, #efe6d2 38%, #cdb488 72%, #a9895a 100%);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 62, .35), 0 4px 10px -4px rgba(138, 106, 62, .5);
}
.logo__word {
  font-family: var(--serif); font-size: 1.18rem; font-weight: 560;
  letter-spacing: .02em; color: var(--pine);
}
.logo__word span { font-style: italic; color: var(--brass-ink); }
.nav--dark .logo__word, .nav--dark .logo__word span { color: var(--cream); }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a {
  font-size: .84rem; font-weight: 550; letter-spacing: .02em;
  color: var(--ink); text-decoration: none;
  padding-block: 6px; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--brass);
  transition: right 320ms var(--ease);
}
.nav__links a:hover::after, .nav__links a.on::after { right: 0; }
.nav__links a.on { color: var(--brass-ink); }

.nav__book { padding: 11px 22px; font-size: .82rem; }

.burger {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger i {
  width: 22px; height: 2px; background: var(--pine); border-radius: 2px;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
body.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--porcelain);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gutter) 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 380ms var(--ease), visibility 0s 380ms;
}
body.menu-open .mnav { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav a.mnav__link {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.9rem);
  color: var(--pine); text-decoration: none;
  padding-block: 10px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(18px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease-out);
}
body.menu-open .mnav__link { opacity: 1; transform: none; }
body.menu-open .mnav__link:nth-child(1) { transition-delay: 60ms; }
body.menu-open .mnav__link:nth-child(2) { transition-delay: 120ms; }
body.menu-open .mnav__link:nth-child(3) { transition-delay: 180ms; }
body.menu-open .mnav__link:nth-child(4) { transition-delay: 240ms; }
body.menu-open .mnav__link:nth-child(5) { transition-delay: 300ms; }
.mnav__link em { font-size: .9rem; font-style: normal; font-family: var(--sans); color: var(--brass-ink); }
.mnav .btn { margin-top: 30px; align-self: flex-start; }

/* =============================================================== HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% 8%, rgba(217, 189, 139, .22), transparent 60%),
    radial-gradient(900px 700px at -8% 100%, rgba(22, 68, 60, .10), transparent 55%),
    var(--porcelain);
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-ink); margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: var(--brass); }
.hero h1 { margin-bottom: 26px; }
.hero__lede { margin-bottom: 36px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__proof {
  display: flex; align-items: center; gap: 14px;
  font-size: .84rem; color: var(--mut);
}
.hero__stars { color: var(--brass-ink); letter-spacing: 3px; font-size: .8rem; }
.hero__proof b { color: var(--pine); font-weight: 650; }

/* pearl stage */
.stage {
  position: relative;
  /* every child is absolutely positioned, so without an explicit width the
     `margin-left:auto` grid item shrinks to 0 and the orb never renders */
  width: 100%;
  aspect-ratio: 1 / 1.04;
  max-width: 520px;
  margin-left: auto;
}
.orb {
  position: absolute; inset: 12% 10% 18% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 27%, #fffefb 0%, #f6efe1 30%, #e2d2b3 58%, #bfa171 82%, #97794c 100%);
  box-shadow:
    inset -22px -30px 60px rgba(138, 106, 62, .28),
    inset 14px 18px 40px rgba(255, 255, 255, .8),
    0 60px 90px -40px rgba(15, 48, 43, .45);
}
.orb::after {
  content: ""; position: absolute; left: 16%; top: 12%;
  width: 34%; height: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
  transform: rotate(-18deg);
}
.ring {
  position: absolute; inset: 2% 0 8% 2%;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, .5);
  -webkit-mask: linear-gradient(155deg, #000 30%, transparent 72%);
  mask: linear-gradient(155deg, #000 30%, transparent 72%);
  animation: spin 46s linear infinite;
}
.ring--2 {
  inset: 7% 5% 3% -3%;
  border-color: rgba(15, 48, 43, .22);
  -webkit-mask: linear-gradient(-40deg, #000 26%, transparent 66%);
  mask: linear-gradient(-40deg, #000 26%, transparent 66%);
  animation-duration: 64s; animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gcard {
  position: absolute; z-index: 4;
  /* absolutely positioned boxes shrink to fit, which squeezed these into
     tall columns. max-content + nowrap keeps every line on one row, so the
     card reads as a landscape chip. */
  width: max-content;
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  padding: 14px 18px;
  animation: floaty 7s var(--ease) infinite;
}
.gcard b { display: block; font-size: .95rem; color: var(--pine); font-weight: 650; white-space: nowrap; }
.gcard span { display: block; font-size: .72rem; color: var(--mut); letter-spacing: .04em; white-space: nowrap; }
.gcard--rate  { left: -6%; top: 16%; animation-delay: .4s; }
.gcard--hours { right: -4%; top: 44%; animation-delay: 1.6s; }
.gcard--calm  { left: 4%; bottom: 6%; animation-delay: 2.8s; }
.gcard--rate .hero__stars { display: block; margin-bottom: 2px; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.hero__cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; color: var(--mut);
  writing-mode: vertical-rl;
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { 50% { transform: translate(-50%, 8px); } }

/* ============================================================ MARQUEE */
.marq {
  border-block: 1px solid var(--line-soft);
  background: var(--paper);
  overflow: hidden;
  padding-block: 18px;
}
.marq__track {
  display: inline-flex; gap: 0;
  white-space: nowrap;
  animation: marq 44s linear infinite;
}
.marq:hover .marq__track { animation-play-state: paused; }
.marq__track span {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic;
  color: var(--mut);
  padding-inline: 26px;
  position: relative;
}
.marq__track span::after {
  content: ""; position: absolute; right: -3px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); transform: translateY(-50%);
  opacity: .55;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================ SECTIONS */
.sec { padding: clamp(74px, 10vw, 128px) 0; position: relative; }
.sec--paper { background: var(--paper); }
.sec--pine  { background: linear-gradient(180deg, var(--pine), var(--pine-deep)); }
.sec--pine h2, .sec--pine h3 { color: var(--cream); }
.sec--pine .lede { color: var(--cream-dim); }
.sec--pine .eyeb { color: var(--brass-hi); }
.sec--pine .eyeb::before { background: var(--brass-hi); }

.sec__head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.sec__head h2 { margin-bottom: 18px; }
.sec__head--split {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.sec__head--split .lede { max-width: 46ch; }

/* ------------------------------------------------------------ pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--white);
  border-radius: var(--r);
  padding: 34px 30px 38px;
  box-shadow: var(--shadow-1);
}
.pillar:hover { box-shadow: var(--shadow-2); }
.pillar__ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(176, 141, 87, .45);
  color: var(--brass-ink);
  margin-bottom: 22px;
  background: radial-gradient(circle at 30% 25%, #fff, rgba(217,189,139,.25));
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: .93rem; color: var(--mut); }

/* -------------------------------------------------- services editorial */
.menu__list { list-style: none; border-top: 1px solid var(--line); }
.mrow { border-bottom: 1px solid var(--line); }
.mrow a {
  display: grid;
  grid-template-columns: 54px 1fr auto 34px;
  align-items: center; gap: 20px;
  padding: 26px 10px;
  text-decoration: none;
  transition: background-color 300ms var(--ease), padding 300ms var(--ease);
}
.mrow a:hover { background: var(--white); padding-inline: 22px; border-radius: 14px; }
.mrow__n {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  color: var(--brass-ink);
}
.mrow__t {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--pine); font-weight: 520;
}
.mrow__tag { font-size: .78rem; color: var(--mut); }
.mrow__arr {
  color: var(--brass-ink);
  transition: transform 300ms var(--ease);
}
.mrow a:hover .mrow__arr { transform: translateX(6px); }

/* thumbnail: the cursor preview is desktop-only, so touch gets its own
   image instead of a text-only list */
.mrow__thumb { display: none; }

.peek {
  position: fixed; z-index: 60; left: 0; top: 0;
  width: 250px; height: 320px;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0; transform: scale(.9);
  transition: opacity 260ms var(--ease), transform 320ms var(--ease-out);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  display: none;
}
.peek.show { opacity: 1; transform: scale(1); }
.peek::after {
  content: attr(data-label);
  position: absolute; left: 18px; bottom: 16px; right: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: #fffdf6;
  text-shadow: 0 1px 8px rgba(10, 34, 31, .5);
}
.peek { background-size: cover; background-position: center; }
.peek::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,34,31,0) 42%, rgba(10,34,31,.72) 100%);
}
.peek--0 { background: radial-gradient(140% 120% at 20% 10%, #e9dcc2, #b08d57 55%, #6d5432); }
.peek--1 { background: radial-gradient(140% 120% at 80% 12%, #dfe8e2, #16443c 62%, #0a221f); }
.peek--2 { background: radial-gradient(150% 130% at 30% 90%, #f4e7cf, #cbaa74 50%, #16443c 110%); }
.peek--3 { background: radial-gradient(130% 110% at 70% 80%, #e6eeea, #45685f 55%, #0f302b); }
.peek--4 { background: radial-gradient(140% 130% at 20% 80%, #efe3cb, #97794c 58%, #0a221f 120%); }
.peek--5 { background: radial-gradient(150% 120% at 78% 22%, #f7f1e3, #d9bd8b 48%, #16443c 115%); }

/* --------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 10px 26px;
  border-left: 1px solid var(--line-cream);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  color: var(--cream);
  margin-bottom: 4px;
}
.stat b i { font-style: normal; color: var(--brass-hi); }
.stat span { font-size: .8rem; letter-spacing: .06em; color: var(--cream-dim); }

/* ---------------------------------------------------------------- docs */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dcard { text-decoration: none; }
.dart {
  display: block; /* it is a <span>; without this aspect-ratio never applies */
  position: relative;
  aspect-ratio: 4 / 4.7;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 420ms var(--ease);
}
.dcard:hover .dart { box-shadow: var(--shadow-2); }
.dart::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255, 253, 246, .4);
  border-radius: 12px;
}
/* the gradient stays as the loading colour behind the portrait */
.dart img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  z-index: 1;
  transition: transform 760ms var(--ease);
}
.dart::before { z-index: 2; }
.dcard:hover .dart img,
.prof__art:hover .dart img { transform: scale(1.045); }
.dart--1 { background: radial-gradient(130% 115% at 26% 14%, #d3ba8a, #a5814b 58%, #56422a); }
.dart--2 { background: radial-gradient(130% 115% at 70% 16%, #9dbcb0, #16443c 60%, #0a221f); }
.dart--3 { background: radial-gradient(135% 120% at 30% 84%, #e8d9ba, #97794c 55%, #16443c 130%); }
.dart--4 { background: radial-gradient(130% 118% at 72% 82%, #b9cec6, #45685f 52%, #0f302b); }
.dcard h3 { font-size: 1.14rem; margin-bottom: 2px; }
.dcard p { font-size: .82rem; color: var(--mut); }

/* --------------------------------------------------------------- quotes */
.qwrap { overflow: hidden; display: grid; gap: 18px; }
.qrow { display: flex; gap: 18px; width: max-content; animation: marq 58s linear infinite; }
.qrow--rev { animation-direction: reverse; animation-duration: 66s; }
.qwrap:hover .qrow { animation-play-state: paused; }
.qcard {
  width: 350px; flex: none;
  background: var(--white);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-1);
}
.qcard p {
  font-family: var(--serif); font-size: 1.04rem; font-style: italic;
  color: var(--ink); line-height: 1.5;
  margin-bottom: 16px;
}
.qcard footer { display: flex; justify-content: space-between; align-items: center; }
.qcard b { font-size: .84rem; color: var(--pine); }
.qcard span {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brass-ink);
  border: 1px solid rgba(176, 141, 87, .4);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------------------------------------------------------------- visit */
.visit { text-align: center; overflow: hidden; }
.visit h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); margin-bottom: 20px; }
.visit .lede { margin-inline: auto; margin-bottom: 38px; }
.visit__meta {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 42px;
}
.visit__meta span {
  font-size: .78rem; letter-spacing: .05em;
  color: var(--cream-dim);
  border: 1px solid var(--line-cream);
  padding: 9px 18px; border-radius: 999px;
}

/* ---------------------------------------------------------------- foot */
.foot {
  background: var(--pine-deep);
  color: var(--cream-dim);
  padding: 64px 0 30px;
  font-size: .88rem;
}
.foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px; margin-bottom: 46px;
}
.foot h4 {
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-hi); margin-bottom: 16px;
}
.foot a { color: var(--cream-dim); text-decoration: none; transition: color 200ms; }
.foot a:hover { color: var(--cream); }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot__brand p { max-width: 30ch; margin-top: 12px; }
.foot__base {
  border-top: 1px solid var(--line-cream);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .76rem;
}
.foot__base a { color: var(--brass-hi); }

/* ========================================================== INNER HERO */
.phero {
  padding: clamp(150px, 20vw, 200px) 0 clamp(50px, 7vw, 80px);
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(217, 189, 139, .2), transparent 60%),
    var(--porcelain);
}
.phero h1 { margin-bottom: 22px; max-width: 16ch; }
.phero .lede { max-width: 56ch; }

/* ---------------------------------------------------------------- story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); }
.story__side { position: sticky; top: 120px; align-self: start; }
.story__body p { margin-bottom: 22px; color: var(--ink); }
.story__body p.big {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4; color: var(--pine);
}
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.val {
  border-top: 1px solid var(--brass);
  padding-top: 22px;
}
.val b {
  display: block; font-size: .72rem; letter-spacing: .16em;
  color: var(--brass-ink); margin-bottom: 12px;
}
.val h3 { margin-bottom: 10px; }
.val p { font-size: .92rem; color: var(--mut); }

/* ------------------------------------------- interior, full-bleed band */
.space {
  position: relative;
  display: grid;
  min-height: min(76vh, 600px);
  overflow: hidden;
}
.space > picture, .space img { grid-area: 1 / 1; }
.space img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 1900ms var(--ease);
}
html.js-fx .space.in img { transform: none; }
.space__cap {
  grid-area: 1 / 1;
  align-self: end; justify-self: start;
  z-index: 2;
  margin: 0 0 clamp(26px, 5vw, 54px) var(--gutter);
  max-width: min(430px, 82vw);
  padding: clamp(22px, 3vw, 30px) clamp(24px, 3vw, 34px);
  border-radius: 20px;
  background: rgba(252, 250, 245, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-2);
}
.space__cap .eyeb { margin-bottom: 12px; }
.space__cap h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.space__cap p:last-child { font-size: .92rem; color: var(--mut); margin: 0; }

/* --------------------------------------- interior, contained (About) */
.shot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin: 0 0 26px;
}
.shot img { width: 100%; height: auto; display: block; }
.shot::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255, 253, 246, .34);
  border-radius: 13px;
  pointer-events: none;
}
.shot figcaption {
  position: absolute; left: 26px; bottom: 22px;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pine);
  background: rgba(252, 250, 245, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 9px 16px; border-radius: 999px;
}
.rooms {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.rooms li {
  padding: 18px 20px 4px 0;
  font-size: .9rem; color: var(--mut);
  border-left: 1px solid var(--line-soft);
  padding-left: 20px;
}
.rooms li:first-child { border-left: 0; padding-left: 0; }
.rooms b {
  display: block; font-family: var(--serif); font-size: 1.02rem;
  color: var(--pine); font-weight: 540; margin-bottom: 4px;
}

.stds { columns: 2; gap: 40px; list-style: none; max-width: 860px; }
.stds li {
  break-inside: avoid;
  display: flex; gap: 14px; align-items: flex-start;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; color: var(--ink);
}
.stds li::before {
  content: "";
  flex: none; width: 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background:
    linear-gradient(var(--porcelain), var(--porcelain)) padding-box,
    linear-gradient(135deg, var(--brass), var(--brass-hi)) border-box;
  border: 1.5px solid transparent;
  position: relative;
}

/* ======================================================== SERVICES PAGE */
.svcgrid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.rail { position: sticky; top: 110px; display: grid; gap: 4px; }
.rail a {
  font-size: .88rem; font-weight: 550; color: var(--mut);
  text-decoration: none;
  padding: 9px 14px; border-left: 2px solid var(--line-soft);
  transition: color 220ms, border-color 220ms, background-color 220ms;
}
.rail a:hover, .rail a.on {
  color: var(--pine); border-color: var(--brass);
  background: linear-gradient(90deg, rgba(217, 189, 139, .16), transparent);
}
.scat { padding-top: 8px; margin-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 110px; }
.scat:last-child { margin-bottom: 0; }
.scat__head { margin-bottom: 28px; max-width: 60ch; }
.scat__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.scat__head p { color: var(--mut); font-size: .95rem; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scard {
  background: var(--white);
  border-radius: 16px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-1);
}
.scard:hover { box-shadow: var(--shadow-2); }
.scard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.scard p { font-size: .9rem; color: var(--mut); margin-bottom: 16px; }
.scard .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .68rem; font-weight: 600; letter-spacing: .06em;
  color: var(--brass-ink);
  border: 1px solid rgba(176, 141, 87, .35);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(217, 189, 139, .1);
}

.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif); font-size: 1.18rem; color: var(--pine);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans); font-size: 1.3rem; color: var(--brass-ink);
  transition: transform 300ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--mut); max-width: 62ch; }

/* ============================================================ TEAM PAGE */
.prof {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line-soft);
}
.prof:first-of-type { border-top: 0; padding-top: 0; }
.prof:nth-child(even) .prof__art { order: 2; }
.prof__art .dart { margin-bottom: 0; max-width: 400px; }
.prof:nth-child(even) .prof__art .dart { margin-left: auto; }
.prof__bio .eyeb { margin-bottom: 12px; }
.prof__bio h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 6px; }
.prof__role { font-size: .9rem; color: var(--brass-ink); font-weight: 600; margin-bottom: 18px; }
.prof__bio > p { color: var(--mut); margin-bottom: 20px; max-width: 56ch; }
.creds { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---------------------------------------------- single dentist page */
.dphero { padding-bottom: clamp(30px, 4vw, 46px); }
.dphero__grid {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.dphero__art { margin: 0; }
.dphero__art .dart { max-width: 380px; }
.dphero h1 { margin-bottom: 8px; }
.dphero__role {
  font-size: .95rem; font-weight: 600; color: var(--brass-ink);
  margin-bottom: 20px;
}
.dphero .creds { margin-bottom: 22px; }
.dphero .lede { margin-bottom: 30px; }
.dphero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.dnav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.dnav a {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: box-shadow 360ms var(--ease), transform 360ms var(--ease-out);
}
.dnav a:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.dnav a:last-child { flex-direction: row-reverse; text-align: right; }
.dnav__thumb {
  flex: none; width: 62px; height: 62px;
  border-radius: 50%; overflow: hidden; position: relative;
}
.dnav__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.dnav span { display: block; }
.dnav b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--pine); font-weight: 540; }
.dnav em {
  font-style: normal; font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink);
}

@media (max-width: 1020px) {
  .dphero__grid { grid-template-columns: 1fr; }
  .dphero__art .dart { max-width: 320px; }
}
@media (max-width: 760px) {
  .dphero__art .dart { max-width: none; }
  .dphero__cta .btn { width: 100%; }
  .dnav { grid-template-columns: 1fr; }
  .dnav a:last-child { flex-direction: row; text-align: left; }
}

.quoteband { text-align: center; }
.quoteband p {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35;
  color: var(--cream);
  max-width: 26ch; margin-inline: auto;
}
.quoteband footer { margin-top: 22px; font-size: .8rem; letter-spacing: .14em; color: var(--brass-hi); }

/* ========================================================= CONTACT PAGE */
.con { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.form {
  background: var(--white);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-2);
}
.form h2 { font-size: 1.7rem; margin-bottom: 8px; }
.form > p { font-size: .9rem; color: var(--mut); margin-bottom: 28px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--pine); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 220ms, box-shadow 220ms;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .18);
}
.form .btn { width: 100%; margin-top: 8px; }
.form__ok {
  display: none;
  text-align: center; padding: 30px 10px 10px;
}
.form__ok .pillar__ico { margin-inline: auto; margin-bottom: 18px; }
.form__ok h3 { margin-bottom: 10px; }
.form__ok p { font-size: .9rem; color: var(--mut); max-width: 40ch; margin-inline: auto; }
.form.sent form { display: none; }
.form.sent .form__ok { display: block; }

.info { display: grid; gap: 18px; }
.icard {
  background: var(--white); border-radius: 18px;
  padding: 26px 28px;
  box-shadow: var(--shadow-1);
}
.icard h3 { font-size: 1.05rem; margin-bottom: 14px; }
.hourst { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hourst td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); color: var(--mut); }
.hourst td:last-child { text-align: right; color: var(--pine); font-weight: 550; }
.hourst tr:last-child td { border-bottom: 0; }
.icard .btn { width: 100%; margin-top: 6px; }
.icard + .icard .tlink { margin-top: 4px; }

.mapbox {
  position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-1);
  background: #eef0e9;
}
.mapbox svg { width: 100%; height: auto; display: block; }
.map__pin {
  position: absolute; left: 56%; top: 42%;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, .25);
  animation: pinpulse 2.4s var(--ease) infinite;
}
@keyframes pinpulse {
  50% { box-shadow: 0 0 0 14px rgba(176, 141, 87, .08); }
}
.mapbox figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: var(--pine);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 7px 13px; border-radius: 999px;
}

/* ========================================================== RESPONSIVE */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .stage { margin-inline: auto; max-width: 440px; width: 100%; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:last-child { grid-column: span 2; }
  .docs { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .story { grid-template-columns: 1fr; }
  .story__side { position: static; }
  .svcgrid { grid-template-columns: 1fr; }
  .rail {
    position: sticky; top: 76px; z-index: 40;
    grid-auto-flow: column; grid-auto-columns: max-content;
    overflow-x: auto; scrollbar-width: none;
    background: rgba(246, 242, 234, .9);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    padding-block: 10px; gap: 8px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
  .rail a.on { border-color: var(--brass); }
  .con { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .nav__links, .nav__book { display: none; }
  .burger { display: flex; }
  .nav__inner { height: 66px; }
  .hero { padding-top: 104px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta { gap: 16px; }
  .gcard--rate { left: -2%; top: 8%; }
  .gcard--hours { right: -2%; }
  .gcard--calm { bottom: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:last-child { grid-column: auto; }
  .mrow a { grid-template-columns: 62px 1fr 28px; gap: 16px; padding-block: 18px; }
  .mrow__n, .mrow__tag { display: none; }
  .mrow__thumb {
    display: block; position: relative;
    width: 62px; height: 74px;
    border-radius: 11px; overflow: hidden;
    background: radial-gradient(130% 120% at 30% 20%, #dfe8e2, #45685f 60%, #0f302b);
    box-shadow: var(--shadow-1);
  }
  .mrow__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mrow__t { font-size: 1.24rem; }
  .docs { grid-template-columns: 1fr 1fr; gap: 14px; }
  .dcard h3 { font-size: .98rem; }
  .qcard { width: 290px; }
  .sec__head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sgrid { grid-template-columns: 1fr; }
  .vals { grid-template-columns: 1fr; }
  /* overlaying the card on a phone-sized photo buries the room, so the
     card drops below the image and just overlaps its lower edge */
  .space { display: block; min-height: 0; padding-bottom: 4px; }
  .space img { width: 100%; aspect-ratio: 4 / 3; height: auto; }
  .space__cap {
    position: relative; z-index: 2;
    margin: -46px var(--gutter) 0;
    max-width: none;
  }
  .rooms { grid-template-columns: 1fr; }
  .rooms li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 14px; }
  .rooms li:first-child { border-top: 0; }
  .stds { columns: 1; }
  .prof, .prof:nth-child(even) { grid-template-columns: 1fr; gap: 26px; }
  .prof:nth-child(even) .prof__art { order: 0; }
  .prof__art .dart, .prof:nth-child(even) .prof__art .dart { max-width: none; margin: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .foot__base { flex-direction: column; }
}

/* ====================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html.js-fx .fx { opacity: 1; transform: none; transition: none; }
  .ring, .ring--2, .gcard, .hero__cue, .map__pin { animation: none; }
  .marq__track, .qrow { animation: none; flex-wrap: wrap; width: auto; white-space: normal; }
  [data-tilt] { transform: none !important; transition: none; }
  .btn { transform: none !important; }
  * { scroll-behavior: auto; }
}
