/* ===== MOCK: two rows of wide bars ===== */
.work-strip { grid-auto-columns: calc((100% - 0.8rem) / 3); }
.work-strip .work-item { aspect-ratio: 2 / 1; }
.work-strip .work-item img, .work-strip .work-item video.m-loop { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:cover; }
.work-strip .work-item video.m-loop { opacity:0; transition:opacity .35s ease; z-index:1; pointer-events:none; }
.work-strip .work-item.m-playing video.m-loop { opacity:1; }
.work-strip .work-item .work-overlay { z-index:2; }
.work-item[data-vimeo="1249151833"] img { object-position: 50% 24%; }
.work-item[data-vimeo="1249151789"] img { object-position: 50% 30%; }
.work-item[data-vimeo="1249151719"] img { object-position: 50% 42%; }
@media (max-width: 768px) { .work-strip { grid-auto-columns: calc((100% - 0.4rem) / 1.35); } }
/* ===== MOCK: hero ===== */
.reel-slogan { font-family:'Manrope',sans-serif; font-weight:800; font-size: clamp(2.2rem, 6.2vw, 5.6rem); letter-spacing: .02em; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.m-hero-sub { font-family:'DM Sans',sans-serif; text-transform:uppercase; letter-spacing:.32em; font-size:clamp(.7rem,1vw,.95rem); color:rgba(244,242,238,.9); text-shadow:0 1px 3px rgba(0,0,0,.5); }
@media (max-width: 768px) { .reel-slogan { font-size: 2rem !important; letter-spacing:.02em !important; } }
/* ===== MOCK: player credits ===== */
.lightbox-inner { max-width: 1320px; display:grid; grid-template-columns: minmax(0,1fr) 300px; gap: 2rem; align-items:end; }
.lightbox-close { right: 0; }
.m-credits { color:#f0ede8; font-family:'DM Sans',sans-serif; padding-bottom:.4rem; }
.m-credits .m-tag { font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:rgba(240,237,232,.55); margin-bottom:.7rem; }
.m-credits .m-title { font-family:'Manrope',sans-serif; font-weight:800; font-size:1.7rem; line-height:1.1; margin-bottom:.5rem; }
.m-credits .m-sub { font-size:.9rem; color:rgba(240,237,232,.75); margin-bottom:1.4rem; }
.m-credits dl { margin:0; border-top:1px solid rgba(240,237,232,.14); }
.m-credits dt { font-size:.56rem; letter-spacing:.22em; text-transform:uppercase; color:rgba(240,237,232,.45); margin-top:.9rem; }
.m-credits dd { margin:.2rem 0 0; font-size:.86rem; line-height:1.45; }
@media (max-width: 900px) { .lightbox-inner { grid-template-columns: 1fr; gap:1rem; } }
/* ===== MOCK: about collage (cut-outs only) ===== */
.m-collage-wrap { position:relative; width:100%; height: calc(1000px * var(--mc, 1)); margin: -1rem auto 2.5rem; }
.m-collage { position:absolute; left:50%; top:0; width:1240px; height:1000px; margin-left:-620px; transform: scale(var(--mc, 1)); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.m-cut { position:absolute; bottom: var(--b, 0px); height: var(--h); left: var(--x); transform: translateY(70px) rotate(var(--r, 0deg)) scale(.94); opacity:0;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)); transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .7s ease; transition-delay: calc(var(--i) * 55ms); pointer-events:none; }
.m-collage.m-in .m-cut { transform: translateY(0) rotate(var(--r, 0deg)) scale(1); opacity:1; }
.m-cut.m-back { filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)) brightness(.85); }

.m-cut.m-soft { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 62%, transparent 100%); }
.m-cut.m-lift { filter: drop-shadow(0 18px 24px rgba(0,0,0,.65)) brightness(1.5) contrast(1.05); }

/* v7: shared grade so the cut-outs sit together */
.m-cut { filter: var(--f, saturate(1)) drop-shadow(0 14px 26px rgba(0,0,0,.7)) !important; }
.m-grade { position:absolute; inset:0; z-index:40; pointer-events:none; mix-blend-mode:soft-light; opacity:.55;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255,214,170,.55), rgba(40,70,140,.55) 75%, rgba(10,20,60,.7) 100%); }
.m-grain { position:absolute; inset:0; z-index:41; pointer-events:none; mix-blend-mode:overlay; opacity:.22;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.m-vig { position:absolute; inset:0; z-index:42; pointer-events:none; background: radial-gradient(ellipse 62% 60% at 50% 48%, rgba(12,12,13,0) 62%, rgba(12,12,13,.85) 100%); }

.m-grade, .m-grain { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 96%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 55%, transparent 96%); }
.m-grade { opacity:.42; }
.m-vig { display:none; }

.m-cut.m-fadeb { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }

/* v9: fade the collage at its left and right edges too */
.m-collage { -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 90%, transparent 100%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); mask-composite: intersect; }

/* ===== hero: stacked wordmark ===== */
.reel-slogan.m-lock { display:flex; flex-direction:column; align-items:center; letter-spacing:0 !important; font-size:0 !important; filter:none !important; }
.reel-slogan.m-lock span { display:block; font-family:'Manrope',sans-serif; font-weight:800; line-height:.76; letter-spacing:0; white-space:nowrap; color:#f1eee8; text-shadow:0 4px 50px rgba(0,0,0,.45); }
.reel-slogan.m-lock span + span { margin-top:.035em; }
.m-hero-sub { margin-top:1.4rem; }
@media (max-width:768px){ .m-hero-sub { letter-spacing:.2em; font-size:.62rem; margin-top:1rem; } }

/* ===== ONE TYPE SYSTEM: Manrope 800 caps for every title, DM Sans spaced caps for every label ===== */
.work-title, .contact-big, .about-page-title, .about-body .work-label, #work .work-label, .m-credits .m-title {
  font-family:'Manrope',sans-serif !important; font-weight:800 !important; text-transform:uppercase; letter-spacing:-.01em !important; line-height:.9 !important; color:#f1eee8 !important; }
.work-title { font-size:clamp(2.6rem,6vw,5.2rem) !important; }
.about-body p.work-label, .about-body .work-label { font-size:clamp(2rem,4.4vw,3.4rem) !important; margin:2.2rem 0 1.6rem !important; display:block !important; }
.about-body .work-label::before, .about-body .work-label::after { display:none !important; }
.contact-big.contact-big-inform { font-size:clamp(2rem,4.4vw,3.4rem) !important; margin-bottom:1.6rem; }
.service-title { font-family:'Manrope',sans-serif !important; font-weight:800 !important; text-transform:uppercase; letter-spacing:0 !important; }
.work-tag, .form-label, .service-num, .m-f-h, .m-clients .work-label {
  font-family:'DM Sans',sans-serif !important; font-weight:500 !important; text-transform:uppercase; letter-spacing:.24em !important; }
/* stacked lockups */
.m-stack { display:flex; flex-direction:column; align-items:center; }
.m-stack span { display:block; font-family:'Manrope',sans-serif; font-weight:800; line-height:.76; letter-spacing:0; white-space:nowrap; color:#f1eee8; }
.m-stack span + span { margin-top:.04em; }
.m-statement { margin:2.6rem auto 2.4rem; }
/* client strip under the hero */
.m-clients { padding:1.6rem 0 .4rem; position:relative; z-index:2; }
.m-clients .work-label { font-size:.62rem !important; line-height:1 !important; color:rgba(236,234,228,.5) !important; text-align:center; margin:0 0 1.1rem !important; display:block !important; }
.m-clients .work-label::before, .m-clients .work-label::after { display:none !important; }
.m-clients .logo-track { gap:3.4rem !important; }
.m-clients .logo-track img { height:38px !important; opacity:.6 !important; }
@media (max-width:768px){ .m-clients .logo-track img { height:28px !important; } .m-clients .logo-track { gap:2.2rem !important; } }
/* footer */
footer.m-footer { display:block !important; padding:3.5rem 1.5rem 1.6rem !important; background:#0b0b0c !important; border-top:1px solid rgba(236,234,228,.1) !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
.m-f-mark { opacity:.94; }
.m-f-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; max-width:1500px; margin:3rem auto 0; font-family:'DM Sans',sans-serif; }
.m-f-cols > div { display:flex; flex-direction:column; gap:.55rem; }
.m-f-h { font-size:.6rem; color:rgba(236,234,228,.45); margin-bottom:.4rem; }
.m-f-cols a, .m-f-cols span { font-size:.95rem; color:rgba(236,234,228,.88); text-decoration:none; }
.m-f-cols a:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.m-f-base { max-width:1500px; margin:2.6rem auto 0; padding-top:1.2rem; border-top:1px solid rgba(236,234,228,.1); font-family:'DM Sans',sans-serif; font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(236,234,228,.4); }
@media (max-width:768px){ .m-f-cols { grid-template-columns:1fr; gap:1.6rem; margin-top:2rem; } footer.m-footer { padding:2.4rem 1.25rem 1.4rem !important; } }
/* phone: nav gets its own dark band so it never sits on top of the collage */
@media (max-width:768px){ nav { mix-blend-mode:normal !important; background:linear-gradient(to bottom, rgba(12,12,13,.96) 0%, rgba(12,12,13,.82) 62%, rgba(12,12,13,0) 100%) !important; }
  nav .nav-logo-img { filter:invert(1) !important; } }

/* ===== hero: jumbled wordmark, blended into the reel ===== */
.reel-center { mix-blend-mode: screen; }
.reel-slogan.m-jumble { display:flex; flex-direction:column; align-items:center; gap:.5vw; letter-spacing:0 !important; font-size:0 !important; filter:none !important; text-shadow:none !important; }
.m-jrow { display:flex; align-items:stretch; justify-content:center; }
.m-jrow span { display:block; font-family:'Manrope',sans-serif; font-weight:800; line-height:.78; letter-spacing:0; color:#c9c5bc; }
.m-hero-sub { color:#d9d6cf !important; text-shadow:none !important; }

.m-jrow span { will-change: transform; transform-origin: 50% 55%; }
.reel-slogan.m-jumble { gap:.9vw; }

.m-jrow span { color:#e2ded5; }

/* ===== dial-in pass ===== */
/* footer wordmark: a sign-off, not a second hero; lines up with the columns under it */
.m-f-mark { max-width:1500px; margin:0 auto; align-items:flex-start !important; }
/* the footer already carries email + Instagram, so drop the duplicate row (and its dead LinkedIn link) under the form */
.contact-grid .contact-links { display:none !important; }
/* services: readable at desktop size */
.service-title { font-size:1.05rem !important; line-height:1.15 !important; }
.service-desc { font-size:.92rem !important; line-height:1.5 !important; }
/* About: client logos match the quiet strip on the home page */
.about-body .logo-track img { height:44px !important; opacity:.7 !important; }
.about-body .logo-track { gap:3.4rem !important; }
@media (max-width:768px){ .about-body .logo-track img { height:30px !important; } .about-body .logo-track { gap:2.2rem !important; } }

/* hover preview via the Vimeo player (older tiles) */
.work-strip .work-item iframe.m-emb { position:absolute; left:50%; top:50%; width:100%; height:auto; transform:translate(-50%,-50%); border:0; pointer-events:none; z-index:1; opacity:0; transition:opacity .4s ease; background:#000; }

/* the About "Clients" heading was rendering near-black on the dark page */
.about-page .about-body p.work-label { color:#f1eee8 !important; }

/* ===== hero: roto reel — the BERDE/VISION title is in the footage, behind the subjects ===== */
.reel-wrap.roto .reel-center { display:none; }
.reel-wrap.roto .reel-video { -webkit-mask-image:linear-gradient(to bottom, black 0%, black 90%, transparent 100%); mask-image:linear-gradient(to bottom, black 0%, black 90%, transparent 100%); }
@media (max-width:768px){ .reel-wrap.roto { aspect-ratio:4 / 3 !important; min-height:0 !important; } }

/* ===== colour: the page takes the reel's colour; a hovered project takes it over ===== */
:root { --amb: 118,116,124; --amb-k: .55; }
.m-amb { position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(120% 75% at 50% 0%, rgba(var(--amb), calc(.34 * var(--amb-k))) 0%, rgba(var(--amb), 0) 72%),
    radial-gradient(70% 55% at 0% 100%, rgba(var(--amb), calc(.20 * var(--amb-k))) 0%, rgba(var(--amb), 0) 70%),
    radial-gradient(70% 55% at 100% 100%, rgba(var(--amb), calc(.20 * var(--amb-k))) 0%, rgba(var(--amb), 0) 70%); }
.work-title { color: color-mix(in srgb, #f1eee8 70%, rgb(var(--amb))) !important; }
.m-clients .work-label { color: color-mix(in srgb, rgba(236,234,228,.6) 55%, rgb(var(--amb))) !important; }
.work-strip .work-item { outline: 1px solid rgba(var(--amb), calc(.30 * var(--amb-k))); outline-offset: -1px; }
.work-side-arrow { border-color: rgba(var(--amb), .55) !important; }
.work-nav-counter { color: color-mix(in srgb, rgba(236,234,228,.6) 50%, rgb(var(--amb))) !important; }

/* ===== opening a project: its colour spreads out of the panel, the player grows out of the panel, the colour stays ===== */
.m-amb { background:
    radial-gradient(120% 75% at 50% 0%, rgba(var(--amb), calc(.34 * var(--amb-k))) 0%, rgba(var(--amb), 0) 72%),
    radial-gradient(70% 55% at 0% 100%, rgba(var(--amb), calc(.20 * var(--amb-k))) 0%, rgba(var(--amb), 0) 70%),
    radial-gradient(70% 55% at 100% 100%, rgba(var(--amb), calc(.20 * var(--amb-k))) 0%, rgba(var(--amb), 0) 70%),
    linear-gradient(rgba(var(--amb), calc(.07 * var(--amb-k))), rgba(var(--amb), calc(.045 * var(--amb-k)))); }
.m-amb-new { will-change: clip-path; }
.m-wave { position:fixed; inset:0; z-index:9500; pointer-events:none; overflow:hidden; mix-blend-mode:screen; }
.m-flood { position:absolute; border-radius:3px; will-change: transform, opacity; transform-origin:50% 50%;
  background: radial-gradient(closest-side, rgba(var(--c), .18), rgba(var(--c), .44));
  box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 0 0 3px rgba(var(--c), .9), 0 0 16px 6px rgba(var(--c), .7), 0 0 44px 16px rgba(var(--c), .35), inset 0 0 26px 4px rgba(var(--c), .55); }
.m-flood-2 { background: none; box-shadow: 0 0 0 1px rgba(var(--c), .7), 0 0 22px 8px rgba(var(--c), .4), inset 0 0 30px 6px rgba(var(--c), .3); }
.m-ghost { position:fixed; z-index:9400; object-fit:cover; pointer-events:none; 
  box-shadow: 0 0 120px 20px rgba(var(--amb), .5), 0 32px 80px rgba(0,0,0,.5); }
.lightbox { transition: opacity .75s ease !important; }
.lightbox-inner { transition: opacity .5s ease; }
.lightbox.m-mat .lightbox-inner { opacity:0; transition:none; }
.lightbox-backdrop { background:
  radial-gradient(90% 80% at 50% 50%, rgba(var(--amb), .34) 0%, rgba(var(--amb), .14) 55%, rgba(var(--amb), .05) 100%), rgba(8,8,8,.84) !important; }
.lightbox-frame { box-shadow: 0 0 160px 14px rgba(var(--amb), .4); }
/* while a project's colour holds the page, more of the page carries it */
.m-amb-stick .work-title { color: color-mix(in srgb, #f1eee8 45%, rgb(var(--amb))) !important; }
.m-amb-stick .work-strip .work-item { outline-color: rgba(var(--amb), .75); }
.m-amb-stick .m-clients .logo-track img { filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 0 10px rgba(var(--amb), .8)) !important; }
.m-amb-stick .work-label, .m-amb-stick .contact-big, .m-amb-stick .m-statement span { color: color-mix(in srgb, #f1eee8 55%, rgb(var(--amb))) !important; }
.m-amb-stick .contact-form-glass { border-color: rgba(var(--amb), .5) !important; box-shadow: 0 12px 48px rgba(0,0,0,.4), 0 0 80px rgba(var(--amb), .22), inset 0 1px 0 rgba(255,255,255,.18) !important; }
.m-amb-stick footer.m-footer { border-top-color: rgba(var(--amb), .5) !important; background: color-mix(in srgb, #0b0b0c 86%, rgb(var(--amb))) !important; }

/* ===== client logos: larger and brighter ===== */
.m-clients .logo-track img { height:52px !important; opacity:.92 !important; }
.m-clients .logo-track { gap:4.2rem !important; }
.m-clients .work-label { font-size:.7rem !important; margin-bottom:1.4rem !important; }
.m-clients { padding:2rem 0 .8rem; }
@media (max-width:768px){ .m-clients .logo-track img { height:36px !important; } .m-clients .logo-track { gap:2.6rem !important; } }

/* ===== phone held upright: the tall 9:16 cut of the reel fills the screen ===== */
@media (max-width:768px){ .reel-wrap.roto.tall { aspect-ratio:9 / 16 !important; max-height:100svh; min-height:0 !important; }
  .reel-wrap.roto.tall .reel-video { object-fit:cover; object-position:50% 40%; } }

/* ===== opening a project: particle canvas over the page ===== */
.m-fx { position:fixed; inset:0; width:100%; height:100%; z-index:9450; pointer-events:none; }
.m-ghost { opacity:0; border-radius:4px; }

/* ===== opening a project: the panel grows into the player (no added effects) ===== */
.m-grow { position:fixed; z-index:9400; overflow:hidden; pointer-events:none; background:#000;
  box-shadow: 0 0 140px 12px rgba(var(--amb), .38), 0 32px 80px rgba(0,0,0,.55); }
.m-grow img, .m-grow video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:opacity .25s ease; }
.lightbox { transition: opacity .55s ease !important; }

/* ===== phone held upright: 4:5 cut of the reel (replaces the 9:16 cut) ===== */
@media (max-width:768px){ .reel-wrap.roto.tall { aspect-ratio:4 / 5 !important; max-height:none; }
  .reel-wrap.roto.tall .reel-video { object-position:50% 50%; } }

/* ===== colour pools that drift; hue wanders over time (set in colour.js) ===== */
:root { --amb2: 118,116,124; --amb3: 118,116,124; }
.m-amb { overflow:hidden; background: linear-gradient(rgba(var(--amb), calc(.07 * var(--amb-k))), rgba(var(--amb), calc(.045 * var(--amb-k)))) !important; }
.m-blob { position:absolute; border-radius:50%; will-change:transform; opacity: calc(.42 * var(--amb-k)); }
.m-blob-a { --c: var(--amb);  width:120vmax; height:90vmax;  left:50%; top:-34vmax; margin-left:-60vmax; animation: m-drift-a 37s ease-in-out infinite alternate; }
.m-blob-b { --c: var(--amb2); width:85vmax;  height:85vmax;  left:-38vmax; top:22vh;  animation: m-drift-b 46s ease-in-out infinite alternate; }
.m-blob-c { --c: var(--amb3); width:90vmax;  height:90vmax;  right:-40vmax; top:38vh; animation: m-drift-c 53s ease-in-out infinite alternate; }
.m-blob-d { --c: var(--amb);  width:110vmax; height:70vmax;  left:50%; bottom:-40vmax; margin-left:-55vmax; animation: m-drift-d 41s ease-in-out infinite alternate; }
.m-blob { background: radial-gradient(closest-side, rgba(var(--c), .95) 0%, rgba(var(--c), .5) 38%, rgba(var(--c), 0) 100%); }
@keyframes m-drift-a { 0% { transform: translate3d(-9vw, -2vh, 0) scale(1); }   50% { transform: translate3d(6vw, 5vh, 0) scale(1.12); }  100% { transform: translate3d(12vw, -1vh, 0) scale(.96); } }
@keyframes m-drift-b { 0% { transform: translate3d(0, -8vh, 0) scale(1); }      50% { transform: translate3d(16vw, 6vh, 0) scale(1.18); } 100% { transform: translate3d(7vw, 18vh, 0) scale(1.04); } }
@keyframes m-drift-c { 0% { transform: translate3d(0, 10vh, 0) scale(1.08); }   50% { transform: translate3d(-18vw, -4vh, 0) scale(.94); } 100% { transform: translate3d(-8vw, -16vh, 0) scale(1.16); } }
@keyframes m-drift-d { 0% { transform: translate3d(10vw, 0, 0) scale(1); }      50% { transform: translate3d(-8vw, -7vh, 0) scale(1.14); } 100% { transform: translate3d(-14vw, 2vh, 0) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .m-blob { animation: none !important; } }

/* ===== hero melts into the page: the reel fades out over its lower third and the page's colour rises into it ===== */
.reel-wrap.roto { background: transparent !important; }
.reel-wrap.roto .reel-video { background: transparent !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.72) 76%, rgba(0,0,0,.34) 89%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.72) 76%, rgba(0,0,0,.34) 89%, transparent 100%); }
.reel-wrap.roto::after { content:''; position:absolute; left:0; right:0; bottom:0; height:46%; pointer-events:none; z-index:2;
  background: linear-gradient(to top, rgba(var(--amb), calc(.20 * var(--amb-k))) 0%, rgba(var(--amb), calc(.09 * var(--amb-k))) 45%, rgba(var(--amb), 0) 100%); mix-blend-mode: screen; }
.m-clients { margin-top:-1.2rem; }

/* ===== projects as a 3D wheel ===== */
.work-grid-wrap { overflow: visible !important; }
.work-strip.m-wheel { display:block !important; position:relative; overflow:visible !important; padding:0 !important; margin:2.2rem auto 0 !important;
  width:100%; height: calc(var(--wh, 300px) + 3rem); scroll-snap-type:none !important; touch-action: pan-y; -webkit-user-select:none; user-select:none;
  transform-style: preserve-3d; perspective-origin: 50% 46%; outline:none; cursor: grab; }
.work-strip.m-wheel.m-drag { cursor: grabbing; }
.m-slot { position:absolute; left:50%; top:50%; width: var(--ww, 520px); height: var(--wh, 300px); transform-style: preserve-3d; will-change: transform, opacity;
  -webkit-backface-visibility:hidden; backface-visibility:hidden; }
.work-strip.m-wheel .work-item { position:absolute !important; inset:0; width:100% !important; height:100% !important; aspect-ratio:auto !important; margin:0 !important;
  outline:none !important; box-shadow: 0 26px 60px rgba(0,0,0,.55) !important; border-radius:3px; overflow:hidden !important; }
.m-slot.m-front .work-item { box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 0 110px 6px rgba(var(--tile, var(--amb)), .55), 0 30px 70px rgba(0,0,0,.6) !important; }
.m-veil { position:absolute; inset:0; background:#060607; opacity:0; pointer-events:none; border-radius:3px; z-index:5; }
.work-strip.m-wheel .work-item .work-overlay { display:none !important; }     /* the caption under the wheel carries the title */
.m-wheel-cap { text-align:center; margin: 1.6rem auto 0; min-height: 6.2rem; padding: 0 1rem; position:relative; z-index:3; }
.m-wc-tag { font-family:'DM Sans',sans-serif; font-weight:500; font-size:.62rem; letter-spacing:.26em; text-transform:uppercase; color:rgba(255,255,255,.62); margin-bottom:.55rem; }
.m-wc-name { font-family:'Manrope',sans-serif; font-weight:800; text-transform:uppercase; font-size:clamp(1.5rem,3.2vw,2.7rem); line-height:1; letter-spacing:-.01em; color:#fff; }
.m-wc-sub { font-family:'DM Sans',sans-serif; font-size:.92rem; color:rgba(255,255,255,.72); margin-top:.5rem; }
.m-wheel-cap > div { opacity:0; transform: translateY(8px); }
.m-wheel-cap.m-in > div { opacity:1; transform:none; transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.m-wheel-cap.m-in > div:nth-child(2) { transition-delay:.05s; } .m-wheel-cap.m-in > div:nth-child(3) { transition-delay:.1s; }
.work-nav-counter { letter-spacing:.2em; }
@media (max-width:768px){ .work-strip.m-wheel { margin-top:1.2rem !important; height: calc(var(--wh, 200px) + 2rem); } .m-wheel-cap { min-height:5.2rem; margin-top:1rem; } .m-wc-sub { font-size:.8rem; } }

/* ===== About collage: no dark box at its edges; it fades out through a mask instead ===== */
.bvc-fade { display:none !important; }
.bvc-stage { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); mask-composite: intersect; }

/* ===== hero melts into the page, v2: no tint band (its lower edge drew a line); a longer, eased fade that is fully clear before the hero ends ===== */
.reel-wrap.roto::after { display:none !important; }
.reel-wrap.roto .reel-video {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.92) 56%, rgba(0,0,0,.74) 66%, rgba(0,0,0,.5) 75%, rgba(0,0,0,.27) 83%, rgba(0,0,0,.1) 90%, rgba(0,0,0,.02) 95%, transparent 98%) !important;
          mask-image: linear-gradient(to bottom, #000 0%, #000 46%, rgba(0,0,0,.92) 56%, rgba(0,0,0,.74) 66%, rgba(0,0,0,.5) 75%, rgba(0,0,0,.27) 83%, rgba(0,0,0,.1) 90%, rgba(0,0,0,.02) 95%, transparent 98%) !important; }
.reel-wrap.roto, .m-clients { border:0 !important; box-shadow:none !important; background:transparent !important; }
.reel-wrap.roto > .crop-mark { display:none !important; }

/* ===== wheel v2: smaller films, and "All work" unfurls it into a grid ===== */
.m-slot { top: var(--cy, 50%); }
.work-strip.m-wheel { transition: height .9s cubic-bezier(.3,.7,.2,1); }
.work-strip.m-anim .m-slot { transition: transform 1s cubic-bezier(.22,.8,.2,1), opacity .6s ease; }
.work-strip.m-anim .m-veil { transition: opacity .6s ease; }
.work-strip.m-grid { cursor: default; touch-action: auto; }
.work-strip.m-grid .work-item { box-shadow: 0 10px 30px rgba(0,0,0,.45) !important; }
.work-strip.m-grid .m-slot.m-front .work-item { box-shadow: 0 10px 30px rgba(0,0,0,.45) !important; }
.work-strip.m-grid .work-item .work-overlay { display:flex !important; }
.m-wheel-cap { transition: opacity .4s ease, min-height .6s ease, margin .6s ease; overflow:hidden; }
.m-wheel-cap.m-gone { opacity:0; min-height:0 !important; height:0; margin-top:0 !important; pointer-events:none; }
.m-allwork-on .work-side-arrow, .m-allwork-on .work-nav-counter { opacity:0 !important; pointer-events:none; }
.m-allwork-bar { text-align:center; margin: 1.3rem 0 .6rem; position:relative; z-index:3; }
.m-allwork { font-family:'DM Sans',sans-serif; font-weight:500; font-size:.72rem; letter-spacing:.24em; text-transform:uppercase; color:#fff; background:transparent;
  border:1.5px solid rgba(255,255,255,.85); border-radius:999px; padding:.8rem 1.7rem; cursor:pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.m-allwork:hover, .m-allwork.m-on { background:#fff; color:#0c0c0d; }
.m-allwork:active { transform: scale(.97); }
html.m-allwork-on .m-allwork-bar { margin-top:1.8rem; }

/* ===== Wheel / All: a quiet text switch beside the section title ===== */
.work-header.m-has-tog { position:relative; }
.m-viewtog { position:absolute; right:clamp(1.2rem, 4vw, 3.5rem); bottom:.5rem; display:flex; align-items:center; gap:.7rem; z-index:4;
  font-family:'DM Sans',sans-serif; font-weight:500; font-size:.68rem; letter-spacing:.24em; text-transform:uppercase; }
.m-viewtog button { background:none; border:0; padding:.35rem 0; margin:0; font:inherit; letter-spacing:inherit; text-transform:inherit; color:rgba(255,255,255,.45); cursor:pointer;
  border-bottom:1px solid transparent; transition: color .25s ease, border-color .25s ease; }
.m-viewtog button:hover { color:rgba(255,255,255,.85); }
.m-viewtog button.m-on { color:#fff; border-bottom-color:rgba(255,255,255,.9); }
.m-viewtog i { font-style:normal; color:rgba(255,255,255,.3); }
@media (max-width:768px){ .m-viewtog { position:static; justify-content:center; margin-top:.9rem; font-size:.64rem; } }
.m-allwork-bar { display:none !important; }

/* ===== All view: films carry their own titles; no hover plate ===== */
.work-strip.m-grid .work-item .work-overlay { display:none !important; }
.work-strip.m-grid .work-item, .work-strip.m-grid .m-slot.m-front .work-item { box-shadow:none !important; border-radius:2px; }
.m-gcap { position:absolute; left:0; right:0; bottom:0; z-index:6; pointer-events:none; opacity:0; transition: opacity .35s ease;
  padding: calc(34px * var(--inv, 1)) calc(14px * var(--inv, 1)) calc(11px * var(--inv, 1));
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 45%, rgba(0,0,0,0) 100%); border-radius:0 0 2px 2px; }
.work-strip.m-grid .m-gcap { opacity:1; transition: opacity .6s ease .55s; }
.m-gc-name { font-family:'Manrope',sans-serif; font-weight:800; text-transform:uppercase; letter-spacing:.01em; color:#fff; line-height:1.05; font-size: calc(13px * var(--inv, 1)); }
.m-gc-tag { font-family:'DM Sans',sans-serif; font-weight:400; color:rgba(255,255,255,.7); margin-top: calc(3px * var(--inv, 1)); font-size: calc(10.5px * var(--inv, 1)); letter-spacing:.04em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.m-slot.m-big .m-gc-name { font-size: calc(21px * var(--inv, 1)); }
.m-slot.m-big .m-gc-tag { font-size: calc(12.5px * var(--inv, 1)); }
.m-slot.m-big .m-gcap { padding: calc(60px * var(--inv, 1)) calc(22px * var(--inv, 1)) calc(18px * var(--inv, 1)); }
@media (max-width:768px){ .m-gc-name { font-size: calc(10.5px * var(--inv, 1)); } .m-gc-tag { display:none; } .m-slot.m-big .m-gc-name { font-size: calc(15px * var(--inv, 1)); } .m-slot.m-big .m-gc-tag { display:block; font-size: calc(10.5px * var(--inv, 1)); }
  .m-gcap { padding: calc(22px * var(--inv, 1)) calc(9px * var(--inv, 1)) calc(8px * var(--inv, 1)); } }

/* the Wheel / All switch sits on its own slim line above the films, right-aligned to the grid's edge */
.m-viewbar { position:relative; z-index:4; width:min(100% - 96px, 1360px); margin:1.4rem auto 0; display:flex; justify-content:flex-end; }
.m-viewbar .m-viewtog { position:static; }
.work-strip.m-wheel { margin-top:.6rem !important; }
@media (max-width:768px){ .m-viewbar { width:calc(100% - 32px); justify-content:center; margin-top:1rem; } .m-viewbar .m-viewtog { margin-top:0; } .work-strip.m-wheel { margin-top:.4rem !important; } }

/* ===== Wheel / All switch, clearer: a small two-part control with icons and the film count ===== */
.m-viewtog { gap:0 !important; font-size:.7rem; letter-spacing:.2em; border:1px solid rgba(255,255,255,.45); border-radius:999px; padding:3px; background:rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.m-viewtog i { display:none; }
.m-viewtog button { display:flex; align-items:center; gap:.5rem; padding:.5rem .95rem !important; border:0 !important; border-radius:999px; color:rgba(255,255,255,.86); }
.m-viewtog button:hover { color:#fff; background:rgba(255,255,255,.1); }
.m-viewtog button.m-on { color:#0c0c0d; background:#fff; }
.m-viewtog svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.4; flex:none; }
@media (max-width:768px){ .m-viewtog { font-size:.66rem; } .m-viewtog button { padding:.5rem .85rem !important; } }
/* only one preview film per tile */
.work-strip .work-item iframe.m-emb ~ iframe.m-emb { display:none; }
.work-strip.m-grid .work-item iframe.m-emb-w { display:none; }

/* ===== full ring wheel; no white outlines on the films ===== */
.work-strip.m-wheel .work-item, .m-slot.m-front .work-item, .work-strip.m-grid .work-item { border:0 !important; outline:0 !important; }
.work-strip.m-wheel .work-item { box-shadow: 0 18px 40px rgba(0,0,0,.5) !important; }
.m-slot.m-front .work-item { box-shadow: 0 0 90px 4px rgba(var(--tile, var(--amb)), .5), 0 26px 60px rgba(0,0,0,.6) !important; }
.work-strip.m-grid .work-item, .work-strip.m-grid .m-slot.m-front .work-item { box-shadow:none !important; }

/* ===== scroll motion ===== */
.work-strip.m-wheel { opacity:0; translate: 0 46px; transition: height .9s cubic-bezier(.3,.7,.2,1), opacity .9s ease, translate 1.1s cubic-bezier(.2,.8,.2,1); }
.work-strip.m-wheel.m-in { opacity:1; translate: 0 0; }
.m-asm { display:inline-block; opacity:0; transform: translateY(.55em) rotate(7deg) scale(.9); transform-origin:50% 80%; transition: opacity .5s ease, transform .7s cubic-bezier(.2,.9,.25,1.15); }
.m-asm-in .m-asm { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { .work-strip.m-wheel { opacity:1; translate:0 0; } .m-asm { opacity:1; transform:none; } }

/* any letter split inside a stacked lockup must never stack */
.m-stack .m-asm { display:inline-block !important; font-size:inherit !important; line-height:inherit !important; }
/* ===== film frames a touch brighter and richer than the page around them ===== */
.work-strip.m-wheel .work-item img, .work-strip.m-wheel .work-item video.m-loop, .work-strip.m-wheel .work-item iframe.m-emb { filter: saturate(1.14) brightness(1.06) contrast(1.03); }
.m-slot.m-front .work-item img, .m-slot.m-front .work-item video.m-loop, .m-slot.m-front .work-item iframe.m-emb { filter: saturate(1.24) brightness(1.13) contrast(1.05); }
.work-strip.m-grid .work-item img, .work-strip.m-grid .work-item video.m-loop { filter: saturate(1.18) brightness(1.09) contrast(1.04); }

/* ===== About collage: no scroll animation; it fades in whole ===== */
.bvc-stage { opacity:0; translate:0 22px; transition: opacity 1s ease, translate 1.1s cubic-bezier(.2,.8,.2,1); }
.bvc-stage.m-in { opacity:1; translate:0 0; }
.bvc-hint { display:none !important; }

/* ===== About collage: a slow, slight drift so it is never frozen (three layers, three speeds) ===== */
.bvc .plate { animation: m-bob 9s ease-in-out infinite alternate; }
.bvc .plate:nth-of-type(2n) { animation-duration: 11.5s; animation-delay: -3s; }
.bvc .plate:nth-of-type(3n) { animation-duration: 13s; animation-delay: -6s; }
@keyframes m-bob { from { translate: 0 -5px; } to { translate: 0 6px; } }
@media (prefers-reduced-motion: reduce) { .bvc .plate { animation: none; } }

/* the wheel's own box never takes the click; only the films do (drags still start on any film) */
.work-strip.m-wheel { pointer-events:none; }
.work-strip.m-wheel .m-slot { pointer-events:auto; }

/* each film is ONE flat card in the 3D wheel: its picture, shadow veil and caption are no longer depth-sorted separately (that drew stray edges across the frames) */
.m-slot { transform-style: flat !important; overflow: visible; }
.work-strip.m-wheel .work-item::after, .work-strip.m-wheel .work-item::before { display:none !important; content:none !important; }
.m-slot.m-front .work-item { box-shadow: 0 0 110px 8px rgba(var(--tile, var(--amb)), .5), 0 30px 70px rgba(0,0,0,.7) !important; }

/* ===== instant-start hero: the light intro clip sits on top of the full reel until the full reel is ready ===== */
.reel-intro { z-index:1; transition: opacity .4s ease; }
.reel-wrap.m-push .reel-video { transform: scale(var(--hs, 1)); opacity: var(--ho, 1); transform-origin:50% 46%; will-change: transform, opacity; }
.reel-wrap.m-push .reel-intro { opacity: var(--ho, 1); }

/* ===== behind the player: the film keeps moving, soft and dim ===== */
.m-lb-bg { position:absolute; left:-10%; top:-10%; width:120%; height:120%; object-fit:cover; pointer-events:none; opacity:0; transition: opacity .9s ease;
  filter: blur(42px) saturate(1.35) brightness(.5); }
.m-lb-bg.m-on { opacity:.9; }
.lightbox-backdrop { overflow:hidden; }

/* ===== wheel: kind-of-work sorter (left) and Wheel / All (right) on one slim line ===== */
.m-viewbar { justify-content:space-between !important; align-items:center; gap:1rem; flex-wrap:wrap; }
.m-cats { display:flex; align-items:center; gap:1.25rem; font-family:'DM Sans',sans-serif; font-weight:500; font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; }
.m-cats button { background:none; border:0; padding:.4rem 0; margin:0; font:inherit; letter-spacing:inherit; text-transform:inherit; color:rgba(255,255,255,.6); cursor:pointer;
  border-bottom:1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.m-cats button:hover { color:#fff; }
.m-cats button.m-on { color:#fff; border-bottom-color:#fff; }
.m-cnt { font-weight:500; }
.work-strip.m-wheel.m-swap { opacity:0 !important; transition: opacity .18s ease !important; }
@media (max-width:768px){ .m-viewbar { justify-content:center !important; row-gap:.7rem; } .m-cats { gap:.95rem; font-size:.62rem; letter-spacing:.18em; width:100%; justify-content:center; } }

/* ===== About: before / after ===== */
.m-ba-sec { margin: 4.5rem auto 3.5rem; max-width: 1180px; text-align:center; }
.m-ba-kicker { font-family:'DM Sans',sans-serif !important; font-weight:500; font-size:.66rem !important; letter-spacing:.26em; text-transform:uppercase; color:rgba(255,255,255,.6) !important; margin:0 0 .8rem !important; }
.m-ba-h { font-family:'Manrope',sans-serif; font-weight:800; text-transform:uppercase; font-size:clamp(1.7rem,3.6vw,2.9rem); line-height:1; color:#fff; margin:0 0 .7rem; letter-spacing:-.01em; }
.m-ba-sub { font-family:'DM Sans',sans-serif; font-size:.95rem !important; color:rgba(255,255,255,.72) !important; margin:0 0 2.2rem !important; }
.m-ba-list { display:grid; gap:2.6rem; }
.m-ba { margin:0; }
.m-ba-frame { --p:50%; position:relative; aspect-ratio: 1280 / 694; overflow:hidden; border-radius:3px; background:#000; cursor:ew-resize; touch-action:pan-y; outline:none;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 120px rgba(var(--amb), .18); -webkit-user-select:none; user-select:none; }
.m-ba-frame video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.m-ba-clip { position:absolute; inset:0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.m-ba-line { position:absolute; top:0; bottom:0; left:var(--p); width:2px; margin-left:-1px; background:#fff; box-shadow:0 0 14px rgba(0,0,0,.6); pointer-events:none; }
.m-ba-line i { position:absolute; top:50%; left:50%; width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:50%; border:2px solid #fff; background:rgba(0,0,0,.35); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
.m-ba-line i::before, .m-ba-line i::after { content:''; position:absolute; top:50%; width:7px; height:7px; border:solid #fff; border-width:2px 2px 0 0; margin-top:-4px; }
.m-ba-line i::before { left:9px; transform:rotate(-135deg); } .m-ba-line i::after { right:9px; transform:rotate(45deg); }
.m-ba-tag { position:absolute; top:14px; font-family:'DM Sans',sans-serif; font-weight:500; font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; color:#fff; padding:.4rem .7rem; background:rgba(0,0,0,.45); border-radius:999px; pointer-events:none; }
.m-ba-tb { left:14px; } .m-ba-ta { right:14px; }
.m-ba figcaption { display:flex; gap:.8rem; justify-content:center; align-items:baseline; flex-wrap:wrap; margin-top:1rem; font-family:'DM Sans',sans-serif; }
.m-ba figcaption b { font-family:'Manrope',sans-serif; font-weight:800; text-transform:uppercase; letter-spacing:.02em; color:#fff; font-size:.95rem; }
.m-ba figcaption span { color:rgba(255,255,255,.68); font-size:.9rem; }
@media (max-width:768px){ .m-ba-sec { margin:3rem auto 2.4rem; } .m-ba-list { gap:1.8rem; } .m-ba-line i { width:36px; height:36px; margin:-18px 0 0 -18px; } .m-ba figcaption { flex-direction:column; gap:.2rem; align-items:center; } }

/* wide wordmarks sit lower so they don't out-shout the rest of the logo row */
.m-clients .logo-track img[alt="Netflix"], .about-body .logo-track img[alt="Netflix"] { height:28px !important; }
.m-clients .logo-track img[alt="Lids"], .about-body .logo-track img[alt="Lids"] { height:34px !important; }
.m-clients .logo-track img[alt="Rolling Loud"], .about-body .logo-track img[alt="Rolling Loud"] { height:46px !important; }
@media (max-width:768px){ .m-clients .logo-track img[alt="Netflix"], .about-body .logo-track img[alt="Netflix"] { height:20px !important; } .m-clients .logo-track img[alt="Lids"], .about-body .logo-track img[alt="Lids"] { height:24px !important; } .m-clients .logo-track img[alt="Rolling Loud"], .about-body .logo-track img[alt="Rolling Loud"] { height:32px !important; } }

/* per-logo heights for the newer marks */
.logo-track img[alt="FAU"] { height:44px !important; }
@media (max-width:768px){ .logo-track img[alt="FAU"] { height:30px !important; } }
.logo-track img[alt="Ford Bronco"] { height:58px !important; } .logo-track img[alt="Fandom"] { height:26px !important; }
@media (max-width:768px){ .logo-track img[alt="Ford Bronco"] { height:40px !important; } .logo-track img[alt="Fandom"] { height:18px !important; } }
.logo-track img[alt="Seattle Seahawks"] { height:40px !important; } .logo-track img[alt="Lady Bird"] { height:40px !important; } .logo-track img[alt="Cal"] { height:50px !important; }
@media (max-width:768px){ .logo-track img[alt="Seattle Seahawks"], .logo-track img[alt="Lady Bird"] { height:28px !important; } .logo-track img[alt="Cal"] { height:34px !important; } }

/* client logos: every mark trimmed to its artwork and sized by shape so they carry the same weight */
.logo-track img[alt="Equinox"]{height:26px !important} .logo-track img[alt="Olipop"]{height:41px !important} .logo-track img[alt="BIG3"]{height:38px !important} .logo-track img[alt="Adidas"]{height:54px !important} .logo-track img[alt="Amazon"]{height:38px !important} .logo-track img[alt="Hoka"]{height:34px !important} .logo-track img[alt="IndyCar"]{height:54px !important} .logo-track img[alt="Ketone-IQ"]{height:26px !important} .logo-track img[alt="Mini Cooper"]{height:44px !important} .logo-track img[alt="Nocco"]{height:54px !important} .logo-track img[alt="SXSW"]{height:32px !important} .logo-track img[alt="Under Armour"]{height:50px !important} .logo-track img[alt="A$AP Ferg"]{height:28px !important} .logo-track img[alt="Netflix"]{height:34px !important} .logo-track img[alt="Gatorade"]{height:54px !important} .logo-track img[alt="Rolling Loud"]{height:48px !important} .logo-track img[alt="Storm"]{height:54px !important} .logo-track img[alt="Street Fighter"]{height:47px !important} .logo-track img[alt="Lids"]{height:41px !important} .logo-track img[alt="Seattle Seahawks"]{height:42px !important} .logo-track img[alt="Dallas Wings"]{height:52px !important} .logo-track img[alt="Cal"]{height:54px !important} .logo-track img[alt="Lady Bird"]{height:41px !important} .logo-track img[alt="Ford Bronco"]{height:49px !important} .logo-track img[alt="Fandom"]{height:31px !important} .logo-track img[alt="FAU"]{height:38px !important}
@media (max-width:768px){ .logo-track img[alt="Equinox"]{height:18px !important} .logo-track img[alt="Olipop"]{height:28px !important} .logo-track img[alt="BIG3"]{height:26px !important} .logo-track img[alt="Adidas"]{height:37px !important} .logo-track img[alt="Amazon"]{height:26px !important} .logo-track img[alt="Hoka"]{height:23px !important} .logo-track img[alt="IndyCar"]{height:37px !important} .logo-track img[alt="Ketone-IQ"]{height:18px !important} .logo-track img[alt="Mini Cooper"]{height:30px !important} .logo-track img[alt="Nocco"]{height:37px !important} .logo-track img[alt="SXSW"]{height:22px !important} .logo-track img[alt="Under Armour"]{height:34px !important} .logo-track img[alt="A$AP Ferg"]{height:19px !important} .logo-track img[alt="Netflix"]{height:23px !important} .logo-track img[alt="Gatorade"]{height:37px !important} .logo-track img[alt="Rolling Loud"]{height:32px !important} .logo-track img[alt="Storm"]{height:37px !important} .logo-track img[alt="Street Fighter"]{height:32px !important} .logo-track img[alt="Lids"]{height:28px !important} .logo-track img[alt="Seattle Seahawks"]{height:29px !important} .logo-track img[alt="Dallas Wings"]{height:36px !important} .logo-track img[alt="Cal"]{height:37px !important} .logo-track img[alt="Lady Bird"]{height:28px !important} .logo-track img[alt="Ford Bronco"]{height:33px !important} .logo-track img[alt="Fandom"]{height:21px !important} .logo-track img[alt="FAU"]{height:26px !important} }

/* phone wheel: colour filters only on the front film (28 filtered films inside a 3D ring stall an iPhone), and no long-press image menu while dragging */
@media (max-width:768px), (hover:none){ .work-strip.m-wheel .m-slot:not(.m-front) .work-item img, .work-strip.m-wheel .m-slot:not(.m-front) .work-item video.m-loop, .work-strip.m-wheel .m-slot:not(.m-front) .work-item iframe.m-emb { filter:none !important; } }
.work-strip, .work-strip * { -webkit-touch-callout:none; } .work-strip img { -webkit-user-drag:none; }

/* before/after: upright shots sit three across (one per row on a phone) */
.m-ba-list.m-ba-tall { grid-template-columns: repeat(3, 1fr); gap:1.6rem; max-width: 980px; margin: 0 auto; }
.m-ba-tall figcaption { flex-direction:column; gap:.25rem; align-items:center; }
.m-ba-sec + .m-ba-sec { margin-top: 1rem; }
@media (max-width:768px){ .m-ba-list.m-ba-tall { grid-template-columns: 1fr; max-width: 340px; gap:1.8rem; } }
.m-ba-list.m-ba-narrow { max-width: 880px; margin: 0 auto; }

/* before/after: a project with several shots shows one at a time, with arrows */
.m-ba-list.m-ba-one { display:block; }
.m-ba-one .m-ba { display:none; } .m-ba-one .m-ba.m-on { display:block; animation: mBaIn .45s ease both; }
@keyframes mBaIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.m-ba-list.m-ba-tall, .m-ba-list.m-ba-tall.m-ba-one { display:block; max-width: 400px; margin: 0 auto; }
.m-ba-nav { display:flex; align-items:center; justify-content:center; gap:1.1rem; margin-top:1.2rem; }
.m-ba-nav button { width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.55); background:rgba(0,0,0,.18); color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.m-ba-nav button:hover { background:rgba(255,255,255,.16); border-color:#fff; transform:scale(1.06); }
.m-ba-nav svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.m-ba-count { font-family:'DM Sans',sans-serif; font-weight:500; font-size:.7rem; letter-spacing:.24em; color:rgba(255,255,255,.8); min-width:4.2em; text-align:center; }
@media (max-width:768px){ .m-ba-list.m-ba-tall, .m-ba-list.m-ba-tall.m-ba-one { max-width: 300px; } }
.m-ba-list.m-ba-tall, .m-ba-list.m-ba-tall.m-ba-one { max-width: 330px; }
@media (max-width:768px){ .m-ba-list.m-ba-tall, .m-ba-list.m-ba-tall.m-ba-one { max-width: 270px; } }

/* before/after: each example is sized by its own shape, so mixed shapes can share one strip */
.m-ba.m-ba-w-tall { max-width: 330px; margin-left:auto; margin-right:auto; }
.m-ba.m-ba-w-narrow { max-width: 880px; margin-left:auto; margin-right:auto; }
.m-ba-w-tall figcaption { flex-direction:column; gap:.25rem; align-items:center; }
@media (max-width:768px){ .m-ba.m-ba-w-tall { max-width: 270px; } }
.m-ba-sec.m-ba-home { margin: 1rem auto 4rem; padding: 0 1.5rem; max-width: 1100px; position:relative; z-index:2; }
.m-ba-home .m-ba-frame { max-height: 74vh; margin: 0 auto; }
.m-ba-home .m-ba.m-ba-w-narrow { max-width: 760px; }

/* a one-tap way to get in touch that follows the page */
.m-hire { position:fixed; right:22px; bottom:22px; z-index:60; display:flex; align-items:center; gap:.6rem; padding:.62rem 1rem .62rem .85rem; border-radius:999px;
  background:rgba(14,14,14,.86); border:1px solid rgba(255,255,255,.45);
  color:#fff !important; text-decoration:none !important; font-family:'DM Sans',sans-serif; font-weight:500; font-size:.7rem; letter-spacing:.16em; text-transform:uppercase; line-height:1;
  box-shadow:0 10px 34px rgba(0,0,0,.35), 0 0 30px rgba(var(--amb, 255,255,255), .22); transition: opacity .35s ease, transform .35s ease, background .25s ease, border-color .25s ease; }
.m-hire i { position:relative; width:8px; height:8px; border-radius:50%; background:#7dffa0; flex:none; }
.m-hire i::after { content:''; position:absolute; inset:0; border-radius:50%; background:#7dffa0; animation:mHirePulse 2.4s ease-out infinite; will-change:transform, opacity; }
@keyframes mHirePulse { 0% { transform:scale(1); opacity:.6; } 70%, 100% { transform:scale(3.2); opacity:0; } }
.m-hire b { font-weight:700; letter-spacing:.14em; max-width:0; overflow:hidden; white-space:nowrap; opacity:0; transition:max-width .35s ease, opacity .3s ease, margin .35s ease; }
.m-hire:hover, .m-hire:focus-visible { background:rgba(255,255,255,.16); border-color:#fff; }
.m-hire:hover b, .m-hire:focus-visible b { max-width:9em; opacity:1; margin-left:.35rem; padding-left:.75rem; border-left:1px solid rgba(255,255,255,.5); }
.m-hire.m-off, .m-hire.m-hide { opacity:0; transform:translateY(12px); pointer-events:none; }
@media (max-width:768px){ .m-hire { right:12px; bottom:12px; font-size:.6rem; padding:.55rem .8rem .55rem .7rem; } .m-hire b { display:none; } }
@media (prefers-reduced-motion: reduce){ .m-hire i::after { animation:none; opacity:0; } }

/* idea previews */
.m-who { margin:0 0 .9rem; display:flex; gap:.8rem; justify-content:center; align-items:baseline; font-family:'DM Sans',sans-serif; color:#fff; text-shadow:0 2px 18px rgba(0,0,0,.6); }
.m-who b { font-family:'Manrope',sans-serif; font-weight:800; font-size:1.05rem; letter-spacing:.04em; text-transform:uppercase; }
.m-who span { font-size:.72rem; letter-spacing:.26em; text-transform:uppercase; opacity:.85; padding-left:.8rem; border-left:1px solid rgba(255,255,255,.6); }
.m-ideas { position:fixed; left:16px; bottom:16px; z-index:70; padding:.8rem 1rem .7rem; border-radius:12px; background:rgba(10,10,10,.82); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,.3);
  font-family:'DM Sans',sans-serif; color:#fff; font-size:.78rem; display:grid; gap:.42rem; max-width:260px; }
.m-ideas p { margin:0 0 .15rem !important; font-size:.6rem !important; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.6) !important; }
.m-ideas label { display:flex; gap:.55rem; align-items:center; cursor:pointer; }
.m-ideas input { accent-color:#fff; width:15px; height:15px; margin:0; }
@media (max-width:768px){ .m-ideas { left:8px; bottom:56px; font-size:.72rem; } }
.reel-cta:has(.m-who) { display:flex; flex-direction:column; align-items:center; }

/* stills that fill the far side of the ring when a short list is showing */
.m-slot.m-ghost { pointer-events:none !important; }
.work-strip.m-grid .m-slot.m-ghost { display:none !important; }

/* a film on the ring is never hidden when it turns its back for a moment at the two side turns (that read as a flicker while the wheel moved) */
.work-strip.m-wheel .m-slot { -webkit-backface-visibility:visible; backface-visibility:visible; }

/* the colour pools are one small canvas stretched over the page (cheap to recolour); the old page-sized pool layers are off */
.m-amb { background: none !important; }
.m-blob { display:none !important; animation:none !important; }
.m-amb-cv { position:absolute; inset:0; width:100%; height:100%; display:block; }
/* the client logos keep a soft white glow instead of one tinted by the page colour (52 filtered images re-drawn on every colour change) */
.m-amb-stick .m-clients .logo-track img { filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,.35)) !important; }

/* only the film at the front carries the colour boost; a filter on every film in a moving 3D ring is costly on the graphics card for little gain (the others sit under a shadow veil anyway) */
.work-strip.m-wheel .m-slot:not(.m-front) .work-item img, .work-strip.m-wheel .m-slot:not(.m-front) .work-item video.m-loop, .work-strip.m-wheel .m-slot:not(.m-front) .work-item iframe.m-emb { filter:none !important; }
.m-slot.m-ghost .work-item { box-shadow:none !important; }

/* the shadow veil over each film is its own layer, so deepening it never repaints the film underneath */
.m-veil { will-change: opacity; }

/* (Nov 26, Sam's phone screenshot) services ran off the right edge on phones: one column there */
@media (max-width:719px){ .services-grid { grid-template-columns:minmax(0,1fr) !important; } .service-item { min-width:0; border-right:0 !important; padding-left:0 !important; padding-right:0 !important; } }

/* (Nov 26 night, Sam) no BERDEVISION name over the home reel */
.reel-slogan { display:none !important; }

/* (Nov 26, Sam) tagline: lines fade in one by one, VISION flares as it lands and stays the brightest word. Only opacity, transform and text-shadow move (no animated filters: phone flicker). */
.m-statement > span { opacity:0; transform:translateY(.2em); }
.m-statement.m-go > span { opacity:1; transform:none; transition: opacity 1s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.m-statement.m-go > span:nth-child(2) { transition-delay:.55s; }
.m-statement.m-go > span:nth-child(3) { transition-delay:1.1s; }
.m-stack span.m-vis { display:inline-block; position:relative; line-height:inherit; color:#fff !important; text-shadow:0 0 .16em rgba(255,255,255,.5); }
.m-statement.m-go .m-vis { animation: m-vis-flare 2.6s 1.2s ease-out both; }
.m-vis::after { content:''; position:absolute; left:-9%; right:-9%; top:46%; height:.05em; border-radius:50%; pointer-events:none; opacity:0; transform:scaleX(.1);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95) 30%, #fff 50%, rgba(255,255,255,.95) 70%, transparent); box-shadow: 0 0 .22em .05em rgba(255,255,255,.75), 0 0 .7em .12em rgba(255,236,205,.45); }
.m-statement.m-go .m-vis::after { animation: m-vis-streak 1.9s 1.3s ease-out both; }
@keyframes m-vis-flare {
  0%   { text-shadow: 0 0 .04em #fff, 0 0 .3em #fff, 0 0 .9em rgba(255,240,214,.95), 0 0 1.8em rgba(255,226,180,.7); }
  30%  { text-shadow: 0 0 .04em #fff, 0 0 .4em #fff, 0 0 1.1em rgba(255,240,214,.95), 0 0 2.2em rgba(255,226,180,.75); }
  100% { text-shadow: 0 0 .16em rgba(255,255,255,.5); } }
@keyframes m-vis-streak { 0% { opacity:0; transform:scaleX(.1); } 22% { opacity:1; transform:scaleX(1); } 100% { opacity:0; transform:scaleX(1.12); } }
@media (prefers-reduced-motion: reduce) { .m-statement > span { opacity:1; transform:none; } .m-statement.m-go .m-vis, .m-statement.m-go .m-vis::after { animation:none; } }

/* (Nov 26, Sam) About: type as the background. Outlined, very faint, drifting; fades out before Services. Transform-only motion. */
.about-page .about-body { position:relative; isolation:isolate; }
.m-typebg { position:absolute; z-index:-1; top:-1.5rem; left:50%; width:100vw; height:min(640px, 82vh); transform:translateX(-50%); overflow:hidden; pointer-events:none;
  display:flex; flex-direction:column; justify-content:center; gap:.02em; font-size:clamp(104px, 14.5vw, 220px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 62%, transparent 100%); }
.m-typebg-row { display:flex; width:max-content; white-space:nowrap; font-family:'Manrope',sans-serif; font-weight:800; line-height:.86; letter-spacing:-.01em;
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.085); animation: m-typebg-l 120s linear infinite; will-change:transform; }
.m-typebg-row:nth-child(2n) { animation-name: m-typebg-r; animation-duration:150s; }
.m-typebg-row:nth-child(3) { animation-duration:170s; animation-delay:-40s; }
.m-typebg-row:nth-child(4) { animation-delay:-70s; }
.m-typebg-row span { display:block; flex:none; }
@keyframes m-typebg-l { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
@keyframes m-typebg-r { from { transform:translate3d(-50%,0,0); } to { transform:translate3d(0,0,0); } }
@media (prefers-reduced-motion: reduce) { .m-typebg-row { animation:none; } }

/* (Nov 26, Sam) CLIENTS heading matches SERVICES: same Manrope 800 */
.about-page .about-body p.work-label, .about-page .about-body .work-label { font-family:'Manrope',sans-serif !important; font-weight:800 !important; }

/* (Nov 26, Sam) the spark turns lightly as it fires: the long streak swings a few degrees, and a short crossing ray spins with it */
.m-statement.m-go .m-vis::after { animation: m-vis-spin 1.9s 1.3s ease-out both; }
.m-vis::before { content:''; position:absolute; left:38%; right:38%; top:46%; height:.04em; border-radius:50%; pointer-events:none; opacity:0;
  background: linear-gradient(90deg, transparent, #fff 50%, transparent); box-shadow: 0 0 .2em .04em rgba(255,255,255,.7); }
.m-statement.m-go .m-vis::before { animation: m-vis-spin2 1.9s 1.3s ease-out both; }
@keyframes m-vis-spin { 0% { opacity:0; transform:rotate(-14deg) scaleX(.1); } 22% { opacity:1; transform:rotate(-4deg) scaleX(1); } 100% { opacity:0; transform:rotate(7deg) scaleX(1.12); } }
@keyframes m-vis-spin2 { 0% { opacity:0; transform:rotate(60deg) scaleX(.2); } 22% { opacity:.9; transform:rotate(86deg) scaleX(1); } 100% { opacity:0; transform:rotate(128deg) scaleX(1.2); } }
@media (prefers-reduced-motion: reduce) { .m-statement.m-go .m-vis::before { animation:none; } }

/* (Nov 26, Sam: "there is no information") About: studio facts row + industries */
.m-facts { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1.2rem; margin:2.6rem auto 0; max-width:860px; }
.m-facts div, .m-inds div { display:flex; flex-direction:column; align-items:center; gap:.45rem; min-width:0; }
.m-facts b { font-family:'Manrope',sans-serif; font-weight:800; font-size:clamp(1.7rem, 3.2vw, 2.6rem); line-height:1; letter-spacing:-.01em; color:#f1eee8; }
.m-facts span { font-family:'DM Sans',sans-serif; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:rgba(236,234,228,.6); }
.m-inds { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:1.6rem; margin:1.4rem auto 0; text-align:center; }
.m-inds b { font-family:'Manrope',sans-serif; font-weight:800; font-size:1.05rem; letter-spacing:.02em; text-transform:uppercase; color:#f1eee8; }
.m-inds span { font-family:'DM Sans',sans-serif; font-weight:300; font-size:.9rem; line-height:1.6; color:rgba(236,234,228,.75); }
@media (max-width:719px){ .m-facts { grid-template-columns:repeat(2, minmax(0,1fr)); gap:1.8rem 1rem; } .m-inds { grid-template-columns:minmax(0,1fr); gap:1.5rem; } }

/* (Nov 27, Sam removed AI Creative) three services sit in one row of three on desktop */
@media (min-width:720px){
  .about-page .services-grid { grid-template-columns:repeat(3, minmax(0,1fr)) !important; }
  .about-page .services-grid .service-item { padding:1.4rem 1.6rem !important; border-right:1px solid rgba(255,255,255,.1) !important; }
  .about-page .services-grid .service-item:last-child { border-right:0 !important; }
}

/* ===== (Nov 27, Sam) agency-reference structure merged into the site: centred logo, two-column About, service cards, work wall, divided client row, footer glow ===== */
nav { display:grid !important; grid-template-columns:1fr auto 1fr; align-items:center; }
nav .nav-logo { grid-column:2; grid-row:1; justify-self:center; }
nav .nav-links { display:contents !important; }
nav .nav-links li { grid-row:1; list-style:none; }
nav .nav-links li:first-child { grid-column:1; justify-self:start; }
nav .nav-links li:last-child { grid-column:3; justify-self:end; }

.m-about2 { display:grid; grid-template-columns:.8fr 1.25fr 1.25fr; gap:1rem 2.6rem; text-align:left; align-items:start; margin-top:.6rem; }
.m-a2-h { font-family:'Manrope',sans-serif; font-weight:800; font-size:1.5rem; letter-spacing:-.01em; text-transform:uppercase; color:#f1eee8; line-height:1.2; }
.m-about2 p { margin:0 !important; font-size:.98rem !important; line-height:1.75 !important; }
.m-about2 .m-a2-loc { grid-column:2 / -1; margin-top:.4rem !important; }

.m-cards { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1rem; text-align:left; margin-top:1.6rem; }
.m-card { border:1px solid rgba(255,255,255,.14); border-radius:18px; padding:1rem 1.2rem 1.6rem; background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); }
.m-card-im { aspect-ratio:16 / 10; border-radius:11px; overflow:hidden; margin-bottom:1.2rem; }
.m-card-im img { width:100%; height:100%; object-fit:cover; display:block; }
.m-card h3 { font-family:'Manrope',sans-serif; font-weight:800; font-size:1.15rem; line-height:1.2; color:#f1eee8; margin-bottom:.6rem; }
.about-body .m-card p { font-family:'DM Sans',sans-serif; font-weight:300; font-size:.88rem !important; line-height:1.6 !important; min-height:3.2em; margin:0 !important; }
.m-card ul { list-style:none; margin:1.1rem 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:.6rem .8rem; font-family:'DM Sans',sans-serif; font-size:.8rem; color:#f1eee8; }
.m-card li { display:flex; gap:.5rem; align-items:flex-start; min-width:0; }
.m-card li::before { content:''; flex:none; width:.62rem; height:.34rem; margin-top:.3rem; border-left:2px solid; border-bottom:2px solid; border-color:color-mix(in srgb, #fff 45%, rgb(var(--amb))); transform:rotate(-45deg); }

.m-wall { display:grid; grid-template-columns:repeat(5, 1fr); gap:6px; width:100vw; margin:1.4rem 0 3.5rem calc(50% - 50vw); padding:0 6px; }
.m-wall a { display:block; aspect-ratio:1 / 1; overflow:hidden; border-radius:4px; }
.m-wall img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.m-wall a:hover img { transform:scale(1.05); }

.m-cl { display:grid; grid-template-columns:repeat(6, 1fr); border-top:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); width:100vw; margin:1.4rem 0 0 calc(50% - 50vw); }
.m-cl div { display:grid; place-items:center; height:140px; padding:0 1.4rem; border-right:1px solid rgba(255,255,255,.14); }
.m-cl div:last-child { border-right:0; }
.m-cl img { max-height:52px; max-width:100%; width:auto; filter:brightness(0) invert(1); opacity:.9; }

footer.m-footer { position:relative; overflow:hidden; padding-bottom:13rem !important; }
footer.m-footer::after { content:''; position:absolute; left:-20%; right:-20%; bottom:-48%; height:95%; pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%, rgba(var(--amb), .95) 0%, rgba(var(--amb), .3) 42%, rgba(var(--amb), 0) 70%); }
.m-f-top, .m-f-base { position:relative; z-index:1; }
.m-f-top { display:flex; justify-content:space-between; align-items:flex-start; gap:3rem; max-width:1500px; margin:0 auto; }
.m-f-left .m-f-mark { margin:0; }
.m-f-loc { display:flex; flex-direction:column; gap:.3rem; margin-top:1.3rem; font-family:'DM Sans',sans-serif; font-size:.9rem; color:rgba(236,234,228,.75); }
.m-f-loc b { font-weight:500; color:#f1eee8; border:1px solid rgba(var(--amb), .8); border-radius:999px; padding:.05rem .6rem; margin-left:.35rem; font-size:.78rem; }
.m-f-top .m-f-cols { margin:0; grid-template-columns:auto auto; gap:2rem 4.5rem; max-width:none; }
.m-f-base { border-top:0; }

@media (max-width:860px){
  .m-about2 { grid-template-columns:minmax(0,1fr); gap:1rem; text-align:center; } .m-about2 .m-a2-loc { grid-column:auto; }
  .m-cards { grid-template-columns:minmax(0,1fr); }
  .m-wall { grid-template-columns:repeat(3, 1fr); gap:4px; padding:0 4px; }
  .m-cl { grid-template-columns:repeat(3, 1fr); border-bottom:0; } .m-cl div { height:104px; border-bottom:1px solid rgba(255,255,255,.14); } .m-cl div:nth-child(3n) { border-right:0; }
  .m-f-top { flex-direction:column; gap:2.2rem; } .m-f-top .m-f-cols { grid-template-columns:minmax(0,1fr); gap:1.6rem; }
  footer.m-footer { padding-bottom:10rem !important; }
}

/* (Nov 27, Sam: "there could be more") client wall: 24 logos, four divided rows of six on desktop, eight rows of three on phone */
.m-cl { border-bottom:0; }
.m-cl div { height:118px; border-bottom:1px solid rgba(255,255,255,.14); }
.m-cl div:nth-child(6n) { border-right:0; }
.m-cl img { max-height:46px; max-width:78%; }
@media (max-width:860px){ .m-cl div { height:96px; } .m-cl div:nth-child(6n) { border-right:0; } .m-cl img { max-height:38px; } }

/* (Nov 27, Sam) wheel arrows: two plain chevrons hugging the front film. No bubble, no border, no blur. */
.work-side-arrow { width:30px !important; height:46px !important; border:0 !important; border-radius:0 !important; background:none !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color:#f1eee8 !important; opacity:0; filter:drop-shadow(0 1px 5px rgba(0,0,0,.65)); transition:opacity .25s ease, transform .2s ease !important; }
.work-side-arrow.m-placed { opacity:.6; }
.work-side-arrow svg { width:22px; height:22px; }
.work-side-arrow:hover { background:none !important; opacity:1; transform:translateY(-50%) scale(1.12) !important; }
.work-side-arrow:disabled { opacity:.15 !important; }

/* arrows readable over the neighbouring films: a little stronger than first pass, still no bubble */
.work-side-arrow.m-placed { opacity:.88; }
.work-side-arrow svg { width:26px; height:26px; }
.work-side-arrow svg path { stroke-width:2.4; }

/* (Nov 27, Sam: "fix the storm logo") the Storm mark is a tall stacked logo, so at the shared height it shrank to a speck; it gets its own height */
.m-cl img[alt="Storm"] { max-height:84px; }
@media (max-width:860px){ .m-cl img[alt="Storm"] { max-height:70px; } }

/* (Nov 27, Sam) 3D object on a service card: a transparent video sitting straight on the card, no frame behind it */
.m-card-im.m-card-obj { background:none; border-radius:0; overflow:visible; }
.m-card-obj video { width:100%; height:100%; object-fit:cover; display:block; background:none; }

/* (Nov 28, Sam) service objects: black-and-white stills that float; their glow takes the page's colour */
.m-card-obj.m-obj3 { position:relative; }
.m-obj3 .m-obj { position:absolute; inset:2% 4%; animation:m-obj-float 7s ease-in-out infinite; will-change:transform; }
.m-card:nth-child(2) .m-obj { animation-delay:-2.3s; }
.m-card:nth-child(3) .m-obj { animation-delay:-4.6s; }
.m-obj3 .m-obj img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; display:block; }
.m-obj-glow { position:absolute; inset:0; background:rgb(var(--amb2, var(--amb))); -webkit-mask:var(--gm) center / contain no-repeat; mask:var(--gm) center / contain no-repeat;
  filter:saturate(2.6) brightness(1.2); animation:m-obj-pulse 3.5s ease-in-out infinite; transition:background-color .6s linear; }
@keyframes m-obj-float { 0%,100% { transform:translateY(-2.5%) rotate(-1.2deg); } 50% { transform:translateY(2.5%) rotate(1.2deg); } }
@keyframes m-obj-pulse { 0%,100% { opacity:.72; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { .m-obj3 .m-obj, .m-obj-glow { animation:none; } }

/* (Nov 28, Sam) contact: one tap to an email. No form. */
.m-reach { display:flex; flex-direction:column; align-items:center; gap:.9rem; text-align:center; }
.m-reach .contact-big-inform { margin-bottom:.8rem; }
.m-reach-btn, .m-reach-copy { width:min(100%, 420px); min-height:56px; border-radius:999px; display:flex; align-items:center; justify-content:center; gap:.65rem; font-family:inherit; font-size:1.05rem; letter-spacing:.01em; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.m-reach-btn { background:#f1eee8; color:#0c0c0c !important; font-weight:700; text-decoration:none; transition:transform .2s ease, background .2s ease; }
.m-reach-btn:hover { transform:translateY(-2px); background:#fff; }
.m-reach-copy { background:none; border:1px solid rgba(241,238,232,.3); color:#f1eee8; font-weight:500; min-height:50px; font-size:.98rem; transition:border-color .2s ease; }
.m-reach-copy:hover { border-color:rgba(241,238,232,.7); }
.m-reach-copy em { font-style:normal; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; opacity:.6; border-left:1px solid rgba(241,238,232,.25); padding-left:.65rem; }
.m-reach-copy.m-done em { opacity:1; }
.m-reach-ig { color:rgba(241,238,232,.7) !important; font-size:.95rem; text-decoration:none; padding:.6rem 1rem; }
.m-reach-ig:hover { color:#fff !important; }

/* (Nov 28, Sam: flicker while scrolling on phone) phones: no live blur layers. The frost strip under the nav was three stacked blurs and the
   glass panels blurred a background that is already a soft glow, so the blur cost a repaint per scroll frame and showed nothing. */
@media (max-width:768px){
  .top-frost { display:none !important; }
  .contact-form-glass, .gloss, .glass-shine { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
  .m-obj3 .m-obj { will-change:auto; }
}
@media (max-width:768px){ .m-card-im.m-obj3 { aspect-ratio:2 / 1; margin-bottom:.9rem; } }

/* (Nov 28, Sam) Work with us: a short form for people who want to work with the studio. Preview only for now (?join=1). */
.m-join[hidden] { display:none !important; }
.m-join { position:relative; z-index:1; padding:1rem 1.5rem 3.5rem; }
.m-join-in { max-width:860px; margin:0 auto; text-align:center; }
.m-join-sub { max-width:620px; margin:.2rem auto 1.8rem; color:rgba(241,238,232,.8); font-size:1rem; line-height:1.6; }
.m-join-form { text-align:left; }
.m-join-grid { display:grid; grid-template-columns:1fr 1fr; gap:.4rem 1.6rem; }
.m-join-wide { grid-column:1 / -1; }
.m-join-form .form-input, .m-join-form .form-select, .m-join-form .form-textarea { font-size:16px; cursor:auto; }     /* 16px: phones do not zoom the page when a field is tapped */
.m-join-form .form-select { cursor:pointer; }
.m-join-form .form-submit { margin-top:.8rem; cursor:pointer; min-height:52px; }
.m-join-hp { position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.m-join-msg { min-height:1.4em; margin-top:.9rem; font-size:.95rem; color:#f1eee8; text-align:center; }
.m-join-msg a { color:#fff; }
.m-join-form.m-sent .m-join-grid, .m-join-form.m-sent .form-submit { display:none; }
.m-join-form.m-sent .m-join-msg { font-size:1.15rem; padding:1.6rem 0; }
.m-join-form .m-bad { border-bottom-color:#ff8a7a !important; }
@media (max-width:640px){ .m-join-grid { grid-template-columns:1fr; } .m-join { padding:1rem 1.2rem 3rem; } }

/* Nov 28: nothing shows until this sheet is in (bootHide in the head), and the film tiles wait for the wheel */
body{visibility:visible}
.work-strip:not(.m-wheel){visibility:hidden}

/* Nov 28 (Sam): no bubble round the selected nav link; both links get the same larger tap area without moving */
nav .nav-links a, nav .nav-links a.nav-active { border:0 !important; border-radius:0 !important; padding:.7rem .6rem !important; margin:-.7rem -.6rem !important; }

/* Nov 28 (Sam): the current page is marked by weight only */
nav .nav-links a { font-weight:400 !important; }
nav .nav-links a.nav-active { font-weight:700 !important; }

/* Nov 28 (Sam): Join us is published. Its own page, a line on About, a footer link */
#page-join .m-join { padding-top: 9.5rem; min-height: 86vh; }
.m-join-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.m-join-tease { position: relative; z-index: 1; text-align: center; padding: 3.2rem 1.5rem 3.6rem; }
.m-join-tease-line { color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; margin: .5rem 0 1.5rem; }
.m-join-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 2.2rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.75); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .02em; transition: background .2s ease, color .2s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.m-join-btn:hover { background: #f1eee8; color: #0c0c0c !important; transform: translateY(-2px); }
@media (max-width:640px){ #page-join .m-join { padding-top: 7rem; } .m-join-tease { padding: 2.4rem 1.2rem 2.8rem; } }

/* the Join us line shows on About only; the Join us page has no client contact block under it */
.m-join-tease { display:none; }
#page-about.active ~ .m-join-tease { display:block; }
#page-join.active ~ #contact-about { display:none; }

/* Nov 28 (Sam): fuller Join us form, in four parts */
.m-join-h { font-family:'Manrope', sans-serif; font-weight:800; font-size:1.15rem; letter-spacing:.01em; color:#fff; margin:1.6rem 0 .5rem; padding-top:1.3rem; border-top:1px solid rgba(255,255,255,.14); }
.m-join-grid > .m-join-h:first-child { margin-top:0; padding-top:0; border-top:0; }
.m-chips { border:0; padding:0; margin:.5rem 0 .9rem; min-width:0; }
.m-chips legend { padding:0; margin-bottom:.7rem; }
.m-chip { display:inline-block; margin:0 .45rem .55rem 0; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.m-chip input { position:absolute; opacity:0; width:1px; height:1px; }
.m-chip span { display:inline-flex; align-items:center; min-height:40px; padding:0 1rem; border-radius:999px; border:1px solid rgba(255,255,255,.3); color:rgba(241,238,232,.85); font-size:.92rem; transition:background .15s ease, color .15s ease, border-color .15s ease; }
.m-chip input:checked + span { background:#f1eee8; color:#0c0c0c; border-color:#f1eee8; font-weight:600; }
.m-chip input:focus-visible + span { outline:2px solid #fff; outline-offset:2px; }
.m-join-form .m-join-short { min-height:84px; }
.m-join-hint { display:block; margin-top:.3rem; font-size:.8rem; color:rgba(241,238,232,.55); }

/* Nov 28 (Sam): a collective to pull from, not a job opening */
.m-join-sub { margin-bottom:.6rem; }
.m-join-note { max-width:620px; margin:0 auto 1.8rem; color:rgba(241,238,232,.6); font-size:.92rem; line-height:1.5; }

/* Nov 28 (Sam): confirmation after joining is its own moment, not a line inside the form box */
.m-join.m-done .m-join-form { display:none; }
.m-join.m-done .m-join-sub { font-size:1.15rem; color:#f1eee8; max-width:520px; margin-bottom:2rem; }
.m-join-after { display:flex; flex-direction:column; align-items:center; gap:1.1rem; }
.m-join-ig { color:rgba(241,238,232,.75) !important; font-size:.95rem; text-decoration:underline; text-underline-offset:4px; }

/* Nov 28 (Sam): welcoming, not a screening form. Required answers carry a star; everything else is optional */
.m-join-req { margin:0 0 1.2rem; font-size:.9rem; color:rgba(241,238,232,.7); }
.m-join-form .form-group:has([required]) > .form-label::after { content:" *"; color:#fff; }

/* Nov 28 (Sam): full crew slate, grouped by department */
.m-chip-g { display:block; margin:.9rem 0 .5rem; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(241,238,232,.5); }
.m-chips legend + .m-chip-g { margin-top:.2rem; }
.m-join-form optgroup { color:#1a1a1e; font-style:normal; }

/* Nov 28 (Sam): short by default. Six answers to join; the rest folds away until tapped */
.m-join-form .form-group:has([required]) > .form-label::after { content:none; }
.m-join-req { font-size:1rem; color:#f1eee8; }
.m-join-morehead { margin:1.6rem 0 .6rem; padding-top:1.3rem; border-top:1px solid rgba(255,255,255,.14); font-size:.92rem; color:rgba(241,238,232,.7); }
.m-join-more { border-bottom:1px solid rgba(255,255,255,.14); }
.m-join-more summary { list-style:none; display:flex; align-items:center; justify-content:space-between; min-height:56px; cursor:pointer; font-family:'Manrope', sans-serif; font-weight:700; font-size:1.02rem; color:#fff; -webkit-tap-highlight-color:transparent; }
.m-join-more summary::-webkit-details-marker { display:none; }
.m-join-more summary::after { content:"+"; font-weight:400; font-size:1.5rem; line-height:1; color:rgba(241,238,232,.8); transition:transform .2s ease; }
.m-join-more[open] summary::after { transform:rotate(45deg); }
.m-join-more[open] { padding-bottom:1.2rem; }
.m-join-more .m-join-grid { padding-top:.4rem; }
.m-join-form .form-submit { margin-top:1.8rem; }

/* Nov 28 (Sam): more of the basics are required and always visible; the role list opens one department at a time */
.m-chip-d { border-bottom:1px solid rgba(255,255,255,.12); }
.m-chip-d summary { list-style:none; display:flex; align-items:center; justify-content:space-between; min-height:46px; cursor:pointer; font-size:.95rem; color:rgba(241,238,232,.9); -webkit-tap-highlight-color:transparent; }
.m-chip-d summary::-webkit-details-marker { display:none; }
.m-chip-d summary::after { content:"+"; font-size:1.3rem; line-height:1; color:rgba(241,238,232,.7); transition:transform .2s ease; }
.m-chip-d[open] summary::after { transform:rotate(45deg); }
.m-chip-d > div { padding:.2rem 0 .6rem; }
.m-chips.m-bad legend { color:#ff8a7a; }

/* Nov 30 (Sam): the Join us line is present across the site, on the Work page too */
#page-home.active ~ .m-join-tease { display:block; }
