/* Phone-only refinements. This stylesheet is disabled above 600px. */
@media(max-width:600px){
  /* One clear mobile navigation treatment across every page. */
  body .site-header,body.photo-page .site-header.photo-header{height:76px;padding:0 6%;align-items:center}
  body.photo-page:not(.home-page) .site-header.photo-header{position:relative;background:#000;color:#fff}
  body .site-header .wordmark{flex-shrink:0}
  body .site-header .original-logo{width:174px;height:auto}
  body .site-header .menu-toggle{min-width:72px;min-height:44px;display:flex;align-items:center;justify-content:flex-end;gap:12px;position:relative;z-index:110;font-size:10px;letter-spacing:1px;text-transform:uppercase;padding:10px 0;color:#fff}
  body.home-page .site-header .menu-toggle{color:#111}
  body .site-header .menu-toggle[aria-expanded=true]{color:#fff}
  body .site-header .menu-toggle>span{font-size:0;width:23px;height:16px;position:relative;display:block}
  body .site-header .menu-toggle>span:before,body .site-header .menu-toggle>span:after{content:"";position:absolute;left:auto;right:0;width:23px;height:1px;background:currentColor}
  body .site-header .menu-toggle>span:before{top:4px}
  body .site-header .menu-toggle>span:after{bottom:4px;width:15px}
  body .site-header .menu-toggle[aria-expanded=true]>span:before{top:7px;width:23px;transform:rotate(45deg)}
  body .site-header .menu-toggle[aria-expanded=true]>span:after{bottom:8px;width:23px;transform:rotate(-45deg)}
  body .site-header:has(#navigation.is-open) .wordmark{position:relative;z-index:110}
  body .site-header #navigation{display:none;position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;margin:0;padding:110px 6% calc(85px + env(safe-area-inset-bottom,0px));background:#090909;color:#fff;border:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;counter-reset:mobile-nav;z-index:105}
  body .site-header #navigation.is-open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0}
  body .site-header #navigation:before{content:"MIKK STUDIO / EXPLORE";display:block;flex-shrink:0;font-size:8px;line-height:1.4;letter-spacing:1.3px;color:#888;margin:0 0 28px}
  body .site-header #navigation>a{display:flex;flex-shrink:0;align-items:baseline;gap:18px;width:100%;min-height:52px;padding:14px 0;margin:0;border:0;color:#fff;font-size:30px;line-height:1.2;letter-spacing:-.7px}
  body .site-header #navigation>a:before{counter-increment:mobile-nav;content:counter(mobile-nav,decimal-leading-zero);font-size:8px;letter-spacing:.5px;color:#888;min-width:16px}
  body .site-header #navigation>a:after{display:none}
  body .site-header #navigation .nav-contact{margin-top:18px;padding-top:24px;border-top:1px solid #333}
  body .site-header #navigation .nav-contact>span{font-size:20px;margin-left:auto}
  body:has(.menu-toggle[aria-expanded=true]){overflow:hidden}
  /* Show complete opening photographs rather than a narrow centre crop. */
  body .project-opening{height:auto;min-height:0;max-height:none;overflow:visible;background:#fff}
  body .project-opening>img{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
  body .project-opening:after{display:none}
  body .project-lead{padding-top:25px}
  body .project-lead .case-heading{margin-top:26px;gap:20px}
  body .project-lead+.case-story{padding-top:28px;padding-bottom:30px;gap:30px}
  body .case-story dl>div{padding-top:12px;padding-bottom:12px}
  /* Full lead photographs, followed by readable pairs of smaller details. */
  body .project-composition{--photo-gap:12px}
  body .project-composition .story-side{height:auto;justify-content:flex-start}
  body .project-composition .image-composition{display:block}
  body .project-composition .composition-stack{display:grid;grid-template-columns:1fr 1fr;gap:var(--photo-gap);margin-top:var(--photo-gap)}
  body .project-composition .image-sequence-row{display:grid;grid-template-columns:repeat(var(--mobile-columns,2),minmax(0,1fr));gap:var(--photo-gap);align-items:start}
  body .project-composition .image-sequence-row>figure{width:100%;max-width:none;min-width:0}
  body .project-composition .image-sequence-row>figure:nth-child(3),body .project-composition .single-image-row>figure{grid-column:1/-1}
  body .project-composition .image-sequence-row img{width:100%;height:auto;object-fit:contain}
  /* Portraits and the service photograph keep their complete composition. */
  body .studio-portrait img,body .team-member>img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
  body .studio-story{gap:30px}
  body .service-photo{height:auto;min-height:0}
  body .service-photo>img{height:auto;width:100%;object-fit:contain}
  body .team-grid{row-gap:38px}
  /* Comfortable form fields and safe spacing above the phone's home indicator. */
  body .form-grid input,body .form-grid select,body .form-grid textarea{font-size:16px;line-height:1.5;min-height:48px;width:100%;max-width:100%}
  body .form-grid textarea{min-height:150px}
  body .back-to-top-fixed{width:44px;height:44px;right:12px;bottom:max(18px,env(safe-area-inset-bottom,0px))}
  body .mono-footer .footer-bottom{padding-bottom:14px;padding-right:45px;line-height:1.8}
  body .footer-bottom>a[href="#top"]{display:none}
}
@media(max-width:359px){
  body .page-intro h1,body .contact-page h1{font-size:38px;letter-spacing:-1.2px}
  body .project-lead .case-heading h1{font-size:38px;letter-spacing:-1px;overflow-wrap:anywhere}
  body .site-header .original-logo{width:156px}
  body .site-header #navigation>a{font-size:28px}
  body .mono-hero h1{font-size:29px;line-height:1.18}
}
@media(max-width:600px){
  body .project-opening>img,body .project-composition img,body .mono-perspective .perspective-image img,body .studio-portrait img,body .team-member>img,body .service-photo>img{aspect-ratio:var(--mobile-image-ratio,auto)}
}
@media(max-width:600px){
  body.home-page .site-header .menu-toggle{z-index:110}
}
