/* Vienna Family Dental: brand kit → surfaces → treatments */

/* ---------- 1. Kit: tokens ---------- */
:root {
  /* brand blue ramp, from the logo gradient */
  --blue-50: #F1F5FA;
  --blue-100: #DCE7F3;
  --blue-300: #8FB4DA;
  --blue-500: #2F6DAE;
  --blue-800: #163A62;
  --blue-950: #0B1D33;
  /* warm neutrals, from the logo's off-white and the brown-black of "DENTAL" */
  --paper: #FBFAF5;
  --paper-2: #F4F1EA;
  --line: #DDD6CC;
  --muted: #4F4642;
  --ink: #2A2220;
  /* secondary: stone, the backdrop of the team portraits */
  --stone-100: #ECE6E1;
  --stone-300: #D3C8C1;
  --stone-700: #6E605B;
  /* accent: the primary action only */
  --brass: #D9A548;
  --brass-hi: #E8BC66;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --fs-hero: clamp(2.75rem, 1.4rem + 4.6vw, 5.6rem);
  --fs-h2: clamp(2.2rem, 1.5rem + 2.3vw, 3.4rem);
  --fs-h3: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  --fs-body: 1.125rem;
  --fs-small: 0.95rem;
  --fs-label: 0.78rem;

  --r1: 4px;
  --r2: 10px;
  --r3: 20px;

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4.5rem; --s7: 7rem;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* the motif: the tapered rule from under "DENTAL" (thick end toward the word) */
  --rule-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 100 .4V5.6Z' fill='%232F6DAE'/%3E%3C/svg%3E");
  --rule-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M100 3 0 .4V5.6Z' fill='%232F6DAE'/%3E%3C/svg%3E");
  --rule-l-brass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 100 .4V5.6Z' fill='%23D9A548'/%3E%3C/svg%3E");
  --rule-r-brass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M100 3 0 .4V5.6Z' fill='%23D9A548'/%3E%3C/svg%3E");
  --rule-both: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 100 .3 200 3 100 5.7Z' fill='%232F6DAE'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
section { scroll-margin-top: 90px; }
.ph { background: #FFF2CC; color: #5A4300; padding: 0 .3em; border-radius: 3px; font-size: .9em; }

/* label: letterspaced caps between two tapered rules, like "DENTAL" */
.label {
  display: inline-flex; align-items: center; gap: .9em;
  font: 600 var(--fs-label)/1 var(--text); letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: var(--s3);
}
.label::before, .label::after { content: ""; width: 2.6rem; height: 4px; background: var(--rule-l) center/100% 100% no-repeat; }
.label::after { background-image: var(--rule-r); }
.label.left::after { display: none; }
.on-dark .label { color: var(--brass); }
.on-dark .label::before { background-image: var(--rule-l-brass); }
.on-dark .label::after { background-image: var(--rule-r-brass); }

.lede { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.on-dark .lede { color: #C9D6E6; }

/* buttons: one primary (brass), one quiet */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  font: 600 1.02rem/1.1 var(--text); text-decoration: none; letter-spacing: .01em;
  border-radius: var(--r1); border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--brass); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn-primary:hover { background: var(--brass-hi); }
.btn-quiet { border-color: currentColor; color: var(--blue-800); }
.btn-quiet:hover { background: rgba(47,109,174,.08); }
.on-dark .btn-quiet { color: #fff; border-color: rgba(255,255,255,.45); }
.on-dark .btn-quiet:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--blue-500); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.on-dark .text-link { color: #fff; }
.reassure { font-size: var(--fs-small); color: var(--muted); }
.on-dark .reassure { color: #B8C7DA; }

/* the arch: the one strong shape (the crown of the logo's tooth) */
.arch { position: relative; margin: 0; }
.arch img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 999px 999px var(--r1) var(--r1); }
.arch-img { position: relative; }
.arch.framed .arch-img::after {
  content: ""; position: absolute; inset: -10px; border: 1px solid var(--blue-300);
  border-radius: 999px 999px var(--r2) var(--r2); pointer-events: none;
}
.on-dark .arch-img { position: relative; }
.arch.framed .arch-img::after { border-color: rgba(217,165,72,.55); }

/* divider: the double-tapered rule */
.divider { height: 6px; background: var(--rule-both) center/100% 100% no-repeat; border: 0; margin: 0; }

/* ---------- 2. Surfaces ---------- */
.s-paper { background: var(--paper); }
.s-tint { background: var(--blue-50); }
.s-stone { background: var(--stone-100); }
.s-deep { background: radial-gradient(120% 90% at 85% 10%, #13355A 0%, var(--blue-950) 60%); color: #fff; }
.s-field { background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-500) 100%); color: #fff; }
.s-pattern {
  background-color: var(--paper-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='48' viewBox='0 0 160 48'%3E%3Cg fill='%232F6DAE' fill-opacity='.07'%3E%3Cpath d='M8 12 70 10.6v2.8ZM152 12 90 10.6v2.8ZM-72 36-10 34.6v2.8ZM88 36 150 34.6v2.8ZM232 36 170 34.6v2.8ZM72 36 10 34.6v2.8Z'/%3E%3C/g%3E%3C/svg%3E");
}
.section { padding: var(--s7) 0; position: relative; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.section-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: var(--s6); }

/* ---------- header ---------- */
.utility { background: var(--blue-950); color: #C9D6E6; font-size: .86rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: var(--s3); padding-top: .55rem; padding-bottom: .55rem; }
.utility span { display: inline-flex; align-items: center; gap: .5em; }
.utility .i { color: var(--brass); width: 1.05em; height: 1.05em; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,250,245,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s4); min-height: 88px; }
.logo img { height: 70px; width: auto; margin: -4px 0; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .98rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); padding: .4em 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-color: var(--blue-500); }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-phone { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--blue-800); white-space: nowrap; }
.header-phone .i { color: var(--blue-500); }
.site-header .btn { min-height: 46px; padding: .7em 1.2em; }

/* ---------- 3. Treatments ---------- */

/* Hero: split with overlap — staggered arch portraits, a rating card over the seam */
.hero { padding: var(--s5) 0 var(--s6); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.12fr 1fr; gap: var(--s5); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 500; letter-spacing: -0.015em; margin-bottom: var(--s4); }
.hero h1 em { color: #fff; position: relative; white-space: nowrap; }
.hero h1 .uline { display: inline-block; position: relative; }
.hero h1 .uline::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -.08em; height: .09em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 100 .3 200 3 100 5.7Z' fill='%23D9A548'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero .lede { margin-bottom: var(--s4); font-size: 1.2rem; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; font-size: var(--fs-small); color: #C9D6E6; }
.stars { display: inline-flex; gap: 2px; color: var(--brass); }
.stars .i { width: 1em; height: 1em; }
.hero-proof strong { color: #fff; }
.hero-proof a { color: #fff; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: end; }
.hero-art .arch { position: relative; }
.hero-art figcaption { margin-top: 1rem; font-size: .86rem; line-height: 1.35; color: #C9D6E6; }
.hero-art figcaption b { display: block; color: #fff; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.hero-art .a1 { z-index: 2; margin: 0 -14px; }
.hero-art figure { text-align: center; }
.hero-art .a1 .arch-img img { box-shadow: 0 0 0 8px var(--blue-950); }
.hero-art .a2 { order: -1; }
.hero-art .a3 { margin-bottom: 84px; }
.rating-card {
  position: absolute; z-index: 3; left: 0; top: 0; grid-template-columns: auto; justify-items: start; padding: .8rem 1rem; width: 10.5rem;
  background: var(--paper); color: var(--ink); border-radius: var(--r2);
  display: grid; gap: .35rem;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.55);
}
.rating-card .big { grid-row: auto; font: 600 2.6rem/1 var(--display); color: var(--blue-800); }
.rating-card small { font-size: .8rem; line-height: 1.25; color: var(--muted); }
.hero-art .a3 figcaption { padding-left: 22px; }
.hero-art .a2 figcaption { padding-right: 10px; }

/* Proof: stat wall */
.stats { padding: var(--s6) 0; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 0 var(--s4); position: relative; }
.stats li:first-child { padding-left: 0; }
.stats li + li::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(var(--line), var(--blue-300), var(--line)); }
.stats .num { display: block; font: 600 clamp(3.4rem, 2rem + 3.5vw, 5.2rem)/1 var(--display); color: var(--blue-800); letter-spacing: -0.02em; margin-bottom: .6rem; }
.stats .num sup { font-size: .38em; vertical-align: .9em; margin-left: .1em; color: var(--blue-500); }
.stats p { font-size: 1.08rem; color: var(--ink); max-width: 15em; }

/* Services: ruled index */
.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); border-top: 1px solid var(--blue-300); }
.index li { border-bottom: 1px solid var(--blue-300); }
.index a { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: var(--s2); align-items: start; padding: var(--s4) 0; text-decoration: none; }
.index .n { font: italic 500 1.6rem/1.1 var(--display); color: var(--blue-500); }
.index h3 { margin-bottom: .35rem; }
.index p { font-size: 1.05rem; color: var(--muted); }
.index .i { color: var(--blue-500); margin-top: .35rem; transition: transform .2s; }
.index a:hover .i { transform: translateX(4px); }
.index a:hover h3 { color: var(--blue-500); }

/* Veneers: feature band */
.feature .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: center; }
.ba-arches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); align-items: center; }
.ba-arches .arch img { aspect-ratio: 3/4; object-position: center 40%; }
.tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--paper); color: var(--ink); border: 1px solid var(--line); font: 600 .72rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; padding: .55em 1em; border-radius: var(--r1); white-space: nowrap; }
.tag.after { background: var(--blue-800); color: #fff; border-color: var(--blue-800); }
.feature h2 { margin-bottom: var(--s3); }
.feature .lede { margin-bottom: var(--s4); }
.checks { display: grid; gap: .8rem; margin-bottom: var(--s4); }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; align-items: baseline; }
.checks li::before { content: ""; width: 1.6rem; height: 4px; background: var(--rule-l) center/100% 100% no-repeat; transform: translateY(-.25em); }
.inline-quote { border-left: 3px solid var(--brass); padding: .2rem 0 .2rem 1.25rem; margin: 0 0 var(--s4); }
.inline-quote p { font: italic 500 1.35rem/1.35 var(--display); }
.inline-quote cite { display: block; margin-top: .6rem; font: normal 500 .9rem/1.3 var(--text); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }

/* Smile gallery: gallery wall with a lead case */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s4); }
.case { margin: 0; }
.case .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--r2); overflow: hidden; }
.case .pair div { position: relative; }
.case .pair img { width: 100%; height: 100%; object-fit: cover; }
.case .pair span { position: absolute; left: 10px; top: 10px; font: 600 .68rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; padding: .5em .8em; border-radius: var(--r1); background: rgba(11,29,51,.78); color: #fff; }
.case .pair div + div span { background: var(--brass); color: var(--ink); }
.case figcaption { margin-top: var(--s2); display: grid; gap: .3rem; }
.case figcaption b { font: 600 1.45rem/1.15 var(--display); }
.case figcaption span { font-size: .98rem; color: #B8C7DA; max-width: 34em; }
.case.lead .pair { grid-template-columns: 1fr; aspect-ratio: auto; }
.case.lead .pair img { aspect-ratio: 5/2.6; }
.case.smile .pair img { object-position: center 78%; }
#gallery .section-head { text-align: center; justify-items: center; }
#gallery .section-head .lede { margin: 0 auto; }
.gallery-side { display: grid; gap: var(--s4); align-content: start; }
.gallery-side .pair { aspect-ratio: 2.4/1; }

/* Nervous patients: big quote */
.bigquote .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s6); align-items: start; }
.bigquote h2 { margin-bottom: var(--s5); max-width: 15em; }
.quote { position: relative; margin: 0; padding-top: 3.2rem; }
.quote::before { content: "\201C"; position: absolute; top: -1.6rem; left: -.4rem; font: 600 9rem/1 var(--display); color: var(--blue-500); opacity: .9; }
.quote p { font: 500 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.25 var(--display); color: var(--blue-950); }
.quote footer { margin-top: var(--s3); display: flex; align-items: center; gap: var(--s2); font-size: .95rem; color: var(--muted); }
.quote footer::before { content: ""; width: 3rem; height: 4px; background: var(--rule-l) center/100% 100% no-repeat; }
.quote footer b { color: var(--ink); }
.care-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s4); box-shadow: 0 30px 60px -40px rgba(22,58,98,.35); }
.care-card h3 { margin-bottom: var(--s3); }
.care-card ul { display: grid; gap: 1rem; margin-bottom: var(--s4); }
.care-card li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; font-size: 1.05rem; }
.care-card li .i { color: var(--blue-500); margin-top: .2rem; }
.care-card li b { display: block; }

/* Team: gallery wall with a lead portrait */
.team { overflow: hidden; }
.team .watermark { position: absolute; right: -1.5rem; bottom: -3.5rem; font: 600 clamp(10rem, 22vw, 22rem)/1 var(--display); color: var(--stone-300); opacity: .7; pointer-events: none; user-select: none; }
.team-lead { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s6); align-items: center; margin-bottom: var(--s6); position: relative; }
.team-lead h2 { margin-bottom: var(--s4); }
.team-lead blockquote { margin: 0 0 var(--s4); font: italic 500 clamp(1.4rem, 1.1rem + .9vw, 1.9rem)/1.3 var(--display); }
.team-lead .who { font-size: 1rem; color: var(--muted); margin-bottom: var(--s3); }
.team-lead .who b { color: var(--ink); font-weight: 600; }
.creds { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-bottom: var(--s4); font: 600 .8rem/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--stone-700); }
.creds li + li::before { content: ""; display: inline-block; width: 1.1rem; height: 3px; margin-right: .9rem; vertical-align: middle; background: var(--rule-both) center/100% 100% no-repeat; }
.dentists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-bottom: var(--s6); }
.dentist { display: grid; grid-template-columns: 150px 1fr; gap: var(--s3); align-items: center; background: var(--paper); border-radius: var(--r2); padding: var(--s3); }
.dentist img { border-radius: 999px 999px var(--r1) var(--r1); aspect-ratio: 4/5; object-fit: cover; }
.dentist h3 { margin-bottom: .4rem; }
.dentist p { font-size: 1.02rem; color: var(--muted); }
.crew-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid var(--stone-300); padding-bottom: var(--s2); }
.crew-head h3 { font-size: 1.6rem; }
.crew { display: grid; grid-template-columns: repeat(9, 1fr); gap: var(--s2); }
.crew li img { border-radius: var(--r2); aspect-ratio: 4/5; object-fit: cover; margin-bottom: .6rem; }
.crew b { display: block; font: 600 1.2rem/1.1 var(--display); }
.crew span { font-size: .92rem; color: var(--muted); line-height: 1.3; display: block; }
.crew .yr { color: var(--blue-800); font-weight: 600; }

/* Paying: bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: var(--s2); }
.tile { border-radius: var(--r2); padding: var(--s4); display: flex; flex-direction: column; gap: .7rem; }
.tile h3 { font-size: 1.55rem; }
.tile p { font-size: 1.05rem; }
.tile .i { width: 1.8rem; height: 1.8rem; color: var(--blue-500); }
.tile.big { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.tile.wide { grid-column: span 2; }
.tile.s-deep .i { color: var(--brass); }
.tile.s-deep p { color: #C9D6E6; }
.tile.outline { border: 1px solid var(--line); background: var(--paper); }
.flow { display: grid; gap: 0; margin-top: var(--s3); counter-reset: f; }
.flow li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.14); align-items: baseline; }
.flow li::before { counter-increment: f; content: counter(f, decimal-leading-zero); font: italic 500 1.5rem/1 var(--display); color: var(--brass); }
.flow b { font: 600 1.35rem/1.2 var(--display); display: block; color: #fff; }
.tile.big h3 { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); color: #fff; }

/* First visit: steps on a path */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); position: relative; margin-bottom: var(--s6); }
.steps::before { content: ""; position: absolute; left: 3rem; right: 4%; top: 2rem; height: 5px; background: var(--rule-r) center/100% 100% no-repeat; }
.steps li { position: relative; }
.steps .n { width: 4rem; height: 4rem; display: grid; place-items: center start; background: var(--blue-50); font: italic 500 3.2rem/1 var(--display); color: var(--blue-800); margin-bottom: var(--s3); position: relative; }
.steps h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.steps p { font-size: 1.05rem; color: var(--muted); }
.kids { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: center; background: var(--paper); border-radius: var(--r2); padding: var(--s4) var(--s5); }
.kids .label { margin-bottom: var(--s2); }
.kids .i { width: 2.6rem; height: 2.6rem; color: var(--blue-500); }
.kids h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.kids p { font-size: 1.05rem; color: var(--muted); max-width: 46em; }

/* Articles: three numbered cards under a tapered rule */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.articles a { display: grid; gap: .7rem; text-decoration: none; padding-top: var(--s3); position: relative; }
.articles a::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--rule-l) center/100% 100% no-repeat; opacity: .8; }
.articles .n { font: 600 .78rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-500); }
.articles h3 { font-size: 1.65rem; }
.articles a:hover h3 { color: var(--blue-500); }
.articles p { font-size: 1.05rem; color: var(--muted); }

/* Book: closing field */
.book { overflow: hidden; }
.book .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; position: relative; }
.book h2 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); margin-bottom: var(--s3); }
.book .lede { color: #DCE7F3; margin-bottom: var(--s5); }
.big-phone { display: inline-flex; align-items: center; gap: .5em; font: 600 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--display); text-decoration: none; color: #fff; margin-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: .2em; }
.big-phone .i { width: .8em; height: .8em; color: var(--brass); }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.visit h3 { font: 600 var(--fs-label)/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-hi); margin-bottom: var(--s2); }
.visit p, .visit dl { font-size: 1rem; color: #E6EEF7; }
.visit dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.visit dd { margin: 0; }
.visit .text-link { margin-top: var(--s2); font-size: .98rem; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r3); padding: var(--s5); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form-card h3 { font-size: 2rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: 1rem; margin-bottom: var(--s4); }
.field { display: grid; gap: .4rem; margin-bottom: var(--s3); }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .8em .9em; border: 1px solid #C9C0B5; border-radius: var(--r1); background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form-card .btn { width: 100%; margin-top: var(--s1); }
.form-card .reassure { margin-top: var(--s2); text-align: center; color: var(--muted); }

/* footer */
.site-footer { padding: var(--s6) 0 var(--s4); font-size: .95rem; color: #B8C7DA; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5); margin-bottom: var(--s5); }
.foot img { width: 240px; margin-bottom: var(--s3); }
.foot h3 { font: 600 var(--fs-label)/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--s2); }
.foot a { text-decoration: none; color: #E6EEF7; }
.foot a:hover { text-decoration: underline; }
.foot li { margin-bottom: .45rem; }
.foot address { font-style: normal; line-height: 1.7; color: #E6EEF7; }
.foot-base { display: flex; justify-content: space-between; gap: var(--s3); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.foot-base a { color: #B8C7DA; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .crew { grid-template-columns: repeat(5, 1fr); row-gap: var(--s4); }
}
@media (max-width: 960px) {
  .hero .wrap, .feature .wrap, .bigquote .wrap, .team-lead, .book .wrap, .section-head.split { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .dentists { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s5); }
  .steps::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --s7: 3.75rem; --s6: 2.5rem; --s5: 2.25rem; }
  .section-head { margin-bottom: var(--s5); }
  .utility .addr { display: none; }
  .utility .wrap { justify-content: center; }
  .site-header .wrap { min-height: 68px; gap: var(--s2); }
  .logo img { height: 52px; margin: -2px 0; }
  .header-phone span { display: none; }
  .header-phone { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--blue-300); border-radius: var(--r1); }
  .header-actions { gap: .5rem; }
  .site-header .btn { padding: .6em .9em; font-size: .95rem; }
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero h1 em { white-space: normal; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { margin-top: var(--s2); }
  .hero-art .a1 { margin: 0 -14px; }
  .hero-art .a1 .arch-img img { box-shadow: 0 0 0 5px var(--blue-950); }
  .hero-art .a2 { padding-right: 16px; }
  .hero-art .a3 { padding-left: 16px; margin-bottom: 40px; }
  .hero-art .a2 .arch-img, .hero-art .a3 .arch-img { width: calc(100% + 16px); }
  .hero-art .a3 .arch-img { margin-left: -16px; }
  .hero-art .a1.framed .arch-img::after { inset: -7px; }
  .hero-art figcaption { font-size: .8rem; margin-top: .6rem; }
  .hero-art figcaption b { font-size: 1rem; }
  .rating-card { display: none; }
  .stats ul { grid-template-columns: 1fr 1fr; row-gap: var(--s4); }
  .stats li { padding: 0 var(--s2); }
  .stats li:nth-child(3)::before { display: none; }
  .index { grid-template-columns: 1fr; }
  .index a { grid-template-columns: 2.4rem 1fr auto; padding: 1.15rem 0; }
  .ba-arches { max-width: 330px; margin: 0 auto; }
  .gallery-side .pair { aspect-ratio: 2/1; }
  .quote::before { font-size: 7rem; top: -1.2rem; }
  .dentist { grid-template-columns: 110px 1fr; padding: var(--s2); }
  .crew { grid-template-columns: repeat(3, 1fr); row-gap: var(--s3); }
  .index p { display: none; }
  .dentist { grid-template-columns: 1fr; text-align: left; }
  .dentist img { width: 140px; }
  .crew-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .team .watermark { display: none; }
  .index p { font-size: .95rem; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: .75rem; }
  .tile { padding: var(--s3); }
  .tile.big, .tile.wide { grid-column: 1 / -1;  grid-row: auto; }
  .articles { gap: var(--s3); }
  .articles p { display: none; }
  .steps { margin-bottom: var(--s5); }
  .kids { padding: var(--s3); }
  .dentist p { font-size: .92rem; }
  .crew li img { margin-bottom: .4rem; }
  .steps { grid-template-columns: 1fr; row-gap: var(--s4); }
  .steps li { display: grid; grid-template-columns: 4rem 1fr; column-gap: var(--s3); }
  .steps .n { grid-row: span 2; margin: 0; }
  .kids { grid-template-columns: 1fr; gap: var(--s2); padding: var(--s4) var(--s3); }
  .articles { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .form-card { padding: var(--s4) var(--s3); }
  .two { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
  .foot > div:first-child { grid-column: 1 / -1; }
  .foot > div:nth-child(2) { grid-column: 1 / -1; }
  .site-footer { font-size: .9rem; }
  .foot-base { flex-direction: column; }
}
@media (max-width: 640px) {
  .hero-art .a2 figcaption, .hero-art .a3 figcaption { margin-left: 0; margin-right: 0; }
}
