:root {
  color-scheme: dark;
  --ink: #161b1a;
  --paper: #e8e4d8;
  --muted: #999e94;
  --accent: #ed7956;
  --line: #e8e4d829;
  --serif: "Noto Serif KR", "AppleMyungjo", Georgia, serif;
  --latin: "Cormorant Garamond", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(24px, 4.2vw, 72px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-width: thin; scrollbar-color: #666b60 var(--ink); }
html:has(.is-home):not(:has(.linear-journey)) { scroll-snap-type: y proximity; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; z-index: 90; inset: 0; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.visually-hidden { 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: 150; top: 8px; left: 8px; padding: 10px 15px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
#app { min-height: 80svh; outline: none; }
.site-header { position: absolute; z-index: 50; top: 0; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; height: 100px; border-bottom: 1px solid var(--line); }
.is-home .site-header { position: fixed; }
.wordmark { display: inline-flex; align-items: baseline; font: 500 44px/.8 var(--latin); letter-spacing: -.065em; }
.wordmark-dot { color: var(--accent); }
.wordmark-note { margin-left: 20px; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .12em; }
.header-edition { position: absolute; left: 50%; transform: translateX(-50%); color: #c4c6ba; font-size: 10px; letter-spacing: .08em; }
.header-edition i { margin: 0 12px; color: var(--muted); font-style: normal; }
.header-nav { display: flex; align-items: center; gap: 38px; font-size: 11px; }
.header-nav > a { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.header-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.header-nav > a[aria-current]::after { transform: scaleX(1); }
.header-nav sup { margin-left: 4px; color: var(--accent); font: 9px var(--mono); }
.menu-toggle { display: flex; align-items: center; gap: 13px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 11px; }
.menu-icon { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 25px; height: 25px; }
.menu-icon i { width: 25px; height: 1px; background: currentColor; transition: transform 200ms var(--ease-out); }
.menu-icon i:last-child { width: 17px; align-self: flex-end; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font: 10px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.tiny-star { color: var(--accent); font: 25px/1 var(--serif); }
.heading-dot { color: var(--accent); }
.script-type { font: italic 36px/1 var(--latin); }

/* Native scrolling advances a pinned, single-screen journal. */
.journal-track { position: relative; height: calc(var(--count) * 100svh); }
.journal-stage { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 0; overflow: hidden; isolation: isolate; }
.scroll-markers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scroll-markers > div { height: 100svh; scroll-snap-align: start; }
.chapter { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--scene-bg, var(--ink)); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 650ms var(--ease-out), visibility 0s 1000ms; }
.chapter.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 650ms var(--ease-out), visibility 0s; }
.title-line { display: block; overflow: hidden; padding: 0 .08em .12em 0; margin-bottom: -.12em; }
.title-line > span { display: block; transform: translateY(110%) rotate(3deg); transform-origin: left bottom; transition: transform 850ms var(--ease-out); }
.is-active .title-line > span { transform: none; transition-delay: calc(180ms + var(--line-index, 0) * 80ms); }
.journal-stage:focus { outline: none; }
.cover-grid { position: absolute; inset: 100px var(--gutter) 100px; border-left: 1px solid #e8e4d809; border-right: 1px solid #e8e4d809; pointer-events: none; }
.cover-copy { position: absolute; z-index: 4; top: 18%; left: 7.5%; width: 55%; pointer-events: none; }
.cover-copy .eyebrow { margin: 0 0 22px 5px; color: #b5bcaa; letter-spacing: .17em; }
.cover-copy h1 { margin: 0; font: 500 clamp(120px, 12.8vw, 210px)/1.09 var(--serif); letter-spacing: -.085em; }
.cover-copy h1 .title-line:nth-child(2) { margin-left: .35em; }
.cover-script { position: absolute; top: 54%; left: 49%; color: var(--accent); font: italic 500 clamp(43px, 5.6vw, 84px)/1 var(--latin); transform: rotate(-9deg); white-space: nowrap; }
.cover-intro { margin: 32px 0 0 7px; color: #abb2a5; font-size: 13px; line-height: 1.95; letter-spacing: -.02em; }
.cover-collection { position: absolute; z-index: 3; top: 23%; right: 10%; width: min(31vw, 470px); height: 52%; }
.cover-stack { position: relative; width: 100%; height: 100%; transition: transform 350ms var(--ease-out); }
.print { --tilt: -7deg; --x: 0px; --y: 0px; position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10px; background: #d9d7c8; color: #242a26; box-shadow: 0 20px 55px #0005; transform: translate3d(var(--x), calc(var(--y) + 80px), 0) rotate(var(--tilt)); opacity: 0; transition: transform 1000ms var(--ease-out), opacity 700ms var(--ease-out); }
.is-active .print { opacity: 1; transform: translate3d(var(--x),var(--y),0) rotate(var(--tilt)); transition-delay: 160ms; }
.print--1 { --tilt: 4deg; --x: 24px; --y: -13px; background: #a8aea1; }
.print--2 { --tilt: 12deg; --x: 42px; --y: -20px; background: #687667; }
.print:focus-visible { z-index: 5; }
.print-image { flex: 1; min-height: 0; overflow: hidden; background: #26322c; }
.print-image img { width: 100%; height: 100%; object-fit: cover; }
.print-label { display: grid; grid-template-columns: 90px 1fr 20px; gap: 10px; align-items: center; padding: 15px 5px 5px; font: 8px/1.9 var(--mono); letter-spacing: -.02em; }
.print-label > span:nth-child(2) { font: 9px/1.7 var(--sans); }
.print-label svg { width: 16px; height: 16px; }
.collection-note { position: absolute; top: calc(100% + 55px); right: 3%; color: #7e897c; font: 8px var(--mono); letter-spacing: .16em; }
.cover-edition { position: absolute; right: 2.4%; top: 34%; display: flex; gap: 45px; color: #a5b09e; font: 9px var(--mono); writing-mode: vertical-rl; letter-spacing: .13em; }
.cover-enter { position: absolute; z-index: 5; left: 7.8%; bottom: 15%; display: inline-flex; align-items: center; gap: 25px; padding: 0; border: 0; background: none; font-size: 12px; }
.down-arrow { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #bdc0ac66; border-radius: 50%; font-size: 21px; transition: background 200ms ease, color 200ms ease, transform 200ms var(--ease-out); }

/* Each entry has its own composition, all held inside the same folio. */
.chapter--rain { --scene-bg: #142023; }
.chapter--sea { --scene-bg: #30362e; }
.chapter--begin { --scene-bg: #2a2022; }
.chapter-topline { position: absolute; z-index: 5; top: 15%; left: 7%; right: 7%; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #b9bfb2; font: 10px var(--mono); letter-spacing: .08em; opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--ease-out), transform 650ms var(--ease-out); }
.is-active .chapter-topline { opacity: 1; transform: none; transition-delay: 180ms; }
.chapter-topline > span:first-child { color: var(--accent); }
.chapter-topline > span:nth-child(2) { font: italic 23px var(--latin); letter-spacing: 0; }
.chapter-picture { position: absolute; z-index: 2; left: 7%; top: 24%; width: 53%; height: 51%; }
.picture-mask { position: relative; width: 100%; height: 100%; overflow: hidden; background: #27362f; clip-path: inset(0 0 100% 0); transition: clip-path 1000ms var(--ease-in-out); }
.is-active .picture-mask { clip-path: inset(0); transition-delay: 60ms; }
.picture-mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transition: transform 1600ms var(--ease-out); }
.is-active .picture-mask img { transform: scale(1); }
.picture-caption { position: absolute; top: calc(100% + 17px); left: 0; right: 0; display: flex; justify-content: space-between; color: #99a79b; font: 8px var(--mono); letter-spacing: .07em; opacity: 0; transition: opacity 550ms var(--ease-out); }
.is-active .picture-caption { opacity: 1; transition-delay: 500ms; }
.picture-open { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #232722; transform: scale(.85); opacity: 0; transition: transform 400ms var(--ease-out), opacity 400ms var(--ease-out); }
.is-active .picture-open { opacity: 1; transform: none; transition-delay: 550ms; }
.chapter-copy { position: absolute; z-index: 4; right: 6%; bottom: 21%; width: 33%; }
.chapter-meta { display: flex; gap: 18px; align-items: center; margin: 0 0 25px; color: #b0b9a9; font: 10px var(--mono); letter-spacing: .06em; }
.chapter-meta > span:first-child { color: var(--accent); }
.chapter-copy h2 { margin: 0; font: 500 clamp(34px, 3.65vw, 65px)/1.4 var(--serif); letter-spacing: -.075em; word-break: keep-all; }
.chapter-excerpt { max-width: 330px; margin: 25px 0 28px; color: #adb8ac; font-size: 14px; line-height: 1.9; word-break: keep-all; }
.chapter-meta, .chapter-excerpt, .chapter-copy > .read-link { opacity: 0; transform: translateY(20px); transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-out); }
.is-active .chapter-meta { opacity: 1; transform: none; transition-delay: 210ms; }
.is-active .chapter-excerpt { opacity: 1; transform: none; transition-delay: 370ms; }
.is-active .chapter-copy > .read-link { opacity: 1; transform: none; transition-delay: 450ms; }
.read-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 50px; min-height: 40px; padding: 7px 0; border-bottom: 1px solid #d1d5c580; font-size: 12px; }
.read-link svg { width: 19px; height: 19px; transition: transform 220ms var(--ease-out); }
.chapter-word { position: absolute; z-index: 1; right: 4.5%; top: 18%; color: #6d877938; font: italic clamp(100px, 15vw, 260px)/1 var(--latin); letter-spacing: -.05em; opacity: 0; transform: translateY(35px); transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-out); }
.is-active .chapter-word { opacity: 1; transform: none; transition-delay: 100ms; }
.chapter-marginal { position: absolute; left: 2.3%; bottom: 24%; writing-mode: vertical-rl; transform: rotate(180deg); color: #9fac9d; font: 8px var(--mono); letter-spacing: .17em; }
.chapter--sea .chapter-picture { left: 27%; top: 22%; width: 66%; height: 50%; }
.chapter--sea .picture-mask::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #18251f35, transparent 60%), linear-gradient(0deg, #20282070, transparent 65%); }
.chapter--sea .chapter-copy { left: 7%; right: auto; bottom: 20%; width: 80%; }
.chapter--sea .chapter-copy h2 { font-size: clamp(57px, 6.3vw, 102px); line-height: 1.25; }
.chapter--sea .chapter-copy .title-line:nth-child(2) { margin-left: 15%; }
.chapter--sea .chapter-excerpt { margin: 18px 0 15px 57%; color: #ced0bd; }
.chapter--sea .chapter-copy > .read-link { margin-left: 57%; }
.chapter--sea .chapter-word { left: 7%; right: auto; top: 25%; color: #edbba180; font-size: clamp(48px, 6vw, 100px); }
.chapter--sea .picture-open, .chapter--sea .picture-caption { display: none; }
.chapter--begin .chapter-picture { left: auto; right: 8%; top: 24%; width: 38%; height: 54%; padding: 9px 9px 43px; background: #ccc7b4; transform: translateY(50px) rotate(5deg); opacity: 0; transition: transform 1100ms var(--ease-out), opacity 700ms var(--ease-out); }
.chapter--begin.is-active .chapter-picture { transform: rotate(3deg); opacity: 1; }
.chapter--begin .picture-caption { top: auto; bottom: 14px; left: 12px; right: 12px; color: #535a4b; }
.chapter--begin .picture-open { right: 18px; bottom: 18px; background: #a64e39; color: var(--paper); }
.chapter--begin .chapter-copy { left: 7%; right: auto; width: 47%; bottom: 24%; }
.chapter--begin .chapter-copy h2 { font-size: clamp(47px, 5.2vw, 88px); line-height: 1.35; }
.chapter--begin .chapter-excerpt { color: #b5a9a6; }
.chapter--begin .chapter-word { left: 7%; right: auto; top: 23%; color: #c8866970; font-size: clamp(48px, 5vw, 85px); }

/* Persistent folio: direct navigation never competes with the scene. */
.folio { position: absolute; z-index: 10; bottom: 24px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 17px; border-top: 1px solid #e8e4d838; }
.folio-current { display: flex; align-items: center; gap: 17px; width: 180px; }
.folio-current > span { min-width: 55px; font: 400 53px/.85 var(--latin); letter-spacing: -.04em; }
.folio-current > div { display: flex; flex-direction: column; gap: 5px; font-size: 10px; }
.folio-current small { color: #9fa899; font: 8px var(--mono); letter-spacing: .1em; }
.folio-track { display: flex; align-items: center; gap: 16px; width: min(32vw, 330px); }
.folio-track button { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 33px; padding: 0; border: 0; background: none; color: #8a9887; font: 8px var(--mono); }
.folio-tick { position: relative; display: block; width: 100%; height: 2px; background: #cdd3c230; overflow: hidden; }
.folio-tick i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.folio-track button[aria-current] { color: var(--accent); }
.folio-track button.is-past .folio-tick { background: #c6cbb0; }
.folio-track button.is-past .folio-tick i { transform: scaleX(1) !important; background: #c6cbb0; }
.folio-track button:not([aria-current]):not(.is-past) .folio-tick i { transform: scaleX(0) !important; }
.folio-controls { display: flex; align-items: center; gap: 9px; }
.folio-controls button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d4d9c642; border-radius: 50%; background: transparent; font: 19px var(--sans); transition: background 180ms ease, color 180ms ease; }
.folio-controls button:disabled { opacity: .25; }
.scroll-hint { margin-right: 18px; color: #b6beab; font: 8px var(--mono); letter-spacing: .12em; }

/* Contents opens like the inside cover of the journal. */
.contents-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0 var(--gutter); border: 0; background: #dbd8c8; color: #232920; overflow-y: auto; }
.contents-dialog::backdrop { background: #101611cc; }
.contents-dialog[open] { animation: menu-arrive 300ms var(--ease-out) both; }
.menu-open { overflow: hidden; }
.contents-top { display: flex; align-items: center; justify-content: space-between; height: 100px; border-bottom: 1px solid #23292040; font: 10px var(--mono); letter-spacing: .06em; }
.menu-close { display: inline-flex; align-items: center; gap: 20px; padding: 5px 0 5px 15px; border: 0; background: none; font-size: 12px; }
.menu-close > span { font: 36px/1 var(--sans); font-weight: 200; }
.contents-layout { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 8vw; min-height: calc(100dvh - 180px); padding: 55px 3%; }
.contents-heading .eyebrow { color: #5c6554; }
.contents-heading h2 { margin: 18px 0 20px; font: 600 clamp(70px, 9vw, 140px)/1.3 var(--serif); letter-spacing: -.09em; }
.contents-heading h2 span { color: #a94930; }
.contents-heading > p { color: #5c6455; font-size: 13px; line-height: 1.9; }
.contents-links { display: flex; gap: 25px; margin-top: 40px; font-size: 12px; }
.contents-entry { display: grid; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 20px; padding: 28px 0; border-top: 1px solid #23292040; }
.contents-entry:last-child { border-bottom: 1px solid #23292040; }
.contents-entry > span:first-child { color: #68705c; font: 10px var(--mono); }
.contents-entry strong { font: 500 clamp(22px, 2.2vw, 34px)/1.6 var(--serif); letter-spacing: -.07em; word-break: keep-all; }
.contents-entry-meta { display: none; }
.contents-entry svg { width: 19px; }
.contents-bottom { display: flex; justify-content: space-between; padding: 25px 0; border-top: 1px solid #23292040; color: #68705c; font: 9px var(--mono); }

/* The index and the reading pages use a quieter version of the same language. */
.page-shell { width: calc(100% - var(--gutter) * 2); max-width: 1400px; margin: 0 auto; padding: 145px 0 100px; }
.back-link { display: inline-flex; align-items: center; color: #b6bbaa; font-size: 11px; }
.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 90px 0 65px; }
.archive-heading .eyebrow { color: #a4ae9d; }
.archive-heading h1 { margin: 20px 0 0; font: 500 clamp(43px, 6.2vw, 95px)/1.4 var(--serif); letter-spacing: -.075em; }
.archive-heading-note { min-width: 230px; padding-bottom: 7px; }
.archive-heading-note .script-type { color: #d59677; }
.archive-heading-note p { margin: 17px 0 0; color: #9aa690; font-size: 12px; line-height: 1.9; }
.archive-tools { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 24px 0; border-top: 1px solid #d5dac352; border-bottom: 1px solid #d5dac352; }
.archive-tools nav { display: flex; gap: 30px; }
.archive-tools nav a { color: #8f9b88; font-size: 12px; white-space: nowrap; }
.archive-tools nav a[aria-current] { color: var(--paper); }
.archive-tools nav sup { margin-left: 5px; color: #758370; font: 8px var(--mono); }
.archive-tools nav a[aria-current] sup { color: var(--accent); }
.search-field { display: flex; align-items: center; gap: 10px; width: 215px; padding: 7px 0; border-bottom: 1px solid #d6dec64d; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--paper); font-size: 12px; }
.search-field input::placeholder { color: #98a48f; }
.search-field:focus-within { border-color: var(--accent); }
.search-field svg { flex-shrink: 0; width: 17px; height: 17px; }
.archive-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 92px 148px 25px; gap: 35px; align-items: center; min-height: 174px; padding: 27px 0; border-bottom: 1px solid #d5dac32c; }
.archive-number { align-self: start; padding-top: 9px; color: #909e82; font: 12px var(--mono); }
.archive-category { color: #85947b; font: 9px var(--mono); letter-spacing: .05em; }
.archive-title h2 { margin: 8px 0 0; font: 400 clamp(23px, 2.2vw, 34px)/1.5 var(--serif); letter-spacing: -.065em; word-break: keep-all; }
.archive-title { transition: transform 220ms var(--ease-out); }
.archive-row time { color: #a3ae94; font: 10px var(--mono); }
.archive-image { overflow: hidden; }
.archive-image img { width: 100%; aspect-ratio: 1.6; object-fit: cover; transition: transform 400ms var(--ease-out); }
.archive-arrow { color: var(--accent); }
.sample-note { margin-top: 32px; color: #828d7a; font: 11px/1.8 var(--sans); }
.empty-state { padding: 65px 0; text-align: center; font: 22px/2 var(--serif); }
.empty-state span { color: #949e87; font: 12px var(--sans); }
.reading-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 7vw; padding: 75px 0 80px; border-bottom: 1px solid var(--line); }
.reading-heading-copy .eyebrow { color: #b0b9a3; font-size: 9px; letter-spacing: .04em; }
.reading-heading-copy .eyebrow > span { color: #67735e; margin: 0 2px; }
.reading-heading h1 { margin: 28px 0 35px; font: 500 clamp(40px, 4.6vw, 75px)/1.55 var(--serif); letter-spacing: -.075em; word-break: keep-all; text-wrap: balance; }
.reading-byline { display: flex; align-items: center; gap: 22px; color: #9aa78a; font: 10px var(--mono); }
.reading-photo { margin: 0; transform: rotate(1.5deg); }
.reading-photo img { width: 100%; aspect-ratio: 1.22; object-fit: cover; }
.reading-photo figcaption { margin-top: 15px; color: #8d9980; font-size: 9px; text-align: right; }
.reading-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; padding: 75px 8% 0 0; }
.reading-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; color: #849375; font: 9px var(--mono); }
.reading-aside .script-type { max-width: 220px; color: #be8c6f; font-size: 39px; }
.reading-aside a { margin-top: 22px; color: #aeb99b; font: 11px var(--sans); }
.reading-body { max-width: 650px; color: #c9d0bb; font: 400 18px/2.2 var(--serif); letter-spacing: -.025em; word-break: keep-all; }
.reading-body p { margin: 0 0 32px; }
.reading-body .reading-deck { margin-bottom: 55px; color: var(--paper); font-size: 23px; line-height: 1.9; }
.reading-body .sample-note { margin-top: 38px; font: 11px/1.8 var(--sans); }
.reading-end { display: block; margin-top: 45px; color: var(--accent); font-size: 27px; }
.next-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; margin-top: 95px; padding-top: 36px; border-top: 1px solid var(--line); }
.next-entry > span { color: #8c9b7f; font: 9px var(--mono); letter-spacing: .1em; }
.next-entry > a:not(.back-link) { display: flex; align-items: center; gap: 35px; font: 400 clamp(26px, 3.5vw, 46px)/1.5 var(--serif); letter-spacing: -.06em; word-break: keep-all; }
.next-entry svg { flex-shrink: 0; width: 35px; height: 35px; color: var(--accent); }
.about-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px 8vw; padding-top: 95px; }
.about-heading h1 { margin: 25px 0 35px; font: 500 clamp(45px, 5.3vw, 84px)/1.5 var(--serif); letter-spacing: -.08em; }
.about-heading .script-type { color: #be8c6f; font-size: 40px; }
.about-letter { padding-top: 50px; }
.about-letter p { margin: 0 0 28px; color: #bbc4aa; font: 16px/2.1 var(--serif); word-break: keep-all; }
.letter-signature { display: block; margin-top: 35px; font: italic 45px var(--latin); color: var(--paper); }
.about-photo { grid-column: 1 / -1; width: 65%; margin: 0 0 0 auto; }
.about-photo img { width: 100%; aspect-ratio: 2.5; object-fit: cover; }
.about-photo figcaption { margin-top: 12px; color: #859177; font: 9px var(--mono); }
.not-found { min-height: 90svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { margin: 35px 0; font: 500 clamp(36px, 6vw, 85px)/1.6 var(--serif); letter-spacing: -.075em; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 0 var(--gutter); padding: 25px 0; border-top: 1px solid var(--line); color: #89977d; font: 9px var(--mono); }
.site-footer > a { color: #c1c8b4; font: 500 30px var(--latin); letter-spacing: -.05em; }
.is-home .site-footer { display: none; }

@media (hover: hover) and (pointer: fine) {
  .header-nav > a:hover::after { transform: scaleX(1); }
  .menu-toggle:hover .menu-icon i:last-child { transform: translateX(-8px); }
  .is-active .cover-collection:hover .print--0 { --tilt: -10deg; --x: -12px; --y: 5px; }
  .is-active .cover-collection:hover .print--1 { --tilt: 6deg; --x: 40px; --y: -24px; }
  .is-active .cover-collection:hover .print--2 { --tilt: 16deg; --x: 70px; --y: -28px; }
  .cover-enter:hover .down-arrow { color: var(--ink); background: var(--paper); transform: translateY(3px); }
  .read-link:hover svg, .contents-entry:hover svg { transform: translate(3px,-3px); }
  .chapter-picture:hover .picture-open { background: var(--paper); }
  .folio-controls button:not(:disabled):hover { background: var(--paper); color: var(--ink); }
  .folio-track button:hover { color: var(--paper); }
  .archive-row:hover .archive-title { transform: translateX(7px); }
  .archive-row:hover .archive-image img { transform: scale(1.06); }
  .archive-row:hover h2, .contents-entry:hover strong { color: var(--accent); }
}

@media (max-width: 1100px) {
  .header-edition { display: none; }
  .wordmark-note { margin-left: 14px; }
  .cover-copy { left: 6%; }
  .cover-script { left: 42%; }
  .cover-collection { right: 9%; width: 33vw; }
  .print-label { grid-template-columns: 65px 1fr 16px; font-size: 7px; }
  .print-label > span:nth-child(2) { font-size: 8px; }
  .chapter-copy { right: 6%; width: 33%; }
  .chapter-copy h2 { font-size: 3.8vw; }
  .chapter-excerpt { font-size: 12px; }
  .chapter--begin .chapter-copy h2 { font-size: 5vw; }
  .archive-row { grid-template-columns: 30px 1fr 88px 100px 20px; gap: 22px; }
}
@media (max-width: 760px) {
  :root { --gutter: 25px; }
  .site-header { height: 78px; }
  .wordmark { font-size: 38px; }
  .wordmark-note { display: none; }
  .header-nav { gap: 25px; font-size: 10px; }
  .menu-toggle { font-size: 10px; gap: 10px; }
  .menu-icon, .menu-icon i { width: 21px; }
  .menu-icon i:last-child { width: 14px; }
  .cover-grid { inset: 78px var(--gutter) 100px; border: 0; }
  .cover-copy { top: 16%; left: 7%; width: 86%; }
  .cover-copy .eyebrow { margin: 0 0 19px; font-size: 9px; }
  .tiny-star { font-size: 20px; }
  .cover-copy h1 { font-size: clamp(88px, 20vw, 148px); line-height: 1.05; }
  .cover-copy h1 .title-line:nth-child(2) { margin-left: .23em; }
  .cover-script { top: 54%; left: 43%; font-size: 49px; }
  .cover-intro { margin: 155px 0 0; max-width: 205px; color: #b3bca8; font-size: 12px; line-height: 1.85; }
  .cover-collection { top: 37%; right: 12%; width: 44%; height: 36%; }
  .print { padding: 7px; }
  .print--1 { --x: 12px; --y: -8px; }
  .print--2 { --x: 20px; --y: -13px; }
  .print-label { grid-template-columns: 1fr 20px; padding: 10px 4px 2px; font-size: 7px; }
  .print-label > span:nth-child(2) { display: none; }
  .print-label > span:first-child { line-height: 1.6; }
  .collection-note { display: none; }
  .cover-edition { top: 21%; right: 5%; font-size: 8px; gap: 24px; }
  .cover-enter { left: 7%; bottom: 16%; gap: 18px; font-size: 11px; }
  .down-arrow { width: 34px; height: 34px; font-size: 18px; }
  .chapter-topline { top: 13%; left: 7%; right: 7%; font-size: 9px; }
  .chapter-topline > span:nth-child(2) { display: none; }
  .chapter-picture { top: 21%; left: 7%; width: 86%; height: 32%; }
  .picture-caption { top: calc(100% + 10px); font-size: 7px; }
  .picture-open { width: 42px; height: 42px; right: 12px; bottom: 12px; }
  .picture-open svg { width: 19px; }
  .chapter-copy { left: 7%; right: 7%; bottom: 16%; width: auto; }
  .chapter-copy h2 { font-size: clamp(35px, 5.8vw, 52px); line-height: 1.4; }
  .chapter-meta { gap: 17px; margin-bottom: 12px; font-size: 9px; }
  .chapter-excerpt { max-width: 350px; margin: 17px 0 15px; font-size: 12px; line-height: 1.8; }
  .chapter-word { top: 12%; right: 7%; font-size: 90px; }
  .chapter-marginal { display: none; }
  .read-link { min-height: 44px; font-size: 11px; }
  .chapter--sea .chapter-picture { top: 16%; left: 18%; width: 82%; height: 53%; }
  .chapter--sea .picture-mask::after { background: linear-gradient(0deg, #253027c9, #15251910 65%); }
  .chapter--sea .chapter-copy { left: 7%; right: 7%; bottom: 16%; width: auto; }
  .chapter--sea .chapter-copy h2 { font-size: clamp(46px, 8vw, 68px); line-height: 1.3; }
  .chapter--sea .chapter-copy .title-line:nth-child(2) { margin-left: 12%; }
  .chapter--sea .chapter-excerpt { margin: 20px 0 15px; max-width: 285px; }
  .chapter--sea .chapter-copy > .read-link { margin-left: 0; }
  .chapter--sea .chapter-word { left: 7%; top: 21%; font-size: 50px; z-index: 3; }
  .chapter--begin .chapter-picture { top: 22%; right: 8%; width: 53%; height: 34%; padding: 7px 7px 26px; }
  .chapter--begin .picture-caption { bottom: 8px; left: 10px; right: 10px; font-size: 6px; }
  .chapter--begin .picture-open { display: none; }
  .chapter--begin .chapter-copy { left: 7%; right: 7%; width: auto; bottom: 16%; }
  .chapter--begin .chapter-copy h2 { font-size: clamp(35px, 6.4vw, 59px); }
  .chapter--begin .chapter-word { top: 23%; left: 7%; font-size: 56px; }
  .folio { bottom: 22px; gap: 17px; padding-top: 17px; }
  .folio-current { width: 115px; gap: 11px; }
  .folio-current > span { font-size: 43px; min-width: 43px; }
  .folio-current > div { font-size: 9px; }
  .folio-current small { font-size: 7px; }
  .folio-track { width: 28%; gap: 9px; }
  .folio-track button { font-size: 7px; }
  .folio-controls { gap: 6px; }
  .folio-controls button { width: 34px; height: 34px; font-size: 16px; }
  .scroll-hint { display: none; }
  .contents-top { height: 78px; }
  .contents-layout { grid-template-columns: 1fr; align-content: start; gap: 38px; padding: 45px 0; min-height: calc(100dvh - 138px); }
  .contents-heading h2 { font-size: 63px; margin: 15px 0; }
  .contents-heading > p { display: none; }
  .contents-links { margin-top: 25px; gap: 24px; font-size: 11px; }
  .contents-entry { padding: 21px 0; gap: 15px; grid-template-columns: 23px 1fr 18px; }
  .contents-entry strong { font-size: 23px; }
  .contents-bottom { padding: 19px 0; font-size: 8px; }
  .page-shell { padding: 113px 0 75px; }
  .archive-heading { display: block; padding: 56px 0 36px; }
  .archive-heading h1 { font-size: 51px; margin-top: 16px; }
  .archive-heading-note { margin-top: 30px; }
  .archive-heading-note .script-type { font-size: 28px; }
  .archive-heading-note p { margin-top: 13px; font-size: 11px; }
  .archive-heading-note p br { display: none; }
  .archive-tools { flex-wrap: wrap; gap: 25px; padding: 22px 0; }
  .archive-tools nav { gap: 25px; }
  .search-field { width: 100%; }
  .archive-row { position: relative; grid-template-columns: 24px 1fr 92px; gap: 14px; min-height: 155px; padding: 24px 0; }
  .archive-number { font-size: 10px; padding-top: 4px; }
  .archive-category { font-size: 8px; }
  .archive-title h2 { font-size: 24px; margin-top: 8px; }
  .archive-row time { grid-column: 2; grid-row: 2; font-size: 8px; }
  .archive-image { grid-column: 3; grid-row: 1 / 3; }
  .archive-image img { aspect-ratio: .9; }
  .archive-arrow { display: none; }
  .reading-heading { grid-template-columns: 1fr; gap: 35px; padding: 55px 0 40px; }
  .reading-heading h1 { font-size: 43px; line-height: 1.5; margin: 20px 0 28px; }
  .reading-heading-copy .eyebrow { font-size: 8px; gap: 7px; }
  .reading-photo { margin: 0 5px; }
  .reading-photo img { aspect-ratio: 1.4; }
  .reading-photo figcaption { font-size: 8px; }
  .reading-layout { display: block; padding: 40px 0 0; }
  .reading-aside { display: none; }
  .reading-body { max-width: none; font-size: 16px; line-height: 2.15; }
  .reading-body .reading-deck { font-size: 20px; line-height: 1.95; margin-bottom: 40px; }
  .next-entry { margin-top: 70px; }
  .next-entry > a:not(.back-link) { font-size: 27px; gap: 25px; }
  .next-entry svg { width: 25px; height: 25px; }
  .about-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 65px; }
  .about-heading h1 { font-size: 47px; }
  .about-heading .script-type { font-size: 32px; }
  .about-letter { padding: 0; }
  .about-letter p { font-size: 15px; }
  .about-photo { width: 100%; }
  .about-photo img { aspect-ratio: 1.6; }
  .site-footer { font-size: 8px; }
}
@media (max-width: 520px) {
  .header-nav { gap: 20px; }
  .menu-toggle > span:first-child { display: none; }
  .cover-copy { top: 16%; }
  .cover-copy h1 { font-size: 24vw; }
  .cover-script { top: calc(48vw + 38px); left: 38%; font-size: 43px; }
  .cover-intro { max-width: 122px; margin-top: 180px; font-size: 12px; }
  .cover-collection { top: 43%; right: 10%; width: 48%; height: 32%; }
  .print--1 { --x: 7px; --y: -8px; }
  .print--2 { --tilt: 9deg; --x: 12px; --y: -13px; }
  .cover-edition { display: none; }
  .cover-enter { bottom: 15%; }
  .chapter-copy h2 { font-size: 8.6vw; }
  .chapter--sea .chapter-copy h2 { font-size: 11.4vw; }
  .chapter--begin .chapter-copy h2 { font-size: 9vw; }
  .chapter--begin .chapter-word { top: 25%; font-size: 47px; }
  .chapter--begin .chapter-picture { top: 23%; width: 56%; height: 29%; }
  .chapter-excerpt { max-width: 290px; font-size: 12px; }
  .chapter-topline { font-size: 8px; }
  .picture-caption { font-size: 6px; }
  .folio { gap: 11px; }
  .folio-current { width: 90px; gap: 9px; }
  .folio-current > div { font-size: 8px; }
  .folio-current > span { min-width: 35px; font-size: 39px; }
  .folio-current small { font-size: 6px; }
  .folio-track { width: 128px; gap: 8px; }
  .folio-controls button { width: 32px; height: 32px; }
  .archive-heading h1 { font-size: 11.7vw; }
  .archive-tools nav { gap: 22px; }
  .archive-tools nav a { font-size: 11px; }
  .archive-row { grid-template-columns: 18px 1fr 75px; gap: 11px; }
  .archive-title h2 { font-size: 21px; }
  .reading-heading h1 { font-size: 10.2vw; }
  .about-heading h1 { font-size: 11.6vw; }
}
@media (max-width: 360px) {
  .folio-track { display: none; }
  .folio-controls button { width: 40px; height: 40px; }
}
@media (min-height: 641px) and (max-height: 760px) and (max-width: 760px) {
  .cover-copy { top: 15%; }
  .cover-copy h1 { font-size: 20vw; }
  .cover-intro { margin-top: 115px; font-size: 11px; }
  .cover-collection { top: 48%; height: 29%; }
  .cover-script { top: calc(40vw + 34px); font-size: 39px; }
  .chapter-picture { top: 21%; height: 28%; }
  .chapter-copy { bottom: 17%; }
  .chapter-excerpt { margin-top: 12px; margin-bottom: 9px; line-height: 1.7; }
  .chapter-meta { margin-bottom: 8px; }
  .chapter--sea .chapter-copy, .chapter--begin .chapter-copy { bottom: 17%; }
  .chapter--begin .chapter-picture { top: 22%; height: 26%; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .cover-copy { top: 19%; }
  .cover-copy h1 { font-size: 11vw; }
  .cover-intro { margin-top: 23px; font-size: 11px; }
  .cover-collection { top: 25%; height: 48%; }
  .cover-enter { bottom: 13%; }
  .chapter-topline { top: 18%; }
  .chapter-picture { top: 29%; height: 45%; }
  .chapter-copy { bottom: 21%; }
  .chapter-copy h2 { font-size: 3.2vw; }
  .chapter-meta { margin-bottom: 16px; }
  .chapter-excerpt { margin: 18px 0; font-size: 11px; }
  .chapter--sea .chapter-copy h2 { font-size: 5vw; }
  .chapter--sea .chapter-copy { bottom: 19%; }
  .chapter--begin .chapter-copy h2 { font-size: 4.1vw; }
  .chapter--begin .chapter-copy { bottom: 23%; }
}
/* Short windows get an ordinary, fully accessible reading flow. */
.linear-journey .journal-track { height: auto; }
.linear-journey .journal-stage { position: relative; height: auto; overflow: visible; }
.linear-journey .chapter { position: relative; min-height: 780px; opacity: 1; visibility: visible; pointer-events: auto; }
.linear-journey .chapter .title-line > span, .linear-journey .chapter-meta, .linear-journey .chapter-excerpt, .linear-journey .chapter-copy > .read-link, .linear-journey .chapter-topline, .linear-journey .chapter-word { transform: none; opacity: 1; }
.linear-journey .picture-mask { clip-path: inset(0); }
.linear-journey .picture-mask img { transform: none; }
.linear-journey .print { opacity: 1; transform: translate3d(var(--x),var(--y),0) rotate(var(--tilt)); }
.linear-journey .chapter--begin .chapter-picture { transform: rotate(3deg); opacity: 1; }
.linear-journey .picture-caption, .linear-journey .picture-open { opacity: 1; }
.linear-journey .scroll-markers { display: none; }
.linear-journey .folio { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px var(--gutter); background: #161b1a; }
.linear-journey .site-header { left: 0; right: 0; padding: 0 var(--gutter); background: #161b1a; }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes route-in { from { clip-path: inset(100% 0 0 0); transform: translateY(20px); } to { clip-path: inset(0); transform: none; } }
@keyframes route-out { to { opacity: .3; transform: translateY(-20px); } }
::view-transition-old(root) { animation: route-out 500ms var(--ease-out) both; }
::view-transition-new(root) { animation: route-in 700ms var(--ease-in-out) both; }
@media (prefers-reduced-motion: reduce) {
  html:has(.is-home) { scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .cover-stack { transform: none !important; }
  .title-line > span { transform: none; }
}
