@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("assets/fonts/sarabun/Sarabun-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("assets/fonts/sarabun/Sarabun-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("assets/fonts/sarabun/Sarabun-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Sarabun";
  src: url("assets/fonts/sarabun/Sarabun-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif KR";
  src: url("assets/fonts/noto-serif-kr/NotoSerifKR-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif KR";
  src: url("assets/fonts/noto-serif-kr/NotoSerifKR-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif KR";
  src: url("assets/fonts/noto-serif-kr/NotoSerifKR-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif KR";
  src: url("assets/fonts/noto-serif-kr/NotoSerifKR-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif TC";
  src: url("assets/fonts/noto-serif-tc/NotoSerifTC-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif TC";
  src: url("assets/fonts/noto-serif-tc/NotoSerifTC-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif TC";
  src: url("assets/fonts/noto-serif-tc/NotoSerifTC-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif TC";
  src: url("assets/fonts/noto-serif-tc/NotoSerifTC-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc/NotoSerifSC-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc/NotoSerifSC-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc/NotoSerifSC-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc/NotoSerifSC-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #020202;
  --panel: rgba(5, 5, 5, 0.82);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.18);
  --glow: 0 0 24px rgba(255,255,255,.62), 0 0 60px rgba(255,255,255,.22);
  --radius-xl: 22px;
  --letter-space: .48em;
  --font-korean: "Noto Serif KR", "Times New Roman", serif;
  --font-traditional-chinese: "Noto Serif TC", "Times New Roman", serif;
  --font-simplified-chinese: "Noto Serif SC", "Times New Roman", serif;
  --font-thai: "Sarabun", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button, a { font: inherit; }
button { color: inherit; }

a { color: inherit; text-decoration: none; }

.page-shell {
  position: relative;
  min-height: 100vh;
  padding: 46px clamp(18px, 4vw, 52px) 32px;
}

.site-header {
  position: relative;
  z-index: 5;
}

.site-brand-mark {
  position: absolute;
  top: 0;
  right: 0;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

.language-title {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--title-slot-width, 10ch);
  flex: 0 0 var(--title-slot-width, 10ch);
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(1.65rem, 2.9vw, 3.15rem);
  font-weight: 300;
  letter-spacing: .45em;
  cursor: default;
  min-height: 1.2em;
}

.map-switcher {
  display: flex;
  align-items: center;
  width: min(100%, 36rem);
}

.eyebrow,
.section-kicker,
.map-hint p,
.gallery-nav,
.metadata dt {
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .72rem;
  color: var(--muted);
}

.header-line {
  width: 30px;
  height: 2px;
  margin-top: 18px;
  background: rgba(255,255,255,.74);
}

.district-readout {
  min-height: 1.35em;
  margin: 14px 0 0;
  color: rgba(255,255,255,.86);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  opacity: 0;
  transition: opacity .2s ease;
}

.map-readout {
  margin: 14px 0 0;
  color: rgba(255,255,255,.86);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
}

body[data-map-interaction="bangkok"] .map-readout,
body[data-map-interaction="bangkok"] .district-readout,
body[data-map-interaction="thailand"] .map-readout,
body[data-map-interaction="thailand"] .district-readout,
body[data-map-interaction="bangkok"] .map-status,
body[data-map-interaction="thailand"] .map-status {
  font-family: var(--font-thai);
}

body[data-map-interaction="seoul"] .map-readout,
body[data-map-interaction="seoul"] .district-readout,
body[data-map-interaction="seoul"] .location-copy .title-ko,
body[data-map-interaction="seoul"] .marker-label,
body[data-map-interaction="seoul"] .seoul-district-label,
body[data-map-interaction="korea"] .map-readout,
body[data-map-interaction="korea"] .district-readout,
body[data-map-interaction="korea"] .location-copy .title-ko,
body[data-map-interaction="korea"] .marker-label,
body[data-map-interaction="korea"] .korea-region-label {
  font-family: var(--font-korean);
}

body[data-map-interaction="taipei"] .map-readout,
body[data-map-interaction="taipei"] .district-readout,
body[data-map-interaction="taipei"] .location-copy .title-ko,
body[data-map-interaction="taipei"] .marker-label,
body[data-map-interaction="taipei"] .taipei-district-label,
body[data-map-interaction="hong-kong-macau"] .map-readout,
body[data-map-interaction="hong-kong-macau"] .district-readout,
body[data-map-interaction="hong-kong-macau"] .location-copy .title-ko,
body[data-map-interaction="hong-kong-macau"] .marker-label,
body[data-map-interaction="hong-kong-macau"] .hk-macau-region-label {
  font-family: var(--font-traditional-chinese);
}

body[data-map-interaction="china"] .map-readout,
body[data-map-interaction="china"] .district-readout,
body[data-map-interaction="china"] .location-copy .title-ko,
body[data-map-interaction="china"] .marker-label,
body[data-map-interaction="china"] .china-region-label {
  font-family: var(--font-simplified-chinese);
}

.map-scope-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 6px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(8,8,8,.58);
  backdrop-filter: blur(14px);
}

.map-scope-switcher[hidden] {
  display: none !important;
}

.map-scope-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.74);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

.map-scope-button:hover:not(:disabled) {
  color: rgba(255,255,255,.96);
  transform: translateY(-1px);
}

.map-scope-button.is-active {
  background: rgba(244,200,106,.16);
  color: #ffe1a3;
}

.map-scope-button:disabled {
  opacity: .38;
  cursor: default;
}

.map-scope-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
}

.map-scope-icon::before,
.map-scope-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  box-sizing: border-box;
  display: block;
}

.map-scope-icon::before {
  width: 8px;
  height: 8px;
  border: 1.4px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.map-scope-icon::after {
  width: 3px;
  height: 3px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.map-scope-icon[data-icon="◎"]::before,
.map-scope-icon[data-icon="◌"]::before {
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.map-scope-icon[data-icon="◎"]::after,
.map-scope-icon[data-icon="◌"]::after {
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.map-scope-button.is-active .map-scope-icon {
  border-color: rgba(244,200,106,.48);
}

.map-scope-text {
  font-size: .73rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.district-readout.is-visible {
  opacity: 1;
}

.map-stage {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  margin-top: -70px;
}

.map-stage.is-intro-active {
  z-index: 24;
}

.seoul-map {
  width: min(980px, 92vw);
  max-height: 760px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(255,255,255,.04));
  transition: opacity .25s ease, filter .25s ease;
}

.alternate-map {
  display: none;
  width: var(--alternate-map-width, min(532px, 72vw, 58vh));
  aspect-ratio: var(--alternate-map-aspect-ratio, 500 / 659);
  filter: drop-shadow(0 0 24px rgba(255,255,255,.04));
  opacity: .92;
}

.alternate-map svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body[data-map-interaction="taipei"] .alternate-map .district {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="taipei"] .alternate-map .district:hover,
body[data-map-interaction="taipei"] .alternate-map .district:focus,
body[data-map-interaction="taipei"] .alternate-map .district.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

body[data-map-interaction="hong-kong-macau"] .alternate-map .region {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="hong-kong-macau"] .alternate-map .region:hover,
body[data-map-interaction="hong-kong-macau"] .alternate-map .region:focus,
body[data-map-interaction="hong-kong-macau"] .alternate-map .region.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

body[data-map-interaction="china"] .alternate-map .province {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="china"] .alternate-map .province:hover,
body[data-map-interaction="china"] .alternate-map .province:focus,
body[data-map-interaction="china"] .alternate-map .province.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

body[data-map-interaction="korea"] .alternate-map .region {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="korea"] .alternate-map .region:hover,
body[data-map-interaction="korea"] .alternate-map .region:focus,
body[data-map-interaction="korea"] .alternate-map .region.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

body[data-map-interaction="bangkok"] .alternate-map .water {
  fill: rgba(125, 215, 198, 0.12);
  pointer-events: none;
  stroke: rgba(125, 215, 198, 0.44);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="bangkok"] .alternate-map .district {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="bangkok"] .alternate-map .district:hover,
body[data-map-interaction="bangkok"] .alternate-map .district:focus,
body[data-map-interaction="bangkok"] .alternate-map .district.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

body[data-map-interaction="thailand"] .alternate-map .water {
  fill: rgba(125, 215, 198, 0.12);
  pointer-events: none;
  stroke: rgba(125, 215, 198, 0.44);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="thailand"] .alternate-map .province {
  cursor: pointer;
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: fill 160ms ease, opacity 160ms ease, stroke 160ms ease;
  vector-effect: non-scaling-stroke;
}

body[data-map-interaction="thailand"] .alternate-map .province:hover,
body[data-map-interaction="thailand"] .alternate-map .province:focus,
body[data-map-interaction="thailand"] .alternate-map .province.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  opacity: 1;
  outline: none;
  stroke: rgba(255, 255, 255, 0.86);
}

.alternate-map object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-stage.is-alternate-map .seoul-map {
  display: none;
}

.map-stage.is-alternate-map {
  align-content: center;
  gap: 24px;
}

.map-stage.is-alternate-map .alternate-map {
  display: block;
}

.map-stage.is-alternate-map .map-hint {
  display: none;
}

.map-stage.is-alternate-map .map-status {
  position: static;
  transform: none;
}

.map-stage.is-map-pending .seoul-map {
  opacity: .22;
  filter: grayscale(1) drop-shadow(0 0 24px rgba(255,255,255,.02));
}

.map-stage.is-map-pending #locationMarkers,
.map-stage.is-map-pending #districtLabels {
  display: none;
}

.map-status {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 9vh, 92px);
  z-index: 4;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  letter-spacing: .24em;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity .25s ease;
}

.map-status.is-visible {
  opacity: 1;
}

.marker-group {
  cursor: pointer;
}

.marker-hit {
  fill: transparent;
  pointer-events: all;
  stroke: transparent;
}

.marker-dot {
  fill: #fff;
  filter: url(#markerGlow);
  transition: transform .25s ease, opacity .25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.marker-ring {
  fill: none;
  stroke: rgba(255,255,255,.28);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .25s ease, transform .25s ease;
}

.marker-label {
  fill: #f4c86a;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: .04em;
  paint-order: stroke;
  pointer-events: visiblePainted;
  stroke: rgba(0,0,0,.9);
  stroke-width: 5px;
}

.district-label {
  fill: #7dd7c6;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  opacity: 0;
  paint-order: stroke;
  pointer-events: none;
  stroke: rgba(0,0,0,.92);
  stroke-width: 7px;
  stroke-linejoin: round;
  stroke-linecap: round;
  text-anchor: middle;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.district-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.seoul-district-label,
.taipei-district-label,
.china-region-label,
.hk-macau-region-label,
.korea-region-label {
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: none;
}

.bangkok-district-label,
.thailand-region-label {
  font-family: var(--font-thai);
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.seoul-map.is-marker-hovered .district-label.is-visible {
  opacity: 0;
}

.marker-group:hover .marker-dot,
.marker-group.is-active .marker-dot {
  transform: scale(1.28);
}

.marker-group:hover .marker-ring,
.marker-group.is-active .marker-ring {
  opacity: 1;
  transform: scale(1.85);
}

.marker-group:hover .marker-label,
.marker-group.is-active .marker-label {
  fill: #ffe1a3;
}

.marker-group.is-active .marker-dot {
  animation: selected-marker-dot-pulse 1.7s ease-in-out infinite;
}

.marker-group.is-active .marker-ring {
  animation: selected-marker-ring-pulse 1.7s ease-in-out infinite;
}

@keyframes selected-marker-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1.16);
  }

  50% {
    opacity: .92;
    transform: scale(1.26);
  }
}

@keyframes selected-marker-ring-pulse {
  0%,
  100% {
    opacity: .74;
    transform: scale(1.48);
  }

  50% {
    opacity: 1;
    transform: scale(1.85);
  }
}

.map-hint {
  position: absolute;
  left: clamp(18px, 2vw, 34px);
  bottom: 120px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
}

.seoul-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 14;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.seoul-intro-overlay.is-visible {
  opacity: 1;
}

.seoul-intro-overlay.is-fading {
  opacity: 0;
}

.seoul-intro-card {
  position: absolute;
  left: var(--intro-target-x);
  top: var(--intro-target-y);
  width: clamp(120px, 14vw, 190px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(244,200,106,.62);
  border-radius: 14px;
  background: rgba(2,2,2,.9);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 8px rgba(0,0,0,.84),
    0 18px 50px rgba(0,0,0,.55);
  transform: translate(
    calc(-50% + var(--intro-offset-x)),
    calc(-50% + var(--intro-offset-y))
  ) scale(var(--intro-scale)) rotate(var(--intro-rotate));
  transform-origin: center;
  transition:
    transform .95s cubic-bezier(.18,.82,.2,1),
    opacity .3s ease,
    filter .3s ease;
  transition-delay: var(--intro-delay, 0ms);
  will-change: transform, opacity;
}

.seoul-intro-overlay.is-animating .seoul-intro-card {
  transform: translate(-50%, -50%) scale(var(--intro-end-scale)) rotate(0deg);
}

.seoul-intro-overlay.is-fading .seoul-intro-card {
  opacity: 0;
  filter: blur(3px);
}

.seoul-intro-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: .92;
  filter: saturate(.96) contrast(1.06);
}

.seoul-intro-card-label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: rgba(255,255,255,.96);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0,0,0,.8);
}

.map-stage.is-intro-active .seoul-map {
  filter: drop-shadow(0 0 18px rgba(255,255,255,.03));
}

.map-stage.is-intro-active .map-hint,
.map-stage.is-intro-active .map-collection-nav,
.map-stage.is-intro-active #locationMarkers,
.map-stage.is-intro-active #districtLabels {
  opacity: .12;
  transition: opacity .3s ease;
}

.map-hint span {
  width: 36px;
  height: 36px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  position: relative;
}

.map-hint span::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: #fff;
  border-radius: inherit;
  box-shadow: var(--glow);
}

.map-collection-nav {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(10px, 1.8vw, 28px);
  transform: translateY(-50%);
  pointer-events: none;
}

.map-switch-side {
  min-width: 0;
  max-width: min(21vw, 250px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(5,5,5,.66);
  backdrop-filter: blur(18px);
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color .2s ease, transform .2s ease, background .2s ease, opacity .2s ease;
}

.map-switch-side:hover:not(:disabled) {
  border-color: rgba(244,200,106,.54);
  background: rgba(14,14,14,.8);
  transform: translateY(-2px);
}

.map-switch-side:disabled {
  opacity: 0;
  pointer-events: none;
}

.map-switch-side-left {
  justify-self: flex-start;
}

.map-switch-side-right {
  justify-self: flex-end;
  text-align: right;
}

.map-switch-arrow {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--faint);
  border-radius: 999px;
  color: #f4c86a;
  font-size: 1rem;
}

.map-switch-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.map-switch-kicker {
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.map-switch-label {
  color: rgba(255,255,255,.92);
  font-size: .8rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.gallery-panel {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(22px, 4vw, 54px);
  width: 100%;
  margin-top: -98px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: 0 32px 120px rgba(0,0,0,.7);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.gallery-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gallery-panel.is-intro-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.seoul-archive {
  margin-top: 34px;
  padding: clamp(24px, 3.8vw, 42px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(244,200,106,.08), transparent 28%),
    rgba(7,7,7,.88);
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}

.seoul-archive-copy {
  display: grid;
  gap: 10px;
  max-width: 42rem;
  margin-bottom: 24px;
}

.seoul-archive-copy h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: .03em;
}

.seoul-archive-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: .94rem;
}

.seoul-archive-grid {
  column-count: 3;
  column-gap: 14px;
}

.seoul-archive-card {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(3,3,3,.96);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 18px 48px rgba(0,0,0,.45);
  cursor: pointer;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.photo-asset-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: #030303;
  isolation: isolate;
}

.photo-asset-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #050505;
  background-image: var(--blur-placeholder-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) saturate(1.08);
  transform: scale(1.12);
  opacity: 0;
  transition: opacity .38s ease;
  pointer-events: none;
}

.photo-asset-frame.is-image-loading::before {
  opacity: .96;
}

.photo-asset-frame.is-image-loaded::before {
  opacity: 0;
}

.seoul-archive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 24px 56px rgba(0,0,0,.58);
}

.seoul-archive-card .photo-asset-frame {
  width: 100%;
}

.seoul-archive-card img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 0;
  filter: saturate(.92) contrast(1.03);
  transition: transform .42s ease, opacity .32s ease, filter .24s ease;
}

.seoul-archive-card .photo-asset-frame.is-image-loaded img {
  opacity: .96;
}

.seoul-archive-card:hover img {
  transform: scale(1.015);
  opacity: 1;
}

.seoul-archive-card-caption {
  display: block;
  padding: 12px 14px 14px;
  color: rgba(255,255,255,.96);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: left;
  background: rgba(3,3,3,.96);
}

.panel-close {
  position: absolute;
  top: 28px;
  right: 34px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2.3rem;
  font-weight: 200;
  cursor: pointer;
  opacity: .8;
}

.location-copy h1 {
  display: grid;
  gap: 8px;
  margin: 6px 0 20px;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0;
}

.location-copy .title-ko {
  line-height: 1.12;
}

.location-copy .title-en {
  color: var(--muted);
  font-size: .55em;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.location-copy p:not(.section-kicker) {
  max-width: 33ch;
  color: var(--muted);
  line-height: 1.9;
  font-size: .95rem;
}

.thin-divider {
  width: min(260px, 100%);
  height: 1px;
  margin: 28px 0;
  background: rgba(255,255,255,.5);
}

.metadata {
  display: grid;
  gap: 22px;
  margin: 0;
}

.metadata div {
  display: grid;
  gap: 8px;
}

.metadata dt,
.metadata dd { margin: 0; }

#metaLocationGroup dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.location-pin {
  width: 11px;
  height: 14px;
  flex: 0 0 auto;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c4.2-5.36 6.3-9.28 6.3-11.79A6.3 6.3 0 0 0 5.7 10.2C5.7 12.72 7.8 16.64 12 22Z' fill='%23f4c86a'/%3E%3Ccircle cx='12' cy='10.2' r='2.85' fill='%230d0d0d'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 6px rgba(244, 200, 106, .2));
}

.metadata dd {
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  line-height: 1.6;
}

.metadata a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.42);
  transition: border-color .25s ease, color .25s ease;
}

.metadata a:hover {
  border-color: #fff;
}

.photo-gallery {
  display: grid;
  gap: 26px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.05fr;
  grid-auto-rows: 180px;
  gap: 10px;
}

.photo-grid.is-single-photo {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(520px, 66vh);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244,200,106,.52);
  border-radius: 8px;
  background: #030303;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 7px rgba(0,0,0,.88),
    0 0 0 1px rgba(0,0,0,.92),
    0 18px 46px rgba(0,0,0,.5);
  cursor: pointer;
  isolation: isolate;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.photo-card .photo-asset-frame {
  position: absolute;
  inset: 0;
}

.photo-card:nth-child(1) { grid-row: span 3; }
.photo-card:nth-child(2) { grid-row: span 2; }
.photo-card:nth-child(3) { grid-row: span 3; }
.photo-card:nth-child(4) { grid-column: 2; }

.photo-grid.is-single-photo .photo-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.82) contrast(1.08);
  transition: transform .5s ease, opacity .32s ease;
}

.photo-card .photo-asset-frame.is-image-loaded img {
  opacity: .82;
}

.photo-grid.is-single-photo .photo-card img {
  object-fit: contain;
  padding: clamp(8px, 1vw, 12px);
}

.photo-grid.is-single-photo .photo-card .photo-asset-frame.is-image-loaded img {
  opacity: .94;
}

.photo-card:hover img {
  transform: scale(1.045);
  opacity: 1;
}

.photo-card:hover {
  border-color: rgba(255,225,163,.82);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 0 0 7px rgba(0,0,0,.84),
    0 0 0 1px rgba(255,225,163,.22),
    0 22px 54px rgba(0,0,0,.58);
}

.photo-grid.is-single-photo .photo-card:hover img {
  transform: none;
}

.photo-card::after {
  content: attr(data-caption);
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  max-width: 80%;
  color: rgba(255,255,255,.84);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.photo-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
}

.gallery-nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}

.gallery-nav button:hover {
  color: #fff;
  transform: translateX(2px);
}

.gallery-nav button:first-child:hover { transform: translateX(-2px); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(0,0,0,.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0,0,0,.75);
}

.lightbox button {
  position: absolute;
  top: 22px;
  right: 28px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2.5rem;
  font-weight: 200;
  cursor: pointer;
}

@media (max-width: 920px) {
  .page-shell { padding-top: 32px; }
  .site-brand-mark {
    position: static;
    margin-bottom: 18px;
    text-align: left;
    letter-spacing: .26em;
  }
  .map-stage {
    min-height: auto;
    margin-top: -8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .map-hint { display: none; }
  .map-collection-nav {
    position: static;
    inset: auto;
    width: 100%;
    order: -1;
    transform: none;
    gap: 12px;
    margin-top: 10px;
    padding: 0 6px;
  }
  .map-switch-side {
    flex: 1 1 0;
    max-width: none;
    min-height: 70px;
    padding: 12px 14px;
  }
  .map-switch-label {
    white-space: normal;
    line-height: 1.35;
  }
  .gallery-panel {
    grid-template-columns: 1fr;
    margin-top: -18px;
    padding: 24px 20px 22px;
  }
  .seoul-archive {
    margin-top: 24px;
    padding: 22px 20px 24px;
  }
  .seoul-archive-grid {
    column-count: 2;
    column-gap: 12px;
  }
  .seoul-intro-card {
    width: clamp(92px, 28vw, 138px);
    border-radius: 12px;
  }
  .seoul-intro-card-label {
    font-size: .56rem;
    letter-spacing: .12em;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }
  .photo-grid.is-single-photo {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(300px, 46vh);
  }
  .photo-card:nth-child(n) {
    grid-column: auto;
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .language-title { letter-spacing: .32em; }
  .eyebrow, .section-kicker, .map-hint p, .gallery-nav, .metadata dt { letter-spacing: .22em; }
  .map-readout {
    font-size: .98rem;
    letter-spacing: .05em;
  }
  .district-readout {
    min-height: 1.5em;
    font-size: 1rem;
    letter-spacing: .04em;
  }
  .map-scope-switcher {
    gap: 6px;
    padding: 5px;
  }
  .map-scope-button {
    gap: 6px;
    padding: 8px 11px;
  }
  .map-scope-text {
    font-size: .64rem;
    letter-spacing: .14em;
  }
  .map-stage {
    margin-top: 0;
    gap: 12px;
  }
  .alternate-map {
    width: var(--alternate-map-width-mobile, min(94vw, 520px));
  }
  .marker-label {
    font-size: 44px;
  }
  .district-label {
    stroke-width: 6px;
  }
  .seoul-district-label,
  .taipei-district-label,
  .bangkok-district-label,
  .thailand-region-label,
  .china-region-label,
  .hk-macau-region-label,
  .korea-region-label {
    font-size: 25px;
  }
  body[data-map-interaction="taipei"] .alternate-map {
    width: min(97vw, 490px);
  }
  body[data-map-interaction="china"] .alternate-map {
    width: min(99vw, 590px);
  }
  body[data-map-interaction="hong-kong-macau"] .alternate-map {
    width: min(99vw, 610px);
  }
  body[data-map-interaction="korea"] .alternate-map {
    width: min(97vw, 470px);
  }
  body[data-map-interaction="bangkok"] .alternate-map {
    width: min(98vw, 540px);
  }
  body[data-map-interaction="thailand"] .alternate-map {
    width: min(92vw, 360px);
  }
  body[data-map-interaction="bangkok"] .district-readout,
  body[data-map-interaction="thailand"] .district-readout,
  body[data-map-interaction="china"] .district-readout,
  body[data-map-interaction="hong-kong-macau"] .district-readout,
  body[data-map-interaction="korea"] .district-readout {
    font-size: 1.06rem;
  }
  body[data-map-interaction="bangkok"] .map-readout,
  body[data-map-interaction="bangkok"] .district-readout,
  body[data-map-interaction="thailand"] .map-readout,
  body[data-map-interaction="thailand"] .district-readout,
  body[data-map-interaction="thailand"] .map-status {
    letter-spacing: 0;
    line-height: 1.28;
  }
  .map-collection-nav {
    margin-top: 14px;
    margin-bottom: 2px;
  }
  .map-switch-side {
    gap: 10px;
    padding: 10px 12px;
    min-height: 64px;
  }
  .map-switch-kicker {
    font-size: .58rem;
    letter-spacing: .2em;
  }
  .map-switch-label {
    font-size: .72rem;
  }
  .map-switch-arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .gallery-panel {
    margin-top: -8px;
    padding: 22px 16px 20px;
  }
  .seoul-archive {
    margin-top: 18px;
    padding: 20px 16px 20px;
  }
  .seoul-archive-copy {
    margin-bottom: 18px;
  }
  .seoul-archive-grid {
    column-count: 1;
    gap: 10px;
  }
  .seoul-archive-card-caption {
    padding: 10px 12px 12px;
    font-size: .66rem;
    letter-spacing: .12em;
  }
  .seoul-intro-card {
    width: clamp(88px, 30vw, 120px);
  }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .photo-grid.is-single-photo { grid-auto-rows: minmax(280px, 44vh); }
  .location-copy h1 { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .seoul-intro-overlay,
  .seoul-intro-card,
  .gallery-panel,
  .map-hint,
  .map-collection-nav,
  #locationMarkers,
  #districtLabels {
    transition: none;
  }

  .marker-group.is-active .marker-dot,
  .marker-group.is-active .marker-ring {
    animation: none;
  }
}

.district-map path {
  fill: rgba(255, 255, 255, 0.018) !important;
  stroke: rgba(255, 255, 255, 0.58) !important;
  stroke-width: 1.6 !important;
  vector-effect: non-scaling-stroke;
  transition: fill .25s ease, stroke .25s ease, opacity .25s ease;
}

.district-map path:hover,
.district-map path.is-labeled {
  fill: rgba(255, 255, 255, 0.055) !important;
  stroke: rgba(255, 255, 255, 0.86) !important;
}
