/* Shared responsive layout for the complete studio website. */
@media(max-width:1000px){
 .intro,.services,.materials,.founder-home,.about-layout,.contact-layout,.enquiry-page .contact-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .intro-note{display:none}
 .client-note-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .section-heading{flex-wrap:wrap}
}
@media(max-width:900px){
 :root{--mobile-header:80px}
 header{height:var(--mobile-header);padding:10px var(--gutter);gap:16px;isolation:isolate}
 header .brand{flex:none;min-width:44px}
 header .brand-symbol{width:44px;height:58px}
 header .menu{display:block;min-height:44px;min-width:70px;padding:8px 14px;flex:none}
 header nav{position:absolute;top:100%;inset-inline:0;display:none;padding:16px var(--gutter) 24px;gap:4px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 15px 25px #302b2412;max-height:calc(100svh - var(--mobile-header));overflow-y:auto;overscroll-behavior:contain}
 header nav.open{display:flex}
 header nav a{display:block;min-height:46px;padding:11px 4px;font-size:15px;line-height:1.5}
 header nav a:after{display:none}
 header nav .nav-contact{margin-top:10px;padding:12px 16px;text-align:center}
}
@media(max-width:760px){
 :root{--gutter:clamp(18px,5vw,30px);--section-space:52px;--layout-gap:28px}
 html{scroll-padding-top:calc(var(--mobile-header) + 12px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
 body{font-size:15px;line-height:1.7}
 main{width:100%;min-width:0}
 .section{padding:var(--section-space) var(--gutter)}
 h1,.page h1,.about-layout h1,.contact-copy h1{font-size:clamp(32px,8.5vw,48px);line-height:1.12;overflow-wrap:break-word}
 .section h2{font-size:clamp(28px,7.3vw,38px);line-height:1.18}
 h3{overflow-wrap:break-word}
 .lede,.contact-copy>.lede{font-size:17px;line-height:1.65}
 .eyebrow{font-size:10px;letter-spacing:.12em;line-height:1.7;margin-bottom:16px}
 .section-heading,.journey-heading,.transformation-heading{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:26px}
 .section-heading .text-link{white-space:normal}
 .hero{height:calc(100svh - var(--mobile-header));min-height:490px;max-height:850px}
 .hero>img{object-fit:cover;object-position:center;animation:none}
 .hero-copy{top:auto;bottom:120px;left:var(--gutter);right:var(--gutter);max-width:none}
 .hero-copy h1{font-size:clamp(34px,9.5vw,52px);line-height:1.12;margin-bottom:24px}
 .hero .eyebrow{max-width:100%;font-size:9px;letter-spacing:.12em}
 .hero-bottom{left:var(--gutter);right:var(--gutter);bottom:24px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}
 .hero-bottom span:first-child{font-size:10px;max-width:140px;line-height:1.5}
 .hero-bottom #hero-counter{margin:0;font-size:10px;letter-spacing:.08em}
 .hero-bottom button{min-height:44px;font-size:11px;padding:8px 0;white-space:normal}
 .button{min-height:46px;padding:12px 20px;max-width:100%;white-space:normal;text-align:center;line-height:1.5}
 .studio-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px var(--gutter);font-size:9px;letter-spacing:.08em;text-align:center}
 .studio-strip i{display:none}
 .intro,.services,.materials,.founder-home,.reimagined,.about-layout,.contact-layout,.enquiry-page .contact-layout,.enquiry-next,.background-layout,.journal-article,.client-note-layout{grid-template-columns:minmax(0,1fr);gap:28px}
 .founder-home figure,.about-layout .founder-photo,.client-space{width:100%;max-width:100%;margin:0}
 .founder-home img,.founder-photo img,.about-layout .founder-photo img,.reimagined img{width:100%;height:auto;max-height:none;object-fit:contain}
 .founder-home>div,.intro>div>p{max-width:100%}
 .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}
 .project-card h3{font-size:20px;line-height:1.25;margin-top:14px}
 .project-card p{font-size:12px;line-height:1.6}
 .project-card .image-wrap:after{display:none}
 .filters{gap:8px;margin:28px 0}
 .filters button{min-height:44px;padding:9px 12px;font-size:12px}
 .gallery-row{gap:16px;margin-bottom:28px}
 .gallery-row .gallery-caption{font-size:12px;line-height:1.6;min-height:0;padding-top:12px}
 #detail-gallery .furniture-note{font-size:11px;line-height:1.5}
 .detail-hero:not(.compact-project-hero){height:65svh;min-height:420px;max-height:650px}
 .detail-hero:not(.compact-project-hero)>div{left:var(--gutter);right:var(--gutter);bottom:32px}
 .detail-hero h1,.compact-project-hero h1{font-size:clamp(30px,8vw,44px);line-height:1.15}
 .detail-hero.compact-project-hero{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:0;padding:28px var(--gutter) 36px;gap:24px}
 .detail-hero.compact-project-hero>img{width:100%;max-height:55svh;grid-column:1;grid-row:1;object-fit:contain}
 .detail-hero.compact-project-hero>div{position:static;grid-column:1;grid-row:2}
 .compact-project-hero .eyebrow{margin-top:18px}
 .project-intro{grid-template-columns:minmax(0,1fr);gap:20px}
 .project-intro h2{font-size:28px;line-height:1.25}
 .process-grid,.timeline,.studio-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;margin-top:28px}
 .process-grid h3,.studio-process-grid h3{font-size:21px;margin-top:18px}
 .process-grid p,.studio-process-grid p,.timeline p{font-size:14px}
 .project-next,.studio-process-end,.press-enquiries,.education{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
 .next-project-link{max-width:100%;text-align:left;overflow-wrap:anywhere}
 .drawing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .drawing-grid img{height:170px}
 .drawing-grid a{overflow-wrap:anywhere}
 .material-story,.material-story[data-material-tone="walnut"]{grid-template-columns:minmax(0,1fr)}
 .material-story>div{padding:26px var(--gutter)}
 .palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%}
 .palette button{min-width:0;font-size:10px;line-height:1.4;padding:4px 0;overflow-wrap:break-word}
 .palette button>span{width:min(52px,100%);height:auto;aspect-ratio:1;margin-inline:auto}
 .service-list summary{font-size:21px;gap:14px;line-height:1.35;min-height:44px}
 .faq summary{font-size:16px;line-height:1.5;min-height:44px}
 .client-quote blockquote p{font-size:23px;line-height:1.55}
 .client-author{flex-direction:column;gap:8px}
 .client-author span{text-align:left}
 .journal-story-grid,.journal,.transformation-stories{grid-template-columns:minmax(0,1fr);gap:30px}
 .journal-article.reverse>div{order:0}
 .journal-story-card{max-width:100%}
 .enquiry-panel{padding:24px var(--gutter)}
 .enquiry-panel form,form{grid-template-columns:minmax(0,1fr);gap:22px}
 .enquiry-panel input,.enquiry-panel select,.enquiry-panel textarea,input:not([type=range]),select,textarea{font-size:16px;line-height:1.5;min-height:46px;max-width:100%}
 .enquiry-panel label{font-size:13px}
 .enquiry-panel .form-note,.enquiry-panel #form-status{font-size:12px}
 .enquiry-panel button[type=submit]{width:100%}
 .studio-contact a,.enquiry-backup a{overflow-wrap:anywhere}
 .identity-heading{grid-template-columns:minmax(0,1fr);gap:18px}
 .identity-player,.identity-stage{width:100%;max-width:100%;min-width:0}
 .identity-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
 .identity-controls button{min-height:44px;font-size:12px}
 .identity-scrubber{order:6;flex:1 0 calc(100% - 75px);min-width:0}
 .identity-controls output{order:7;font-size:11px}
 .identity-status{font-size:10px;line-height:1.5}
 .reveal-comparison{height:clamp(300px,65svh,500px)}
 .reveal-footer{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
 .reveal-actions{display:flex;flex-wrap:wrap;gap:10px}
 .reveal-actions button{min-height:44px}
 .transformation-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .transformation-tabs button{min-height:48px;font-size:12px}
 .transformation-panels{padding:12px}
 footer{padding:48px var(--gutter) 24px;grid-template-columns:minmax(0,1fr);gap:28px}
 footer h2{font-size:clamp(29px,8vw,40px);line-height:1.18}
 footer p{font-size:13px}
 footer small{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
 dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:90svh;padding:56px 12px 16px;overflow:auto}
 dialog img{width:100%;max-width:100%;height:auto;max-height:70svh;object-fit:contain}
 dialog .close{position:absolute;top:8px;right:8px;min-height:44px;padding:8px 16px}
 #room-journey{padding-inline:0}
 #room-journey .journey-heading,#room-journey .journey-end{margin-inline:var(--gutter)}
 .geo-film.scroll-cinema .geo-journey-view{padding:3svh var(--gutter)!important}
 .geo-detail-note{width:100%;gap:12px}
 .geo-detail-signature{display:none}
 .geo-floor-note strong{font-size:12px;color:#433e34}
 .geo-floor-note small{font-size:9px;color:#75654e}
 .geo-film.scroll-cinema .geo-arrival-bridge img{object-fit:contain;background:var(--geo-studio)}
}
@media(max-width:600px){
 .project-grid,.gallery-row,.process-grid,.timeline,.studio-process-grid,.drawing-grid,.site-diary{grid-template-columns:minmax(0,1fr)!important}
 .gallery-row{gap:24px}
 .gallery-row img,.gallery-row>button:first-child img,.gallery-row>button:nth-child(7n) img{max-height:none;width:100%;height:auto;object-fit:contain}
 .project-grid{gap:32px}
 .site-diary img{width:100%;height:auto;max-height:none}
}
@media(max-width:360px){
 .hero-copy h1{font-size:33px}
 .hero-bottom{gap:8px}
 .hero-bottom span:first-child{max-width:95px}
 .palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .studio-strip{font-size:8px}
 .geo-film.scroll-cinema .geo-detail-note h3{font-size:18px}
}
@media(max-height:500px) and (max-width:900px){
 .hero{min-height:390px;height:calc(100svh - var(--mobile-header))}
 .hero-copy{bottom:100px}
 .hero-copy h1{font-size:34px;margin-bottom:16px}
 .geo-floor-note small{display:none}
 .geo-floor-note strong{font-size:11px}
 .geo-film.scroll-cinema .geo-tour-photo{max-height:calc(94svh - 94px);width:min(92vw,calc((94svh - 94px) * var(--shot-ratio,1.5)))!important}
 .geo-film.scroll-cinema .geo-tour-photo>img{max-height:calc(94svh - 94px)}
 .geo-detail-note{min-height:94px;padding-top:10px}
 .geo-detail-eyebrow{font-size:8px}
 .geo-film.scroll-cinema .geo-detail-note h3{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
 .geo-scroll-track,.geo-scroll-track:has(.cinema-photo-mode){height:auto!important}
}
