@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("./cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("./cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Dawning of a New Day"; font-style: normal; font-weight: 400; font-display: swap; src: url("./dawning-of-a-new-day.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("./dm-sans-medium.ttf") format("truetype"); }
:root { color-scheme: light; --paper: #d1d1d1; --ink: #1e1e1e; --body: #676366; --dark: #363636; --cream: #ebe6e3; --letter: #e6dfd5; --accent: #261a0a; --rail: 72px; font-family: "Cormorant Garamond", Georgia, serif; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #705638; outline-offset: 5px; }
.loading { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; background: var(--paper); transition: opacity .5s, visibility .5s; }
.loading.hidden { opacity: 0; visibility: hidden; }
.loading-mark { width: min(480px, 72vw); }
.loading-fern { width: 100%; height: auto; }
.loading-rule { width: 110px; height: 1px; background: #909998; transform-origin: left; animation: loading-breath 1.7s ease-in-out infinite alternate; }
.loading button { margin-top: 25px; padding: 10px 20px; border: 1px solid #888; background: transparent; color: var(--ink); cursor: pointer; }
@keyframes loading-breath { from { transform: scaleX(.35); opacity: .35; } to { transform: scaleX(1); opacity: .8; } }
.loading p { margin-top: 24px; font: 10px/1.5 system-ui, sans-serif; letter-spacing: .22em; text-align: center; max-width: 80vw; }
.site-header { position: fixed; z-index: 30; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; border-right: 2px solid var(--dark); background: var(--paper); }
.brand { height: 66px; display: grid; place-content: center; text-decoration: none; color: var(--ink); font: 600 13px/1.3 system-ui, sans-serif; letter-spacing: .15em; text-align: center; border-bottom: 2px solid var(--dark); flex-shrink: 0; }
.brand span { font-size: 7px; letter-spacing: .13em; }
.site-header nav { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.site-header nav a { position: relative; flex: 1; display: grid; place-items: center; color: var(--dark); text-decoration: none; border-top: 2px solid var(--dark); font-size: 23px; font-weight: 600; transition: background .2s, color .2s; }
.site-header nav a span { writing-mode: vertical-rl; }
.site-header nav a:hover, .site-header nav a.active { color: var(--paper); background: var(--dark); }
.sound-button { order: -1; height: 70px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: var(--dark); cursor: pointer; flex-shrink: 0; }
.brand { order: -2; }
.sound-button i { width: 2px; height: 10px; background: currentColor; transform-origin: center; }
.sound-button i:nth-child(2) { height: 20px; }.sound-button i:nth-child(3) { height: 15px; }.sound-button i:nth-child(4) { height: 7px; }
.sound-button span { display: none; }
.sound-button.playing i { animation: bars .65s ease-in-out infinite alternate; }.sound-button.playing i:nth-child(2) { animation-delay: -.25s; }.sound-button.playing i:nth-child(3) { animation-delay: -.45s; }
@keyframes bars { to { transform: scaleY(.35); } }
#site, footer { margin-left: var(--rail); }
.particle-chapter { position: relative; isolation: isolate; background: var(--paper); }
.particle-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.canvas-host { position: absolute; inset: 0; }
.particle-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.canvas-host[data-state="loading"]::after { content: attr(data-loading-message); position: absolute; z-index: 2; bottom: 7vh; left: 50%; transform: translateX(-50%); padding: 9px 14px; border: 1px solid #7777; background: color-mix(in srgb, var(--paper) 82%, transparent); font: 500 9px/1 "DM Sans", sans-serif; letter-spacing: .18em; color: var(--body); white-space: nowrap; animation: loading-breath 1.7s ease-in-out infinite alternate; }
.particle-error { position: absolute; inset: auto 20px 30px; text-align: center; font: 13px system-ui,sans-serif; color: #8b2d1c; }
.rotating-copy { position: relative; z-index: 1; margin: -100vh auto 0; max-width: 1280px; padding: 50vh 5vw; display: flex; flex-direction: column; align-items: center; gap: 100vh; color: #fff; mix-blend-mode: exclusion; pointer-events: none; }
.rotating-copy p { margin: 0; text-align: center; font-size: clamp(44px, 6.4vw, var(--particle-font-size, 88px)); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ink-word { display: inline-block; white-space: nowrap; }
.ink-char { color: color-mix(in srgb, var(--ink-to, var(--ink)) calc(var(--glyph-ink, 1) * 100%), var(--ink-from, #aaa7a1)); }
.drag-hint { position: absolute; right: 25px; bottom: 24px; font: 9px system-ui,sans-serif; letter-spacing: .15em; color: #555; pointer-events: none; }
.content-section { padding: 12vh 7vw; }
.section-heading span { font: 10px system-ui,sans-serif; letter-spacing: .2em; color: var(--body); }
.section-heading h2 { font-size: clamp(45px, 5vw, 85px); line-height: .98; font-weight: 500; margin: 24px 0; }
.section-heading p { font: 500 17px/1.75 "DM Sans", sans-serif; color: var(--body); }
.timeline { padding-top: 10vh; position: relative; isolation: isolate; overflow-x: clip; }
.timeline-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.timeline-backdrop-viewport { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; background: var(--paper); }
.timeline-backdrop-viewport > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1); opacity: 0; transition: opacity 1s ease; }
.timeline-backdrop-viewport > img.active { opacity: var(--timeline-background-opacity, .17); }
.timeline-backdrop-wash { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--paper) 36%, transparent), transparent 65%), linear-gradient(0deg, var(--paper), transparent 10% 90%, var(--paper)); }
.timeline-intro { max-width: 800px; margin: 0 0 12vh auto; }
.timeline-intro h2 { max-width: 760px; font-size: clamp(51px, 5.6vw, 95px); text-wrap: balance; }
.timeline-intro > span { font-size: 12px; }.timeline-intro > p { font-size: 19px; }
.profile-details { font: 500 15px/1.7 "DM Sans", sans-serif; color: var(--body); margin-top: 28px; }
.profile-details summary { cursor: pointer; letter-spacing: .03em; }
.profile-details p { font-size: 16px; max-width: 660px; }
.profile-details small { display: block; white-space: pre-line; }
.timeline-stories { position: relative; }
.timeline-row { --year-width: clamp(42px, 5.2vw, 78px); --timeline-gap: clamp(18px, 2.8vw, 44px); position: relative; min-height: 118vh; display: grid; grid-template-columns: var(--year-width) 3px minmax(0, .84fr) minmax(0, 1.16fr); column-gap: var(--timeline-gap); align-items: start; scroll-margin-top: 0; }
.timeline-year { grid-column: 1; padding-top: 15vh; display: flex; justify-content: center; color: #aaa7a1; }
.timeline-year span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 clamp(70px, 8.8vw, 134px)/.8 "Cormorant Garamond", serif; font-variant-numeric: lining-nums; letter-spacing: -.05em; white-space: nowrap; }
.timeline-axis { position: absolute; left: calc(var(--year-width) + var(--timeline-gap)); inset-block: 0; width: 3px; }
.timeline-dots { position: absolute; inset: 0; background: radial-gradient(circle, #9c9790 1px, transparent 1.5px) center top / 3px var(--timeline-dot-gap, 28px); }
.timeline-dots::after { content: ""; position: absolute; inset: 0 0 auto; height: var(--timeline-fill, 0%); background: radial-gradient(circle, var(--ink) 1px, transparent 1.5px) center top / 3px var(--timeline-dot-gap, 28px); }
.timeline-marker { position: absolute; top: calc(15vh + 7px); left: -3px; width: 9px; height: 9px; border: 1px solid #888; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 7px var(--paper); }
.timeline-row.active .timeline-marker { background: var(--ink); }
.timeline-copy { grid-column: 3; min-width: 0; padding-block: 15vh 18vh; transform: translateY(calc(var(--story-travel, 0px) * .3 + var(--text-lag, 0px))) rotate(var(--text-sway, 0deg)); transform-origin: 30% 20%; }
.timeline-step { font: 500 11px "DM Sans", sans-serif; letter-spacing: .2em; color: var(--body); }
.timeline-row h3 { font-size: clamp(52px, 5.7vw, 90px); line-height: .94; font-weight: 400; letter-spacing: -.035em; margin: 32px 0 28px; transform: scaleX(calc(.92 + var(--story-reveal, 1) * .08)); transform-origin: left; }
.timeline-row h3 .ink-word { white-space: normal; overflow-wrap: anywhere; }
.timeline-title-first, .timeline-title-accent { display: block; }
.timeline-title-accent { font-weight: 400; font-style: italic; padding-left: 5%; }
.timeline-subtitle { max-width: 270px; font: 600 15px/1.65 "DM Sans", sans-serif; color: #504d49; text-wrap: pretty; }
.timeline-editorial { grid-column: 4; min-width: 0; padding-block: 15vh 18vh; }
.timeline-prose { transform: translateY(calc(var(--story-travel, 0px) * .55 + var(--text-lag, 0px) * .65)); }
.timeline-prose p { margin: 0; }
.timeline-prose .timeline-lead { font: 600 clamp(31px, 2.7vw, 43px)/1.14 "Cormorant Garamond", serif; color: var(--ink); margin-bottom: 22px; text-wrap: pretty; }
.timeline-prose .timeline-body { font: 600 16px/1.8 "DM Sans", sans-serif; color: #46433f; max-width: 48ch; }
.timeline-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px 16px; margin-top: 5vh; margin-left: calc(-1 * var(--photo-bleed, 32px)); }
.timeline-photos figure { position: relative; z-index: var(--photo-order, 0); min-width: 0; width: var(--photo-width, 100%); margin: var(--photo-offset, 0px) 0 0; transform: translate(var(--photo-x-offset, 0px), calc(var(--story-travel, 0px) * (1 + var(--photo-order, 0) * .18))); }
.timeline-photos figure[data-align="right"] { justify-self: end; }.timeline-photos figure[data-align="center"] { justify-self: center; }
.timeline-photos[data-count="1"] figure, .timeline-photos[data-count="3"] figure:first-child { grid-column: 1 / -1; }
.timeline-photos img { width: 100%; height: auto; max-height: calc(44vh * var(--photo-ratio, 1)); object-fit: contain; object-position: left top; filter: none; mix-blend-mode: normal; clip-path: inset(calc((1 - var(--story-reveal, 1)) * 8%) 0); }
.timeline-photos figure[data-align="right"] img { object-position: right top; }.timeline-photos figure[data-align="center"] img { object-position: center top; }
.timeline-photos[data-count="3"] figure:not(:first-child) img { max-height: calc(27vh * var(--photo-ratio, 1)); }
.timeline-photos figcaption { margin: 12px 0 0; font: italic 600 21px/1.25 "Cormorant Garamond", serif; color: var(--body); text-wrap: pretty; }
.portrait-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; padding-top: 4vh; padding-bottom: 18vh; }
.portrait-quotes figure { margin: 0; padding-top: 28px; border-top: 1px solid #9999; }
.portrait-quotes blockquote { margin: 0 0 28px; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.25; }
.portrait-quotes figcaption { font: 500 10px "DM Sans", sans-serif; letter-spacing: .13em; color: var(--body); }
.hardship-copy { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--dark); padding-block: 18vh; }
.hardship-heading { max-width: 720px; margin-bottom: 12vh; }
.hardship-heading span { color: #bbb6b0; }
.hardship-words { position: absolute; z-index: -1; inset: 2% 0; display: flex; flex-direction: column; justify-content: space-between; font-size: clamp(70px, 15vw, 220px); font-weight: 600; line-height: .9; letter-spacing: -.04em; opacity: .045; pointer-events: none; }
.hardship-words span:nth-child(even) { align-self: end; }
.long-copy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4vw; }
.long-copy-grid article { padding-top: 28px; border-top: 1px solid #ffffff55; }
.column-index { color: #b8afa6; font-size: 23px; }
.long-copy-grid h3 { font-size: 34px; line-height: 1.05; font-weight: 500; margin: 28px 0 24px; }
.long-copy-grid p { font: 500 15px/1.85 "DM Sans", sans-serif; color: #d2ceca; }
.pen-transition { --nib-y: 85vh; --nib-scale: .28; --nib-split: 0px; --nib-opacity: 1; --lens-size: 20px; --film-shift: 0px; --film-opacity: 0; --darkness: 0; --blackout: 0; position: relative; height: var(--pen-scroll-height, 420vh); background: var(--paper); }
.pen-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; background: var(--paper); }
.pen-darkness, .pen-blackout { position: absolute; inset: 0; pointer-events: none; }
.pen-darkness { z-index: 1; background: var(--dark); opacity: var(--darkness); }
.pen-blackout { z-index: 6; background: #050505; opacity: var(--blackout); }
.pen-aperture { position: absolute; inset: 0; z-index: 2; transform: translateY(var(--nib-y)); }
.pen-nib { position: absolute; left: 50%; top: 50%; width: min(40vw, 500px); aspect-ratio: 400/640; color: #333; transform: translate(-50%, -71.875%) scale(var(--nib-scale)); transform-origin: 50% 71.875%; opacity: var(--nib-opacity); }
.pen-nib-half { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }
.pen-nib-left { transform: translateX(calc(-1 * var(--nib-split))); }
.pen-nib-right { transform: translateX(var(--nib-split)); }
.pen-lens { position: absolute; left: 50%; top: 50%; width: var(--lens-size); height: var(--lens-size); border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%); background: var(--paper); }
.film-reel { position: absolute; inset: 0; overflow: hidden; }
.film-axis { position: absolute; left: 0; top: 50%; width: 100%; height: clamp(225px, 45vh, 585px); transform: translateY(-50%); opacity: var(--film-opacity); }
.film-track { position: absolute; left: 50%; height: 100%; display: flex; gap: clamp(10px, 1vw, 18px); width: max-content; transform: translate3d(var(--film-shift), 0, 0); }
.film-track figure { width: clamp(160px, 22.5vw, 365px); margin: 0; position: relative; flex: none; overflow: hidden; background: #f5f3ee; border: 3px solid #fffffff0; box-sizing: border-box; }
.film-track img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); }
.film-track figcaption { position: absolute; inset: auto 0 0; padding: 6px 8px; color: #f3eee7; background: #0009; font: 500 8px/1.3 "DM Sans", sans-serif; }
.pen-black-bridge { height: 72vh; min-height: 460px; background: #050505; }
.newspaper-stage { padding: 15vh 5vw; background: var(--cream); overflow: clip; }
.newspaper { position: relative; width: min(1240px, 100%); margin: auto; padding: 20px 42px 30px; color: var(--dark); background: linear-gradient(100deg, #00000008, transparent 8% 92%, #ffffff16), repeating-linear-gradient(0deg, #00000003 0 1px, transparent 1px 4px), #d9d7d2; border: 1px solid #87847d; box-shadow: 0 8px 28px #0002; }
.newspaper-front { position: relative; min-height: 112vh; padding-bottom: 9vh; display: flex; flex-direction: column; overflow: hidden; border-bottom: 1px solid #89857e; }
.newspaper-front::before { content: ""; position: absolute; inset: 62px auto 8vh -42px; width: 5px; background: repeating-linear-gradient(0deg, var(--dark) 0 10px, transparent 10px 17px); opacity: .75; }
.newspaper-front::after { content: "CJH"; position: absolute; z-index: 0; right: -2vw; top: 29vh; font: 700 clamp(150px, 24vw, 350px)/.7 "Cormorant Garamond", serif; letter-spacing: -.09em; color: #36363609; pointer-events: none; }
.newspaper-meta, .newspaper-footer { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-block: 1px solid #555; font-size: 15px; }
.newspaper-masthead { position: relative; z-index: 1; text-align: center; font-size: clamp(45px, 7.2vw, 104px); font-weight: 700; line-height: 1; padding: 30px 0 22px; }
.newspaper-frontline { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 9px 0; border-block: 3px double #555; font: 500 9px/1.4 "DM Sans", sans-serif; letter-spacing: .17em; }
.newspaper-frontline i { height: 1px; background: #777; }
.newspaper-header-image { width: 100%; height: 110px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; margin: 30px auto; }
.newspaper-headline-frame { position: relative; z-index: 1; width: min(980px, 92%); margin: auto; padding: 4vh clamp(24px, 5vw, 76px) 0; text-align: center; border-inline: 1px solid #7778; }
.newspaper-folio { position: absolute; left: 0; top: 50%; transform: translate(-52%, -50%) rotate(-90deg); padding: 6px 14px; color: #6f6962; background: #d9d7d2; font: 500 9px/1 "DM Sans", sans-serif; letter-spacing: .18em; white-space: nowrap; }
.newspaper-kicker { margin-bottom: 2vh; letter-spacing: .28em; }
.newspaper h2 { font-size: clamp(47px, 7.5vw, 112px); text-transform: uppercase; line-height: .9; font-weight: 600; letter-spacing: -.035em; text-align: center; margin: 45px 0 25px; white-space: pre-line; }
.newspaper-deck { font-size: clamp(32px, 4.5vw, 60px); font-weight: 500; line-height: 1.05; text-align: center; max-width: 820px; margin: 0 auto 6vh; }
.newspaper-deck .deck-accent { display: block; font-style: italic; }
.newspaper-front-footer { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #777; font: 500 9px/1.4 "DM Sans", sans-serif; letter-spacing: .18em; text-align: center; }
.newspaper [data-ink] { --ink-to: var(--dark); --ink-from: #a6a29d; }
.paper-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 7%; padding-block: 9vh 13vh; border-top: 1px solid #89857e; min-height: 125vh; }
.paper-pin { position: sticky; top: 8vh; min-width: 0; margin: 0; }
.paper-flow { min-width: 0; }
.paper-flow > * + * { margin-top: 8vh; }
.paper-feature-photo img { max-height: 63vh; }
.newspaper img:not(.newspaper-header-image) { width: 100%; height: auto; object-fit: contain; filter: none; mix-blend-mode: normal; }
.newspaper figcaption { margin: 16px 0 0; font: italic 600 20px/1.2 "Cormorant Garamond", serif; color: #625d56; }
.paper-media { margin: 0; }
.paper-media img { max-height: 65vh; }
[data-image-reveal] > img { clip-path: inset(calc((1 - var(--media-reveal, 1)) * 28%) 0 0); transform: translateY(calc((1 - var(--media-reveal, 1)) * 32px)); opacity: calc(.25 + var(--media-reveal, 1) * .75); }
.newspaper-body .timeline-lead { font: 600 clamp(31px, 3.4vw, 49px)/1.02 "Cormorant Garamond", serif; margin: 0 0 26px; max-width: 15ch; }
.newspaper-body .timeline-body { font: 600 15px/1.75 "DM Sans", sans-serif; margin: 0; }
.paper-index { display: block; font: 500 9px/1.4 "DM Sans", sans-serif; letter-spacing: .15em; color: #71695f; }
.newspaper-verbs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.paper-verb { border-top: 1px solid #89857e; padding-top: 22px; }
.paper-verb h3 { margin: 14px 0; font: 600 clamp(40px, 4.4vw, 65px)/.95 "Cormorant Garamond", serif; letter-spacing: -.03em; }
.paper-verb:nth-child(even) h3 { font-style: italic; font-size: clamp(34px, 3.6vw, 54px); }
.paper-verb p { font: 500 14px/1.7 "DM Sans", sans-serif; max-width: 38ch; margin: 16px 0 0; }
.paper-reverse .paper-pin { grid-column: 2; grid-row: 1; }
.paper-reverse .paper-flow { grid-column: 1; grid-row: 1; }
.paper-dispatch { padding-block: 18px; border-block: 3px double #888; }
.newspaper-date { font: 600 clamp(38px, 4.5vw, 66px)/.96 "Cormorant Garamond", serif; margin: 25px 0 35px; letter-spacing: -.025em; }
.paper-dispatch p { font: 500 16px/1.75 "DM Sans", sans-serif; }
.paper-dispatch .paper-note { font: italic 600 27px/1.2 "Cormorant Garamond", serif; max-width: 25ch; margin-top: 32px; }
.paper-chapters { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.newspaper-statement { font: 600 clamp(53px, 6.3vw, 94px)/.92 "Cormorant Garamond", serif; letter-spacing: -.04em; margin: 26px 0; max-width: 8ch; text-wrap: balance; }
.newspaper-blocks article + article { margin-top: 14vh; }
.newspaper-blocks h3 { margin: 26px 0; font: 600 clamp(35px, 3.5vw, 52px)/1.02 "Cormorant Garamond", serif; max-width: 15ch; text-wrap: balance; }
.newspaper-blocks article:nth-child(even) h3 { font-style: italic; }
.newspaper-blocks p { font: 500 15px/1.75 "DM Sans", sans-serif; margin: 0 0 35px; }
.paper-finale { min-height: 120vh; align-items: start; }
.newspaper-last-line { font: italic 600 clamp(43px, 5vw, 73px)/.98 "Cormorant Garamond", serif; margin: 0 0 45px; letter-spacing: -.03em; max-width: 11ch; }
.paper-finale .paper-media img { max-height: 38vh; }
.newspaper-closing p { font: 500 17px/1.8 "DM Sans", sans-serif; margin: 0 0 13vh; }
.newspaper-closing .closing-0 { font: 600 clamp(27px, 2.8vw, 41px)/1.17 "Cormorant Garamond", serif; }
.newspaper-closing .closing-2 { font: italic 500 clamp(27px, 2.6vw, 38px)/1.25 "Cormorant Garamond", serif; margin-bottom: 0; }
.legacy-gallery { position: relative; height: var(--memory-height, 720vh); background: var(--paper); }
.legacy-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.legacy-hero { width: var(--hero-width, 42%); position: relative; z-index: 3; padding: clamp(12px, 1.4vw, 22px) clamp(12px, 1.4vw, 22px) 28px; background: #fffefa; box-shadow: 0 2px 3px #0001, 0 18px 48px #0002; opacity: var(--hero-opacity, 1); transform: scale(var(--hero-scale, 1)); pointer-events: none; }
.legacy-hero img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; filter: none; mix-blend-mode: normal; }
.legacy-hero blockquote { text-align: center; margin: 23px 12px 4px; font: 400 clamp(25px, 2.7vw, 40px)/1.1 "Dawning of a New Day", cursive; color: #39342f; }
.photo-wall { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.photo-wall button { position: absolute; left: 50%; top: 50%; width: var(--hero-width, 42%); padding: 0; border: 0; background: var(--paper); opacity: var(--photo-opacity, 0); filter: blur(var(--photo-blur, 0px)); transform: translate(-50%, -50%) translate(var(--photo-x, 0vw), var(--photo-y, 0vh)) scale(var(--photo-scale, .24)); transform-origin: center; pointer-events: auto; cursor: zoom-in; will-change: transform, opacity; }
.photo-wall button[inert] { pointer-events: none; }
.photo-wall img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; filter: grayscale(1); }
.photo-wall button span { display: block; padding: 12px 5px; font: 25px/1.1 "Dawning of a New Day", cursive; color: var(--ink); text-align: center; }
.letter-stage { padding: 20vh 7vw; background: var(--paper); }
.letter { width: min(900px, 100%); margin: auto; padding: clamp(30px, 7vw, 95px); background: radial-gradient(ellipse at 80% 10%, #ffffff50, transparent 65%), repeating-linear-gradient(0deg, #00000002 0 1px, transparent 1px 4px), var(--letter); color: var(--accent); box-shadow: 1px 2px 1px #aaa6, 0 14px 45px #0002; transform: rotate(-.7deg); }
.postcard-head { display: grid; grid-template-columns: minmax(180px, .72fr) minmax(0, 1.28fr); min-height: 235px; margin-bottom: 38px; border-bottom: 1px dashed #79624866; font-family: var(--letter-font, "Dawning of a New Day"), cursive; }
.postcard-sender { display: grid; grid-template-rows: 1fr auto; justify-items: start; gap: 8px; padding: 0 clamp(18px, 3vw, 42px) 28px 0; border-right: 1px solid #79624866; }
.postcard-portrait { width: min(170px, 90%); height: 145px; display: grid; place-items: center; color: #2c251f; }
.postcard-portrait img, .postcard-fallback-art { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.3); mix-blend-mode: multiply; }
.postcard-head p { width: 100%; margin: 0; }
.postcard-head p span { display: block; margin-bottom: 2px; font: 500 10px/1.2 "DM Sans", sans-serif; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.postcard-head p strong { display: block; min-height: 35px; padding: 4px 3px 6px; border-bottom: 1px solid #79624866; font-size: clamp(25px, 3vw, 38px); line-height: 1.05; font-weight: 400; }
.postcard-address { --stamp-render-width: min(var(--stamp-size, 168px), 100%); --stamp-render-height: min(var(--stamp-safe-height, 124px), 73.34%); position: relative; display: flex; align-items: flex-end; padding: calc(var(--stamp-render-height) + 30px) 0 28px clamp(22px, 4vw, 50px); }
.postcard-address p { background: repeating-linear-gradient(0deg, transparent 0 31px, #7962483f 31px 32px); }
.postcard-address p strong { min-height: 72px; border: 0; }
.postcard-stamp { position: absolute; right: 0; top: 0; width: var(--stamp-render-width); aspect-ratio: 15 / 11; display: grid; place-items: center; color: #4b4055; transform-origin: right top; }
.postcard-stamp img, .postcard-fallback-stamp { width: 100%; height: 100%; object-fit: contain; filter: saturate(.72) contrast(1.1); mix-blend-mode: multiply; }
.letter-meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; margin-bottom: 42px; border-bottom: 1px solid #79624830; font: 500 9px/1.6 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.letter h2 { text-align: var(--letter-align, center); font-family: var(--letter-font, "Dawning of a New Day"), cursive; font-size: clamp(44px, 5.5vw, 74px); font-weight: 400; line-height: 1; margin: 0 0 46px; transform: rotate(-2deg); }
.letter-body { margin: 0; text-align: var(--letter-align, center); font-family: var(--letter-font, "Dawning of a New Day"), cursive; font-size: var(--letter-size, 38px); line-height: var(--letter-leading, 1.24); font-weight: 400; font-style: normal; }
.letter-line { margin-inline: var(--letter-line-margin, auto); display: block; width: fit-content; max-width: 100%; background: linear-gradient(90deg, var(--accent) 0 var(--ink-progress, 100%), #261a0a22 var(--ink-progress, 100%) 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.letter-space { display: block; height: .75em; }
.letter-signature { margin: 42px 0 0; font: 400 clamp(45px, 5vw, 66px)/1 var(--letter-font, "Dawning of a New Day"), cursive; text-align: var(--letter-align, center); transform: rotate(-3deg); }
.contact { text-align: center; padding-block: 14vh; border-top: 1px solid #8885; }
.contact h2 { margin: 0 0 25px; font-size: clamp(42px, 5.5vw, 78px); font-weight: 500; }
.contact p { max-width: 570px; margin: 0 auto 35px; font: 500 15px/1.8 "DM Sans", sans-serif; color: var(--body); }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.contact-links a { color: var(--ink); text-underline-offset: 5px; font: 500 12px/1.7 "DM Sans", sans-serif; }
.contact-links a:first-child { padding: 13px 23px; border: 1px solid var(--ink); text-decoration: none; }
footer { padding: 45px 5vw; display: flex; justify-content: space-between; gap: 24px; font: 9px/1.6 system-ui,sans-serif; letter-spacing: .15em; color: var(--body); }
dialog { max-width: 90vw; max-height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog::backdrop { background: #000d; }
dialog img { max-height: 86vh; margin: auto; object-fit: contain; }
dialog button { position: fixed; right: 25px; top: 25px; border: 1px solid #888; border-radius: 50%; width: 44px; height: 44px; font-size: 30px; color: white; background: #222; cursor: pointer; }
@media (max-width: 760px) {
  :root { --rail: 44px; }
  .brand { font-size: 10px; height: 50px; }.brand span { font-size: 5px; }.sound-button { height: 50px; }
  .site-header nav a { font-size: 18px; }.site-header, .site-header nav a { border-width: 1px; }
  .rotating-copy { padding-inline: 4vw; }.rotating-copy p { font-size: clamp(32px, 9.6vw, var(--particle-mobile-size, 42px)); }.drag-hint { font-size: 7px; right: 12px; }
  .content-section { padding-inline: 5vw; }
  .timeline { padding: 6vh 4vw; }.timeline-intro { margin-bottom: 8vh; }.section-heading p { font-size: 14px; }
  .timeline-row { --year-width: 30px; --timeline-gap: 13px; min-height: 112vh; grid-template-columns: var(--year-width) 3px minmax(0, 1fr); row-gap: 24px; padding-block: 9vh 12vh; }
  .timeline-year { padding-top: 0; grid-row: 1 / 3; }.timeline-year span { font-size: 68px; }
  .timeline-marker { top: calc(9vh + 7px); }
  .timeline-copy { grid-column: 3; padding: 0; }.timeline-row h3 { font-size: clamp(41px, 10.5vw, 69px); margin-block: 22px 18px; }.timeline-title-accent { padding-left: 0; }
  .timeline-subtitle { font-size: 13px; margin-bottom: 0; }
  .timeline-editorial { grid-column: 3; padding: 0; }
  .timeline-prose .timeline-lead { font-size: 29px; margin-bottom: 18px; }.timeline-prose .timeline-body { font-size: 15px; }
  .timeline-photos { gap: 16px 10px; margin-top: 30px; margin-left: 0; }.timeline-photos figure { width: min(var(--photo-width, 100%), 130%); transform: translateY(calc(var(--story-travel, 0px) * (1 + var(--photo-order, 0) * .18))); }.timeline-photos img { max-height: 42vh; }.timeline-photos figcaption { font-size: 18px; margin-top: 10px; }
    .portrait-quotes { grid-template-columns: 1fr; gap: 35px; padding-block: 4vh 10vh; }
  .hardship-copy { padding: 10vh 6vw; }.hardship-heading { margin-bottom: 8vh; }.long-copy-grid { grid-template-columns: 1fr; gap: 40px; }.long-copy-grid h3 { font-size: 32px; }.long-copy-grid p { font-size: 14px; }
  .pen-nib { width: min(58vw, 360px); }.film-track figure { width: clamp(120px, 35vw, 190px); }
  .newspaper-stage { padding: 8vh 3vw; }.newspaper { padding: 16px; }.newspaper-meta { font-size: 10px; }
  .newspaper-front { min-height: 92vh; }.newspaper-front::before { left: -16px; }.newspaper-front::after { top: 32vh; right: -5vw; }.newspaper-frontline { grid-template-columns: 1fr; text-align: center; }.newspaper-frontline i { display: none; }.newspaper-headline-frame { width: 100%; padding-inline: 18px; }.newspaper-folio { display: none; }.newspaper-front-footer { grid-template-columns: repeat(2, 1fr); row-gap: 9px; }
  .newspaper h2 { font-size: clamp(40px, 10vw, 74px); }.newspaper-header-image { height: 75px; }.newspaper-masthead { font-size: clamp(35px, 8vw, 65px); }
  .newspaper-deck { margin-bottom: 45px; }
  .paper-spread { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; padding-block: 45px 60px; }
  .paper-pin { position: relative; top: auto; }.paper-reverse .paper-pin, .paper-reverse .paper-flow { grid-column: 1; grid-row: auto; }
  .paper-feature-photo img { max-height: 52vh; }.paper-media img { max-height: 48vh; }
  .newspaper-body .timeline-lead { font-size: 32px; }.newspaper-body .timeline-body, .paper-dispatch p, .newspaper-blocks p, .paper-verb p { font-size: 13px; }
  .paper-flow > * + * { margin-top: 36px; }.paper-verb h3 { font-size: 43px; }.paper-verb:nth-child(even) h3 { font-size: 36px; }
  .newspaper-date { font-size: 40px; }.newspaper-statement { font-size: 53px; }.newspaper-blocks article + article { margin-top: 60px; }
  .newspaper-blocks h3 { font-size: 35px; }.newspaper-last-line { font-size: 48px; }.newspaper-closing p { font-size: 14px; margin-bottom: 45px; }
  .newspaper-closing .closing-0, .newspaper-closing .closing-2 { font-size: 27px; }
  .legacy-hero { width: var(--hero-mobile-width, 69%); padding: 10px 10px 20px; }.legacy-hero img { height: auto; max-height: 48vh; }.legacy-hero blockquote { font-size: 29px; margin: 18px 4px 0; }
  .photo-wall button { width: var(--hero-mobile-width, 69%); }.photo-wall img { max-height: 48vh; }.photo-wall button span { font-size: 20px; }
  .letter-stage { padding: 12vh 4vw; }.letter { padding: 28px 22px; }.letter-body { font-size: clamp(25px, 6.2vw, var(--letter-size, 38px)); }.letter-meta { letter-spacing: .05em; font-size: 8px; }
  .postcard-head { grid-template-columns: minmax(105px, .62fr) minmax(0, 1.38fr); min-height: 190px; }.postcard-sender { padding: 0 15px 20px 0; }.postcard-portrait { height: 110px; }.postcard-address { --stamp-render-width: min(var(--stamp-size, 168px), 100%); --stamp-render-height: min(var(--stamp-safe-height, 124px), 73.34%); padding: calc(var(--stamp-render-height) + 22px) 0 20px 18px; }.postcard-head p strong { font-size: clamp(21px, 6vw, 31px); }
  .letter h2 { margin-bottom: 34px; }.contact-links { gap: 20px; }
  footer { flex-direction: column; }
}

.sound-status { position: fixed; top: 74px; left: 12px; z-index: 90; padding: 5px 9px; border-radius: 4px; background: rgba(235,235,232,.92); color: #222; font: 11px/1.4 sans-serif; max-width: 230px; pointer-events: none; }
.sound-button[data-audio-state="playing"] + .sound-status { opacity: .65; }
.sound-button[data-audio-state="error"] + .sound-status { color: #8b2820; }
@media(max-width:700px) { .sound-status { top: 54px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .newspaper { transform: none; }
  .paper-pin { position: relative; top: auto; }
  [data-image-reveal] > img { clip-path: none; transform: none; opacity: 1; }
  .letter-line { background: none; color: var(--accent); }
  .pen-transition { height: 120vh; }
  .ink-char { color: var(--ink-to, var(--ink)); }
  .timeline-copy, .timeline-prose, .timeline-row figure, .timeline-row h3 { transform: none; }
  .timeline-row img { clip-path: none; }
  .legacy-gallery { height: auto; padding: 10vh 5vw; }
  .legacy-sticky { position: relative; height: auto; overflow: visible; display: block; }
  .legacy-hero { opacity: 1; transform: none; margin: 0 auto 50px; width: min(540px, 90%); }
  .photo-wall { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .photo-wall button { position: static; width: 100%; opacity: 1; filter: none; transform: none; will-change: auto; pointer-events: auto; }
  .photo-wall img { max-height: none; }
}
