:root {
  --blue: #356da0;
  --navy: #183449;
  --ink: #183449;
  --text: #40515b;
  --muted: #61727c;
  --line: #dfe5e5;
  --bg: #f8f7f3;
  --paper: #ffffff;
  --teal: #386b67;
  --header: 84px;
  --shadow: 0 12px 32px rgba(24, 52, 73, 0.05);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --reveal: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
ul { margin: 0; padding: 0; }

::selection { background: rgba(53, 109, 160, 0.16); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.lead { max-width: 40em; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.header-bar {
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}

.brand img { height: 46px; width: auto; }
.brand strong { display: block; font-size: 18px; line-height: 1.15; font-weight: 650; }
.brand small { display: block; color: var(--muted); font-size: 12px; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 12px;
}

.hero { padding: 56px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.18;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero .lede {
  margin-top: 16px;
  max-width: 38em;
  font-size: 17px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--navy);
  border-radius: 4px;
}

.btn-line {
  background: #fff;
  color: var(--ink);
  border-color: #cfd8e6;
}

.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: 460px; object-fit: cover; }
.hero-photo figcaption, .note { margin-top: 8px; color: var(--muted); font-size: 13px; }

.facts { margin-top: -36px; position: relative; z-index: 2; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact { padding: 18px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; color: var(--ink); font-size: 18px; font-weight: 650; line-height: 1.35; }
.fact span { color: var(--muted); font-size: 13px; }

.section { padding: 84px 0; }
.section-alt { background: var(--bg); }

.section h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head a { color: var(--blue); font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.principles { display: grid; gap: 12px; }
.principles article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 18px;
}
.principles strong { display: block; color: var(--ink); margin-bottom: 4px; }
.principles p { color: var(--muted); font-size: 14px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: card;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 168px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.section-alt .card { background: #fff; }
.card:hover { border-color: #c5d4ee; box-shadow: var(--shadow); }
.card { counter-increment: card; }
.card em { color: var(--blue); font-style: normal; font-size: 12px; letter-spacing: 0.12em; }
.card em:empty::before { content: counter(card, decimal-leading-zero); }
.card strong { font-size: 20px; font-weight: 650; }
.card span { color: var(--muted); font-size: 14px; line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { padding: 18px 16px; background: #fff; border-top: 2px solid var(--blue); }
.step b { display: block; color: var(--blue); font-size: 12px; letter-spacing: 0.14em; }
.step strong { display: block; margin: 8px 0 6px; color: var(--ink); }
.step p { color: var(--muted); font-size: 14px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery figure { margin: 0; position: relative; background: var(--bg); border-radius: 14px; overflow: hidden; }
.gallery img { width: 100%; height: 300px; object-fit: cover; object-position: center 28%; }
.gallery figure.span2 { grid-column: span 2; }
.gallery.papers img { height: 230px; object-fit: contain; object-position: center; background: #f6f4f0; padding: 8px; }
.equip-shot { margin: 22px 0 0; background: #fff; border-radius: 14px; overflow: hidden; }
.equip-shot img { width: 100%; height: auto; display: block; }
.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(12, 23, 48, 0.72);
  color: #fff;
  font-size: 13px;
  padding: 4px 8px;
}

.list { display: grid; gap: 12px; }
.list-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.list-item time { color: var(--muted); font-size: 13px; }
.list-item strong { font-size: 18px; font-weight: 650; }
.list-item span { grid-column: 2; color: var(--muted); font-size: 14px; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.case-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}
.case-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f6f4f0;
}
.case-card strong { display: block; padding: 12px 14px 14px; font-size: 16px; }
.case-photo { margin: 12px 0 18px; }
.case-photo img { width: 100%; height: auto; background: #f6f4f0; border-radius: 14px; }
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
}
.video-card video,
.case-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}
.case-player { margin: 16px 0 8px; }
.video-card h2,
.video-card h3 {
  margin: 14px 16px 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}
.video-card h2 a,
.video-card h3 a { color: inherit; text-decoration: none; }
.video-card p { margin: 0 16px 16px; color: var(--muted); font-size: 14px; }

.contact-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 28px;
  background: var(--navy);
  color: #e7eefc;
}
.contact-band h2 { color: #fff; font-size: 30px; margin: 8px 0 12px; }
.contact-band p { margin: 0 0 8px; }
.contact-band a:not(.btn) { color: #fff; }
.contact-band .btn { background: #fff; color: var(--navy); border-color: #fff; }

.pagehead {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 28px;
}
.pagehead h1 {
  margin: 8px 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 650;
}
.crumb, .crumb a { color: var(--muted); text-decoration: none; font-size: 14px; }

.page { padding: 36px 0 72px; }
.prose { max-width: 760px; }
.about-page { max-width: 920px; }
.content h2 { margin: 1.5em 0 0.45em; color: var(--ink); font-size: 24px; font-weight: 650; }
.content h3 { margin: 1.35em 0 0.35em; color: var(--ink); font-size: 18px; font-weight: 650; }
.content img { width: 100%; height: auto; margin: 12px 0 6px; }
.content p, .content li { margin: 0 0 0.9em; }
.content .steps { margin: 8px 0 28px; grid-template-columns: 1fr; }
.content .step p { margin: 0; }
.content .shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin: 18px 0 28px;
}
.content .shot-grid.single { grid-template-columns: minmax(0, 460px); }
.content .shot-grid.certs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.content .shot-grid.certs .shot.doc img { height: 210px; }
.content .shot { margin: 0; min-width: 0; }
.content .shot img {
  width: 100%;
  height: 280px;
  margin: 0;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #eef2f7;
}
.content .shot.wide { grid-column: 1 / -1; }
.content .shot.wide img {
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: transparent;
}
.content .shot.panorama img { height: 230px; object-fit: cover; object-position: center; }
.content .shot.portrait img {
  object-fit: cover;
  object-position: center 18%;
  height: 340px;
  padding: 0;
  background: #eef2f7;
}
.content .shot.doc img {
  object-fit: contain;
  object-position: center;
  height: 380px;
  padding: 12px;
  background: #f6f4f0;
}
.content .shot figcaption {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .content .shot-grid,
  .content .shot-grid.single,
  .content .shot-grid.certs { grid-template-columns: 1fr 1fr; }
  .content .shot.wide { grid-column: auto; }
  .content .shot img { height: 240px; }
  .content .shot.wide img,
  .content .shot.panorama img { height: auto; }
  .content .shot.portrait img { height: 300px; }
  .content .shot.doc img { height: 320px; }
}
.content ul { padding-left: 1.2em; }
.content li { margin-bottom: 0.4em; }

.notice {
  max-width: 760px;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--bg);
  border-left: 3px solid var(--blue);
}
.notice p { margin: 0 0 8px; }
.notice p:last-child { margin: 0; }

.form { display: grid; gap: 8px; max-width: 560px; margin-top: 8px; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  border-radius: 4px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; margin-top: 8px; }

.pager { margin-top: 28px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination a, .page-num {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 10px;
  text-decoration: none;
}
.page-num-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { color: var(--muted); }

.pager-text { margin-top: 28px; color: var(--muted); }
.pager-text a { color: var(--blue); }

.site-footer {
  background: var(--navy);
  color: #d5deee;
  padding: 42px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
}
.site-footer img { width: 64px; height: auto; }
.site-footer p { margin: 0 0 8px; font-size: 14px; }
.site-footer a { color: #fff; }
.legal { color: #a9b6cc; font-size: 13px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .hero-grid, .split, .fact-grid, .steps, .contact-band, .gallery, .footer-grid, .list-item {
    grid-template-columns: 1fr;
  }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery, .case-grid { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 200px; }
  .gallery.papers img { height: 160px; }
  .hero-photo img { height: 280px; }
  .list-item span { grid-column: 1; }
  .section-head { flex-direction: column; align-items: start; }
}

.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--blue); }

.btn, .brand img, .card, .list-item, .principles article, .step {
  transition: transform .5s var(--reveal), box-shadow .5s var(--reveal), border-color .3s var(--reveal), background .3s var(--reveal), color .3s var(--reveal), height .25s var(--reveal);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.card:hover, .list-item:hover, .principles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Home: editorial layouts, visible without JavaScript. Shared shell stays in shell.css. */
.home { background: var(--paper); }
.home *, .home *::before, .home *::after { min-width: 0; }
.home h1, .home h2, .home-intro {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}
.home h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.5; letter-spacing: .025em; }
.home h3 { color: var(--ink); font-weight: 500; }
.home .kicker { font-size: 11px; letter-spacing: .13em; line-height: 1.8; margin-bottom: 18px; }
.home [id] { scroll-margin-top: calc(var(--header) + 24px); }
.home .btn { gap: 24px; border-radius: 2px; font-size: 14px; min-height: 48px; background: var(--blue); border-color: var(--blue); padding: 10px 20px; }
.home .btn-line { background: transparent; color: var(--ink); border-color: #c8d3d7; }
.home .btn:hover { background: #285b89; border-color: #285b89; transform: none; }
.home .btn-line:hover { background: #eef3f4; color: var(--ink); border-color: var(--blue); }
.text-link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; color: var(--blue); font-size: 13px; text-decoration: none; }
a.text-link:hover, a:hover > .text-link { text-decoration: underline; text-underline-offset: 6px; }

.home-hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); background: var(--bg); }
.home-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px 40px 52px max(24px, calc((100vw - 1240px) / 2)); }
.home-hero h1 { font-size: clamp(38px, 3.9vw, 56px); line-height: 1.45; letter-spacing: .015em; }
.home-hero-lede { margin-top: 26px; font-size: 15px; line-height: 2; color: var(--muted); }
.home .hero-actions { margin-top: 30px; gap: 12px; }
.home-location { margin-top: 38px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.home-location > span:last-child { padding-left: 19px; }
.home-hero-photo { margin: 0; display: flex; flex-direction: column; background: #e9eae4; }
.home-hero-photo img { flex: 1 1 auto; width: 100%; height: clamp(520px, 42vw, 600px); object-fit: cover; object-position: center 48%; }
.home-hero-photo figcaption { flex: none; }
.home-hero-photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 17px 28px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.8; }
.home-hero-photo figcaption > span:last-child { color: #cad7dd; }
.home-directions { border-bottom: 1px solid var(--line); background: #fff; }
.home-directions .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-directions a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 23px 28px; border-right: 1px solid var(--line); font-size: 14px; color: var(--ink); text-decoration: none; }
.home-directions a:first-child { border-left: 1px solid var(--line); }
.home-directions a > span { color: var(--blue); }
.home-directions a:hover { background: var(--bg); color: var(--blue); }

.home-section { padding: 96px 0; }
.home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 42px; }
.home-head-aside { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.home-head-aside .text-link { margin-top: 12px; }
.home-services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: service; }
.service-item { position: relative; display: flex; flex-direction: column; padding: 28px 30px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; counter-increment: service; transition: background .2s ease; }
.service-mark { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; color: var(--blue); }
.service-mark::before { content: counter(service, decimal-leading-zero); font-size: 12px; letter-spacing: .12em; }
.service-mark::after { content: ""; width: 32px; height: 1px; background: #b2c7d4; }
.service-item h3 { font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
.service-item p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-bottom: 18px; }
.service-more { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; margin-top: auto; font-size: 12px; color: var(--blue); }
.service-item:hover { background: var(--bg); }

.home-philosophy { background: var(--bg); }
.home-editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); }
.home-editorial-title .text-link { margin-top: 26px; }
.home-editorial-body { padding-top: 4px; }
.home-intro { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.7; margin-bottom: 22px; }
.home-editorial-body > p:not(.home-intro) { color: var(--muted); font-size: 15px; line-height: 2; }
.home-principles { margin-top: 30px; border-top: 1px solid var(--line); }
.home-principles article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.home-principles article > span { padding-top: 3px; font-size: 11px; color: var(--blue); }
.home-principles h3 { font-size: 16px; margin-bottom: 6px; }
.home-principles p { color: var(--muted); font-size: 13px; line-height: 1.9; }

.home-doctors { background: #fff; }
.doctor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doctor-profile { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1.5fr); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease; }
.doctor-nameplate { display: flex; align-items: center; justify-content: center; padding: 30px 20px; font-family: var(--serif); font-size: 30px; letter-spacing: .1em; color: var(--ink); background: #eef2ef; border-right: 1px solid var(--line); writing-mode: vertical-rl; line-height: 1.7; }
.doctor-copy { padding: 26px 28px 20px; }
.doctor-label { font-size: 11px; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.doctor-copy h3 { font-family: var(--serif); font-size: 25px; line-height: 1.5; }
.doctor-subtitle { color: var(--blue); font-size: 13px; margin-top: 6px; }
.doctor-description { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.doctor-copy .text-link { margin-top: 14px; }
.doctor-profile:hover { border-color: var(--blue); }

.home-environment { background: var(--bg); }
.home-space-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.home-space-grid figure { margin: 0; }
.home-space-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; background: #e9ece7; }
.home-space-grid figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; color: var(--ink); font-size: 14px; }
.home-space-grid small { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.home-archive { margin-top: 40px; border-top: 1px solid #cfd8d6; border-bottom: 1px solid #cfd8d6; }
.home-archive summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 16px 0; list-style: none; cursor: pointer; color: var(--ink); font-size: 14px; }
.home-archive summary::-webkit-details-marker { display: none; }
.home-archive summary small { margin-left: 18px; color: var(--muted); font-size: 12px; }
.home-archive summary:hover { color: var(--blue); }
.archive-toggle { position: relative; flex: none; width: 28px; height: 28px; }
.archive-toggle::before, .archive-toggle::after { content: ""; position: absolute; background: currentColor; }
.archive-toggle::before { width: 14px; height: 1px; left: 7px; top: 13px; }
.archive-toggle::after { width: 1px; height: 14px; top: 7px; left: 13px; }
.home-archive[open] .archive-toggle::after { display: none; }
.home-archive:not([open]) > .archive-body { display: none; }
.archive-body { padding: 0 0 30px; }
.archive-notice { padding: 18px 20px; border-left: 2px solid var(--blue); background: #fff; color: var(--muted); font-size: 13px; line-height: 1.9; }
.archive-body h3 { margin: 28px 0 16px; font-size: 17px; }
.archive-caption { margin: -4px 0 18px; font-size: 13px; color: var(--muted); }
.archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.archive-grid figure { margin: 0; }
.archive-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: #eeede7; }
.archive-grid figcaption { padding-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.archive-papers img { aspect-ratio: 4 / 3; padding: 8px; background: #fff; border: 1px solid var(--line); }

.home-visit { background: #fff; }
.visit-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.visit-steps li { padding: 22px 24px 12px 0; border-top: 1px solid #a9c0ce; }
.visit-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.visit-steps li > span { font-size: 12px; letter-spacing: .12em; color: var(--blue); }
.visit-steps h3 { font-size: 18px; margin: 18px 0 10px; }
.visit-steps p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.visit-note { margin-top: 26px; font-size: 12px; color: var(--muted); }

.home-journal { background: var(--bg); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.journal-item { display: flex; flex-direction: column; padding: 24px 0 12px; border-top: 1px solid #b8c8cd; text-decoration: none; }
.journal-item time { color: var(--muted); font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.journal-item h3 { font-size: 21px; line-height: 1.65; margin: 16px 0 12px; }
.journal-item p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.journal-item .text-link { margin-top: auto; }
.journal-item:hover h3 { color: var(--blue); }
.home-local { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.home-local .kicker { margin-bottom: 10px; }
.home-local h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.local-links { display: grid; align-content: start; }
.local-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; }
.local-links a > span:last-child { color: var(--blue); }
.local-links a:hover { color: var(--blue); }

.home-contact { padding: 80px 0; background: #edf2f2; border-top: 1px solid var(--line); }
.home-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.home-contact h2 { margin-bottom: 22px; }
.home-contact-grid > div > p:not(.kicker) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.home-contact .btn { margin-top: 28px; }
.home-contact-details { border-left: 1px solid #ccd8db; padding-left: 60px; }
.home-contact-details .contact-label { margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.home-phone, .home-mobile { display: block; width: fit-content; min-height: 44px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.home-phone { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: .025em; line-height: 1.6; }
.home-mobile { font-size: 20px; line-height: 2; }
.home-phone:hover, .home-mobile:hover { color: var(--blue); }
.home-contact-address { margin-top: 20px; color: var(--text); font-size: 13px; line-height: 2; }
.home-contact-address p + p { margin-top: 4px; }
.home-contact-details .contact-disclaimer { margin-top: 22px; color: var(--muted); font-size: 12px; line-height: 1.9; }

/* Retained inner-page figures have no reveal or loading-mask dependency. */
.gallery figcaption, .hero-photo figcaption, .content .shot figcaption { z-index: 4; }
.hero-photo, .equip-shot, .content .shot, .gallery figure { position: relative; }

@media (max-width: 1180px) {
  .home-hero-copy { padding: 44px 28px 40px 24px; }
  .home .hero-actions { gap: 10px; }
  .home .btn { gap: 16px; padding-inline: 16px; }
  .home-section { padding-block: 76px; }
  .doctor-copy { padding: 24px 22px 18px; }
  .home-contact-grid { gap: 48px; }
  .home-contact-details { padding-left: 40px; }
}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-copy { padding: 52px max(24px, calc((100vw - 720px) / 2)); }
  .home-hero h1 { font-size: 46px; }
  .home-hero-photo img { height: 440px; object-position: center 48%; }
  .home-location { margin-top: 26px; }
  .home-directions a { padding: 20px 16px; }
  .home-section-head { gap: 24px; }
  .home-head-aside { max-width: 300px; font-size: 13px; }
  .service-item { padding: 22px 20px 16px; }
  .service-item h3 { font-size: 19px; }
  .home-editorial { gap: 36px; }
  .doctor-profile { grid-template-columns: 86px minmax(0, 1fr); }
  .doctor-nameplate { font-size: 25px; padding: 24px 16px; }
  .doctor-copy { padding: 20px 18px 14px; }
  .doctor-description { font-size: 12px; }
  .visit-steps li { padding-right: 14px; }
  .visit-steps li + li { padding-left: 14px; }
  .journal-grid { gap: 22px; }
  .journal-item h3 { font-size: 19px; }
  .home-contact { padding-block: 64px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .home [id] { scroll-margin-top: 92px; }
  .home-section { padding-block: 52px; }
  .home h2 { font-size: 29px; line-height: 1.5; }
  .home .kicker { font-size: 10px; letter-spacing: .09em; margin-bottom: 14px; }
  .home-hero-copy { padding: 38px 20px 30px; }
  .home-hero h1 { font-size: clamp(30px, 8.7vw, 42px); line-height: 1.45; }
  .home-hero-lede { font-size: 14px; line-height: 1.9; margin-top: 20px; }
  .desktop-break { display: none; }
  .home .hero-actions { margin-top: 24px; }
  .home .btn { font-size: 13px; padding-inline: 14px; gap: 16px; min-height: 46px; }
  .home-location { margin-top: 24px; font-size: 11px; }
  .home-hero-photo img { height: clamp(280px, 78vw, 400px); }
  .home-hero-photo figcaption { flex-wrap: wrap; gap: 2px 16px; padding: 12px 20px; font-size: 10px; }
  .home-directions .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-directions a { padding: 15px 16px; font-size: 13px; }
  .home-directions a:nth-child(3) { border-left: 1px solid var(--line); }
  .home-directions a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .home-section-head { display: block; margin-bottom: 28px; }
  .home-head-aside { margin-top: 18px; max-width: none; font-size: 13px; }
  .home-head-aside .text-link { margin-top: 4px; }
  .home-section-head > .text-link { margin-top: 12px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-item { padding: 18px 16px 12px; }
  .service-mark { margin-bottom: 12px; }
  .service-mark::after { width: 20px; }
  .service-item h3 { font-size: 18px; margin-bottom: 8px; }
  .service-item p { font-size: 12px; line-height: 1.85; margin-bottom: 10px; }
  .service-more { font-size: 11px; }
  .home-editorial { grid-template-columns: 1fr; gap: 28px; }
  .home-editorial-title .text-link { margin-top: 12px; }
  .home-intro { font-size: 24px; margin-bottom: 16px; }
  .home-editorial-body > p:not(.home-intro) { font-size: 14px; }
  .home-principles { margin-top: 24px; }
  .home-principles article { padding-block: 18px; gap: 12px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 16px; }
  .doctor-profile { grid-template-columns: 100px minmax(0, 1fr); }
  .doctor-copy { padding: 22px 20px 16px; }
  .doctor-nameplate { font-size: 28px; }
  .doctor-copy h3 { font-size: 24px; }
  .doctor-copy .text-link { margin-top: 8px; }
  .home-space-grid { gap: 22px 14px; }
  .home-space-grid figcaption { display: block; font-size: 13px; padding-top: 10px; }
  .home-space-grid small { display: block; margin-top: 4px; font-size: 9px; }
  .home-archive { margin-top: 28px; }
  .home-archive summary { min-height: 64px; font-size: 13px; }
  .home-archive summary small { display: block; margin: 2px 0 0; font-size: 11px; }
  .archive-notice { padding: 14px 16px; font-size: 12px; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .archive-grid figcaption { font-size: 11px; }
  .archive-caption { font-size: 12px; }
  .visit-steps { grid-template-columns: 1fr; border-top: 1px solid #a9c0ce; }
  .visit-steps li, .visit-steps li + li { display: grid; grid-template-columns: 28px 82px minmax(0, 1fr); gap: 10px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); align-items: baseline; }
  .visit-steps h3 { font-size: 16px; margin: 0; }
  .visit-steps p { font-size: 12px; }
  .visit-note { margin-top: 18px; font-size: 11px; }
  .journal-grid { grid-template-columns: 1fr; gap: 8px; }
  .journal-item { padding: 20px 0 12px; }
  .journal-item h3 { font-size: 20px; margin: 10px 0 8px; }
  .journal-item p { font-size: 13px; margin-bottom: 6px; }
  .home-local { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; padding-top: 28px; }
  .home-local h3 { font-size: 23px; margin-bottom: 4px; }
  .home-contact { padding-block: 48px; }
  .home-contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-contact h2 { margin-bottom: 16px; }
  .home-contact .btn { margin-top: 20px; }
  .home-contact-details { border-left: 0; border-top: 1px solid #ccd8db; padding: 26px 0 0; }
  .home-phone { font-size: 29px; }
  .home-mobile { font-size: 20px; }
  .home-contact-address { margin-top: 16px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .home-hero-copy { padding-inline: 16px; }
  .home-hero h1 { font-size: 30px; }
  .home .hero-actions { gap: 8px; }
  .home .btn { padding-inline: 12px; gap: 10px; font-size: 12px; }
  .home-hero-photo figcaption { padding-inline: 16px; }
  .home h2 { font-size: 26px; }
  .home-section { padding-block: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 6px 10px; padding: 16px 12px; align-items: baseline; }
  .service-mark { grid-column: 1; grid-row: 1; margin: 0; }
  .service-mark::after { display: none; }
  .service-item h3 { grid-column: 2; grid-row: 1; font-size: 17px; margin: 0; }
  .service-item p { grid-column: 2 / -1; margin: 0; }
  .service-more { grid-column: 3; grid-row: 1; min-height: 28px; gap: 6px; }
  .doctor-profile { grid-template-columns: 76px minmax(0, 1fr); }
  .doctor-nameplate { font-size: 24px; padding-inline: 12px; }
  .doctor-copy { padding-inline: 16px; }
  .visit-steps li, .visit-steps li + li { grid-template-columns: 24px minmax(0, 1fr); gap: 4px 10px; padding-block: 14px; }
  .visit-steps p { grid-column: 2; }
  .home-phone { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .card:hover, .list-item:hover, .principles article:hover { transform: none; }
}
