:root {
  color-scheme: light;
  --paper: #f4f5f3;
  --white: #fff;
  --ink: #152a30;
  --muted: #627173;
  --line: #dce2de;
  --accent: #17584c;
  --sans: Arial, 'Segoe UI', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #e59942; outline-offset: 6px; }
::selection { background: #b5dfb3; color: #142c35; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 20px; top: 12px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* One continuous photograph, oversized type, a small floating navigation. */
.hero { min-height: 402px; height: calc(60svh - 51.6px); max-height: 630px; display: flex; flex-direction: column; position: relative; isolation: isolate; background: #36596a; color: white; overflow: hidden; }
.hero-photo { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.hero::after { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(14,39,50,.3) 0%, rgba(14,39,50,.13) 43%, rgba(9,26,29,.1) 51%, rgba(9,26,29,.82) 100%); }
.site-header { position: relative; z-index: 2; display: flex; flex-shrink: 0; align-items: center; gap: 28px; width: min(1140px, calc(100% - 112px)); margin: 16px auto 0; padding: 5px 12px 5px 27px; min-height: 58px; background: rgba(255,255,255,.95); color: var(--ink); border: 1px solid rgba(255,255,255,.55); border-radius: 99px; box-shadow: 0 8px 32px #102b3012; }
.brand { display: inline-flex; font-size: 1.625rem; line-height: 1; font-weight: 800; letter-spacing: -1.1px; white-space: nowrap; }
.brand span { color: #43795c; }
.header-note { color: var(--muted); font-size: .8125rem; margin-right: auto; line-height: 1.4; }
.header-link { font-size: .875rem; white-space: nowrap; min-height: 40px; display: flex; align-items: center; }
.header-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.language-switch { display: inline-flex; flex-shrink: 0; gap: 1px; padding: 3px; background: #edf0eb; border-radius: 30px; }
.language-switch button { border: 0; border-radius: 22px; background: transparent; padding: 9px 12px; min-height: 38px; font-size: .875rem; color: #526364; }
.language-switch button[aria-pressed="true"] { background: var(--ink); color: white; }
.language-switch button:hover:not([aria-pressed="true"]) { background: #e0e7df; color: var(--ink); }
.hero-heading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px 3.5%; }
.hero-kicker { font-size: clamp(1.125rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.4; letter-spacing: .06em; margin-bottom: 14px; text-shadow: 0 2px 10px #103036aa; }
h1 { font-family: 'Arial Black', Arial, sans-serif; font-size: clamp(4.2rem, 16.24vw, 16.1rem); font-weight: 900; line-height: .76; letter-spacing: -.075em; padding-right: .075em; color: #fff; }
.hero-bottom { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 43px; }
.hero-title { font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1.2; font-weight: 600; letter-spacing: -.7px; }
.explore-link { display: inline-flex; gap: 23px; align-items: center; font-size: .9375rem; padding-bottom: 4px; }
.explore-arrow { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ffffffa3; border-radius: 50%; font-size: 1.4rem; transition: background .2s, color .2s; }
.explore-link:hover .explore-arrow { background: white; color: var(--ink); }
.photo-credit { position: absolute; bottom: 10px; left: max(56px, calc((100vw - 1240px) / 2)); right: max(56px, calc((100vw - 1240px) / 2)); display: flex; justify-content: space-between; gap: 20px; font-size: .75rem; letter-spacing: 1.5px; color: #e3e9e5; }
.photo-credit span { font-size: .75rem; letter-spacing: 0; color: #d4dfd9; }
.photo-credit:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Five direct entries, with the same reading order on every screen. */
.collection-index { border-bottom: 1px solid var(--line); }
.collection-index ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; }
.collection-index li + li { border-left: 1px solid var(--line); }
.collection-index a { display: flex; gap: 14px; align-items: center; justify-content: center; min-height: 60px; font-size: 1rem; transition: background .2s; }
.collection-index a span { font-size: .75rem; color: var(--muted); }
.collection-index a b { font-weight: 500; }
.collection-index a:hover { background: #e7ece6; }
.collection { padding-top: 30px; }
.collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 24px; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: 2px; color: var(--accent); margin-bottom: 9px; }
.collection-heading h2 { font-size: clamp(1.75rem, 2.5vw, 2.125rem); font-weight: 600; line-height: 1.2; letter-spacing: -1px; }
.collection-heading > p { color: var(--muted); font-size: .9375rem; line-height: 1.75; padding-bottom: 4px; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card { --card-accent: #245d4d; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; background: white; border-radius: 14px; overflow: hidden; min-width: 0; }
.app-card--kbo { --card-accent: #c7dfb9; background: #183439; color: white; }
.app-card--seoul { --card-accent: #36596a; }
.app-card--name { --card-accent: #6d4a3a; }
.app-card--food { --card-accent: #8e4830; }
.app-art { position: relative; grid-column: 1; grid-row: 1; height: clamp(240px, 24vw, 300px); overflow: hidden; background: #d8dfd4; }
.app-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.app-art--kbo img { object-position: 48% 60%; }
.app-art--city img { object-position: 58% 50%; }
.app-art--seoul img { object-position: 50% 54%; }
.app-art--name img { object-position: 48% 50%; }
.app-art--food img { object-position: 50% 63%; }
.name-sample { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; font: 2rem/1.5 'Batang', 'Malgun Gothic', serif; letter-spacing: 8px; transform: rotate(-8deg); color: #563b2e; padding-top: 14px; }
.name-sample span { font: .75rem/1.4 var(--sans); letter-spacing: 2px; margin-top: 14px; }
.app-copy { grid-column: 1; grid-row: 2; padding: 22px 26px 0; }
.app-copy h2 { font-size: clamp(1.75rem, 2.5vw, 2.125rem); font-weight: 600; line-height: 1.12; letter-spacing: -1.2px; margin-bottom: 10px; }
.app-copy h2 em { font-style: normal; font-weight: inherit; }
.app-description { color: var(--muted); font-size: 1rem; line-height: 1.6; }
.app-card--kbo .app-description { color: #dae4df; }
.app-action { grid-column: 1; grid-row: 3; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 26px 22px; }
.open-app { display: inline-flex; gap: 25px; align-items: center; justify-content: space-between; min-height: 48px; padding: 11px 20px; background: var(--ink); color: white; border: 1px solid var(--ink); border-radius: 30px; font-size: .875rem; font-weight: 500; transition: background .18s, border-color .18s; }
.open-app span:last-child { font-size: 1.25rem; }
.app-card--kbo .open-app { background: #e2efd7; color: #19382e; border-color: #e2efd7; }
.open-app:hover { background: #286753; border-color: #286753; }
.app-card--kbo .open-app:hover { background: white; border-color: white; }
.action-caption { color: var(--muted); font-size: .75rem; }
.app-card--kbo .action-caption { color: #b7ccc7; }
.guide-note { display: grid; grid-template-columns: 190px minmax(0, 1fr) 170px; align-items: start; gap: 40px; padding: 55px 0 67px; }
.note-label { font-size: .75rem; color: var(--accent); letter-spacing: 1.1px; max-width: 160px; padding-top: 5px; }
.guide-note h2 { font-size: 1.5rem; line-height: 1.35; font-weight: 500; letter-spacing: -.6px; margin-bottom: 13px; }
.guide-note p { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 620px; }
.note-signature { font-size: .9375rem; line-height: 1.5; padding-top: 6px; color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0 35px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--ink); font-weight: 700; font-size: 1.625rem; line-height: 1; letter-spacing: -1px; }
.footer-brand span { color: #43795c; }
.site-footer p { font-size: .8125rem; }
.back-top { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; font-size: .875rem; }
.back-top:hover { color: var(--accent); }
html[lang="ko"] body { font-family: Arial, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ko"] .hero-title { font-weight: 500; }
html[lang="ko"] .hero-kicker { letter-spacing: .04em; }
html[lang="ko"] .collection-heading h2 { line-height: 1.35; font-size: clamp(1.625rem, 2.3vw, 2rem); letter-spacing: -1px; }
html[lang="ko"] .app-copy h2 { line-height: 1.3; letter-spacing: -1.4px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .app-card:has(.open-app:hover) .app-art img { transform: scale(1.035); }
}
@media (min-width: 1700px) {
  h1 { font-size: min(17.5rem, 36svh); }
}
@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .site-header { width: calc(100% - 72px); gap: 24px; }
  .header-note { display: none; }
  .brand { margin-right: auto; }
  .photo-credit { left: 36px; right: 36px; }
  .app-copy { padding: 22px 24px 0; }
  .app-action { padding: 18px 24px 22px; }
  .app-copy h2 { letter-spacing: -1px; }
  .guide-note { grid-template-columns: 150px minmax(0, 1fr); gap: 25px; }
  .note-signature { display: none; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .hero { min-height: 384px; height: calc(60svh - 78px); max-height: 540px; }
  .hero-photo { object-position: 52% 50%; }
  .site-header { width: calc(100% - 32px); margin-top: 13px; min-height: 56px; padding: 5px 9px 5px 20px; gap: 18px; }
  .brand { font-size: 1.5rem; }
  .header-link--about { display: none; }
  .hero-heading { padding: 14px 5%; }
  .hero-kicker { font-size: 1.125rem; letter-spacing: .03em; margin-bottom: 18px; max-width: 32rem; text-wrap: balance; }
  h1 { font-size: 16.1vw; }
  .hero-bottom { flex-wrap: wrap; gap: 12px; margin-bottom: 53px; }
  .hero-title { font-size: 1.375rem; letter-spacing: -.5px; }
  .explore-link { gap: 10px; font-size: .875rem; padding: 0; }
  .explore-arrow { width: 30px; height: 30px; font-size: 1.1rem; }
  .photo-credit { left: 20px; right: 20px; flex-direction: column; gap: 0; bottom: 10px; font-size: .75rem; letter-spacing: 1px; }
  .photo-credit span { font-size: .75rem; }
  .collection-index a { min-height: 60px; flex-direction: column; justify-content: center; padding: 5px 0; font-size: .875rem; gap: 0; }
  .collection { padding-top: 26px; }
  .collection-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .collection-heading h2 { font-size: 1.75rem; letter-spacing: -.8px; }
  .collection-heading > p { font-size: .9375rem; }
  .eyebrow { margin-bottom: 9px; }
  .app-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .app-card { border-radius: 12px; }
  .app-art { height: clamp(220px, 60vw, 320px); }
  .app-copy { grid-column: 1; grid-row: 2; padding: 20px 24px 0; }
  .app-copy h2 { font-size: 2rem; line-height: 1.12; margin-bottom: 10px; }
  .app-description { font-size: 1rem; }
  .app-action { grid-column: 1; grid-row: 3; padding: 17px 24px 22px; gap: 10px 16px; }
  .open-app { min-height: 48px; }
  .name-sample { font-size: 2rem; padding-top: 14px; }
  .name-sample span { margin-top: 6px; }
  .guide-note { grid-template-columns: 1fr; gap: 18px; padding: 25px 0 40px; }
  .note-label { max-width: none; }
  .guide-note h2 { font-size: 1.5rem; }
  .site-footer { flex-wrap: wrap; gap: 15px; padding: 22px 0 25px; }
  .site-footer p { width: 100%; order: 3; }
  .back-top { margin-left: auto; }
  html[lang="ko"] .hero-title { font-size: 1.25rem; }
  html[lang="ko"] .app-copy h2 { font-size: 1.875rem; }
}
@media (max-width: 420px) {
  .header-link { display: none; }
  .hero { min-height: 375px; }
  .hero-title { font-size: 1.25rem; }
  .app-copy { padding-inline: 22px; }
  .app-action { padding-inline: 22px; }
  .app-copy h2 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
