:root {
  --bg: #000;
  --bg-elev: #0a0a0a;
  --bg-soft: #111;
  --line: #1c1c1c;
  --text: #f5f5f7;
  --text-dim: #a0a0a8;
  --text-mute: #6e6e76;
  --accent: #c9a370;
  --accent-warm: #d9b07a;
  --max: 1280px;
  --pad-x: clamp(20px, 6vw, 96px);
  --t: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: background var(--t), backdrop-filter var(--t), padding var(--t);
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: 48px;
}
.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nav__logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: transform 0.18s ease, background 0.2s ease;
}
.nav__cta:hover { transform: translateY(-1px); background: var(--accent); color: var(--bg); }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 16px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 110px 0 0;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__media {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 860px) {
  .hero__media { max-width: 360px; }
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s var(--t) forwards;
}
.hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1.1s 0.35s var(--t) forwards;
}
.hero__lede {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1.1s 0.55s var(--t) forwards;
}
.hero__scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--t) forwards;
}
.hero__scroll-cue span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-dim));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
  opacity: 0;
  animation: fadeUp 1.1s 0.75s var(--t) forwards;
}
.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

/* ============ SHARED SECTION ============ */
.section__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

/* ============ PHILOSOPHY ============ */
.philosophy {
  padding: 0 0 clamp(120px, 18vh, 220px);
  background: var(--bg);
}
.philosophy__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}
.philosophy__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 96px;
  text-align: center;
}
.philosophy__split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.philosophy__image img {
  width: 100%;
  border-radius: 6px;
  filter: contrast(1.05) saturate(0.95);
}
.philosophy__body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 480px;
  color: var(--text);
}
.philosophy__body p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.55;
}
.philosophy__body p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .philosophy__split { grid-template-columns: 1fr; }
}

/* ============ ABOUT ============ */
.about {
  padding: clamp(120px, 18vh, 220px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__image {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}
.about__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  margin-top: 16px;
}
.about__role {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.about__story p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 520px;
}
.about__story p:last-child { margin-bottom: 0; }
.about__credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.credential__num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.credential__label {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
@media (max-width: 760px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__image { aspect-ratio: 1 / 1; }
}

/* ============ SERVICES (sticky-tabbed) ============ */
.services {
  background: var(--bg);
  position: relative;
}
.services__sticky {
  padding: clamp(120px, 18vh, 220px) 0;
  border-top: 1px solid var(--line);
}
.services__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 64px;
  text-align: center;
}
.services .section__eyebrow {
  text-align: center;
}
.services__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.services__tab {
  padding: 16px 0;
  margin-right: 40px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mute);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.services__tab:hover { color: var(--text-dim); }
.services__tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.services__panels {
  position: relative;
  min-height: 480px;
}
.services__panel {
  display: none;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  animation: panelFade 0.6s var(--t);
}
.services__panel.is-active { display: grid; }
.services__panel-img img {
  width: 100%;
  border-radius: 6px;
  filter: contrast(1.05);
}
.services__panel-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 480px;
}
.services__panel-body > p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}
.services__bullets li {
  font-size: 15px;
  color: var(--text);
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.services__bullets li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) {
  .services__panel { grid-template-columns: 1fr; }
}

/* ============ PROCESS ============ */
.process {
  background: var(--bg);
  padding: clamp(120px, 18vh, 220px) 0 clamp(120px, 18vh, 220px);
  border-top: 1px solid var(--line);
}
.process > .container {
  text-align: center;
}
.process__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 64px;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 36px);
  text-align: left;
}
.process__step {
  display: flex;
  flex-direction: column;
}
.process__step-img {
  margin-bottom: 28px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
}
.process__step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.process__step-num {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.process__step-text h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.process__step-text p {
  font-size: clamp(14px, 1vw, 15.5px);
  color: var(--text-dim);
  line-height: 1.55;
}
@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* ============ GALLERY ============ */
.gallery {
  padding: clamp(120px, 18vh, 220px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.gallery__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 64px;
  text-align: center;
}
.gallery .section__eyebrow {
  text-align: center;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.gallery__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--t), filter 0.4s ease;
}
.gallery__item:hover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 14px; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ FOR DENTISTS ============ */
.dentists {
  padding: clamp(120px, 18vh, 200px) 0;
  background: linear-gradient(to bottom, var(--bg), #06080a);
  border-top: 1px solid var(--line);
}
.dentists__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.dentists__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.dentists__lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-dim);
  max-width: 460px;
  line-height: 1.6;
}
.dentists__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.stat {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 40px;
}
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat__num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  min-width: 140px;
}
.stat__label {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .dentists__inner { grid-template-columns: 1fr; }
}

/* ============ CTA ============ */
.cta {
  padding: clamp(140px, 22vh, 240px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.cta__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.6;
}
.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn { opacity: 1; animation: none; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: 64px;
}
.footer__logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.footer__tag {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 12px;
  letter-spacing: 0.05em;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__col li {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-mute);
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--t), transform 0.35s var(--t);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ ABOUT PAGE ============ */
.page-hero {
  padding: clamp(160px, 24vh, 240px) 0 clamp(40px, 6vh, 80px);
  background: var(--bg);
  text-align: center;
}
.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.page-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 auto 24px;
  max-width: 14ch;
}
.page-hero__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

.about-page {
  padding: clamp(60px, 10vh, 120px) 0 clamp(80px, 14vh, 160px);
  background: var(--bg);
}
.about-page__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-page__image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.about-page__image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 6px;
}
.about-page__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 16px 0 10px;
}
.about-page__role {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.about-page__story p {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 540px;
}
.about-page__story p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .about-page__inner { grid-template-columns: 1fr; }
}

.quote-block {
  padding: clamp(80px, 14vh, 160px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.quote-block__inner {
  max-width: 900px;
  margin: 0 auto;
}
.quote-block__mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(80px, 10vw, 140px);
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: -40px;
}
.quote-block__text {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  font-style: normal;
}
.quote-block__cite {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-style: normal;
  text-transform: uppercase;
}

.credentials-grid {
  padding: clamp(80px, 14vh, 160px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.credentials-grid__head {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 64px;
}
.credentials-grid__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 40px);
  text-align: left;
}
.credential-card {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.credential-card__num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--text);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.credential-card__label {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}
@media (max-width: 760px) {
  .credentials-grid__inner { grid-template-columns: repeat(2, 1fr); }
}
