/* Reference composition: generous outer rails, a precise inner grid, and airy type. */
:root{--frame-gutter:clamp(32px,9vw,172px)}
@media(min-width:768px){:root{--margin:var(--frame-gutter)}}
body[data-page=home] .hero{--hero-gutter:clamp(24px,3vw,56px);padding:28px var(--hero-gutter) 0;min-height:100svh;isolation:isolate}
.hero-guides{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}
.hero-guides:before{content:'';position:absolute;inset:0 var(--hero-gutter);background-image:linear-gradient(90deg,var(--studio-coral)10 1px,transparent 1px);background-size:calc(100% / 12) 100%;border-right:1px solid var(--studio-coral)10}
.hero-rail{display:none}
body[data-page=home] .hero:before,body[data-page=home] .hero:after{display:none}
body[data-page=home] .hero-header{position:relative;min-height:68px;padding:0 0 16px;z-index:4;border:0}
body[data-page=home] .site-brand{gap:18px}.site-brand img{width:56px;height:40px}
body[data-page=home] .hero__name{font-size:clamp(18px,1.4vw,25px);letter-spacing:-.045em}
body[data-page=home] .hero-copy{justify-content:flex-start;align-items:flex-start;padding:18px 0 32px!important;flex:1;width:100%}
body[data-page=home] .hero-note{position:relative;width:clamp(340px,38vw,620px);max-width:62%;margin:24px 0 0;line-height:0;flex:none}
body[data-page=home] .hero-note img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:contain}
body[data-page=home] .hero h1{font-size:clamp(58px,7vw,140px);width:68%;max-width:none;margin:auto 0 0;line-height:1.01;letter-spacing:-.045em;font-weight:600}
body[data-page=home] .hero-type-line{display:block;white-space:nowrap;width:max-content}
body[data-page=home] .hero-made{font-size:1em;font-weight:600}
body[data-page=home] .hero-middle{font-size:1em;font-weight:400}
body[data-page=home] .hero-all{margin:0;font-size:1em;line-height:inherit}
body[data-page=home] .hero-all-word{font-family:inherit;font-style:normal;font-weight:300;letter-spacing:inherit;color:var(--studio-coral)}
body[data-page=home] .hero>.form-study{display:none}
/* A white speech bubble with an actual dark pixel offset, including its tail. */
body .mascot-bubble,body .mascot-quip,body .mascot-menu{--dither:conic-gradient(#1c1a24 25%,transparent 0 50%,#1c1a24 0 75%,transparent 0) 0 0/4px 4px;color:#202a35}
body .mascot-bubble__body{padding:18px 23px 20px}
body .mascot-bubble__body:after,body .mascot-quip:after,body .mascot-menu:after,body .mascot-bubble__tail:not(.mascot-bubble__tail--shadow){background:#fff!important;border:0!important}
body .mascot-bubble__body:before,body .mascot-quip:before,body .mascot-menu:before,body .mascot-bubble__tail--shadow{background:var(--dither)!important;opacity:1!important}
body .bubble-line{font-size:clamp(18px,1.65vw,28px);font-weight:600;line-height:1.2;letter-spacing:-.025em}
body .bubble-accent{color:var(--studio-coral)}
/* Extend the same alignment to the gallery, biography, reading view and contact. */
#work.home-work{padding-inline:var(--frame-gutter)}
body[data-page=home] .about>div{padding-inline:var(--frame-gutter)!important}
body #contact.footer-print{padding-inline:var(--frame-gutter)}
.bio-film-panel{padding-inline:var(--frame-gutter)}
.bio-intro,.bio-experience,.bio-skills,.bio-education{padding-inline:var(--frame-gutter)}
.research-intro,.research-footer{padding-inline:var(--frame-gutter)}
.research-header,.book-reader{margin-inline:var(--frame-gutter)}
#work .home-work-heading,.bio-section-heading,.research-header{border-color:#1c1a2430}
.bio-intro,.bio-skills{background-image:linear-gradient(90deg,var(--studio-coral)09 1px,transparent 1px);background-size:calc((100vw - 2 * var(--frame-gutter)) / 6) 100%;background-position:var(--frame-gutter) 0}
#work .home-work-heading h2{font-size:clamp(70px,8.5vw,150px)}
.editorial-title{font-size:clamp(56px,5.8vw,104px)!important}
body #contact.footer-print .footer-location{letter-spacing:.1em}
@media(min-width:768px) and (max-width:1100px){
 body[data-page=home] .hero-header{min-height:64px}
 body[data-page=home] .hero__name{font-size:17px}
 body[data-page=home] .hero-nav a{padding:10px 12px;font-size:12px}
 body[data-page=home] .site-brand{gap:10px}.site-brand img{width:44px}
}
@media(max-width:767px){
 :root{--frame-gutter:24px}
 body[data-page=home] .hero{padding:18px 24px 0;min-height:100svh}
 body[data-page=home] .hero-header{min-height:60px;padding-bottom:12px}
 body[data-page=home] .hero-copy{flex:0;display:flex;padding:20px 0 0!important}
 body[data-page=home] .hero-note{width:min(100%,370px);max-width:100%;margin:18px 0 0}
 body[data-page=home] .hero h1{font-size:9.7vw;width:100%;margin:0;line-height:1.02;letter-spacing:-.045em}
 body[data-page=home] .hero-all{margin:0;font-size:1em}
 .site-brand img{width:42px;height:30px}.hero-guides:before{background-size:25% 100%;opacity:.5}
 body .bubble-line{font-size:17px}body .mascot-bubble__body{padding:15px 18px 17px}
 #work.home-work{padding-inline:24px}#work .home-work-heading h2{font-size:15vw}
 .editorial-title{font-size:clamp(48px,12vw,76px)!important}
 .bio-intro,.bio-skills{background-image:none}
 .research-header{padding-inline:0}.research-intro,.research-footer{padding-inline:24px}
}
@media(max-height:700px) and (min-width:768px){body[data-page=home] .hero h1{font-size:min(7vw,14svh)}body[data-page=home] .hero-copy{padding-bottom:22px!important}}
@media(max-height:700px) and (max-width:767px){body[data-page=home] .hero-copy{padding-top:10px!important}body[data-page=home] .hero-note{margin-top:12px}body[data-page=home] .hero h1{font-size:9.7vw}}
/* Story text keeps its scroll-driven reading, in a clear slot above the guide. */
@media(min-width:768px) and (orientation:landscape){
 body[data-page=home] .tour__bubble{position:fixed;top:18svh;left:var(--frame-gutter);width:calc((100vw - 2 * var(--frame-gutter) - 2 * var(--gutter)) / 3)}
 body[data-page=home] .tour__chapter:nth-child(even) .tour__bubble{left:auto;right:var(--frame-gutter)}
}
body[data-page=home] .tour__chapter:first-child .tour__title .button{background:#f7f5f0!important;color:#1c1a24!important;border-color:#f7f5f0!important}
/* Plain professional role and a single-screen contact composition. */
body[data-page=home] .hero-note{position:static;display:flex;flex-wrap:wrap;gap:0 .3em;width:auto;max-width:70%;margin:auto 0 28px;font-size:clamp(22px,2.1vw,34px);line-height:1.3;font-weight:500;letter-spacing:-.025em}
body[data-page=home] .hero-note small{font-size:.7em;font-weight:400}
body[data-page=home] .hero-note .role-secondary{color:var(--studio-coral);opacity:1}
body[data-page=home] .hero h1{margin:0}
body #contact.footer-print.footer-print{box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;height:100svh;height:100dvh;min-height:0;max-height:none;padding:clamp(24px,5vh,56px) clamp(24px,5vw,80px) max(24px,env(safe-area-inset-bottom));gap:20px;background:var(--studio-lime-soft);color:#1c1a24;isolation:isolate}
body #contact.footer-print.footer-print:before{display:none}
body #contact.footer-print.footer-print>div{flex:none;min-height:0;width:100%;max-width:none}
body #contact.footer-print.footer-print .footer-location{color:var(--studio-coral)!important;font-size:12px;margin:0 0 clamp(24px,5vh,60px);letter-spacing:.1em}
body #contact.footer-print.footer-print h2{margin:0;font-family:var(--font-sans);font-size:min(11vw,19dvh);line-height:1;letter-spacing:-.055em;max-width:none;font-weight:500;color:#1c1a24}
body #contact.footer-print.footer-print .footer-line-first{font-size:.3em;letter-spacing:-.02em;margin-bottom:.6em;font-weight:400;text-shadow:none}
body #contact.footer-print.footer-print .footer-line-last{margin:0;font:inherit;padding:0}
body #contact.footer-print.footer-print .footer-outline{-webkit-text-stroke:1px var(--studio-coral);color:transparent!important}
body #contact.footer-print.footer-print .footer-ink{color:var(--studio-coral)!important}
body #contact.footer-print.footer-print .footer-email{font-size:clamp(16px,2vw,28px);margin-top:clamp(20px,4vh,40px);padding:8px 0 12px;color:#1c1a24;border-color:var(--studio-coral)60;white-space:normal;overflow-wrap:anywhere;max-width:100%}
body #contact.footer-print.footer-print>div:nth-child(2){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 26px;width:58%;border-top:1px solid var(--studio-coral)40;padding-top:18px}
body #contact.footer-print.footer-print>div:nth-child(2):before,body #contact.footer-print.footer-print>div:nth-child(2):after{display:none}
body #contact.footer-print.footer-print>div:nth-child(2)>a,body #contact.footer-print.footer-print>div:nth-child(2)>button,body #contact.footer-print.footer-print>div:nth-child(2)>span{font-size:14px;color:#1c1a24;letter-spacing:0;line-height:1.3;margin:0}
body #contact.footer-print.footer-print>div:nth-child(2)>a,body #contact.footer-print.footer-print>div:nth-child(2)>button{min-height:44px;display:inline-flex;align-items:center}
body #contact.footer-print.footer-print>div:nth-child(2)>span{order:5;flex-basis:100%;font-size:12px}
@media(max-width:767px){
 body[data-page=home] .hero-note{max-width:100%;display:block;font-size:clamp(19px,5vw,27px);margin:0 0 24px}
 body[data-page=home] .hero-note span{display:block}
 body[data-page=home] .hero-note .role-secondary{font-size:.85em;margin-top:3px}
 body #contact.footer-print.footer-print{padding:24px 24px max(20px,env(safe-area-inset-bottom));gap:12px}
 body #contact.footer-print.footer-print .footer-location{font-size:10px;margin-bottom:clamp(24px,7dvh,64px)}
 body #contact.footer-print.footer-print h2{font-size:min(18vw,13dvh)}
 body #contact.footer-print.footer-print .footer-line-first{font-size:.36em}
 body #contact.footer-print.footer-print .footer-email{font-size:clamp(14px,4.3vw,20px);margin-top:24px}
 body #contact.footer-print.footer-print>div:nth-child(2){width:52%;gap:0 14px;padding-top:12px}
 body #contact.footer-print.footer-print>div:nth-child(2)>a,body #contact.footer-print.footer-print>div:nth-child(2)>button{font-size:13px}
 body #contact.footer-print.footer-print>div:nth-child(2)>span{font-size:10px;line-height:1.5;margin-top:8px}
}
@media(max-height:500px) and (orientation:landscape){
 body #contact.footer-print.footer-print{padding:16px 32px;gap:8px}
 body #contact.footer-print.footer-print .footer-location{margin-bottom:16px}
 body #contact.footer-print.footer-print .footer-email{margin-top:12px;font-size:16px}
 body #contact.footer-print.footer-print>div:nth-child(2){gap:4px 18px;padding-top:8px;width:65%}
 body #contact.footer-print.footer-print>div:nth-child(2)>span{flex-basis:auto}
}

body #contact.footer-print.footer-print .footer-line-first,body #contact.footer-print.footer-print .footer-email,body #contact.footer-print.footer-print .footer-social,body #contact.footer-print.footer-print>div:nth-child(2)>*{color:#1c1a24!important}

@media(max-width:767px){body[data-at-contact] [data-back-top]{top:max(20px,env(safe-area-inset-top));bottom:auto}}
body[data-page=home] .hero-note>span{font-size:inherit;line-height:inherit;font-weight:inherit;color:#1c1a24!important}
body[data-page=home] .hero-note>.role-secondary{color:var(--studio-coral)!important}
@media(max-width:767px){body[data-page=home] .hero-note>.role-secondary{font-size:.85em}}
/* Keep the headline readable: the r/n pair must not collapse into an m. */
body[data-page=home] .hero h1{letter-spacing:-.012em;font-kerning:normal}
body[data-page=home] .hero-note{margin-bottom:36px}
@media(max-width:767px){body[data-page=home] .hero h1{font-size:9.35vw;letter-spacing:-.012em;line-height:1.08}body[data-page=home] .hero-note{margin-bottom:28px}}
