/* Mobile: the same Createful, with room to read and controls made for fingers. */
.cf-gallery-controls { display:none; }
picture { display:block; }
.soundcheck-host picture { flex:none; }
@media(max-width:760px) {
  :root { --container:min(1200px,calc(100% - 2rem)); }
  html { -webkit-text-size-adjust:100%; scroll-padding-top:5rem; }
  body { font-size:16px; }
  a,button { touch-action:manipulation; }
  .nav { padding:.6rem max(1rem,env(safe-area-inset-left)); min-height:64px; }
  .nav-logo { min-height:44px; display:flex; align-items:center; }
  .mobile-menu { height:100dvh; padding:calc(5rem + env(safe-area-inset-top)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); gap:.65rem; font-size:1.2rem; overscroll-behavior:contain; }
  .mobile-menu a { min-height:48px; flex:none; justify-content:center; }
  .mobile-menu .btn { width:min(100%,340px); margin-top:.6rem; }
  .hero { padding-top:4.8rem; }
  .hero-stickers { z-index:5; }
  .hero-title { font-size:clamp(2rem,12.2vw,4.6rem); }
  .hero-kicker { margin-bottom:1.3rem; }
  .hero-kicker .tape-label { font-size:.65rem; letter-spacing:.16em; }
  .hero-sub { font-size:1rem; line-height:1.6; margin-top:1.2rem; }
  .hero-ctas { max-width:360px; margin:1.35rem auto 0; gap:.8rem; }
  .hero-ctas .btn { width:100%; min-height:52px; padding:.85rem .65rem; display:flex; align-items:center; justify-content:center; }
  .hero-ctas .btn-ghost { width:calc(100% - 40px); }
  .hero-note { font-size:.7rem; line-height:1.55; max-width:34ch; margin:1rem auto 0; }
  .hero-stage { padding-bottom:6rem; }
  .hero-marquee { padding-block:.65rem; }
  .hero-marquee .marquee-track>span { font-size:1rem; }
  .manifesto,.erros,.tracklist,.trabalho,.processo,.equipa,.fit,.arcade { padding-block:3.5rem; }
  .slant-a,.slant-b,.arcade.slant-b { padding-top:calc(3.5rem + 3vw) !important; }
  .section-tag { gap:.65rem; font-size:.7rem; letter-spacing:.19em; margin-bottom:1.25rem; }
  .section-tag::after { flex:1 1 24px; max-width:56px; min-width:20px; }
  .manifesto-title,.erros-title,.tracklist-title,.trabalho-title,.processo-title,.equipa-title,.fit-title,.arcade-title { font-size:clamp(2rem,8.5vw,3.3rem); line-height:1.04; overflow-wrap:normal; }
  .manifesto-title,.erros-title,.processo-title,.equipa-title,.fit-title { margin-bottom:2rem; }
  .manifesto-layout .manifesto-body { font-size:1.08rem; line-height:1.6; }
  .manifesto-layout { gap:1.8rem; }
  .manifesto-img { width:calc(100% - .6rem) !important; margin-inline:auto; }
  .manifesto-img figcaption,.tracklist-foto figcaption,.processo-foto figcaption,.equipa-photo figcaption { max-width:calc(100% - 1rem); font-size:.6rem; letter-spacing:.1em; line-height:1.5; padding:.4rem .6rem; }
  .manifesto-img figcaption,.tracklist-foto figcaption { left:.3rem; }
  .processo-foto figcaption,.equipa-photo figcaption { right:.3rem; }
  .win95-photo figcaption { max-width:calc(100% - .8rem); width:max-content; white-space:normal; text-align:center; letter-spacing:.08em; padding:.45rem .6rem; }
  .win95-photo img { height:auto; }
  .erros-desktop { gap:1.4rem; }
  .win95-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.4rem; padding:.3rem .4rem; }
  .win95-title { font-size:.64rem; letter-spacing:.035em; overflow-wrap:anywhere; }
  .win95-btns { gap:.2rem; }
  .win95-btns button { width:44px; height:44px; font-size:.8rem; }
  .win95-body { padding:1rem .9rem .7rem; gap:.65rem; }
  .win95-icon { width:32px; height:32px; font-size:1.2rem; }
  .win95-body p { font-size:1rem; }
  .win95-actions { padding:.5rem .9rem 1rem; gap:.65rem; }
  .win95-btn { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:.5rem 1rem; font-size:.85rem; }
  .erros-bottom { margin-top:2.5rem; gap:2.5rem; }
  .erros-foto-col .win95-photo { width:min(100% - .6rem,320px); }
  .erros-note { font-size:1rem; }
  .tama-block { gap:1.4rem; }
  .tama-copy h3 { font-size:1.55rem; }
  .tama-legend { gap:.4rem .8rem; font-size:.75rem; }
  .tama-btns { gap:.7rem; }
  .tama-btns button { width:44px; height:44px; color:var(--branco); font-size:1.1rem; font-weight:900; }
  .tama-msg { min-height:3.2em; font-size:.68rem; letter-spacing:.08em; }
  .tracklist-head { gap:1.2rem; }
  .cartridge { width:116px; padding:.6rem .65rem .7rem; }
  .cartridge-grip { height:8px; margin-bottom:.4rem; }
  .cartridge-label { padding:.4rem .3rem; }
  .cartridge-label b { font-size:.6rem; }
  .cartridge-label i { font-size:.45rem; letter-spacing:.04em; }
  .cartridge-label img { width:20px; }
  .tracklist-intro,.trabalho-intro { font-size:1rem; line-height:1.6; }
  .service-shortcuts { margin:1.2rem 0 1.7rem; gap:.65rem; }
  .service-shortcuts .service-choice { min-height:64px; padding:.7rem; }
  .cassette { margin:2rem auto 2.4rem; width:calc(100% - .5rem); }
  .cassette-shell { padding:.8rem; }
  .cassette-label { font-size:.65rem; letter-spacing:.12em; }
  .cassette-window { padding:.65rem; gap:.6rem; }
  .cassette-wheel { width:42px; height:42px; border-width:3px; }
  .cassette-side { font-size:.58rem; letter-spacing:.18em; }
  .sides { grid-template-columns:minmax(0,1fr); gap:2rem; }
  .side-title { font-size:1.05rem; gap:.6rem; margin-bottom:1rem; }
  .track { gap:.6rem; padding:1rem .15rem; }
  .track-num { flex:0 0 1.5rem; font-size:1.1rem; }
  .track-info h4 { font-size:1.05rem; line-height:1.3; gap:.45rem; }
  .track-info p { font-size:1rem; line-height:1.5; }
  .bonus { margin-top:2.4rem; }
  .bonus-grid { gap:1rem; }
  .bonus-track { padding:1.1rem; }
  .bonus-track p { font-size:1rem; line-height:1.5; }
  .production-services { gap:1.2rem; }
  .production-services .capture-service { padding:1.15rem; }
  .capture-service p { font-size:1rem; line-height:1.6; }
  .megadrive-block { margin-top:2.4rem; gap:1.6rem; }
  .md-tv { width:calc(100% - .5rem); margin:auto; padding:.8rem; }
  .md-side h3 { font-size:1.6rem; }
  .studio-interlude { margin-top:2.5rem; gap:1.2rem; }
  .studio-interlude .tracklist-foto { width:min(260px,90%); }
  .studio-note .tracklist-rule { font-size:1rem; }
  .clients-marquee { margin:2rem 0; }
  .project-cases { gap:1.5rem; margin-top:1.5rem; }
  .project-case { box-shadow:4px 4px 0 rgba(49,137,175,.5); }
  .project-copy { padding:1rem; }
  .project-copy p { font-size:1rem; line-height:1.6; }
  .project-copy h3 { font-size:1.4rem; line-height:1.2; }
  .project-link { min-height:44px; display:inline-flex; align-items:center; line-height:1.4; padding:.65rem 0; }
  .gallery-hint { font-size:.7rem; padding:.4rem 1rem 0; }
  .capture-example { padding:.8rem; }
  .capture-example video { width:min(100%,300px); max-height:75svh; object-fit:contain; aspect-ratio:9/16; }
  .identity-grid { gap:.6rem; }
  .identity-mark { height:130px; }
  .processo-grid { gap:2rem; }
  .step { padding:1.2rem .15rem; }
  .step h3 { font-size:1.05rem; line-height:1.4; gap:.6rem; }
  .step p { font-size:1rem; line-height:1.5; }
  .processo-foto,.equipa-photo { width:min(280px,calc(100% - .6rem)); }
  .equipa-grid { gap:2rem; }
  .equipa-copy>p { font-size:1rem; line-height:1.6; }
  .socios { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; margin-top:1.5rem; }
  .socio { padding:.55rem .55rem .7rem; }
  .socio h3 { font-size:.88rem; line-height:1.3; }
  .equipa-copy .socio-role { font-size:.6rem; letter-spacing:.04em; }
  .socio-links a { min-height:44px; display:inline-flex; align-items:center; }
  .gameboy { width:min(300px,calc(100% - .6rem)); padding:1rem .75rem 1.15rem; }
  .gameboy-screen { height:112px; }
  .gameboy-screen p { font-size:.8rem; line-height:1.4; letter-spacing:.08em; }
  .gameboy-dpad { width:132px; height:132px; flex:none; }
  .dp-v { width:44px; height:132px; left:44px; }
  .dp-h { width:132px; height:44px; top:44px; }
  .dp-btn { width:44px; height:44px; }
  .dp-up { left:44px; top:0; }
  .dp-down { left:44px; bottom:0; }
  .dp-left { left:0; top:44px; }
  .dp-right { right:0; top:44px; }
  .gameboy-ab { gap:10px; transform:rotate(-15deg); }
  .gameboy-ab button { width:44px; height:44px; font-size:.8rem; }
  .gameboy-startselect { margin-top:.75rem; gap:1rem; }
  .gb-flat { min-width:64px; min-height:44px; font-size:.65rem; padding-top:18px; }
  .gb-flat::before { top:4px; width:32px; height:10px; }
  .fit-grid { grid-template-columns:minmax(0,1fr); gap:1.5rem; }
  .fit-panel { padding:1.3rem 1.15rem; }
  .fit-panel h3 { font-size:1.1rem; line-height:1.35; gap:.6rem; }
  .fit-panel .btn { max-width:100%; min-height:48px; padding:.75rem .6rem; font-size:.8rem; }
  .fit-gameover { letter-spacing:.12em; font-size:.7rem; }
  .soundcheck-host { gap:.8rem; }
  .soundcheck-host img { width:80px; height:80px; }
  .soundcheck-host span { font-size:.88rem; }
  .arcade-sub { font-size:1rem; line-height:1.6; margin:1.5rem auto 1.7rem; }
  .arcade .btn-huge { max-width:100%; font-size:.9rem; padding:1rem .65rem; }
  .arcade-note { font-size:.7rem; letter-spacing:.06em; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:1.7rem 1rem; padding-block:2.3rem; }
  .footer-brand,.footer-grid>.footer-col:nth-child(2) { grid-column:1/-1; }
  .footer-brand { display:flex; align-items:center; gap:1.1rem; }
  .footer-brand .footer-logo { width:90px; flex:none; }
  .footer-brand .footer-tagline { font-size:.85rem; margin-top:0; }
  .footer-col h4 { margin-bottom:.5rem; }
  .footer-col p { margin-bottom:.1rem; }
  .footer-col a { min-height:44px; display:inline-flex; align-items:center; font-size:.95rem; }
  .footer-bottom { padding-bottom:calc(6.2rem + env(safe-area-inset-bottom)); }
  .cf-floating-actions { flex-direction:row; gap:.6rem; }
  .cf-floating-action { box-shadow:3px 3px 0 var(--preto),0 0 0 1px var(--branco); }
  .cf-motion-paused .gameboy-screen p,.cf-motion-paused .tama-pet { animation-play-state:paused; }
}
@media(max-width:700px) {
  .cf-gallery-controls { display:flex; align-items:center; justify-content:space-between; gap:.7rem; padding:.55rem .75rem 0; }
  .cf-gallery-controls button { width:44px; height:44px; flex:none; border:2px solid var(--branco); background:transparent; color:var(--branco); font:900 1.15rem var(--body); cursor:pointer; }
  .cf-gallery-controls button:disabled { opacity:.35; cursor:default; }
  .cf-gallery-status { font-size:.75rem; font-weight:700; letter-spacing:.12em; }
}
@media(max-width:760px) and (max-height:520px) {
  .mobile-menu { justify-content:flex-start; gap:.4rem; }
  .mobile-menu a { min-height:44px; }
}
@media(hover:none) { .cf-action-label { display:none; } }
