@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --ink: #0a0a0a;
  --paper: #e8e6e0;
  --white: #f4f2ed;
  --line: rgba(255, 255, 255, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); scrollbar-gutter: stable; }
#editorial:focus { outline: none; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.reader-open { overflow: hidden; }
body.reader-open .grain { opacity: 0; animation: none; }
body.reader-open .cursor { opacity: .55; }
button, a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { color: var(--paper); background: #222; }

.grain {
  position: fixed; inset: -8%; z-index: 100; opacity: .045; pointer-events: none;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  animation: grain .25s steps(2) infinite;
}
@keyframes grain { 0% { transform: translate(2%, -3%); } 50% { transform: translate(-3%, 2%); } 100% { transform: translate(1%, 4%); } }

.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 86px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 3.2vw;
  color: var(--white); mix-blend-mode: difference; pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.mark { font: 500 25px/1 var(--serif); text-decoration: none; }
.issue { margin: 0 auto 0 4.5vw; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; pointer-events: none; }
.issue span { opacity: .5; }
.issue-chapter { font-style: normal; opacity: .62; margin-left: 6px; transition: opacity .35s var(--ease); }
.header-controls { display: flex; align-items: center; gap: 22px; }
.index-jump {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px;
  text-decoration: none; font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  opacity: .78; transition: opacity .35s var(--ease);
}
.index-jump:hover, .index-jump:focus-visible { opacity: 1; }
.index-jump b {
  font-weight: 400; font-size: 8px; letter-spacing: .12em;
  padding: 2px 6px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.sound-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px; cursor: pointer; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .82; transition: opacity .35s var(--ease); }
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { opacity: 1; }
.sound-bars { display: flex; align-items: center; gap: 2px; height: 12px; }
.sound-bars i { width: 1px; height: 4px; background: currentColor; transition: height .5s var(--ease); }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(1) { height: 9px; animation: bars 1.2s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { height: 12px; animation: bars 1s .2s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { height: 7px; animation: bars .8s .1s ease-in-out infinite; }
@keyframes bars { 50% { height: 2px; } }

.hero { height: 170vh; color: var(--white); background: var(--ink); }
.hero-sticky { height: 100vh; position: sticky; top: 0; overflow: hidden; }
.hero-image { position: absolute; inset: 0; margin: 0; transform: scale(1.06); will-change: transform; }
.hero-image img { object-position: center center; filter: contrast(1.08); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.58) 0%, transparent 52%), linear-gradient(0deg, rgba(0,0,0,.48), transparent 48%); }
.hero-kicker { position: absolute; left: 3.3vw; top: 20vh; margin: 0; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.hero h1 { position: absolute; inset: 0; margin: 0; pointer-events: none; font: 400 min(31vw, 450px)/.72 var(--serif); letter-spacing: -.09em; }
.title-line { position: absolute; text-shadow: 0 0 60px rgba(0,0,0,.15); }
.title-line-left { left: 2vw; top: 34vh; }
.title-line-right { right: 3.5vw; top: 54vh; }
.hero-intro { position: absolute; left: 3.3vw; bottom: 15vh; margin: 0; font: 400 clamp(20px, 2vw, 34px)/1.05 var(--serif); }
.hero-index { position: absolute; right: 3.2vw; bottom: 4.5vh; margin: 0; font-size: 9px; letter-spacing: .22em; }
.scroll-cue { position: absolute; left: 50%; bottom: 4vh; display: flex; flex-direction: column; align-items: center; gap: 10px; color: inherit; text-decoration: none; transform: translateX(-50%); font-size: 8px; letter-spacing: .25em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 1px; height: 38px; background: rgba(255,255,255,.65); transform-origin: top; animation: scroll-line 2.4s var(--ease) infinite; }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.editorial-section { position: relative; min-height: 100vh; }
.portrait { padding: 18vh 6vw 18vh; background: var(--paper); min-height: 132vh; }
.section-meta { position: absolute; top: 7vh; left: 3.2vw; right: 3.2vw; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(0,0,0,.35); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.section-meta.light { color: var(--white); border-color: rgba(255,255,255,.3); z-index: 2; }
.portrait-copy { margin-left: 14vw; max-width: 960px; }
.eyebrow { margin: 0 0 28px; font-size: 9px; letter-spacing: .25em; text-transform: uppercase; }
.display-copy { margin: 0; font: 400 clamp(68px, 9vw, 150px)/.78 var(--serif); letter-spacing: -.065em; }
.display-copy em, .interlude-heading em, .threshold-copy em, .archive-heading-block h2 em { font-weight: 400; }
.body-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; width: 53vw; margin: 13vh 0 0 20vw; }
.body-copy p { margin: 0; font-size: clamp(13px, 1.05vw, 17px); line-height: 1.8; }
.portrait-poem-slot { width: min(33vw, 450px); margin: 11vh 2vw 0 auto; }
.margin-note { position: absolute; left: 3.2vw; bottom: 16vh; padding-left: 14px; border-left: 1px solid #777; }
.margin-note span { display: block; margin-bottom: 10px; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.margin-note p { margin: 0; font: italic 400 16px/1.35 var(--serif); }

.photo-essay { min-height: 255vh; padding: 17vh 3.2vw 22vh; color: var(--white); background: #080808; overflow: hidden; }
.essay-heading { position: sticky; z-index: 1; top: 17vh; margin: 12vh 0 0 6vw; width: 48vw; }
.essay-heading h2 { margin: 0; font: 400 clamp(62px, 8vw, 138px)/.82 var(--serif); letter-spacing: -.06em; }
.essay-heading h2 em { font-weight: 400; }
.essay-photo { position: absolute; z-index: 2; margin: 0; overflow: hidden; background: #111; box-shadow: 0 32px 100px rgba(0,0,0,.38); will-change: transform; }
.essay-photo img { filter: grayscale(1) contrast(1.05); transition: transform 1.7s var(--ease), filter 1.1s var(--ease); }
.essay-photo.in-view img { transform: scale(1.03); }
.essay-photo:hover img { filter: grayscale(.78) contrast(1.12); transform: scale(1.055); }
.essay-photo figcaption { position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; color: var(--white); background: rgba(0,0,0,.45); font-size: 7px; letter-spacing: .2em; text-transform: uppercase; backdrop-filter: blur(8px); }
.essay-photo-a { top: 34vh; right: 5vw; width: 31vw; height: 47vw; }
.essay-photo-b { top: 116vh; left: 9vw; width: 26vw; height: 39vw; }
.essay-photo-c { top: 143vh; right: 7vw; width: 28vw; height: 42vw; transform: rotate(1.5deg); }
.essay-photo-d { top: 185vh; left: 42vw; width: 23vw; height: 34.5vw; transform: rotate(-1deg); }
.essay-note { position: absolute; left: 9vw; bottom: 14vh; margin: 0; font: italic 400 clamp(20px, 2.1vw, 34px)/1.15 var(--serif); opacity: .58; }

.window-scene { height: 185vh; background: #070707; color: var(--white); }
.scene-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scene-image { position: absolute; inset: -4%; margin: 0; transform: scale(1.08); will-change: transform; }
.scene-image img { object-position: center; filter: contrast(1.08); }
.scene-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.72)), linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%); }
.scene-caption { position: absolute; right: 6vw; top: 16vh; z-index: 2; text-align: right; }
.scene-caption span { font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.scene-caption h2 { margin: 20px 0 0; font: 400 clamp(48px, 6vw, 102px)/.87 var(--serif); letter-spacing: -.04em; }
.floating-fragment { position: absolute; right: 8vw; bottom: 13vh; margin: 0; z-index: 2; font: italic 400 clamp(25px, 3.2vw, 54px)/1.05 var(--serif); }
.scene-index { position: absolute; left: 3.2vw; bottom: 4vh; z-index: 2; font-size: 8px; letter-spacing: .22em; }

.interlude { padding: 17vh 3.2vw 25vh; min-height: 190vh; background: #d7d4cc; overflow: hidden; }
.interlude-heading { position: relative; z-index: 2; margin: 8vh 0 -9vh 12vw; font: 400 clamp(58px, 8.1vw, 135px)/.82 var(--serif); letter-spacing: -.06em; }
.interlude-heading-over-photo { position: absolute; inset: 0; color: #fff; pointer-events: none; user-select: none; clip-path: inset(100%); }
@media (min-width: 901px) {
  .interlude-last-line { padding-left: .2em; }
}
.corridor-frame { width: 72vw; height: 49vw; max-height: 88vh; margin: 0 0 0 auto; overflow: hidden; position: relative; }
.corridor-frame img { transition: transform 1.7s var(--ease); }
.corridor-frame.in-view img { transform: scale(1.035); }
.corridor-frame figcaption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 14px; color: var(--white); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.interlude-inset { position: absolute; left: 7vw; bottom: 11vh; z-index: 2; width: 39vw; aspect-ratio: 1.5; margin: 0; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.2); transform: rotate(-1.1deg); }
.interlude-inset img { filter: grayscale(1) contrast(1.08); transition: transform 1.7s var(--ease); }
.interlude-inset.in-view img { transform: scale(1.035); }
.interlude-inset figcaption { position: absolute; right: 12px; bottom: 11px; color: var(--white); font-size: 7px; letter-spacing: .2em; text-transform: uppercase; }
.vertical-caption { position: absolute; left: 3vw; bottom: 28vh; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 8px; letter-spacing: .28em; }

.poem-threshold { min-height: 135vh; padding: 21vh 6vw; display: flex; align-items: center; justify-content: space-between; gap: 6vw; background: #090909; color: var(--white); overflow: hidden; }
.threshold-backdrop { position: absolute; inset: 0; opacity: .21; background: radial-gradient(circle at 77% 52%, rgba(255,255,255,.22), transparent 24%), linear-gradient(115deg, transparent 30%, rgba(255,255,255,.06) 48%, transparent 66%); }
.threshold-copy { position: relative; z-index: 2; width: 49vw; }
.threshold-copy h2 { margin: 0; font: 400 clamp(51px, 6.6vw, 112px)/.85 var(--serif); letter-spacing: -.055em; }
.poem-slot { position: relative; z-index: 4; }
.essay-poem-slot { position: absolute; top: 103vh; right: 11vw; width: 28vw; }
.scene-poem-slot { position: absolute; right: 8vw; bottom: 11vh; width: 29vw; }
.interlude-poem-slot { position: absolute; right: 7vw; bottom: 12vh; width: 31vw; z-index: 4; }
.threshold-poem-slot { position: relative; z-index: 3; flex: 0 0 34vw; }

.fragment-card {
  width: 100%; display: flex; flex-direction: column; gap: 24px; padding: 24px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 3px; color: var(--white);
  text-align: left; cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  transition: border-color .55s var(--ease), background .55s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease), scale .2s;
}
.fragment-card:hover, .fragment-card:focus-visible {
  border-color: rgba(255,255,255,.55);
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.035));
  transform: translateY(-4px);
  outline: none;
}
.fragment-card.is-spotlight {
  animation: card-spotlight 1.8s var(--ease);
}
@keyframes card-spotlight {
  0% { box-shadow: 0 0 0 0 rgba(180, 175, 162, 0.55), 0 22px 70px rgba(0,0,0,.2); }
  50% { box-shadow: 0 0 0 10px rgba(180, 175, 162, 0), 0 28px 80px rgba(0,0,0,.28); }
  100% { box-shadow: 0 0 0 0 rgba(180, 175, 162, 0), 0 22px 70px rgba(0,0,0,.2); }
}
.fragment-card[aria-expanded="true"] { opacity: 0; }
.card-top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.card-no { font-size: 8px; letter-spacing: .22em; opacity: .65; font-variant-numeric: tabular-nums; }
.card-mood { font-size: 7px; letter-spacing: .16em; text-transform: uppercase; opacity: .46; text-align: right; }
.card-fragment { display: block; font: italic 400 clamp(22px, 2.25vw, 38px)/1.08 var(--serif); }
.card-fragment span { display: block; }
.card-action { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.2); font-size: 7px; letter-spacing: .21em; text-transform: uppercase; opacity: .56; transition: opacity .45s; }
.fragment-card:hover .card-action, .fragment-card:focus-visible .card-action { opacity: 1; }
.card-action i { width: 20px; height: 1px; position: relative; background: currentColor; transition: translate .5s var(--ease); }
.card-action i::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.fragment-card:hover .card-action i { translate: 4px 0; }
.fragment-card:active { scale: .985; }

[data-card-variant="feature"] .fragment-card { min-height: min(68vh, 690px); justify-content: space-between; padding: 34px; transform: rotate(1deg); }
[data-card-variant="feature"] .fragment-card:hover, [data-card-variant="feature"] .fragment-card:focus-visible { transform: rotate(0deg) translateY(-7px); }
[data-card-variant="feature"] .card-fragment { margin: auto 0; font-size: clamp(27px, 2.75vw, 46px); line-height: 1.1; }
[data-card-variant="whisper"] .fragment-card { border-right: 0; border-left: 0; border-radius: 0; background: rgba(8,8,8,.34); box-shadow: none; }
[data-card-variant="caption"] .fragment-card { color: var(--ink); border-color: rgba(0,0,0,.25); background: rgba(235,232,224,.56); box-shadow: inset 0 1px rgba(255,255,255,.45), 0 20px 60px rgba(0,0,0,.08); }
[data-card-variant="caption"] .fragment-card:hover, [data-card-variant="caption"] .fragment-card:focus-visible { border-color: rgba(0,0,0,.52); background: rgba(235,232,224,.82); }
[data-card-variant="caption"] .card-action { border-color: rgba(0,0,0,.22); }
.threshold-note { position: absolute; left: 55vw; bottom: 9vh; font: italic 400 15px/1.25 var(--serif); opacity: .55; }

/* Editorial Archive Index & Colophon */
.archive-index {
  min-height: 100vh; padding: 19vh 6vw 11vh;
  background: #070707; color: var(--white);
  border-top: 1px solid rgba(255,255,255,.08);
}
.archive-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 4vw;
  margin-bottom: 8vh;
}
.archive-heading-block h2 {
  margin: 0; font: 400 clamp(50px, 6.4vw, 108px)/.84 var(--serif); letter-spacing: -.055em;
}
.archive-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.archive-filter {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  background: transparent; color: rgba(244,242,237,.62); cursor: pointer;
  font-size: 8px; letter-spacing: .18em; text-transform: uppercase;
  transition: border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.archive-filter span { opacity: .55; font-variant-numeric: tabular-nums; }
.archive-filter:hover, .archive-filter:focus-visible { border-color: rgba(255,255,255,.42); color: var(--white); outline: none; }
.archive-filter.is-active {
  border-color: rgba(255,255,255,.68); background: rgba(255,255,255,.08); color: var(--white);
}
.archive-list {
  border-top: 1px solid rgba(255,255,255,.16);
}
.archive-row {
  width: 100%; display: grid;
  grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) 90px;
  align-items: baseline; gap: 2.5vw;
  padding: 21px 8px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  background: transparent; color: var(--white); text-align: left; cursor: pointer;
  transition: background .4s var(--ease), padding-left .4s var(--ease), border-color .4s var(--ease);
}
.archive-row[hidden] { display: none; }
.archive-row:hover, .archive-row:focus-visible {
  background: rgba(255,255,255,.035);
  border-bottom-color: rgba(255,255,255,.32);
  padding-left: 18px;
  outline: none;
}
.archive-no {
  font-size: 9px; letter-spacing: .22em; color: rgba(244,242,237,.48);
  font-variant-numeric: tabular-nums;
}
.archive-line {
  font: 400 clamp(21px, 2vw, 31px)/1.18 var(--serif);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.archive-line em { font-style: italic; color: rgba(244,242,237,.88); }
.archive-mood {
  font-size: 8px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244,242,237,.46);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.archive-cta {
  justify-self: end; font-size: 7px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,242,237,.42); transition: color .35s var(--ease), translate .35s var(--ease);
}
.archive-row:hover .archive-cta, .archive-row:focus-visible .archive-cta {
  color: var(--white); translate: 4px 0;
}

.colophon {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw;
  margin-top: 13vh; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16);
}
.colophon-copy span {
  display: block; margin-bottom: 12px; font-size: 8px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(244,242,237,.48);
}
.colophon-copy p {
  margin: 0; max-width: 520px; font: italic 400 clamp(18px, 1.6vw, 24px)/1.3 var(--serif);
  color: rgba(244,242,237,.78);
}
.back-to-top {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0;
  text-decoration: none; font-size: 8px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244,242,237,.68); transition: color .35s var(--ease);
}
.back-to-top:hover, .back-to-top:focus-visible { color: var(--white); }
.back-to-top i { font-style: normal; font-size: 13px; transition: translate .35s var(--ease); }
.back-to-top:hover i { translate: 0 -3px; }

/* Reader Dialog */
.world-dimmer { position: fixed; z-index: 70; inset: 0; pointer-events: none; visibility: hidden; opacity: 0; background: #050505; }
.reader { position: fixed; z-index: 80; inset: 0; overflow-y: auto; overscroll-behavior: contain; color: #eeeae2; background: #101010; visibility: hidden; opacity: 0; pointer-events: none; }
.reader.is-prepared { visibility: visible; }
.reader.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.reader-header {
  position: fixed; z-index: 3; top: 0; left: 0; right: 0; height: 82px;
  display: flex; justify-content: space-between; align-items: center; padding: 0 3.2vw;
  color: #d6d2ca; font-size: 8px; letter-spacing: .19em; text-transform: uppercase;
  background: linear-gradient(#101010 38%, #10101000);
}
.reader-close { display: flex; align-items: center; gap: 13px; border: 0; background: transparent; cursor: pointer; text-transform: uppercase; font-size: 8px; letter-spacing: .19em; padding: 12px 0; min-height: 44px; }
.reader-close i { position: relative; width: 28px; height: 1px; background: currentColor; transition: translate .35s var(--ease); }
.reader-close:hover i { translate: -4px 0; }
.reader-close i::before { content: ''; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.poem { width: min(88vw, 760px); margin: 0 auto; padding: 18vh 0 14vh; outline: none; }
.poem-meta-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; margin: 0 0 7vh;
}
.poem-number { margin: 0; color: #9c9891; font-size: 9px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.poem-mood { color: #75716a; font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.poem-mood::before { content: '·'; margin-right: 16px; opacity: .5; }
.poem-mood:empty { display: none; }
.poem h2 { margin: 0 0 9vh; font: italic 400 clamp(52px, 6.8vw, 96px)/.88 var(--serif); letter-spacing: -.05em; }
.poem h2[hidden] { display: none; }
.poem h2.visually-hidden + .poem-body { margin-top: 1vh; }
.poem-body { margin-left: clamp(0px, 7vw, 118px); font: 400 clamp(22px, 2.05vw, 32px)/1.48 var(--serif); }
.poem-stanza { margin: 0 0 2.25em; }
.motion-ready .reader.is-open .poem-stanza {
  animation: stanza-rise .78s var(--ease) both;
  animation-delay: calc(var(--stanza-delay, 0ms));
}
@keyframes stanza-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.poem-line { display: block; overflow-wrap: anywhere; }
.poem-stanza.is-fragment { color: #fff; }
.poem-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 12vh; padding-top: 16px; color: #8f8b84;
  border-top: 1px solid rgba(255,255,255,.2); font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
}
.poem-share {
  border: 0; background: none; padding: 6px 10px; cursor: pointer;
  color: #b7b3ab; font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.poem-share:hover, .poem-share:focus-visible { color: #fff; border-color: rgba(255,255,255,.65); outline: none; }

.reader-poem-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09);
}
.reader-nav-btn {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 0;
  border: 0; background: transparent; color: #dcd8d0; cursor: pointer; text-align: left;
  transition: opacity .3s var(--ease), translate .35s var(--ease);
}
.reader-next { text-align: right; align-items: flex-end; }
.reader-prev:hover { translate: -4px 0; }
.reader-next:hover { translate: 4px 0; }
.reader-nav-dir { font-size: 7px; letter-spacing: .22em; text-transform: uppercase; color: #807c75; }
.reader-nav-title {
  max-width: 100%; font: italic 400 clamp(18px, 1.55vw, 23px)/1.2 var(--serif);
  color: #e8e4dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.reader-hint { position: fixed; bottom: 3vh; left: 3.2vw; margin: 0; font-size: 8px; letter-spacing: .13em; opacity: .45; pointer-events: none; }
.reader-progress { position: fixed; z-index: 5; top: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.06); }
.reader-progress span { display: block; width: 0; height: 100%; background: rgba(255,255,255,.72); }

.page-progress { position: fixed; z-index: 60; right: 0; top: 0; width: 2px; height: 100vh; background: rgba(255,255,255,.1); mix-blend-mode: difference; pointer-events: none; }
.page-progress span { display: block; width: 100%; height: 0; background: #fff; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.motion-ready .reveal.in-view { opacity: 1; transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.noscript { position: fixed; z-index: 200; bottom: 0; margin: 0; width: 100%; padding: 12px; color: #fff; background: #000; text-align: center; font-size: 12px; }
.cursor { position: fixed; z-index: 150; top: 0; left: 0; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; mix-blend-mode: difference; pointer-events: none; transform: translate(-100px,-100px); transition: width .35s var(--ease), height .35s var(--ease), border-color .35s var(--ease); }
.cursor span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.cursor.is-active { width: 58px; height: 58px; }
.cursor.is-photo { width: 48px; height: 48px; border-color: rgba(255,255,255,.45); }
.cursor.is-photo span { transform: translate(-50%, -50%) scale(1.5); }

/* Opening credits: a slit of light opens onto the first scene. */
.opening[hidden] { display: none; }
.opening { position: fixed; inset: 0; z-index: 180; color: var(--white); display: grid; place-items: center; isolation: isolate; }
body.opening-active { overflow: hidden; }
.opening-panel { position: absolute; left: 0; width: 100%; height: 50.1%; background: #090909; z-index: -1; }
.opening-panel-top { top: 0; }
.opening-panel-bottom { bottom: 0; }
.opening-light { position: absolute; top: 50%; left: 10%; width: 80%; height: 1px; background: #e8e6e0; box-shadow: 0 0 24px 2px #ffffff30; transform: scaleX(0); animation: opening-light 2.2s var(--ease) both; }
.opening-type { text-align: center; padding: 24px; }
.opening-caption, .opening-note, .opening-skip { font: 400 9px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.opening-caption { margin: 0 0 28px; animation: opening-copy 1s .15s both; }
.opening-name { display: flex; justify-content: center; margin: 0; overflow: hidden; font: 400 clamp(100px, 19vw, 280px)/1.05 var(--serif); letter-spacing: -.065em; }
.opening-name span { display: block; animation: opening-letter 1.4s var(--ease) both; }
.opening-name span:nth-child(2) { animation-delay: .1s; }
.opening-name span:nth-child(3) { animation-delay: .2s; }
.opening-name span:nth-child(4) { animation-delay: .3s; }
.opening-subtitle { margin: 8px 0 0; font: italic 400 clamp(25px, 3vw, 42px)/1.2 var(--serif); animation: opening-copy 1s .6s both; }
.opening-note { position: absolute; left: 4vw; bottom: max(30px, env(safe-area-inset-bottom)); opacity: .45; }
.opening-skip { position: absolute; right: 4vw; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 48px; padding: 12px; background: transparent; border: 0; cursor: pointer; }
.opening-skip span { display: inline-block; margin-left: 12px; }
@keyframes opening-light { 0% { transform: scaleX(0); opacity: 0; } 35% { opacity: .45; } 100% { transform: scaleX(1); opacity: .12; } }
@keyframes opening-letter { from { transform: translateY(110%) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes opening-copy { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-arriving h1 { animation: hero-arrive 1.6s var(--ease) both; }
.hero-arriving .hero-intro, .hero-arriving .hero-kicker { animation: opening-copy 1.2s .3s both; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(35px) scale(1.035); } to { opacity: 1; transform: none; } }
.magnetic { transition: translate .45s var(--ease); }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.mark, .sound-toggle { min-height: 44px; }
.mark { display: inline-flex; align-items: center; min-width: 44px; }
.card-fragment { overflow-wrap: anywhere; }
.hero-sticky, .scene-sticky { height: 100svh; }
.hero { height: 160svh; }
.window-scene { height: 170svh; }

/* Carousel */
.poem-carousel { position: relative; z-index: 4; min-width: 0; }
.poem-carousel-stage { display: grid; perspective: 1200px; touch-action: pan-y pinch-zoom; }
.poem-slide { grid-area: 1 / 1; min-width: 0; transform-origin: 50% 80%; }
.poem-slide[hidden] { display: block; visibility: hidden; pointer-events: none; }
.poem-carousel-stage .fragment-card { touch-action: pan-y pinch-zoom; }
.poem-unwritten { display: flex; flex-direction: column; justify-content: space-between; min-height: min(68vh, 690px); height: 100%; padding: 34px; border: 1px solid #ffffff24; border-radius: 3px; background: radial-gradient(ellipse at 80% 20%, #ffffff08, transparent 65%), #ffffff03; color: var(--white); }
.unwritten-copy { margin: 50px 0; font: 400 clamp(29px, 3vw, 50px)/1.12 var(--serif); letter-spacing: -.025em; }
.unwritten-copy em { font-weight: 400; color: #a9a69f; }
.unwritten-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid #ffffff20; font-size: 8px; line-height: 1.7; letter-spacing: .16em; text-transform: uppercase; color: #99968f; }
.unwritten-footer > span { font-size: 23px; color: #d8d4cb; }
.poem-carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; border-top: 1px solid #ffffff20; padding-top: 12px; }
.poem-carousel-nav[hidden] { display: none; }
.poem-carousel-nav button { width: 52px; height: 48px; padding: 0; background: transparent; border: 0; color: var(--white); cursor: pointer; font: 300 26px/1 var(--sans); transition: opacity .3s, translate .4s var(--ease); }
.poem-carousel-nav button[aria-disabled="true"] { opacity: .2; cursor: default; }
.poem-carousel-nav button:not([aria-disabled="true"]):hover { translate: 4px 0; }
.poem-carousel-nav .poem-prev:not([aria-disabled="true"]):hover { translate: -4px 0; }
.poem-carousel-count { font-size: 10px; letter-spacing: .18em; color: #a9a69f; font-variant-numeric: tabular-nums; }
.poem-current { color: var(--white); }
.poem-count-divider { padding: 0 12px; opacity: .4; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
  .grain { animation: none; opacity: .03; }
}

/* Flow-based mobile & tablet layouts */
@media (max-width: 900px) {
  .photo-essay { display: flex; flex-direction: column; gap: 42px; min-height: 0; padding: 130px 6vw 80px; }
  .essay-heading { position: relative; top: auto; width: 100%; margin: 0 0 12px; }
  .essay-heading h2 { font-size: clamp(54px, 12vw, 100px); }
  .essay-photo, .essay-poem-slot, .essay-note { position: relative; inset: auto; margin: 0; flex: none; }
  .essay-photo { height: auto; aspect-ratio: 2 / 3; }
  .essay-photo-a { width: 80%; align-self: flex-end; }
  .essay-photo-b { width: 68%; align-self: flex-start; }
  .essay-photo-c { width: 65%; align-self: flex-end; }
  .essay-photo-d { width: 61%; margin-top: -10px; align-self: flex-start; }
  .essay-poem-slot { width: min(100%, 440px); align-self: flex-end; }
  .essay-note { width: 100%; font-size: 24px; }
  .portrait { min-height: 0; padding: 140px 6vw 80px; }
  .portrait-copy { margin: 0; }
  .body-copy { width: auto; margin: 64px 0 0 12vw; }
  .portrait-poem-slot { width: min(92%, 440px); margin: 54px 0 0 auto; }
  .margin-note { position: relative; inset: auto; margin-top: 56px; }
  .interlude { min-height: 0; padding: 130px 6vw 80px; }
  .interlude-heading { margin: 0 0 48px; font-size: clamp(44px, 10.8vw, 96px); line-height: .94; }
  .corridor-frame { width: 100%; height: auto; aspect-ratio: 1.47; margin: 0; }
  .interlude-inset { position: relative; inset: auto; width: 76%; margin: 30px 0 48px; }
  .interlude-poem-slot { position: relative; inset: auto; width: min(90%, 460px); margin-left: auto; }
  .vertical-caption { display: none; }
  .poem-threshold { min-height: 0; display: block; padding: 140px 6vw 80px; }
  .threshold-copy { width: 100%; }
  .threshold-copy h2 { font-size: clamp(42px, 11vw, 90px); }
  .threshold-poem-slot { width: min(90%, 480px); margin: 64px 0 0 auto; }
  [data-card-variant="feature"] .fragment-card { min-height: 400px; padding: 26px; }
  [data-card-variant="feature"] .card-fragment { font-size: clamp(24px, 5.5vw, 38px); }
  .poem-unwritten { min-height: 400px; padding: 26px; }
  .unwritten-copy { font-size: clamp(25px, 5.8vw, 40px); }
  .threshold-note { position: relative; inset: auto; margin: 32px 0 0 10%; }
  .scene-poem-slot { width: min(80%, 420px); right: 6vw; }
  .archive-index { padding: 130px 6vw 70px; }
  .archive-header { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 44px; }
  .archive-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; padding: 18px 4px; }
  .archive-mood { display: none; }
  .colophon { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 80px; }
}

@media (max-width: 760px) {
  .site-header { padding: env(safe-area-inset-top) 20px 0; height: calc(66px + env(safe-area-inset-top)); }
  .issue { display: none; }
  .header-controls { gap: 12px; }
  .hero { height: 135svh; }
  .hero h1 { font-size: 42vw; }
  .hero-kicker { left: 6vw; top: 19svh; }
  .title-line-left { top: 29svh; left: 4vw; }
  .title-line-right { top: 48svh; right: 7vw; }
  .hero-intro { left: 6vw; bottom: 15svh; }
  .hero-image img { object-position: 60% center; }
  .hero-index { bottom: 5svh; }
  .scroll-cue { bottom: 4svh; min-width: 44px; }
  .section-meta { top: 52px; left: 6vw; right: 6vw; gap: 14px; line-height: 1.6; font-size: 8px; }
  .section-meta span:last-child { white-space: nowrap; }
  .display-copy { font-size: 18vw; }
  .eyebrow { font-size: 8px; line-height: 1.7; }
  .body-copy { display: block; margin-left: 8vw; }
  .body-copy p { font-size: 14px; }
  .body-copy p + p { margin-top: 24px; }
  .scene-image img { object-position: 12% center; }
  .scene-caption { top: 13svh; right: 6vw; }
  .scene-poem-slot { bottom: 9svh; }
  .scene-caption h2 { font-size: 12vw; }
  .fragment-card { padding: 22px; gap: 20px; }
  .card-fragment { font-size: clamp(22px, 6.2vw, 34px); }
  .card-mood { display: none; }
  .archive-cta { display: none; }
  .archive-row { grid-template-columns: 34px minmax(0, 1fr); }
  .reader-header { padding: 0 20px; justify-content: flex-end; }
  .reader-header > span, .reader-hint { display: none; }
  .poem { width: auto; padding: max(110px, 16svh) 6vw max(60px, env(safe-area-inset-bottom)); }
  .poem h2 { font-size: 14vw; }
  .poem-body { margin-left: 0; font-size: clamp(20px, 5.8vw, 28px); }
  .poem-footer { gap: 14px; font-size: 7px; line-height: 1.7; }
  .reader-poem-nav { grid-template-columns: 1fr; gap: 12px; }
  .reader-next { text-align: left; align-items: flex-start; }
  .corridor-frame figcaption { font-size: 7px; gap: 12px; letter-spacing: .1em; }
  .opening-note { left: 6vw; font-size: 8px; }
  .opening-skip { right: 3vw; font-size: 8px; }
  .cursor { display: none; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-kicker { top: 22svh; }
  .hero h1 { font-size: 30svh; }
  .title-line-left { top: 34svh; }
  .title-line-right { top: 48svh; }
  .hero-intro { bottom: 16svh; font-size: 22px; }
  .window-scene { height: auto; }
  .scene-sticky { height: auto; min-height: 100svh; padding: 100px 6vw 60px; }
  .scene-caption, .scene-poem-slot { position: relative; inset: auto; width: 65%; margin: 0 0 32px auto; }
  .scene-caption h2 { font-size: 48px; }
  .opening-name { font-size: 90px; }
  .opening-caption { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image, .scene-image { transform: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
  .magnetic { translate: none !important; }
}
