/* The Everpost: the living postal archive design. Fonts are self-hosted, no external requests. */
@font-face{font-family:"Uncial Antiqua";font-display:swap;src:url(fonts/uncial-antiqua-latin-18fd59d8e4.woff2) format("woff2")}
@font-face{font-family:"Alegreya";font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/alegreya-latin-variable-34d902fd33.woff2) format("woff2")}
@font-face{font-family:"Alegreya";font-style:italic;font-weight:400 600;font-display:swap;src:url(fonts/alegreya-latin-italic-variable-2636ab6308.woff2) format("woff2")}
@font-face{font-family:"Cinzel";font-weight:400 700;font-display:swap;src:url(fonts/cinzel-normal-ef95296c77.woff2) format("woff2")}
@font-face{font-family:"Special Elite";font-display:swap;src:url(fonts/special-elite-normal-3cf0677184.woff2) format("woff2")}
@font-face{font-family:"Nothing You Could Do";font-display:swap;src:url(fonts/nothing-you-could-do-normal-cd209e12ba.woff2) format("woff2")}

:root{
--soot:#17130e;--wood:#302218;--ivory:#f0e3c9;--brass:#c2a16c;--red:#813b37;--line:#b99a624d;
--font-display:"Uncial Antiqua",Georgia,serif;
--font-reading:"Alegreya",Georgia,serif;
--font-sans:"Cinzel",Georgia,serif;
--font-type:"Special Elite","Courier New",monospace;
--font-hand:"Nothing You Could Do",cursive;
--hall:url(artwork/archive-hall-2e4b40559a.webp);
--grain:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.48 .09' numOctaves='3' stitchTiles='stitch' seed='8'/><feColorMatrix values='0 0 0 0 .55 0 0 0 0 .40 0 0 0 0 .23 0 0 0 .055 0'/></filter><path fill='%23876441' opacity='.05' d='M0 31h240v1H0zm0 107h240v1H0zm0 76h240v1H0z'/><path filter='url(%23g)' d='M0 0h240v240H0z'/></svg>");
--parchment:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' stitchTiles='stitch' seed='17'/><feColorMatrix values='0 0 0 0 .28 0 0 0 0 .17 0 0 0 0 .06 0 0 0 .12 0'/></filter><path filter='url(%23p)' d='M0 0h320v320H0z'/></svg>");
--knot:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='24' viewBox='0 0 180 24' fill='none' stroke='%23b59a62' stroke-width='1.2'><path d='M0 12h28L40 3l18 18L76 3l14 9 14-9 18 18 18-18 12 9h28M0 12h28l12 9L58 3l18 18 14-9 14 9 18-18 18 18 12-9h28'/><path d='m86 12 4-4 4 4-4 4z' fill='%23b59a62'/><path d='M8 7h12m-12 10h12m140-10h12m-12 10h12' opacity='.55'/></svg>");
--i-right:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>");
--i-left:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 12H5M12 19l-7-7 7-7'/></svg>");
--i-up-right:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7h10v10M7 17 17 7'/></svg>");
--i-down:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M19 12l-7 7-7-7'/></svg>");
--i-clock:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 6v6h4.5'/></svg>");
--i-play:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5.5v13l10.5-6.5z'/></svg>");
--i-pause:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 5h3.5v14H7zm6.5 0H17v14h-3.5z'/></svg>");
--i-bookmark:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/></svg>");
color-scheme:dark;
}

/* Base */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{line-height:1.5;scroll-behavior:smooth}
body{margin:0;background:var(--grain),var(--soot);color:var(--ivory);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
button:disabled{cursor:default;opacity:.32}
img{display:block;max-width:100%;height:auto}
figure,h1,h2,h3,p,ol{margin:0}
h1,h2{font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}
h3{font-family:var(--font-reading);font-weight:500}
:focus-visible{outline:2px solid var(--brass);outline-offset:6px}
::selection{background:#b59a6255}
.skip-link{position:fixed;z-index:100;top:10px;left:10px;padding:15px;background:#e5d8bc;color:#29251f;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.section-shell{max-width:1400px;margin:auto;padding-inline:7%}
.eyebrow{font-family:var(--font-sans);font-size:10px;line-height:1.65;font-weight:500;letter-spacing:.18em;color:#d3b67c}
.eyebrow .num{margin-right:17px;opacity:.8}
.emblem{display:inline-block;flex-shrink:0;width:42px;height:42px;background:var(--brass);-webkit-mask:url(logo/everpost-mark-2a901713cb.webp) center/contain no-repeat;mask:url(logo/everpost-mark-2a901713cb.webp) center/contain no-repeat}

/* Icons: a class on the link or button picks the glyph, drawn as a mask in the current text color. */
.go::after,.out::after,.back::before,.down::before,.meta-time::before,.resume-link::before,.reader-resume::before{content:"";flex:none;width:var(--is,16px);height:var(--is,16px);background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.go::after{--icon:var(--i-right)}
.out::after{--icon:var(--i-up-right)}
.back::before{--icon:var(--i-left)}
.down::before{--icon:var(--i-down)}
.meta-time::before{--icon:var(--i-clock)}
.resume-link::before,.reader-resume::before{--icon:var(--i-bookmark)}

/* Header */
.site-header{position:relative;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:28px;height:94px;padding:0 5.4%;background:var(--grain),linear-gradient(90deg,#19140e,#282016 50%,#19140e);border-bottom:3px double #a788505c;box-shadow:0 5px 25px #0005}
.brand{display:flex;align-items:center;gap:13px;font-family:var(--font-display);font-size:17px;letter-spacing:.03em;white-space:nowrap}
.brand-sub{display:block;margin-top:5px;font-family:var(--font-sans);font-size:6px;line-height:1.7;letter-spacing:.13em;color:#b7ae9c}
.desktop-nav{display:flex;gap:31px;font-size:11px;color:#d1c7b4}
.desktop-nav a{position:relative;padding:20px 0}
.desktop-nav a::after{content:"";position:absolute;left:0;right:0;bottom:12px;height:1px;background:var(--brass);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.desktop-nav a:hover::after{transform:scaleX(1)}
.header-latest{display:flex;align-items:center;gap:23px;padding:12px 0 12px 23px;border-left:1px solid var(--line);font-size:11px;color:var(--brass)}
.mobile-menu{display:none}

/* Buttons and links */
.button{--is:17px;display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:48px;padding:17px 22px;font-family:var(--font-sans);font-size:11px;letter-spacing:.025em;transition:background .2s,transform .2s}
.button:hover{transform:translateY(-2px)}
.button-primary{background:var(--grain),linear-gradient(#d0b47a,#b29257);color:#181b15;border:1px solid #dbc38b;box-shadow:inset 0 0 0 3px #533c3028,0 4px 12px #0004}
.button-primary:hover{background:#d3b77d}
.button-quiet{background:var(--grain),#24190dd9;border:1px solid #a78b58}
.button-quiet:hover{background:#302c2299}
.text-link{display:inline-flex;align-items:center;gap:18px;min-height:44px;font-family:var(--font-sans);font-size:11px;color:var(--brass)}
.text-link::after{transition:transform .2s}
.text-link:hover::after{transform:translate(3px,-2px)}

/* Hero: on desktop the section grows to 440vh and JS scrubs the frame sequence; --p is the scroll progress from 0 to 1. */
.entrance{position:relative}
.entrance-viewport{position:relative;overflow:hidden;height:calc(100svh - 94px);min-height:730px;max-height:1060px}
.entrance-viewport::after{content:"";position:absolute;inset:18px;z-index:4;pointer-events:none;border:1px solid #c2a16c45;outline:1px solid #c2a16c1c;outline-offset:5px}
.hero-art,.hero-canvas,.hero-shade{position:absolute;inset:0;pointer-events:none}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:right center}
.hero-canvas{display:none;z-index:1;width:100%;height:100%;opacity:0}
.hero-shade{z-index:2;background:linear-gradient(90deg,#11120ec9,#11120e44 52%,transparent 78%),linear-gradient(0deg,#17130e,transparent 22%)}
.hero-content{position:relative;z-index:3;max-width:1400px;margin:auto;padding:110px 7% 150px;pointer-events:none;opacity:clamp(0,(.29 - var(--p,0)) / .09,1)}
.hero-content a{pointer-events:auto}
.hero-content .eyebrow{display:flex;align-items:center;gap:12px;color:#d0b47c}
.status-light{width:5px;height:5px;border-radius:50%;background:var(--brass);box-shadow:0 0 0 4px #b59a6215}
.hero-content h1{margin:25px 0 17px;font-size:clamp(58px,6.8vw,98px);line-height:1.18;letter-spacing:-.04em;text-shadow:0 3px 2px #0008}
.hero-content h1 span{color:#c0a46a}
.hero-motto{font-family:var(--font-reading);font-size:clamp(34px,3.6vw,52px);line-height:1.13;letter-spacing:-.02em;color:#e8dec7}
.hero-motto em{font-size:1.05em;color:#c2aa7a}
.hero-description{margin-top:24px;font-family:var(--font-reading);font-size:19px;line-height:1.5;color:#e0d2b8}
.hero-actions{display:flex;gap:14px;margin-top:31px}
.hero-bottom{position:absolute;z-index:3;left:7%;right:7%;bottom:38px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.hero-bottom > a{--is:15px;display:flex;align-items:center;gap:12px;min-height:44px;font-size:9px;letter-spacing:.14em;color:#bfb59e}
.hero-strap{margin:0 114px 0 auto;font-size:9px;line-height:1.7;letter-spacing:.16em;text-align:right;color:#ab9c7c}
.hero-strap span{font-family:var(--font-reading);font-size:16px;letter-spacing:.01em;color:#ada58f}
.hero-postmark{position:absolute;right:0;bottom:-2px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:91px;height:91px;border:1px solid #b59a6266;border-radius:50%;outline:1px solid #b59a622b;outline-offset:5px;font-size:6px;line-height:.85;letter-spacing:.15em;color:#c0a974;transform:rotate(-14deg)}
.hero-postmark b{font-weight:400;font-size:15px;line-height:.2;letter-spacing:.02em}
.story-stage{display:none;position:absolute;z-index:3;left:7%;top:39%;max-width:650px;pointer-events:none}
.story-stage::before{content:"";position:absolute;inset:-36px -72px -40px -100vw;z-index:-1;background:linear-gradient(90deg,#100c08e0,#100c08c2 calc(100% - 220px),transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
.story-line{margin-top:18px;font-family:var(--font-display);font-size:clamp(38px,4.6vw,65px);line-height:1.25;letter-spacing:-.035em;color:var(--ivory)}
.story-line em{font-family:var(--font-reading);color:#c8ad76}
.story-route{--in:clamp(0,(var(--p,0) - .27) / .08,1);opacity:min(var(--in),clamp(0,(.71 - var(--p,0)) / .1,1));translate:0 calc(15px - 15px * var(--in))}
.story-ending{--in:clamp(0,(var(--p,0) - .69) / .11,1);opacity:var(--in);translate:0 calc(15px - 15px * var(--in))}
@media (min-width:900px){
  .entrance{height:440vh}
  .entrance-viewport{position:sticky;top:0;height:100svh;max-height:none}
  .hero-canvas,.story-stage{display:block}
}

/* Intro and chapter archive */
/* Pinned backgrounds: a fixed layer clipped to its section; background-attachment:fixed repaints on every scroll in Safari. */
.archive-wing,.personnel-wing,.reading-page main{position:relative;clip-path:inset(0)}
.archive-wing::before,.personnel-wing::before,.reading-page main::before{content:"";position:fixed;inset:0;z-index:-1;background:url(artwork/sorting-hall-138204a417.webp) center/cover}
.archive-wing::after,.personnel-wing::after,.reading-page main::after{content:"";position:absolute;inset:0;z-index:-1}
.archive-wing{border-bottom:3px double #b99a6248}
.archive-wing::after{background:linear-gradient(180deg,#17130ed0,#17130eb0 42%,#17130ed0 85%,#17130e)}
.intro-strip{display:flex;align-items:center;gap:45px;padding:50px max(7%,calc((100vw - 1204px) / 2)) 51px;background:var(--grain),linear-gradient(90deg,#261b12f5,#362619ee,#261b12f5);border-block:3px double #c2a16c60;box-shadow:0 8px 25px #0007}
.intro-strip .emblem{width:49px;height:49px;opacity:.68}
.intro-strip p{max-width:750px;font-family:var(--font-reading);font-size:20px;line-height:1.55;color:#ddcbae}
.intro-strip em{color:var(--brass)}
.intro-label{margin-left:auto;padding-left:35px;border-left:1px solid var(--line);font-size:8px;line-height:1.95;letter-spacing:.14em;white-space:nowrap;color:#c6b18b}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:45px}
.section-heading > div::before,.staff-intro::before,.chapter-label::before{content:"";display:block;width:156px;height:24px;margin-bottom:22px;background:var(--knot) center/contain no-repeat}
.section-heading h2{margin-top:18px;font-size:clamp(36px,3.6vw,52px);line-height:1.2;color:var(--ivory)}
.section-heading h2 em{font-family:var(--font-reading);font-size:1.12em;color:#d0b785}
.section-heading > p{max-width:360px;padding-bottom:5px;font-family:var(--font-reading);font-size:20px;line-height:1.5;color:#d7c8ab}
.brass-dot{color:var(--brass)}
.chapter-archive{padding-top:95px;padding-bottom:105px}
.resume-link{--is:15px;display:flex;align-items:center;gap:12px;margin:-15px 0 25px;padding:16px 18px;font-size:11px;color:var(--brass);background:#b59a6210;border:1px solid var(--line)}
.resume-link::after{margin-left:auto}
.resume-title{font-family:var(--font-reading);font-size:16px;font-style:italic;color:#d0c0a4}
.archive-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:start}
.latest-feature{display:block;background:var(--grain),linear-gradient(120deg,#342316f5,#21190ff5);border:1px solid #97733f;outline:1px solid #9e7a4044;outline-offset:5px;box-shadow:0 14px 45px #0008,inset 0 0 0 5px #b99a6210}
.latest-art{position:relative;overflow:hidden;aspect-ratio:1.91;margin:9px 9px 0;border:1px solid #a482494d}
.latest-art img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .5s}
.latest-feature:hover .latest-art img{transform:scale(1.03)}
.postal-label{position:absolute;left:20px;top:20px;display:flex;align-items:center;gap:22px;padding:10px 13px;background:var(--parchment),#e1c99c;border:1px solid #806038;box-shadow:0 2px 10px #0002;font-size:8px;letter-spacing:.11em;color:#473d2b}
.postal-label span{color:var(--red)}
.latest-copy{padding:28px 29px 30px}
.latest-copy .eyebrow{display:flex;justify-content:space-between;gap:12px}
.meta-time{--is:12px;display:inline-flex;align-items:center;gap:6px;font-size:8px;letter-spacing:.1em;color:#d3c29f}
.latest-copy h3{margin:14px 0;font-size:35px;line-height:1.12;letter-spacing:-.02em}
.latest-copy p{max-width:530px;font-family:var(--font-reading);font-size:19px;line-height:1.55;color:#d0c0a4}
.latest-copy .text-link{margin-top:12px}
.chronological-ledger{--line:#79552c55;--brass:#694921;position:relative;padding:28px 30px 24px;color:#352718;background:var(--parchment),radial-gradient(ellipse at 50% 30%,#f0ddb5,#cbb181);border:6px double #9b7b4a;outline:1px solid #d8bb8377;outline-offset:5px;box-shadow:inset 0 0 34px #69400b24,0 14px 45px #0008}
.chronological-ledger .eyebrow,.chronological-ledger .text-link{color:#64451f}
.ledger-header{display:flex;align-items:center;justify-content:space-between}
.ledger-header span:last-child,.chronological-ledger small{font-family:var(--font-reading);font-size:16px;color:#655034}
.ledger-note{margin:25px 0 26px;font-family:var(--font-reading);font-size:28px;line-height:1.2;color:#4a341f}
.chronological-ledger ol{padding:0;list-style:none}
.chronological-ledger li{border-top:1px solid var(--line)}
.chronological-ledger li:last-child{border-bottom:1px solid var(--line)}
.chronological-ledger li a{display:flex;align-items:center;gap:21px;padding:24px 0;transition:padding .2s}
.chronological-ledger li a:hover{padding-left:7px}
.chronological-ledger li a::after{--is:19px;margin-right:3px;color:var(--brass)}
.chronological-ledger li a > div{flex:1}
.ledger-number{align-self:flex-start;padding-top:1px;font-family:var(--font-reading);font-size:18px;color:#765936}
.chronological-ledger h3{margin:8px 0 6px;font-size:27px;line-height:1.1;color:#352718}
.new-tag{display:inline-block;margin-left:14px;padding:2px 5px;border:1px solid #8951426b;font-size:8px;line-height:1.4;letter-spacing:.06em;color:#6e2e25}
.ledger-start{margin-top:16px}
.archive-stamp{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100px;height:100px;margin:10px 0 0 auto;border:2px solid #854636;border-radius:50%;outline:1px solid #85463688;outline-offset:4px;text-align:center;color:#743b2d;opacity:.9;transform:rotate(-14deg)}
.archive-stamp span{font-size:6px;letter-spacing:.11em}
.archive-stamp b{font-weight:400;font-size:17px;line-height:1.1}

/* Route Book interlude */
.book-interlude{display:grid;grid-template-columns:1.05fr 1fr;min-height:470px;background:var(--grain),linear-gradient(110deg,#19170e,#332416,#1c160f);border-block:5px double #8b693b88}
.book-interlude-art{position:relative;min-height:470px;overflow:hidden}
.book-interlude-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:35% 50%}
.book-interlude-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 74%,#2d2115),linear-gradient(0deg,#1c160f99,transparent 36%)}
.book-interlude-copy{align-self:center;padding:64px 12% 55px 9%}
.book-interlude-copy h2{margin:20px 0;font-size:clamp(29px,3vw,41px);line-height:1.28}
.book-interlude-copy h2 em{font-family:var(--font-reading);color:var(--brass)}
.book-interlude-copy p:not(.eyebrow){max-width:400px;font-family:var(--font-reading);font-size:20px;line-height:1.5;color:#c9b999}
.book-interlude-copy .text-link{margin-top:14px}

/* Task force and staff */
.personnel-wing{border-bottom:3px double #b99a6255}
.personnel-wing::before{background-image:url(artwork/staff-corridor-18fdec382c.webp)}
.personnel-wing::after{background:linear-gradient(180deg,#19150ec0,#19150eb0 58%,#20170ef5)}
.personnel{padding-top:95px;padding-bottom:55px}
.dossiers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.dossier{display:flex;flex-direction:column;min-width:0}
.portrait-wrap{position:relative;flex-shrink:0;overflow:hidden;aspect-ratio:.74;background:var(--wood);border:4px double #b59154;border-radius:48% 48% 2px 2px/20% 20% 2px 2px;box-shadow:0 9px 22px #0009}
.portrait-wrap img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;filter:saturate(.88);transition:filter .4s,transform .4s}
.dossier:hover .portrait-wrap img{filter:saturate(1);transform:scale(1.035)}
.portrait-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px #b59a623d;background:linear-gradient(0deg,#0d140cd9,transparent 22%)}
.dossier-number{position:absolute;z-index:1;left:13px;bottom:13px;font-size:7px;letter-spacing:.16em;color:#dfd1b5}
.dossier-copy{flex:1;min-height:310px;margin-top:10px;padding:23px 14px 25px;background:var(--grain),#21170fec;border:1px solid #a4824944;box-shadow:inset 0 0 0 4px #b59a6209}
.dossier-copy h3{min-height:56px;font-size:27px;line-height:1.08;letter-spacing:-.025em;color:#eedabc}
.dossier-role{min-height:40px;margin:10px 0;font-family:var(--font-reading);font-size:14px;line-height:1.35;color:#d0b278}
.dossier-bio{font-family:var(--font-reading);font-size:18px;line-height:1.5;color:#d0c0a5}
.personnel-footnote{display:flex;justify-content:space-between;gap:20px;margin-top:28px;padding-top:26px;border-top:1px solid var(--line);font-size:8px;letter-spacing:.11em;color:#d1b681}
.personnel-footnote span:last-child{font-family:var(--font-reading);font-size:17px;font-style:italic;letter-spacing:0;color:#d1bf9f}
.staff-section{display:grid;grid-template-columns:.72fr 1.5fr;gap:65px;padding-top:42px;padding-bottom:90px}
.staff-intro h2{margin:18px 0;font-size:38px;line-height:1.25}
.staff-intro p:last-child{font-family:var(--font-reading);font-size:20px;line-height:1.4;color:#d1bea0}
.staff-directory{padding:34px 35px;color:#382919;background:var(--parchment),linear-gradient(110deg,#dbc397,#efddb4 48%,#d2b787);border:6px double #937041;outline:1px solid #caab714f;outline-offset:5px;box-shadow:0 15px 40px #0008}
.staff-entry{display:grid;grid-template-columns:96px 1fr;gap:25px;align-items:center;padding:23px 0;border-top:1px solid #72512b44}
.staff-entry:first-child{padding-top:0;border-top:0}
.staff-entry img{width:96px;height:116px;padding:3px;object-fit:cover;filter:saturate(.7);border:3px double #896638;box-shadow:2px 3px 6px #40281340}
.staff-entry .eyebrow{font-size:9px;letter-spacing:.12em;color:#745125}
.staff-entry h3{margin:7px 0;font-size:29px;line-height:1.2;color:#352718}
.staff-entry p:last-child{font-family:var(--font-reading);font-size:19px;line-height:1.5;color:#59432b}

/* Realms */
.realms-section{--brass:#72542b;--line:#80613766;padding:92px max(7%,calc((100vw - 1204px) / 2)) 85px;color:#372b1a;background:var(--parchment),radial-gradient(ellipse at 50% 25%,#eddeb9,#c5a671);border-block:6px double #8c6939;box-shadow:inset 0 0 80px #5d390d33}
.realms-section .eyebrow{color:#715025}
.realms-section .section-heading h2{color:#3d2c1b}
.realms-section .section-heading h2 em{color:#795733}
.realms-section .section-heading > p{color:#5e462a}
.realm-map{padding:8px;background:var(--grain),#372918;border:7px double #a0824b;box-shadow:0 18px 35px #40270844}
.realm-map img{width:100%;filter:saturate(.9)}
.realm-caption{display:grid;grid-template-columns:1fr .4fr 1fr;gap:20px;padding-top:28px}
.realm-caption h3{margin:7px 0 9px;font-size:28px;line-height:1.1;color:#402d17}
.realm-caption p:last-child{font-family:var(--font-reading);font-size:18px;line-height:1.45;color:#5e462a}
.realm-route{display:flex;align-items:center;gap:12px;font-size:12px;color:#795427}
.realm-route::before,.realm-route::after{content:"";flex:1;border-top:1px dashed currentColor}

/* Soundtrack */
.soundtrack{max-width:none;padding:92px max(7%,calc((100vw - 1204px) / 2)) 95px;background:var(--grain),linear-gradient(110deg,#19170e,#2a1f14 50%,#1c160f);border-bottom:3px double #b99a6248}
.soundtrack-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
.album{padding:8px;background:var(--grain),#372918;border:7px double #a0824b;box-shadow:0 18px 35px #0008}
.album img{width:100%}
.tracklist ol{padding:0;list-style:none}
.track{display:flex;align-items:center;gap:18px;padding:14px 0;border-top:1px solid var(--line)}
.track:last-child{border-bottom:1px solid var(--line)}
.track-play{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #a78b58;border-radius:50%;color:var(--brass);transition:background .2s,color .2s}
.track-play::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-play) center/contain no-repeat;mask:var(--i-play) center/contain no-repeat}
.track-play:hover,.track.playing .track-play{background:#b99b60;color:#181b15}
.track.playing .track-play::before{-webkit-mask-image:var(--i-pause);mask-image:var(--i-pause)}
.track-info{flex:1;min-width:0}
.track-title{display:block;font-family:var(--font-reading);font-size:22px;font-weight:500;line-height:1.2}
.track-number{margin-right:12px;font-size:16px;font-weight:400;color:#a89b80}
.track-chapter{display:inline-block;margin-top:4px;font-family:var(--font-sans);font-size:9px;font-weight:500;letter-spacing:.12em;color:#a89b80}
.track-chapter:hover{color:var(--brass)}
.track-bar{display:none;height:15px;padding:6px 0;margin-top:2px;cursor:pointer;background:var(--line) content-box}
.track-bar span{display:block;height:100%;background:var(--brass);transform:scaleX(var(--progress,0));transform-origin:left}
.track.active .track-bar{display:block}
.track.active .track-title{color:var(--brass)}
.track-time{flex:none;font-family:var(--font-reading);font-size:16px;color:#a89b80}
.track-elapsed{display:none}
.track.active .track-elapsed{display:inline}
.track.active .track-elapsed::after{content:" / "}
@media (max-width:899px){
  .soundtrack-layout{grid-template-columns:1fr;gap:32px}
  .album{max-width:360px}
}
@media (max-width:540px){
  .soundtrack{padding:55px 6% 60px}
  .track{gap:14px}
  .track-title{font-size:19px}
}

/* Closing and footer */
.closing-letter{position:relative;overflow:hidden;padding:90px 24px;text-align:center;background:linear-gradient(90deg,#19150eaa,#19150e88,#19150eaa),var(--hall) center 55%/cover}
.closing-letter::before{content:"";position:absolute;inset:22px;border:3px double #b99a6255;pointer-events:none}
.closing-letter .emblem{width:48px;height:48px;opacity:.75}
.closing-letter .eyebrow{margin-top:21px;font-size:9px}
.closing-letter h1,.closing-letter h2{margin:17px 0 5px;font-size:clamp(34px,4vw,56px);line-height:1.25;letter-spacing:-.02em}
.closing-letter p:not(.eyebrow){font-family:var(--font-reading);font-size:23px;font-style:italic;color:#d5c4a3}
.closing-letter .button{position:relative;z-index:1;margin-top:29px}
.lost-letter{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70svh}
.postal-footer{display:flex;justify-content:space-between;align-items:center;gap:35px;padding:48px max(7%,calc((100vw - 1204px) / 2));background:var(--grain),linear-gradient(90deg,#1c150e,#302216,#1c150e);border-top:3px double #9b784844}
.footer-brand{display:flex;align-items:center;gap:17px}
.footer-brand .emblem{width:43px;height:43px;opacity:.75}
.footer-motto{margin-top:5px;font-family:var(--font-reading);font-size:18px;font-style:italic;color:#bdb09a}
.postal-footer nav{display:flex;flex-wrap:wrap;gap:25px;font-size:10px;color:#d3bd96}
.postal-footer nav a{padding:10px 0}

/* Chapter reader: paper in light mode, dark ink in dark mode. */
.reading-page main{padding:40px 5%}
.reading-page main::after{background:#17130eb0}
.chapter-reader{--reader-bg:#e5d8bc;--reader-ink:#29251f;--reader-muted:#665e4d;--reader-line:#9c8d6c5e;--reader-accent:#704733;--reader-hand:#4b2a78;--reader-texture:var(--parchment);--reader-glow:#fff0cc33;position:relative;max-width:1080px;min-height:100vh;margin:auto;padding-bottom:70px;color:var(--reader-ink);background:var(--reader-texture),radial-gradient(ellipse at 50% 0,var(--reader-glow),transparent 65%),var(--reader-bg);border:7px double #a38450;box-shadow:0 15px 70px #0009;color-scheme:light}
@media (prefers-color-scheme:dark){
  .chapter-reader{--reader-bg:#211d15;--reader-ink:#ddd4c2;--reader-muted:#b7ae9c;--reader-line:#b59a624d;--reader-accent:#c6aa72;--reader-hand:#b8a2dc;--reader-texture:var(--grain);--reader-glow:transparent;color-scheme:dark}
}
.chapter-reader::after{content:"";position:absolute;inset:17px;border-inline:1px solid var(--reader-line);pointer-events:none}
.chapter-reader::before{content:"";display:none;position:fixed;z-index:40;top:0;left:0;right:0;height:3px;background:var(--brass);transform-origin:left;pointer-events:none}
@supports (animation-timeline:scroll()){
  .chapter-reader::before{display:block;animation:read linear both;animation-timeline:scroll(root)}
  @keyframes read{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}
.reader-resume{--is:16px;display:flex;align-items:center;justify-content:center;gap:12px;max-width:900px;margin:24px auto 0;padding:14px 22px;font-size:11px;border-block:1px solid var(--reader-line)}
.reader-resume button{padding:10px;color:var(--reader-accent);text-decoration:underline;text-underline-offset:4px}
.chapter-heading{max-width:1000px;margin:auto;padding:49px 45px 45px;text-align:center}
.chapter-heading .text-link{--is:15px;margin-bottom:33px;font-size:10px;color:var(--reader-muted)}
.chapter-heading .eyebrow{color:var(--reader-accent)}
.chapter-label::before{margin:0 auto 24px}
.chapter-heading h1{max-width:760px;margin:24px auto;font-size:clamp(34px,4.6vw,58px);line-height:1.2;text-wrap:balance}
.chapter-meta{display:flex;justify-content:center;gap:16px;margin-top:24px;font-size:11px;color:var(--reader-muted)}
.chapter-cover{max-width:960px;margin:0 auto 60px;padding:0 30px}
.chapter-cover img{width:100%;aspect-ratio:1.85;object-fit:cover;border:1px solid var(--reader-line)}

/* Chapter text */
.prose{max-width:calc(29em + 60px);margin:auto;padding:0 30px;font-family:var(--font-reading);font-size:clamp(1.125rem,1rem + .4vw,1.25rem);line-height:1.65;font-kerning:normal;overflow-wrap:break-word}
.prose p{margin:0 0 1.15em;text-wrap:pretty}
.prose .dropcap{float:left;margin:4px 12px 2px 0;padding:3px 8px;font-family:var(--font-display);font-size:3.5em;line-height:1;color:var(--reader-accent);border:3px double var(--reader-accent)}
.prose .opener{font-variant:small-caps;letter-spacing:.03em}
.prose .scene{margin:2.2em -55px}
.prose .scene img{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--reader-line)}
.prose .scene-break{width:26px;height:26px;margin:2.1em auto;border:0;background:var(--reader-accent);-webkit-mask:url(logo/everpost-mark-2a901713cb.webp) center/contain no-repeat;mask:url(logo/everpost-mark-2a901713cb.webp) center/contain no-repeat}
.book-page{max-width:480px;margin:2.7em auto}
.book-page .page{display:flex;flex-direction:column;gap:16px;padding:39px 36px;color:#353024;background:var(--parchment),#eee0bb;border:4px double #ab8e55;box-shadow:4px 6px 0 #00000009;font:400 max(16px,.8em)/1.65 var(--font-type);hyphens:none}
.book-page .tilt-a{transform:rotate(-.8deg)}
.book-page .tilt-b{transform:rotate(.6deg)}
.book-page .title{padding-bottom:16px;border-bottom:1px solid #a7987829;font-size:1.1em;letter-spacing:.13em}
.book-page .para{display:flex;flex-direction:column}
.book-page .small{width:70%;margin-top:8px;padding-top:15px;border-top:1px solid #7d7156;font-size:.85em}
.prose .hand{padding:24px 30px;font:400 1.1em/1.5 var(--font-hand);color:var(--reader-hand);background:#b59a6217;border-left:2px solid var(--reader-line)}
.chapter-end{max-width:960px;margin:55px auto 0;padding:0 45px;text-align:center}
.chapter-navigation{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:35px;border-block:1px solid var(--reader-line)}
.chapter-navigation a{--is:18px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0;font-family:var(--font-reading);font-size:23px;line-height:1.2;text-align:left}
.chapter-navigation a + a{padding-left:30px;border-left:1px solid var(--reader-line)}
.chapter-navigation a::before,.chapter-navigation a::after{color:var(--reader-accent)}
.chapter-navigation small{display:block;margin-bottom:9px;font-family:var(--font-sans);font-size:8px;letter-spacing:.12em;color:var(--reader-muted)}

@media (min-width:1500px){
  .section-shell{padding-inline:90px}
}
@media (max-width:1100px){
  .site-header{gap:18px;padding-inline:5%}
  .desktop-nav{gap:18px;font-size:10px}
  .brand{font-size:15px}
  .brand .emblem{width:35px;height:35px}
  .header-latest{gap:12px;padding-left:15px}
  .hero-content{padding-top:100px}
  .intro-strip{gap:25px}
  .intro-strip p{font-size:18px}
  .intro-label{padding-left:25px}
  .archive-layout{gap:35px}
  .chronological-ledger{padding:26px 25px}
  .dossiers{gap:14px}
  .dossier-copy{padding-inline:11px}
  .dossier-copy h3{font-size:24px}
  .dossier-bio{font-size:17px}
  .staff-section{gap:35px}
  .postal-footer nav{gap:15px}
}
@media (max-width:899px){
  :root{--hall:url(artwork/archive-hall-mobile-bc431586a7.webp)}
  .section-shell{padding-inline:6%}
  .site-header{height:80px;padding:0 6%}
  .desktop-nav{display:none}
  .brand{font-size:16px}
  .header-latest{margin-left:auto;padding-left:0;border:0;font-size:10px}
  .mobile-menu{display:block;position:relative}
  .mobile-menu summary{display:flex;flex-direction:column;gap:6px;padding:14px 0 14px 12px;list-style:none}
  .mobile-menu summary::-webkit-details-marker{display:none}
  .mobile-menu summary span{width:21px;height:1px;background:var(--ivory)}
  .mobile-menu nav{position:absolute;right:0;top:44px;width:245px;padding:14px;background:var(--grain),#2c2015;border:1px solid var(--line);box-shadow:0 20px 30px #0005}
  .mobile-menu nav a{display:block;padding:15px;font-size:12px}
  .entrance-viewport{height:calc(100svh - 80px);min-height:650px;max-height:920px}
  .hero-art img{object-position:63% 50%}
  .hero-content{padding:88px 6% 160px}
  .hero-content h1{font-size:clamp(49px,7.4vw,66px)}
  .hero-bottom{left:6%;right:6%;bottom:27px}
  .hero-strap{display:none}
  .hero-postmark{right:10px;bottom:7px;width:75px;height:75px;font-size:5px}
  .hero-postmark b{font-size:13px}
  .intro-strip{gap:26px;padding-block:36px}
  .intro-strip .emblem{width:39px;height:39px}
  .intro-label{display:none}
  .section-heading{gap:25px;margin-bottom:32px}
  .section-heading h2{font-size:39px}
  .section-heading > p{max-width:210px}
  .archive-layout{grid-template-columns:1fr}
  .latest-art{aspect-ratio:2}
  .ledger-note{margin:18px 0 24px}
  .ledger-note br{display:none}
  .ledger-start{max-width:70%;font-size:10px}
  .archive-stamp{width:80px;height:80px;margin-top:18px}
  .archive-stamp span{font-size:4px}
  .archive-stamp b{font-size:14px}
  .book-interlude{min-height:390px}
  .book-interlude-art{min-height:390px}
  .book-interlude-copy{padding:40px 10% 40px 6%}
  .dossiers{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}
  .dossier-copy,.dossier-copy h3{min-height:0}
  .staff-section{grid-template-columns:1fr}
  .staff-intro h2{font-size:31px}
  .staff-intro br{display:none}
  .staff-directory{padding:27px 24px}
  .staff-entry{grid-template-columns:72px 1fr;gap:18px;align-items:start}
  .staff-entry img{width:72px;height:90px}
  .realm-caption{grid-template-columns:1fr 1fr;gap:25px}
  .realm-route{display:none}
  .postal-footer{align-items:flex-start;padding-block:36px}
  .postal-footer nav{flex-direction:column;gap:4px;text-align:right}
  .reading-page main{padding:24px 3%}
  .prose .scene{margin-inline:-15px}
}
@media (max-width:899px) and (orientation:portrait){
  .entrance-viewport{min-height:710px;max-height:1000px}
  .hero-art img{object-position:center bottom}
  .hero-shade{background:linear-gradient(180deg,#0b0d0899,#0b0d0877 36%,#0b0d0870 48%,transparent 62%,transparent 83%,#17130eaa)}
  .hero-content{padding:55px 8% 0;text-align:center}
  .hero-content .eyebrow,.hero-actions{justify-content:center}
  .hero-content h1{margin:22px 0 16px}
  .hero-motto{font-size:33px;line-height:1.12}
  .hero-motto br{display:none}
  .hero-description{max-width:390px;margin:16px auto 0}
  .hero-actions{margin-top:22px}
  .hero-bottom{bottom:25px}
  .hero-bottom > a{padding:6px 14px;background:#20180fe0;border:1px solid #b99a6277;color:#e6d6b7}
  .hero-postmark{display:none}
}
@media (max-width:540px){
  .site-header{height:72px}
  .brand{gap:10px;font-size:15px}
  .brand .emblem{width:33px;height:33px}
  .brand-sub{font-size:5.5px}
  .header-latest{display:none}
  .mobile-menu{margin-left:auto}
  .mobile-menu summary{align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px}
  .entrance-viewport{height:calc(100svh - 72px);min-height:660px;max-height:900px}
  .entrance-viewport::after{inset:9px;outline-offset:3px}
  .hero-content{padding:37px 7% 0}
  .hero-content .eyebrow{gap:8px;font-size:8px;letter-spacing:.1em}
  .hero-content h1{margin:19px 0 17px;font-size:clamp(35px,10.65vw,48px);letter-spacing:-.035em;white-space:nowrap}
  .hero-motto{max-width:280px;margin:auto;font-size:27px}
  .hero-motto br{display:block}
  .hero-description{max-width:320px;margin-top:15px;font-size:17px;line-height:1.35;color:#dfceb0}
  .hero-actions{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}
  .hero-actions .button{gap:0;padding:11px 8px;font-family:var(--font-reading);font-size:15px;white-space:nowrap}
  .hero-actions .button::after{display:none}
  .hero-actions .button-quiet{background:var(--grain),#24190df2}
  .hero-bottom{left:7%;right:7%;bottom:18px}
  .hero-bottom > a{font-size:8px}
  .intro-strip{align-items:flex-start;gap:18px;padding:30px 7%}
  .intro-strip .emblem{width:28px;height:28px;margin-top:6px}
  .section-heading{flex-direction:column;align-items:flex-start;gap:20px}
  .section-heading > div::before,.staff-intro::before{width:130px;margin-bottom:17px}
  .section-heading .eyebrow{font-size:9px}
  .section-heading h2{font-size:32px;line-height:1.22}
  .section-heading > p{max-width:100%;font-size:19px}
  .section-heading > p br{display:none}
  .chapter-archive{padding-top:59px;padding-bottom:63px}
  .latest-art{aspect-ratio:1.62}
  .postal-label{left:14px;top:14px;padding:8px 10px;font-size:7px}
  .latest-copy{padding:22px 20px}
  .latest-copy .eyebrow{font-size:9px;letter-spacing:.12em}
  .latest-copy h3{font-size:30px}
  .meta-time{font-size:7px}
  .chronological-ledger{padding:24px 21px;border-width:5px}
  .chronological-ledger li a{gap:16px;padding:22px 0}
  .chronological-ledger h3{font-size:25px}
  .ledger-number{font-size:17px}
  .ledger-start{gap:9px;max-width:100%}
  .archive-stamp{margin-right:4px}
  .book-interlude{grid-template-columns:1fr}
  .book-interlude-art{min-height:310px;height:310px}
  .book-interlude-art::after{background:linear-gradient(0deg,#2b2014,transparent 40%)}
  .book-interlude-copy{padding:24px 8% 45px}
  .book-interlude-copy h2{line-height:1.3}
  .book-interlude-copy p:not(.eyebrow){font-size:19px}
  .personnel{padding-top:59px}
  .dossiers{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
  .dossier{display:block}
  .dossier-copy{padding:18px 11px}
  .dossier-role{min-height:0;font-size:13px}
  .dossier-bio{line-height:1.45}
  .dossier-number{left:10px;bottom:10px;font-size:6px}
  .personnel-footnote{flex-direction:column;gap:9px;line-height:1.6}
  .staff-section{padding-top:16px;padding-bottom:65px}
  .staff-directory{padding:26px 18px;border-width:5px}
  .staff-entry{grid-template-columns:66px 1fr;gap:16px;padding:24px 0}
  .staff-entry img{width:66px;height:86px}
  .staff-entry .eyebrow{font-size:8px}
  .staff-entry h3{font-size:25px}
  .staff-entry p:last-child{font-size:18px}
  .realms-section{padding:55px 6% 50px}
  .realm-map{padding:5px;border-width:5px}
  .realm-caption{gap:22px;padding-top:23px}
  .realm-caption .eyebrow{font-size:9px}
  .realm-caption h3{font-size:23px}
  .realm-caption p:last-child{font-size:17px;line-height:1.5}
  .closing-letter{padding:65px 8%}
  .closing-letter::before{inset:12px}
  .closing-letter h1,.closing-letter h2{font-size:32px}
  .closing-letter p:not(.eyebrow){font-size:22px}
  .postal-footer{flex-direction:column;gap:24px;padding:32px 7%}
  .postal-footer nav{flex-direction:row;gap:18px;font-size:9px;text-align:left}
  .footer-brand .eyebrow{font-size:9px}
  .reading-page main{padding:12px 0}
  .chapter-reader{border-width:3px}
  .chapter-reader::after{display:none}
  .reader-resume{gap:7px;padding:10px;font-size:10px}
  .reader-resume button{padding:10px 4px}
  .chapter-heading{padding:24px 7% 29px}
  .chapter-heading .text-link{margin-bottom:26px}
  .chapter-label{font-size:8px;letter-spacing:.12em}
  .chapter-heading h1{font-size:33px;line-height:1.25}
  .chapter-meta{gap:12px;margin-top:20px;font-size:10px}
  .chapter-cover{margin-bottom:38px;padding:0 13px}
  .chapter-cover img{aspect-ratio:1.5}
  .prose{padding-inline:20px;line-height:1.6;hyphens:auto}
  .prose .scene{margin:1.9em 0}
  .book-page .page{padding:29px 22px}
  .prose .hand{padding:20px}
  .chapter-end{margin-top:35px;padding-inline:8%}
  .chapter-navigation{grid-template-columns:1fr;gap:0;margin-top:30px}
  .chapter-navigation a{padding:24px 0;font-size:22px}
  .chapter-navigation a + a{padding-left:0;border-left:0;border-top:1px solid var(--reader-line)}
}
@media print{
  .site-header,.reader-resume,.chapter-navigation,.postal-footer,.chapter-reader::before,.chapter-reader::after{display:none!important}
  .reading-page main{padding:0;clip-path:none}
  .reading-page main::before,.reading-page main::after{display:none}
  .chapter-reader{border:0;box-shadow:none;background:#fff;color:#000}
  .prose{max-width:none;font-size:12pt;line-height:1.5}
  .prose .scene{break-inside:avoid}
}
