/* ===== Phones and tablets =====
   Every rule here sits inside a media query that never matches a desktop browser
   (max-width 1199px or smaller), so the desktop design is untouched. ===== */

/* ---------- PHONE (<=759px): the sticky top bar ---------- */
@media (max-width:759px){
  /* a solid, blurred band so the page never shows through behind the bat and the menu button */
  html body main[id^="view-"]:not(#view-book) > .sys-strip.sys-strip{
    background:rgba(10,10,10,.88)!important;
    -webkit-backdrop-filter:blur(16px) saturate(1.15)!important;backdrop-filter:blur(16px) saturate(1.15)!important;
    border-bottom:1px solid rgba(255,255,255,.16)!important}
  /* the bat sits inside its square with room round it, not cropped at the screen edge */
  main[id^="view-"] > .sys-strip .sys-brand{border-right:1px solid rgba(255,255,255,.16)!important}
  #view-book > .sys-strip .sys-brand{border-right-color:rgba(3,3,3,.25)!important}
  main[id^="view-"] > .sys-strip .sys-brand .glyph{width:36px!important;height:28px!important}
  /* booking page: the menu button turns black when open, so its cross turns white */
  html body #view-book > .sys-strip.open .sys-menu i,html body #view-book > .sys-strip .sys-menu:hover i{background:#FFFFFF!important}
  /* jump links land clear of the sticky bar */
  .pwsec{scroll-margin-top:72px!important}
}

/* ---------- LANDSCAPE PHONES (wide but short): a slimmer bar and a menu that fits the screen ---------- */
@media (min-width:760px) and (max-width:1199px) and (max-height:540px){
  main[id^="view-"] > .sys-strip{padding-top:0!important;min-height:72px!important}
  #view-home > .sys-strip{margin-bottom:-72px!important}
  main[id^="view-"] > .sys-strip .sys-brand .glyph{width:44px!important;height:34px!important}
  /* the menu opens as two columns so every row, the booking link and the day/night switch stay on screen */
  main[id^="view-"] > .sys-strip .sys-panel{top:calc(100% - 8px)!important;width:min(560px,calc(100vw - 2 * var(--inset,28px)))!important;
    display:grid!important;grid-template-columns:1fr 1fr!important;max-height:calc(100svh - 76px);overflow-y:auto}
  main[id^="view-"] > .sys-strip .sys-panel[hidden]{display:none!important}
  main[id^="view-"] > .sys-strip .sp-link,main[id^="view-"] > .sys-strip .sp-mode{min-height:44px!important}
  main[id^="view-"] > .sys-strip .sp-link:nth-child(2){border-top:0!important}
  main[id^="view-"] > .sys-strip .sp-link:nth-child(even){border-left:1px solid rgba(255,255,255,.12)!important}
  main[id^="view-"] > .sys-strip .sp-mode{border-left:1px solid rgba(255,255,255,.12)!important}
}

/* ---------- FOOTER on phones and tablets: finger-sized links, readable labels ---------- */
@media (max-width:1199px){
  .sitefoot .fcol ul{gap:0!important}
  .sitefoot .fcol a{display:inline-flex;align-items:center;min-height:40px;padding:6px 0;box-sizing:border-box;font-size:14.5px;line-height:1.3}
  .sitefoot .fcol-h{font-size:11px;margin-bottom:6px}
  .sitefoot .fbase .mono{font-size:11px;line-height:1.5}
}
@media (max-width:759px){
  .sitefoot .fcols{padding-left:22px!important;padding-right:22px!important;gap:36px 20px!important}
  .sitefoot .fbase{padding-left:22px!important;padding-right:22px!important;flex-direction:column;gap:6px!important}
}

/* ---------- MENU on phones and tablets: an opaque panel, so the page underneath never reads through the rows ---------- */
@media (max-width:1199px){
  html body main[id^="view-"] > .sys-strip .sys-panel{background:#0B0B0B!important}
}

/* the capability reel is sized from the screen height on desktop; on a short screen (phone turned sideways)
   that shrank it to a thumbnail, so in the phone layout it always takes the full width */
@media (max-width:759px){
  html body #view-home .wk-stage{max-width:100%!important}
}

/* phones (and upright tablets / sideways phones, which get this layout too):
   the Mona Lisa pixels sit under the text instead of squeezing it into a narrow column */
@media (max-width:759px){
  html body #view-philosophy .bay.mona{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
  html body #view-philosophy .bay.mona .pixfig{justify-self:start!important;width:100%}
  html body #view-philosophy .bay.mona .pixwrap{width:min(320px,72vw)!important;max-width:100%!important}
  html body #view-philosophy .bay.mona .pixcap{text-align:left}
}

/* ---------- LITE (touch-only): stills instead of background players ---------- */
@media (hover:none) and (pointer:coarse){
  html.lite .fx-hero .hero-bg:not(.has-still){background-image:url("img/v/1231011275.webp")!important}
  html.lite .wk-tile .wk-tile-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
}

/* ---------- PHONE (<=759px): the client logos run as one slow scrolling line instead of wrapping to three rows.
   home.js repeats the logos once (aria-hidden), so moving the row by half its width loops without a seam. ---------- */
@media (max-width:759px){
  .logo-band{overflow:hidden;padding-left:0!important;padding-right:0!important}
  .logo-band ul.lb-run{flex-wrap:nowrap!important;justify-content:flex-start!important;width:max-content;max-width:none!important;
    gap:0!important;animation:lb-run 48s linear infinite;will-change:transform}
  .logo-band ul.lb-run li{flex:none;padding:0 17px}
  @keyframes lb-run{to{transform:translate3d(-50%,0,0)}}
}
@media (max-width:759px) and (prefers-reduced-motion:reduce){
  .logo-band ul.lb-run{animation:none;overflow-x:auto}
}

/* ---------- PHONE (<=759px): things that sat off the page's side margin ---------- */
@media (max-width:759px){
  /* the studio's 30 seconds run as a thin purple line under the picked tab, not a purple fill poured in from the screen edge */
  .studio-tabs .st-big .st-liquid{display:none!important}
  .studio-tabs .st-big .st-prog{display:block!important;top:auto!important;bottom:0!important;left:0!important;right:auto!important;height:3px!important;
    width:calc(var(--fill,0) * 100%)!important;z-index:1}
  .studio-tabs .st-big .st-prog::after{display:none!important}
  /* the hero's words sit on the same side margin as every section under them */
  .fx-hero .hero-in{padding-left:28px!important;padding-right:28px!important}
  /* 16:9 block: the frame and its side ruler together end on the right margin, like the text above */
  .dual-v2 .dv2-screen .dv2-art{width:calc(100% - 26px)!important}
  .dual-v2 .dv2-screen .dv2-cap{margin-right:26px!important}
  /* 9:16 block: the frame and its side ruler are centred as one, not the frame alone with the ruler hanging off to the right */
  .dual-v2 .dv2-phone{transform:translateX(-13px)}
  /* What we can build: title, tiles and player on the same margin as its section header */
  .fx-work{padding-left:28px!important;padding-right:28px!important}
  /* booking form (16 + 16 = 32) and footer link columns (22) onto the same 28 */
  .bookblock{margin-left:28px!important;margin-right:28px!important}
  .bookblock .booking{margin-left:0!important;margin-right:0!important}
  .sitefoot .fcols{padding-left:28px!important;padding-right:28px!important}
}

/* =====================================================================
   PHONE REDESIGN (<=759px): the phone takes the desktop's look, fitted to a narrow screen.
   Upright iPads draw this same phone layout (see the viewport script in index.html).
   ===================================================================== */

/* ---------- 1. TOP BAR (clear, over the film): the bat top left, Menu pill top right, floating over the film like desktop.
   No yellow booking button here (the ticker under the film and the menu still book a call).
   Clear over the film; once the page scrolls (look.js adds .scrolled) it gets a dark blurred band. ---------- */
@media (max-width:759px){
  html body main#view-home > .sys-strip.sys-strip{display:flex!important;align-items:center!important;justify-content:space-between!important;
    min-height:64px!important;margin-bottom:-64px!important;padding:max(10px,env(safe-area-inset-top)) 16px 10px 18px!important;box-sizing:border-box;
    border-bottom:1px solid transparent!important;transition:background .3s ease,border-color .3s ease}
  html body main#view-home > .sys-strip.sys-strip:not(.scrolled){background:transparent!important;border-bottom-color:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body main#view-home > .sys-strip.sys-strip.scrolled{border-bottom-color:rgba(255,255,255,.12)!important;background:rgba(0,0,0,.2)!important}
  html body main#view-home > .sys-strip .sys-brand{border:0!important;width:auto!important;height:auto!important;padding:0!important}
  html body main#view-home > .sys-strip .sys-brand .glyph{width:44px!important;height:34px!important}
  html body main#view-home > .sys-strip .sys-book{display:none!important}
  html body main#view-home > .sys-strip .sys-right{display:flex!important;align-items:center!important;width:auto!important;height:auto!important}
  /* the Menu pill, as on desktop: purple dot, MENU, thin white outline */
  html body main#view-home > .sys-strip .sys-menu{width:auto!important;height:38px!important;padding:0 16px 0 14px!important;gap:9px!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
    border:1px solid rgba(255,255,255,.55)!important;border-radius:999px!important;background:rgba(10,10,10,.18)!important}
  html body main#view-home > .sys-strip .sys-menu i{display:none!important}
  html body main#view-home > .sys-strip .sys-menu::before{content:"";width:7px;height:7px;border-radius:50%;background:#A51FFF;flex:none;transition:transform .25s ease}
  html body main#view-home > .sys-strip .sys-menu::after{content:"Menu"!important;position:static!important;transform:none!important;
    font:500 11.5px/1 var(--mono)!important;letter-spacing:.16em!important;text-transform:uppercase;color:#FFFFFF}
  html body main#view-home > .sys-strip.open .sys-menu{background:#FFFFFF!important;border-color:#FFFFFF!important}
  html body main#view-home > .sys-strip.open .sys-menu::after{content:"Close"!important;color:#030303!important}
  html body main#view-home > .sys-strip.open .sys-menu::before{transform:scale(1.4)}
}

/* ---------- 2. HERO: under the top bar the film with its words centred on it; under the film the three studios as three
   equal boxes filling the width edge to edge (the picked one white with its purple 30-second line); then the ticker and the logos. ---------- */
@media (max-width:759px){
  html body #view-home > .block-open{position:relative!important;display:flex!important;flex-direction:column!important;
    padding:0!important;margin:0!important;min-height:0!important;background:transparent}
  html body #view-home > .block-open > .film-hero{order:1}
  html body #view-home > .block-open > .studio-tabs{order:2}
  html body #view-home > .block-open > .book-ticker{order:3}
  html body #view-home > .block-open > .logo-band{order:4}

  /* the film: the rest of the first screen, so the ticker still shows under it */
  html body #view-home > .block-open > .film-hero{position:relative!important;margin:0!important;width:auto!important;overflow:hidden;
    height:calc(100vh - 68px)!important;height:calc(100svh - 68px)!important;min-height:604px!important;max-height:884px}
  html body #view-home > .block-open .fx-hero{position:relative!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;
    margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#0A0A0A!important}
  html body #view-home > .block-open .fx-hero .hero-bg,html body #view-home > .block-open .fx-hero .hero-veil,
  html body #view-home > .block-open .fx-hero .hero-grain,html body #view-home > .block-open .fx-hero .film35{position:absolute!important;inset:0!important;
    width:auto!important;height:auto!important;margin:0!important;z-index:0}
  html body #view-home > .block-open .fx-hero .hero-bg{aspect-ratio:auto!important;max-height:none!important;background-size:cover!important;background-position:center!important}
  /* the local phone loop fills the film; a Vimeo player (a narrow desktop window) keeps its own cover sizing from home.js */
  html body #view-home > .block-open .fx-hero .hero-bg video{position:absolute!important;inset:0!important;
    width:100%!important;height:100%!important;object-fit:cover}
  /* an even dark veil, a little deeper behind the words in the middle and fading into the page at the bottom */
  html body #view-home > .block-open .fx-hero .hero-veil{background:
    radial-gradient(120% 55% at 50% 52%,rgba(10,10,10,.5) 0,rgba(10,10,10,.18) 100%),
    linear-gradient(180deg,rgba(10,10,10,.35) 0,rgba(10,10,10,0) 14%,rgba(10,10,10,0) 84%,rgba(10,10,10,.5) 100%)!important}

  /* the words, centred on the film */
  html body #view-home > .block-open .fx-hero .hero-in{position:relative!important;z-index:2;display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;height:auto!important;min-height:0!important;padding:84px 28px 92px!important;margin:0!important;box-sizing:border-box}
  html body #view-home > .block-open .fx-hero .hero-bottom{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;
    width:auto!important;max-width:none!important;margin:0!important}
  html body #view-home > .block-open .fx-hero .fx-h1{font-size:clamp(36px,10.8vw,46px)!important;line-height:1.02!important;letter-spacing:-.045em!important;
    max-width:11em!important;margin:0!important;color:#F4F4F0!important;text-align:center!important;text-wrap:balance}
  html body #view-home > .block-open .fx-hero .fx-lead{font-size:15px!important;line-height:1.5!important;letter-spacing:-.01em!important;text-align:center!important;
    color:rgba(255,255,255,.8)!important;margin:14px auto 0!important;max-width:32ch!important}
  html body #view-home > .block-open .fx-hero .hero-ctas{display:flex!important;justify-content:center!important;margin:24px 0 0!important;width:auto!important}
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-ghost{display:none!important}
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-accent{display:inline-flex!important;align-items:center!important;gap:14px!important;width:auto!important;
    height:auto!important;min-height:48px;padding:15px 20px!important;margin:0!important;border:1px solid #A51FFF!important;border-radius:0!important;
    background:rgba(10,10,10,.3)!important;box-shadow:none!important;transform:none!important;
    font:500 12.5px/1 var(--mono)!important;letter-spacing:.16em!important;text-transform:uppercase;color:#CB8BFF!important;white-space:nowrap}
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-accent .ba-play{width:0!important;height:0!important;background:none!important;
    border-left:12px solid #A51FFF!important;border-top:7.5px solid transparent!important;border-bottom:7.5px solid transparent!important}
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-accent:active{background:rgba(165,31,255,.18)!important}

  /* the studios: three boxes edge to edge across the screen, each as wide as its name needs (no numbers on phones),
     on a band of frosted dark glass laid over the bottom of the film, so the film shows through behind the names */
  html body #view-home > .block-open > .studio-tabs{position:relative!important;z-index:3;display:flex!important;grid-template-columns:none!important;
    gap:0!important;margin:-64px 0 0!important;padding:0!important;border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;
    background:rgba(10,10,10,.42)!important;-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);
    left:auto!important;top:auto!important;bottom:auto!important;width:100%!important}
  html body #view-home > .block-open > .studio-tabs .st-big{position:relative!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;
    justify-content:center!important;width:auto!important;height:auto!important;min-height:64px!important;padding:0 10px!important;margin:0!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;white-space:nowrap!important;
    text-align:center!important;font:500 clamp(16px,4.7vw,20px)/1 var(--sans)!important;letter-spacing:-.03em!important;text-transform:none!important;color:rgba(255,255,255,.5)!important;
    transition:color .25s ease,background .25s ease}
  html body #view-home > .block-open > .studio-tabs .st-big + .st-big{border-left:1px solid rgba(255,255,255,.14)!important}
  html body #view-home > .block-open > .studio-tabs .st-big:not([aria-selected="true"]){color:rgba(255,255,255,.62)!important}
  html body #view-home > .block-open > .studio-tabs .st-big[aria-selected="true"]{color:#FFFFFF!important;background:rgba(255,255,255,.1)!important}
  html body #view-home > .block-open > .studio-tabs .st-big::after,html body #view-home > .block-open > .studio-tabs .st-big .vf,
  html body #view-home > .block-open > .studio-tabs .st-big kbd{display:none!important}
  html body #view-home > .block-open > .studio-tabs .st-big .st-prog{height:3px!important;bottom:0!important;left:0!important}
  /* the white logo strip, a little slimmer (it had 22px above and below the logos) */
  html body #view-home > .block-open > .logo-band{padding-top:14px!important;padding-bottom:14px!important}
}

/* ---------- 3. THE PAGE BEHIND: the blurred film behind every section sits as dark as on desktop
   (on phones it is a still of the reel, which read much lighter and greener than the moving film) ---------- */
@media (max-width:759px){
  html body .vbg .vbg-veil{background:rgba(0,0,0,.52)!important}
}

/* ---------- 4. WHAT WE CAN BUILD: the six categories as one row, like desktop, that swipes sideways
   instead of wrapping into a 3 x 2 grid of small tiles ---------- */
@media (max-width:759px){
  html body #view-home .fx-work .wk-row{display:flex!important;grid-template-columns:none!important;gap:8px!important;
    margin:0 -28px 10px!important;padding:0 28px 2px!important;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding:0 28px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  html body #view-home .fx-work .wk-row::-webkit-scrollbar{display:none}
  html body #view-home .fx-work .wk-row .wk-tile{flex:0 0 calc((100vw - 52px) / 3.5)!important;width:calc((100vw - 52px) / 3.5)!important;scroll-snap-align:start}
  /* three and a half tiles across: the names get a little smaller to fit */
  html body #view-home .fx-work .wk-row .wk-tile .wk-tile-name{font-size:11px!important;line-height:1.15!important;padding:0 6px!important}
  html body #view-home .fx-work .wk-row .wk-tile .wk-tile-name .mono{font-size:8.5px!important}
}

/* ---------- 5. BOOKING: the heading on the same 28px margin as the section label above it (it sat 16px further in),
   and thumb-sized buttons: the call / email switch in two equal halves, Book this slot across the full width ---------- */
@media (max-width:759px){
  html body #view-home .bookblock .bb-head{padding:40px 0 26px!important}
  html body #view-home .bookblock .bb-switch{display:flex!important;width:100%!important}
  html body #view-home .bookblock .bb-switch .bb-opt{flex:1 1 0!important;min-height:50px!important;justify-content:center;text-align:center}
  html body #view-home .bookblock .booking .mfbtn{width:100%!important;min-height:52px!important;justify-content:center;text-align:center}
  /* the Email us form on the same margin as the calendar (it sat 16px further in), with a full-width send button */
  html body #view-home .bookblock .mailform{margin-left:0!important;margin-right:0!important}
  html body #view-home .bookblock .mailform .mfbtn{width:100%!important;min-height:52px!important;justify-content:center;text-align:center}
}

/* ---------- 6. FOOTER: closer to the desktop's compact link lists; rows stay finger-sized but sit tighter ---------- */
@media (max-width:759px){
  html body .sitefoot .fcols{gap:30px 20px!important}
  html body .sitefoot .fcol a{min-height:34px!important;padding:5px 0!important;font-size:14px!important;line-height:1.3!important}
  html body .sitefoot .fcol-h{margin-bottom:4px!important}
}

/* ---------- 7. WIDE AND VERTICAL: the 16:9 and 9:16 frames side by side on one line, the same height, as on desktop
   (dual.js plays the same clip in both, in step). The side rulers give way to keep the two frames large. ---------- */
@media (max-width:759px){
  html body #view-home .dual.dual-v2{display:grid!important;grid-template-columns:minmax(0,256fr) minmax(0,81fr)!important;gap:14px!important;
    align-items:end!important;padding-bottom:34px!important}
  html body #view-home .dual-v2 .dv2-screen,html body #view-home .dual-v2 .dv2-phone{width:auto!important;margin:0!important;transform:none!important;justify-self:stretch!important;gap:10px!important}
  html body #view-home .dual-v2 .dv2-art,html body #view-home .dual-v2 .dv2-screen .dv2-art{width:100%!important;margin:0!important}
  html body #view-home .dual-v2 .dv2-cap,html body #view-home .dual-v2 .dv2-screen .dv2-cap{margin:0!important;font-size:9px!important;letter-spacing:.12em!important;white-space:nowrap}
  html body #view-home .dual-v2 .dv2-cap span + span{display:none!important}
  html body #view-home .dual-v2 .dv2-dim-y{display:none!important}
  html body #view-home .dual-v2 .dv2-dim-x{top:calc(100% + 10px)!important;gap:6px!important}
  html body #view-home .dual-v2 .dv2-dim b{font-size:8px!important;letter-spacing:.08em!important}
  html body #view-home .dual-v2 .dual-wide,html body #view-home .dual-v2 .dual-vert{width:100%!important}
}

/* ---------- 8. WHAT WE CAN BUILD: a small arrow at the right end of the category row says it scrolls sideways;
   it fades out as soon as the row is swiped (scroll-driven, no script; where a browser can't do that the arrow just stays) ---------- */
@media (max-width:759px){
  html body #view-home .fx-work .wk-row::after{content:"";position:sticky;right:-28px;flex:0 0 52px;margin-left:-60px;align-self:stretch;z-index:3;pointer-events:none;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M13 9l8 8-8 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 6px center / 26px 26px no-repeat,
      linear-gradient(90deg,rgba(10,10,10,0),rgba(10,10,10,.7));
    animation:wk-hint linear both;animation-timeline:scroll(nearest inline);animation-range:0 70px}
  @keyframes wk-hint{to{opacity:0}}
}
@media (max-width:759px) and (prefers-reduced-motion:reduce){
  html body #view-home .fx-work .wk-row::after{animation:none}
}

/* ---------- 9. BUDGET: "Direction costs the same." at the same size as the other section headlines ---------- */
@media (max-width:759px){
  html body #view-home .claim.big2{font-size:34px!important;line-height:.94!important;letter-spacing:-.048em!important}
}

/* ---------- 10. DIRECTED, NOT GENERATED: the animation runs edge to edge ---------- */
@media (max-width:759px){
  html body .block .fx-directed > #p-directed{margin-left:-28px!important;margin-right:-28px!important;width:calc(100% + 56px)!important;max-width:none!important}
}

/* ---------- 11. BUDGET: chart straight under the headline, caption hidden ---------- */
@media (max-width:759px){
  html body .block-budget .bay{display:flex!important;flex-direction:column!important}
  html body .block-budget .bay > .claim{order:1}
  html body .block-budget .bay > .budget{order:2;margin:26px 0 30px!important}
  html body .block-budget .bay > .lede{order:3}
  html body .block-budget .bnote{display:none!important}
}

/* ---------- 12. FOOTER LINKS: smaller, repeats and "Talk to us" hidden ---------- */
@media (max-width:759px){
  html body .sitefoot .fcols{gap:24px 18px!important}
  html body .sitefoot .fcol a{font-size:12.5px!important;min-height:28px!important;padding:4px 0!important;line-height:1.25!important}
  html body .sitefoot .fcol-h{font-size:9.5px!important;margin-bottom:2px!important}
  html body .sitefoot .fcol:nth-child(5),
  html body .sitefoot .fcol a[href="#s-found"],
  html body .sitefoot .fcol a[href="#s-budget"]{display:none!important}
  html body .sitefoot .fcol li:has(> a[href="#s-found"]),
  html body .sitefoot .fcol li:has(> a[href="#s-budget"]){display:none!important}
}

/* ---------- 13. HERO STUDIOS: a stacked list on the film, bottom left (as on desktop) ----------
   Replaces the box row from section 2. The film is clamp(604px, 100svh - 68px, 884px) tall, so the list is
   pinned to that line and lifted by its own height. */
@media (max-width:759px){
  html body #view-home > .block-open > .studio-tabs{position:absolute!important;top:clamp(604px,calc(100svh - 68px),884px)!important;left:0!important;
    transform:translateY(-100%);display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;
    width:auto!important;margin:0!important;padding:0 28px 26px!important;border:0!important;background:transparent!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body #view-home > .block-open > .studio-tabs .st-big{flex:0 0 auto!important;justify-content:flex-start!important;min-height:0!important;
    padding:3px 0 7px!important;text-align:left!important;font:500 clamp(24px,7vw,30px)/1.08 var(--sans)!important;letter-spacing:-.035em!important;
    background:transparent!important;overflow:visible!important}
  html body #view-home > .block-open > .studio-tabs .st-big + .st-big{border-left:0!important}
  html body #view-home > .block-open > .studio-tabs .st-big:not([aria-selected="true"]){color:rgba(255,255,255,.42)!important}
  html body #view-home > .block-open > .studio-tabs .st-big[aria-selected="true"]{color:#FFFFFF!important;background:transparent!important}
  html body #view-home > .block-open > .studio-tabs .st-big .st-prog{height:2px!important;bottom:0!important}
  /* the words move up to make room for the list, and the bottom of the film darkens a little more behind it */
  html body #view-home > .block-open .fx-hero .hero-in{padding:76px 28px 190px!important}
  html body #view-home > .block-open .fx-hero .hero-veil{background:
    radial-gradient(120% 55% at 50% 40%,rgba(10,10,10,.5) 0,rgba(10,10,10,.18) 100%),
    linear-gradient(180deg,rgba(10,10,10,.35) 0,rgba(10,10,10,0) 14%,rgba(10,10,10,0) 62%,rgba(10,10,10,.62) 100%)!important}
}

/* ---------- 14. MENU PILL: three white dots, no word ---------- */
@media (max-width:759px){
  html body main#view-home > .sys-strip .sys-menu{width:58px!important;padding:0!important;gap:0!important}
  html body main#view-home > .sys-strip .sys-menu::after{content:none!important;display:none!important}
  html body main#view-home > .sys-strip .sys-menu::before{width:4px!important;height:4px!important;background:#FFFFFF!important;
    box-shadow:-9px 0 0 #FFFFFF,9px 0 0 #FFFFFF;transform:none!important;transition:background .25s ease,box-shadow .25s ease}
  html body main#view-home > .sys-strip.open .sys-menu::before{background:#030303!important;box-shadow:-9px 0 0 #030303,9px 0 0 #030303}
}

/* ---------- 15. Square menu box, bigger studio names ---------- */
@media (max-width:759px){
  html body main#view-home > .sys-strip .sys-menu{border-radius:999px!important}
  html body #view-home > .block-open > .studio-tabs .st-big{font-size:clamp(30px,9vw,38px)!important;padding:2px 0 8px!important}
  html body #view-home > .block-open .fx-hero .hero-in{padding-bottom:220px!important}
}

/* ---------- 16. SCROLLED HEADER: no hard edge; a soft, uneven fade that is blurrier at the top ----------
   Two blur layers under the bar, each masked by a ragged gradient (an SVG gradient roughened with noise),
   the stronger one ending sooner, so the blur thins out unevenly into the page. */
@media (max-width:759px){
  html body main#view-home > .sys-strip.sys-strip{isolation:isolate}
  html body main#view-home > .sys-strip.sys-strip.scrolled{background:transparent!important;border-bottom-color:transparent!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body main#view-home > .sys-strip.sys-strip::before,html body main#view-home > .sys-strip.sys-strip::after{display:block!important;content:""!important;
    position:absolute!important;left:0;right:0;top:0;height:calc(100% + 44px);z-index:-1;pointer-events:none;opacity:0;transition:opacity .3s ease;
    -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
  html body main#view-home > .sys-strip.sys-strip::before{background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.12) 60%,rgba(0,0,0,0));
    -webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='.98' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='d' x='-10%' y='-20%' width='120%' height='140%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='-30' width='430' height='130' fill='url%28%23g%29' filter='url%28%23d%29'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.5' stop-color='%23fff'/%3E%3Cstop offset='.98' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='d' x='-10%' y='-20%' width='120%' height='140%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='3' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='-30' width='430' height='130' fill='url%28%23g%29' filter='url%28%23d%29'/%3E%3C/svg%3E")}
  html body main#view-home > .sys-strip.sys-strip::after{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.22' stop-color='%23fff'/%3E%3Cstop offset='.7' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='d' x='-10%' y='-20%' width='120%' height='140%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='-30' width='430' height='130' fill='url%28%23g%29' filter='url%28%23d%29'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.22' stop-color='%23fff'/%3E%3Cstop offset='.7' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='d' x='-10%' y='-20%' width='120%' height='140%'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .05' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='-30' width='430' height='130' fill='url%28%23g%29' filter='url%28%23d%29'/%3E%3C/svg%3E")}
  html body main#view-home > .sys-strip.sys-strip.scrolled::before,html body main#view-home > .sys-strip.sys-strip.scrolled::after{opacity:1}
}

/* ---------- 17. Smaller menu box ---------- */
@media (max-width:759px){
  html body main#view-home > .sys-strip .sys-menu{width:44px!important;height:30px!important;min-height:0!important}
  html body main#view-home > .sys-strip .sys-menu::before{width:3px!important;height:3px!important;box-shadow:-7px 0 0 #FFFFFF,7px 0 0 #FFFFFF}
  html body main#view-home > .sys-strip.open .sys-menu::before{box-shadow:-7px 0 0 #030303,7px 0 0 #030303}
}

/* ---------- 18. THE BAT, used small ----------
   a) a tiny bat before each numbered step (Script / Board / Previs / Final ...)
   b) a few bats hovering around "Book a 30-min video call": mixed sizes, some mirrored, drifting slowly.
   They are a black fill shaped by the bat image (img/bat.png) as a mask, laid behind the words. */
@media (max-width:759px){
  html body .tri-head > .mono:first-child{display:inline-flex!important;align-items:center;gap:6px}
  html body .tri-head > .mono:first-child::before{content:"";width:13px;height:9.5px;flex:none;background:currentColor;opacity:.85;
    -webkit-mask:var(--bat) center / contain no-repeat;mask:var(--bat) center / contain no-repeat}

  html body #view-home .bookblock .bb-head{position:relative!important;isolation:isolate}
  html body #view-home .bookblock .bb-head::before,html body #view-home .bookblock .bb-head::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:#0A0A0A;opacity:.9;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
  html body #view-home .bookblock .bb-head::before{
    -webkit-mask-image:var(--bat),var(--bat),var(--bat),var(--bat);mask-image:var(--bat),var(--bat),var(--bat),var(--bat);
    -webkit-mask-size:40px auto,26px auto,14px auto,18px auto;mask-size:40px auto,26px auto,14px auto,18px auto;
    animation:bat-hover-a 7s ease-in-out infinite alternate}
  html body #view-home .bookblock .bb-head::after{transform:scaleX(-1);
    -webkit-mask-image:var(--bat),var(--bat),var(--bat),var(--bat);mask-image:var(--bat),var(--bat),var(--bat),var(--bat);
    -webkit-mask-size:30px auto,12px auto,22px auto,10px auto;mask-size:30px auto,12px auto,22px auto,10px auto;
    animation:bat-hover-b 9s ease-in-out infinite alternate}
  @keyframes bat-hover-a{
    0%  {-webkit-mask-position:calc(100% - 4px) 2px,calc(100% - 30px) 50px,calc(100% - 92px) 86px,120px 8px;mask-position:calc(100% - 4px) 2px,calc(100% - 30px) 50px,calc(100% - 92px) 86px,120px 8px}
    50% {-webkit-mask-position:calc(100% - 10px) 7px,calc(100% - 24px) 44px,calc(100% - 98px) 82px,128px 4px;mask-position:calc(100% - 10px) 7px,calc(100% - 24px) 44px,calc(100% - 98px) 82px,128px 4px}
    100%{-webkit-mask-position:calc(100% - 2px) 9px,calc(100% - 34px) 55px,calc(100% - 88px) 90px,114px 11px;mask-position:calc(100% - 2px) 9px,calc(100% - 34px) 55px,calc(100% - 88px) 90px,114px 11px}}
  @keyframes bat-hover-b{
    0%  {-webkit-mask-position:64px 78px,8px 96px,calc(100% - 210px) 4px,calc(100% - 60px) 14px;mask-position:64px 78px,8px 96px,calc(100% - 210px) 4px,calc(100% - 60px) 14px}
    50% {-webkit-mask-position:58px 84px,12px 90px,calc(100% - 202px) 10px,calc(100% - 66px) 9px;mask-position:58px 84px,12px 90px,calc(100% - 202px) 10px,calc(100% - 66px) 9px}
    100%{-webkit-mask-position:68px 74px,5px 100px,calc(100% - 216px) 6px,calc(100% - 55px) 18px;mask-position:68px 74px,5px 100px,calc(100% - 216px) 6px,calc(100% - 55px) 18px}}
}
@media (max-width:759px) and (prefers-reduced-motion:reduce){
  html body #view-home .bookblock .bb-head::before,html body #view-home .bookblock .bb-head::after{animation-play-state:paused}
}

/* ---------- 19. Bat and menu a little lower; hero words a little lower ---------- */
@media (max-width:759px){
  html body main#view-home > .sys-strip.sys-strip{min-height:78px!important;margin-bottom:-78px!important;
    padding-top:max(24px,env(safe-area-inset-top))!important;padding-left:22px!important;padding-right:20px!important}
  html body #view-home > .block-open .fx-hero .hero-in{padding-top:124px!important;padding-bottom:196px!important}
}

/* ---------- 20. The booking bats hold still (Eman: no hovering) ---------- */
@media (max-width:759px){
  html body #view-home .bookblock .bb-head::before,html body #view-home .bookblock .bb-head::after{animation-play-state:paused!important}
}

/* ---------- 21. A black bat centred at the foot of the yellow booking block ---------- */
@media (max-width:759px){
  html body #view-home .bookblock::after{content:""!important;display:block!important;position:static!important;width:58px;height:42px;margin:44px auto 0;
    background:#0A0A0A!important;-webkit-mask:var(--bat) center / contain no-repeat;mask:var(--bat) center / contain no-repeat}
  html body #view-home .block:has(> .bookblock){padding-bottom:52px!important}
}

/* ---------- 22. TEST: hero lead paragraph hidden on phones (Eman, 2026-10-25).
   To bring it back, delete this whole section. A copy of mobile.css from before it is in versions/mobile-with-hero-lead.css. ---------- */
@media (max-width:759px){
  html body #view-home > .block-open .fx-hero .fx-lead{display:none!important}
  html body #view-home > .block-open .fx-hero .hero-ctas{margin-top:28px!important}
}

/* ---------- 23. Hero film grain 30% lighter (opacity .1275 -> .089) ---------- */
@media (max-width:759px){
  html body #view-home > .block-open .fx-hero .film35{opacity:.089!important}
}

/* ---------- 24. The reel button shows just its words: no play triangle or bat (Eman, 2026-10-25) ---------- */
@media (max-width:759px){
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-accent .ba-play{display:none!important}
  html body #view-home > .block-open .fx-hero .hero-ctas > .btn-accent{padding:15px 24px!important}
}

/* ---------- 25. WIDESCREEN + VERTICAL: the two frames sit between the headline and the paragraph ---------- */
@media (max-width:759px){
  html body #view-home .fx-steps:has(> .dual-v2){display:flex!important;flex-direction:column!important}
  html body #view-home .fx-steps:has(> .dual-v2) > .fx-split{display:contents!important}
  html body #view-home .fx-steps:has(> .dual-v2) > .fx-split > .fx-h2{order:1;margin-bottom:0!important}
  html body #view-home .fx-steps:has(> .dual-v2) > .dual-v2{order:2;margin:30px 0 0!important}
  html body #view-home .fx-steps:has(> .dual-v2) > .fx-split > .fx-p{order:3;margin:6px 0 0!important}
}

/* ---------- 26. BUDGET: less air between the chart and the paragraph (the chart's last ~60px are empty) ---------- */
@media (max-width:759px){
  html body .block-budget .bay > .budget{margin-bottom:-36px!important}
  html body .block-budget .bay > .lede{margin-top:0!important}
}

/* ---------- 27. Booking: hovering bats removed; the foot bat 30% smaller with equal space above and below ---------- */
@media (max-width:759px){
  html body #view-home .bookblock .bb-head::before,html body #view-home .bookblock .bb-head::after{content:none!important;display:none!important}
  html body #view-home .bookblock::after{width:41px!important;height:29px!important;margin-top:var(--bat-gap-top,5px)!important}
}

/* ---------- 28. Step bats removed (Eman) ---------- */
@media (max-width:759px){
  html body .tri-head > .mono:first-child::before{content:none!important;display:none!important}
}
