@charset "utf-8";

@font-face {
  font-family: "Noto Serif KR Hero";
  src: url("/assets/hero-serif-ko.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #26212d;
  --mute: #625969;
  --plum: #4b3157;
  --plum-dark: #36243f;
  --rose: #ead2df;
  --linen: #faf8f5;
  --lilac: #f2edf4;
  --line: #e7dfeb;
  --white: #fff;
  --wrap: 1192px;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  --contact-tabs-height: 70px;
  --contact-tabs-bottom: max(18px, env(safe-area-inset-bottom));
  --contact-tabs-clearance: calc(var(--contact-tabs-height) + var(--contact-tabs-bottom) + 10px);
  background: var(--linen);
  scroll-padding-block: calc(92px + env(safe-area-inset-top)) var(--contact-tabs-clearance);
}
body { margin: 0; padding-block-end: var(--contact-tabs-clearance); background: var(--linen); color: var(--ink); line-height: 1.65; -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable], .address-selectable { -webkit-user-select: text; user-select: text; }
img:not(.clinic-map img) { -webkit-user-drag: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 760; line-height: 1.24; letter-spacing: -.047em; }
p, li, dd { word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: #4b31571a; }
:focus-visible { outline: 3px solid #925cab; outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 84px)); margin-inline: auto; }
.section { padding-block: 80px; }
.section-title { font-size: clamp(1.82rem, 3vw, 2.65rem); }
.section-intro { color: var(--mute); margin-top: 10px; max-width: 40em; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 40; padding: 9px 15px; background: var(--white); transform: translateY(-170%); }
.skip:focus { transform: none; }

.site-header { position: sticky; inset-block-start: 0; z-index: 10; padding-block-start: env(safe-area-inset-top); background: var(--linen); border-bottom: 1px solid #e9e1ed; }
.header-inner { display: flex; min-height: 73px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { width: 87px; height: auto; flex-shrink: 0; mix-blend-mode: multiply; }
.brand-name { display: block; font-weight: 810; font-size: 1.06rem; line-height: 1.1; letter-spacing: -.05em; }
.brand-branch { display: block; margin-top: 4px; font-size: .81rem; line-height: 1; font-weight: 720; color: var(--plum); }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 37px); }
.desktop-nav a { padding-block: 12px; font-size: .93rem; font-weight: 690; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--plum); text-decoration: underline; text-underline-offset: 7px; text-decoration-color: #b296bf; }
.mobile-menu { display: none; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; font-size: .95rem; font-weight: 750; line-height: 1.27; white-space: nowrap; transition: background .16s, border-color .16s; }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-dark); }
.btn--outline { background: var(--white); color: var(--plum-dark); border-color: #d9cbe0; }
.btn--outline:hover { background: var(--lilac); border-color: #ab8ab7; }
.btn--light { color: var(--plum-dark); background: #fff8fb; }
.btn--light:hover { background: #ead9e9; }
.btn--glass { color: #fff; background: #281d30bb; border-color: #fffbff80; }
.btn--glass:hover { background: #422f4de6; border-color: #fffbffc4; }
.btn--small { min-height: 40px; padding: 8px 15px; font-size: .9rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.hero { --hero-background: #34243f; position: relative; isolation: isolate; min-height: 530px; background: var(--hero-background); color: #fff7f8; display: grid; align-items: center; }
.hero-media { display: block; position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(101deg, #392548f2 0%, #594071e8 29%, #714e8caf 52%, #916dac30 76%, #c5aed40c 100%),
    linear-gradient(0deg, #2a19384d, transparent 62%);
}
.hero-copy { padding: 59px 0 86px; }
.eyebrow { color: #edd5e5; font-size: .94rem; font-weight: 700; margin-bottom: 19px; letter-spacing: .035em; }
.hero h1 { font-family: "Noto Serif KR Hero", "Noto Serif CJK KR", "AppleMyungjo", Batang, serif; font-size: clamp(2.75rem, 5.1vw, 4.65rem); line-height: 1.16; font-weight: 400; letter-spacing: -.071em; }
.hero h1 span { display: block; color: #f2d5e4; margin-top: 4px; }
.hero-description { color: #f5eaf2; font-size: 1.08rem; line-height: 1.75; margin-top: 22px; max-width: 28em; }
.hero .actions { margin-top: 23px; }
.hero .btn { min-height: 49px; }

.arrival { margin-block-start: 24px; }
.arrival-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); padding: 0; border-radius: 12px; border: 1px solid #e8dfeb; background: #fffdfa; box-shadow: 0 12px 35px #30223e14; overflow: hidden; }
.arrival-cell { padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.arrival-cell + .arrival-cell { border-left: 1px solid var(--line); }
.arrival-cell:hover { background: #f7f2f8; }
.arrival-cell strong { display: block; font-weight: 780; font-size: 1.03rem; letter-spacing: -.023em; }
.arrival-cell small { display: block; color: var(--mute); font-size: .86rem; margin-top: 1px; }
.arrival-symbol { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ddcde6; border-radius: 50%; color: var(--plum); font-weight: 760; font-size: .82rem; line-height: 1; }

.guide-area { padding: 59px 0 73px; }
.guide-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin: 23px 0 0; padding: 0; list-style: none; }
.guide-card { display: block; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.guide-card:hover { border-color: #b191bd; box-shadow: 0 9px 28px #2a1a3a13; }
.guide-photo { width: 100%; aspect-ratio: 1.53; height: auto; object-fit: cover; background: #ded2e3; }
.guide-copy { padding: 13px 13px 15px; }
.guide-copy h3 { font-size: 1.08rem; }
.guide-copy p { color: var(--mute); margin-top: 5px; font-size: .89rem; line-height: 1.44; }

.local-section { background: #eee8f1; border-block: 1px solid #e8ddec; padding-block: 65px; }
.local-layout { display: grid; gap: 24px; }
.local-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.local-heading .btn { flex-shrink: 0; }
.district-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.local-layout .district-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
.district-card { display: flex; flex-direction: column; justify-content: space-between; gap: 15px; border: 1px solid #ddcfe3; border-radius: 12px; padding: 18px 19px; background: #fffdfd; transition: background .16s, border-color .16s; }
.district-card:hover { background: #faf5fb; border-color: #a583b3; }
.district-card h3 { font-size: 1.25rem; word-break: keep-all; overflow-wrap: anywhere; }
.district-card p { color: var(--mute); font-size: .9rem; margin-top: 7px; }
.district-card p + p { margin-top: 3px; }
.district-action { color: var(--plum); font-size: .9rem; font-weight: 760; text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }

.situation-guide .section-intro { max-width: 46em; }
.situation-guide h2, .situation-guide h3 { word-break: keep-all; overflow-wrap: anywhere; }
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-block: 26px 18px;
}
.situation-card {
  min-width: 0;
  padding: clamp(18px, 2vw, 25px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.situation-guide h3 { color: var(--plum-dark); font-size: clamp(1.15rem, 2vw, 1.36rem); line-height: 1.35; }
.situation-card p, .situation-cost p { color: var(--mute); margin-top: 10px; }
.situation-card .situation-check { margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); }
.situation-check strong { display: block; margin-bottom: 3px; color: var(--plum); font-size: .9rem; }
.situation-link { color: var(--plum); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.situation-card .situation-hours-label { margin-top: 14px; color: var(--plum); font-size: .9rem; font-weight: 750; }
.situation-hours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 6px 0 0;
  padding: 9px 3px;
  border-radius: 8px;
  background: var(--lilac);
  text-align: center;
}
.situation-hours div + div { border-left: 1px solid #ded1e5; }
.situation-hours dt { margin: 0; color: var(--mute); font-size: .88rem; }
.situation-hours dd { margin: 0; color: var(--plum-dark); font-weight: 750; font-variant-numeric: tabular-nums; }
.situation-cost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: clamp(19px, 2.4vw, 29px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--lilac);
}
.situation-cost ul { display: flex; flex-wrap: wrap; gap: 3px 28px; margin: 8px 0 0; padding-left: 20px; color: var(--mute); }

.faq-area { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(200px,.64fr) minmax(0,1.36fr); gap: clamp(24px,6vw,89px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 16px; min-height: 59px; font-size: 1rem; font-weight: 740; word-break: keep-all; }
.faq-list summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--plum); font-size: 1.46rem; font-weight: 480; line-height: 1; }
.faq-list [open] summary::after { content: "−"; }
.faq-list details > p { color: var(--mute); padding: 0 18px 17px 0; }

.visit-layout { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); gap: clamp(16px,3vw,34px); align-items: stretch; }
.visit-actions { margin-top: 15px; }
.location-main .station-panel { margin-bottom: 16px; }
.visit-address { margin-block: 12px 4px; font-size: 1.02rem; color: var(--mute); }
.visit-station { margin-bottom: 18px; font-weight: 750; color: var(--plum); }
.visit-station:has(+ .visit-station--alternate) { margin-bottom: 4px; }
.visit-station--alternate { font-size: .93rem; font-weight: 650; }
.clinic-map { position: relative; isolation: isolate; min-block-size: 252px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #f4eff6; }
.clinic-map-canvas { position: absolute; isolation: isolate; inset: 0; width: 100%; height: 100%; }
.clinic-map-canvas img { max-width: none; }
.clinic-map-fallback { display: grid; position: absolute; inset: 0; place-content: center; justify-items: center; gap: 13px; padding: 20px; color: var(--mute); text-align: center; }
.clinic-map-status { position: absolute; z-index: 1; inset: 12px 12px auto; width: max-content; max-width: calc(100% - 24px); margin: 0; padding: 7px 12px; border-radius: 8px; color: var(--plum); background: #fff; font-size: .91rem; pointer-events: none; }
.hours-panel { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.hours-panel h2, .hours-panel h3 { font-size: 1.23rem; margin-bottom: 8px; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f0eaf1; font-size: .95rem; align-items: start; }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--mute); }
.hours dd { margin: 0; text-align: right; font-weight: 740; font-variant-numeric: tabular-nums; }
.hours-note { margin-top: 9px; color: var(--mute); font-size: .87rem; }

.page-banner { background: linear-gradient(120deg,#eee5f1,#fbf9fa 80%); border-bottom: 1px solid var(--line); padding: 28px 0 38px; }
.page-banner .wrap { position: relative; }
.page-banner-content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: clamp(19px,5vw,65px); }
.page-banner h1 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); margin: 3px 0 10px; word-break: keep-all; }
.page-lead { color: var(--mute); max-width: 42em; }
.page-illustration { margin: 0; align-self: center; }
.page-illustration img { width: clamp(140px, 19vw, 234px); height: auto; aspect-ratio: 1.56; object-fit: cover; border-radius: 11px; background: #d8cada; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 17px; padding: 0; list-style: none; font-size: .86rem; color: #65586d; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #a18aaa; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.article-section { padding-block: 48px 70px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,280px); gap: clamp(35px,6vw,82px); align-items: start; }
.article-copy { min-width: 0; }
.article-copy section + section { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.article-copy h2 { font-size: clamp(1.35rem,3vw,1.81rem); margin-bottom: 8px; }
.article-copy p, .article-copy ul { color: #554c5d; }
.article-copy p + p { margin-top: 8px; }
.article-copy ul { padding-left: 21px; margin: 8px 0 0; }
.article-copy li { margin-top: 5px; }
.article-copy strong { color: var(--ink); }
.article-copy .reference { font-size: .9rem; }
.article-copy .reference h2 { font-size: 1.09rem; }
.article-copy .reference a, .footer-link, .map-link, .area-sources a { text-decoration: underline; text-underline-offset: 3px; color: var(--plum); }
.aside-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid #9871aa; border-radius: 13px; padding: 21px; }
.aside-card h2 { font-size: 1.21rem; }
.aside-card p { color: var(--mute); margin: 8px 0 12px; font-size: .94rem; }
.aside-card .btn { width: 100%; margin-top: 6px; }
.station-panel { padding: 24px; background: var(--lilac); border: 1px solid #e1d3e7; border-radius: 14px; }
.station-panel > span { display: block; color: var(--plum); font-weight: 730; margin-bottom: 6px; }
.station-panel > strong { display: block; font-size: clamp(1.64rem,3.9vw,2.35rem); line-height: 1.2; letter-spacing: -.052em; }
.station-panel > p { color: var(--mute); margin-block: 8px 13px; }
.copy-status { min-height: 1.1em; font-size: .87rem; color: var(--plum); margin-bottom: 0 !important; }
.contact-block { padding-top: 22px; }
.contact-block h2 { font-size: 1.2rem; margin-bottom: 7px; }
.contact-block p { margin-bottom: 13px; color: var(--mute); }

.area-index > .district-grid { margin: 20px 0 28px; }
.area-index .directory-search { margin-top: 0; }
.district-content > .directory-search { margin-top: 0; padding-top: 0; }
.district-content > .visit-note { margin-top: 18px; }
.area-index .directory-search:has([data-area-empty]:not([hidden])) { margin-bottom: 22px; }
.visit-note { padding: 24px; border: 1px solid #ded1e5; border-radius: 12px; background: #f3edf5; }
.visit-note h2 { font-size: clamp(1.32rem,3vw,1.78rem); }
.visit-note p { color: #5f5367; margin-top: 8px; }
.visit-note .actions, .visit-note > .btn { margin-top: 15px; }
.directory-search { padding: 17px 0 0; margin-top: 20px; }
.directory-search label { display: block; font-weight: 750; margin-bottom: 6px; }
.directory-input { display: flex; align-items: center; gap: 9px; max-width: 490px; }
.directory-input input { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #d8c9df; background: #fff; border-radius: 8px; padding: 10px 13px; }
.directory-input button { min-height: 45px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: .88rem; padding: 6px 11px; white-space: nowrap; }
.directory-search p { color: var(--mute); font-size: .9rem; margin-top: 6px; }
.directory-search p:empty { display: none; }
.directory-jump { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 19px 0 24px; }
.directory-jump a { display: inline-flex; min-height: 39px; padding: 6px 11px; align-items: center; border: 1px solid #e0d3e6; border-radius: 7px; background: #fff; font-size: .88rem; color: var(--plum); font-weight: 710; }
.directory-jump a:hover, .route-chip:hover { background: #e9dced; }
.directory-group + .directory-group { margin-top: 52px; }
.directory-group h2 { font-size: clamp(1.52rem,3.2vw,2rem); }
.directory-group .section-intro { font-size: .93rem; }
.station-list, .dong-grid { padding: 0; margin: 16px 0 0; list-style: none; }
.station-list { border-top: 1px solid var(--line); }
.station-entry { display: grid; grid-template-columns: minmax(175px,.76fr) minmax(0,1.24fr) auto; align-items: center; gap: 17px; padding: 13px 11px; border-bottom: 1px solid var(--line); background: #fffdfa; }
.station-entry:target { background: #eee4f2; outline: 1px solid #d1b3dd; outline-offset: -1px; }
.station-entry h3, .dong-entry h3 { font-size: 1.08rem; display: inline-block; }
.station-entry p { color: #544b5d; font-size: .94rem; }
.station-name { display: flex; gap: 4px 8px; align-items: center; flex-wrap: wrap; }
.line-chips { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.line-chip, .boundary-tag { padding: 1px 5px; border-radius: 4px; font-size: .77rem; font-weight: 720; white-space: nowrap; }
.line-chip--green { color: #1d6240; background: #e5f1e4; }
.line-chip--orange { color: #87420f; background: #f8e8db; }
.line-chip--blue { color: #275878; background: #e4eff7; }
.line-chip--olive { color: #435824; background: #eef1df; }
.line-chip--gold, .line-chip--yellow { color: #73531b; background: #f4ecd3; }
.line-chip--pink { color: #972b56; background: #f8e1ea; }
.line-chip--wine { color: #8a324d; background: #f4dfe7; }
.line-chip--violet { color: #674082; background: #eee2f5; }
.boundary-tag { border: 1px solid #decfe4; color: #6d5877; }
.dong-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.dong-entry:target { outline: 2px solid #ac86bc; outline-offset: -2px; }
.dong-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-width: 0; }
.area-alias { font-size: .81rem; color: var(--mute); }
.route-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.route-chip { display: inline-flex; align-items: center; min-height: 29px; padding: 3px 7px; border-radius: 6px; color: var(--plum); background: #f2edf4; font-size: .85rem; font-weight: 650; }
.map-link { font-size: .84rem; white-space: nowrap; }
.area-sources { border-top: 1px solid var(--line); margin-top: 33px; padding-top: 18px; color: var(--mute); font-size: .89rem; }
.area-sources h2 { font-size: 1.06rem; }
.area-sources p { margin-top: 4px; }

.footer { border-top: 1px solid var(--line); background: #f0ebf1; padding: 27px 0; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 21px; }
.footer p { color: var(--mute); font-size: .89rem; }
.footer p + p { margin-top: 3px; }
.footer .footer-name { color: var(--ink); font-size: 1.01rem; font-weight: 760; }
.footer-link { font-size: .9rem; white-space: nowrap; }

.contact-dock {
  position: fixed;
  z-index: 9;
  inset-inline: 0;
  inset-block-end: 0;
  padding-block-end: var(--contact-tabs-bottom);
  background: var(--linen);
}
.contact-tabs {
  width: min(412px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border: 1px solid #e2d6e7;
  border-radius: 22px;
  background: #fffdfb;
  box-shadow: 0 10px 34px #36243f24, 0 2px 6px #36243f0d;
}
.contact-tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 56px;
  padding: 6px 3px;
  border-radius: 15px;
  color: var(--plum-dark);
  text-align: center;
  font-size: .875rem;
  font-weight: 720;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  transition: background .16s;
}
.contact-tab svg { flex: none; width: 22px; height: 22px; color: var(--plum); }
.contact-tab:hover { background: #f3eef5; }
.contact-tab:focus-visible { outline-offset: -3px; }
.contact-tab--booking { background: var(--lilac); }
.contact-tab--booking:hover { background: #e9dcee; }
.contact-dock--overlapping-hero:not(:focus-within) { visibility: hidden; pointer-events: none; }

.not-found { padding-block: 68px; }
.not-found h1 { font-size: 2.35rem; }
.not-found p { margin-block: 9px 18px; color: var(--mute); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .desktop-nav { gap: 17px; }
  .local-layout .district-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero { min-height: 462px; }
  .hero-copy { padding-block: 54px 72px; }
  .guide-gallery { gap: 10px; }
  .guide-copy { padding: 10px; }
  .section { padding-block: 64px; }
  .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px), (max-width: 960px) and (hover: none) and (pointer: coarse) {
  html {
    --mobile-gutter: 17px;
    --mobile-start: max(var(--mobile-gutter), env(safe-area-inset-left));
    --mobile-end: max(var(--mobile-gutter), env(safe-area-inset-right));
    --mobile-header-row: 62px;
    --contact-tabs-height: calc(69px + env(safe-area-inset-bottom));
    --contact-tabs-bottom: 0px;
    scroll-padding-block-start: calc(var(--mobile-header-row) + env(safe-area-inset-top) + 14px);
  }
  .wrap { width: auto; margin-left: var(--mobile-start); margin-right: var(--mobile-end); }
  .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
  }
  .brand { gap: 9px; justify-self: start; min-height: var(--mobile-header-row); min-width: 0; }
  .brand-logo { width: 71px; }
  .desktop-nav, .desktop-reserve { display: none; }
  .mobile-menu { display: block; grid-column: 2; grid-row: 1; justify-self: end; }
  .mobile-menu[open] { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; padding-bottom: 8px; }
  .mobile-menu summary { display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid #ded2e4; border-radius: 8px; list-style: none; font-size: .92rem; font-weight: 730; }
  .mobile-menu[open] summary { position: absolute; inset-block-start: calc((var(--mobile-header-row) - 44px) / 2); inset-inline-end: 0; }
  .mobile-menu nav { display: grid; max-block-size: min(45svh, 15rem); overflow-y: auto; overscroll-behavior-y: contain; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 8px; border-radius: 7px; font-weight: 690; }
  .mobile-menu nav a[aria-current], .mobile-menu nav a:hover { background: var(--lilac); color: var(--plum-dark); }
  .mobile-menu nav a:focus-visible { outline-offset: -3px; }
  .btn { min-width: 0; max-width: 100%; min-height: 44px; padding-inline: 13px; text-align: center; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
  .hero { display: block; min-height: auto; }
  .hero-media { position: relative; inset: auto; z-index: auto; height: var(--mobile-photo-height, clamp(152px, 45vw, 265px)); }
  .hero-media img { object-position: 58% 57%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, var(--hero-background) 0%, #432c5670 18%, transparent 48%),
      linear-gradient(112deg, #6d43858a 0%, #8b629949 48%, #cab3d314 100%);
  }
  .hero-copy { padding: 17px 0 28px; }
  .eyebrow { font-size: .86rem; margin-bottom: 9px; }
  .hero h1 { font-size: clamp(2.25rem,8.8vw,3.42rem); overflow-wrap: anywhere; }
  .hero h1 span { margin-top: 3px; }
  .hero-description { margin-top: 14px; font-size: .99rem; line-height: 1.6; }
  .hero .actions { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; max-width: 26rem; margin-top: 16px; }
  .arrival { margin-block-start: 16px; }
  .arrival-grid { grid-template-columns: minmax(0, 1fr); box-shadow: none; }
  .arrival-cell { padding: 8px 13px; gap: 9px; }
  .arrival-cell + .arrival-cell { border-left: 0; border-top: 1px solid var(--line); }
  .arrival-cell strong { font-size: .97rem; }
  .arrival-cell small { font-size: .82rem; }
  .arrival-symbol { width: 28px; height: 28px; flex-basis: 28px; font-size: .75rem; }
  .guide-area, .section, .local-section { padding-block: 43px; }
  .guide-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 56%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .guide-gallery li { scroll-snap-align: start; min-width: 0; }
  .guide-card:focus-visible { outline-offset: -4px; }
  .local-layout, .faq-layout, .visit-layout, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .situation-grid, .situation-cost { grid-template-columns: minmax(0, 1fr); }
  .situation-grid { margin-top: 19px; gap: 10px; }
  .situation-cost .btn { justify-self: start; }
  .visit-layout { grid-auto-rows: 1fr; gap: 12px; }
  .district-grid, .local-layout .district-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .district-card { padding: 13px 11px; gap: 11px; }
  .district-card h3 { font-size: clamp(1rem,4.5vw,1.2rem); }
  .district-card p { font-size: .82rem; }
  .page-banner { padding: 16px 0 27px; }
  .page-banner-content { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .page-banner h1 { font-size: clamp(1.75rem,6vw,2.4rem); overflow-wrap: anywhere; }
  .page-lead { font-size: .95rem; line-height: 1.52; }
  .page-illustration img { width: 100%; height: clamp(94px, 27vw, 155px); }
  .article-section { padding-block: 28px 43px; }
  .visit-note { padding: 16px; }
  .directory-group + .directory-group { margin-top: 35px; }
  .station-entry { grid-template-columns: minmax(0,1fr) auto; padding: 10px 7px; gap: 5px 9px; }
  .station-name { grid-row: 1; grid-column: 1; min-width: 0; }
  .station-name h3, .dong-entry h3 { overflow-wrap: anywhere; }
  .station-entry p { grid-row: 2; grid-column: 1 / -1; }
  .station-entry .map-link { grid-row: 1; grid-column: 2; }
  .dong-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .dong-entry { padding: 10px; }
  .route-chip { min-height: 36px; max-width: 100%; word-break: keep-all; overflow-wrap: anywhere; }
  .footer-top { flex-direction: column; gap: 7px; }
  .contact-dock { z-index: 11; }
  .contact-tabs {
    width: auto;
    padding: 6px var(--mobile-end) calc(6px + env(safe-area-inset-bottom)) var(--mobile-start);
    border-width: 1px 0 0;
    border-radius: 0;
    background: var(--linen);
    box-shadow: 0 -3px 16px #36243f0b;
  }
  body:has(.directory-input input:focus) .contact-dock { visibility: hidden; pointer-events: none; }
}

@media (max-width: 360px) {
  html { --mobile-gutter: 14px; }
  .hero h1 { font-size: 2.13rem; }
}
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .hero-media { --mobile-photo-height: min(200px, 48svh); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
