:root {
  --ink: #143531;
  --green: #0d5b52;
  --green-deep: #103d39;
  --mint: #c8e0d8;
  --cream: #f4f1e9;
  --paper: #fbfaf6;
  --orange: #e58b57;
  --line: rgba(20, 53, 49, 0.15);
  --shadow: 0 28px 80px rgba(13, 70, 63, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -70px;
  padding: 12px 18px;
  color: white;
  background: var(--green-deep);
  border-radius: 999px;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 18px 0;
  transition: padding .25s ease;
}

.site-header::before {
  position: absolute;
  inset: 8px -20px;
  z-index: -1;
  content: "";
  opacity: 0;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(244, 241, 233, .84);
  box-shadow: 0 12px 36px rgba(22, 52, 48, .08);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  transition: opacity .25s ease;
}

.site-header.is-scrolled { padding: 12px 0; }
.site-header.is-scrolled::before { opacity: 1; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { display: block; width: auto; height: 68px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: .96rem; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: #58706d; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 22px; font-size: .84rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; content: ""; background: var(--green); transition: right .2s; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 19px; color: white; background: var(--green); border-radius: 999px; }
.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  min-height: calc(100vh - 78px);
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: 54px 0 86px;
}

.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--green); font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(4rem, 6.5vw, 7.25rem); line-height: .91; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-lead { max-width: 630px; margin-bottom: 34px; color: #4d6662; font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 750; transition: transform .2s, background .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 1.15em; }
.button-primary { color: white; background: var(--green); box-shadow: 0 14px 30px rgba(13,91,82,.18); }
.button-primary:hover { background: var(--green-deep); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.35); }
.button-secondary:hover { border-color: var(--green); }

.proof-row { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; max-width: 680px; margin-top: 58px; padding-top: 23px; border-top: 1px solid var(--line); }
.proof-row div { display: flex; flex-direction: column; gap: 4px; }
.proof-row strong { font-family: Georgia, serif; font-size: 1.24rem; font-weight: 400; }
.proof-row span { color: #71817e; font-size: .72rem; }

.hero-visual { position: relative; min-height: 610px; overflow: hidden; border-radius: 48% 48% 28px 28px; background: var(--mint); box-shadow: var(--shadow); isolation: isolate; }
.hero-visual::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, rgba(16,61,57,.02) 35%, rgba(16,61,57,.7) 100%); }
.hero-visual::after { display: none; }
.hero-studio-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.doctor-card { position: absolute; left: 6%; bottom: 7%; display: flex; flex-direction: column; min-width: 235px; padding: 24px; color: white; background: rgba(16,61,57,.94); box-shadow: 0 18px 45px rgba(16, 61, 57, .23); border-radius: 20px; }
.doctor-card .card-kicker { margin-bottom: 22px; color: #bcd6d0; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.doctor-card strong { margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.62rem; font-weight: 400; line-height: 1.05; }
.doctor-card > span:last-child { color: #cde0dc; font-size: .78rem; }
.care-note { position: absolute; right: 5%; bottom: 10%; padding: 16px 18px; color: var(--green-deep); background: rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 12px 35px rgba(16,61,57,.15); font-size: .75rem; font-weight: 700; line-height: 1.45; }
.care-note span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-bottom: 8px; color: white; background: var(--green); border-radius: 50%; }

.care-section { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 72px; align-items: end; margin-bottom: 54px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 5.5vw, 5.8rem); line-height: .95; }
.section-heading > p:last-child { max-width: 510px; margin-bottom: 8px; color: #5e716e; font-size: 1.05rem; line-height: 1.7; }

.care-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.care-card { position: relative; min-height: 260px; overflow: hidden; padding: 31px; border: 1px solid rgba(20, 53, 49, .11); background: rgba(251,250,246,.72); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.care-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20,53,49,.08); }
.care-card-featured { grid-row: span 2; display: grid; grid-template-columns: 1.04fr .96fr; min-height: 536px; padding: 0; color: white; background: var(--green-deep); }
.featured-copy { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 34px; }
.featured-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.featured-brand { display: grid; place-items: center; width: 158px; height: 82px; padding: 8px 13px; overflow: hidden; background: var(--paper); border-radius: 16px; }
.featured-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-number { align-self: flex-end; color: #accac3; font-family: Georgia, serif; font-size: 1rem; }
.card-label { margin-bottom: 13px; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.care-card h3 { max-width: 440px; margin-bottom: 14px; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.5vw, 2.6rem); font-weight: 400; line-height: 1.05; }
.care-card p:last-of-type { max-width: 470px; margin-bottom: 0; color: #61736f; line-height: 1.6; }
.care-card-featured p:last-of-type { color: #c6d9d4; }
.featured-portrait-frame { min-width: 0; height: 100%; margin: 0; overflow: hidden; background: #e7eeeb; }
.doctor-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.card-icon { display: block; margin-bottom: 52px; color: var(--green); font-size: 1.8rem; }
.technology-line { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 17px; padding: 23px 28px; border: 1px solid var(--line); border-radius: 18px; }
.technology-line span { flex: 0 0 auto; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.technology-line p { margin: 0; color: #60726f; font-size: .88rem; }

.studio-section { width: min(100% - 48px, 1240px); margin: 0 auto; padding: 10px 0 120px; }
.studio-heading { display: grid; grid-template-columns: 1fr .82fr; align-items: end; gap: 72px; margin-bottom: 46px; }
.studio-heading h2 { margin: 0; }
.studio-heading > p { max-width: 520px; margin: 0 0 8px; color: #5e716e; font-size: 1.05rem; line-height: 1.7; }
.studio-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 235px; gap: 14px; }
.studio-photo { position: relative; grid-column: span 5; min-width: 0; height: 100%; margin: 0; overflow: hidden; background: #dce7e2; border-radius: 24px; box-shadow: 0 16px 45px rgba(20,53,49,.08); }
.studio-photo-large { grid-column: span 7; grid-row: span 2; }
.studio-photo:nth-child(4), .studio-photo:nth-child(5) { grid-column: span 6; }
.studio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.studio-photo-large img { object-position: 50% 50%; }
.studio-photo:nth-child(2) img { object-position: 54% 55%; }
.studio-photo:nth-child(3) img { object-position: 52% 60%; }
.studio-photo:nth-child(4) img { object-position: 50% 58%; }
.studio-photo:nth-child(5) img { object-position: 50% 45%; }
.studio-photo::after { position: absolute; inset: 45% 0 0; content: ""; pointer-events: none; background: linear-gradient(0deg, rgba(10,43,40,.76), transparent); }
.studio-photo:hover img { transform: scale(1.025); }
.studio-photo figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 19px; color: white; font-family: Georgia, serif; font-size: 1.12rem; }

.safety-band { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 26px; margin: 16px 0 86px; padding: 28px 32px; color: white; background: var(--green-deep); border-radius: 24px; box-shadow: var(--shadow); }
.dae-mark { display: grid; place-items: center; width: 82px; height: 82px; color: var(--green-deep); background: var(--orange); border: 7px solid rgba(255,255,255,.2); border-radius: 50%; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; }
.safety-band .card-label { margin-bottom: 5px; color: #f4b38d; }
.safety-band h3 { margin: 0 0 5px; font-family: Georgia, serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; }
.safety-band p:last-child { margin: 0; color: #c6d9d4; line-height: 1.55; }

.clinical-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.clinical-heading .eyebrow { margin-bottom: 0; }
.clinical-heading h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.035em; }
.clinical-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.clinical-card { overflow: hidden; margin: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 26px; box-shadow: 0 18px 46px rgba(20,53,49,.08); }
.clinical-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.clinical-card figcaption { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; align-items: start; padding: 23px 25px 25px; }
.clinical-card strong { color: var(--green-deep); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.clinical-card span { grid-column: 1; color: #60726f; font-size: .92rem; line-height: 1.55; }
.clinical-card small { grid-column: 2; grid-row: 1 / span 2; padding: 6px 9px; color: #627773; background: #edf3f0; border-radius: 999px; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }

.contact-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; width: min(100% - 32px, 1360px); margin: 0 auto 18px; padding: 90px max(32px, 6vw); color: white; background: var(--green-deep); border-radius: 34px; }
.eyebrow.light { color: #b9d4cd; }
.contact-main h2 { max-width: 650px; margin-bottom: 25px; }
.contact-main > p:not(.eyebrow) { max-width: 570px; color: #c6d7d3; font-size: 1.05rem; line-height: 1.65; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.button-light { color: var(--green-deep); background: var(--cream); }
.button-light:hover { background: white; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.5); font-family: Georgia, serif; font-size: 1.22rem; }
.contact-card { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: 36px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.055); border-radius: 24px; }
.contact-card div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.contact-card div > span { margin-bottom: 9px; color: #9ebdb6; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-card address { font-style: normal; line-height: 1.55; }
.contact-card a { color: #f5c6a9; font-size: .9rem; }
.contact-card .microcopy { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9db4ae; font-size: .69rem; line-height: 1.55; }

footer { display: flex; align-items: center; justify-content: space-between; width: min(100% - 48px, 1240px); margin: 0 auto; padding: 31px 0 88px; color: #62726f; font-size: .74rem; }
footer > p { margin: 0; }
footer > div { display: flex; gap: 20px; }
.brand-footer .brand-logo { height: 58px; }
.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header, .hero, .care-section, .studio-section, footer { width: min(100% - 32px, 760px); }
  .nav-toggle { display: grid; gap: 5px; padding: 12px; border: 0; background: transparent; }
  .nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
  .main-nav { position: fixed; top: 74px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 25px; background: var(--paper); box-shadow: var(--shadow); border-radius: 20px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 9px; }
  .main-nav .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { min-height: 520px; margin-top: 62px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin-top: 25px; }
  .studio-heading { grid-template-columns: 1fr; gap: 24px; }
  .studio-gallery { grid-auto-rows: 220px; }
  .studio-photo, .studio-photo:nth-child(4), .studio-photo:nth-child(5) { grid-column: span 6; }
  .studio-photo-large { grid-column: span 12; grid-row: span 2; }
  .contact-section { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 650px) {
  .site-header { width: calc(100% - 32px); }
  .site-header::before { inset-inline: -8px; }
  .brand strong { font-size: .85rem; }
  .brand small { font-size: .61rem; }
  .brand-logo { height: 54px; }
  .hero { min-height: auto; padding-top: 46px; padding-bottom: 72px; }
  h1 { font-size: clamp(3.3rem, 16vw, 4.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .proof-row { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
  .hero-visual { min-height: 420px; border-radius: 180px 180px 24px 24px; }
  .hero-tooth { width: 78%; }
  .doctor-card { left: 5%; bottom: 5%; min-width: 205px; padding: 19px; }
  .doctor-card strong { font-size: 1.35rem; }
  .care-note { right: 3%; bottom: 8%; padding: 12px; font-size: .64rem; }
  .care-section { padding: 84px 0; }
  h2 { font-size: clamp(2.9rem, 13vw, 4.3rem); }
  .care-grid { grid-template-columns: 1fr; }
  .care-card-featured { grid-row: auto; grid-template-columns: 1fr; min-height: auto; }
  .featured-portrait-frame { order: -1; height: 390px; }
  .doctor-portrait { object-position: 50% 16%; }
  .featured-copy { min-height: 390px; padding: 27px 24px 30px; }
  .featured-brand { width: 138px; height: 72px; }
  .care-card { min-height: 230px; }
  .card-icon { margin-bottom: 38px; }
  .technology-line { align-items: flex-start; flex-direction: column; gap: 10px; }
  .studio-section { padding-bottom: 86px; }
  .studio-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .studio-photo, .studio-photo:nth-child(4), .studio-photo:nth-child(5), .studio-photo-large { grid-column: auto; grid-row: auto; }
  .studio-photo-large { min-height: 370px; }
  .safety-band { grid-template-columns: 1fr; gap: 20px; margin-bottom: 72px; padding: 26px; }
  .dae-mark { width: 70px; height: 70px; }
  .clinical-heading { align-items: flex-start; flex-direction: column; }
  .clinical-gallery { grid-template-columns: 1fr; }
  .clinical-card figcaption { grid-template-columns: 1fr; }
  .clinical-card small { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 7px; }
  .contact-section { width: calc(100% - 16px); padding: 68px 24px; border-radius: 27px; }
  .contact-card { padding: 26px; }
  footer { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 105px; }
  .mobile-cta { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; color: white; background: var(--green); box-shadow: 0 14px 40px rgba(13,63,57,.27); border-radius: 999px; font-size: .86rem; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.photo-note { color: #657579; font-size: .78rem; line-height: 1.6; margin: 1rem 0 2rem; }
