@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --ink: #222e29;
  --soft-ink: #505650;
  --green: #263e32;
  --red: #9e3c29;
  --accent: #b2442d;
  --rule: #d9d2c3;
  --sand: #eee8db;
  --white: #fffdf8;
  --sans: "DM Sans", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
main:focus { outline: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .99; }
h1 { font-size: clamp(4rem, 7vw, 7.3rem); letter-spacing: -.028em; }
h2 { font-size: clamp(3rem, 5.35vw, 5.25rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 4; top: 12px; left: 12px; padding: 8px 14px; background: var(--white); }
.eyebrow { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 49px; padding: 10px 17px; border: 1px solid var(--accent); border-radius: 3px;
  background: var(--accent); color: var(--white); font-size: .88rem; font-weight: 700;
  line-height: 1.4; text-decoration: none; transition: background-color .18s, border-color .18s;
}
.button:hover { background: #8d3423; border-color: #8d3423; }
.button span, .text-link span { font-size: 1.03em; }
.text-link, .text-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--green); font-size: .9rem; font-weight: 750; text-decoration: none;
}
.text-link:hover, .text-button:hover { color: var(--red); text-decoration: underline; }
.text-button { border: 0; background: none; padding-inline: 10px; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 76px; align-items: center; gap: 26px; }
.brand { display: inline-flex; gap: 10px; align-items: center; width: fit-content; min-height: 44px; text-decoration: none; white-space: nowrap; font: 400 2rem/1 var(--serif); }
.brand-mark { position: relative; width: 17px; height: 17px; margin-top: -2px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); }
.brand-mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper); }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.25vw, 34px); }
.site-nav a, .locale-link {
  display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-size: .86rem; font-weight: 650; text-decoration: none;
}
.site-nav a[aria-current], .site-nav a:hover, .locale-link:hover { color: var(--red); text-decoration: underline; }
.locale-link { justify-self: end; padding: 0 13px; border: 1px solid var(--rule); border-radius: 3px; min-height: 40px; }
.menu-toggle { display: none; min-height: 44px; border: 0; background: transparent; color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(300px, .74fr) minmax(0, 1.26fr); gap: clamp(30px, 5.3vw, 79px); align-items: center; padding-block: clamp(35px, 4.6vw, 65px) clamp(45px, 5.3vw, 74px); }
.hero-copy { padding-bottom: 19px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(4.25rem, 7vw, 7.35rem); }
.hero h1 em { color: var(--accent); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 355px; margin-top: 23px; color: var(--soft-ink); font-size: clamp(1rem, 1.26vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px 19px; align-items: center; margin-top: 26px; }
.hero-frame { aspect-ratio: 1.36; overflow: hidden; border-radius: 4px; background: #9c7e72; }
.hero-frame img { height: 100%; object-fit: cover; object-position: 50% 50%; }
figcaption { color: var(--soft-ink); font-size: .76rem; line-height: 1.5; }
.hero-photo figcaption, .about-photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; }
.hero-photo figcaption span { display: flex; align-items: center; gap: 8px; }
.hero-photo figcaption i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.section { padding-block: 36px 78px; }
.home-guides { border-top: 1px solid var(--rule); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 14px 32px; margin-bottom: 24px; }
.section-head p { color: var(--soft-ink); margin-top: 10px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { border: 1px solid var(--rule); border-radius: 4px; background: var(--white); }
.guide-link { display: grid; height: 100%; grid-template-rows: auto 1fr; text-decoration: none; border-radius: inherit; }
.card-image { overflow: hidden; background: var(--sand); aspect-ratio: 1.84; border-radius: 3px 3px 0 0; }
.card-image img { height: 100%; object-fit: cover; transition: transform .32s ease-out; }
.guide-link:hover .card-image img { transform: scale(1.035); }
.guide-link:hover h3 { color: var(--red); }
.card-image-market img { object-position: 50% 48%; }
.card-image-subway img { object-position: 50% 62%; }
.card-image-bukchon img { object-position: 50% 54%; }
.card-text { padding: 22px 52px 25px 21px; position: relative; }
.card-text h3 { margin: 9px 0; line-height: 1.02; }
.card-text > p:last-of-type { color: var(--soft-ink); font-size: .91rem; }
.card-arrow { position: absolute; right: 16px; top: 19px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--rule); color: var(--red); }

.travel-band { background: var(--green); color: var(--paper); }
.travel-preview { display: grid; grid-template-columns: minmax(245px, .8fr) minmax(0, 1.45fr); align-items: center; gap: 45px; padding-block: 58px; }
.travel-preview .eyebrow { color: #f2b49f; margin-bottom: 14px; }
.travel-preview h2 { font-size: clamp(2.85rem, 4.5vw, 4.65rem); }
.travel-preview p:not(.eyebrow) { color: #e2e4da; margin: 14px 0 22px; max-width: 390px; }
.button-secondary { color: var(--paper); background: transparent; border-color: #a6ad98; }
.button-secondary:hover { color: var(--green); background: var(--paper); border-color: var(--paper); }
.travel-band :focus-visible { outline-color: #f2b49f; }
.map { width: 100%; position: relative; aspect-ratio: 2.5; }
.map img { height: 100%; object-fit: fill; }
.travel-preview .map img { opacity: .7; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%); border: 1px solid #fff3df;
  width: clamp(6px, .87vw, 11px); aspect-ratio: 1; border-radius: 50%; background: var(--accent);
}
.map-pin.home-pin { width: clamp(9px, 1.3vw, 16px); border: 2px solid var(--green); background: #ffe0a7; z-index: 1; }
.map-pin b {
  position: absolute; top: -23px; left: 1px; padding: 0 5px;
  color: var(--paper); background: var(--green); font-size: .69rem; font-style: normal; white-space: nowrap;
}
.map-pin.active-pin { outline: 2px solid var(--red); outline-offset: 2px; z-index: 1; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 17px 30px; padding-block: 58px; }
.contact-band h2 { font-size: clamp(2.5rem, 4.65vw, 4.5rem); }
.contact-band p { color: var(--soft-ink); margin-top: 10px; }
.contact-band .button { flex: none; }

.site-footer { border-top: 1px solid var(--rule); background: var(--sand); color: var(--soft-ink); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 24px; min-height: 103px; padding-block: 16px; }
.footer-inner .brand { color: var(--ink); }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 0 21px; }
.footer-inner > div a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }

.inner-page { padding-block: clamp(35px, 6.5vw, 82px) clamp(45px, 7vw, 90px); }
.page-head { margin-bottom: 31px; }
.page-head h1 { max-width: 900px; font-size: clamp(3.8rem, 7vw, 7rem); }
.page-head p { color: var(--soft-ink); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 650px; margin-top: 16px; }
.inner-page + .contact-band { border-top: 1px solid var(--rule); }
.back-link { margin: -16px 0 20px; }
.article-top { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 32px; }
.article-top .eyebrow { margin-bottom: 11px; }
.article-photo .card-image { border-radius: 4px; }
.article-photo figcaption { padding-top: 9px; text-align: right; }
.prose { font-size: 1.065rem; }
.article-body { max-width: 680px; margin: 36px auto 0; }
.prose h2 { font-size: clamp(2.05rem, 4vw, 3rem); line-height: 1.08; }
.prose p + h2, .article-body section + section { margin-top: 28px; }
.prose h2 + p { margin-top: 9px; }
.prose > .text-link { margin-top: 12px; }
.source-box { margin-top: 30px; background: var(--sand); padding: 20px 24px; border-left: 3px solid var(--accent); }
.source-box h2 { font-size: 1.9rem; }
.source-box ul { margin: 9px 0 0; padding-inline-start: 19px; }
.source-box li + li { margin-top: 6px; }
.about-grid, .ask-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(26px, 6vw, 88px); align-items: start; }
.about-photo > div { aspect-ratio: 1.02; border-radius: 4px; overflow: hidden; background: var(--sand); }
.about-photo img { height: 100%; object-fit: cover; object-position: 50% 49%; }
.personal-photo img { height: auto; max-height: 540px; border-radius: 4px; object-fit: contain; background: var(--sand); }
.personal-photo figcaption { padding-top: 8px; }
.hero-portrait { width: min(100%, 560px); justify-self: center; }
.hero-portrait img { aspect-ratio: 1.16; max-height: none; object-fit: cover; object-position: 50% 82%; }
.story-teaser { border-left: 3px solid var(--accent); padding: 24px clamp(16px, 4vw, 40px); margin-bottom: 34px; background: var(--sand); }
.story-teaser h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin: 8px 0 10px; max-width: 850px; }
.story-teaser > p:not(.eyebrow), .story-copy { max-width: 680px; }
.story-copy p + p { margin-top: 1.25em; }
.story-photo { max-width: 680px; margin-bottom: 22px; }
.personal-story .page-head { margin-top: 12px; }
.personal-story .page-head h1 { font-size: clamp(3rem, 6vw, 5.75rem); }
.travel-gallery { margin: 0 0 38px; }
.travel-gallery > h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 20px; }
.travel-album { border-top: 1px solid var(--rule); padding-top: 16px; margin-bottom: 15px; scroll-margin-top: 12px; }
.travel-album h3 { margin-bottom: 13px; }
.travel-album .album { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 400px)); align-items: start; gap: 16px; }
.travel-album .personal-photo img { max-height: 470px; }
.country-list details p a { display: inline-block; padding-block: 6px; }
.privacy-page { max-width: 810px; }

.map-panel { border: 1px solid var(--rule); border-radius: 4px; background: #f0ebde; padding: clamp(14px, 4vw, 48px); }
.map-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.map-heading h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
.map-heading p { color: var(--red); font-weight: 750; }
.map-panel .map { max-width: 1020px; margin: 10px auto; }
.map-panel .map img { filter: brightness(.86) saturate(.6); }
.map-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; color: var(--soft-ink); font-size: .8rem; }
.map-legend span { display: inline-flex; gap: 6px; align-items: center; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.map-legend span:last-child i { background: #ffe0a7; border: 2px solid var(--green); }
.travel-index { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.filter {
  color: var(--green); border: 1px solid var(--rule); border-radius: 999px;
  background: var(--white); padding: 8px 15px; min-height: 44px; font-size: .86rem; font-weight: 750;
}
.filter[aria-pressed="true"], .filter:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.country-groups section { padding: 18px 0; border-top: 1px solid var(--rule); }
.country-groups h3 { margin-bottom: 11px; }
.country-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 9px 15px; }
.country-list details { border: 1px solid var(--rule); border-radius: 4px; background: var(--white); padding-inline: 13px; }
.country-list summary { min-height: 47px; padding-block: 11px; cursor: pointer; font-weight: 700; }
.country-list summary small { margin-left: 9px; color: var(--soft-ink); font-weight: 500; }
.country-list details p { color: var(--soft-ink); padding-bottom: 13px; }
.album { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; padding-bottom: 16px; }
.map-credit { font-size: .78rem; color: var(--soft-ink); }

.ask-intro .page-head { margin-bottom: 24px; }
.form-panel { padding: clamp(18px, 3.5vw, 42px); border: 1px solid var(--rule); border-radius: 4px; background: var(--white); }
.form-panel h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); margin-bottom: 9px; }
.form-panel > p { color: var(--soft-ink); }
.form-panel form { margin-top: 18px; }
.form-panel label { display: block; font-size: .89rem; font-weight: 750; margin-bottom: 5px; }
.form-panel label span { color: var(--soft-ink); font-weight: 450; }
.form-panel input, .form-panel select, .form-panel textarea {
  width: 100%; min-height: 45px; border-radius: 3px; background: var(--paper); color: var(--ink);
  border: 1px solid #aaa293; margin-bottom: 13px; padding: 7px 10px;
}
.form-panel textarea { resize: vertical; margin-bottom: 4px; }
.field-help { color: var(--soft-ink); font-size: .84rem; margin-bottom: 15px; }
#question-status { color: var(--green); margin-top: 8px; font-size: .9rem; font-weight: 650; }
.privacy-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft-ink); font-size: .85rem; }

body:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { font-family: var(--sans); line-height: 1.18; letter-spacing: -.06em; font-weight: 720; }
:lang(ko) .hero h1, :lang(ko) .page-head h1 { font-size: clamp(2.55rem, 5.3vw, 5.4rem); }
:lang(ko) .hero h1 em { font-style: normal; }
:lang(ko) h2 { font-size: clamp(1.8rem, 3.5vw, 3.7rem); }
:lang(ko) h3 { font-size: clamp(1.18rem, 1.85vw, 1.8rem); }
:lang(ko) .eyebrow { letter-spacing: .07em; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 15px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .8rem; }
  .hero { gap: 32px; }
  .guide-grid { gap: 15px; }
}
@media (max-width: 800px) {
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 66px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; gap: 1px 18px; padding-bottom: 9px; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: 8px; align-items: center; padding: 0 6px; font-size: .86rem; font-weight: 700; }
  .site-nav[data-collapsed] { display: none; }
  .locale-link { grid-column: 3; grid-row: 1; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero h1 { font-size: clamp(4.05rem, 11vw, 6rem); }
  .hero-copy { padding-bottom: 0; }
  .hero-copy > p:not(.eyebrow) { max-width: 440px; }
  .hero-frame { aspect-ratio: 1.56; }
  .travel-preview { gap: 23px; grid-template-columns: 1fr; }
  .travel-preview .map { max-width: 650px; }
  .article-top { grid-template-columns: 1fr; gap: 0; }
  .about-grid, .ask-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 29px; padding-bottom: 32px; }
  .hero .eyebrow { margin-bottom: 13px; }
  .hero-copy > p:not(.eyebrow) { margin-top: 16px; }
  .hero-actions { margin-top: 18px; }
  .section { padding-block: 26px 42px; }
  .section-head, .contact-band { align-items: flex-start; flex-direction: column; }
  .section-head { gap: 4px; margin-bottom: 15px; }
  .section-head p { margin-top: 7px; }
  .guide-grid { grid-template-columns: 1fr; }
  .card-text { padding-top: 16px; padding-bottom: 19px; }
  .travel-preview, .contact-band { padding-block: 35px; }
  .country-list { grid-template-columns: 1fr; }
  .country-list summary small { display: inline-block; }
  .map-pin b { top: -19px; font-size: .62rem; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { gap: 5px; }
  .brand { font-size: 1.65rem; }
  .hero h1 { font-size: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .guide-link:hover .card-image img { transform: none; }
}
