/* Local demo: mobile layouts keep all imagery uncropped. */
.mobile-play{display:none;}
@media (max-width:767px) {
  :root { --pad-x:20px; --fs-display:48px; --fs-h1:30px; --fs-lead:19px; --fs-body:16px; }
  html,body { width:100%; overflow-x:clip; }
  .chrome { padding: max(12px,env(safe-area-inset-top)) 20px 10px; align-items:center; background:rgba(255,255,255,.96); }
  .brand { font-size:34px; }
  .language-switch { margin:0; }
  .language-switch button { min-height:44px; min-width:48px; }
  .stage { top:76px; height:38svh; bottom:auto; }
  .stage video { object-fit:contain; object-position:center; }
  .stage__wash { background:none; }
  .hero { height:170svh; min-height:950px; }
  .hero__stage { position:sticky; top:0; display:block; min-height:100svh; padding:calc(76px + 38svh) 20px 24px; }
  .hero__nav { display:none; }
  .hero__copy { padding:20px 0 0; background:white; max-width:100%; }
  .hero__copy h1 { font-size:clamp(42px,12vw,62px); line-height:1.02; margin:12px 0 18px; }
  .hero__copy .t-small { font-size:13px; line-height:1.65; }
  .hero__copy .t-lead { font-size:19px; line-height:1.5; }
  .hero__copy p { margin-bottom:14px; }
  .hero__copy .btn { margin:4px 4px 0 0; padding:10px 16px; }
  .craft { height:150svh; min-height:950px; }
  .craft__stage { position:sticky; top:0; display:block; min-height:100svh; padding:calc(76px + 38svh) 20px 24px; }
  .craft__statement { padding:20px 0; margin:0; background:white; font-size:28px; line-height:1.3; }
  .specs { background:white; margin:0; }
  .specs__row { gap:12px; font-size:13px; }
  .mats { display:none; }
  .work,.case-studies,.services,.journal,.about,.contact { padding:64px 20px; background:white; }
  .work__head,.case-studies__head,.services__inner,.journal__inner,.about__grid { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
  .work__head h2 { font-size:44px; line-height:1.1; overflow-wrap:anywhere; }
  .work-grid { display:flex; flex-direction:column; gap:36px; }
  .work-card { width:100%; }
  .work-card__meta { font-size:14px; }
  .case,.case--reverse { display:flex; flex-direction:column; gap:20px; padding:32px 0; scroll-margin-top:90px; }
  .case__visual { margin:0; width:100%; }
  .case__body,.case__facts { width:100%; min-width:0; }
  .case__title { font-size:28px; overflow-wrap:anywhere; }
  .case__facts li { gap:16px; }
  .case__facts li span:last-child { text-align:right; }
  .case__actions a { padding:10px 0; min-height:44px; }
  .moth-archive__grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .journal-item { grid-template-columns:minmax(0,1fr); gap:8px; }
  .service { grid-template-columns:30px minmax(0,1fr); gap:12px; }
  .contact__inner { display:block; }
  .contact h2 { font-size:44px; line-height:1.15; margin:20px 0; }
  .contact__inner > div:last-child { margin-top:28px; max-width:100% !important; overflow-wrap:anywhere; }
  img { max-width:100%; height:auto; }
}
@media (max-width:767px) {
  .hero,.craft {height:auto;min-height:0;}
  .hero__stage {position:relative;display:block;padding:88px 20px 40px;min-height:0;}
  .stage {position:relative;inset:auto;width:calc(100% + 40px);margin:0 -20px;height:clamp(230px,62vw,420px);pointer-events:auto;}
  .stage video {object-fit:contain;}
  .mobile-motion-fallback {position:absolute;inset:0;z-index:4;width:100%;height:100%;object-fit:contain;background:#fff;pointer-events:none;}
  .hero__copy {padding-top:24px;}
  .craft__stage {position:relative;min-height:0;padding:32px 20px 48px;background:white;}
  .mobile-play {display:block;position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);padding:12px 20px;border:1px solid #cad0d2;border-radius:24px;background:white;white-space:nowrap;}
  .mobile-play[hidden]{display:none;}
  .reveal,.work-card {opacity:1;transform:none;filter:none;}
}
@media (max-width:767px) and (max-height:700px) {
  .stage { height:30svh; }
  .hero__stage,.craft__stage { position:relative; padding-top:calc(76px + 30svh); }
  .hero,.craft { height:auto; min-height:100svh; }
}

/* Mobile keeps the featured poster grid as the visual index and turns the
   longer project archive into a compact text-only continuation. */
@media (max-width:767px) {
  #goldfish-visual-assets,
  .moth-archive,
  .case-list .case__facts { display:none; }
  .case-list .case__visual { display:block; width:100%; margin:0 0 20px; }
  .case-studies__head { margin-bottom:20px; }
  .case-studies__head h2,
  .case-studies__head > p:not(.t-small) { display:none; }
  .case-list .case { display:block; padding:26px 0 32px; }
  .case-list .case__body { width:100%; }
  .case-list .case__body > p.t-body { margin-top:12px; }
  .case-list .case__role { margin-top:12px; }
}
