@font-face { font-family: Aboreto; src: url("fonts/hero/Aboreto-Latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face {
  font-family: Pretendard;
  src: url("fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #78181c;
  --tint: #f8f4f3;
  --paper: #fcfaf9;
  --text: #34312e;
  --muted: #79716d;
  --line: #e9e1dd;
  --gutter: clamp(24px, 6.25vw, 120px);
  --width: 1200px;
  --section-gap: 120px;
  --journal-inset: 72px;
  --header-expanded-height: 96px;
  --header-compact-height: 72px;
  --header-logo-scale: .75;
  --header-height: var(--header-expanded-height);
  --quick-bar-height: 50px;
  --quick-bar-bottom: calc(16px + env(safe-area-inset-bottom));
  --quick-bar-space: calc(var(--quick-bar-height) + var(--quick-bar-bottom));
}
:root.is-scrolled { --header-height: var(--header-compact-height); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block: 0 calc(var(--quick-bar-space) + 24px); }
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 14px/1.8 Pretendard, sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.menu-is-open { overflow: hidden; }
body.booking-scroll-locked { position: fixed; top: var(--booking-scroll-top); width: 100%; overflow: hidden; padding-top: var(--header-expanded-height); }
body.booking-scroll-locked .site-header { position: fixed; left: 0; right: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.4; text-wrap: balance; }
h2 { font-size: 28px; letter-spacing: -.04em; }
h3 { font-size: 20px; letter-spacing: -.025em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; border-radius: 0; color: inherit; font: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
::selection { background: var(--tint); color: var(--brand); }
.page-width { width: min(calc(100% - var(--gutter) * 2), var(--width)); margin-inline: auto; }
.section-space { margin-top: var(--section-gap); }
.eyebrow, .small-label { display: block; color: var(--brand); font-size: 11px; font-weight: 500; letter-spacing: .12em; line-height: 1.6; }
.eyebrow { margin-bottom: 12px; }
.small-label { margin-bottom: 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  line-height: 1.5;
  transition: background .2s, border-color .2s;
}
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--brand); font-size: 12px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--brand); color: #fff; }
.skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* 화살표의 문자와 접근성 속성을 보존하고 선의 굵기를 통일한다. */
.icon-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  transform: rotate(var(--arrow-angle, -45deg));
}
.icon-arrow::before { content: ""; position: absolute; width: 15px; height: 1px; left: 1px; top: 8.5px; background: currentColor; }
.icon-arrow::after { content: ""; position: absolute; width: 9px; height: 9px; right: 2px; top: 4.5px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.icon-arrow.is-left { --arrow-angle: 180deg; }
.icon-arrow.is-right { --arrow-angle: 0deg; }
.icon-arrow.is-down { --arrow-angle: 90deg; }
.icon-arrow.is-up { --arrow-angle: -90deg; }
.icon-plus { display: inline-block; position: relative; width: 14px; height: 14px; flex: 0 0 14px; font-size: 0; }
.icon-plus::before, .icon-plus::after { content: ""; position: absolute; background: currentColor; }
.icon-plus::before { width: 12px; height: 1px; left: 1px; top: 6.5px; }
.icon-plus::after { width: 1px; height: 12px; left: 6.5px; top: 1px; }
details[open] > summary .icon-plus { transform: rotate(45deg); }

/* 흰 헤더는 사진과 겹치지 않는다. */
/* 헤더가 줄어도 문서 높이를 유지해 상단에서 스크롤 위치가 바뀌지 않게 한다. */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: var(--header-height); margin-bottom: calc(var(--header-expanded-height) - var(--header-height)); padding-inline: 40px; background: #fff; border-bottom: 1px solid var(--line); transition: height .2s, margin-bottom .2s; }
.brand { flex: 0 0 210px; }
.brand img { width: 210px; height: auto; transform-origin: left center; transition: transform .2s; }
.is-scrolled .brand img { transform: scale(var(--header-logo-scale)); }
.primary-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: clamp(12px, 1.18vw, 20px); white-space: nowrap; }
.primary-nav a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.language-menu { position: relative; }
.language-menu summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; font-size: 11px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.language-links { position: absolute; top: 48px; right: 0; width: 128px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); }
.language-links a { display: flex; align-items: center; min-height: 44px; font-size: 12px; }
.menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 0; }
.menu-toggle span { width: 23px; height: 1px; background: currentColor; }
.booking-control { position: relative; }
.booking-toggle { display: grid; place-items: center; min-width: 72px; min-height: 44px; padding: 10px 20px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 500; outline: none; }
.booking-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.booking-backdrop { display: none; }
.booking-panel { position: absolute; top: calc(100% + 12px); right: 0; width: 448px; max-width: calc(100vw - 48px); max-height: calc(100svh - var(--header-height) - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid var(--line); background: #fff; }
.booking-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.booking-heading h2 { font-size: 20px; }
.booking-close { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px -8px 0; padding: 0; font-size: 28px; font-weight: 300; }
.booking-primary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 20px; background: var(--brand); color: #fff; font-size: 18px; font-weight: 500; }
.booking-secondary { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-bottom: 1px solid var(--line); }
.booking-secondary a { display: flex; align-items: center; min-height: 52px; padding-block: 8px; color: var(--brand); font-size: 14px; }
.booking-secondary a + a { justify-content: flex-end; }
.booking-note { margin-top: 20px; font-size: 12px; }
.booking-hours { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; font-variant-numeric: tabular-nums; }

.hero { position: relative; height: 624px; max-width: 1920px; margin-inline: auto; background: var(--muted); color: #fff; }
.hero-images, .hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-images { overflow: hidden; }
/* PC에서는 간판 아래에 첫 화면 제목을 배치한다. */
.hero-image { object-fit: cover; object-position: center 70%; opacity: 0; transition: opacity .45s ease; }
.hero-image.is-active { opacity: 1; }
.hero-shade { background: linear-gradient(90deg, rgba(52,49,46,.54), rgba(52,49,46,.2) 52%, rgba(52,49,46,.04)); pointer-events: none; }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-block: clamp(164px, calc(360px - 10.2vw), 232px) 120px; }
.hero-message { flex: 0 0 auto; min-width: 0; }
/* v13 첫 화면(원장님 선택, 2026-11-13): 흰 영문 GANGNAM CHOICE를 Aboreto로, 그 아래 한글 한 줄. */
.hero-en { display: block; font: 400 48px/1.3 Aboreto, serif; letter-spacing: .015em; }
.hero-ko {
  display: block;
  margin-top: 24px;
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hero-sub {
  margin-top: 2px;
  color: rgba(255,255,255,.9);
  font-family: Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .04em;
  text-wrap: wrap;
}
.hero-actions { display: flex; gap: 32px; margin-top: 32px; }
.hero-actions .button { gap: 40px; min-height: 48px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-size: 14px; }
.hero-actions .button-ghost { border-bottom-color: rgba(255,255,255,.7); background: transparent; }
.hero-bottom { position: absolute; bottom: max(48px, calc(var(--header-expanded-height) + 100% - 100svh + var(--quick-bar-space) + 8px)); left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; }
.hero-controls { display: flex; align-items: center; gap: 16px; }
.hero-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); }
.slide-count { display: flex; align-items: center; gap: 12px; font-size: 11px; font-variant-numeric: tabular-nums; }
.slide-count b { font-weight: 500; }
.hero-discover { display: flex; align-items: center; gap: 24px; min-height: 44px; font-size: 12px; }
.hero :focus-visible { outline-color: #fff; }

/* 원장 사진과 네 가지 진료 설명을 흰 바탕의 두 칼럼에 배치한다. */
.difference { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: start; gap: 64px; padding-top: 88px; }
.difference-photo { width: 100%; max-width: 500px; justify-self: start; }
.difference-photo img { width: 100%; height: auto; }
.difference-photo figcaption { padding-top: 16px; color: var(--muted); font-size: 12px; }
.difference-content { min-width: 0; }
.difference-content h2 { font-size: 32px; letter-spacing: -.045em; }
.difference-list { list-style: none; padding: 0; margin: 28px 0 0; }
.difference-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.difference-item:last-child { padding-bottom: 0; }
.difference-item h3 { grid-column: 1 / -1; font-size: 18px; }
.difference-item p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.difference-item a { display: flex; align-items: center; min-height: 44px; align-self: end; color: var(--brand); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }

@media (min-width: 1001px) {
  .difference-item p, .difference-item a { align-self: last baseline; }
  .difference-item a { min-height: 0; line-height: 25.2px; }
}

/* 대표 진료는 차별점 섹션 다음에 겹침 없이 배치한다. */
.featured { background: #fff; }
.featured-label { display: grid; grid-template-columns: 1fr auto; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.featured-label .eyebrow { margin-bottom: 6px; }
.featured-label h2 { font-size: 24px; }
.featured-label .rail-controls { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.rail-controls { display: flex; gap: 8px; }
.arrow-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--brand); border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.arrow-button:disabled { color: var(--line); cursor: default; }
.card-track { display: flex; min-width: 0; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.card-track::-webkit-scrollbar { display: none; }
.card-track > * { min-width: 0; scroll-snap-align: start; }
.card-track > a:focus-visible { outline-offset: -3px; }
.featured-track { gap: 0; border-bottom: 1px solid var(--line); }
.featured-card { flex: 0 0 25%; display: flex; flex-direction: column; min-height: 356px; padding: 24px; border-right: 1px solid var(--line); background: #fff; transition: background .2s; }
.featured-card:last-child { border-right: 0; }
.card-index { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; line-height: 1.6; }
.card-index .icon-plus { color: var(--brand); }
.featured-card h3 { margin: 16px 0 24px; font-size: 20px; font-weight: 500; }
.featured-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.featured-card .card-price { color: var(--text); }
.card-price { display: flex; flex-direction: column; }
.card-price > span { display: block; color: var(--brand); font-size: 12px; margin-bottom: 6px; }
.card-price > b { display: block; padding-top: 8px; color: var(--brand); font-size: 22px; font-weight: 550; letter-spacing: -.025em; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-first { min-height: 132px; }
.card-first > b { margin-top: auto; }
.card-price + .card-price { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.featured-card .card-first + p:not(.card-price) { margin-top: 16px; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin-top: auto; padding-top: 24px; color: var(--brand); font-size: 12px; }
.featured-note { padding: 16px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); text-align: right; }
.featured-note a { display: inline-block; color: var(--brand); margin-left: 12px; text-decoration: underline; text-underline-offset: 4px; }


.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-note { color: var(--muted); font-size: 14px; }
.care .section-heading .eyebrow { display: none; }
.care-tabs { display: flex; gap: 40px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.care-tabs button { position: relative; min-width: 64px; min-height: 48px; padding: 12px 0; color: var(--muted); font-size: 15px; }
.care-tabs button[aria-selected="true"] { color: var(--brand); font-weight: 550; }
.care-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); }
.care-track { gap: 32px; }
.care-card { display: flex; flex-direction: column; flex: 0 0 calc((100% - 64px) / 3); min-height: 204px; padding: 24px 16px 16px 0; transition: background .2s; }
.care-card h3 { margin-bottom: 12px; }
.care-card p { font-size: 14px; line-height: 1.8; color: var(--muted); }
/* 시술 카드: 장비, 제품 이름 아래 줄에 효과. 점, 선 없이 간격으로만 나눈다 */
.care-points { display: grid; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.care-points li { display: block; }
.care-points strong { display: block; color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.care-points span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.care-card .card-link { padding-top: 24px; }
.care-bottom { display: flex; justify-content: flex-end; margin-top: 24px; }
.care-bottom > p:empty { display: none; }
.care-bottom:has(button:disabled):not(:has(button:enabled)) { display: none; }

.why-head { margin-bottom: 32px; }
.why-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; overflow: visible; }
.why-photo { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; background: var(--paper); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-item:nth-child(1) img { object-position: 49% 50%; }
.why-item:nth-child(2) img { object-position: 50% 38%; }
.why-item:nth-child(3) img { object-fit: contain; padding: 12px; }
.why-text { padding-right: 8px; }
.why-text h3 { font-size: 19px; margin-bottom: 12px; }
.why-text > p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.why-text br { display: none; }
.why-text .why-proof { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 16px; }
.why-text .text-link { margin-top: 16px; }
.evidence-detail { margin-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.evidence-detail summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; list-style: none; cursor: pointer; color: var(--brand); font-size: 12px; }
.evidence-detail blockquote { margin: 0; padding: 8px 0 16px; line-height: 1.85; }
.evidence-detail cite { display: block; font-size: 11px; font-style: normal; margin-top: 12px; }
.why-controls { display: none; }

/* 인용을 펼쳐도 PC 세 칼럼의 마지막 링크는 같은 높이에 놓인다. */
@media (min-width: 761px) {
  .why-item { display: flex; flex-direction: column; }
  .why-photo { flex-shrink: 0; }
  .why-text { display: flex; flex-direction: column; flex: 1; }
  .why-text > .text-link { align-self: flex-start; margin-top: auto; padding-top: 16px; min-height: 60px; }
}

/* 의료진 사진은 얼굴을 보정하지 않고 기존 사진의 크롭만 조정한다. */
.signature-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.signature-intro { padding-top: 8px; }
.signature-intro h2 { margin-bottom: 24px; }
.signature-intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.signature-intro .button { margin-top: 16px; }
.signature-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow: visible; }
.signature-photo { min-width: 0; display: flex; flex-direction: column; }
.doctor-photo { grid-column: 1 / -1; }
.photo-frame { height: 226px; overflow: hidden; background: var(--tint); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
/* 원본 하단 10% 밖으로 크롭해 크림색 막대가 보이지 않게 한다. */
.doctor-photo .photo-frame { height: auto; aspect-ratio: 1.8; }
.doctor-photo img { object-position: center top; }
.consultation-photo img { object-position: 50% top; }
.aftercare-photo img { object-position: center; }
.signature-photo figcaption { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.photo-number { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.doctor-statement { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; margin-top: 40px; padding: 32px 0; border-top: 1px solid var(--line); }
.doctor-statement .eyebrow { margin: 5px 0 0; }
.doctor-statement > p:last-child { max-width: 800px; font-size: 19px; line-height: 1.9; letter-spacing: -.025em; }
.doctor-profile { margin-left: 304px; border-block: 1px solid var(--line); }
.doctor-profile summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 56px; color: var(--brand); font-size: 12px; list-style: none; cursor: pointer; }
.profile-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 12px 0 24px; }
.profile-columns h3 { font-size: 14px; margin-bottom: 12px; }
.profile-columns ul { list-style: none; padding: 0; margin: 0; }
.profile-columns li { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
.story-heading .eyebrow { display: none; }
.story h2.story-title-ko { font-family: Pretendard, sans-serif; font-size: 36px; font-weight: 500; line-height: 1.35; letter-spacing: -.045em; }
.story-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.story-copy p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.story-copy .button { flex-shrink: 0; }
.space-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; grid-column: 1 / -1; margin-top: 40px; }
.space-mosaic figure { min-width: 0; }
.space-mosaic img { width: 100%; height: 336px; object-fit: cover; }
.space-main img { object-position: center; }
.space-detail img { object-position: center; }
.space-reception img { object-position: 38% center; }
.space-mosaic figcaption { padding-top: 12px; color: var(--muted); font-size: 12px; }
.space-caption { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 12px; }
.space-caption p { color: var(--muted); font-size: 12px; }

.journal-section { margin-top: calc(var(--section-gap) - var(--journal-inset)); padding-block: var(--journal-inset); background: var(--paper); }
.journal-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
.press .channel-intro { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr; align-items: start; min-height: 128px; margin-bottom: 32px; }
.press .channel-intro .eyebrow { grid-column: 1 / -1; }
.press .channel-intro h2 { align-self: center; }
.press .channel-intro > p:not(.eyebrow) { grid-column: 1 / -1; margin-top: 12px; color: var(--muted); font-size: 14px; }
.press .channel-intro br, .news-heading br { display: none; }
.press .channel-intro .button { grid-row: 2; grid-column: 2; gap: 24px; }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press-list a { position: relative; display: block; padding: 16px 36px 16px 0; border-bottom: 1px solid var(--line); }
.press-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.press-meta b { color: var(--brand); font-weight: 500; }
.press-meta time { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.press-list strong { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.65; text-wrap: pretty; }
.large-arrow { color: var(--brand); }
.press-list .large-arrow { position: absolute; right: 0; top: calc(50% - 9px); }
.news-heading { min-height: 128px; margin-bottom: 32px; }
.news-heading > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 14px; }
.event-card { display: block; }
.event-image { aspect-ratio: 1400 / 903; overflow: hidden; background: var(--tint); }
.event-image img { width: 100%; height: auto; }
.event-caption { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; gap: 24px; }
.event-caption .eyebrow { margin-bottom: 6px; }
.event-caption h3 { font-size: 20px; }
.event-caption p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.journal-links { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.journal-links a { position: relative; min-width: 0; border-top: 1px solid var(--line); padding: 20px 28px 0 0; }
.journal-links p { color: var(--muted); font-size: 12px; margin-top: 10px; }
.journal-links .large-arrow { position: absolute; right: 0; top: 24px; }

/* 지도와 보조정보를 같은 칼럼의 연속된 행에 둔다. */
.directions { display: grid; grid-template-columns: 304px minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "heading heading" "visit map" "visit extra"; column-gap: 80px; margin-top: calc(var(--section-gap) - var(--journal-inset)); margin-bottom: var(--section-gap); }
.directions .section-heading { grid-area: heading; margin-bottom: 48px; }
.visit-grid { grid-area: visit; display: flex; flex-direction: column; gap: 32px; }
.visit-grid h3 { margin-bottom: 12px; }
.visit-address address { font-style: normal; font-size: 14px; line-height: 1.85; }
.visit-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.visit-actions .button { gap: 24px; }
.copy-address { gap: 8px; padding: 0; }
.copy-status { margin-top: 12px; font-size: 12px; color: var(--brand); }
.copy-status:empty { display: none; }
.visit-hours { padding-top: 24px; border-top: 1px solid var(--line); }
.visit-hours dl { font-size: 14px; }
.visit-hours dl > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.visit-hours dd { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.visit-hours > p { font-size: 12px; color: var(--brand); line-height: 1.85; margin-top: 16px; }
.visit-hours > p span { color: var(--muted); }
.visit-contact { border-top: 1px solid var(--line); padding-top: 24px; }
.phone-number { display: inline-block; font-size: 28px; letter-spacing: -.035em; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.visit-contact .button { margin-top: 20px; }
.visit-extra { grid-area: extra; align-self: start; padding-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.visit-extra-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; color: var(--brand); }
.visit-extra-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

.map-link { grid-area: map; align-self: start; display: block; min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.map-link > img { width: 100%; height: 336px; object-fit: cover; object-position: center; }
.map-source { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 16px; color: var(--muted); font-size: 12px; }

.site-footer { padding: 56px 0 calc(40px + var(--quick-bar-space)); background: var(--tint); }
/* 푸터: 로고와 연락처, 병원 안내, 문의 및 SNS, 언어를 한 줄 네 칸으로. 사업자 정보는 맨 아래 한 줄 */
.footer-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-brand { display: block; width: 200px; }
.footer-brand img { display: block; width: 100%; height: auto; }
.footer-contact { margin-top: 24px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer-phone { display: inline-block; margin-top: 8px; font-size: 18px; font-weight: 500; letter-spacing: .01em; color: var(--text); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col h2 { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--brand); }
.footer-col > a:not(.footer-brand):not(.footer-phone) { padding: 5px 0; font-size: 13px; line-height: 1.6; color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.business-info span { display: inline-block; margin-right: 14px; }
.footer-bottom small { flex: none; font-size: 11px; }
.quick-menu { position: fixed; z-index: 8; bottom: var(--quick-bar-bottom); left: 50%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(688px, calc(100% - 48px)); height: var(--quick-bar-height); border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--brand); box-shadow: 0 2px 12px rgba(52,49,46,.06); transform: translateX(-50%); }
.quick-menu a { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; min-height: 48px; padding: 10px 12px; transition: background .2s; }
.quick-menu a + a::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 0; width: 1px; background: var(--line); }
.quick-menu a > span { font-size: 14px; line-height: 1.4; white-space: nowrap; }
.quick-menu a:focus-visible { outline-offset: -4px; }
.quick-menu svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top { position: fixed; z-index: 8; right: 16px; bottom: calc(var(--quick-bar-space) + 16px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 48px; height: 56px; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 10px; line-height: 1.4; transition: background .2s; }
.back-to-top:focus-visible { outline-offset: -4px; }
body.menu-is-open .quick-menu, body.menu-is-open .back-to-top,
body.booking-is-open .quick-menu, body.booking-is-open .back-to-top { visibility: hidden; }

.menu-dialog { width: min(1000px, calc(100% - 48px)); max-width: none; max-height: calc(100svh - 48px); padding: 32px 40px; border: 0; background: var(--paper); color: var(--text); overscroll-behavior: contain; }
.menu-dialog::backdrop { background: rgba(52,49,46,.5); }
.menu-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.menu-dialog-top h2 { font-size: 24px; }
.menu-close { width: 44px; height: 44px; padding: 0; font-size: 32px; font-weight: 300; }
.menu-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 32px 0; }
.menu-groups h3 { font-size: 17px; color: var(--brand); margin-bottom: 8px; }
.menu-groups > div > a, .menu-groups h3 a { display: flex; align-items: center; min-height: 44px; }
.menu-groups > div > a { font-size: 14px; }
.menu-dialog-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.menu-dialog-bottom > a { color: var(--brand); font-size: 24px; }
.menu-dialog-bottom > div { display: flex; gap: 16px; font-size: 12px; }
.menu-dialog-bottom > div a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.noscript-note { padding: 24px var(--gutter); font-size: 13px; background: var(--tint); }

@media (hover: hover) {
  .button:hover { border-color: var(--brand); background: var(--tint); }
  .menu-toggle:hover, .menu-close:hover, .language-menu summary:hover { color: var(--brand); background: var(--paper); }
  .booking-toggle:hover { filter: brightness(.94); }
  .booking-primary:hover { background: var(--text); }
  .booking-close:hover { color: var(--brand); background: var(--paper); }
  .booking-secondary a:hover, .difference-item a:hover { text-decoration: underline; text-underline-offset: 5px; }
  .evidence-detail summary:hover, .doctor-profile summary:hover { background: var(--paper); }
  .hero-discover:hover { text-decoration: underline; text-underline-offset: 5px; }
  .text-link:hover, .footer-col a:hover, .visit-extra-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
  .primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
  .primary-nav a:hover, .language-links a:hover, .menu-groups a:hover, .care-tabs button:hover { color: var(--brand); }
  .hero-actions .button:hover { border-color: #fff; background: transparent; }
  .hero-arrow:hover { background: rgba(255,255,255,.12); }
  .arrow-button:not(:disabled):hover { border-color: var(--brand); background: var(--tint); }
  .featured-card:hover { background: var(--paper); }
  .quick-menu a:hover, .back-to-top:hover { background: var(--tint); }
  .footer-col a:hover { color: var(--brand); }
  .care-card:hover h3 { color: var(--brand); }
  .press-list a:hover strong, .event-card:hover h3, .journal-links a:hover h3 { color: var(--brand); }
  .press-list a:hover { background: var(--tint); }
}

@media (max-width: 1279px) {
  .site-header { padding-inline: var(--gutter); }
  .primary-nav { display: none; }
  .signature-grid, .doctor-statement { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
  .signature-photos { gap: 16px; }
  .photo-frame { height: 206px; }
  .doctor-profile { margin-left: 260px; }
  .journal-layout { gap: 48px; }
  .directions { column-gap: 48px; }
  .story-copy { display: block; }
  .story-copy .button { margin-top: 20px; }
}

@media (max-width: 1000px) {
  :root { --gutter: 40px; --section-gap: 96px; --journal-inset: 56px; --header-expanded-height: 76px; --header-compact-height: 60px; --header-logo-scale: .7894736842; }
  .booking-backdrop { display: block; position: fixed; inset: var(--header-height) 0 0; z-index: 9; background: rgba(52,49,46,.56); touch-action: none; transition: top .2s; }
  .hero { height: 600px; }
  .difference { gap: 32px; padding-top: 64px; }
  .difference-content h2 { font-size: 28px; }
  .difference-item { column-gap: 16px; }
  .difference-item p { grid-column: 1 / -1; }
  .difference-item a { justify-self: start; }
  .featured-card { flex-basis: calc(100% / 3); padding: 20px; }
  .care-track { gap: 24px; }
  .care-card { flex-basis: calc((100% - 48px) / 3); }
  .why-list { gap: 20px; }
  .why-text h3 { font-size: 18px; }
  .signature-grid { display: block; }
  .signature-intro { max-width: 500px; margin-bottom: 32px; }
  .signature-photos { gap: 24px; }
  .photo-frame { height: 226px; }
  .doctor-statement { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
  .doctor-profile { margin-left: 192px; }
  .space-mosaic img { height: 280px; }
  .journal-layout { gap: 32px; }
  .press .channel-intro .button { gap: 12px; padding-inline: 12px; }
  .directions { grid-template-columns: 280px minmax(0, 1fr); gap: 0 32px; }
  .map-link > img { height: 304px; }
  .back-to-top { display: none; }
}

@media (max-width: 760px) {
  :root { --quick-bar-height: calc(64px + env(safe-area-inset-bottom)); --quick-bar-bottom: 0px; }
  .quick-menu { left: 0; width: 100%; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border: 0; border-top: 1px solid var(--line); border-radius: 0; transform: none; }
  .quick-menu a { flex-direction: column; gap: 4px; padding: 6px 2px; }
  .quick-menu a + a::before { top: 12px; bottom: 12px; }
  .quick-menu a > span { font-size: 12px; }
  .difference { grid-template-columns: 1fr; gap: 32px; }
  .difference-photo { max-width: 440px; justify-self: center; }
  .difference-photo img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center top; }
  .difference-content h2 { font-size: 28px; }
  .difference-item p { grid-column: auto; }
  .difference-item a { justify-self: end; }
  .section-heading { display: block; }
  .section-note { margin-top: 12px; }
  .featured-card { flex-basis: calc((100% - 24px) / 2); }
  .care-card { flex-basis: calc((100% - 24px) / 2); }
  .why-list { display: flex; align-items: flex-start; overflow-x: auto; gap: 24px; }
  .why-item { flex: 0 0 calc((100% - 24px) / 2); }
  .why-controls { display: flex; justify-content: flex-end; margin-top: 24px; }
  .journal-layout { display: block; }
  .press .channel-intro, .news-heading { min-height: 0; }
  .news { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 48px; }
  .event-image { max-width: 600px; }
  .story { gap: 0 32px; }
  .story h2.story-title-ko { font-size: 32px; }
  .story-copy br { display: none; }
  .directions { display: block; }
  .directions .section-heading { display: flex; }
  .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .visit-contact { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
  .visit-contact .small-label { width: 100%; margin-bottom: 0; }
  .visit-contact .button { margin-top: 0; }
  .visit-hours { border: 0; padding: 0; }
  .map-link { margin-top: 24px; }
  .visit-extra { padding-top: 32px; }
}

@media (max-width: 600px) {
  :root { --gutter: 24px; --section-gap: 88px; --journal-inset: 48px; }
  h2 { font-size: 24px; }
  .site-header { padding-inline: 24px; gap: 12px; }
  .brand { flex: 0 1 174px; min-width: 0; }
  .brand img { width: 174px; }
  .header-tools { flex-shrink: 0; gap: 8px; }
  .header-tools .language-menu { display: none; }
  .booking-control { position: static; }
  .booking-toggle { min-width: 60px; padding-inline: 16px; }
  .booking-panel { top: 100%; left: 0; right: 0; width: 100%; max-width: none; max-height: calc(100svh - var(--header-height) - 64px - env(safe-area-inset-bottom)); padding: 24px; border-inline: 0; }
  .hero { height: 560px; }
  /* 원형 조명과 벽 간판이 큰 국문 뒤에 걸리지 않는 위치 (폭별 계산값) */
  .hero-image[data-hero-slide="0"] { object-position: 100% center; }
  .hero-image[data-hero-slide="1"] { object-position: 14% center; }
  .hero-content { padding-top: 96px; padding-bottom: 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(52,49,46,.58), rgba(52,49,46,.22) 72%, rgba(52,49,46,.1)); }
  .hero-en { max-width: 280px; font-size: 34px; line-height: 1.38; letter-spacing: .005em; }
  .hero-ko { margin-top: 24px; font-size: 20px; line-height: 1.75; }
  .hero-sub { font-size: 12px; }
  .hero-actions { gap: 24px; margin-top: 28px; }
  .hero-actions .button { font-size: 14px; gap: 24px; padding-inline: 0; }
  .hero-bottom { bottom: max(40px, calc(var(--header-expanded-height) + 100% - 100svh + var(--quick-bar-space) + 8px)); }
  .hero-controls { gap: 12px; }
  .slide-count { gap: 10px; }
  .hero-discover { gap: 12px; font-size: 11px; }
  .difference { padding-top: 48px; gap: 32px; }
  .difference-photo { max-width: 390px; }
  .difference-photo figcaption { padding-top: 12px; }
  .difference-content h2 { font-size: 26px; }
  .difference-list { margin-top: 24px; }
  .difference-item { gap: 8px; padding-block: 20px; }
  .difference-item p { grid-column: 1 / -1; }
  .difference-item a { justify-self: start; }
  .featured-label { padding: 0 0 20px; }
  .featured-label .eyebrow { font-size: 10px; }
  .featured-label h2 { font-size: 22px; }
  .featured-track { gap: 16px; }
  .featured-card { flex-basis: calc(100% - 36px); min-height: 368px; padding: 24px 20px 24px 0; }
  .featured-card h3 { margin: 16px 0 24px; }
  .featured-card p { font-size: 13px; }
  .card-first { min-height: 132px; }
  /* 이벤트가 없는 카드도 설명과 안내 링크를 하단에 배치한다. */
  .featured-card .card-first + p:not(.card-price) { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
  .featured-card .card-first + p:not(.card-price) + .card-link { margin-top: 0; padding-top: 16px; }
  .featured-note { text-align: left; padding-top: 16px; }
  .featured-note a { margin-left: 0; }
  .featured-note .icon-arrow { display: none; }
  .section-heading { margin-bottom: 24px; }
  .section-note { font-size: 13px; line-height: 1.8; }
  .care-tabs { justify-content: space-between; gap: 0; margin-bottom: 24px; }
  .care-tabs button { min-width: 52px; font-size: 14px; }
  .care-track { gap: 20px; }
  .care-card { flex-basis: calc(100% - 36px); min-height: 200px; padding: 20px 16px 12px 0; }
  .care-card h3 { font-size: 20px; }
  .care-card p { font-size: 14px; }
  .care-bottom { margin-top: 16px; }
  .why-head { margin-bottom: 28px; }
  .why-list { gap: 20px; }
  .why-item { flex-basis: calc(100% - 24px); }
  .why-photo { margin-bottom: 20px; }
  .why-text { padding-right: 0; }
  .why-text h3 { font-size: 18px; }
  .why-text > p { font-size: 14px; }
  .why-text .why-proof { font-size: 12px; }
  .why-controls { margin-top: 20px; }
  .signature-intro { margin-bottom: 32px; padding: 0; }
  .signature-intro h2 { margin-bottom: 20px; }
  .signature-intro > p:not(.eyebrow) { font-size: 14px; margin-bottom: 12px; }
  .signature-intro .button { margin-top: 12px; }
  .signature-photos { gap: 20px 12px; }
  .photo-frame { height: auto; aspect-ratio: 1.55; }
  .signature-photo figcaption { padding-top: 8px; letter-spacing: -.025em; }
  .doctor-statement { display: block; margin-top: 32px; padding-block: 24px; }
  .doctor-statement .eyebrow { margin: 0 0 16px; }
  .doctor-statement > p:last-child { font-size: 16px; line-height: 1.9; letter-spacing: -.02em; }
  .doctor-profile { margin-left: 0; }
  .profile-columns { grid-template-columns: 1fr; gap: 24px; }
  .story { display: block; }
  .story h2.story-title-ko { font-size: 30px; }
  .story-copy { margin-top: 24px; }
  .story-copy p { font-size: 14px; }
  .story-copy .button { margin-top: 24px; }
  .space-mosaic { grid-template-columns: 1fr 1fr; gap: 20px 12px; margin-top: 32px; }
  .space-mosaic .space-main { grid-column: 1 / -1; }
  .space-mosaic img { height: auto; aspect-ratio: 1; }
  .space-main img { aspect-ratio: 1.5; }
  .space-mosaic figcaption { padding-top: 8px; }
  .space-caption { margin-top: 20px; padding-top: 8px; gap: 12px; }
  .space-caption .text-link { font-size: 12px; gap: 16px; }
  .press .channel-intro { margin-bottom: 24px; }
  .press .channel-intro .button { font-size: 11px; gap: 12px; padding-inline: 12px; }
  .press .channel-intro > p:not(.eyebrow) { font-size: 13px; margin-top: 12px; }
  .press-list a { padding-block: 16px; padding-right: 28px; }
  .press-meta { gap: 6px; }
  .press-list strong { font-size: 14px; line-height: 1.7; }
  .news-heading { margin-bottom: 24px; }
  .news-heading > p:not(.eyebrow) { font-size: 13px; }
  .event-caption { padding-top: 20px; }
  .event-caption h3 { font-size: 20px; }
  .event-caption p { font-size: 12px; }
  .journal-links { gap: 20px; margin-top: 24px; }
  .journal-links a { padding-top: 20px; }
  .journal-links h3 { font-size: 18px; }
  .journal-links p { font-size: 12px; }
  .directions { margin-bottom: 88px; }
  .directions .section-heading { gap: 12px; margin-bottom: 32px; }
  .directions .section-heading .text-link { gap: 12px; font-size: 11px; white-space: nowrap; }
  .directions .section-heading .eyebrow { white-space: nowrap; font-size: 10px; }
  .visit-grid { display: flex; gap: 28px; }
  .visit-hours, .visit-contact { padding-top: 24px; border-top: 1px solid var(--line); }
  .visit-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .visit-contact .small-label { grid-column: 1 / -1; margin-bottom: 0; }
  .phone-number { font-size: 26px; }
  .visit-contact .button { font-size: 11px; padding-inline: 12px; gap: 16px; margin-top: 0; }
  .visit-extra { padding-top: 28px; font-size: 12px; }
  .visit-extra-links { gap: 8px 20px; font-size: 11px; margin-top: 12px; }
  .map-link { margin-top: 24px; }
  .map-link > img { height: 232px; }
  .site-footer { padding: 48px 0 calc(32px + var(--quick-bar-space)); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-lang { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 20px; }
  .footer-lang h2 { width: 100%; }
  .footer-bottom { display: block; }
  .footer-bottom small { display: block; margin-top: 8px; }
  .menu-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); padding: 24px; }
  .menu-dialog-top { padding-bottom: 16px; gap: 12px; }
  .menu-dialog-top h2 { font-size: 22px; }
  .menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-block: 24px; }
  .menu-groups h3 { font-size: 16px; }
  .menu-groups > div > a { font-size: 13px; }
  .menu-dialog-bottom > a { font-size: 22px; }
}

/* 중간 폭에서도 보조 문장과 하단 조작부 사이에 여백을 둔다. */
@media (min-width: 601px) and (max-width: 1279px) {
  .hero-ko { margin-top: 24px; }
  .hero-actions { margin-top: 32px; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .hero-en { font-size: 42px; }
  .hero-ko { font-size: 22px; }
}
@media (max-width: 374px) {
  .hero-en { font-size: 32px; }
  .hero-actions, .hero-actions .button { gap: 20px; }
}

/* 태블릿 폭에서 사진을 아래 기준으로 조금 키워 벽 간판을 로고 위로 올린다. */
@media (min-width: 601px) and (max-width: 1100px) {
  .hero-image { transform: scale(1.14); transform-origin: center bottom; }
}

/* 폰 폭에서 두 번째 사진의 간판이 가운데 문구 옆에 붙지 않는 위치 (폭별 계산값) */
@media (min-width: 431px) and (max-width: 489px) {
  .hero-image[data-hero-slide="1"] { object-position: 0% center; }
}
@media (min-width: 490px) and (max-width: 600px) {
  .hero-image[data-hero-slide="1"] { object-position: 0% center; }
}

/* 좁은 폰에서는 두 번째 사진의 간판을 화면 밖으로 보낸다. */
@media (max-width: 369px) {
  .hero-image[data-hero-slide="1"] { object-position: 96% center; }
}

/* B안은 둘째 줄을 들여 써서, 이 폭에서는 간판을 더 오른쪽으로 둔다. */
/* 541~600px에서는 첫 사진을 오른쪽 기준으로 조금 키워 간판을 화면 밖으로 보낸다. */
@media (min-width: 541px) and (max-width: 600px) {
  .hero-image[data-hero-slide="0"] { transform: scale(1.12); transform-origin: right center; }
}

/* 태블릿에서는 첫 사진 간판을 영문 라벨에서 떨어뜨린다. */
@media (min-width: 601px) and (max-width: 1000px) {
  .hero-image[data-hero-slide="0"] { object-position: 0% 70%; }
}

@media (max-width: 374px) {
  .hero-actions .button { gap: 20px; padding-inline: 0; }
  .phone-number { font-size: 24px; }
  .visit-contact .button { padding-inline: 10px; gap: 12px; }
}

@media (max-width: 359px) {
  .quick-label-detail { display: none; }
}

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

@media print {
  body { padding: 0; }
  .site-header, .hero, .quick-menu, .back-to-top, .menu-dialog, .rail-controls, .skip-link { display: none !important; }
  .site-footer { padding-bottom: 40px; }
  .page-width { width: 100%; }
  .section-space { margin-top: 32px; }
  .card-track { overflow: visible; flex-wrap: wrap; }
}

/* 태블릿 폭: 로고와 연락처를 한 줄 위로, 링크 세 칸은 아래 줄에 */
@media (min-width: 601px) and (max-width: 1000px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
}

/* 인스타그램 (원장님 요청 2026-11-18) */
.insta { margin-top: calc(var(--section-gap) - var(--journal-inset)); }
.insta + .directions { margin-top: var(--section-gap); }
.insta-accounts { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 28px; }
.reel-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.reel-grid a { display: block; }
.reel-grid img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--line); transition: opacity .2s; }
.reel-grid span { display: block; padding-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }
@media (hover: hover) { .reel-grid a:hover img { opacity: .88; } .reel-grid a:hover span { color: var(--brand); } }
.insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.insta-grid a { display: block; overflow: hidden; background: var(--line); }
.insta-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease, opacity .2s; }
@media (hover: hover) { .insta-grid a:hover img { transform: scale(1.03); opacity: .92; } }
@media (prefers-reduced-motion: reduce) { .insta-grid img { transition: none; } }
@media (max-width: 760px) {
  .insta .section-heading { flex-direction: column; align-items: flex-start; gap: 4px; }
  .insta-accounts { justify-content: flex-start; }
  .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .reel-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .reel-grid::-webkit-scrollbar { display: none; }
  .reel-grid li { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (min-width: 761px) and (max-width: 1000px) { .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }

/* 11-20 원장님 요청(지유클리닉 참고): 첫 화면을 화면 높이만큼 채우고, 열릴 때 사진이 위에서 아래로 서서히 열린다. */
.hero { max-width: none; height: max(624px, calc(100svh - var(--header-expanded-height))); overflow: hidden; background: #efe9e6; }
@media (max-width: 1000px) {
  .hero { height: max(560px, calc(100svh - var(--header-expanded-height))); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-images, .hero-shade { animation: heroOpen 1.6s cubic-bezier(.22,.61,.36,1) both; }
  .hero-image { animation: heroZoom 2.6s cubic-bezier(.22,.61,.36,1) both; }
  .hero-en, .hero-ko, .hero-sub, .hero-actions, .hero-bottom { animation: heroDrop 1s cubic-bezier(.25,.1,.25,1) both; }
  .hero-en { animation-delay: .45s; }
  .hero-ko { animation-delay: .6s; }
  .hero-sub { animation-delay: .75s; }
  .hero-actions { animation-delay: .9s; }
  .hero-bottom { animation-delay: 1.1s; }
}
@keyframes heroOpen { from { clip-path: inset(0 0 100% 0); opacity: .3; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes heroZoom { from { scale: 1.08; } to { scale: 1; } }
@keyframes heroDrop { from { opacity: 0; translate: 0 -20px; } to { opacity: 1; translate: 0 0; } }
/* 높아진 첫 화면에서도 벽 간판(CCH) 아래에 제목이 오도록, 사진 잘림 계산(가로 기준, 세로 70% 위치)으로 글 시작 높이를 정한다. */
@media (min-width: 1001px) {
  .hero-content { padding-top: max(164px, min(calc(.7 * max(624px, 100svh - var(--header-expanded-height)) - 18.87vw + 72px), calc(max(624px, 100svh - var(--header-expanded-height)) - 380px))); }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .hero-content { padding-top: max(96px, min(380px, calc(max(560px, 100svh - var(--header-expanded-height)) - 380px))); }
}
