/* Self-hosted fonts (SIL Open Font License; licenses in /fonts). Latin subset, variable weight. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/eb-garamond.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("fonts/eb-garamond-italic.woff2") format("woff2"); }

/* Layout: a clinical atlas. Small-caps marginal labels in a left column, text in a measured column, hairline rules between sections. */
:root {
  --ground: #F4F0E7;
  --surface: #E9E2D2;
  --ink: #0B3324;
  --ink-soft: #3F5A49;
  --quiet: #59656C;
  --rule: #CFC5AE;
  --band: #0B3324;
  --band-ink: #ECE5D5;
  --band-soft: #B7AC93;
  --band-rule: #2B4B3D;
  --flag: #F0E2B6;
  --flag-ink: #5A430E;
  --plate: #DAD7D2;
  --plate-ink: #0B3324;
  --plate-soft: #3F5A49;
  --plate-light: #F4F0E7;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --measure: 65ch;
  --gutter: clamp(16px, 4vw, 44px);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #081F17; --surface: #0E2D22; --ink: #E7DFCE; --ink-soft: #B4C0B0; --quiet: #96A39C; --rule: #234538;
    --band: #E7DFCE; --band-ink: #0B3324; --band-soft: #3F5A49; --band-rule: #C6BBA2;
    --flag: #3A3119; --flag-ink: #EDDCA6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #081F17; --surface: #0E2D22; --ink: #E7DFCE; --ink-soft: #B4C0B0; --quiet: #96A39C; --rule: #234538;
  --band: #E7DFCE; --band-ink: #0B3324; --band-soft: #3F5A49; --band-rule: #C6BBA2;
  --flag: #3A3119; --flag-ink: #EDDCA6;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 640px) { body { font-size: 1.125rem; } }
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.7rem, 1.5rem + 4.6vw, 5rem); line-height: 1.0; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.7vw, 2.7rem); line-height: 1.08; max-width: 24ch; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }

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

.eyebrow, .label, .sec-label, dt {
  font-family: var(--text);
  font-variant-caps: all-small-caps;
  letter-spacing: 0.11em;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ink-soft);
  font-weight: 500;
}
.fine { font-size: 0.98rem; color: var(--quiet); font-style: italic; max-width: var(--measure); }

/* Draft marker */
.draftbar { background: var(--flag); color: var(--flag-ink); font-size: 0.95rem; }
.draftbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-block: 0.4rem; }
.fill {
  background: var(--flag); color: var(--flag-ink);
  padding: 0 0.22em; border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-style: normal;
}
.fill::before { content: "["; } .fill::after { content: "]"; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--ground); border-bottom: 1px solid var(--rule); }
.head-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.85rem; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.wm-name { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.2em; text-transform: uppercase; }
.wm-sub { font-family: var(--text); font-size: 0.72rem; letter-spacing: 0.44em; text-transform: uppercase; margin-top: 0.32rem; color: var(--ink-soft); padding-left: 0.12em; }
.nav-main { display: flex; align-items: center; gap: 0.75rem; }
.nav-main a:not(.btn) { white-space: nowrap; text-decoration: none; font-variant-caps: all-small-caps; letter-spacing: 0.065em; font-size: 1.08rem; padding-block: 0.25rem; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav-main a:not(.btn):hover, .nav-main a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-mobile { display: none; }
.nav-mobile summary { list-style: none; cursor: pointer; font-variant-caps: all-small-caps; letter-spacing: 0.11em; font-size: 1.08rem; border: 1px solid var(--ink); border-radius: 2px; padding: 0.3rem 0.95rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--ink); color: var(--ground); }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; padding: 0.25rem var(--gutter) 1.25rem; }
.nav-mobile nav a { padding-block: 0.6rem; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: var(--display); font-size: 1.4rem; }
.nav-mobile nav a[aria-current="page"] { font-style: italic; }
.nav-mobile nav .btn { margin-top: 1rem; align-self: flex-start; border-bottom: 1px solid var(--ink); font-family: var(--text); font-size: 1.08rem; }
@media (max-width: 1280px) { .nav-main { display: none; } .nav-mobile { display: block; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--ink); color: var(--ground); border: 1px solid var(--ink); border-radius: 2px;
  text-decoration: none; font-variant-caps: all-small-caps; letter-spacing: 0.1em; font-size: 1.1rem; line-height: 1.2;
  padding: 0.72em 1.35em; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.btn-sm { padding: 0.45em 1em; font-size: 1.04rem; }
.btn-inv { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.btn-inv:hover { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }
.more { font-variant-caps: all-small-caps; letter-spacing: 0.1em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.1em; }
.more::after { content: " →"; }
.phone { font-variant-numeric: lining-nums; white-space: nowrap; }

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); }
.hero-text { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.hero-text h1 { max-width: 13ch; font-size: clamp(2.6rem, 1.4rem + 4vw, 4.5rem); }
.lede { font-size: 1.3rem; line-height: 1.55; max-width: 54ch; }
.hero-fig { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.frame { border: 1px solid var(--rule); background: var(--ground); padding: 0.5rem; }
.vsp { display: block; width: 100%; height: auto; }
.tjr-fig { margin: 2rem 0; max-width: 720px; }
.vsp-pair { display: grid; gap: 0.5rem; }
.vsp-item { position: relative; }
.vsp-item + .vsp-item { border-top: 1px solid var(--rule); padding-top: 0.5rem; }
.vsp-tag { position: absolute; bottom: 0.7rem; left: 0.75rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #3F5A49; }
@media (max-width: 880px) { .vsp-pair { max-width: 460px; } }
figcaption { font-size: 0.98rem; line-height: 1.45; color: var(--quiet); font-style: italic; max-width: 52ch; }
@media (max-width: 880px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Cephalometric tracing */
.tracing { display: block; width: 100%; height: auto; max-width: 100%; }
.tracing .grid line { stroke: var(--rule); stroke-width: 0.6; }
.tracing .plane { stroke: var(--ink-soft); stroke-width: 0.9; fill: none; }
.tracing .ref { stroke: var(--ink-soft); stroke-width: 0.9; fill: none; stroke-dasharray: 2 3; }
.tracing .bone { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tracing .soft { stroke: var(--ink); stroke-width: 1.3; fill: none; stroke-linecap: round; }
.tracing .plan { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-dasharray: 5 4; stroke-linecap: round; animation: march 3.2s linear infinite; }
.tracing .pt { fill: var(--ink); stroke: none; }
.tracing .ptp { fill: var(--ground); stroke: var(--ink); stroke-width: 1.2; }
.tracing text { fill: var(--quiet); font-family: var(--text); font-size: 13px; letter-spacing: 0.04em; }
.tracing .meas { fill: var(--ink); font-size: 14px; }
.tracing .key { fill: var(--ink-soft); font-size: 12.5px; }
.tracing .angle { stroke: var(--ink); stroke-width: 1.1; fill: none; }
@keyframes march { to { stroke-dashoffset: -18; } }

/* Photo hero: a light plate that matches the studio backdrop in both themes */
.hero-photo { --ink: var(--plate-ink); --ink-soft: var(--plate-soft); --quiet: var(--plate-soft); --ground: var(--plate-light); position: relative; background: var(--plate); color: var(--ink); overflow: hidden; }
.hero-pic { position: absolute; top: 0; right: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); bottom: 0; display: block; }
.hero-pic img { display: block; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 97%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 97%, transparent 100%); }
.hero-in { position: relative; z-index: 1; display: flex; align-items: center; min-height: clamp(600px, min(58vw, calc(100vh - 110px)), 880px); min-height: clamp(600px, min(58vw, calc(100svh - 110px)), 880px); padding-block: 3.5rem; }
.hero-photo .hero-text { max-width: 36rem; }
.hero-photo .lede { max-width: 34rem; }
@media (max-width: 900px) {
  .hero-photo { display: flex; flex-direction: column; }
  .hero-in { min-height: 0; padding-block: 2.5rem 2rem; }
  .hero-pic { position: static; order: 2; }
  .hero-pic img { width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Portrait photos */
.photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.photo-lg { max-width: 420px; justify-self: end; }
@media (max-width: 880px) { .photo-lg { justify-self: start; max-width: 360px; } }

.sec-full .sec-body { grid-column: 1 / -1; }
.family-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.family-text { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.family-split .influences { grid-template-columns: minmax(0, 1fr); }
.photo-square { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; background: var(--surface); }
@media (max-width: 880px) {
  .family-split { grid-template-columns: minmax(0, 1fr); }
  .family-split .photo-square { order: 2; max-width: 560px; }
}

.practice-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2rem 3rem; align-items: start; }
.photo-portrait { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.life-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2rem 3rem; align-items: center; }
.photo-life { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
@media (max-width: 880px) { .life-split { grid-template-columns: minmax(0, 1fr); } .photo-life { max-width: 400px; } }
@media (max-width: 880px) {
  .practice-split { grid-template-columns: minmax(0, 1fr); }
  .practice-split .photo-portrait { max-width: 400px; }
}

.surgeon-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 2rem 2.75rem; align-items: start; }
.photo-tall-wrap { display: block; position: sticky; top: 6.5rem; }
.photo-tall { aspect-ratio: 3 / 4; }
@media (max-width: 780px) {
  .surgeon-split { grid-template-columns: minmax(0, 1fr); }
  .photo-tall-wrap { position: static; }
  .photo-tall { aspect-ratio: 4 / 5; }
}

/* Credentials row */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.creds > div { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.1rem 1.25rem 1.25rem 0; min-width: 0; }
.creds > div + div { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.creds dd { font-family: var(--display); font-size: 1.32rem; line-height: 1.25; font-weight: 500; }
.creds > .creds-wide { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
.creds-wide dd { font-size: 1.2rem; line-height: 1.45; }
@media (max-width: 760px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}

/* Sections */
.sec { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 1rem 3rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--rule); }
.creds + .sec, .lead-lines + .sec, .band + .wrap > .sec:first-child { border-top: 0; }
.sec-label { padding-top: 0.6rem; position: sticky; top: 6.5rem; align-self: start; }
.sec-body { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 1em; max-width: var(--measure); }
.prose h2 { margin-bottom: 0.25em; }
.intro { font-size: 1.24rem; line-height: 1.55; max-width: var(--measure); }
@media (max-width: 880px) {
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec-label { position: static; padding-top: 0; }
}

/* Practice areas index */
.areas { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.areas li { border-bottom: 1px solid var(--rule); }
.areas a { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) minmax(0, 11.5rem) 1.5rem; gap: 0.5rem 2rem; align-items: baseline; padding: 1.4rem 0.5rem; text-decoration: none; transition: background 0.2s; }
.areas a::after { content: "→"; font-family: var(--display); font-size: 1.5rem; line-height: 1; transition: transform 0.2s; justify-self: end; }
.areas a:hover { background: var(--surface); }
.areas a:hover::after { transform: translateX(4px); }
.area-name { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; font-weight: 500; }
.area-terms { font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--quiet); font-size: 1.08rem; line-height: 1.35; }
@media (max-width: 1000px) {
  .areas a { grid-template-columns: minmax(0, 1fr) 1.5rem; }
  .areas a::after { grid-column: 2; grid-row: 1; }
  .area-desc, .area-terms { grid-column: 1 / -1; }
}

/* Numbered stages */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 0.55rem; padding: 1.25rem 1.25rem 0 0; min-width: 0; }
.steps li + li { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 500; color: var(--ink-soft); font-variant-numeric: lining-nums; }
.steps h3 { font-size: 1.3rem; }
.steps p { font-size: 1.03rem; line-height: 1.5; }
.steps.v { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
@media (max-width: 1100px) { .steps { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 1100px) {
  .steps li, .steps li + li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0.35rem 1rem; padding: 1.15rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .steps li::before { grid-row: 1 / span 2; }
}
.steps.v li, .steps.v li + li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0.35rem 1rem; padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
.steps.v li::before { grid-row: 1 / span 2; }
.steps.v p { font-size: 1.08rem; line-height: 1.55; max-width: var(--measure); }
.steps.v h3 { font-size: 1.45rem; }

/* Dark band */
.band { background: var(--band); color: var(--band-ink); }
.band .sec-label, .band .label, .band .eyebrow { color: var(--band-soft); }
.band-in { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 1rem 3rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
.band :focus-visible { outline-color: var(--band-ink); }
.promises { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.promises li { display: flex; flex-direction: column; gap: 0.35rem; padding-block: 1.1rem 1.3rem; border-top: 1px solid var(--band-rule); }
.promises h3 { font-size: 1.45rem; }
.promises p { font-size: 1.06rem; }
.band-note { font-size: 1.05rem; }
.band-note a { color: var(--band-ink); }
@media (max-width: 880px) { .band-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Surgeon split and portraits */
.split { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 2.75rem; align-items: start; }
.split-fig { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
@media (max-width: 780px) { .split, .split-fig { grid-template-columns: minmax(0, 1fr); } }
.portrait {
  aspect-ratio: 4 / 5; width: 100%; max-width: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.3rem; padding: 1.1rem;
  border: 1px solid var(--rule);
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.portrait span { font-variant-caps: all-small-caps; letter-spacing: 0.14em; font-size: 1.15rem; color: var(--ink); background: var(--surface); align-self: flex-start; padding: 0 0.3em; }
.portrait small { font-size: 0.92rem; line-height: 1.4; color: var(--quiet); font-style: italic; background: var(--surface); padding: 0.1em 0.3em; }
.portrait-lg { max-width: 420px; justify-self: end; }

/* Interior page hero */
.page-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: 3rem; align-items: end; padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem); }
.ph-text { display: flex; flex-direction: column; gap: 1.3rem; min-width: 0; }
.ph-text h1 { max-width: 16ch; }
.about-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.glance { border-top: 1px solid var(--ink); min-width: 0; }
.glance > .label { padding-block: 0.7rem 0.2rem; }
.glance dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 1rem; padding-block: 0.7rem; border-bottom: 1px solid var(--rule); }
.glance dt { font-size: 1.06rem; }
.glance dd { font-size: 1.04rem; line-height: 1.4; }
@media (max-width: 880px) {
  .page-hero, .about-hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .portrait-lg { justify-self: start; max-width: 360px; }
}

/* Definition lists */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.facts > div { display: flex; flex-direction: column; gap: 0.2rem; padding-block: 0.9rem; border-top: 1px solid var(--rule); min-width: 0; }
.facts dd { font-family: var(--display); font-size: 1.32rem; line-height: 1.3; font-weight: 500; }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.terms { display: flex; flex-direction: column; border-top: 1px solid var(--ink); max-width: 54rem; }
.terms > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 0.4rem 2rem; padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.terms dt { font-family: var(--display); font-variant-caps: normal; letter-spacing: 0; font-size: 1.42rem; line-height: 1.2; color: var(--ink); font-weight: 500; }
.terms dd { font-size: 1.06rem; line-height: 1.55; }
@media (max-width: 720px) { .terms > div { grid-template-columns: minmax(0, 1fr); } }

/* Timeline */
.timeline { list-style: none; padding: 0; border-top: 1px solid var(--ink); max-width: 50rem; }
.timeline li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 1.5rem; padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.t-when { font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--ink-soft); font-variant-numeric: lining-nums tabular-nums; padding-top: 0.08em; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; } }

/* Lists */
.list { list-style: none; padding: 0; display: flex; flex-direction: column; max-width: var(--measure); border-top: 1px solid var(--rule); }
.list li { position: relative; padding: 0.6rem 0 0.6rem 1.5rem; border-bottom: 1px solid var(--rule); }
.list li::before { content: ""; position: absolute; left: 0.15rem; top: 1.22em; width: 0.6rem; height: 1px; background: var(--ink); }
.list.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; max-width: none; border-top: 0; }
.list.cols li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
@media (max-width: 680px) {
  .list.cols { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
  .list.cols li:nth-child(2) { border-top: 0; }
  .list.cols li:nth-child(1) { border-top: 0; }
}

/* Approach pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 1px solid var(--ink); }
.pillars > div { display: flex; flex-direction: column; gap: 0.45rem; padding-top: 1.2rem; min-width: 0; }
.pillars h3 { font-size: 1.6rem; font-weight: 500; }
.pillars p { font-size: 1.06rem; line-height: 1.55; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars > div { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
}

/* Family influences */
.influences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.influences h3 { font-size: 1.55rem; font-weight: 500; }
@media (max-width: 960px) { .influences { grid-template-columns: minmax(0, 1fr); } }

/* Callout */
.note { background: var(--surface); border-top: 2px solid var(--ink); padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; max-width: var(--measure); }
.note h3 { font-size: 1.5rem; }

/* FAQs: questions and answers visible at rest */
.faqs { border-top: 1px solid var(--ink); max-width: 54rem; }
.faq { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 0.4rem 2rem; padding-block: 1.15rem; border-bottom: 1px solid var(--rule); }
.faq h3 { font-size: 1.38rem; font-weight: 500; }
.faq p { font-size: 1.06rem; line-height: 1.55; }
@media (max-width: 720px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Referring grid */
.refgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.refcol { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.refcol h3 { font-size: 1.5rem; }
@media (max-width: 980px) { .refgrid { grid-template-columns: minmax(0, 1fr); } }

/* Offices and contact */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--ink); }
.office { display: flex; flex-direction: column; gap: 0.45rem; padding-block: 1.2rem; min-width: 0; }
.office h3 { font-size: 1.85rem; font-weight: 500; }
.addr { font-variant-numeric: lining-nums; }
.county { font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--quiet); }
.offices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offices + .prose { margin-top: 1rem; }
.office-note { margin: 0.25rem 0 1.25rem; }
@media (max-width: 760px) { .offices { grid-template-columns: minmax(0, 1fr); } .office + .office { border-top: 1px solid var(--rule); } }
.hospitals { display: flex; flex-direction: column; gap: 0.4rem; border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.contact-lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.contact-lines > div { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.25rem 1.15rem 0; min-width: 0; }
.contact-lines > div + div { padding-left: 1.25rem; border-left: 1px solid var(--rule); }
.big { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); line-height: 1.25; font-weight: 500; font-variant-numeric: lining-nums; text-decoration: none; overflow-wrap: anywhere; }
a.big:hover { text-decoration: underline; }
.lead-lines { margin-bottom: 0.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 820px) {
  .contact-lines { grid-template-columns: minmax(0, 1fr); }
  .contact-lines > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
}

/* Form placeholder */
.form-embed { max-width: 760px; border-top: 1px solid var(--ink); padding-top: 0.5rem; }
.form-embed iframe { display: block; width: 100%; height: 1050px; border: 0; background: #fff; }
@media (max-width: 640px) { .form-embed iframe { height: 1200px; } }
.formslot { border: 1px dashed var(--ink-soft); background: var(--surface); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; max-width: var(--measure); }

/* Closing band */
.cta-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-in > div:first-child { display: flex; flex-direction: column; gap: 0.7rem; max-width: 40rem; min-width: 0; }
.link-inv { color: var(--band-ink); font-variant-caps: all-small-caps; letter-spacing: 0.1em; font-size: 1.1rem; }

/* Footer */
.site-foot { background: var(--surface); border-top: 1px solid var(--rule); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.foot-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.7rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.tagline { font-style: italic; color: var(--ink-soft); }
.foot-contact { display: flex; flex-direction: column; gap: 0.15rem; font-variant-numeric: lining-nums; }
.foot-legal { display: flex; flex-direction: column; gap: 0.35rem; border-top: 1px solid var(--rule); padding-block: 1.4rem 2rem; font-size: 0.95rem; color: var(--quiet); }
.foot-legal .lic { color: var(--ink); }
@media (max-width: 880px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Build notes */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.seo { border-collapse: collapse; width: 100%; min-width: 820px; font-size: 1rem; line-height: 1.45; }
.seo th, .seo td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.seo th { font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 500; }
.seo code { font-family: var(--mono); font-size: 0.82rem; }
.seo .n { font-variant-numeric: lining-nums tabular-nums; color: var(--quiet); white-space: nowrap; }
.filllist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.filllist > div { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.filllist h3 { font-size: 1.35rem; }
.filllist h3 a { text-decoration: none; }
@media (max-width: 720px) { .filllist { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Smooth cross-page navigation: a short cross-fade between pages; the header stays put.
   Supported in Chrome, Edge, and Safari; other browsers navigate normally. */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Medical review line on procedure pages */
.reviewed { margin: 0; font-size: 0.95rem; color: var(--quiet); letter-spacing: 0.01em; }
.reviewed a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.reviewed a:hover { color: var(--ink); }
.reviewed .rv-date { white-space: nowrap; }

/* photo guide diagram */
.photo-setup { margin: 0 0 1.5rem; max-width: 640px; color: var(--ink); }
.photo-setup svg { display: block; width: 100%; height: auto; }
.photo-setup .ps-line { fill: none; stroke: currentColor; stroke-width: 1.6; }
.photo-setup .ps-soft { stroke: var(--ink-soft); }
.photo-setup .ps-floor { stroke: var(--rule); stroke-width: 1.2; }
.photo-setup .ps-wall { fill: var(--rule); }
.photo-setup .ps-dash { stroke: var(--ink-soft); stroke-width: 1.2; stroke-dasharray: 5 5; }
.photo-setup .ps-label { fill: currentColor; font-family: var(--text); font-size: 21px; }
.photo-setup .ps-note { fill: var(--quiet); font-family: var(--text); font-size: 16px; letter-spacing: 0.02em; }

/* long button labels wrap instead of overflowing on narrow phones */
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }

/* first-person note on the About page */
.personal-note { margin: 0; max-width: 40rem; padding-left: 1.5rem; border-left: 2px solid var(--ink); }
.personal-note p { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem); line-height: 1.4; margin: 0; }
.personal-note footer { margin-top: 1rem; font-variant-caps: all-small-caps; letter-spacing: 0.1em; color: var(--ink-soft); font-size: 1.05rem; }
