:root {
  color-scheme: dark;
  --ink: #0b141a;
  --ink-deep: #070d11;
  --panel: #0f1b22;
  --paper: #f2eee6;
  --muted: #c4c7c6;
  --quiet: #858f94;
  --warm: #d8c2a0;
  --line: rgba(242, 238, 230, .18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", "AppleMyungjo", "Batang", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 58px; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font: 14px/1.6 var(--sans); }
body.dialog-open { overflow: hidden; }
a { color: inherit; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 14px; top: -70px; padding: 8px 14px; background: var(--paper); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(28px, 5vw, 76px); border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(5,9,12,.78), rgba(5,9,12,.12)); transition: background .2s, border-color .2s; }
.site-header.scrolled { background: rgba(8,15,20,.94); border-color: var(--line); backdrop-filter: blur(14px); }
.wordmark { justify-self: start; font: 500 21px/1 var(--serif); letter-spacing: .16em; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.site-nav a { color: rgba(242,238,230,.78); font-size: 11px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--paper); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 24px; }
.search-link { width: 20px; height: 20px; display: grid; place-items: center; }
.search-link span { position: relative; width: 11px; height: 11px; border: 1px solid var(--paper); border-radius: 50%; }
.search-link span::after { content: ""; position: absolute; width: 6px; height: 1px; right: -5px; bottom: -3px; background: var(--paper); transform: rotate(45deg); }
.header-cta { min-height: 30px; display: inline-flex; align-items: center; gap: 8px; padding: 3px 15px; border: 1px solid rgba(242,238,230,.72); border-radius: 999px; font: 12px var(--serif); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 0; }

.hero { position: relative; height: clamp(410px, 33.8vw, 520px); min-height: 0; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -3; inset: 0; display: block; background: #0d1b22; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 52%; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5,10,13,.64), rgba(5,10,13,.15) 56%, rgba(5,10,13,.08)), linear-gradient(0deg, rgba(8,15,20,.34), transparent 42%); }
.hero-copy { width: min(1260px, calc(100% - 120px)); margin: 32px auto 0; }
.hero-kicker { margin: 0 0 5px; font-size: 10px; line-height: 1.35; letter-spacing: .12em; }
.hero h1 { margin: 0 0 2px; font: 400 clamp(68px, 7.4vw, 104px)/.98 var(--serif); letter-spacing: .02em; }
.hero-lead { margin: 0; font: 400 clamp(21px, 2vw, 29px)/1.45 var(--serif); letter-spacing: -.025em; word-break: keep-all; }
.hero-rule { display: block; width: 32px; height: 1px; margin: 17px 0 14px; background: var(--paper); }
.hero-link { display: inline-flex; align-items: center; gap: 11px; font-size: 11px; text-decoration: none; }
.hero-link span { color: var(--warm); }
.hero-note { position: absolute; right: clamp(54px, 7.5vw, 108px); bottom: 44px; margin: 0; transform: rotate(-8deg); font: italic 18px/1.28 var(--serif); text-align: center; }

.section { position: relative; border-top: 1px solid var(--line); }
.section-copy h2, .row-intro h2, .lower-panel h2 { margin: 0; font: 400 27px/1.3 var(--serif); letter-spacing: -.025em; word-break: keep-all; }
.section-copy > p:not(.eyebrow), .row-intro > p:not(.eyebrow), .lower-panel div > p:not(.eyebrow) { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; word-break: keep-all; }
.eyebrow { margin: 0 0 5px; color: var(--paper); font: 500 11px/1.2 var(--serif); letter-spacing: .01em; }
.pill-link { min-height: 29px; display: inline-flex; align-items: center; gap: 18px; margin-top: 13px; padding: 3px 16px; border: 1px solid rgba(242,238,230,.62); border-radius: 999px; background: rgba(4,9,12,.18); color: var(--paper); font-size: 10px; text-decoration: none; cursor: pointer; }
.pill-link span { font-size: 13px; }
.button-reset { appearance: none; }
.design-asset { display: block; overflow: hidden; }
.design-asset img { width: 100%; height: 100%; display: block; object-fit: cover; }

.section-about { height: 330px; display: grid; grid-template-columns: minmax(238px, 25%) minmax(0, 54%) minmax(210px, 21%); align-items: stretch; padding-left: max(54px, calc((100% - 1340px) / 2)); background: #0b151b; }
.about-intro { align-self: center; padding: 34px 34px 34px 0; }
.about-image { height: 100%; min-height: 0; }
.about-image img { object-position: center 47%; }
.section-about blockquote { align-self: center; margin: 0; padding: 30px clamp(24px, 3vw, 48px); font: 400 clamp(19px, 1.55vw, 24px)/1.55 var(--serif); text-align: center; word-break: keep-all; }
.section-about blockquote span { color: var(--warm); }
.section-about blockquote i { display: block; width: 34px; height: 1px; margin: 22px auto 0; background: var(--paper); }

.section-world { display: grid; grid-template-columns: minmax(250px, 24%) minmax(0, 54%) minmax(220px, 22%); background: #0a141a; }
.world-intro { align-self: center; padding: 34px 34px 30px max(54px, calc((100vw - 1340px) / 2)); }
.world-center { min-width: 0; padding: 16px 20px 12px; background: radial-gradient(circle at 56% 28%, rgba(52,70,78,.2), transparent 55%); }
.map-shell { background: transparent; }
.map-toolbar { min-height: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--quiet); font-size: 9px; }
.map-toolbar p { margin: 0; text-align: right; }
.map-key { display: inline-block; width: 7px; height: 7px; margin: 0 4px 0 9px; border: 1px solid #46545a; background: #24333a; vertical-align: 0; }
.map-key:first-child { margin-left: 0; }
.map-key.visited { background: var(--warm); border-color: var(--warm); }
.world-map { height: 178px; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.world-map svg { width: 100%; height: auto; max-height: 190px; display: block; }
.world-map .map-country { fill: #33434b; stroke: #111d23; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .16s, opacity .16s; }
.world-map .map-country.visited, .world-map .map-marker.visited { fill: var(--warm); cursor: pointer; }
.world-map .map-country.visited:hover, .world-map .map-country.visited:focus-visible, .world-map .map-country.selected, .world-map .map-marker.selected { fill: #f2d8ae; outline: none; filter: drop-shadow(0 0 6px rgba(216,194,160,.65)); }
.world-map .map-marker { fill: var(--warm); stroke: #111d23; stroke-width: 2; cursor: pointer; }
.loading, .map-error { color: var(--quiet); }
.map-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stats { min-height: 69px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 22px; border-top: 1px solid var(--line); }
.stats article { display: flex; align-items: center; gap: 10px; }
.stats article > span { font: 400 31px/1 var(--serif); }
.stats article p { margin: 0; font: 13px/1.1 var(--serif); }
.stats article small { display: block; margin-top: 5px; color: var(--quiet); font: 9px/1.2 var(--sans); }
.stats-date { align-self: end; margin: 0 0 7px; color: var(--quiet); font-size: 8px; }
.world-image { position: relative; min-height: 302px; }
.world-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,15,.15), rgba(6,12,15,.02)); }
.world-image img { object-position: 58% center; }
.world-image span { position: absolute; z-index: 1; left: 28px; bottom: 28px; font: 17px/1.2 var(--serif); }
.country-list-wrap { grid-column: 1 / -1; min-height: 36px; border-top: 1px solid var(--line); }
.country-list-wrap summary { width: min(1340px, calc(100% - 108px)); margin: 0 auto; padding: 8px 0; color: var(--quiet); font-size: 10px; cursor: pointer; }
.country-list { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin: 0; padding: 1px; background: var(--line); }
.country-list li { background: var(--panel); }
.country-list button { width: 100%; padding: 10px 12px; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.country-list button::after { content: " · 방문함"; color: var(--warm); font-size: 9px; }

.media-row { min-height: 185px; display: grid; grid-template-columns: minmax(250px, 24%) minmax(0, 76%); }
.row-intro { align-self: center; padding: 25px 32px 25px max(54px, calc((100vw - 1340px) / 2)); }
.row-intro > p:not(.eyebrow) { margin-top: 10px; font-size: 11px; }
.story-grid, .moment-grid { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 7px max(8px, calc((100vw - 1440px) / 2)) 7px 0; }
.story-card { position: relative; min-width: 0; overflow: hidden; background: #0d1a20; }
.story-card picture, .story-card img { width: 100%; height: 100%; display: block; }
.story-card img { object-fit: cover; }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,7,9,.9), transparent 64%); }
.story-card div { position: absolute; z-index: 1; left: 14px; right: 30px; bottom: 11px; }
.story-card h3 { margin: 0; font: 400 16px/1.3 var(--serif); }
.story-card p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.story-card > span { position: absolute; z-index: 1; right: 12px; bottom: 14px; }
.section-moments { background: #081015; }
.moment-grid button { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: #0e1a20; cursor: pointer; }
.moment-grid picture, .moment-grid img { width: 100%; height: 100%; display: block; }
.moment-grid img { object-fit: cover; transition: transform .25s; }
.moment-grid button:hover img { transform: scale(1.025); }
.moment-grid button > span { position: absolute; left: 9px; bottom: 7px; padding: 2px 5px; background: rgba(5,10,13,.68); color: rgba(242,238,230,.7); font-size: 7px; letter-spacing: .09em; }

.lower-grid { min-height: 300px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lower-panel { position: relative; min-width: 0; min-height: 300px; overflow: hidden; border-right: 1px solid var(--line); isolation: isolate; }
.lower-panel:last-child { border-right: 0; }
.lower-panel > picture { position: absolute; z-index: -2; inset: 0; }
.lower-panel > picture img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lower-panel::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,10,13,.94), rgba(5,10,13,.35) 76%), linear-gradient(0deg, rgba(5,10,13,.58), transparent 60%); }
.lower-panel > div { width: 58%; min-width: 210px; padding: 31px 0 26px max(28px, calc((100vw - 1440px) / 6)); }
.lower-panel h2 { font-size: clamp(22px, 1.8vw, 28px); }
.lower-panel strong { color: var(--paper); font-weight: 500; }
.lower-reviews > picture img { object-position: 69% center; }
.lower-making > picture img { object-position: 60% center; }
.lower-now > picture img { object-position: 82% center; }

footer { min-height: 58px; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 28px; padding: 10px clamp(28px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--quiet); }
footer .wordmark { color: var(--paper); font-size: 16px; }
footer p, footer small { margin: 0; font-size: 9px; }
footer nav { justify-self: center; display: flex; gap: 22px; }
footer nav a { font-size: 9px; text-decoration: none; }

.content-dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(216,194,160,.4); background: #101d24; color: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.72); }
.content-dialog::backdrop { background: rgba(2,7,10,.82); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; z-index: 2; right: 12px; top: 11px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: rgba(11,20,26,.9); font-size: 24px; cursor: pointer; }
.dialog-visual { min-height: 290px; display: grid; place-items: end start; padding: 18px; background: linear-gradient(0deg, rgba(5,10,13,.55), transparent), url("./assets/editorial/about-underwater-desktop.webp") center/cover; color: rgba(242,238,230,.75); font-size: 9px; letter-spacing: .16em; }
.dialog-copy { padding: 30px 36px 36px; }
.dialog-copy h2 { margin: 0; font: 400 32px/1.3 var(--serif); }
.dialog-copy > p:not(.eyebrow) { color: var(--muted); }
.dialog-copy small { color: var(--quiet); }
.review-dialog { width: min(680px, calc(100% - 32px)); }
.dialog-lead { margin-bottom: 24px; }
.review-outline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.review-outline li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review-outline li > span { color: var(--warm); font: italic 14px var(--serif); }

@media (max-width: 1024px) {
  .site-header { padding-inline: 28px; }
  .site-nav { gap: 16px; }
  .header-cta { display: none; }
  .hero-copy { width: calc(100% - 72px); }
  .section-about { grid-template-columns: 29% 48% 23%; padding-left: 32px; }
  .world-intro, .row-intro { padding-left: 32px; }
  .section-world { grid-template-columns: 27% 50% 23%; }
  .world-center { padding-inline: 10px; }
  .world-map { height: 160px; }
  .country-list { grid-template-columns: repeat(4, 1fr); }
  .media-row { grid-template-columns: 27% 73%; }
  .lower-panel > div { width: 68%; padding-left: 24px; }
  footer nav { gap: 12px; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .site-header { height: 62px; display: flex; justify-content: space-between; padding: 0 20px; background: rgba(9,16,21,.35); }
  .site-header.scrolled { background: rgba(9,16,21,.95); }
  .wordmark { font-size: 22px; }
  .header-tools { margin-left: auto; margin-right: 12px; }
  .search-link, .header-cta { display: none; }
  .menu-toggle { order: 3; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; cursor: pointer; }
  .menu-toggle i { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 62px 0 auto; display: none; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 7px 20px 20px; background: rgba(9,16,21,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; }
  .hero { height: 560px; }
  .hero-art img { object-position: center 44%; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,10,13,.58), rgba(5,10,13,.05)), linear-gradient(0deg, rgba(5,10,13,.55), transparent 55%); }
  .hero-copy { width: calc(100% - 40px); align-self: flex-start; margin-top: 78px; }
  .hero-kicker { margin-bottom: 8px; font-size: 9px; }
  .hero h1 { display: none; }
  .hero-lead { font-size: 20px; line-height: 1.5; }
  .hero-rule { margin-top: 18px; }
  .hero-note { right: 25px; bottom: 53px; font-size: 16px; }
  .section-copy h2, .row-intro h2 { font-size: 26px; }
  .section-about { height: auto; display: grid; grid-template-columns: 1fr; padding: 0; }
  .about-intro { padding: 26px 20px 24px; }
  .about-image { order: 2; height: 235px; min-height: 0; margin: 0 20px; }
  .section-about blockquote { order: 3; min-height: 155px; padding: 35px 28px; font-size: 20px; }
  .section-world { display: flex; flex-direction: column; }
  .world-intro { padding: 27px 20px 24px; }
  .world-center { order: 2; padding: 10px 20px 18px; }
  .map-toolbar { min-height: 32px; }
  .map-toolbar p { max-width: 53%; }
  .world-map { height: 205px; }
  .stats { min-height: 82px; grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-date { grid-column: 1 / -1; justify-self: start; margin: -4px 0 3px; }
  .world-image { order: 3; min-height: 220px; }
  .country-list-wrap { order: 4; }
  .country-list-wrap summary { width: calc(100% - 40px); }
  .country-list { grid-template-columns: repeat(2, 1fr); }
  .media-row { min-height: 0; display: block; }
  .row-intro { padding: 26px 20px 22px; }
  .story-grid { grid-template-columns: repeat(4, 82vw); gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; padding: 0 20px 18px; }
  .story-card { height: 205px; scroll-snap-align: start; }
  .moment-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 0 20px 20px; }
  .moment-grid button { aspect-ratio: 1.35; }
  .lower-grid { display: block; }
  .lower-panel { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lower-panel > div { width: 65%; min-width: 0; padding: 31px 0 26px 20px; }
  .lower-panel h2 { font-size: 25px; }
  .lower-reviews > picture img { object-position: 72% center; }
  .lower-making > picture img { object-position: 63% center; }
  .lower-now > picture img { object-position: 72% center; }
  footer { grid-template-columns: auto 1fr; gap: 10px 20px; padding: 22px 20px; }
  footer p { justify-self: end; }
  footer nav { grid-column: 1 / -1; justify-self: start; flex-wrap: wrap; }
  footer small { grid-column: 1 / -1; }
  .content-dialog { max-height: calc(100dvh - 24px); }
  .dialog-visual { min-height: 240px; background-image: linear-gradient(0deg, rgba(5,10,13,.55), transparent), url("./assets/editorial/about-underwater-mobile.webp"); }
  .dialog-copy { padding: 27px 22px 30px; }
  .dialog-copy h2 { font-size: 28px; }
}

@media (max-width: 400px) {
  .hero { height: 540px; }
  .hero-copy { margin-top: 74px; }
  .hero-lead { font-size: 18px; }
  .country-list { grid-template-columns: 1fr; }
  .moment-grid { grid-template-columns: 1fr 1fr; }
  .moment-grid button > span { font-size: 6px; }
  .lower-panel > div { width: 72%; }
  .review-outline li { grid-template-columns: 32px 1fr; }
  .review-outline small { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
