/* Mobile layer (phones, up to 767px). Loaded last on every page; desktop is untouched.
   Idea: each section reads as one screen, not a long stack. Groups of cards become a tap-to-open stack, a compact grid
   or a sideways swipe, and every effect from desktop (glass, flips, live scenes, motion) stays. */

/* ---------- burger menu (all pages) ---------- */
.mb-btn{display:none}
.mb-menu{display:none}
@media (max-width:1180px){
  .mb-btn{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-left:10px;border-radius:50%;cursor:pointer;border:0;color:#fff;
    background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.14);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
  .mb-btn i{position:relative;display:block;width:18px;height:1.6px;border-radius:2px;background:currentColor;transition:background .3s}
  .mb-btn i::before,.mb-btn i::after{content:"";position:absolute;left:0;width:18px;height:1.6px;border-radius:2px;background:currentColor;transition:transform .5s cubic-bezier(.65,0,.25,1)}
  .mb-btn i::before{transform:translateY(-6px)}.mb-btn i::after{transform:translateY(6px)}
  html.mb-open .mb-btn i{background:transparent}
  html.mb-open .mb-btn i::before{transform:rotate(45deg)}html.mb-open .mb-btn i::after{transform:rotate(-45deg)}
  body header.top .mb-right{display:flex;align-items:center;margin-left:auto}

  .mb-menu{display:flex;position:fixed;inset:0;z-index:45;flex-direction:column;justify-content:space-between;padding:110px 24px 34px;
    background:radial-gradient(80% 50% at 85% 0%,rgba(194,31,46,.35),transparent 70%),radial-gradient(70% 45% at 0% 100%,rgba(163,21,42,.3),transparent 70%),rgba(4,4,6,.86);
    -webkit-backdrop-filter:blur(22px) saturate(1.2);backdrop-filter:blur(22px) saturate(1.2);
    opacity:0;visibility:hidden;transition:opacity .45s ease,visibility 0s linear .45s}
  html.mb-open .mb-menu{opacity:1;visibility:visible;transition:opacity .45s ease}
  html.mb-open{overflow:hidden}
  .mb-menu nav{display:grid;gap:4px}
  .mb-menu nav a{display:flex;align-items:baseline;gap:14px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08);color:#fff;text-decoration:none;
    font-family:Geologica,Montserrat,sans-serif;font-size:clamp(28px,8.4vw,36px);font-weight:600;letter-spacing:-.03em;line-height:1.1;
    opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .7s cubic-bezier(.22,.8,.24,1)}
  .mb-menu nav a small{font-family:Montserrat,sans-serif;font-size:11px;font-weight:700;letter-spacing:.2em;color:rgba(242,84,91,.85)}
  .mb-menu nav a[aria-current]{color:#F2545B}
  html.mb-open .mb-menu nav a{opacity:1;transform:none;transition-delay:calc(.08s + var(--i) * .06s)}
  .mb-menu .mb-foot{display:grid;gap:18px;opacity:0;transition:opacity .5s ease}
  html.mb-open .mb-menu .mb-foot{opacity:1;transition-delay:.45s}
  .mb-menu .mb-foot .cta{justify-self:start}
  .mb-menu .mb-socs{display:flex;gap:10px}
  .mb-menu .mb-socs a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#C9CDD4;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
  .mb-menu .mb-socs svg{width:17px;height:17px}
}
@media (max-width:767px){
  /* once the page scrolls, the header sits on a dark band so content never shows through it */
  /* a full-width dark band behind the header (its own layer, so Safari never paints the glass cards over it) and a slimmer header */
  body header.top{padding:14px 0!important;z-index:100!important;-webkit-transform:translateZ(0);transform:translateZ(0)}
  /* the band reaches far above the header: new iOS Safari draws the page under its see-through address bar, and nothing may show there */
  html body header.top .hdr-bg{display:block!important;position:absolute;z-index:-1;top:-400px;bottom:0;left:50%;right:auto;width:100vw;margin:0;border-radius:0;
    -webkit-transform:translateX(-50%);transform:translateX(-50%);background:rgba(5,5,7,.94);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.08);opacity:1!important}   /* always on: it never depends on a scroll event arriving */
  html body header.top.stuck .hdr-bg,html.mb-open body header.top .hdr-bg{opacity:1}
}
@media (max-width:640px){
  body header.top>a:first-child{--lw:128px!important}body header.top>a:first-child img{width:128px!important}
  body header.top{gap:10px!important}
  body header.top .cta{padding:11px 14px!important;font-size:10.5px!important;letter-spacing:.08em!important}
  body header.top .cta .ar{display:none!important}
  .mb-btn{width:40px;height:40px;margin-left:8px}
}
@media (prefers-reduced-motion:reduce){.mb-menu,.mb-menu nav a,.mb-btn i::before,.mb-btn i::after{transition:none!important}}

/* ---------- phones ---------- */
@media (max-width:767px){
  html,body{overflow-x:clip}

  /* Sports Sponsorship · hero: the four cards become a tap-to-open stack (the desktop shelf, turned on its side) */
  #scan h1{font-size:clamp(32px,9vw,40px)!important;line-height:1.02}
  #scan .sub{font-size:15px!important;margin-top:12px!important}
  #scan.hh .shelf{flex-direction:column;height:auto;gap:10px}
  #scan.hh .shelf .gx{flex:none!important;height:64px;transition:height .8s cubic-bezier(.65,0,.25,1)}
  #scan.hh .lab{display:flex!important;inset:0;padding:0 18px;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px}
  #scan.hh .lab .emblem{width:36px;height:36px}
  #scan.hh .lab b{font-size:20px}
  #scan.hh .lab::after{content:"+";margin-left:auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:18px;color:#fff;border:1px solid rgba(255,255,255,.25)}
  #scan.hh .det{position:absolute!important;inset:0 0 auto 0;width:auto!important;padding:18px 18px 20px}
  #scan.hh .gx:not(.on) .det{opacity:0!important;pointer-events:none}
  html:not(.ready) #scan.hh .det,html:not(.ready) #scan.hh .lab,html:not(.ready) #scan.hh .shelf .gx{transition:none!important}
  #scan.hh .det h3{font-size:26px;margin:8px 0 6px}
  #scan .pdesc.big{font-size:20px!important;max-width:none}
  #scan .slb{gap:6px}#scan .slb span{padding:6px 11px;font-size:10px;letter-spacing:.12em}

  /* Sports Sponsorship · benefits: six flip cards in a 2 x 3 grid that fits one screen, tap to flip */
  #why h2{font-size:clamp(28px,8vw,36px)!important}
  #why .lead{font-size:15px!important}
  #why .gl .grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  #why .gl .grid>*{margin:0!important}
  #why .gl .card{min-height:150px!important;padding:14px 14px 12px!important;border-radius:22px!important}
  #why .gl .face.card{min-height:150px!important}
  #why .gl .front .emblem{width:40px!important;height:40px!important;margin-top:2px!important}
  #why .gl .front .emblem .ico{width:20px!important;height:20px!important}
  #why .gl .front h3{margin-top:12px!important;font-size:16px!important;line-height:1.12}
  #why .gl .foot{padding-top:10px!important;font-size:9px!important;letter-spacing:.16em!important;gap:8px!important}
  #why .gl .foot::before{flex-basis:14px!important}
  #why .gl .foot .hint{display:none}
  #why .gl .back p{font-size:13px!important;line-height:1.4}

  /* Sports Sponsorship · talent formats: one card at a time, swipe sideways, the next one peeks in */
  #talent h2{font-size:clamp(28px,8vw,36px)!important}
  #talent .f4{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:22px -16px 0!important;padding:4px 16px 10px;scrollbar-width:none}
  #talent .f4::-webkit-scrollbar{display:none}
  #talent .f4c{flex:0 0 80%;scroll-snap-align:center}
  #talent .f4c .in{min-height:380px!important}
  .mb-dots{display:flex;justify-content:center;gap:7px;margin-top:12px}
  .mb-dots i{width:6px;height:6px;border-radius:999px;background:rgba(255,255,255,.25);transition:width .4s cubic-bezier(.65,0,.25,1),background .4s}
  .mb-dots i.on{width:20px;background:#F2545B}

  /* closing block a little tighter */
  section.end h2{font-size:clamp(28px,8vw,36px)!important}
}

/* ---------- About Us (phones) ---------- */
@media (max-width:767px){
  /* Leadership: one screen. Numbers in one row, Nik's card beside the facts */
  #scan.lead{display:grid;grid-template-columns:42% minmax(0,1fr);grid-template-areas:"h1 h1" "sub sub" "nums nums" "por fxp";gap:12px 12px;align-items:start;align-content:start;min-height:0!important;padding-top:8px}
  #scan.lead .por,#scan.lead .fxp{align-self:stretch}
  #scan.lead>div:not(.bg):not(.por){display:contents}
  #scan.lead h1{grid-area:h1;font-size:clamp(32px,9vw,40px)}
  #scan.lead .sub{grid-area:sub;margin:-2px 0 0!important;font-size:14px!important;line-height:1.45!important}
  #scan.lead .nums{grid-area:nums;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:4px 0 0!important}
  #scan.lead .nt{border-radius:16px!important}
  #scan.lead .nt .in{padding:12px 6px 10px!important}
  #scan.lead .num{font-size:clamp(19px,5.4vw,24px)!important}   /* 2026-10-20: the + is inline now, so £100M+ needs a little less size to keep clear of the tile edge */
  #scan.lead .lbl{font-size:9.5px!important;line-height:1.25;letter-spacing:.02em}
  #scan.lead .por{grid-area:por;max-width:none!important;aspect-ratio:auto;min-height:250px;border-radius:18px}
  #scan.lead .por .lg{width:70px;left:12px;top:12px}
  #scan.lead .por .who{padding:12px}#scan.lead .por .who b{font-size:16px}#scan.lead .por .who span{font-size:9.5px}
  #scan.lead .fxp{grid-area:fxp;margin:0!important;border-radius:18px}
  #scan.lead .fxp .in{padding:14px 12px!important;height:100%}
  #scan.lead .fx{gap:12px!important;height:100%;align-content:space-between}
  #scan.lead .fx .fi{gap:8px!important;align-items:flex-start}
  #scan.lead .fx .fi .em{width:28px!important;height:28px!important;flex:none}
  #scan.lead .fx .fi .em .ico{width:14px!important;height:14px!important}
  #scan.lead .fx .fi .kk{font-size:8.5px!important;letter-spacing:.14em!important}
  #scan.lead .fx .fi b{font-size:12.5px!important;line-height:1.2}
  #scan.lead .fx .fi small{font-size:11px!important}

  /* Our vision: three cards side by side, swipe */
  #vision .g3{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:20px -16px 0;padding:4px 16px 10px;scrollbar-width:none}
  #vision .g3::-webkit-scrollbar{display:none}
  #vision .g3>.pr{flex:0 0 80%;scroll-snap-align:center;min-height:0!important}
  #vision .g3>.pr .in{min-height:340px}
  #vision h2{font-size:clamp(28px,8vw,36px)!important}

  /* Track record: smaller club logos, so five or six are on screen at once */
  .signed .marq .it{font-size:20px!important;padding:16px 12px!important}
  /* Track record: talent portraits three in a row */
  #track h2{font-size:clamp(24px,7vw,32px)!important}
  #track .amb{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  #track .amb .tal{aspect-ratio:4/5;min-height:0!important}
  #track .amb .cap b{font-size:12px!important}
  #track .amb .cap{padding:8px!important}

  /* How we work */
  #process h2{font-size:clamp(28px,8vw,36px)!important}
}

/* ---------- Our Work (phones): two squares per row, landscape deals full width, gaps filled in order ---------- */
@media (max-width:767px){
  .vc.g6{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row dense;gap:10px!important}
  .vc.g6>*{grid-column:auto!important}
  .vc.g6>.w2,.vc.g6>.h3,.vc.g6>.l3,.vc.g6>.wide{grid-column:1/-1!important}
  .vc.g6 .l3 .frame .pic{aspect-ratio:16/9!important}
  .vc.g6 .w2 .frame .pic{aspect-ratio:16/9!important;min-height:0!important}
  .vc.g6 .gx{padding:8px 8px 10px!important;border-radius:20px!important}
  .vc.g6 .frame .pic{border-radius:13px!important}
  .vc.g6 .txt.pqw{padding:8px 2px 0!important}
  .vc.g6 .pq{height:58px!important;padding:8px 20px!important;border-radius:5px}
  .vc.g6 .pq b{font-size:12.5px!important;line-height:1.2}
  .vc.g6 .pq::before{left:7px}.vc.g6 .pq::after{right:7px}
  .vc.g6 .pq::before,.vc.g6 .pq::after{width:6px;height:6px;margin-top:-3px}
  .vc.g6 .w2 .pq b,.vc.g6 .h3 .pq b{font-size:14px!important}
  #intro h1{font-size:clamp(34px,10vw,44px)!important}
}

/* ---------- Hospitality (phones) ---------- */
@media (max-width:767px){
  body:has(#pass) #scan h1{font-size:clamp(32px,9vw,40px)!important}
  body:has(#pass) #scan .sub{font-size:14px!important;line-height:1.5}
  body:has(#pass) #scan .row{gap:10px!important;flex-wrap:wrap}
  body:has(#pass) #scan .caps{gap:6px!important;margin-top:16px!important}body:has(#pass) #scan .caps span{padding:6px 10px;font-size:10px;letter-spacing:.12em}
  body:has(#pass) #scan .stage{margin-top:14px}
  .pass{--ry:-6deg;--rx:3deg;width:92%!important;margin:0 auto}
  .pass .in{padding:16px 18px!important}
  .pass .t{font-size:24px!important}
  .pass .inc span{font-size:11px;padding:5px 9px}

  /* what we arrange: compact 2-column tiles, the fifth one runs full width */
  .inc5{grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:18px!important}
  .inc5>:last-child{grid-column:1/-1}
  .inc5 .gx .in{min-height:0!important;padding:16px 12px!important;gap:8px!important}
  .inc5 h3{font-size:15px!important}
  .inc5 p{font-size:12.5px!important;line-height:1.4}
  .inc5 .em{width:38px!important;height:38px!important}

  /* sports: six small tiles, three in a row */
  .ev4{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:18px!important}
  .ev4 .gx .in{min-height:0!important;padding:14px 6px!important;gap:8px!important}
  .ev4 h3{font-size:12.5px!important;line-height:1.2}
  .ev4 .em{width:36px!important;height:36px!important}

  /* why brands host */
  #why-host .pts{gap:14px!important}
  #why-host .pt b{font-size:15px}#why-host .pt p{font-size:13px}
  #why-host .path .in{padding:18px 16px!important}
  #why-host .path h3{font-size:22px!important}

  /* request form: short fields side by side */
  form#req .in{grid-template-columns:1fr 1fr!important;gap:10px!important}
  form#req .f.w,form#req .send,form#req .ok{grid-column:1/-1}
  form#req .chips{flex-wrap:wrap;gap:6px!important}
  form#req .send{flex-direction:column-reverse;align-items:stretch!important;gap:10px!important}form#req .send .cta{justify-content:center}
  body:has(#pass) section h2{font-size:clamp(28px,8vw,36px)!important}
}

/* ---------- phones: smoothness (2026-10-17) ----------
   Live background blur behind every glass card is what makes phones stutter while scrolling, so on phones the cards keep their glass
   look (gradient, lit edge, grain, sheen) on a slightly deeper tint instead of blurring the page behind them in real time.
   The slow drifting lights hold still, and nothing else changes. */
@media (max-width:767px){
  .gx,.gx.is-core,.pass,.pq,#scan.hh .shelf .gx,.vc .gx{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .gx{--lg-bf:none}
  .gx:not(.pass){background-color:rgba(12,6,8,.55)}
  .haze::before,.hz::before,.au,.sb .hz,.b6 .au{animation:none!important}
  .haze,.hz{filter:blur(36px)!important}
}

/* 2026-10-26 mobile pass: smallest labels up to a readable size, text links on Hospitality get a full-size tap area */
@media (max-width:767px){
  #scan.lead .lbl{font-size:11px!important;line-height:1.35}
  html body #scan.lead .fx .fi .kk{font-size:9.5px!important}
  #scan .row.hb .ghost{padding:12px 0!important;min-height:44px;display:inline-flex;align-items:center}
}
