:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --ink: #282b24;
  --muted: #5b5d50;
  --red: #9e392b;
  --line: #d8d1c2;
  --serif: Georgia, 'Noto Serif KR', 'Batang', 'AppleMyungjo', serif;
  --sans: system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

.shell { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; left: 1rem; top: 1rem; padding: .6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: 1.32rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff7ed; font-family: var(--sans); font-size: .95rem; }
.cities, .languages { display: flex; align-items: center; }
.cities { gap: clamp(1rem, 3vw, 2.5rem); }
.cities a { padding-block: .6rem; font-size: .9rem; text-decoration: none; }
.cities a:hover, .guide:hover { color: var(--red); }
.languages { gap: .15rem; padding: .22rem; border: 1px solid var(--line); border-radius: 2rem; }
.languages a { padding: .38rem .65rem; border-radius: 1rem; font-size: .78rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.languages a[aria-current] { background: #e7dfd0; font-weight: 700; }
.languages a:hover { text-decoration: underline; }

.hero { position: relative; display: grid; align-items: center; min-height: clamp(31rem, 62vw, 40rem); overflow: hidden; background: #35382d; color: #fffaf0; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 50% 44%; }
.hero::after { content: ''; background: linear-gradient(90deg, rgba(20, 23, 19, .86), rgba(20, 23, 19, .58) 43%, rgba(20, 23, 19, .05) 80%), linear-gradient(0deg, rgba(20, 23, 19, .65), transparent 28%); }
.hero-inner { position: relative; z-index: 1; padding-block: 3.25rem 4.6rem; }
.hero-copy { max-width: 36rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(4rem, 7.4vw, 7rem); line-height: .98; font-weight: 400; letter-spacing: -.055em; }
:lang(ko) .hero h1 { font-size: clamp(3.25rem, 6vw, 5.7rem); font-weight: 700; line-height: 1.13; }
.hero-copy p { margin-top: 1.45rem; max-width: 32rem; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.hero-link { display: inline-flex; align-items: center; gap: 1.3rem; margin-top: 1.7rem; padding: .8rem 1rem; border: 1px solid rgba(255, 250, 240, .75); text-decoration: none; font-size: .9rem; font-weight: 650; }
.hero-link:hover { background: #fffaf0; color: var(--ink); }
.hero-caption { position: absolute; right: 0; bottom: -1.7rem; padding: .35rem .55rem; background: rgba(20, 23, 19, .7); font-size: .76rem; }

.destinations { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.15rem); font-weight: 400; letter-spacing: -.05em; }
:lang(ko) .section-heading h2 { font-weight: 700; }
.section-heading p { margin-top: .45rem; color: var(--muted); line-height: 1.55; }
.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.destination { display: flex; flex-direction: column; scroll-margin-top: 1.25rem; border: 1px solid var(--line); background: #fbf8f1; }
.destination > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.destination-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 2.5vw, 1.5rem); }
.location { margin-bottom: .45rem; color: var(--red); font-size: .78rem; font-weight: 750; letter-spacing: .045em; }
.destination h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.destination h3 + p { margin-block: .75rem 1.1rem; line-height: 1.65; }
.walk { width: 100%; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .87rem; line-height: 1.55; }
.walk strong { display: block; margin-bottom: .2rem; }
.guide { margin-top: 1rem; font-size: .87rem; font-weight: 700; text-underline-offset: .2rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem 3rem; padding-block: 1.5rem 2rem; }
.site-footer details { max-width: 32rem; margin-block: .28rem; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.site-footer summary { cursor: pointer; font-weight: 650; }
.credits { margin-block: .65rem; padding-left: 1.25rem; }

@media (max-width: 48rem) {
  .hero-image { object-position: 58% 45%; }
  .hero::after { background: linear-gradient(90deg, rgba(20, 23, 19, .84), rgba(20, 23, 19, .4) 78%), linear-gradient(0deg, rgba(20, 23, 19, .5), transparent 30%); }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 34rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; row-gap: 0; padding-top: .75rem; }
  .brand { font-size: 1.12rem; }
  .cities { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; padding-block: .17rem; }
  .hero { min-height: 31rem; }
  .hero h1 { font-size: clamp(3.05rem, 12vw, 4.3rem); }
  :lang(ko) .hero h1 { font-size: clamp(2.45rem, 11vw, 3.65rem); }
  .hero-copy p { max-width: 28ch; }
  .hero-caption { bottom: -.85rem; }
  .desktop-break { display: none; }
  .destination-grid { grid-template-columns: 1fr; }
}
