@font-face{font-family:Onest;src:url('assets/Onest.woff') format('woff');font-style:normal;font-weight:100 900;font-display:swap}
:root{--font:Onest,"Helvetica Neue",Arial,sans-serif}
.hero-copy h1,.chapter-cover h1{font-weight:420;letter-spacing:-.081em}
.display{font-weight:420}
.chapter-portal{position:relative;display:grid;align-items:center;min-height:clamp(650px,86svh,950px);isolation:isolate;overflow:hidden;background:#27221d;color:#f8f2e9}
.portal-stage,.portal-shot,.portal-shot img,.portal-shade{position:absolute;inset:0;width:100%;height:100%}
.portal-stage{overflow:hidden}
.portal-shot{z-index:0;opacity:0}
.portal-shot.active{z-index:2;opacity:1}
.portal-shot.outgoing{z-index:1;opacity:1}
.portal-shot.reveal-frame{animation:portal-open .79s cubic-bezier(.19,.62,.27,1) both}
.portal-shot.reveal-frame img{animation:portal-focus 1.18s cubic-bezier(.2,.6,.25,1) both}
.portal-shot img{object-fit:cover}
@keyframes portal-open{from{clip-path:inset(0 0 0 100%);opacity:.84}to{clip-path:inset(0);opacity:1}}
@keyframes portal-focus{from{transform:scale(1.055)}to{transform:none}}
.portal-shade{z-index:3;pointer-events:none;background:linear-gradient(90deg,#1d1814ed 0%,#201a16a6 35%,#251e1961 52%,transparent 84%),linear-gradient(0deg,#18141079,transparent 34%)}
.portal-ui{position:relative;z-index:4;padding:clamp(80px,11vw,160px) var(--g);width:min(850px,100%)}
.portal-ui .flag{color:#e0caba;margin:0 0 clamp(24px,4.2vw,68px);font-size:.77rem;letter-spacing:.21em}
.chapter-walk{display:grid;align-items:start;gap:0;min-width:0}
.chapter-walk a{position:relative;display:flex;align-items:center;gap:clamp(13px,3vw,49px);min-height:1.32em;width:max-content;max-width:100%;padding:.08em .06em .14em 0;letter-spacing:-.078em;font-weight:350;font-size:clamp(3.2rem,7.15vw,8.35rem);line-height:1.05;color:#f0e5d7a8;transition:color .36s var(--ease),transform .42s var(--ease)}
.chapter-walk a i{width:clamp(18px,4.1vw,65px);height:1px;background:#dbae85;opacity:0;transform-origin:left;transform:scaleX(.18);transition:transform .48s var(--ease),opacity .38s;flex:none}
.chapter-walk a.active,.chapter-walk a:is(:hover,:focus-visible){color:#fff7ec;transform:translateX(clamp(.15rem,1vw,.85rem))}
.chapter-walk a.active i,.chapter-walk a:is(:hover,:focus-visible) i{transform:scaleX(1);opacity:1}
.portal-caption{position:absolute;z-index:4;right:var(--g);bottom:clamp(25px,6vh,65px);display:flex;align-items:center;gap:.85rem;max-width:39ch;color:#fff4e8;font-size:.88rem}
.portal-caption span{width:24px;height:1px;display:inline-block;background:currentColor;opacity:.7}
.portal-caption p{margin:0}
.portal-caption.changed{animation:caption-in .55s var(--ease) both}
@keyframes caption-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(max-width:650px){.hero-copy h1,.chapter-cover h1{letter-spacing:-.067em}.chapter-portal{min-height:clamp(560px,79svh,720px);align-items:end}.portal-ui{padding:60px var(--g) 100px}.portal-ui .flag{margin-bottom:1.35rem}.chapter-walk a{font-size:clamp(2.65rem,11.4vw,4.5rem);min-height:1.25em}.portal-shade{background:linear-gradient(0deg,#1a1510ef 0%,#201815a7 46%,#251b1548 68%,transparent),linear-gradient(90deg,#23181531,transparent)}.portal-caption{left:var(--g);right:var(--g);bottom:1.7rem;font-size:.75rem}.portal-caption span{width:14px}}
@media(prefers-reduced-motion:reduce){.portal-shot.reveal-frame,.portal-shot.reveal-frame img,.portal-caption.changed{animation:none}.chapter-walk a,.chapter-walk a i{transition:none}}
