@font-face {
  font-family: 'Bjorklinge Serif';
  src: url('/assets/fonts/bjorklinge-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Bjorklinge Sans';
  src: url('/assets/fonts/bjorklinge-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --surface: #f6f3ec;
  --enamel: #fffdf7;
  --text: #20352f;
  --accent: #294d40;
  --muted: #536359;
  --line: #bdc5b8;
  --notice: #e7e9df;
  --hover: #1b392e;
  --focus: #20352f;
  --notice-height: 80px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --serif: 'Bjorklinge Serif', Georgia, serif;
  --sans: 'Bjorklinge Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Layer contract: page 0, notice 10, keyboard skip link 20. */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--notice-height) + 24px); }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
}
::selection { background: var(--accent); color: var(--surface); }
p, h1, h2, h3 { margin: 0; }
p { max-width: 60ch; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.06;
}
h2 { font-size: clamp(42px, 5vw, 68px); text-wrap: balance; }
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  touch-action: manipulation;
  scroll-margin-block: calc(var(--notice-height) + 24px) 24px;
}
a:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
a:active { text-decoration-thickness: 2px; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1200px; margin-inline: auto; }
.notice {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--notice);
  border-bottom: 1px solid var(--line);
  padding: 10px var(--gutter);
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}
.skip {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: var(--gutter);
  padding: 12px 16px;
  background: var(--surface);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.header {
  padding-block: 16px;
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand:hover { color: var(--accent); }
nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 16px; }
nav a { display: inline-flex; min-height: 48px; align-items: center; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { padding-block: 48px 64px; }
.hero-heading { position: relative; container-type: inline-size; }
.hero h1 { font-size: clamp(48px, 13cqi, 148px); line-height: .98; letter-spacing: -.045em; }
.hero-line { display: block; }
.hero-line:last-child { color: var(--accent); }
.hero-smile { display: block; width: min(100%, 480px); height: auto; margin-top: 16px; overflow: visible; }
.enamel { fill: var(--enamel); }
.tooth-seams { fill: none; stroke: var(--line); stroke-width: 2; }
.smile-outline { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.smile-glint { fill: var(--accent); stroke: var(--surface); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.small-glint { stroke-width: 2; }
.hero-bottom { padding-top: 24px; display: grid; gap: 24px; }
.intro { max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--surface);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.button:hover { background: var(--hover); }
.button:active { background: var(--text); }
.text-link { display: inline-flex; min-height: 48px; gap: 16px; align-items: center; font-size: 16px; }
.text-link:hover { color: var(--accent); text-decoration-thickness: 2px; }
.welcome { font-size: 16px; color: var(--muted); margin-top: 12px; }
.section { position: relative; padding-block: 64px; border-top: 1px solid var(--line); }
.section:not(.contact)::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: var(--accent);
  transform-origin: left;
  pointer-events: none;
}
.section.line-enter::before { animation: draw-line 700ms var(--ease) both; }
@keyframes draw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.clinic { display: grid; gap: 24px; }
.clinic p { max-width: 44ch; }
.faq { display: grid; gap: 32px; }
.faq-list { margin: 0; }
.faq-item { padding-block: 24px; border-top: 1px solid var(--line); }
.faq-item:first-child { padding-top: 0; border-top: 0; }
.faq-item:last-child { padding-bottom: 0; }
.faq dt { font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.faq dd { margin: 0; max-width: 48ch; color: var(--muted); }
.contact {
  border: 0;
  background: var(--notice);
  padding: 40px 24px;
  margin-block: 16px 64px;
}
.contact h2 { margin-bottom: 32px; }
.contact-grid { display: grid; gap: 32px; }
.contact address { font-style: normal; }
.contact-name { font-weight: 600; margin-bottom: 12px; }
.phone { font-size: clamp(20px, 2.1vw, 28px); margin-block: 24px 8px; }
.hours { border-top: 1px solid var(--line); padding-top: 24px; }
.hours h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.hours dl { margin: 0; max-width: 420px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; }
.hours dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.booking { padding-block: 0 64px; }
.booking-inner { border-left: 4px solid var(--accent); padding: 16px 0 16px 24px; display: grid; gap: 24px; }
.booking h2 { max-width: 14ch; }
.booking-copy { min-width: 0; }
.booking p { max-width: 48ch; }
.placeholder { border-left: 2px solid var(--accent); padding-left: 16px; font-size: 16px; color: var(--muted); margin-block: 24px; }
.booking .button { margin-top: 8px; }
.footer { border-top: 1px solid var(--line); padding-block: 24px max(32px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 16px; }
.footer strong { font-weight: 600; }
.footer p { color: var(--muted); margin-top: 4px; }
@media (min-width: 640px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact { padding: 48px 40px; }
}
@media (min-width: 768px) {
  .header { padding-block: 24px; }
  .hero { padding-block: 64px 96px; }
  .hero-bottom { padding-top: 40px; }
  .section { padding-block: 80px; }
  .clinic { padding-left: 16%; gap: 24px; }
  .clinic h2 { max-width: 15ch; }
  .clinic h2 br { display: none; }
  .clinic p { margin-left: 16%; }
  .faq { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .contact { padding: 56px; margin-block: 16px 80px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hours { border-top: 0; border-left: 1px solid var(--line); padding-top: 0; padding-left: 32px; }
  .booking { padding-block: 0 80px; }
  .booking-inner { grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px; align-items: start; }
  .booking h2 { font-size: clamp(42px, 4.8vw, 64px); }
}
@media (min-width: 1024px) {
  .hero-bottom { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .header nav { gap: 32px; }
  .clinic { grid-template-columns: 1fr 1fr; padding-left: 8%; gap: 64px; align-items: center; }
  .clinic p { margin-left: 0; }
  .clinic h2 br { display: initial; }
  .contact { padding: 64px 8%; }
  .hours { padding-left: 48px; }
}
@media (max-width: 400px) {
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .actions .text-link { justify-content: space-between; }
  .contact { padding-inline: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 180ms var(--ease); }
  .button span, .text-link span { transition: transform 180ms var(--ease); }
  .button:is(:hover, :focus-visible) span,
  .text-link:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
}
@media (prefers-reduced-motion: reduce) {
  .section.line-enter::before { animation: none; }
}

.heading-line { display: block; }
.review figure { margin: 0 0 24px; max-width: 850px; }
.review blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(36px, 4.8vw, 64px); line-height: 1.12; letter-spacing: -.025em; }
.review figcaption { font-size: 16px; }
.review figcaption span { color: var(--muted); }
.contact { isolation: isolate; background: none; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--notice); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .contact.panel-enter::after { animation: expand-panel 900ms var(--ease) both; }
  @keyframes expand-panel { from { clip-path: inset(12% 35%); } to { clip-path: inset(0); } }
}

.review h2 { margin-bottom: 48px; }
.review .review-feature { max-width: 900px; margin-bottom: 56px; }
.review figcaption { display: grid; gap: 4px; }
.review figcaption strong { font-weight: 600; }
.review figcaption .text-link { justify-self: start; }
.review-grid { display: grid; gap: 32px; }
.review .review-item { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.review-item blockquote { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .review-item:nth-child(2) { margin-top: 40px; }
  .review-item:nth-child(3) { margin-top: 80px; }
}

.flow-word { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .flow-pending .flow-word { opacity: 0; transform: translateY(.45em); }
}

.tooth-rating { display: flex; align-items: center; gap: 5px; color: var(--accent); margin-bottom: 8px; }
.tooth-rating svg { width: 20px; height: 24px; fill: currentColor; }
.review .tooth-rating span { color: var(--accent); margin-left: 6px; font-size: 14px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .decoration-pending.section:not(.contact)::before { transform: scaleX(0); }
  .decoration-pending.contact::after { clip-path: inset(12% 35%); }
}

.scroll-header { position: sticky; top: var(--notice-height); z-index: 9; background: var(--surface); transition: transform 750ms cubic-bezier(.4, 0, .2, 1), opacity 550ms ease; }
.scroll-header.header-away { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.scroll-header:focus-within { transform: none; opacity: 1; pointer-events: auto; }
html:has(.scroll-header) { scroll-padding-top: calc(var(--notice-height) + var(--header-height, 96px) + 24px); }
html:has(.scroll-header) a { scroll-margin-block-start: calc(var(--notice-height) + var(--header-height, 96px) + 24px); }
@media (prefers-reduced-motion: reduce) {
  .scroll-header { transition: none; transform: none; opacity: 1; pointer-events: auto; }
}

.family { display: grid; gap: 32px; }
.family-age { padding: 32px; background: var(--notice); color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.age-caption, .age-footnote { font-size: 16px; text-align: center; }
.age-number { font-family: var(--serif); font-size: clamp(140px, 20vw, 260px); line-height: 1; letter-spacing: -.075em; }
.age-number span { font-size: .18em; letter-spacing: -.02em; margin-left: 12px; }
.family-label { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.family-copy h2 { margin-bottom: 24px; }
.family-copy p { max-width: 44ch; }
.family-copy .text-link { margin-top: 24px; }
.family-support { border-left: 3px solid var(--accent); background: var(--notice); padding: 24px; font-size: 18px; max-width: none; }
.family-support p { font-weight: 600; max-width: 48ch; }
@media (min-width: 768px) {
  .family { grid-template-columns: .85fr 1.15fr; gap: 40px 64px; align-items: center; }
  .family-support { grid-column: 1 / -1; }
}

.family-support .text-link { margin-top: 12px; font-weight: 600; color: var(--accent); text-decoration-thickness: 2px; }
.family-copy strong { font-weight: 700; }

.contact-inline, .address-link { text-decoration-color: var(--accent); }
.contact address .address-link, .phone .contact-inline, .footer .address-link { display: inline-block; padding-block: 10px; }

/* Two generations, drawn in the same enamel and forest palette as the hero. */
.family-teeth { display: block; width: clamp(160px, 18vw, 210px); height: auto; margin: 0 0 20px; color: var(--accent); overflow: visible; }
.family-tooth { fill: var(--enamel); stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.family-tooth-arms, .family-tooth-detail { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.family-tooth-detail { opacity: .45; }

.family-teeth { transform-origin: 50% 88%; }

.booking-demo { margin-block: 28px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.demo-label { color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.booking-demo fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.booking-demo legend { font-family: var(--serif); font-size: 28px; margin-bottom: 24px; }
.booking-demo select { display: block; width: 100%; min-height: 48px; margin: 8px 0 24px; padding: 10px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 0; }
.demo-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 24px; }
.demo-times label { display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 48px; border: 1px solid var(--line); cursor: pointer; }
.demo-times label:has(input:checked) { background: var(--notice); border-color: var(--accent); }
.demo-times input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.booking-demo button { font: inherit; cursor: pointer; text-align: left; }
.demo-result:not(:empty) { margin-top: 20px; border-left: 3px solid var(--accent); padding-left: 16px; }
.demo-note { margin-top: 20px; font-size: 16px; color: var(--muted); }
.booking-demo :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* A compact calendar with native keyboard-operable date buttons. */
.booking-inner { max-width: 940px; margin-inline: auto; }
.booking-demo { max-width: 440px; padding: clamp(12px, 2vw, 24px); }
.demo-calendar { margin: 16px 0 24px; }
.calendar-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.calendar-month { text-transform: capitalize; font-size: 18px; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.calendar-weekdays { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.booking-demo .calendar-nav button, .booking-demo .calendar-days button { background: none; color: var(--text); border: 1px solid transparent; min-width: 0; min-height: 40px; padding: 4px 0; text-align: center; font-size: 16px; border-radius: 4px; }
.booking-demo .calendar-nav button { width: 40px; border-color: var(--line); }
.booking-demo .calendar-days button:hover { background: var(--notice); }
.booking-demo .calendar-days button[aria-pressed="true"] { background: var(--accent); color: var(--surface); }
@media (max-width: 767px) { .booking-inner { padding-left: 12px; } }

.treatment-hero { padding-block: 48px 40px; }
.treatment-eyebrow { margin-top: 48px; color: var(--muted); }
.treatment-hero h1 { font-size: clamp(48px, 7vw, 96px); max-width: 18ch; margin: 20px 0 28px; }
.treatment-intro { max-width: 44ch; font-size: clamp(20px, 2vw, 26px); }
.treatment-hero .placeholder { margin-top: 32px; max-width: 68ch; font-size: 16px; }
.treatment-index { display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 16px 48px; }
.treatment-index a { justify-content: space-between; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 20px; }
.treatment-entry { padding-block: 40px; display: grid; gap: 24px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--notice-height) + 24px); }
.treatment-entry h2 { font-size: clamp(36px, 4vw, 54px); overflow-wrap: anywhere; }
.treatment-kicker { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.treatment-entry p { max-width: 45ch; }
.treatment-status { margin-top: 20px; font-size: 14px; color: var(--muted); }
.treatment-contact { margin-block: 48px 80px; padding-block: 36px; border-top: 3px solid var(--accent); display: grid; gap: 32px; }
.treatment-contact h2 { margin-bottom: 24px; }
.treatment-contact .text-link { display: flex; margin-top: 24px; }
.header a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media(min-width:768px) {
 .treatment-index { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; }
 .treatment-entry, .treatment-contact { grid-template-columns: 1fr 1fr; gap: 64px; }
 .treatment-entry { padding-block: 64px; }
}

.treatment-art { display: block; width: 112px; height: auto; margin-bottom: 24px; color: var(--accent); overflow: visible; transform-origin: 50% 80%; }
.treatment-art g { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.treatment-art .treatment-enamel { fill: var(--enamel); }
.treatment-art .treatment-tint { fill: var(--notice); }
@media(min-width:768px) { .treatment-art { width: 128px; } .treatment-entry > div:last-child { align-self: center; } }

.preview-heading { display: grid; gap: 24px; margin-bottom: 32px; }
.preview-heading p { max-width: 34ch; align-self: end; }
.preview-treatments { display: grid; gap: 24px; }
.preview-treatment { position: relative; display: block; padding: 24px; background: var(--notice); text-decoration: none; }
.preview-treatment h3 { font: 32px/1.15 var(--serif); margin-bottom: 12px; }
.preview-treatment p { max-width: 25ch; font-size: 18px; }
.preview-treatment .treatment-art { width: 92px; }
.preview-arrow { position: absolute; top: 24px; right: 24px; }
.preview-treatment:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.preview-links { display: flex; gap: 20px 36px; flex-wrap: wrap; margin-top: 24px; }
.treatment-prices { display: grid; gap: 32px; padding-block: 48px; border-top: 3px solid var(--accent); scroll-margin-top: calc(var(--notice-height) + var(--header-height, 0px) + 24px); }
.treatment-prices .treatment-eyebrow { margin-top: 0; margin-bottom: 16px; }
.treatment-prices h2 { margin-bottom: 24px; }
.price-caveat { max-width: 38ch; }
.price-list { margin: 0; }
.price-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-list dt { max-width: 28ch; }
.price-list dt span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.price-list dd { margin: 0; font: 32px/1.15 var(--serif); white-space: nowrap; }
.price-list dd span { font: 16px var(--sans); }
.treatment-prices .text-link { margin-top: 24px; }
@media(min-width:768px) { .preview-heading, .treatment-prices { grid-template-columns: 1fr 1fr; gap: 48px; } .preview-treatments { grid-template-columns: repeat(3,minmax(0,1fr)); } }

.about-section, .about-team { display: grid; gap: 32px; padding-block: 48px; border-top: 1px solid var(--line); }
.about-section h2, .about-team h2 { margin-bottom: 24px; }
.about-section p, .about-team p { max-width: 44ch; margin-bottom: 20px; }
.about-section .family-teeth { width: 170px; }
.team-name { padding: 32px; background: var(--notice); color: var(--accent); }
.team-initials { display: block; font: clamp(70px,10vw,120px)/1 var(--serif); letter-spacing: -.06em; margin-bottom: 32px; }
.team-name h3 { font: 32px/1.15 var(--serif); margin-bottom: 12px; }
.team-name p { font-size: 16px; margin: 0; }
@media(min-width:768px) { .about-section, .about-team { grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px; align-items: center; } }

.team-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 24px; }
.team-name .portrait-caption { font-size: 14px; color: var(--muted); margin-top: 16px; }

.team-portrait { max-width: 260px; max-height: 390px; aspect-ratio: 2 / 3; object-fit: contain; margin: 0 auto 24px; }
.team-name { width: 100%; max-width: 380px; justify-self: center; }

.team-portrait { transform-origin: 50% 94%; }

.intro { text-wrap: balance; }
.intro-phrase { white-space: nowrap; }

@media (min-width: 1024px) {
  .hero-bottom { grid-template-columns: max-content minmax(0, 1fr); gap: 40px; align-items: start; }
  .intro { max-width: none; white-space: nowrap; text-wrap: nowrap; }
}

@media (min-width: 1024px) {
  .hero-bottom { grid-template-columns: max-content max-content; justify-content: space-between; align-items: center; column-gap: 56px; }
  .hero-bottom .intro { margin: 0; }
  .hero-actions .actions { flex-wrap: nowrap; column-gap: 32px; }
  .hero-actions .actions > a { white-space: nowrap; }
}

.team-roles { margin: 0; padding-left: 1.2em; }
.team-roles li { padding-left: .25em; margin-block: 10px; }
.team-roles li::marker { color: var(--accent); }

.clinic-history-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 24px; margin-bottom: 28px; border: 1px solid var(--accent); border-radius: 18px 18px 18px 2px; background: var(--notice); color: var(--accent); }
.clinic-history-badge > span:first-child { display: flex; align-items: baseline; gap: 7px; font-size: 18px; }
.clinic-history-badge strong { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.clinic-history-badge > span:last-child { font-size: 14px; }

/* Heading, history badge and introduction form three distinct blocks. */
.clinic > .clinic-history-badge { justify-self: start; margin: 0; }
.clinic > p { margin-left: 0; }
@media (min-width: 1024px) {
  .clinic { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); padding-left: 0; gap: clamp(24px, 3vw, 48px); align-items: center; }
  .clinic h2 { font-size: clamp(42px, 4.4vw, 64px); }
}

@media (min-width: 1024px) {
  .clinic { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .clinic-heading { justify-self: start; }
  .clinic h2 { width: max-content; max-width: 100%; }
}

@media (min-width: 1024px) {
  .clinic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .clinic > .clinic-history-badge { justify-self: center; }
}

@media (min-width: 1024px) {
  .clinic > .clinic-history-badge { position: relative; left: 8px; }
}

/* Patient information stays visible without interaction or animation. */
.pending-detail { border-left: 2px solid var(--line); padding-left: 14px; margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.patient-eyebrow { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.patient-reassurance { display: grid; gap: 28px; }
.patient-reassurance h2 { max-width: 16ch; }
.patient-reassurance p { max-width: 45ch; }
.patient-reassurance .text-link { margin-top: 20px; }
.urgent-inner { background: var(--notice); padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; }
.urgent-inner h2 { font-size: clamp(38px, 4.5vw, 60px); }
.urgent-inner p + p { margin-top: 16px; }
.patient-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.patient-actions .text-link { min-width: 0; }
.patient-access { display: grid; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.patient-access h3 { font: 32px/1.15 var(--serif); margin-bottom: 20px; }
.entrance-placeholder { padding: 24px; margin-top: 24px; border: 1px dashed var(--muted); }
.entrance-placeholder > span { font-weight: 600; }
.entrance-placeholder p { font-size: 15px; color: var(--muted); margin-top: 12px; }
.access-facts { margin: 0; }
.access-facts > div { padding-block: 16px; border-bottom: 1px solid var(--line); }
.access-facts dt { font-weight: 600; margin-bottom: 8px; }
.access-facts dd { margin: 0; font-size: 16px; color: var(--muted); }
@media(min-width:768px) { .patient-reassurance, .urgent-inner, .patient-access { grid-template-columns: 1fr 1fr; gap: 48px; } }

.visit-summary { display: grid; gap: 24px; }
.visit-summary p { max-width: 44ch; }
.visit-summary .text-link { margin-top: 20px; }
@media(min-width:768px) { .visit-summary { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }

.visit-page .faq { grid-template-columns: 1fr; gap: 32px; }
.visit-page .faq-list { display: grid; grid-template-columns: 1fr; gap: 24px; }
.visit-page .faq-item { padding: 28px 0; border-top: 1px solid var(--line); }
.visit-page .faq dt { margin-bottom: 16px; }
.visit-art { width: 88px; margin-bottom: 20px; }
@media(min-width:768px) { .visit-page .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 24px; } }

.reassurance-review { margin: 32px 0 0; padding: 24px; background: var(--notice); border-left: 3px solid var(--accent); }
.reassurance-review blockquote { margin: 0 0 20px; font: clamp(26px, 3vw, 36px)/1.2 var(--serif); color: var(--text); }
.reassurance-review figcaption > strong, .reassurance-review figcaption > span { display: block; }
.reassurance-review figcaption > span { margin-top: 4px; font-size: 14px; color: var(--muted); }
.reassurance-review .text-link { margin-top: 12px; }

.reassurance-review .tooth-rating { margin-bottom: 12px; }
.reassurance-review .tooth-rating span { font-size: 14px; font-weight: 600; margin-left: 6px; }

.street-view-option { padding: 24px; margin-top: 24px; background: var(--notice); border-left: 3px solid var(--accent); }
.street-view-option > span { font-weight: 600; }
.street-view-option p { font-size: 16px; margin-top: 12px; }
.street-view-option .text-link { margin-top: 16px; }

.street-view-frame { display: block; width: 100%; height: clamp(280px, 35vw, 380px); border: 0; margin-top: 20px; background: var(--surface); }
.street-view-option .street-view-credit { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Compact, accessible language links on every static language version. */
.language-switch { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.language-switch a { font-size: 13px; letter-spacing: .04em; padding: 8px 2px; }
.language-switch [aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
html[lang="en"] .hero-bottom { gap: 24px; }
@media (min-width: 768px) and (max-width: 1100px) { html[lang="en"] .header { flex-wrap: wrap; gap: 16px; } }
