/* Responsive layout. Kept after style.css so each screen size has one owner.
   Phone: <600px. Tablet: 600-1023px. Desktop: >=1024px. */
:root{--pad:clamp(20px,4.5vw,72px)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.wrap{width:calc(100% - var(--pad) * 2);max-width:var(--max)}
.site-header{height:auto;min-height:80px;padding-block:12px}
.site-header>*{flex-shrink:0}
.hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.hero h1{font-size:clamp(44px,5.6vw,82px);white-space:normal}
.project-grid,.film-grid,.concept-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.featured{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.about-section{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
.expertise,.writing-section{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-meta,.film-meta{flex-wrap:wrap;gap:5px 16px}
.project-meta{font-size:12px}
.project-meta>span,.film-meta>span{min-width:0}
.section-intro,.featured-copy,.concept-caption,.dialog-info,.proof-client{overflow-wrap:break-word}
.button{max-width:100%;gap:clamp(16px,3vw,40px)}
.button>span,.text-link>span,summary>span:last-child{flex-shrink:0}
.contact-bottom{flex-wrap:wrap}
.contact-bottom>div{min-width:0}
.contact-email{overflow-wrap:anywhere}
.social-links{flex-wrap:wrap;gap:8px 28px}
.social-links>a,.proof-links>a{display:inline-flex;align-items:center;min-height:44px}
.proof-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.dialog-body{grid-template-columns:minmax(0,.8fr) minmax(0,1fr)}
.dialog-top>span{min-width:0;overflow-wrap:anywhere}
.dialog-close{flex-shrink:0}
.gallery-stage{min-height:0}
dialog{max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}
.hero-art{max-width:100%}
.pen-motion{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}

@media(min-width:1024px){
 .project:last-child{grid-column:1/-1}
 .project:last-child .project-visual{aspect-ratio:2.6}
 .project:last-child .project-visual>img{max-height:330px}
 .project-grid.is-filtered .project:last-child{grid-column:auto}
 .project-grid.is-filtered .project:last-child .project-visual{aspect-ratio:1.22}
}
@media(min-width:1500px){
 .hero{min-height:740px}.hero-art{height:600px}
}
@media(max-width:1023px){
 .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 12px;min-height:76px;padding:10px var(--pad)}
 .site-header .nav-logo{grid-column:1;grid-row:1;width:max-content;font-size:26px}
 .nav-contact{grid-column:2;grid-row:1;margin:0;gap:18px;padding:8px 18px}
 .menu-toggle{grid-column:3;grid-row:1;display:none}
 .js .menu-toggle{display:block}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4.5px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4.5px) rotate(-45deg)}
 .site-header nav{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:12px}
 .site-header nav a{display:flex;align-items:center;min-height:44px}
 .js .site-header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px var(--pad) 24px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 20px 35px #17221b15;z-index:11;max-height:calc(100dvh - 80px);overflow-y:auto}
 .js .site-header nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:8px;animation:menu-enter .25s var(--ease) both}
 .site-header nav.is-open a{font-size:24px;min-height:48px}
 .hero{min-height:580px;padding-top:28px;padding-bottom:70px;gap:12px}
 .hero-copy{padding:12px 0}
 .hero .eyebrow{font-size:11px;letter-spacing:.06em;margin-bottom:22px}
 .hero h1{font-size:clamp(36px,5.2vw,54px)}
 .hero-description{font-size:16px;margin-top:26px;max-width:32ch}
 .hero-art{height:420px}.art-note{font-size:12px;right:8px;top:20px}.art-spark{font-size:62px;right:8px}
 .hero-signature{margin-top:28px}.primary{margin-top:26px}
 .work-section{padding-block:76px 90px}
 .section-intro{margin-bottom:36px}
 .section-intro>p:not(.eyebrow){font-size:16px}
 .featured{margin-bottom:60px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
 .featured-copy{padding:28px}.featured h3{font-size:36px;margin:24px 0 18px}.featured p{max-width:none}
 .featured-image>img{object-fit:contain}
 .work-toolbar{align-items:flex-start;flex-direction:column;gap:22px}
 .project-grid{gap:44px 24px}.project:nth-child(even){margin-top:0}
 .project-visual{padding:24px;aspect-ratio:1.1}
 .project h3{font-size:25px}.project-meta{font-size:11px;justify-content:flex-start}
 .about-section,.expertise,.writing-section{gap:40px}
 .about-section{padding-block:75px}.about-portrait>img{height:430px}.portrait-label{right:-12px;font-size:20px;padding:8px 18px}
 .about-copy h2{font-size:38px}.about-copy blockquote{font-size:22px}
 .expertise{padding-block:30px 80px}.expertise h2{font-size:35px}
 .film-section{padding-block:80px}.film-grid{gap:44px 24px}.film h3{font-size:25px}
 .writing-section{padding-block:85px}.writing-section h2{font-size:43px}.writing-list summary{font-size:22px}
 .horizon-section{padding-block:80px}.concept-grid{gap:24px}
 .concept-art{aspect-ratio:1}.guinness strong{font-size:clamp(30px,4.2vw,43px)}
 .guinness .concept-art>img:first-child{width:90px;height:50px;margin-bottom:12px}.guinness .guinness-strip{height:58px}
 .duo strong{font-size:clamp(32px,4.5vw,46px);left:24px;top:28px}.duo-phone{right:22px}.concept-caption h3{font-size:25px}
 .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .contact-section{padding-block:68px 36px}.contact-section h2{font-size:clamp(48px,7vw,74px)}
 .contact-email{font-size:22px}
 dialog{width:calc(100% - 32px)}
 .dialog-body{padding:24px;gap:24px}.dialog-info h2{font-size:35px}.gallery-stage img{padding:14px}
}
@media(min-width:600px) and (max-width:767px){
 .hero{grid-template-columns:1fr;min-height:0;padding-top:38px;padding-bottom:65px}
 .hero-copy{max-width:540px}.hero h1{font-size:clamp(46px,7.5vw,58px)}
 .hero-art{height:310px;width:min(70%,390px);justify-self:center;margin-top:-20px}
 .hero-description{max-width:40ch}.hero .eyebrow{font-size:12px}
 .about-section,.expertise,.writing-section{grid-template-columns:1fr;gap:32px}
 .about-portrait{width:min(68%,360px);margin-inline:auto}.about-portrait>img{height:420px}
 .about-copy>p:not(.eyebrow){max-width:100%}
 .about-copy h2{font-size:44px}
 .featured{grid-template-columns:1fr}.featured-image{aspect-ratio:1.5}.featured-image>img{object-fit:contain}
 .featured h3 br{display:none}.featured-copy{padding:30px}
 .dialog-body{grid-template-columns:1fr}.gallery{order:-1}.gallery-stage{aspect-ratio:auto;height:min(54dvh,440px)}
}
@media(max-width:599px){
 :root{--pad:clamp(18px,5vw,28px)}
 html{scroll-padding-top:20px}
 .site-header{min-height:70px;gap:0 8px;padding-inline:max(var(--pad),env(safe-area-inset-left)) max(var(--pad),env(safe-area-inset-right))}
 .site-header .nav-logo{font-size:24px}.logo-star{font-size:29px}
 .nav-contact{font-size:12px;gap:12px;padding:8px 14px}
 .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding-top:28px;padding-bottom:0}
 .hero-copy{padding:0}.hero .eyebrow{font-size:10px;letter-spacing:.04em;margin-bottom:20px}
 .hero h1{font-size:clamp(33px,8.5vw,49px);line-height:1.1}
 .hero-description{font-size:16px;line-height:1.55;margin-top:24px;max-width:35ch}
 .button{font-size:14px;min-height:52px;padding:14px 22px;white-space:normal;text-align:left}
 .primary{margin-top:24px}.hero-signature{margin-top:24px;font-size:13px}.hero-signature small{font-size:12px}
 .hero-art{height:clamp(230px,65vw,310px);width:min(100%,390px);align-self:center;margin-top:12px}
 .pen-motion{width:82%;height:96%}
 .art-note{font-size:11px;right:10px;top:22px}.art-spark{font-size:52px;right:14px;bottom:15px}
 .art-orbit{width:78%}.orbit-two{width:91%}
 .hero-foot{position:static;font-size:11px;padding-block:17px;gap:18px;margin-top:14px;align-items:flex-start}
 .hero-foot>span{flex:1;min-width:0}.hero-foot>span:last-child{text-align:right}
 h2{font-size:clamp(34px,8.5vw,46px)}
 .work-section{padding-block:50px 60px}.section-intro{margin-bottom:28px}
 .section-intro>p:not(.eyebrow),.section-description{font-size:16px;margin-top:20px}
 .featured{grid-template-columns:1fr;margin-bottom:42px}
 .featured-image{aspect-ratio:1.3}.featured-image>img{object-fit:contain}
 .featured-copy{padding:25px}.featured h3{font-size:clamp(30px,8vw,38px);margin:20px 0 16px}.featured h3 br{display:none}
 .featured p{font-size:15px}.featured .text-link{margin-top:18px}
 .work-toolbar{gap:20px;margin-bottom:24px}.work-toolbar>h3{font-size:24px}
 .filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:6px}
 .filters button{min-width:0;min-height:46px;padding:10px 6px;font-size:12px;line-height:1.25}
 .project-grid,.film-grid,.concept-grid{grid-template-columns:minmax(0,1fr);gap:34px}
 .project:nth-child(even){margin-top:0}
 .project-visual,.project-grid.is-filtered .project:last-child .project-visual{aspect-ratio:1.12;padding:25px}
 .project-visual>img{max-height:360px}
 .project-meta{margin-top:15px;font-size:12px;gap:4px 12px}.project h3{font-size:25px;line-height:1.15}
 .project-open{width:44px;height:44px;right:12px;bottom:12px}
 .marquee{padding:18px 0;margin-bottom:20px}.marquee span{font-size:29px}
 .marquee-control button{font-size:12px}
 .about-section,.expertise,.writing-section{grid-template-columns:1fr;gap:32px}
 .about-section{padding-block:55px}.about-portrait{width:88%;max-width:360px;margin-inline:auto}
 .about-portrait>img{height:auto;aspect-ratio:4/5}
 .portrait-label{font-size:20px;right:-10px;bottom:22px}
 .about-copy h2{font-size:clamp(33px,8vw,42px)}.about-copy>p:not(.eyebrow){font-size:16px}.about-copy blockquote{font-size:22px;line-height:1.5}
 .eyebrow{font-size:11px;letter-spacing:.08em;margin-bottom:20px}
 .expertise{padding-block:20px 58px;gap:22px}.expertise h2{font-size:34px}.expertise summary{font-size:21px}
 .expertise details p{font-size:15px;padding-right:0}
 .film-section{padding-block:55px}.film-intro{margin-bottom:32px}.film-intro>p:last-child{font-size:16px}
 .film-grid{gap:36px}.film h3{font-size:26px}.film-meta,.film-credits{font-size:12px}
 .play-button{width:54px;height:54px}
 .writing-section{padding-block:58px;gap:22px}.writing-section h2{font-size:39px}
 .writing-section .section-description{font-size:16px}.writing-list summary{font-size:22px;padding-block:22px}
 .writing-list details p{font-size:15px}.writing-list .text-link{font-size:13px}
 .horizon-section{padding-block:55px}.horizon-section .section-intro h2{font-size:clamp(33px,8vw,43px)}
 .concept-grid{gap:36px}.concept-art{aspect-ratio:1.08}
 .guinness strong{font-size:clamp(36px,10vw,50px)}.guinness .concept-art>img:first-child{width:95px;height:50px}
 .duo strong{font-size:clamp(36px,10vw,48px);left:23px;top:28px}
 .duo-phone{right:20px}.concept-caption h3{font-size:25px}.concept-caption>span{font-size:12px}
 .concept-caption>a{display:grid;place-items:center;width:44px;height:44px;top:15px}
 .proof-section{padding-block:25px}.proof-section>details>summary{font-size:15px;min-height:48px}
 .proof-grid{gap:24px 18px}.proof-name{line-height:1.3}.proof-links{gap:4px 12px}
 .contact-section{padding-block:48px 28px}.contact-section>.wrap>p{font-size:12px;margin-bottom:25px}
 .contact-section h2{font-size:clamp(34px,9vw,54px);line-height:1.08}
 .contact-bottom{flex-direction:column;align-items:stretch;gap:26px;padding-block:28px}
 .contact-email{font-size:clamp(19px,5vw,24px)}
 .contact-bottom .download{width:100%;justify-content:space-between}
 .social-links{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;padding-top:20px;font-size:14px}
 footer{display:flex;flex-wrap:wrap;gap:12px 20px;padding-block:24px;font-size:12px;line-height:1.5}
 footer .nav-logo{width:100%;font-size:24px}
 dialog{width:100%;max-width:100%;max-height:100dvh;margin:auto 0 0;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 .dialog-top{padding:12px 16px;font-size:12px;gap:14px}.dialog-top>span{max-width:60%}
 .dialog-close{font-size:13px;min-height:46px;padding-inline:16px;gap:14px}
 .dialog-body{grid-template-columns:minmax(0,1fr);padding:16px;gap:24px}
 .gallery{order:-1}.gallery-stage{aspect-ratio:auto;height:min(46dvh,400px)}
 .gallery-stage img{max-height:none;padding:12px}
 .gallery-controls{margin-top:12px;gap:24px}.gallery-controls button{width:48px;height:48px}.gallery-controls p{font-size:13px}
 .dialog-info{padding:0 4px 18px}.dialog-info h2{font-size:clamp(29px,8vw,38px);margin-block:20px}
 .dialog-info>p{font-size:15px}#dialog-role{font-size:13px}.dialog-info .text-link{margin-top:20px}
}
@media(max-width:359px){
 .site-header{gap:0 4px}.site-header .nav-logo{font-size:22px}.nav-contact{gap:8px;padding-inline:11px}
 .hero .eyebrow{font-size:9px}.hero h1{font-size:33px}
 .filters button{font-size:11px}
 .proof-grid{grid-template-columns:1fr}
 .hero-foot{font-size:10px}.guinness .concept-art>img:first-child{height:42px;margin-bottom:8px}
}
@media(max-height:500px) and (orientation:landscape){
 .hero{min-height:0;padding-top:28px}.hero-art{height:260px}
 .js .site-header nav.is-open{gap:0;padding-block:8px}.site-header nav.is-open a{font-size:20px}
 dialog{max-height:100dvh}.dialog-top{padding-block:8px}
 .dialog-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:18px}
 .gallery{order:0;align-self:start;position:sticky;top:78px}
 .gallery-stage{height:55dvh;aspect-ratio:auto}.gallery-stage img{max-height:100%}
 .gallery-controls{margin-top:8px}.dialog-info h2{font-size:30px}
}
/* The illustration belongs between the headline and the introduction on mobile.
   The generic copy wrapper uses display:contents; the art stays aria-hidden. */
@media(max-width:767px){
 .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:28px;padding-bottom:0;min-height:0}
 .hero-copy{display:contents}
 .hero .eyebrow{order:1;margin-bottom:18px}
 .hero h1{order:2;margin:0;line-height:1.1}
 .hero-art{order:3;position:relative;align-self:center;justify-self:auto;flex:none;width:100%;max-width:380px;height:clamp(210px,59vw,280px);margin:22px auto 10px;perspective:none}
 .hero-art .pen-motion{width:clamp(160px,50vw,225px);height:100%;display:flex;align-items:center;justify-content:center;transform:none}
 .hero-art .pen-art{width:100%;height:100%;max-width:none;object-fit:contain;transform:rotate(-7deg);animation:mobile-art-enter .85s var(--ease) both}
 .hero-art .art-note{display:none}
 .hero-art .art-orbit{width:76%;max-width:285px;translate:none}
 .hero-art .orbit-two{width:88%;max-width:320px}
 .hero-art .art-spark{right:10%;bottom:25%;font-size:38px;translate:none;rotate:none}
 .hero-description{order:4;margin:12px 0 0;max-width:39ch}
 .hero .primary{order:5;align-self:flex-start;margin-top:22px}
 .hero-signature{order:6;margin-top:24px}
 .hero-foot{order:7;position:static;margin-top:26px;padding-block:16px}
}
@media(max-width:359px){
 .hero-art{height:205px;margin-top:18px}.hero-art .pen-motion{width:165px}
 .hero-art .art-spark{right:8%;font-size:32px}
}
@keyframes mobile-art-enter{
 from{opacity:0;transform:translateY(18px) rotate(1deg) scale(.94)}
 to{opacity:1;transform:translateY(0) rotate(-7deg) scale(1)}
}
@media(prefers-reduced-motion:reduce){.js .site-header nav.is-open{animation:none}}
@media print{
 .site-header,dialog{display:none!important}.wrap{width:100%}
 .hero,.about-section,.expertise,.writing-section{display:block;min-height:0}
 .project-grid,.film-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .project:nth-child(even){margin-top:0}.project:last-child{grid-column:auto}
 .hero-foot{display:none}
}
