: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(32px, 7vw, 102px); border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(5,9,12,.72), rgba(5,9,12,.08)); 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-header > .wordmark { transition: opacity .2s, visibility .2s; }
@media (min-width: 769px) {
  .site-header:not(.scrolled) > .wordmark { opacity: 0; visibility: hidden; pointer-events: none; }
  .site-header.scrolled > .wordmark { opacity: 1; visibility: visible; pointer-events: auto; }
}
.site-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 29px); }
.site-nav { transform: translateX(clamp(-96px, -6vw, -44px)); }
.site-nav a { color: rgba(242,238,230,.76); font-size: 10px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--paper); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 20px; }
.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(350px, 26.4vw, 420px); 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(1236px, calc(100% - 144px)); margin: 28px 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(34px, 3.6vw, 56px); bottom: 39px; margin: 0; transform: rotate(-8deg); font: italic 17px/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; }
.row-intro h2 { font-size: 25px; }
.section-copy > p:not(.eyebrow), .row-intro > p:not(.eyebrow), .lower-panel div > p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; 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: 27px; display: inline-flex; align-items: center; gap: 18px; margin-top: 10px; padding: 2px 15px; 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: 240px; display: grid; grid-template-columns: minmax(230px, 21.5%) minmax(0, 55%) minmax(210px, 23.5%); align-items: stretch; padding-left: clamp(54px, 5vw, 96px); background: #0b151b; }
.about-intro { align-self: center; padding: 16px 34px 16px 0; }
/* Profile links retain their touch area; the primary action keeps its original size. */
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 18px; }
.about-actions > .pill-link { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; }
.social-links a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 2px; border: 0; border-radius: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.social-links a:hover { color: var(--paper); }
.social-links a:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }
.about-image { height: 100%; min-height: 0; }
.about-image img { object-position: center 47%; }
.section-about blockquote { align-self: center; margin: 0; padding: 22px clamp(20px, 2.5vw, 38px); font: 400 clamp(18px, 1.4vw, 21px)/1.5 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: 8px 34px 8px clamp(54px, 5vw, 96px); }
.world-intro h2 { font-size: 25px; line-height: 1.25; }
.world-intro > p:not(.eyebrow) { margin-top: 8px; font-size: 10.5px; line-height: 1.5; }
.world-center { min-width: 0; padding: 9px 18px 8px; background: radial-gradient(circle at 56% 28%, rgba(52,70,78,.2), transparent 55%); }
.map-shell { position: relative; overflow: hidden; 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: 190px; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.world-map:focus-visible { outline: 2px solid var(--warm); outline-offset: -2px; }
.world-map[data-zoom]:not([data-zoom="1.00"]) { cursor: grab; }
.world-map.is-panning, .world-map.is-pinching { cursor: grabbing; }
.world-map svg { width: 100%; height: 100%; max-height: none; 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 { fill: #f2d8ae; outline: none; filter: drop-shadow(0 0 6px rgba(216,194,160,.65)); }
.world-map .map-country.visited.selected, .world-map .map-marker.visited.selected { fill: #91b6ad; stroke: #dce8e2; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(145,182,173,.35)); }
.world-map .map-country.visited.selected:focus-visible, .world-map .map-marker.visited.selected:focus-visible { stroke: var(--paper); stroke-width: 2.5; }
.world-map .map-marker { fill: var(--warm); stroke: #111d23; stroke-width: 2; cursor: pointer; }
.loading, .map-error { color: var(--quiet); }
.map-zoom-controls { position: absolute; z-index: 4; top: 34px; right: 8px; display: grid; grid-template-columns: repeat(3, 30px); gap: 4px; }
.map-zoom-controls button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(242,238,230,.32); border-radius: 6px; background: rgba(7,14,18,.78); color: var(--paper); font: 500 15px/1 var(--sans); cursor: pointer; backdrop-filter: blur(8px); }
.map-zoom-controls button:last-child { font-size: 9px; letter-spacing: .02em; }
.map-zoom-controls button:hover:not(:disabled), .map-zoom-controls button:focus-visible { border-color: var(--warm); background: rgba(15,27,34,.94); }
.map-zoom-controls button:disabled { opacity: .36; cursor: default; }
.map-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stats { min-height: 52px; 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: 220px; }
.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: 25px; bottom: 22px; font: 16px/1.18 var(--serif); }
.country-list-wrap { grid-column: 1 / -1; min-height: 30px; border-top: 1px solid var(--line); }
.country-list-wrap summary { margin: 0; padding: 5px clamp(54px, 5vw, 96px); color: var(--quiet); font-size: 9px; text-align: left; 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: " · " attr(data-visits) "회"; color: var(--warm); font-size: 9px; }

.media-row { height: 156px; min-height: 0; display: grid; grid-template-columns: minmax(250px, 24%) minmax(0, 76%); }
.row-intro { align-self: center; padding: 18px 32px 18px clamp(54px, 5vw, 96px); }
.row-intro > p:not(.eyebrow) { margin-top: 10px; font-size: 11px; }
.story-grid, .moment-grid { min-width: 0; min-height: 0; height: 100%; 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; height: 141px; overflow: hidden; background: #0d1a20; }
.story-card.published-story-card { display: block; color: inherit; text-decoration: none; }
.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 15px/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; }
.story-strip { position: relative; min-width: 0; min-height: 0; height: 100%; }
.story-strip .story-grid { width: 100%; }
.story-grid.published { grid-template-columns: none; grid-template-rows: 141px; grid-auto-flow: column; grid-auto-columns: 211.5px; align-content: center; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.story-grid.published::-webkit-scrollbar { display: none; }
.story-grid.published .story-card { height: 100%; scroll-snap-align: start; }

.story-detail-page { min-height: 100vh; background: var(--bg); color: var(--text); }
.story-detail-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 96px 0 72px; }
.story-detail-back { display: inline-flex; margin-bottom: 22px; color: var(--muted); font-size: 12px; text-decoration: none; }
.story-detail-back:hover { color: var(--text); }
.stories-index h1 { margin: 0; font: 400 clamp(38px, 6vw, 70px)/1.05 var(--serif); letter-spacing: -.035em; }
.stories-index-intro { max-width: 620px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.stories-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.story-list-card { display: grid; overflow: hidden; border: 1px solid var(--line); background: #111d24; color: var(--text); text-decoration: none; }
.story-list-card img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; background: #0b151b; }
.story-list-card div { padding: 16px 17px 19px; }
.story-list-card small { color: var(--warm); font-size: 9px; letter-spacing: .14em; }
.story-list-card h2 { margin: 6px 0 0; font: 400 24px/1.25 var(--serif); letter-spacing: -.02em; word-break: keep-all; }
.story-list-card p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.story-list-card:hover h2, .story-list-card:focus-visible h2 { color: #f2d8ae; }
.story-detail-cover { width: 100%; max-height: 68vh; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: #12212b; }
.story-detail-cover img { width: 100%; height: 100%; display: block; object-fit: contain; }
.story-detail-copy { width: min(760px, 100%); margin: 34px auto 0; }
.story-detail-copy .eyebrow { margin-bottom: 12px; }
.story-detail-copy h1 { margin: 0; font: 400 clamp(32px, 5vw, 64px)/1.08 var(--serif); letter-spacing: -.035em; }
.story-detail-summary { margin: 18px 0 0; color: var(--muted); font: 400 17px/1.7 var(--serif); }
.story-detail-body { margin-top: 34px; color: #dde4e8; font-size: 15px; line-height: 1.9; }
.story-detail-body p { margin: 0 0 1.35em; white-space: pre-wrap; }
.story-detail-body .story-body-heading { margin: 1.7em 0 .7em; color: var(--paper); font: 400 24px/1.35 var(--serif); letter-spacing: -.02em; word-break: keep-all; }
.story-detail-body h3.story-body-heading { font-size: 20px; }
.story-detail-body h4.story-body-heading { font-size: 17px; }
.story-detail-body strong { color: var(--paper); font-weight: 650; }
.story-detail-body .story-body-rule { width: 42px; height: 1px; margin: 30px 0; border: 0; background: rgba(242,238,230,.36); }
.story-detail-body .story-body-image{width:100%;height:auto;max-height:78vh;display:block;margin:26px 0;object-fit:contain;background:#081015;border:0;padding:0;cursor:zoom-in}
.story-detail-body>img.story-body-image{cursor:default}
.story-detail-error { padding: 140px 20px; text-align: center; color: var(--muted); }
.review-page h1{font:400 clamp(38px,6vw,72px)/1.05 var(--serif);letter-spacing:-.035em}.reviews-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px}.review-list-card{display:grid;color:var(--text);text-decoration:none;background:#111d24;border:1px solid var(--line)}.review-list-card img{width:100%;aspect-ratio:3/2;display:block;object-fit:cover}.review-list-card div{padding:18px}.review-list-card small{color:var(--accent);text-transform:uppercase;letter-spacing:.12em}.review-list-card h2{margin:7px 0 0;font:400 25px/1.2 var(--serif)}.review-list-card p{color:var(--muted);font-size:12px;line-height:1.6}.review-rating{color:#d9b66f;letter-spacing:.1em}.review-detail-cover img{object-fit:contain;background:#081015;cursor:zoom-in}.review-detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:36px}.review-detail-gallery button{padding:0;border:0;background:#101b22;cursor:zoom-in}.review-detail-gallery img{width:100%;aspect-ratio:3/2;display:block;object-fit:cover}.review-list-back{margin-top:36px}.review-photo-dialog{width:min(1200px,calc(100vw - 32px));height:min(90vh,900px);padding:42px 24px 24px;border:0;background:#05090c}.review-photo-dialog::backdrop{background:rgba(0,0,0,.9)}.review-photo-dialog img{width:100%;height:100%;display:block;object-fit:contain;cursor:zoom-out}.review-photo-dialog .dialog-close{position:absolute;right:10px;top:8px}
.project-page h1{font:400 clamp(38px,6vw,72px)/1.05 var(--serif);letter-spacing:-.035em}.project-list-card:not(:has(img)){min-height:220px;align-content:end;background:linear-gradient(135deg,#111d24,#0a1318)}.project-detail-cover img{object-fit:contain;background:#081015}.project-public-link{display:inline-flex;margin-top:30px}.project-page .story-detail-copy{padding-bottom:60px}
.project-public-link:not([hidden]) + .story-detail-back{display:flex;width:fit-content;margin-top:16px}
.project-public-link[hidden]{display:none}
.section-moments { height: 156px; min-height: 0; background: #081015; }
.moment-strip { position: relative; min-width: 0; min-height: 0; height: 100%; }
.moment-strip .moment-grid { width: 100%; }
.moment-grid button { position: relative; min-width: 0; min-height: 0; height: 100%; 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; }
.moment-grid.published { grid-template-columns: none; grid-template-rows: 141px; grid-auto-flow: column; grid-auto-columns: 211.5px; align-content: center; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.moment-grid.published::-webkit-scrollbar { display: none; }
.moment-grid.published button { scroll-snap-align: start; }
.moment-grid.published img { object-fit: cover; object-position: center; background: #0e1a20; }
.moment-grid.published button:hover img { transform: none; }
.moment-scroll-button { position: absolute; z-index: 3; top: 50%; width: 34px; height: 34px; padding: 0; transform: translateY(-50%); border: 1px solid rgba(242,238,230,.55); border-radius: 50%; background: rgba(5,10,13,.82); color: var(--paper); font-size: 15px; cursor: pointer; backdrop-filter: blur(7px); }
.moment-scroll-prev, .story-scroll-prev { left: 8px; }
.moment-scroll-next, .story-scroll-next { right: 12px; }
.moment-scroll-button:disabled { opacity: .28; cursor: default; }

.lower-grid { min-height: 170px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lower-panel { position: relative; display: flex; min-width: 0; min-height: 170px; 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 { display: flex; flex-direction: column; width: 62%; min-width: 210px; padding: 12px 0 10px max(28px, calc((100vw - 1440px) / 6)); }
.lower-panel > div > .pill-link { align-self: flex-start; margin-top: auto; }
.lower-panel > div > p:not(.eyebrow) { margin-bottom: 10px; }
.lower-panel h2 { font-size: clamp(20px, 1.5vw, 22px); }
.lower-panel div > p:not(.eyebrow) { font-size: 10.5px; line-height: 1.45; }
.lower-panel.has-published-preview { background: #080f13; }
.lower-panel.has-published-preview > picture[hidden] { display: none; }
.lower-panel.has-published-preview h2,
.lower-panel.has-published-preview div > p:not(.eyebrow) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.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: 34px; display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 22px; padding: 4px clamp(32px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--quiet); }
footer .wordmark { color: var(--paper); font-size: 14px; }
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; }
footer .social-links { justify-self: end; gap: 12px; margin: 0; }
footer .social-links a { padding: 0 2px; color: var(--quiet); font-size: 9px; line-height: 1.6; }
footer .social-links a:hover { color: var(--paper); }

.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-visual.has-photo { position: relative; min-height: 0; height: min(66vh, 620px); padding: 0; background: #071014; overflow: hidden; }
.dialog-visual.has-photo > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.dialog-photo-nav { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 5px 7px; border-radius: 999px; background: rgba(5,10,13,.75); letter-spacing: 0; backdrop-filter: blur(8px); }
.dialog-photo-nav button { width: 34px; height: 30px; padding: 0; border: 1px solid rgba(242,238,230,.28); border-radius: 999px; background: transparent; color: var(--paper); cursor: pointer; }
.dialog-photo-nav span { min-width: 38px; text-align: center; font-size: 9px; }
.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); }
.content-dialog.moment-active[open] { width: min(980px, calc(100% - 32px)); height: min(82dvh, 760px); max-height: calc(100dvh - 32px); display: grid; grid-template-rows: minmax(0, 1fr); }
.content-dialog.moment-active .dialog-visual.has-photo { height: auto; min-height: 0; }
.content-dialog.moment-active .dialog-visual.has-photo > img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; max-height: none; object-fit: contain; object-position: center; }
.content-dialog.moment-active .dialog-copy { display: none; }
.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); }

/* Let wrapped About copy define the row height without image intrinsic sizing. */
@media (min-width: 769px) {
  .section-about { height: auto; min-height: 240px; }
  .about-image { position: relative; height: auto; }
  .about-image img { position: absolute; inset: 0; }
}

@media (max-width: 1024px) {
  .stories-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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; }
  .country-list-wrap summary { padding-inline: 32px; }
  .section-world { grid-template-columns: 27% 50% 23%; }
  .world-center { padding-inline: 10px; }
  .world-map { height: 210px; }
  .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) {
  .story-detail-shell { width: min(100% - 28px, 720px); padding: 74px 0 54px; }
  .stories-list-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .stories-index h1 { font-size: 38px; }
  .story-list-card { grid-template-columns: minmax(118px, 36%) 1fr; }
  .story-list-card img { height: 100%; min-height: 120px; aspect-ratio: auto; }
  .story-list-card div { padding: 14px; }
  .story-list-card h2 { font-size: 20px; }
  .story-list-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .story-detail-cover { aspect-ratio: 4 / 3; max-height: none; }
  .story-detail-copy { margin-top: 24px; }
  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; }
  .site-header > .wordmark { opacity: 1; visibility: visible; pointer-events: auto; }
  .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 { transform: none; }
  .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 { align-self: stretch; padding: 27px 20px 24px; }
  .world-intro h2 { font-size: 26px; }
  .world-center { order: 2; padding: 10px 0 18px; }
  .map-toolbar { min-height: 36px; padding: 0 20px; }
  .map-toolbar p { max-width: 56%; }
  .world-map { height: min(72vw, 320px); min-height: 260px; }
  .map-zoom-controls { top: 42px; right: 12px; grid-template-columns: repeat(3, 34px); }
  .map-zoom-controls button { width: 34px; height: 34px; font-size: 18px; }
  .map-zoom-controls button:last-child { font-size: 10px; }
  .stats { margin-inline: 20px; }
  .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 { padding-inline: 20px; }
  .country-list { grid-template-columns: repeat(2, 1fr); }
  .media-row, .section-moments { height: auto; min-height: 0; display: block; }
  .row-intro { padding: 26px 20px 22px; }
  .story-grid { height: auto; 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 { height: auto; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 0 20px 20px; }
  .story-strip, .moment-strip { height: 219px; }
  .moment-grid:not(.published) button { height: auto; aspect-ratio: 1.35; }
  .story-grid.published, .moment-grid.published { height: 219px; grid-template-columns: none; grid-template-rows: 205px; grid-auto-columns: 308px; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 7px 20px; }
  .moment-scroll-prev, .story-scroll-prev { left: 7px; }
  .moment-scroll-next, .story-scroll-next { right: 7px; }
  .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 .social-links { grid-column: 1 / -1; justify-self: start; }
  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-visual.has-photo { height: min(58dvh, 520px); }
  .dialog-copy { padding: 27px 22px 30px; }
  .dialog-copy h2 { font-size: 28px; }
  .content-dialog.moment-active[open] { width: calc(100% - 16px); height: min(82dvh, 680px); max-height: calc(100dvh - 16px); }
  .content-dialog.moment-active .dialog-visual.has-photo > img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
}
@media (max-width:768px){.reviews-list-grid{grid-template-columns:1fr}.review-detail-gallery{grid-template-columns:1fr}.review-photo-dialog{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:44px 8px 8px}}

@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; }
}

/* Edited plain text can wrap beyond the original copy without clipping. */
.copy-managed :is(h1,h2,p,blockquote,a) { overflow-wrap: anywhere; }
.hero.copy-managed { height: auto; min-height: clamp(350px, 26.4vw, 420px); padding: 20px 0 100px; }
.hero.copy-managed .hero-copy { box-sizing: border-box; padding-right: 110px; }
@media (max-width: 768px) {
  .hero.copy-managed { min-height: 560px; padding: 0 0 150px; }
  .hero.copy-managed .hero-copy { padding-right: 0; }
}
/* Managed Stories document captions and lists; legacy block styles remain. */
.story-detail-body figure{margin:30px 0}.story-detail-body figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:10px}.story-detail-body a{color:inherit;text-underline-offset:4px}.story-detail-body ul,.story-detail-body ol{padding-left:1.5em}.story-detail-body li p{margin-block:8px}
/* Web novel episodes reuse the Story detail styles (novels.html) */
.novel-next-link{display:inline-flex;margin-top:30px}
.novel-next-link[hidden]{display:none}
/* Web novel cards sit next to the warm, dark EP illustrations: grade their photo to the same tone. */
.story-card.published-novel-card img,.novel-list-card img{filter:sepia(.8) saturate(1.45) hue-rotate(-14deg) brightness(.6) contrast(1.1)}
/* Instagram-style card carousel in novel episodes (novels.html) */
.novel-carousel{width:min(540px,100%);margin:30px auto}
.novel-carousel-frame{position:relative}
.novel-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;background:#081015;border-radius:6px}
.novel-carousel-track::-webkit-scrollbar{display:none}
.novel-carousel-track:focus-visible{outline:2px solid var(--warm);outline-offset:3px}
.novel-carousel-slide{flex:0 0 100%;margin:0;scroll-snap-align:center;scroll-snap-stop:always}
.novel-carousel .novel-carousel-image{display:block;width:100%;height:auto;margin:0}
.novel-carousel-button{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:rgba(242,238,230,.86);color:#0b141a;font:400 24px/1 var(--sans);cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.novel-carousel-button:disabled{opacity:0;pointer-events:none}
.novel-carousel-prev{left:10px}.novel-carousel-next{right:10px}
.novel-carousel-dots{display:flex;justify-content:center;gap:5px;margin-top:12px}
.novel-carousel-dots span{width:6px;height:6px;border-radius:50%;background:rgba(242,238,230,.28)}
.novel-carousel-dots span.active{background:var(--paper)}
.story-detail-body .novel-carousel-count{margin:6px 0 0;text-align:center;color:var(--muted);font-size:12px}
@media (hover:none){.novel-carousel-button{width:32px;height:32px;font-size:20px;background:rgba(242,238,230,.7)}}
/* Card view toggle: swipe (default) or classic vertical list */
.novel-view-toggle{display:flex;justify-content:center;gap:6px;margin-bottom:12px}
.novel-view-toggle button{padding:5px 13px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:400 11px/1.4 var(--sans);cursor:pointer}
.novel-view-toggle button[aria-pressed="true"]{border-color:rgba(242,238,230,.62);color:var(--paper)}
.novel-carousel.is-list .novel-carousel-track{display:block;overflow:visible;background:none;border-radius:0}
.novel-carousel.is-list .novel-carousel-slide{margin:0 0 6px}
.novel-carousel.is-list .novel-carousel-button,.novel-carousel.is-list .novel-carousel-dots,.novel-carousel.is-list .novel-carousel-count{display:none}
/* Photo credits: folded by default */
.story-detail-body .novel-credit{margin:0 0 1.35em;color:var(--muted);font-size:13px}
.story-detail-body .novel-credit summary{width:fit-content;cursor:pointer;color:var(--quiet);font-size:12px;list-style-position:inside}
.story-detail-body .novel-credit summary:hover,.story-detail-body .novel-credit summary:focus-visible{color:var(--paper)}
.story-detail-body .novel-credit p{margin:8px 0 0;font-size:13px;line-height:1.7}
/* Text-free photo covers on novel episodes get the same warm grade as the homepage cards */
.story-detail-cover img.is-photo-cover{filter:sepia(.8) saturate(1.45) hue-rotate(-14deg) brightness(.6) contrast(1.1)}
