/* Home chapters use the same system as every inner page. */
.page-home main { overflow-x:clip; }
.studio-hero,.workshop { position:relative; isolation:isolate; overflow:hidden; color:#fff; background:#213749; }
.studio-hero { height:100svh; min-height:740px; max-height:1200px; --pointer-x:0px; --pointer-y:0px; }
.studio-landscape,.workshop__image { position:absolute; inset:-3%; z-index:-3; }
.studio-cabin { position:absolute; width:61%; aspect-ratio:1600/666; left:33%; bottom:8%; z-index:-1; transform:translate3d(var(--pointer-x),calc(var(--pointer-y) + var(--scene-y) * .2),0); transition:transform .65s var(--ease); }
.studio-cabin img { object-fit:contain; }
.studio-hero__copy { width:70%; margin:auto; padding-top:clamp(160px,18vh,210px); }
.studio-hero .eyebrow,.workshop .eyebrow,.closing-section .eyebrow { color:#dce6ef; }
.studio-hero h1 { margin:0; font-size:clamp(64px,6.8vw,110px); font-weight:350; letter-spacing:-.055em; line-height:1.2; text-shadow:0 2px 20px #12283f33; }
.studio-hero h1 br { display:none; }
.studio-hero__intro { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:26px; max-width:980px; }
.studio-hero__intro p { color:#fff; font-size:14px; line-height:1.8; text-shadow:0 1px 12px #142938; }
.studio-hero__copy>.eyebrow { animation:scene-enter .8s var(--ease) both; }
.studio-hero h1 { animation:scene-enter 1s .12s var(--ease) both; }
.studio-hero__intro { animation:scene-enter 1s .3s var(--ease) both; }
.studio-hero .glass,.workshop .glass,.closing-section .glass { --glass-bg:rgba(15,30,47,.65); --glass-edge:#e1eaf13d; color:#fff; }
.scene-footer { position:absolute; bottom:28px; left:6%; right:6%; display:flex; justify-content:space-between; align-items:center; font-size:10px; letter-spacing:.07em; color:#dce5eb; }
.scene-footer a { color:inherit; text-underline-offset:6px; }
.workshop { min-height:900px; display:flex; align-items:center; padding:90px max(6vw,24px); scroll-margin-top:0; }
.workshop__image { transition:filter .6s; }
.workshop::after { content:''; position:absolute; inset:0; background:#07182726; z-index:-2; }
.workshop__content { width:min(1240px,100%); margin:auto; }
.workshop .chapter-heading { max-width:650px; margin-bottom:32px; }
.workshop .chapter-heading>p:not(.eyebrow) { color:#d2dfe8; }
.workshop h2 { font-size:clamp(34px,4vw,58px); }
.project-deck { width:min(610px,52%); }
.project-controls { display:flex; gap:16px; border-bottom:1px solid #ffffff44; margin-bottom:20px; }
.project-controls button { display:flex; align-items:center; gap:9px; flex:1; border:0; border-bottom:2px solid transparent; background:none; color:#c5d3df; padding:13px 0; cursor:pointer; text-align:left; font-size:11px; transition:color .3s,border-color .3s; }
.project-controls button>span { font-size:10px; opacity:.6; }
.project-controls button[aria-selected="true"] { color:#fff; border-bottom-color:#efc298; }
.project-panel { padding:30px; border-radius:var(--radius); min-height:310px; }
.project-panel h3 { font-size:26px; font-weight:450; line-height:1.45; margin:0 0 18px; }
.project-panel>.eyebrow { margin-bottom:15px; font-size:9px; }
.project-panel>p:not(.eyebrow) { font-size:13px; line-height:1.9; color:#d0dce7; min-height:76px; margin:0 0 20px; }
.project-panel a { color:#f0d0ae; }
.project-deck.is-ready .project-panel:not([hidden]) { animation:project-enter .5s var(--ease); }
.project-deck:not(.is-ready) .project-controls { display:none; }
.project-deck:not(.is-ready) .project-panel { margin-bottom:16px; }
.journal-section { padding-block:110px; display:grid; grid-template-columns:1fr 2fr; gap:80px; scroll-margin-top:100px; }
.journal-section>.chapter-heading { position:sticky; top:145px; align-self:start; }
.studio-journal-entry { padding:0 0 30px; margin:0 0 30px; border-bottom:1px solid var(--border); }
.studio-journal-entry__meta { display:flex; align-items:center; gap:16px; color:var(--text-muted); font-size:10px; }
.studio-journal-entry__meta>span:first-child { font-size:17px; font-weight:300; margin-right:auto; }
.studio-journal-entry h3 { font-size:23px; font-weight:450; line-height:1.55; margin:18px 0 14px; transition:translate .3s; }
.studio-journal-entry h3 a { text-decoration:none; }
.studio-journal-entry:hover h3 { translate:6px 0; }
.studio-journal-entry>p { font-size:13px; line-height:1.9; color:var(--text-secondary); margin:0 0 18px; }
.studio-journal-entry__time { font-size:10px; color:var(--text-muted); }
.field-section { padding:80px 0; background:var(--bg-deep); scroll-margin-top:100px; }
.field-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:40px; }
.field-heading .chapter-heading>p:last-child { margin:0; }
.field-heading>.studio-link { flex:none; margin-bottom:4px; }
.filmstrip { display:flex; gap:24px; overflow-x:auto; padding:0 max(6vw,20px) 20px; scroll-snap-type:x mandatory; scroll-padding-inline:max(6vw,20px); scrollbar-width:thin; scrollbar-color:var(--text-muted) transparent; }
.film-frame { position:relative; flex:0 0 54vw; max-width:820px; height:520px; border-radius:var(--radius); overflow:hidden; scroll-snap-align:start; color:white; text-decoration:none; isolation:isolate; }
.film-frame img { width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.film-frame:hover img { transform:scale(1.04); }
.film-frame>div { position:absolute; left:24px; right:24px; bottom:24px; background:#0d223cab; backdrop-filter:blur(14px); padding:18px 22px; border:1px solid #ffffff26; border-radius:12px; }
.film-frame span { font-size:10px; opacity:.8; } .film-frame h3 { font-size:23px; font-weight:450; margin:4px 0; } .film-frame p { font-size:11px; margin:0; }
.film-controls { display:flex; align-items:center; justify-content:space-between; padding-top:24px; font-size:12px; color:var(--text-muted); }
.film-controls>div { display:flex; gap:10px; } .film-controls button:disabled { opacity:.35; cursor:default; transform:none; }
.closing-section { position:relative; isolation:isolate; overflow:hidden; border-radius:var(--radius); margin-block:90px; padding:70px; min-height:480px; color:white; }
.closing-image { position:absolute; inset:-4%; z-index:-2; }
.closing-section::after { content:''; position:absolute; inset:0; background:#10233977; z-index:-1; }
.closing-section h2 { font-size:clamp(36px,4vw,56px); font-weight:350; line-height:1.25; margin:0 0 24px; }
.closing-section p:not(.eyebrow) { font-size:14px; line-height:1.8; margin:0 0 28px; }
.chapter-nav { position:fixed; bottom:22px; left:50%; translate:-50% 0; z-index:35; display:flex; width:max-content; max-width:calc(100% - 24px); padding:5px; border-radius:30px; opacity:0; pointer-events:none; transform:translateY(15px); transition:opacity .4s,transform .4s; }
.has-scrolled .chapter-nav { opacity:1; pointer-events:auto; transform:none; }
.chapter-nav a { white-space:nowrap; font-size:10px; padding:8px 17px; border-radius:24px; color:var(--text-secondary); text-decoration:none; transition:background .3s,color .3s; }
.chapter-nav a[aria-current] { background:var(--surface-raised); color:var(--text-primary); }
@keyframes project-enter { from { opacity:0; translate:0 12px; } to { opacity:1; translate:0 0; } }
@media (max-width:1000px) { .studio-hero__copy { width:84%; } .studio-hero h1 br { display:block; } .studio-cabin { width:76%; left:18%; bottom:12%; } .project-deck { width:65%; } .journal-section { gap:36px; grid-template-columns:1fr 1.8fr; } .film-frame { height:440px; flex-basis:66vw; } }
@media (max-width:700px) {
 .studio-hero { min-height:760px; max-height:1000px; } .studio-hero__copy { width:auto; margin:0 26px; padding-top:160px; }
 .studio-hero h1 { font-size:clamp(50px,12vw,76px); } .studio-hero__intro { flex-direction:column; align-items:start; margin-top:20px; gap:12px; } .studio-hero__intro p { font-size:13px; }
 .studio-cabin { width:110%; left:-5%; bottom:12%; } .studio-landscape img { object-position:49% center; }
 .scene-footer { left:26px; right:26px; font-size:9px; } .scene-footer>span { max-width:45%; }
 .workshop { min-height:900px; padding:80px 20px 100px; align-items:start; }
 .workshop__image img { object-position:66% center; } .workshop::after { background:#08172577; }
 .workshop h2 { font-size:36px; } .workshop .chapter-heading { margin-top:0; margin-bottom:24px; }
 .project-deck { width:100%; } .project-controls { gap:12px; } .project-controls button { flex-direction:column; align-items:start; gap:5px; font-size:11px; min-height:70px; }
 .project-panel { padding:24px; min-height:330px; } .project-panel h3 { font-size:24px; }
 .journal-section { padding-block:70px; grid-template-columns:1fr; gap:35px; } .journal-section>.chapter-heading { position:static; } .journal-section>.chapter-heading h2 br { display:none; }
 .studio-journal-entry h3 { font-size:21px; } .studio-journal-entry__meta { gap:12px; }
 .field-section { padding:60px 0; } .field-heading { flex-direction:column; align-items:start; gap:20px; } .field-heading h2 { max-width:310px; }
 .filmstrip { gap:16px; } .film-frame { flex-basis:85vw; height:430px; } .film-frame>div { left:16px; right:16px; bottom:16px; padding:14px; } .film-frame h3 { font-size:20px; }
 .closing-section { padding:40px 26px; min-height:440px; margin-block:60px; } .chapter-nav { bottom:12px; } .chapter-nav a { padding:8px 15px; }
 .page-home .site-footer { padding-bottom:75px; }
}
