/*
Theme Name: Late Frame
Description: An independent horror journal with a featured story and an editorial index.
Version: 1.2.0
*/
:root { color-scheme:dark; --base:#121015; --ink:#f7ede2; --low:#d3c4c3; --ember:#ff9280; --rule:#50424b; --margin:clamp(1rem,4.6vw,4.2rem) }
* { box-sizing:border-box }
body { margin:0; background:var(--base); color:var(--ink); font:1rem/1.57 system-ui,sans-serif }
a { color:inherit; text-underline-offset:.23em }
img { display:block; max-width:100%; height:auto }
:focus-visible { outline:2px solid var(--ember); outline-offset:4px }
.jump { position:absolute; left:-999px; z-index:9; background:var(--ink); color:var(--base); padding:.7rem }
.jump:focus { left:1rem; top:1rem }
.credit-mast { background:#f0ebe4; color:#262022; border-bottom:2px solid #af6a62 }
.credit-rail,.credit-footer > div { display:flex; justify-content:space-between; align-items:center; gap:.6rem 1rem; flex-wrap:wrap; width:min(1190px,100% - var(--margin)*2); margin:auto; min-height:76px; padding-block:.65rem }
.brand-credit { display:flex; align-items:center; gap:.65rem; font:700 clamp(1.65rem,3.8vw,2.65rem)/1 Georgia,serif; letter-spacing:-.073em; text-decoration:none }
.brand-credit b { font:800 .73rem/1 "Courier New",monospace; letter-spacing:0; background:#232025; color:#fae8e1; padding:.38rem .44rem }
.credit-rail nav { display:flex; gap:clamp(.6rem,3.1vw,1.85rem) }
.credit-rail nav a,.credit-footer a { font-size:.91rem; font-weight:730; text-decoration:none }
.credit-rail a:hover { color:#8e2e33; text-decoration:underline }
.credit-footer a:hover { color:var(--ember); text-decoration:underline }
.credit-mast a:focus-visible { outline-color:#a33e45 }
.decay-edition { width:min(1250px,100% - var(--margin)*2); margin:auto }
.edition-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:.65rem 1rem; margin:clamp(1.3rem,3.55vw,3rem) 0 1rem }
.edition-heading h1 { font:700 clamp(2.25rem,5.1vw,4.85rem)/.94 Georgia,serif; letter-spacing:-.064em; margin:0 }
.edition-heading > a { color:#ffc3b5; font-size:.89rem; font-weight:720 }
.film-lead { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) minmax(330px,.76fr); align-items:end; min-height:clamp(400px,44vw,585px); background:#24191d; border:1px solid #514149 }
.film-plate,.film-plate img { position:absolute; inset:0; width:100%; height:100%; z-index:-2; object-fit:cover; object-position:51% 53% }
.film-plate img { filter:saturate(.67) }
.film-lead::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,#19131cd4,transparent 64%),linear-gradient(270deg,#19131c99,transparent 64%) }
.lead-caption { grid-column:2; margin:clamp(.95rem,2.65vw,2.2rem); padding:clamp(1.1rem,3vw,2.15rem); border-top:3px solid var(--ember); background:#18141ce8 }
.film-topic { margin:0; color:var(--ember); font:700 .79rem/1.3 "Courier New",monospace; letter-spacing:.075em; text-transform:uppercase }
.lead-caption h2 { font:700 clamp(1.7rem,3.5vw,3.18rem)/.99 Georgia,serif; margin:.62rem 0 .75rem; letter-spacing:-.044em }
.lead-caption h2 a,.review-ledger a { text-decoration:none }
.lead-caption h2 a:hover,.review-ledger a:hover h3 { text-decoration:underline }
.lead-caption p:not(.film-topic) { color:#ede1df; margin:0 0 .95rem }
.feature-link { display:inline-flex; gap:.5rem; align-items:center; padding:.48rem .73rem; background:var(--ember); color:#23151c; font-size:.9rem; font-weight:790; text-decoration:none }
.feature-link:hover { background:#ffc3b5 }
.cinema-desk { margin:clamp(2.1rem,4.6vw,4rem) 0 4.5rem }
.cinema-desk header { padding:0 0 .8rem; border-bottom:1px solid var(--rule); margin-bottom:.95rem }
.cinema-desk h2 { font:700 clamp(1.95rem,4.3vw,3.8rem)/1 Georgia,serif; letter-spacing:-.055em; margin:0 }
.review-ledger { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem }
.review-ledger a { display:grid; align-content:start; min-width:0; height:100%; background:#1d171e; border-top:2px solid #875252 }
.review-ledger img { width:100%; aspect-ratio:2.08; object-fit:cover }
.review-intro { padding:clamp(.9rem,2vw,1.42rem) }
.review-intro h3 { font:700 clamp(1.24rem,2.39vw,1.88rem)/1.06 Georgia,serif; letter-spacing:-.022em; margin:.58rem 0 .6rem }
.review-intro p:last-child { color:var(--low); margin:0; font-size:.91rem }
.credit-footer { border-top:1px solid var(--rule) }
.credit-footer p { margin:0; color:var(--low) }
.credit-reading { margin:auto; width:min(850px,100% - var(--margin)*2); padding:3.65rem 0 4.8rem }
.opening-credits h1,.credit-reading > h1 { font:700 clamp(2.65rem,7.7vw,5.4rem)/.97 Georgia,serif; letter-spacing:-.055em; margin:.8rem 0 }
.article-dek { font-size:1.2rem; color:var(--low) }
.reading-back,.review-text a { color:#ffa99a }
.review-text { max-width:730px; font:1.125rem/1.74 Georgia,serif }
.review-text h2 { font-size:1.9rem; line-height:1.13 }
.feature-image { margin:1.5rem 0; outline:1px solid var(--rule) }
.feature-image img { width:100% }
@media (max-width:700px) {
    .film-lead { grid-template-columns:minmax(0,1fr); min-height:450px }
    .lead-caption { grid-column:1; align-self:end; max-width:460px }
    .film-lead::before { background:linear-gradient(0deg,#19131c 0%,#19131c55 40%,transparent 75%) }
    .review-ledger { grid-template-columns:1fr }
}
@media (max-width:430px) {
    .film-lead { min-height:385px }
    .lead-caption { margin:.65rem; padding:.95rem }
    .credit-rail { min-height:64px }
}
