:root {
  color-scheme: dark;
  --bg: #040608;
  --bg-deep: #020304;
  --paper: #e5e4df;
  --muted: #a4a8ad;
  --dim: #777e86;
  --line: #c8ced514;
  --line-strong: #c8ced52a;
  --accent: #d9c9ad;
  --lilac: #cbc1d7;
  --sans: 'Noto Sans KR','Noto Sans CJK KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --serif: 'Iowan Old Style','Baskerville',Georgia,serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 400 16px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: #040608;
  opacity: 1;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a, button, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 1px solid var(--accent); outline-offset: 6px; }
::selection { background: #bcb299; color: #0b0e13; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button:disabled { cursor: default; opacity: .28; }
[hidden] { display: none !important; }
.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; top: -90px; left: 20px; z-index: 20; background: var(--paper); color: var(--bg-deep); padding: 10px 20px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 88px;
  padding: 0 4.7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  background: linear-gradient(#040608ee, transparent);
}
.brand { font-size: 17px; letter-spacing: -.055em; min-height: 44px; display: flex; align-items: center; }
.top-nav { display: flex; gap: 34px; align-items: center; font-size: 14px; }
.top-nav a { position: relative; padding: 12px 0; color: #a8adb2; transition: color .35s; }
.top-nav a:hover, .top-nav a[aria-current] { color: #f1eee7; }
.top-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); }
.top-nav .nav-how { font: italic 23px/1 var(--serif); letter-spacing: -.04em; }

.home { min-height: 100svh; height: 100svh; min-height: 680px; position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; background: #040608; }
.home::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, transparent 28%, #02030455 100%); z-index: -1; }
.cosmos-scene { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(83vw, 1180px); aspect-ratio: 3 / 2; transform: translate(-50%, -48%); pointer-events: none; mask-image: radial-gradient(ellipse 67% 63% at 50% 51%, #000 46%, transparent 92%); }
.cosmos-scene img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cosmos-scene::before, .cosmos-scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
/* A restrained colour wash lets the translucent jellyfish read as lilac without painting the whole bowl purple. */
.cosmos-scene::before { background: radial-gradient(ellipse 14% 24% at 55% 50%, rgba(191,164,238,.78) 0%, rgba(145,136,221,.56) 34%, rgba(97,120,199,.22) 58%, transparent 80%); mix-blend-mode: color; opacity: .96; animation: jellyfish-colour-breathe 9s ease-in-out infinite; }
/* A second, wider bloom gives the existing galaxy a little more blue-violet depth. */
.cosmos-scene::after { background: radial-gradient(ellipse 34% 27% at 63% 46%, rgba(83,113,194,.36), transparent 72%), radial-gradient(ellipse 28% 20% at 42% 63%, rgba(112,86,177,.22), transparent 76%), radial-gradient(ellipse 19% 15% at 58% 67%, rgba(109,139,226,.15), transparent 75%); mix-blend-mode: screen; opacity: .72; animation: nebula-drift 18s ease-in-out infinite; }
@keyframes jellyfish-colour-breathe { 0%, 100% { opacity: .76; transform: scale(.99); } 50% { opacity: .94; transform: scale(1.008); } }
@keyframes nebula-drift { 0%, 100% { opacity: .5; transform: translate3d(-.4%, 0, 0) scale(.99); } 50% { opacity: .72; transform: translate3d(.25%, -.18%, 0) scale(1.012); } }
.cosmos-scene img { animation: hero-scene-breathe 10s ease-in-out infinite; }
@keyframes hero-scene-breathe { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(0, -2px, 0) scale(1.002); } }
.hero-gates { position: relative; z-index: 1; width: min(100% - 12vw, 1480px); display: flex; align-items: center; justify-content: space-between; transform: translateY(-8px); }
.gate { display: flex; flex-direction: column; align-items: flex-start; max-width: 28%; padding: 25px 0; color: #e4e4e0; }
.gate-what { margin-left: -14px; }
.gate-how { align-items: flex-end; text-align: right; }
.gate-word { display: block; line-height: 1.1; transition: color .4s, transform .65s; }
.gate-what .gate-word { font: 400 clamp(68px, 7.7vw, 128px)/1 Arial, Helvetica, sans-serif; letter-spacing: -.068em; }
.gate-how .gate-word { font: italic 400 clamp(84px, 9.3vw, 152px)/.94 var(--serif); letter-spacing: -.05em; padding: 0 .08em .035em 0; }
.gate-caption { margin-top: 15px; color: #a2a8af; font-size: 14px; line-height: 1.8; letter-spacing: -.03em; }
.gate-what .gate-caption { margin-top: 18px; }
.gate:hover .gate-word { color: var(--accent); transform: translateY(-4px); }
.gate:hover .gate-caption { color: #d4d7d7; }
.hero-bottom { position: absolute; left: 4.7vw; right: 4.7vw; bottom: 28px; display: flex; justify-content: space-between; gap: 22px; color: #898f96; font-size: 12px; letter-spacing: -.02em; }

.page-wrap { width: min(1020px, calc(100% - 120px)); margin-inline: auto; padding-top: 130px; }
.axis-page { min-height: 100svh; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: var(--dim); font-size: 13px; letter-spacing: -.02em; }
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb strong { color: #d9d8d3; font-weight: 400; }
.axis-head { display: grid; grid-template-columns: minmax(250px, .85fr) 1.15fr; gap: 72px; align-items: end; padding: 92px 0 92px; }
.axis-word { line-height: .9; }
.what-word { font: 400 clamp(76px, 10vw, 132px)/.9 Arial, Helvetica, sans-serif; letter-spacing: -.075em; }
.how-word { font: italic 400 clamp(96px, 12vw, 158px)/.76 var(--serif); letter-spacing: -.06em; }
.axis-head h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.4; letter-spacing: -.06em; }
.axis-head p { max-width: 460px; margin-top: 16px; color: var(--muted); font-size: 16px; }
.entry-list { border-top: 1px solid var(--line-strong); }
.entry-row { display: grid; grid-template-columns: 52px 1fr 28px; gap: 26px; align-items: center; min-height: 132px; padding: 27px 2px 27px 0; border-bottom: 1px solid var(--line); transition: padding .45s, background .45s; }
.entry-row:hover { padding-left: 10px; padding-right: 10px; background: #ffffff04; }
.entry-no { align-self: start; padding-top: 5px; color: var(--dim); font-size: 13px; letter-spacing: .04em; }
.entry-text { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.entry-title { color: #e2e1dc; font-size: 23px; line-height: 1.45; letter-spacing: -.05em; transition: color .3s; }
.entry-subtitle { color: #a7adb2; font-size: 14px; line-height: 1.55; }
.entry-core { max-width: 720px; color: #7f878f; font-size: 14px; line-height: 1.75; }
.entry-row:hover .entry-title, .entry-row:hover .row-arrow { color: var(--accent); }
.row-arrow { color: #788088; font-size: 20px; transition: color .3s, transform .4s; }
.entry-row:hover .row-arrow { transform: translate(3px, -3px); }
.research-row { border-top: 1px solid var(--line-strong); }

.article-page { min-height: 100svh; }
.article-head { max-width: 790px; padding: 86px 0 60px; }
.eyebrow { display: block; color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.article-head h1 { margin-top: 21px; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.28; letter-spacing: -.065em; }
.article-subtitle { margin-top: 17px; color: #b7bdc2; font-size: 17px; }
.article-core { margin-top: 28px; padding-left: 17px; border-left: 1px solid #c4b7987a; color: #d0cbc0; font-size: 18px; line-height: 1.75; }
.article-content { max-width: 790px; padding-bottom: 80px; }
.prose { color: #c4c9cd; font-size: 17px; line-height: 2.12; letter-spacing: -.028em; }
.prose p + p { margin-top: 25px; }
.prose .lead { color: #e2e1dc; font-size: 22px; line-height: 1.8; }
.research-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin: 43px 0 48px; }
.primary-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; color: #cfc5b1; border-bottom: 1px solid #b8a98b70; font-size: 14px; }
.primary-link:hover, .text-link:hover { color: #f0e8d8; border-color: currentColor; }
.layer-list { margin: 48px 0 34px; border-top: 1px solid var(--line-strong); }
.layer-list > div { display: grid; grid-template-columns: 48px 1fr 1.2fr; gap: 18px; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); }
.layer-list b { color: var(--accent); font: 400 17px/1 var(--serif); }
.layer-list span { color: #dddcd7; font-size: 16px; }
.layer-list small { color: var(--muted); font-size: 14px; }
.source-note { color: #8e969d; font-size: 14px; line-height: 1.85; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 46px; border-top: 1px solid var(--line); color: #9ea5ab; font-size: 14px; }
.article-nav a:hover { color: var(--accent); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 29px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a:first-child:hover, .back-top:hover { color: var(--accent); }
.back-top { min-width: 44px; min-height: 44px; display: grid; place-items: center; font-size: 20px; }

.reader { width: min(1000px, calc(100% - 48px)); max-height: 92svh; padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--paper); background: #101419; border: 1px solid #8195a43d; }
.reader::backdrop { background: #000b; backdrop-filter: blur(9px); }
body:has(.reader[open]) { overflow: hidden; }
.reader-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 25px 30px; background: #101419f5; border-bottom: 1px solid var(--line); }
.reader-top h2 { margin-top: 8px; font-size: 24px; letter-spacing: -.04em; }
.reader-top .eyebrow { font-size: 12px; }
.icon-button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); font-size: 23px; }
#reader-close { margin-top: 0; font-size: 29px; border: 0; }
.reader-toolbar { display: flex; justify-content: space-between; gap: 14px; padding: 16px 30px 0; color: var(--muted); font-size: 14px; }
.reader-tabs { display: flex; flex-wrap: wrap; gap: 20px; }
.reader-tabs button { min-height: 44px; padding: 8px 0; color: var(--muted); border-bottom: 1px solid transparent; }
.reader-tabs button[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }
#reader-download { display: flex; align-items: center; }
.reader-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 22px 30px; }
.reader-pagination select { height: 44px; padding: 0 12px; background: #101419; border: 1px solid var(--line); font-size: 14px; }
.reader-content { padding: 0 30px; }
.reader-content img { display: block; width: 100%; height: auto; background: #fff; }
.reader-content iframe { width: 100%; height: 65svh; background: #fff; border: 0; }
.reader-content .source-text { padding: 20px 20px 30px; color: #d5d9dc; white-space: pre-wrap; font-size: 16px; line-height: 2; }
.reader-content .reader-error { padding: 35px 10px; color: var(--muted); }
.reader-error a { border-bottom: 1px solid currentColor; }
#reader-status { padding: 16px 30px 25px; color: var(--muted); font-size: 13px; text-align: center; }

@media (min-width: 1700px) {
  .hero-gates { width: min(100% - 17vw, 1500px); }
  .cosmos-scene { width: min(81vw, 1460px); }
}
@media (max-width: 900px) {
  .page-wrap { width: calc(100% - 80px); }
  .hero-gates { width: calc(100% - 10vw); }
  .gate-what .gate-word { font-size: 8.4vw; }
  .gate-how .gate-word { font-size: 10.2vw; }
  .axis-head { gap: 44px; }
  .entry-row { grid-template-columns: 42px 1fr 24px; gap: 20px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .site-header { height: 75px; padding: 0 23px; background: linear-gradient(#040608f2, transparent); }
  .brand { font-size: 16px; }
  .top-nav { gap: 21px; font-size: 13px; }
  .top-nav .nav-how { font-size: 21px; }
  .home { min-height: 720px; }
  .cosmos-scene { top: 43%; width: 156vw; max-width: 980px; transform: translate(-50%, -50%); }
  .hero-gates { position: absolute; left: 23px; right: 23px; bottom: 112px; width: auto; transform: none; align-items: flex-end; }
  .gate { max-width: 47%; padding: 0; }
  .gate-what { margin-left: 0; }
  .gate .gate-word { height: 88px; display: flex; align-items: center; }
  .gate-what .gate-word { font-size: clamp(49px, 13vw, 78px); }
  .gate-how .gate-word { font-size: clamp(66px, 17.5vw, 102px); }
  .gate-caption { max-width: 170px; margin-top: 12px; font-size: 12px; line-height: 1.7; }
  .gate-what .gate-caption { margin-top: 12px; }
  .hero-bottom { left: 23px; right: 23px; bottom: 25px; font-size: 11px; }
  .hero-bottom span:nth-child(2) { display: none; }
  .page-wrap { width: calc(100% - 48px); padding-top: 105px; }
  .axis-head { grid-template-columns: 1fr; gap: 30px; padding: 67px 0 55px; }
  .what-word { font-size: 76px; }
  .how-word { font-size: 102px; }
  .axis-head h1 { font-size: 27px; }
  .axis-head p { margin-top: 12px; font-size: 15px; }
  .entry-row { grid-template-columns: 27px 1fr 18px; gap: 13px; min-height: 0; padding: 22px 0; }
  .entry-row:hover { padding-left: 3px; padding-right: 3px; }
  .entry-no { padding-top: 4px; font-size: 11px; }
  .entry-title { font-size: 19px; line-height: 1.52; }
  .entry-subtitle, .entry-core { font-size: 13px; line-height: 1.7; }
  .row-arrow { font-size: 17px; }
  .article-head { padding: 65px 0 45px; }
  .article-head h1 { margin-top: 17px; font-size: 34px; }
  .article-subtitle { margin-top: 13px; font-size: 15px; }
  .article-core { margin-top: 23px; font-size: 16px; }
  .article-content { padding-bottom: 53px; }
  .prose { font-size: 16px; line-height: 2.08; }
  .prose .lead { font-size: 20px; }
  .prose p + p { margin-top: 22px; }
  .research-actions { align-items: flex-start; flex-direction: column; gap: 7px; margin: 34px 0 38px; }
  .layer-list { margin-top: 37px; }
  .layer-list > div { grid-template-columns: 37px 1fr; gap: 12px; padding: 14px 0; }
  .layer-list small { grid-column: 2; margin-top: -7px; }
  .article-nav { flex-direction: column; gap: 14px; padding: 21px 0 35px; }
  .site-footer { flex-wrap: wrap; gap: 10px; padding: 24px 0 30px; }
  .site-footer > a:first-child { flex: 1; }
  .reader { width: calc(100% - 20px); max-height: 94svh; }
  .reader-top { padding: 19px 17px; }
  .reader-top h2 { font-size: 21px; }
  .reader-toolbar { padding: 12px 17px 0; font-size: 13px; }
  .reader-tabs { gap: 16px; }
  .reader-pagination { padding: 18px 17px; }
  .reader-content { padding: 0 10px; }
  .reader-content .source-text { padding: 10px 9px 25px; font-size: 16px; }
  .reader-content iframe { height: 63svh; }
}
@media (max-width: 370px) {
  .site-header { padding-inline: 19px; }
  .top-nav { gap: 15px; }
  .brand { font-size: 15px; }
  .hero-gates { left: 19px; right: 19px; }
  .gate-caption { max-width: 143px; }
  .page-wrap { width: calc(100% - 38px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .cosmos-scene canvas { display: none; }
  .cosmos-scene.motion-ready img { visibility: visible; }
}

@media (max-width: 700px), (pointer: coarse) {
  .cosmos-scene::before, .cosmos-scene::after, .cosmos-scene:not(.motion-ready) img { animation: none !important; }
}
@media print {
  html { color-scheme: light; }
  body { background: #fff; color: #000; }
  .site-header, .home, .reader, .article-nav, .row-arrow { display: none; }
  .page-wrap { width: 100%; padding-top: 30px; }
  .prose, .entry-core, .entry-subtitle, .breadcrumb { color: #222; }
}

/* v13 static-first additions */
.static-note { margin-top: 36px; color: var(--dim); font-size: 13px; }
.document-links { display:flex; flex-wrap:wrap; gap:14px 26px; margin:36px 0 42px; }
.document-transcript { max-width: 900px; padding-bottom: 90px; }
.document-page { padding: 34px 0; border-top: 1px solid var(--line); }
.document-page:first-child { border-top: 1px solid var(--line-strong); }
.document-page h2 { margin-bottom: 18px; color: var(--accent); font: 400 15px/1 var(--serif); letter-spacing:.04em; }
.document-page pre { margin:0; white-space:pre-wrap; word-break:keep-all; overflow-wrap:anywhere; color:#c7ccd0; font:400 15px/1.95 var(--sans); }
.doc-intro { max-width:790px; margin-bottom:48px; color:#aeb4b9; font-size:15px; line-height:1.9; }
.full-index { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media (max-width:700px) {
  .cosmos-scene img { animation:none; }
  .document-page { padding:26px 0; }
  .document-page pre { font-size:14px; line-height:1.85; }
}
