/* Full-viewport editorial opening. Portrait art is independent from text and controls. */
.cinema-head{position:absolute;z-index:9;inset:0 0 auto;width:100%;margin:0;gap:1rem;min-height:4.9rem;padding:.55rem clamp(1rem,5vw,6rem);color:#251b2a;border:0;pointer-events:none;align-items:flex-start}.cinema-head>*{pointer-events:auto}
.cinema-head .hero-logo{font:900 italic clamp(1.2rem,2.6vw,2.45rem)/1 system-ui,sans-serif;letter-spacing:-.16em;color:#271738;white-space:nowrap;padding:.33em .1em .35em 0;text-decoration:none}
.cinema-head .hero-logo span{display:inline;font-size:inherit;color:#7b35bb;margin:0 .085em 0 .035em}
.cinema-head nav{align-items:center;display:flex;gap:clamp(.5rem,2vw,1.75rem);font-weight:800;font-size:.83rem;color:#211729;background:#f5eef2ef;border-radius:2px;padding:.42rem .7rem}
.cinema-head a:hover{color:#6733a8}.cinema-head a:focus-visible{outline-color:#6036a4}
.cinema-hero.portrait{position:relative;isolation:isolate;overflow:hidden;width:100%;height:100svh;min-height:29rem;display:block;padding:0;margin:0;background:#eee8ed;color:#f8f1f8}
.cinema-hero.portrait::before{display:none}
.cinema-hero .portrait-art{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;mask-image:none;border:0;background:radial-gradient(ellipse at 50% 22%,#f9f4f3 0,#eee7ed 42%,#d7c9df 89%);--art-width:clamp(46rem,113svh,78rem);--art-top:-10svh;--art-center:51%}
.cinema-hero .wirefield{position:absolute;inset:0;opacity:.59;overflow:hidden;pointer-events:none;background:repeating-radial-gradient(ellipse at 52% 35%,transparent 0 26px,#897ba241 27px,#897ba21b 28px,transparent 29px 44px);mask-image:radial-gradient(ellipse at 50% 37%,transparent 27%,#000 48%,#000a 73%,transparent 100%)}
.cinema-hero .figure-image{position:absolute;inset:var(--art-top) auto auto var(--art-center);transform:translateX(-50%);width:var(--art-width);height:auto;aspect-ratio:3/4;pointer-events:none}
.cinema-hero .figure-image{background:url(sungoo-hero.webp) center/100% 100% no-repeat;filter:grayscale(1) contrast(1.04) brightness(.98)}
.cinema-hero .figure-reveal .figure-image{filter:saturate(1.1) brightness(1.04)}
.cinema-hero .portrait-art::after{z-index:2;background:linear-gradient(0deg,#1c1023f7,#1b1021c2 10%,#24163142 31%,transparent 58%);pointer-events:none}
.hero-main{position:absolute;z-index:4;bottom:clamp(4.6rem,13.4vh,9rem);left:clamp(1.2rem,5.2vw,6.5rem);right:1.1rem;pointer-events:none;text-shadow:0 2px 18px #1c0e28a6}
.hero-eyebrow{font:750 clamp(.69rem,1.03vw,.86rem) ui-monospace,monospace;letter-spacing:.16em;color:#f4cfff}
.cinema-hero h1{font:850 clamp(4rem,11vw,12rem)/.85 system-ui,sans-serif;margin:.12em 0 .13em;letter-spacing:-.12em;color:#fff3fc;max-width:fit-content}
.cinema-hero h1 span{display:block;font:850 .21em/1 system-ui,sans-serif;letter-spacing:.03em;margin:.44em 0 .42em;color:#f4ddfb}
.hero-role{font-size:clamp(.82rem,1.25vw,1.05rem);color:#f4deef}
.hero-proof{position:absolute;z-index:5;top:clamp(5.45rem,15vh,10rem);right:clamp(1.1rem,5.2vw,6.5rem);color:#38204b}
.hero-proof a{display:grid;gap:.23rem;text-decoration:none;text-align:right;padding:.62rem .8rem;background:#f5ebf3e8;border-bottom:2px solid #8545c0;transition:background .3s}
.hero-proof a:hover{background:#fff4fb}.hero-proof span{font:800 .69rem ui-monospace,monospace;letter-spacing:.11em;color:#6e3396}.hero-proof b{font-size:clamp(.88rem,1.7vw,1.25rem);line-height:1.14}.hero-proof small{color:#5c3b66;font-size:.71rem}
.hero-footer{position:absolute;z-index:4;bottom:clamp(.65rem,3vh,2rem);inset-inline:clamp(1.2rem,5.2vw,6.5rem);display:flex;justify-content:space-between;align-items:end;gap:.7rem;pointer-events:none}
.hero-footer .next-beat{position:static;pointer-events:auto;margin-bottom:.1em;color:#fff0fb;border-color:#e6b7ed;white-space:nowrap}
.hero-footer button{pointer-events:auto;font-size:.85rem;line-height:1.35;background:#f1def4;color:#2d1b35;border:0;padding:.58rem .82rem;font-weight:800;cursor:pointer;white-space:nowrap}
.hero-footer button:hover{background:#fff6fc}
.manifesto-still{position:relative;justify-self:center;width:min(80%,28rem);isolation:isolate}
.manifesto-still::before{content:"";position:absolute;inset:10% -12% 1%;background:radial-gradient(ellipse at 50% 44%,#a78ab265,#453451 65%,transparent 72%);z-index:-1}
.manifesto-still img{aspect-ratio:1;object-fit:contain;object-position:50% 12%;filter:saturate(.62)}
.manifesto-still figcaption{padding-inline:1rem}
.field-log{background:#f2eaf0}
.field-track img{aspect-ratio:1.55}
.chapter h3{font-family:system-ui,sans-serif;font-weight:900;letter-spacing:-.13em}
.show-spotlight{position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:end;min-height:clamp(30rem,58vw,51rem);background:#271830;color:#fff1fa}
.show-spotlight>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(var(--feature-scale,1.07))}
.show-spotlight::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#1a0f22e8,transparent 82%),linear-gradient(0deg,#170d23e6,transparent 82%)}
.spotlight-copy{padding:clamp(1.4rem,6vw,5.4rem) 0}
.spotlight-copy h2,.cinema-social h2,.cinema-outro h2{font:850 clamp(3.1rem,10vw,10rem)/.92 system-ui,sans-serif;letter-spacing:-.102em;margin:.15em 0 .21em}
.spotlight-copy h2 em{font-weight:720;color:#f0cdfa}.spotlight-copy>p:not(.kicker){max-width:33ch;word-break:keep-all}
.spotlight-copy a,.cinema-outro p a{display:inline-block;margin-top:1.05rem;padding:.57rem .83rem;background:#f0dcf5;color:#27132e;font-weight:830;text-decoration:none}
.spotlight-copy a:hover,.cinema-outro p a:hover{background:white}
.cinema-social{padding:clamp(3rem,8vw,8rem) 0;background:#2e2137;color:#f8eafa}
.cinema-social h2,.cinema-outro h2{font-family:var(--display);font-weight:400;letter-spacing:-.075em;font-size:clamp(2.8rem,7.7vw,7.65rem);margin:.18em 0 .35em}
.social-links{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}
.social-links a{display:flex;flex-direction:column;justify-content:end;min-height:7rem;font-weight:850;font-size:clamp(1.1rem,2.9vw,2.5rem);line-height:1.05;background:linear-gradient(125deg,#49314e,#392741);padding:.95rem 1.05rem;text-decoration:none;letter-spacing:-.05em}
.social-links a:hover{background:#543560}.social-links small{display:block;font-weight:650;font-size:.78rem;color:#e6c6f0;letter-spacing:.04em;margin-top:.42rem}
.cinema-outro{position:relative;min-height:clamp(29rem,48vw,50rem);isolation:isolate;display:grid;align-items:end;overflow:hidden;background:radial-gradient(ellipse at 65% 23%,#fff9f5,#eadde9 73%);color:#291639}
.cinema-outro>img{position:absolute;z-index:-2;height:auto;width:min(59vw,49rem);bottom:-35%;right:1.6%;filter:saturate(.77)}
.cinema-outro::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#eee2eaf5,transparent 65%)}
.cinema-outro .wrap{padding:clamp(2rem,8vw,9rem) 0 clamp(1.25rem,4vw,4rem)}
.cinema-outro h2{color:#352043;text-shadow:0 2px .16em #f9edf9}.cinema-outro .kicker{color:#60377f}
.cinema-outro p a{background:#4c285b;color:#fff0ff}.cinema-outro p a:hover{background:#281436}
.cinema-outro nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:clamp(2rem,5vw,5rem);color:#3c224e;font-size:.88rem}
@media(max-width:760px){
 .cinema-head{min-height:3.6rem;padding:.65rem .8rem}.cinema-head nav{gap:.38rem;padding:.46rem .48rem;font-size:.73rem}
 .cinema-hero .portrait-art{--art-width:clamp(28rem,129vw,48rem);--art-top:9svh;--art-center:50%}
 .cinema-hero h1{font-size:clamp(4rem,15vw,7.5rem)}.hero-main{bottom:4.6rem;left:1rem}.hero-footer{inset-inline:1rem}.hero-footer>a,.hero-footer button{font-size:.77rem}
 .hero-proof{top:3.65rem;right:.8rem}.hero-proof a{padding:.37rem .52rem;gap:.14rem}.hero-proof small{display:none}
 .manifesto-still{width:min(80%,22rem)}
 .show-spotlight{min-height:29rem}.show-spotlight::after{background:linear-gradient(0deg,#190e21f5,transparent 94%)}
 .social-links{grid-template-columns:1fr;gap:.4rem}.social-links a{min-height:4.15rem}
 .cinema-outro>img{width:min(95vw,28rem);bottom:-22%;right:-23%;opacity:.82}
 .cinema-outro::after{background:linear-gradient(90deg,#faedf5dc,transparent 93%)}
}
@media(prefers-reduced-motion:reduce){.show-spotlight>img{transform:none}.hero-proof a{transition:none}}

.image-journal{padding-block:clamp(3rem,8vw,7.5rem)}
.image-journal header{margin-bottom:clamp(1.3rem,3vw,2.5rem)}
.image-journal header .cut-title{margin-bottom:0}
.journal-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.95rem,2.5vw,2rem)}
.journal-tiles a{color:inherit;text-decoration:none}
.journal-tiles figure{margin:0;overflow:hidden}
.journal-tiles img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#231b2d}
.journal-tiles figcaption{display:grid;gap:.18rem;padding:.65rem 0 .15rem}
.journal-tiles b{font-size:clamp(1.08rem,1.6vw,1.4rem);line-height:1.2}
.journal-tiles span{font-size:.875rem;line-height:1.4}
.journal-tiles a:hover b{text-decoration:underline;text-underline-offset:.2em}
@media(max-width:660px){.journal-tiles{grid-template-columns:1fr;gap:1.45rem}}

#project-photos .journal-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.journal-tiles .journal-kare{object-fit:contain;background:#20172a}
.journal-tiles .journal-site,.journal-tests .journal-site{display:inline-block;margin-top:.55rem;text-decoration:underline;text-underline-offset:.24em;font-weight:700}
.journal-tests{display:flex;flex-wrap:wrap;align-items:baseline;gap:.15rem 1.15rem;margin-top:2rem;padding-top:.9rem;border-top:1px solid currentColor}
.journal-tests p{margin:0;font-size:.9rem}
@media(max-width:660px){#project-photos .journal-tiles{grid-template-columns:1fr}}

/* A warm editorial photograph opens Version 2; the original avatar remains the reveal. */
.cinema-hero.portrait { background:#291c19 }
.cinema-hero .portrait-art{background:radial-gradient(ellipse at 63% 39%,#7c5840 0%,#382822 50%,#1b1318 90%)}
.cinema-hero .profile-still{position:absolute;inset:0 auto 0 62%;width:min(73vw,66.667svh);height:100%;object-fit:contain;object-position:center top;transform:translateX(-50%);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 92%,transparent);transition:opacity .35s ease}
.cinema-hero .wirefield{opacity:0;transition:opacity .35s ease}
.cinema-hero .portrait-art.is-locked{background:radial-gradient(ellipse at 50% 22%,#f9f4f3 0,#eee7ed 42%,#d7c9df 89%)}
.cinema-hero .portrait-art.is-locked .profile-still{opacity:0}
.cinema-hero .portrait-art.is-locked .wirefield{opacity:.59}
.cinema-hero .portrait-art::after{background:linear-gradient(0deg,#1b101cf5,#1b101ca8 14%,#24163122 39%,transparent 59%),linear-gradient(90deg,#2113194d,transparent 67%)}
.cinema-head .hero-logo{color:#fff1ec;text-shadow:0 1px 9px #211019ad}
.cinema-head .hero-logo span{color:#e7b8de}
@media (max-width:760px){
 .cinema-hero .profile-still{inset:0;width:100%;transform:none;object-fit:cover;object-position:50% 46%;mask-image:none}
 .cinema-hero .portrait-art::after{background:linear-gradient(0deg,#21131ff5,#1b101caa 16%,#24163126 41%,transparent 63%)}
}
@media (prefers-reduced-motion:reduce){.cinema-hero .profile-still,.cinema-hero .wirefield{transition:none}}
@supports selector(body:has(.portrait-art.is-locked)){
 body:has(.cinema-hero .portrait-art.is-locked) .cinema-head .hero-logo{color:#271738;text-shadow:none}
 body:has(.cinema-hero .portrait-art.is-locked) .cinema-head .hero-logo span{color:#7b35bb}
}

.cinema-hero .portrait-trail{z-index:1}

/* Full-bleed portrait with an overlaid title, never a split layout. */
.cinema-hero .profile-still{
 inset:0;
 width:100%;height:100%;
 object-fit:cover;object-position:50% 27%;
 transform:scale(1.12);transform-origin:50% 38%;
 mask-image:none;
}
.cinema-hero .portrait-art::after{
 background:linear-gradient(180deg,#190f19b3 0%,#1b111a54 17%,transparent 42%,transparent 65%,#1b111ac7 100%);
}
.cinema-hero .hero-main{
 top:3.1rem;bottom:auto;
 inset-inline:clamp(1rem,5.2vw,6.5rem);
 display:grid;justify-items:center;text-align:center;gap:.24rem;
 text-shadow:0 2px 20px #100b139e;
}
.cinema-hero .hero-main h1{
 display:flex;justify-content:center;align-items:baseline;gap:.42em;
 font-size:clamp(2rem,3.6vw,3.8rem);line-height:1;margin:0;letter-spacing:-.075em;
}
.cinema-hero .hero-main h1 span{margin:0;font-size:clamp(.72rem,1.18vw,1.12rem);white-space:nowrap}
.cinema-hero .hero-main .hero-role{font-size:clamp(.75rem,1vw,.93rem);line-height:1.25}
@media(min-width:1120px){
 .cinema-hero .hero-main{top:.86rem;inset-inline:25%}
}
.hero-proof{top:auto;bottom:clamp(4rem,10svh,7rem)}
@media(max-width:760px){
 .cinema-hero .hero-main{top:2.8rem}
 .cinema-hero .hero-eyebrow{display:none}
 .cinema-hero .hero-main h1{font-size:clamp(1.7rem,6.8vw,2.5rem)}
 .hero-proof{bottom:3.6rem;right:1rem}
}

/* Both portraits share the same eye anchor. JS sets the cover/crop geometry
   in screen coordinates, used by both the button image and the mouse mask. */
.cinema-hero .portrait-art[data-aligned] .profile-still{
 inset:var(--photo-y) auto auto var(--photo-x);
 width:var(--photo-w);height:var(--photo-h);
 object-fit:fill;transform:none;
}
.cinema-hero .portrait-art[data-aligned] .figure-image{
 inset:var(--avatar-y) auto auto var(--avatar-x);
 width:var(--avatar-w);height:var(--avatar-h);
 transform:none;
}

/* Full-body reveal matches the frame of the original seated photo. */
.cinema-hero .portrait-art[data-aligned] .figure-reveal .figure-image{
 background:url(sungoo-seated-avatar.webp) center/100% 100% no-repeat;
 filter:none;
}
body:has(.cinema-hero .portrait-art.is-locked) .cinema-head .hero-logo{
 color:#fff1ec;text-shadow:0 1px 9px #211019ad;
}
body:has(.cinema-hero .portrait-art.is-locked) .cinema-head .hero-logo span{
 color:#e7b8de;
}
