/* 얼굴본성형외과 메인 — 로고 블루가 구역을 통째로 차지하는 흰 바탕 세계 */

:root {
  --blue: #1874b8;
  --blue-600: #135f98;
  --blue-800: #0e3a63;
  --blue-900: #0a2640;
  --night: #061a2d;
  --sky: #dcebf7;
  --mist: #eef3f8;
  --mist-2: #e4ecf4;
  --paper: #ffffff;
  --ink: #14171b;
  --ink-2: #444d57;
  --ink-3: #66707b;
  --line: #d6dee7;
  --line-2: #e7edf3;
  --radius-lg: 32px;
  --radius: 20px;
  --gutter: clamp(16px, 2.6vw, 40px);
  --inset: clamp(10px, 1.6vw, 28px);
  --maxw: 1360px;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #a8c1da var(--mist);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: 0.25em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
table { font-variant-numeric: tabular-nums; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #a8c1da; border-radius: 999px; border: 3px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.br-m { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); box-shadow: 0 12px 24px -14px rgba(19, 95, 152, 0.9); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--sky); box-shadow: 0 14px 26px -16px rgba(10, 38, 64, 0.55); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: 0.9375rem; }
.btn-lg { min-height: 60px; padding: 0 1.8em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  color: var(--ink); transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.icon-btn:hover { background: var(--mist); color: var(--blue); }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 0.35s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-2), 0 16px 30px -26px rgba(10, 38, 64, 0.5); }
.header-inner {
  width: min(100% - 2 * var(--gutter), 1560px); margin-inline: auto;
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}
.brand { flex: none; }
.brand img { width: 190px; height: auto; }
.gnb { align-self: stretch; display: flex; margin-inline: auto; }
.gnb-list { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 40px); }
.gnb-link {
  position: relative; display: block; padding: 10px 2px; white-space: nowrap;
  font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em;
  transition: color 0.25s var(--ease-out);
}
.gnb-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.gnb-item:hover > .gnb-link, .gnb-item:focus-within > .gnb-link, .gnb-item.is-current > .gnb-link { color: var(--blue); }
.gnb-item:hover > .gnb-link::after, .gnb-item:focus-within > .gnb-link::after, .gnb-item.is-current > .gnb-link::after { transform: scaleX(1); }

/* mega menu: pointing at or tabbing into the menu opens every column at once under the header.
   The columns split the content width in eight, each headed by its menu name over an ink rule. */
.site-header { --mega-w: min(100% - 2 * var(--gutter), var(--maxw)); }
.site-header.is-mega { background: #fff; }
.gnb-sub {
  position: absolute; z-index: 2; top: var(--header-h);
  left: calc((100% - var(--mega-w)) / 2 + var(--col) * var(--mega-w) / 8);
  width: calc(var(--mega-w) / 8);
  display: grid; align-content: start; padding: 30px 12px 36px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.45s var(--ease-out), visibility 0s linear 0.25s;
}
.site-header.is-mega .gnb-sub {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s;
}
.gnb-sub-head {
  margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink);
  font-size: 1rem; font-weight: 750; letter-spacing: -0.02em; white-space: nowrap;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.gnb-item:hover .gnb-sub-head, .gnb-item.is-current .gnb-sub-head { color: var(--blue); border-color: var(--blue); }
.gnb-sub a { display: block; padding: 7px 0; font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); transition: color 0.2s var(--ease-out); }
.gnb-sub a:hover { color: var(--blue); }
.gnb-sub a[aria-current="page"] { color: var(--blue); font-weight: 650; }
.mega-bg {
  position: absolute; z-index: 1; left: 0; right: 0; top: var(--header-h); height: var(--mega-h, 460px);
  background: #fff; border-top: 1px solid var(--line-2);
  box-shadow: 0 26px 50px -22px rgba(10, 38, 64, 0.45);
  visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.site-header.is-mega .mega-bg { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease-out), visibility 0s; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.gnb + .header-actions { margin-left: 0; }
.menu-btn { display: none; }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: #fff;
  display: flex; flex-direction: column; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { animation: menu-in 0.45s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mobile-menu-list { margin-top: 12px; border-top: 1.5px solid var(--ink); }
/* one row per menu; each opens its pages in two columns */
.mm-group { border-bottom: 1px solid var(--line-2); }
.mm-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 17px 4px;
  font-size: 1.375rem; font-weight: 700; letter-spacing: -0.03em; text-align: left; color: var(--ink);
  transition: color 0.2s var(--ease-out);
}
.mm-toggle .icon { flex: none; width: 22px; height: 22px; color: var(--ink-3); transition: transform 0.35s var(--ease-out); }
.mm-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm-toggle:hover, .mm-group.is-current .mm-toggle { color: var(--blue); }
.mm-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding: 0 4px 14px; }
.mm-sub[hidden] { display: none; }
.mm-sub a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--ink-2); }
.mm-sub a:hover, .mm-sub a[aria-current="page"] { color: var(--blue); }
.mm-sub a[aria-current="page"] { font-weight: 650; }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero { padding: 0 var(--inset); }
.hero-card {
  --hero-pad: clamp(40px, 6vw, 104px);
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--header-h) - var(--inset));
  min-height: 640px; max-height: 900px;
  border-radius: var(--radius-lg);
  background: var(--blue); color: #fff;
}
.hero-track { display: grid; height: 100%; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: var(--hero-pad); padding-bottom: calc(var(--hero-pad) + 56px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease-out), visibility 0s; z-index: 1; }
.slide[data-theme="blue"] { background: var(--blue); color: #fff; }
.slide[data-theme="navy"] { background: var(--blue-800); color: #fff; }
.slide[data-theme="mist"] { background: var(--mist-2); color: var(--ink); }

.slide-title {
  font-size: clamp(2.25rem, 4.3vw, 4.25rem); line-height: 1.17; font-weight: 750;
  letter-spacing: -0.038em; text-wrap: balance;
}
.slide-text { margin-top: 24px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.65; max-width: 30em; }
.slide .btn-row { margin-top: 40px; }
.slide-copy > * { transition: transform 1s var(--ease-out), opacity 1s var(--ease-out); }
.js .slide:not(.is-active) .slide-copy > * { transform: translateY(26px); opacity: 0; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: 0.08s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: 0.16s; }

.slide-copy { position: relative; z-index: 1; }
.slide-photo {
  position: relative; margin: 0; align-self: end; justify-self: end;
  width: calc(100% + var(--hero-pad)); margin-right: calc(-1 * var(--hero-pad)); margin-bottom: calc(-1 * (var(--hero-pad) + 56px));
  aspect-ratio: 1.02; max-height: calc(100% + var(--hero-pad) + 56px - 32px);
  border-top-left-radius: var(--radius-lg); overflow: hidden; background: #dfe7ef;
}
.slide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.05); transition: transform 1.8s var(--ease-out); }
.slide.is-active .slide-photo img { transform: none; }
.slide[data-theme="navy"] .slide-photo img { object-position: 46% 18%; }
.slide[data-theme="mist"] .slide-photo img { object-position: 42% 22%; }

.thirds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.thirds line { stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 5 7; stroke-linecap: round; }
.slide .thirds { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-out) 0.45s; }
.slide.is-active .thirds { clip-path: inset(0 0 0 0); }

.photo-caption {
  position: absolute; left: 24px; bottom: 24px;
  padding: 12px 18px; border-radius: 20px;
  background: #fff; color: var(--ink); font-size: 0.875rem; line-height: 1.45;
  box-shadow: 0 18px 34px -18px rgba(10, 38, 64, 0.55);
}
.photo-caption strong { display: block; font-size: 1rem; font-weight: 750; letter-spacing: -0.02em; }

.hero-controls {
  position: absolute; z-index: 2; left: var(--hero-pad); bottom: clamp(28px, 3.6vw, 52px);
  display: flex; align-items: center; gap: 12px; color: #fff;
  transition: color 0.6s var(--ease-out);
}
.hero-card[data-active-theme="mist"] .hero-controls { color: var(--ink); }
.ctrl {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid currentColor; color: inherit;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.ctrl .icon { width: 20px; height: 20px; }
.ctrl:hover { background: rgba(255, 255, 255, 0.16); }
.hero-card[data-active-theme="mist"] .ctrl:hover { background: rgba(20, 23, 27, 0.08); }
.ctrl-toggle { border-color: transparent; }
.counter { display: flex; align-items: center; gap: 12px; font-weight: 650; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.counter b { font-weight: 800; }
.counter-bar { position: relative; width: 96px; height: 2px; background: color-mix(in srgb, currentColor 30%, transparent); overflow: hidden; border-radius: 999px; }
.counter-bar span { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }

/* ---------- concern (scroll story) ---------- */
.concern { position: relative; padding-block: clamp(96px, 11vw, 160px); }
.concern-stage {
  position: relative; width: min(100% - 2 * var(--gutter), 1100px); margin-inline: auto;
  display: grid; gap: 64px; text-align: center;
}
.concern-lines { display: grid; gap: 56px; }
.concern-lines li { display: grid; justify-items: center; gap: 24px; }
.concern-lines span, .resolve-title {
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 750; line-height: 1.28; letter-spacing: -0.038em; text-wrap: balance;
}
.concern-face { position: relative; width: clamp(220px, 24vw, 340px); margin: 0; }
.concern-face img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; outline: 1px solid var(--blue); outline-offset: 12px; }
.concern-face .thirds { inset: 0 0 auto 0; height: auto; aspect-ratio: 1; }
.concern-face figcaption { margin-top: 22px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.concern-resolve { display: grid; justify-items: center; gap: 40px; }
.resolve-title { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: min(100%, 880px); border-top: 1.5px solid var(--ink); }
.steps li { display: grid; gap: 6px; padding: 22px 12px 0; text-align: left; position: relative; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.steps b { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }
.steps span { color: var(--ink-2); font-size: 1rem; }

.js .concern.is-scrolly { height: 520vh; padding: 0; }
.js .concern.is-scrolly .concern-stage {
  position: sticky; top: 0; height: 100svh; width: 100%;
  display: grid; place-items: center; overflow: hidden;
}
.js .is-scrolly .concern-lines { position: absolute; inset: 0; display: block; }
.js .is-scrolly .concern-lines li,
.js .is-scrolly .concern-resolve {
  position: absolute; inset: 0; padding: var(--header-h) var(--gutter) 40px;
  display: grid; place-content: center; justify-items: center; gap: 32px;
}
.js .is-scrolly [data-step] {
  opacity: 0; filter: blur(12px); transform: translateY(48px);
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .is-scrolly [data-step].is-on { opacity: 1; filter: blur(0); transform: none; }
.js .is-scrolly [data-step].is-past { opacity: 0; filter: blur(12px); transform: translateY(-48px); }
.js .is-scrolly .concern-face { width: clamp(200px, 30vh, 340px); }
.js .is-scrolly [data-step] .thirds { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-out) 0.4s; }
.js .is-scrolly [data-step].is-on .thirds { clip-path: inset(0 0 0 0); }
.concern-dots { display: none; }
.js .is-scrolly .concern-dots {
  position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%;
  display: grid; gap: 10px;
}
.concern-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.concern-dots i.is-on { background: var(--blue); transform: scale(1.35); }

/* ---------- section titles ---------- */
.section-head { display: grid; }
.section-head.center { text-align: center; justify-items: center; }
.section-title { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.24; font-weight: 750; letter-spacing: -0.038em; text-wrap: balance; }
.section-lead { margin-top: 20px; max-width: 38em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); color: var(--ink-2); }

/* ---------- promise ---------- */
.promise { padding-block: clamp(40px, 5vw, 80px) clamp(96px, 11vw, 160px); }
.promise-list { margin-top: 56px; border-top: 1.5px solid var(--ink); }
.promise-list li {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px clamp(32px, 5vw, 96px); align-items: end;
  padding: clamp(32px, 3.6vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.promise-list li::before {
  content: ""; position: absolute; left: 0; top: -1.5px; height: 3px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out);
}
.promise-list li.is-in::before, .promise-list li:hover::before { transform: scaleX(1); }
.promise-head { font-size: clamp(1.625rem, 2.7vw, 2.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.035em; text-wrap: balance; }
.promise-body { font-size: 1.0625rem; color: var(--ink-2); max-width: 30em; }

/* ---------- program ---------- */
.program { padding-block: clamp(96px, 11vw, 160px); background: var(--mist); border-radius: var(--radius-lg); margin-inline: var(--inset); }
.tabs {
  margin-top: 48px; display: flex; border-bottom: 2px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; flex: 1 0 auto; min-width: 104px; padding: 18px 20px;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink-3);
  transition: color 0.3s var(--ease-out);
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--ink);
  transform: scaleX(0); transition: transform 0.5s var(--ease-out);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panels { margin-top: clamp(40px, 5vw, 64px); }
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px); align-items: center;
}
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
.panel.is-entering .panel-copy > * { animation: rise 0.9s var(--ease-out) both; }
.panel.is-entering .panel-copy > :nth-child(2) { animation-delay: 0.06s; }
.panel.is-entering .panel-copy > :nth-child(3) { animation-delay: 0.12s; }
.panel.is-entering .panel-copy > :nth-child(4) { animation-delay: 0.18s; }
.panel.is-entering .panel-figure { animation: unveil 1.1s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes unveil { from { clip-path: inset(0 0 0 100% round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
.panel-title { font-size: clamp(1.625rem, 2.7vw, 2.5rem); line-height: 1.27; font-weight: 750; letter-spacing: -0.037em; text-wrap: balance; }
.panel-text { margin-top: 20px; max-width: 32em; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a, .chips button {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 0.9375rem; font-weight: 650; letter-spacing: -0.01em;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.chips a:hover, .chips button:hover { border-color: var(--blue); color: var(--blue); }
.spec {
  margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); max-width: 560px;
}
.spec div { padding: 16px 8px 0 0; }
.spec dt { font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.spec dd { margin-top: 2px; font-size: 1.0625rem; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.panel-figure { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; background: #dbe3ec; }
.panel-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 20%; }
.panel-figure figcaption {
  position: absolute; left: 20px; bottom: 20px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); font-size: 0.8125rem; font-weight: 650; color: var(--ink-2);
}
.panel-nav { display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.panel-nav .counter { margin-right: 12px; color: var(--ink); }
.ctrl-line { border-color: var(--line); color: var(--ink); background: #fff; }
.ctrl-line:hover { border-color: var(--ink); background: #fff; }
.program-note { margin-top: 20px; font-size: 0.875rem; color: var(--ink-3); }

/* ---------- finder ---------- */
.finder { padding-block: clamp(96px, 11vw, 160px); }
.finder-form {
  margin: 48px auto 0; width: min(100%, 880px);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px clamp(22px, 3vw, 36px);
  background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 24px 44px -32px rgba(10, 38, 64, 0.6);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.finder-form:focus-within { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(24, 116, 184, 0.16), 0 24px 44px -32px rgba(10, 38, 64, 0.6); }
.finder-form input {
  flex: 1; min-width: 0; height: 64px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 750; letter-spacing: -0.035em; color: var(--ink);
}
.finder-form input::placeholder { color: var(--ink-3); opacity: 1; }
.finder-form input::-webkit-search-cancel-button { display: none; }
.finder-submit {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: #fff; transition: background-color 0.3s var(--ease-out);
}
.finder-submit:hover { background: var(--blue); }
.finder-submit .icon { width: 26px; height: 26px; }
.finder-status { min-height: 1.7em; margin-top: 18px; text-align: center; font-weight: 650; color: var(--blue-600); }
.finder-keys { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 20px; }
.finder-keys-label { font-weight: 750; }
.finder-keys .chips { margin-top: 0; justify-content: center; }
.chips-soft button { background: var(--mist); border-color: transparent; }
.chips-soft button:hover { background: #fff; }

/* ---------- doctor ---------- */
.doctor { padding-block: clamp(96px, 11vw, 170px); }
.doctor-inner {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 6vw, 112px); align-items: center;
}
.doctor-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: #e9eef3; outline: 1px solid var(--blue); outline-offset: 16px;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 18%; }
.js .doctor-photo img { clip-path: inset(10% 10% 10% 10% round 28px); transform: scale(1.06); transition: clip-path 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
.js .doctor-photo.is-in img { clip-path: inset(0 0 0 0 round 0); transform: none; }
.doctor-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.04em; text-wrap: balance; }
.doctor-name { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 1.25rem; }
.doctor-name strong { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; }
.doctor-name span { padding: 4px 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 0.875rem; font-weight: 650; }
.doctor-text { margin-top: 20px; max-width: 33em; font-size: 1.0625rem; color: var(--ink-2); }
.cred {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px;
}
.cred li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 0.9375rem; }
.cred li::before { content: ""; flex: none; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.verify { padding: 2px 10px; border-radius: 999px; background: #fff1bf; color: #5c4300; font-size: 0.8125rem; font-weight: 700; }
.doctor .btn-row { margin-top: 36px; }

/* ---------- statement ---------- */
.statement {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(112px, 13vw, 210px); background: var(--blue); color: #fff; text-align: center;
}
.statement-glyph { position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%; width: min(80vw, 1000px); height: auto; pointer-events: none; }
.statement-glyph text { font-family: var(--font); font-size: 96px; font-weight: 800; fill: rgba(255, 255, 255, 0.08); }
.statement-line { font-size: clamp(2.5rem, 7.4vw, 6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; }
.statement-line span { color: #bfe0fa; }
.statement-sub { margin-top: 28px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); font-weight: 600; }

/* ---------- recovery ---------- */
.recovery { padding-block: clamp(96px, 11vw, 160px); background: var(--mist); border-radius: var(--radius-lg); margin-inline: var(--inset); }
.recovery-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.recovery-warn {
  margin-top: 28px; padding: 20px 24px; border-radius: var(--radius);
  background: #fff; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.7;
}
.table-wrap { background: #fff; border-radius: var(--radius-lg); padding: clamp(16px, 2.6vw, 36px); overflow-x: auto; }
.recovery-table { width: 100%; border-collapse: collapse; }
.recovery-table th, .recovery-table td { padding: 18px 14px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.recovery-table thead th { font-size: 0.8125rem; font-weight: 650; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); padding-top: 4px; }
.recovery-table tbody th { font-weight: 750; letter-spacing: -0.02em; }
.recovery-table tbody th small { display: block; font-size: 0.8125rem; font-weight: 550; color: var(--ink-3); }
.recovery-table td:last-child { font-weight: 750; color: var(--blue-600); }
.recovery-table tbody tr { transition: background-color 0.25s var(--ease-out); }
.recovery-table tbody tr:hover { background: var(--mist); }
.recovery-table tbody tr:last-child th, .recovery-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- visit ---------- */
.visit { padding-block: clamp(96px, 11vw, 160px); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.visit-info { margin-top: 40px; border-top: 1.5px solid var(--ink); }
.visit-info div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.visit-info dt { font-weight: 750; }
.visit-info dd small { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--ink-3); }
.hours { display: flex; gap: 16px; font-variant-numeric: tabular-nums; }
.hours span:first-child { width: 56px; color: var(--ink-2); }
.tel { font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.tel:hover { text-decoration: underline; }
.visit .btn-row { margin-top: 36px; }
.visit-map svg { width: 100%; height: auto; }
.visit-map figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }
.map-ground { fill: var(--mist); }
.map-road { fill: none; stroke: #fff; stroke-width: 34; stroke-linecap: round; }
.map-road-v { stroke-width: 26; }
.map-station circle { fill: var(--ink); }
.map-station-num { fill: #fff; font-size: 18px; font-weight: 800; }
.map-label { fill: var(--ink-2); font-size: 18px; font-weight: 650; }
.map-poi circle { fill: var(--ink-3); }
.map-dest rect { fill: var(--blue); }
.map-dest-name { fill: #fff; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.map-dest-sub { fill: #fff; font-size: 14px; font-weight: 600; }
.map-walk { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.js .map-walk { stroke-dashoffset: 400; transition: stroke-dashoffset 2.4s var(--ease-out); }
.js .visit-map.is-in .map-walk { stroke-dashoffset: 0; }

/* ---------- cta ---------- */
.cta { padding: 0 var(--inset) clamp(56px, 6vw, 96px); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: end;
  padding: clamp(48px, 7vw, 112px); border-radius: var(--radius-lg);
  background: var(--blue-800); color: #fff;
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18);
}
/* two concentric rings kept to the top-right corner, clear of the text and the buttons */
.cta-card::before { width: 400px; height: 400px; right: -150px; top: -250px; }
.cta-card::after { width: 260px; height: 260px; right: -80px; top: -180px; border-color: rgba(255, 255, 255, 0.12); }
.cta-title { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.22; font-weight: 750; letter-spacing: -0.038em; text-wrap: balance; }
.cta-text { margin-top: 20px; max-width: 32em; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn-white { color: var(--blue-800); }
.cta-fine { text-align: center; font-size: 0.875rem; }

/* ---------- footer ---------- */
.site-footer { background: #0f1418; color: #c5ced8; padding-block: 64px 56px; margin-top: 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-top img { width: 180px; height: auto; }
.footer-sns { display: flex; gap: 10px; }
.footer-sns a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color 0.25s var(--ease-out);
}
.footer-sns a:hover { background: var(--blue); }
.footer-sns .icon { width: 22px; height: 22px; }
.footer-info { margin-top: 36px; font-size: 0.875rem; line-height: 1.95; }
.footer-info span { display: inline-block; }
.footer-info span + span::before {
  content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 12px; vertical-align: -1px;
  background: rgba(255, 255, 255, 0.25);
}
.footer-info br + span::before { display: none; }
.footer-links { margin-top: 18px; display: flex; gap: 20px; font-size: 0.875rem; font-weight: 700; color: #fff; }
.footer-links a:hover { text-decoration: underline; }
.footer-notice { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; color: #9aa7b4; }
.footer-copy { margin-top: 10px; font-size: 0.8125rem; color: #9aa7b4; }

/* ---------- quick menu (PC) ---------- */
.quick { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; justify-items: end; gap: 12px; transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out); }
.quick.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.quick-toggle {
  display: grid; place-items: center; align-content: center; gap: 2px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 750;
  box-shadow: 0 0 0 3px #fff, 0 16px 30px -12px rgba(19, 95, 152, 0.75);
  transition: background-color 0.3s var(--ease-out), transform 0.4s var(--ease-out);
}
.quick-toggle:hover { background: var(--blue-600); transform: translateY(-2px); }
.quick-toggle .icon { width: 24px; height: 24px; }
.quick-toggle .icon-close, .quick-toggle[aria-expanded="true"] .icon-open { display: none; }
.quick-toggle[aria-expanded="true"] .icon-close { display: block; }
.quick-list {
  display: grid; gap: 2px; padding: 8px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: 0 26px 50px -22px rgba(10, 38, 64, 0.45);
  transform-origin: bottom right; animation: pop 0.4s var(--ease-out);
}
.quick-list[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.quick-list a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 12px; font-size: 0.9375rem; font-weight: 650;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.quick-list a:hover { background: var(--mist); color: var(--blue); }
.quick-list .icon { width: 22px; height: 22px; color: var(--blue); }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- first-visit intro (once a day, like the reference) ----------
   The lobby wall pushes in slowly under a navy veil, the line types in one character at a time,
   holds, then the whole layer slides off to the left (ease-in: it leaves, it does not arrive). */
.intro { display: none; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 0 var(--gutter);
  background: var(--blue-800); color: #fff; overflow: hidden; touch-action: none;
  transition: transform 1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  animation: intro-failsafe 0.6s var(--ease-out) 7s both; /* if the script never runs, get out of the way */
}
.intro.is-armed { animation: none; }
.intro.is-leaving { transform: translateX(-100%); }
.intro::after { content: ""; position: absolute; inset: 0; background: rgba(10, 38, 64, 0.55); }
.intro-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.9s var(--ease-out);
}
.intro-bg.is-loaded { opacity: 1; }
.intro.is-playing .intro-bg { animation: intro-push 4.6s linear both; }
.intro-line {
  position: relative; z-index: 1; text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.038em;
}
.intro-br { display: none; }
.intro-word { display: inline-block; white-space: nowrap; }
.intro-ch { display: inline-block; opacity: 0; transform: translateY(20px); }
.intro.is-typing .intro-ch { animation: intro-char 0.24s var(--ease-out) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes intro-char { to { opacity: 1; transform: none; } }
@keyframes intro-push { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
.intro-lock { overflow: hidden; }
/* the first hero slide waits behind the intro and makes its entrance once the intro is gone */
.intro-hold .slide.is-active .slide-copy > * { transform: translateY(26px); opacity: 0; }
.intro-hold .slide.is-active .slide-photo img { transform: scale(1.05); }
.intro-hold .slide.is-active .thirds { clip-path: inset(0 100% 0 0); }
@media (max-width: 768px) {
  .intro-bg { object-position: 32% 50%; } /* keep the logo's face profile in a portrait frame */
  .intro-br { display: inline; }
}

/* ---------- popup ---------- */
.popup { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px 16px; }
.popup[hidden] { display: none; }
.popup-dim { position: absolute; inset: 0; background: rgba(15, 20, 24, 0.7); animation: dim-in 0.4s var(--ease-out); }
@keyframes dim-in { from { opacity: 0; } }
.popup-box {
  position: relative; width: min(400px, 100%, (100svh - 104px) * 0.75);
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(6, 26, 45, 0.7); animation: popup-in 0.55s var(--ease-out);
}
.popup-box:focus { outline: none; }
@keyframes popup-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.popup-viewport { position: relative; overflow: hidden; }
.popup-track { display: flex; transition: transform 0.6s var(--ease-out); }
/* one fixed 3:4 frame for every slide: the card never resizes, so 닫기 never moves.
   Other shapes sit whole (contain) over a blurred, darkened copy of themselves. */
.popup-slide { position: relative; flex: 0 0 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); }
.popup-slide::before {
  content: ""; position: absolute; inset: -32px; background: var(--popup-bg, none) center / cover;
  filter: blur(24px) brightness(0.55);
}
.popup-slide a { position: relative; display: block; height: 100%; }
.popup-slide img { width: 100%; height: 100%; object-fit: contain; }
.popup-arrow {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 23, 27, 0.6); color: #fff;
  opacity: 0; transition: opacity 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.popup-arrow:hover { background: var(--blue); }
.popup-arrow .icon { width: 20px; height: 20px; }
.popup-prev { left: 12px; }
.popup-next { right: 12px; }
.popup-viewport:hover .popup-arrow, .popup-arrow:focus-visible { opacity: 1; }
.popup-bar { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; background: #f3f5f8; }
.popup-today {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto;
  font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); transition: color 0.2s var(--ease-out);
}
.popup-today .icon { width: 20px; height: 20px; color: var(--ink-3); transition: color 0.2s var(--ease-out); }
.popup-today:hover { color: var(--ink); }
.popup-today:hover .icon { color: var(--blue); }
.popup-count { padding: 2px 10px; border-radius: 999px; background: #66707b; color: #fff; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.popup-close { min-height: 44px; padding: 0 4px; font-size: 0.9375rem; font-weight: 800; color: var(--ink); }
.popup-close:hover { color: var(--blue); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .gnb { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 960px) {
  .hero-card { height: auto; min-height: 0; max-height: none; --hero-pad: clamp(28px, 6vw, 48px); }
  .slide { grid-template-columns: 1fr; align-content: start; gap: 28px; padding-top: 0; padding-bottom: 44px; }
  .slide-photo { order: -1; justify-self: stretch; width: auto; max-height: none; margin: 0 calc(-1 * var(--hero-pad)); aspect-ratio: 5 / 4; border-radius: 0; }
  .photo-caption { left: 16px; bottom: 16px; padding: 8px 14px; font-size: 0.8125rem; }
  .photo-caption strong { font-size: 0.875rem; }
  .hero-card .hero-controls, .hero-card[data-active-theme] .hero-controls {
    top: 14px; right: 14px; left: auto; bottom: auto; gap: 2px; padding: 3px; border-radius: 999px;
    background: rgba(20, 23, 27, 0.58); color: #fff;
  }
  .hero-controls .ctrl { width: 36px; height: 36px; border-color: transparent; }
  .hero-controls .ctrl-toggle { display: none; }
  .hero-controls .counter { gap: 6px; font-size: 0.8125rem; }
  .hero-controls .counter-bar { width: 32px; }
  .panel { grid-template-columns: 1fr; }
  .panel-figure { order: -1; aspect-ratio: 4 / 3; }
  .doctor-inner, .recovery-grid, .visit-grid, .cta-card { grid-template-columns: 1fr; }
  .doctor-photo { width: min(100%, 460px); }
  .cta-card { align-items: start; }
  .cta-card::before { display: none; } /* one small ring on phones, above the title's right edge */
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .brand img { width: 150px; }
  .header-actions .btn-sm { display: none; }
  .br-m { display: inline; }
  .slide-text br { display: none; }
  .slide .btn-row { margin-top: 28px; }
  .slide .btn-row .btn { flex: 1 1 100%; }
  .js .concern.is-scrolly { height: 480vh; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li, .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding: 16px 4px; }
  .steps li { grid-template-columns: 64px 1fr; align-items: baseline; }
  .js .is-scrolly .concern-resolve { gap: 24px; }
  .promise-list li { grid-template-columns: 1fr; align-items: start; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 4px; }
  .finder-form { padding-left: 20px; }
  .finder-form input { height: 52px; }
  .finder-submit { width: 52px; height: 52px; }
  .cred { grid-template-columns: 1fr; }
  .statement-glyph { width: 130vw; }
  .js .is-scrolly .concern-face { width: clamp(180px, 30vh, 260px); }
  .popup-box { width: min(360px, 100%, (100svh - 96px) * 0.75); background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .popup-bar { order: -1; min-height: 0; padding: 0 2px 10px; background: transparent; }
  .popup-today, .popup-today .icon, .popup-close { color: #fff; }
  .popup-count { background: rgba(255, 255, 255, 0.24); }
  .popup-viewport { border-radius: 20px; }
  .popup-arrow { display: none; }
  .visit-info div { grid-template-columns: 84px 1fr; }
  /* map text is in SVG units: the map renders at ~0.55x on phones, so these land at ~12-15px on screen.
     24 is the largest label that still clears the roads and the map edge. */
  .map-label { font-size: 24px; }
  .map-station-num { font-size: 22px; }
  .map-dest-name { font-size: 26px; }
  .map-dest-sub { font-size: 22px; transform: translateY(6px); }
  .cta-actions .btn { width: 100%; }
  .footer-info br { display: none; }
  .footer-info span { display: block; }
  .footer-info span + span::before { display: none; }
  .js .is-scrolly .concern-dots { display: none; }
  .quick { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 64px;
    font-size: 0.75rem; font-weight: 650; color: var(--ink-2);
  }
  .mobile-bar a.is-primary { background: var(--blue); color: #fff; }
  .mobile-bar .icon { width: 22px; height: 22px; }
}

@media (max-width: 420px) {
  .hero-controls .ctrl-toggle { display: none; }
  .tab { min-width: 88px; padding: 16px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .slide:not(.is-active) .slide-copy > * { transform: none; }
  .slide .thirds, .js .is-scrolly [data-step] .thirds { clip-path: none; }
  .js .doctor-photo img { clip-path: none; transform: none; }
  .js .map-walk { stroke-dashoffset: 0; }
}
