/* ───────────── zoom and short screens (Gal, 2026-10-16) ─────────────
   "the site looks different at 100% / 125% and 75% zoom — depends on the computer — I want it beautiful and sharp and not too big";
   "when it scales up, the top and bottom don't leave the middle screen better space".
   Browser zoom and Windows scaling change the CSS viewport the page lays out in: 1920×1080 at 125% is 1536×864, at 75% it is
   2560×1440; 1366×768 at 125% is 1093×614. At 1920×1080 (100%) nothing in this file changes Gal's look.
   1 · short screens: a slimmer header (≤ 900 / ≤ 800 tall) and smaller bottom items; the scroll cues go;
   2 · headings follow the width more gently, so 1536 (125%) is not oversized;
   3 · the hero sizes by the height left under the header too, not by the width alone;
   4 · above 1920 (75% zoom, 1440p screens at 100%) type, the header and the content width grow at 3/4 of the width's rate, so the
       page is not tiny and sparse there (stage caps: site.js);
   Type stays in px + vw with px floors (it grows with browser zoom: WCAG 1.4.4); no fixed width that could scroll sideways (1.4.10).
   Loaded last. */

/* 1 · short screens. The pinned scenes read the header's real height (--w2g-header, --cinema-header, the hero pin start). */
@media (min-width:1001px) and (max-height:900px){
  :root{--w2g-header:80px}
  .cinematic-journey{--cinema-header:80px}
  .site-header{height:80px}
  .wordmark{font-size:33px}
  .brand-mark{width:70px;height:51px;background-size:1304.2px 734px;background-position:-987.5px -11px}
  .site-header nav{gap:40px;font-size:18px}
  .header-cta{font-size:18px;min-height:50px;padding:9px 24px;gap:15px}
  html{scroll-padding-top:96px}
  .section-space{padding-block:88px}
  /* the bottom: one small item in one corner (the pause control, always there); the decorative scroll cues go */
  .global-motion-toggle{bottom:10px;left:12px;padding:6px 12px}
  .film-cue{display:none}
  .cinema-bottom>span{visibility:hidden}
  /* past the pinned scenes the bar slides away while reading down (site.js: html.w2g-hdr-hidden); never while focus is in it */
  .site-header{transition:transform .32s cubic-bezier(.16,1,.3,1)}
  html.w2g-hdr-hidden .site-header{transform:translateY(-100%)}
  html.w2g-hdr-hidden .site-header:focus-within{transform:none}
  .site-header:focus-within{transition:none}   /* keyboard focus brings it back at once */
}
@media (min-width:1001px) and (max-height:800px){
  :root{--w2g-header:68px}
  .cinematic-journey{--cinema-header:68px}
  .site-header{height:68px}
  .wordmark{font-size:29px;letter-spacing:-1.2px}
  .brand-mark{width:60px;height:45px;background-size:1120.2px 630.5px;background-position:-848.2px -9.4px}
  .site-header nav{gap:32px;font-size:17px}
  .header-cta{font-size:17px;min-height:46px;padding:8px 22px;gap:13px}
  html{scroll-padding-top:84px}
  .section-space{padding-block:72px}
  .cinema-bottom{bottom:14px}
}
@media (min-width:1001px) and (max-width:1250px) and (max-height:900px){
  .site-header nav{gap:26px;font-size:16px}
}
html.w2g-reduce .site-header{transition:none}
@media (prefers-reduced-motion:reduce){.site-header{transition:none}}
/* short phones (an SE at 375×667): the sticky contact bar a little lower */
@media (max-width:1000px) and (max-height:700px){
  .w2g-sticky .w2g-sticky-cta{min-height:50px;padding:9px 18px;font-size:17px;border-radius:17px}
  .w2g-sticky .w2g-sticky-cta svg{width:22px;height:22px}
}

/* 2 · headings: a gentler slope (px + vw), the same size at 1920; at 1536 (125%) about 11% smaller than before */
@media (min-width:1251px){
  .bright-hero .hero-copy h1{font-size:clamp(36px,calc(2.6vw + 16px),66px)}
}
@media (min-width:1001px){
  .section-heading h2{font-size:clamp(34px,calc(2.2vw + 14px),56px)}
  .cinema-caption h2{font-size:clamp(34px,calc(2.2vw + 14px),56px)}
  .contact-layout .section-heading h2{font-size:clamp(40px,calc(2.6vw + 15px),65px)}
  .partnership-layout .section-heading h2{font-size:clamp(32px,calc(1.6vw + 16px),47px)}
  .film-open{font-size:clamp(40px,calc(3vw + 20px),78px)}
  .film-captions{font-size:clamp(34px,calc(2.4vw + 14px),60px)}
}

/* 3 · the hero sizes by the height left under the header as well (a wide, short window no longer cuts its bottom) */
@media (min-width:1251px){
  .bright-hero .hero-grid{min-height:clamp(430px,min(37vw,calc(100svh - var(--w2g-header) - 150px)),620px)}
  .bright-hero .stage-box{height:clamp(400px,min(35vw,calc(100svh - var(--w2g-header) - 170px)),590px)}
}

/* 4 · above 1920: B at 1920 becomes B·(¼ + ¾·width/1920), i.e. calc(B·0.25px + B·0.0390625vw); 1.25 × B at 2560 */
@media (min-width:1921px){
  :root{--w2g-header:calc(24px + 3.75vw)}
  .cinematic-journey{--cinema-header:calc(24px + 3.75vw)}
  .site-header{height:calc(24px + 3.75vw)}
  html{scroll-padding-top:calc(27.5px + 4.3vw)}
  .content-width{max-width:calc(388.75px + 60.742vw)}
  .section-narrow,.services-layout,.contact-layout,.faq-section{max-width:calc(332.5px + 51.953vw)}
  .section-space{padding-block:calc(28px + 4.375vw)}
  /* film */
  .film-open{font-size:calc(19.5px + 3.047vw);inset-inline:max(56px,calc((100% - 388.75px - 60.742vw) / 2))}
  .film-captions{font-size:calc(15px + 2.344vw)}
  .film-rail{inset-inline-start:calc(var(--fx,0px) + max(56px,calc((100% - 388.75px - 60.742vw) / 2)))}
  .film-card{inset-inline-end:calc(var(--fx,0px) + max(56px,calc((100% - 388.75px - 60.742vw) / 2)))}
  /* hero */
  .bright-hero .hero-copy h1{font-size:calc(16.5px + 2.578vw)}
  .bright-hero .hero-description{font-size:calc(5.5px + 0.859vw)}
  .bright-hero .hero-buttons{margin-top:calc(7px + 1.094vw);gap:calc(4px + 0.625vw)}
  .bright-hero .hero-buttons .button{font-size:calc(4.75px + 0.742vw);min-height:calc(15.5px + 2.422vw);padding:calc(3.5px + 0.547vw) calc(7px + 1.094vw);gap:calc(4.25px + 0.664vw);border-radius:calc(5.5px + 0.859vw)}
  .bright-hero .hero-buttons .primary{min-width:calc(53.75px + 8.398vw)}
  .bright-hero .hero-grid{min-height:min(calc(186px + 29.063vw),calc(100svh - var(--w2g-header) - 170px))}
  .bright-hero .stage-box{height:min(calc(147.5px + 23.047vw),calc(100svh - var(--w2g-header) - 230px))}
  .bright-hero .service-brief h2{font-size:calc(5.5px + 0.859vw)}
  .bright-hero .service-brief p{font-size:calc(4px + 0.625vw);max-width:calc(52.5px + 8.203vw)}
  .bright-hero .service-strip .tone-icon{width:calc(15.75px + 2.461vw);height:calc(15.75px + 2.461vw)}
  /* journey (the art scales in site.js; the captions here) */
  .cinema-artbox{max-width:calc(287.5px + 44.922vw)}
  .cinema-captions{max-width:calc(105px + 16.406vw)}
  .cinema-caption h2{font-size:calc(14px + 2.188vw);max-width:calc(97.5px + 15.234vw)}
  .cinema-caption p{font-size:calc(4.25px + 0.664vw);max-width:calc(88.75px + 13.867vw)}
  .cinema-eyebrow{font-size:calc(4px + 0.625vw)}
  /* sections */
  .section-label{font-size:calc(3.5px + 0.547vw)}
  .section-heading h2{font-size:calc(14px + 2.188vw)}
  .section-heading>p{font-size:calc(5.25px + 0.82vw)}
  .section-heading.centered>p{max-width:calc(162.5px + 25.391vw)}
  .work-section .section-heading h2{max-width:calc(180px + 28.125vw)}
  .work-caption h3{font-size:calc(5.5px + 0.859vw)}
  .contact-layout .section-heading h2{font-size:calc(16.25px + 2.539vw)}
  .partnership-layout .section-heading h2{font-size:calc(11.75px + 1.836vw)}
  .contact-actions .white-button,.contact-actions .contact-phone-button{font-size:calc(5.25px + 0.82vw);min-height:calc(16.5px + 2.578vw)}
}
/* header items: a zoom step (no script reads their geometry); the bar's height above */
@media (min-width:2048px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.05}}
@media (min-width:2240px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.11}}
@media (min-width:2400px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.17}}
@media (min-width:2560px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.25}}
@media (min-width:2880px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.31}}
@media (min-width:3200px){.site-header .brand,.site-header nav,.site-header .header-cta,.cinema-rail{zoom:1.37}}
