/* Cinematic opening: a single desktop composition, normal document flow on phones. */
body.cinematic{background:#0b1220;overflow-x:clip}
.cinematic .cloud-stage,.cinematic .parallax-scrim,.cinematic .infra-foreground,.cinematic .background-controls{display:none!important}
.cinematic .site-header{position:sticky;top:0;z-index:90;max-width:1600px;min-height:80px;margin:auto;padding:14px 4%;display:flex;flex-wrap:wrap;gap:20px;align-items:center;box-sizing:border-box}
.cinematic .brand{order:0;margin-right:auto}
.cinematic .theme-nav{order:1;flex-wrap:wrap;gap:24px}
.cinematic .theme-nav a{min-height:44px;display:inline-flex;align-items:center}
.cinematic .story-track{height:auto;min-height:0}
.cinematic .hero.parallax-story{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:0;max-width:1600px;width:100%;height:calc(100svh - 80px);min-height:610px;max-height:1000px;padding:22px 4% 0;box-sizing:border-box;overflow:hidden}
.cinema-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;font:10px/1.6 monospace;letter-spacing:.05em;color:#5eead4;position:relative;z-index:3}
.cinema-meta small{font-size:9px;color:#b9c5d6}
.cinematic .cinema-meta .availability-pill{display:inline-flex;gap:8px;align-items:center;margin:0;padding:0;min-height:32px;font-size:10px;text-decoration:none;color:#b9c5d6}
.cinema-meta .availability-pill span{width:5px;height:5px;background:#5eead4;border-radius:50%}
.cinema-word{position:absolute;top:14%;left:4%;right:4%;font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(120px,20.2vw,320px);font-weight:900;letter-spacing:-.035em;line-height:1;white-space:nowrap;text-align:center;color:#5eead4;opacity:.26;z-index:-1;transform:translateY(var(--cinema-title-y,0px));pointer-events:none;user-select:none}
.cinematic .hero .story-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr);align-items:end;gap:24px;min-height:0;position:relative;flex:initial}
.cinematic .hero .story-panel:first-child{position:relative;z-index:2;display:block;min-width:0;max-width:360px;width:100%;padding:24px 0 32px;min-height:0;opacity:1;transform:none!important}
.cinematic .hero .hero-intro{font-size:12px;letter-spacing:.15em;margin:0 0 10px!important;color:#f7f9fc}
.cinematic .hero #hero-title{font-size:clamp(48px,5.2vw,82px);font-weight:850;letter-spacing:-.06em;line-height:.98;margin:0;text-shadow:none}
.name-dot{color:#5eead4}
.cinema-role{font-size:clamp(18px,1.7vw,26px);font-weight:650;letter-spacing:-.03em;line-height:1.2;color:#5eead4;margin:18px 0}
.cinematic .hero .story-panel .hero-text{font-size:13px;line-height:1.7;color:#b9c5d6;max-width:310px;margin:0}
.cinematic .hero .hero-actions{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;gap:14px;margin:20px 0 0;max-width:none}
.cinematic .hero .hero-actions .button{flex:0 1 auto;min-height:44px;margin:0;padding:12px 16px;border-radius:2px;font-size:12px;translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .35s cubic-bezier(.22,1,.36,1),background .2s}
.cinema-hire{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:#f7f9fc;text-decoration:none}
.cinema-location{font:8px/1.6 monospace;letter-spacing:.04em;color:#b9c5d6;margin:18px 0 0}
.cinematic .cinema-portrait{margin:0 -45px;min-width:0;align-self:end;position:relative;z-index:1;transform:translateY(var(--cinema-photo-y,0px));pointer-events:none}
.portrait-frame{position:relative;background:transparent;border:0;box-shadow:none;overflow:visible}
.portrait-frame img{display:block;width:100%;height:auto;max-height:calc(100svh - 170px);object-fit:contain;object-position:center bottom;mask-image:linear-gradient(#000 92%,transparent)}
.cinema-facts{position:relative;z-index:2;padding:0 0 32px;min-width:0}
.cinema-motto{font-size:12px;line-height:1.65;margin:0 0 24px;color:#f7f9fc}
.cinema-facts>div{display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid #ffffff24;padding:14px 0}
.cinema-facts strong{font-size:clamp(30px,3.4vw,52px);font-weight:800;letter-spacing:-.06em;color:#5eead4;line-height:1.1}
.cinema-facts strong span{font-size:.5em}
.cinema-facts>div>span{font:8px/1.6 monospace;color:#b9c5d6;letter-spacing:.03em}
.cinema-facts strong.fact-word{font-size:clamp(17px,1.6vw,24px);letter-spacing:-.04em}
.cinema-resume{display:inline-flex;align-items:center;min-height:44px;margin-top:14px;color:#f7f9fc;text-decoration:none;font-size:11px}
.cinema-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:3;border-top:1px solid #ffffff24;min-height:52px;font:9px/1.5 monospace;letter-spacing:.03em;color:#b9c5d6}
.cinema-bottom a{min-height:44px;display:inline-flex;align-items:center;color:inherit;text-decoration:none}
.cinema-services{max-width:1230px;margin:32px auto;padding:0 24px}
.cinematic .cinema-services .hero-service-card{opacity:1!important;visibility:visible!important;transform:none!important;padding:28px 32px;background:#142238;border:1px solid #ffffff24;border-radius:8px;backdrop-filter:none}
.cinema-services .hero-service-card ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cinema-services .hero-service-card h2{margin:16px 0}
.cinema-services .hero-service-card h2>span{display:inline;margin-right:.25em}
.cinematic .reveal{transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)}
.cinematic :is(a,button):focus-visible{outline:2px solid #5eead4;outline-offset:5px}
.cinema-hire:hover,.cinema-resume:hover,.cinema-bottom a:hover{color:#5eead4}
@media(min-width:761px) and (max-height:740px){.cinematic .hero.parallax-story{min-height:530px}.cinematic .hero #hero-title{font-size:54px}.cinema-role{font-size:19px;margin:12px 0}.cinematic .hero .story-panel:first-child{padding-bottom:18px}.cinema-facts{padding-bottom:18px}.cinema-motto{margin-bottom:12px}.cinema-facts>div{padding:10px 0}.cinematic .hero .hero-actions{margin-top:12px}.cinema-location{margin-top:10px}}
@media(min-width:761px) and (max-width:1100px){.cinematic .theme-nav{gap:16px}.cinematic .hero .story-panels{grid-template-columns:1fr 1.4fr 1fr;gap:16px}.cinematic .hero #hero-title{font-size:54px}.cinematic .hero .story-panel .hero-text{font-size:12px}.cinema-facts>div{flex-wrap:wrap;gap:6px}.cinema-facts>div>span{font-size:8px}.cinematic .cinema-portrait{margin-inline:-35px}}
@media(max-width:760px){.cinematic .site-header{padding:10px 20px;min-height:0;gap:8px}.cinematic .theme-nav{order:3;width:100%;display:flex;justify-content:space-between;gap:8px}.cinematic .theme-nav a{font-size:11px}.cinematic .theme-nav a:first-child{display:inline-flex}.cinematic .brand-role{font-size:8px}.cinematic .hero.parallax-story{height:auto;min-height:0;max-height:none;padding:16px 20px 0}.cinema-meta{font-size:8px}.cinema-meta small{font-size:7px}.cinematic .cinema-meta .availability-pill{font-size:8px;min-height:28px}.cinema-word{top:76px;font-size:19.5vw;left:0;right:0;opacity:.23}.cinematic .hero .story-panels{grid-template-columns:1.05fr 1fr;gap:12px;align-items:end;padding-top:78px}.cinematic .hero .story-panel:first-child{padding:0 0 22px;max-width:none}.cinematic .hero #hero-title{font-size:clamp(38px,8.2vw,60px)}.cinematic .hero .hero-intro{font-size:9px}.cinema-role{font-size:16px;margin:12px 0}.cinematic .hero .story-panel .hero-text{font-size:11px;line-height:1.6}.cinematic .hero .hero-actions{gap:4px;margin-top:12px}.cinematic .hero .hero-actions .button{font-size:10px;padding:10px 12px;flex:0 1 auto;min-height:44px}.cinema-hire{font-size:10px}.cinema-location{font-size:7px;margin-top:8px}.cinematic .cinema-portrait{margin:0 -20px 0 -16px;transform:none;align-self:end}.portrait-frame img{max-height:none}.cinema-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0;border-top:1px solid #ffffff24}.cinema-motto{display:none}.cinema-facts>div{display:block;padding:0;border:0}.cinema-facts strong{font-size:32px;display:block}.cinema-facts strong.fact-word{font-size:18px;line-height:35px}.cinema-facts>div>span{display:block;font-size:7px;margin-top:6px}.cinema-resume{grid-column:1/-1;margin:0;min-height:44px}.cinema-bottom{font-size:8px;gap:8px}.cinema-bottom>span{display:none}.cinema-services{padding:0 20px;margin:24px auto}.cinematic .cinema-services .hero-service-card{padding:24px}.cinema-services .hero-service-card ol{grid-template-columns:1fr;gap:0}}
@media(max-width:370px){.cinematic .site-header .brand{font-size:14px}.cinematic .brand-mark{display:none}.cinematic .theme-nav a{font-size:10px}.cinema-meta{gap:8px}.cinematic .cinema-meta .availability-pill{font-size:7px}.cinematic .hero .story-panels{grid-template-columns:1.15fr 1fr}.cinematic .hero .story-panel .hero-text{font-size:10px}.cinematic .hero.parallax-story{padding-inline:16px}}
html.motion-off{scroll-behavior:auto!important}
html.motion-off *,html.motion-off *::before,html.motion-off *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.motion-off .reveal{opacity:1!important;transform:none!important}
html.motion-off .project-preview{clip-path:none!important}
html.motion-off :is(.cinema-word,.cinema-portrait){transform:none!important}
html.motion-off .hero-actions .button{translate:none!important}
@keyframes cinema-enter{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){html:not(.motion-off) .cinematic .hero-copy{animation:cinema-enter .85s cubic-bezier(.22,1,.36,1) both}html:not(.motion-off) .portrait-frame{animation:cinema-enter 1.1s cubic-bezier(.22,1,.36,1) both}}
@media(prefers-reduced-motion:reduce){.cinematic *,.cinematic *::before,.cinematic *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.cinematic .reveal{opacity:1!important;transform:none!important}.cinematic .project-preview{clip-path:none!important}.cinematic :is(.cinema-word,.cinema-portrait){transform:none!important}.cinematic .hero-actions .button{translate:none!important}}

/* Explicit placement prevents legacy hero grids from auto-placing sections. */
.cinematic .hero>.cinema-meta{grid-column:1;grid-row:1}
.cinematic .hero>.story-panels{grid-column:1;grid-row:2}
.cinematic .hero>.cinema-bottom{grid-column:1;grid-row:3}
.cinematic .cinema-facts{width:100%;max-width:250px;justify-self:end}
.cinematic .cinema-services{width:100%;box-sizing:border-box}
.cinematic .cinema-services .hero-service-card{width:100%;box-sizing:border-box}
.cinematic .cinema-services .hero-service-card ol{gap:24px;align-items:start}
.cinematic .cinema-services .hero-service-card li{min-width:0;gap:12px;padding:18px 0}
.cinematic .cinema-services .hero-service-card li>div{min-width:0}
.cinematic .cinema-services .hero-service-card p{overflow-wrap:anywhere}
.cinematic .cinema-services .hero-service-card>a{margin-top:8px;padding-top:16px;min-height:44px;box-sizing:border-box}
.cinematic .command-ticker .ticker-track{animation-duration:52.5s}
.cinematic .command-ticker .ticker-track.ticker-measured{animation-duration:var(--ticker-duration,52.5s)}
/* Keep the video overview straight at every screen size. */
.cinematic .section.video-cv{padding-top:56px;padding-bottom:70px;border-top:1px solid #ffffff24;overflow:visible;gap:clamp(32px,5vw,80px)}
.cinematic .video-cv-player{border-radius:2px;border:2px solid #ffffff24;transform:none;transition:box-shadow .65s;box-shadow:0 24px 60px #0005}
.cinematic .video-cv-player:is(:hover,:focus-within){box-shadow:0 30px 70px #0006}
@media(min-width:761px){.cinematic .hero .hero-copy{grid-column:1;grid-row:1}.cinematic .cinema-portrait{grid-column:2;grid-row:1}.cinematic .cinema-facts{grid-column:3;grid-row:1}}
@media(max-width:760px){.cinematic .cinema-facts{max-width:none}.cinematic .section.video-cv{padding:36px 24px 44px}.cinematic .cinema-services .hero-service-card ol{gap:0}}
@media(hover:none),(prefers-reduced-motion:reduce){.cinematic .video-cv-player{transform:none;transition:none}}
html.motion-off .cinematic .video-cv-player{transform:none}
/* A quiet infrastructure atmosphere behind the content, with no WebGL download. */
body.cinematic{isolation:isolate}
.cinema-atmosphere{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict;background:#0b1220}
.cinema-atmosphere>span{position:absolute;width:min(65vw,850px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#5eead419,transparent 68%);top:-18%;left:12%;animation:atmosphere-drift 24s ease-in-out infinite alternate}
.cinema-atmosphere>span:nth-child(2){top:32%;left:58%;background:radial-gradient(circle,#6998ff14,transparent 68%);animation-delay:-12s;animation-duration:30s}
.cinema-atmosphere>i{position:absolute;inset:0;background-image:linear-gradient(#5eead407 1px,transparent 1px),linear-gradient(90deg,#5eead407 1px,transparent 1px);background-size:88px 88px;mask-image:linear-gradient(transparent,#000 25%,transparent 85%)}
@keyframes atmosphere-drift{from{transform:translate3d(-5%,0,0);opacity:.55}to{transform:translate3d(12%,12%,0);opacity:1}}
.cinema-atmosphere:is(.page-idle,.atmosphere-static)>span{animation-play-state:paused}
.cinematic .stack-panel{touch-action:pan-y pinch-zoom}
.stack-swipe-hint{display:none}
@media(max-width:760px){.stack-swipe-hint{display:block;margin:0;padding:12px 16px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}.cinema-atmosphere>span{width:90vw;top:10%;left:5%;animation-duration:30s}.cinema-atmosphere>span:nth-child(2){display:none}.cinema-atmosphere>i{background-size:64px 64px}}
/* Section-aware cinematic lettering, beneath the real content and its cards. */
.chapter-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;user-select:none;overflow:hidden;opacity:0;transition:opacity .5s ease}
.chapter-backdrop.is-visible{opacity:1}
.chapter-backdrop>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 3vw;box-sizing:border-box;white-space:nowrap;font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(72px,17vw,290px);font-weight:900;letter-spacing:-.035em;line-height:1;color:#5eead4;opacity:0;transform:translateY(calc(var(--chapter-drift,0px) + 18px));transition:opacity .65s ease,transform .85s cubic-bezier(.22,1,.36,1)}
.chapter-backdrop>span.is-current{opacity:.065;transform:translateY(var(--chapter-drift,0px))}
@media(max-width:760px){.chapter-backdrop>span{font-size:17vw}.chapter-backdrop>span.is-current{opacity:.045}}
html.motion-off .chapter-backdrop>span{transform:none!important}
@media(prefers-reduced-motion:reduce){.chapter-backdrop,.chapter-backdrop>span{transition:none;transform:none!important}}
/* Scroll-linked perspective gives the lettering depth without a 3D engine. */
.cinematic .cinema-word{transform:perspective(1200px) translate3d(0,var(--cinema-title-y,0px),var(--hero-depth,0px)) rotateX(var(--hero-tilt-x,0deg)) rotateY(var(--hero-tilt-y,0deg));transform-origin:50% 65%;text-shadow:1px 1px 0 #299c92,2px 2px 0 #258f88,3px 3px 0 #22827e,4px 4px 0 #1d7573,5px 5px 0 #196768,6px 6px 0 #15595d,10px 14px 22px #0008}
.chapter-backdrop>span{transform:perspective(1200px) translate3d(0,calc(var(--chapter-drift,0px) + 18px),var(--chapter-depth,0px)) rotateX(var(--chapter-tilt-x,0deg)) rotateY(var(--chapter-tilt-y,0deg));text-shadow:1px 1px 0 #299c92,2px 2px 0 #258f88,3px 3px 0 #22827e,4px 4px 0 #1d7573,5px 5px 0 #196768,6px 6px 0 #15595d,12px 16px 24px #0008}
.chapter-backdrop>span.is-current{transform:perspective(1200px) translate3d(0,var(--chapter-drift,0px),var(--chapter-depth,0px)) rotateX(var(--chapter-tilt-x,0deg)) rotateY(var(--chapter-tilt-y,0deg));opacity:.085}
.cinema-atmosphere>i{inset:-25%;transform:perspective(900px) translateY(var(--scene-scroll-depth,0px)) rotateX(58deg);transform-origin:center 65%;opacity:.65}
@media(max-width:760px),(prefers-reduced-motion:reduce){.cinematic .cinema-word,.chapter-backdrop>span,.chapter-backdrop>span.is-current{transform:none;text-shadow:1px 1px 0 #258f88,2px 2px 0 #1d7573,3px 3px 0 #15595d}.cinema-atmosphere>i{inset:0;transform:none;opacity:.4}}
html.motion-off .cinema-atmosphere>i{transform:none}

/* Each glyph starts in a shuffled slot, then settles into the original word. */
.cinema-word .assembly-letter{display:inline-block;transform-origin:center;backface-visibility:hidden}
/* Mobile hero is a centered composition rather than compressed desktop columns. */
@media(max-width:760px){
 .cinematic .site-header{display:grid;grid-template-columns:minmax(0,1fr);gap:8px 12px}
 .cinematic .site-header .brand{grid-column:1;grid-row:1;margin:0;min-width:0}
 .cinematic .site-header .theme-nav{grid-column:1/-1;grid-row:2;width:100%;min-width:0}
 .cinematic .hero.parallax-story{padding:18px 20px 0;overflow:hidden}
 .cinematic .hero .cinema-meta{flex-wrap:wrap;justify-content:center;text-align:center;gap:8px 20px}
 .cinematic .cinema-meta .availability-pill{justify-content:center}
 .cinematic .hero .story-panels{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:0;padding-top:68px;text-align:center}
 .cinematic .hero .cinema-word{top:104px;font-size:19vw;left:0;right:0;line-height:1}
 .cinematic .hero .cinema-portrait{grid-column:1;grid-row:1;justify-self:center;width:min(82%,340px);margin:0;align-self:end;transform:none}
 .cinematic .hero .portrait-frame img{width:100%;max-height:none;aspect-ratio:1;object-fit:contain;object-position:center bottom}
 .cinematic .hero .story-panel:first-child{grid-column:1;grid-row:2;justify-self:center;width:100%;max-width:440px;padding:20px 0 26px;text-align:center}
 .cinematic .hero .hero-intro{margin:0 0 10px!important;font-size:11px}
 .cinematic .hero #hero-title{font-size:clamp(42px,11vw,64px);line-height:1.02}
 .cinematic .hero #hero-title br{display:none}
 .cinematic .hero .cinema-role{font-size:21px;line-height:1.3;margin:14px 0}
 .cinematic .hero .cinema-role br{display:none}
 .cinematic .hero .story-panel .hero-text{font-size:14px;line-height:1.7;max-width:36ch;margin:0 auto}
 .cinematic .hero .hero-actions{justify-content:center;align-items:center;flex-direction:row;gap:10px 18px;margin:20px 0 0}
 .cinematic .hero .hero-actions .button{font-size:12px;min-height:48px;padding:12px 18px;flex:0 1 auto}
 .cinematic .hero .cinema-hire{font-size:12px;min-height:48px}
 .cinematic .hero .cinema-location{font-size:8px;margin:16px auto 0;line-height:1.8;max-width:38ch}
 .cinematic .hero .cinema-facts{grid-column:1;grid-row:3;justify-self:stretch;width:100%;max-width:none;text-align:center;gap:10px;padding:20px 0 10px}
 .cinematic .hero .cinema-facts strong{font-size:34px}
 .cinematic .hero .cinema-facts strong.fact-word{font-size:19px;line-height:37px}
 .cinematic .hero .cinema-facts>div>span{font-size:8px;line-height:1.6}
 .cinematic .hero .cinema-resume{justify-content:center;min-height:48px;margin-top:8px;font-size:12px}
 .cinematic .hero .cinema-bottom{min-height:58px;justify-content:space-between;font-size:8px}
}
@media(max-width:370px){
 .cinematic .site-header{padding-inline:16px}
 .cinematic .hero.parallax-story{padding-inline:16px}
 .cinematic .hero #hero-title{font-size:40px}
 .cinematic .hero .cinema-portrait{width:88%}
 .cinematic .hero .story-panel .hero-text{font-size:13px}
}

/* Long skill names fit the same reserved hero space without moving the content. */
.cinematic .cinema-word{font-size:clamp(72px,calc(20.2vw * var(--word-size,1)),calc(320px * var(--word-size,1)))}
@media(max-width:760px){.cinematic .hero .cinema-word{font-size:calc(19vw * var(--word-size,1))}}
/* Reference-inspired greeting, generous desktop composition and fading lettering. */
@font-face{font-family:'Portfolio Handwriting';src:url('assets/fonts/caveat-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
.cinematic .hero .hero-intro{font-family:'Portfolio Handwriting','Segoe Print','Bradley Hand',cursive;font-size:clamp(38px,3.7vw,64px);font-weight:500;line-height:1.05;letter-spacing:-.035em;text-transform:none;color:#f2efeb;margin:0 0 22px!important;transform:rotate(-7deg);transform-origin:left center}
.cinematic .cinema-word{opacity:.72;color:#39cbb9;mask-image:linear-gradient(to bottom,#000 0%,#000 42%,#0009 78%,#0002 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 42%,#0009 78%,#0002 100%);font-size:clamp(72px,calc(20.2vw * var(--word-size,1)),calc(400px * var(--word-size,1)))}
@media(min-width:1101px){
 .cinematic .site-header{max-width:1920px;padding-inline:3.3%}
 .cinematic .hero.parallax-story{max-width:1920px;padding-inline:6%;padding-top:24px}
 .cinematic .hero .cinema-word{left:6%;right:6%;top:12%}
 .cinematic .hero .story-panels{grid-template-columns:minmax(0,1fr) minmax(0,1.85fr) minmax(0,1fr);gap:32px}
 .cinematic .hero .story-panel:first-child{padding-bottom:32px}
 .cinematic .hero .cinema-facts{padding-bottom:32px;max-width:300px}
}
@media(max-width:760px){
 .cinematic .hero .hero-intro{font-size:40px;line-height:1.1;margin:0 0 16px!important;transform:rotate(-6deg);transform-origin:center}
 .cinematic .hero .cinema-word{font-size:calc(19vw * var(--word-size,1));opacity:.6}
}

/* Measure the rendered glyphs instead of assuming every letter has equal width. */
.cinematic .hero .cinema-word{font-size:var(--hero-word-font,clamp(72px,20.2vw,400px))}
@media(max-width:760px){.cinematic .hero .cinema-word{font-size:var(--hero-word-font,19vw)}}

/* Preserve the scroll-driven compact header across cinematic layouts. */
.cinematic .site-header.is-compact{min-height:0;padding-block:8px;gap:8px}
@media(max-width:760px){
 .cinematic .site-header.is-compact{row-gap:0}
 .cinematic .site-header.is-compact .theme-nav{grid-row:1}
}
