/* Phone layouts: keep images wide and type comfortably readable. */
.menu-toggle{display:none}
@media(max-width:700px){
 html{scroll-padding-top:88px}
 body{font-size:15px;line-height:1.8}
 header{height:76px;min-height:76px;padding:8px 18px;display:flex;gap:10px}
 .brand{margin-inline-end:auto;flex-shrink:0}
 .brand img{width:88px;height:56px}
 .language{font-size:13px;min-height:44px;padding:8px 15px}
 .menu-toggle{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}
 .menu-toggle svg{width:21px;height:21px}
 header nav{display:none;position:absolute;top:calc(100% + 8px);inset-inline:12px;width:auto;margin:0;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 35px #20343e20;grid-template-columns:1fr 1fr;gap:4px}
 header.menu-open nav{display:grid}
 header nav a,header nav a:nth-child(2),header nav a:nth-child(3){display:flex;justify-content:center;min-height:48px;font-size:14px;border-radius:12px}
 header nav a:hover{background:#e2ecf1}
 header nav a::after{display:none}
 .hero{height:auto;min-height:540px;max-height:none;margin:0 10px;border-radius:24px;display:flex;align-items:flex-end;padding:110px 22px 92px}
 .hero-copy{position:relative;inset:auto;max-width:100%;width:100%}
 .hero h1{font-size:clamp(29px,8vw,37px);line-height:1.28;letter-spacing:-.035em;margin-bottom:16px}
 html[lang=en] .hero h1{line-height:1.22}
 .hero-copy .eyebrow{font-size:10px;letter-spacing:.06em;margin-bottom:16px}
 .hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.85;margin:0 0 23px;max-width:100%}
 .hero-shade,html[lang=en] .hero-shade{background:linear-gradient(180deg,#10212c1a 0%,#10212c80 38%,#10212ce0 100%)}
 .hero-playback{top:18px;inset-inline-end:18px;min-height:44px;padding:9px 12px}
 .hero-foot{bottom:22px;inset-inline:22px;padding-top:15px;gap:12px;font-size:10px;line-height:1.65}
 .hero-foot>span{max-width:65%}
 .hero-foot>a{max-width:28%;font-size:10px}
 .button{min-height:46px;padding:11px 22px;font-size:13px}
 .section{padding:48px 22px}
 .intro{gap:22px;padding-bottom:40px}
 h2,.intro h2{font-size:29px;line-height:1.45}
 html[lang=en] h2{line-height:1.25}
 .eyebrow{font-size:10px;letter-spacing:.09em;margin-bottom:13px}
 .intro-copy>p,.web-service p:not(.eyebrow),.contact-bottom>p{font-size:14px;line-height:1.95}
 .services{gap:12px 16px;margin-top:23px;font-size:12px}
 .work,.process,.web-service{margin-inline:10px;border-radius:24px;padding-inline:20px}
 .work{padding-top:40px;padding-bottom:42px}
 .section-head{margin-bottom:28px;gap:18px}
 .section-note{font-size:13px;line-height:1.8;margin-top:14px;max-width:none}
 .gallery{grid-template-columns:minmax(0,1fr);gap:30px}
 .project:first-child .image-wrap,.project .image-wrap{aspect-ratio:16/9;border-radius:16px}
 .project .image-wrap{box-shadow:0 0 3px 1px #a5d5e2bb,0 0 14px 3px #79b4c773,0 0 26px 5px #467f954d}
 .project-info{display:block;margin-top:12px;padding:0 2px}
 .project h3{font-size:16px;line-height:1.55}
 .project .category{font-size:11px;line-height:1.7;margin-top:4px}
 .project-info>span{display:block;font-size:10px;padding-top:6px}
 .work+.process{margin-top:18px}
 .process-pair{margin-top:28px;gap:26px;grid-template-columns:minmax(0,1fr)}
 .video-label{font-size:11px;padding-bottom:10px;gap:12px}
 video{border-radius:16px}
 .video-grid,.films-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 .video-card h3{font-size:15px;margin-top:10px}
 .video-card p{font-size:12px}
 .extensions-head{margin-top:32px;padding-top:26px;padding-bottom:22px}
 .extensions-head h3{font-size:21px;line-height:1.5}
 .extensions-head p{font-size:13px;margin-top:12px}
 .web-service{grid-template-columns:minmax(0,1fr);gap:25px}
 .web-number img{width:150px;max-width:60%}
 .web-service .eyebrow{font-size:10px}
 .text-link{font-size:14px;min-height:44px;align-items:center}
 .contact h2{font-size:32px}
 .contact-bottom{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:25px;padding-top:22px}
 .contact-card{min-height:78px;padding:13px;gap:12px;border-radius:18px}
 .contact-icon{width:40px;height:40px}
 .contact-value{font-size:13px}
 .creator-credit{font-size:11px;padding:20px 22px 14px}
 footer{padding:18px 22px 25px;font-size:11px;gap:12px}
 .music-controls{bottom:12px;inset-inline-start:12px;gap:0;padding-inline-end:8px;max-width:calc(100vw - 24px)}
 .music-controls .music-toggle{font-size:11px;min-height:44px;padding:10px 12px;gap:7px}
 .music-controls input{width:48px}
 dialog{width:calc(100vw - 16px);max-height:90svh;padding:48px 10px 18px;border-radius:20px}
 .viewer-frame>img{height:auto;max-height:60svh;min-height:180px;aspect-ratio:16/10}
 .viewer-caption{display:grid;grid-template-columns:1fr auto;gap:12px;padding-top:15px}
 .viewer-caption>div{grid-column:1/-1;min-width:0}
 .viewer-caption h3{font-size:16px;line-height:1.5}
 .viewer-caption .eyebrow{font-size:11px}
 .viewer-caption>a{min-height:44px;display:flex;align-items:center}
 .viewer-arrow{width:44px;height:44px;min-width:44px}
}
@media(max-width:360px){
 header{padding-inline:12px}
 .hero{padding-inline:18px;min-height:530px}
 .hero h1{font-size:28px}
 .section{padding-inline:18px}
 .work,.process,.web-service{padding-inline:16px}
 .language{padding-inline:12px}
}

/* Two columns for images and videos on phones. */
@media(max-width:700px){
 .gallery,.process-pair,.video-grid,.films-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 .project:first-child{grid-column:auto}
 .project:first-child .image-wrap,.project .image-wrap{aspect-ratio:4/3;border-radius:12px}
 .project .image-wrap{box-shadow:0 0 2px 1px #a5d5e299,0 0 10px 2px #79b4c766}
 .project-info{margin-top:9px;padding:0}
 .project h3{font-size:12px;line-height:1.6}
 .project .category{font-size:10px;line-height:1.6;margin-top:3px}
 .project-info>span{font-size:9px;padding-top:4px;white-space:normal}
 .video-label{display:block;font-size:10px;line-height:1.7;padding-bottom:8px}
 .video-label span{display:block}
 video{border-radius:12px}
 .extensions-grid video{aspect-ratio:16/10}
 .video-card h3{font-size:12px;line-height:1.6;margin-top:9px}
 .video-card p{font-size:10px;line-height:1.7;margin-top:3px}
}

/* Consistent phone cards with aligned captions. */
@media(max-width:700px){
 .gallery,.process-pair,.video-grid,.films-grid{gap:16px 12px;align-items:stretch}
 .project,.video-card,.process-pair>article{min-width:0;overflow:hidden;border-radius:15px;background:#ffffff08;border:1px solid #a6c8d32b;display:flex;flex-direction:column;padding:8px}
 .project:first-child .image-wrap,.project .image-wrap{aspect-ratio:4/3;border-radius:10px;box-shadow:0 0 8px #79b4c74d;flex-shrink:0}
 .project-info{padding:9px 3px 3px;margin:0;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:7px}
 .project-info>div{min-width:0}
 .project h3{font-size:12px;line-height:1.55;min-height:3.1em;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .project .category{font-size:10px;line-height:1.65;min-height:3.3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px}
 .project-info>span{font-size:9px;padding:0;line-height:1.5}
 .process-pair>article{padding:8px;background:#ffffff08}
 .process-pair video,.video-card video,.extensions-grid video{aspect-ratio:4/3;object-fit:contain;border-radius:10px;background:#10212b}
 .video-label{order:1;padding:10px 3px 3px;margin:0;min-height:56px;font-size:10px;line-height:1.6;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
 .video-label span:first-child{font-size:10px;color:#c1d4df}
 .video-label span:last-child{font-size:11px;color:#f4f7f9}
 .video-card h3{padding:0 3px;font-size:12px;line-height:1.55;min-height:3.1em;margin:10px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .video-card p{font-size:10px;line-height:1.6;padding:0 3px;margin:5px 0 3px;min-height:1.6em}
 .films .video-card{background:#e7eef2;border-color:#d5e1e7}
 .section-head{margin-bottom:24px}
 .extensions-head{padding-bottom:20px}
}

/* Let the concealed blue lighting extend beyond each mobile frame. */
@media(max-width:700px){
 .project,.video-card,.process-pair>article{overflow:visible}
 .project .image-wrap,.project:first-child .image-wrap,.video-card video,.process-pair video{border:1px solid #a6d6e5cc;box-shadow:0 0 4px 1px #a5d5e2dd,0 0 15px 4px #79b4c780,0 0 28px 6px #467f9566}
 .project:hover .image-wrap,.project:focus-visible .image-wrap{box-shadow:0 0 5px 1px #bee5ef,0 0 18px 5px #79b4c799,0 0 32px 7px #467f9573}
 .gallery,.process-pair,.video-grid,.films-grid{gap:24px 16px}
}
