/* =============================================================
   MADEENA STUDIOS
   Built on the structure, scale and motion of landonorris.com:
   the same fluid rem, the same type ramp, the same section
   rhythm and the same reveal timings. Colour is Madeena's own
   identity mapped onto the reference's colour roles.
   ============================================================= */

/* ---------- type ----------------------------------------------
   The faces from madeenastudios.com, in the reference's roles:
   PP Neue Montreal (Pangram Pangram) for everything structural,
   Times New Roman bold italic for the serif accents (as in the
   wordmark), Cormorant Garamond Light for short intros and quotes.
   Tinos is Times' metric twin for devices without Times.        */
@font-face{ font-family:"PP Neue Montreal"; src:url("../fonts/ppneuemontreal-thin.woff2") format("woff2"); font-weight:100; font-style:normal; font-display:swap; }
@font-face{ font-family:"PP Neue Montreal"; src:url("../fonts/ppneuemontreal-book.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:"PP Neue Montreal"; src:url("../fonts/ppneuemontreal-italic.woff2") format("woff2"); font-weight:400; font-style:italic; font-display:swap; }
@font-face{ font-family:"PP Neue Montreal"; src:url("../fonts/ppneuemontreal-medium.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:"PP Neue Montreal"; src:url("../fonts/ppneuemontreal-bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

:root{
  /* ---- colour, in the reference's roles ------------------- */
  --color--white:            #EDEDEB;   /* Haze            */
  --color--dark-green:       #1A1E22;   /* night cloud     */
  --color--dark-green-tint-1:#262C32;
  --color--dark-green-tint-2:#4A5157;
  --color--black:            #141414;   /* Night           */
  --color--lime:             #F0433B;   /* Signal          */
  --color--lime-off:         #A9B6C0;   /* Cloud           */
  --color--lime-zero:        #F0433B00;
  --color--green-off-white-1:#E3DFD7;   /* Dust            */
  --color--green-off-white-2:#B4B9BD;
  --color--grey-on-track:    #B2B6B8;
  --color--grey-1:           #E4E5E2;
  --color--hero:             #F4F4F2;

  /* ---- scale ---------------------------------------------- */
  --gap: 1.25rem;
  --grid-spacer: 31.51vh;
  --text--impact: 7.9375rem;
  --text--h1: 4rem;
  --text--h2: 4.5rem;
  --text--h3: 2rem;
  --text--h4: 1.5rem;
  --text--btn-primary: 1rem;
  --text--btn-nav: 1.25rem;
  --text--btn-footer: 1.875rem;
  --radius--small: 1rem;
  --radius--med: 3rem;
  --vh: 1vh;

  /* ---- motion --------------------------------------------- */
  --duration-default: .75s;
  --cubic-default: cubic-bezier(.65,.05,0,1);
  --animation-default: var(--duration-default) var(--cubic-default);

  --brier: "Times New Roman", Tinos, Times, serif;
  --mona: "PP Neue Montreal", "Arial Narrow", Arial, sans-serif;
  --numbers: "Times New Roman", Tinos, Times, serif;
  --intro: "Cormorant Garamond", Georgia, serif;
  --arabic: "Noto Naskh Arabic", serif;
  --script: "Times New Roman", Tinos, Times, serif;   /* the logo's italic — signatures use the brand face */
}

/* the fluid rem: 1/108 of the viewport on desktop (capped at 1920),
   1/86.4 on tablets, 1/36 on phones */
html{ font-size:calc(100vw / 108); }
@media (min-width:1920px){ html{ font-size:17.7778px; } }
@media (max-width:991px){ html{ font-size:calc(100vw / 86.4); } }
@media (max-width:479px){ html{ font-size:calc(100vw / 36); } }

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }

body{
  margin:0; min-height:100%;
  background-color:var(--color--dark-green);
  color:var(--color--white);
  font-family:var(--mona);
  font-size:1.25rem; line-height:1.25;
  font-variation-settings:"wght" 500, "wdth" 100;
  overflow-x:clip;
}
img,video,canvas,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
h1,h2,h3,h4,h5,p,figure{ margin:0; font-weight:inherit; }
ul{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--color--lime); color:#fff; }


/* ---------- gl background ------------------------------------ */
.gl-bg{
  position:fixed; inset:0; z-index:-1;
  width:100vw; height:100vh; pointer-events:none;
}

/* ---------- layout primitives -------------------------------- */
.s{ position:relative; }
.c{
  width:100%; max-width:var(--fluid-container, 120rem); margin:0 auto;
  padding-left:var(--gap); padding-right:var(--gap);
}
.grid-main{
  display:grid; width:100%;
  grid-template-columns:repeat(4, 23.55%);
  column-gap:var(--gap);
}

/* ---------- type ramp (exact) -------------------------------- */
.ff-brier{ font-family:var(--brier); font-weight:700; font-style:italic; }
.text-impact-lg-mona{ font-size:var(--text--impact); font-variation-settings:"wght" 660, "wdth" 93; letter-spacing:-.0625rem; text-transform:uppercase; line-height:.906; }
.text-impact-lg-brier{ font-family:var(--brier); font-weight:700; font-size:8.25rem; letter-spacing:-.1875rem; line-height:.83; text-transform:uppercase; font-style:italic; }
.text-impact-reg-mona{ font-size:7rem; font-variation-settings:"wght" 750, "wdth" 93; letter-spacing:-.25rem; line-height:.816; text-transform:uppercase; }
.text-impact-reg-brier{ font-family:var(--brier); font-weight:700; font-size:7.3125rem; letter-spacing:-.21875rem; line-height:.81; text-transform:uppercase; font-style:italic; }
.text-impact-sm-mona{ font-size:5.25rem; font-variation-settings:"wght" 660, "wdth" 93; letter-spacing:-.0625px; line-height:.856; text-transform:uppercase; }
.text-impact-sm-brier{ font-family:var(--brier); font-weight:700; font-size:5.4375rem; letter-spacing:-.125rem; line-height:.856; text-transform:uppercase; font-style:italic; }
.text-title-lg-mona{ font-size:4.5rem; font-variation-settings:"wght" 750, "wdth" 93; letter-spacing:-.125rem; line-height:.886; text-transform:uppercase; }
.text-title-lg-brier{ font-family:var(--brier); font-weight:700; font-size:4.6875rem; line-height:.886; text-transform:uppercase; font-style:italic; }
.text-title-reg-mona{ font-size:2.625rem; letter-spacing:-.125rem; line-height:.886; }
.text-body-lg-mona{ font-size:2.25rem; font-variation-settings:"wght" 500, "wdth" 100; letter-spacing:-.0625rem; line-height:1.1; }
.text-body-reg-mona{ font-size:1.25rem; font-variation-settings:"wght" 500, "wdth" 100; letter-spacing:-.0125rem; line-height:1.25; }
.text-body-reg-mona strong{ font-variation-settings:"wght" 700, "wdth" 100; font-weight:inherit; }
.text-body-sm-mona{ font-size:1rem; font-variation-settings:"wght" 500, "wdth" 100; letter-spacing:-.0125rem; line-height:1.3; }
.text-cta-short-intro{ font-family:var(--brier); font-weight:700; font-size:2rem; letter-spacing:.040625rem; line-height:1.04; font-style:italic; }
.text-eyebrow{ font-size:.625rem; font-variation-settings:"wght" 700, "wdth" 100; letter-spacing:0; line-height:1; text-transform:uppercase; }
.text-eyebrow.large{ font-size:1.125rem; font-variation-settings:"wght" 812, "wdth" 81.3; letter-spacing:-.01rem; }
.text-small-label{ font-size:.9rem; font-variation-settings:"wght" 600, "wdth" 100; line-height:1.25; }
.text-small-label.date{ color:var(--color--lime); font-variation-settings:"wght" 700, "wdth" 100; }
.c-lime{ color:var(--color--lime); }
.c-lime-off{ color:var(--color--lime-off); }
.c-white{ color:var(--color--white); }
.c-off-white-2{ color:var(--color--green-off-white-2); }
.c-tint-2{ color:var(--color--dark-green-tint-2); }

/* the scribbles — a monoline marker, written in on scroll */
.scribble{
  font-family:var(--script); font-weight:400; font-style:italic; letter-spacing:-.02em;
  color:var(--color--lime); line-height:1; white-space:nowrap;
  pointer-events:none; user-select:none;
  clip-path:inset(-20% 100% -20% -5%);
}

/* split helpers */
.line{ display:block; position:relative; }
.word{ display:inline-block; }
.char{ display:inline-block; will-change:transform; }
.oval-line-clip-wrap{ overflow:hidden; }

/* ---------- buttons ------------------------------------------ */
.btn-w{
  display:inline-flex; flex:none; align-items:center; justify-content:center;
  height:3rem; padding:0 1rem;
  border:1px solid var(--color--lime); border-radius:.54rem;
  background:var(--color--lime); color:#fff;
  transition:background var(--animation-default), color var(--animation-default), border-color var(--animation-default);
}
.btn-w:hover{ background:var(--color--black); border-color:var(--color--black); color:var(--color--white); }
.btn-w.tertiary{ background:transparent; color:currentColor; border-color:currentColor; border-radius:.411875rem; height:2.5rem; }
.btn-w.tertiary:hover{ background:var(--color--lime); border-color:var(--color--lime); color:#fff; }
.btn-w.icon-only{ width:3.75rem; height:3.75rem; padding:0; }
.btn-w.is-sq{ width:3rem; height:3rem; padding:0; }
.btn-inner{ display:flex; align-items:center; gap:calc(var(--gap) * .5); }
.btn-text{ font-size:var(--text--btn-primary); font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; line-height:1; }
.btn-text.is-nav{ font-size:var(--text--btn-nav); }
.btn-text-clip{ overflow:clip; display:block; height:1em; }
.btn-text-clip > span{ display:block; transition:transform var(--animation-default); }
.btn-text-clip > span + span{ position:absolute; }
.btn-w:hover .btn-text-clip > span{ transform:translateY(-100%); }
.btn-text-clip{ position:relative; }
.btn-text-clip > span:last-child{ position:absolute; top:100%; left:0; }
.btn-icon{ width:.9rem; height:.9rem; flex:none; }

/* =============================================================
   NAV
   ============================================================= */
.nav{
  position:fixed; inset:0 0 auto; z-index:50; pointer-events:none;
  color:var(--color--black);
  transition:color .3s ease;
}
[data-nav-theme="light"] .nav{ color:var(--color--white); }
.nav-inner{
  display:flex; justify-content:space-between; align-items:center;
  padding:var(--gap);
}
.nav-brand-link{
  pointer-events:auto; transform-origin:0 0;
  display:flex; flex-direction:column; height:3.75rem; justify-content:center;
}
.nav-brand-link .b1{ font-family:var(--brier); font-weight:700; font-size:1.55rem; line-height:.82; letter-spacing:-.02em; text-transform:uppercase; font-style:italic; }
.nav-brand-link .b2{ font-size:1.55rem; font-variation-settings:"wght" 820, "wdth" 92; line-height:.82; letter-spacing:-.02em; text-transform:uppercase; }
.nav-middle{
  pointer-events:auto; position:absolute; left:50%; top:var(--gap);
  transform:translateX(-50%); height:3.75rem; display:flex; align-items:center;
}
.nav-middle img{ width:3.4rem; height:auto; transition:transform var(--animation-default); }
.nav-middle:hover img{ transform:rotate(-8deg) scale(1.06); }
[data-nav-theme="light"] .nav-middle img{ filter:brightness(0) invert(1); }
.btn-layout.is-nav{
  pointer-events:auto; display:flex; gap:calc(var(--gap) * .5);
  transform-origin:100% 0;
}
.btn-w.is-nav{ height:3.75rem; }
.nav-ham{
  width:3.75rem; height:3.75rem; border-radius:.74rem;
  display:flex; align-items:center; justify-content:center;
  background:var(--color--white); color:var(--color--black);
  border:1px solid var(--color--black);
  transition:background var(--animation-default), border-color var(--animation-default), color var(--animation-default);
}
[data-nav-theme="light"] .nav-ham{ border-color:var(--color--white); }
.nav-ham .bars{ width:1.25rem; height:.75rem; position:relative; }
.nav-ham .bars i{
  position:absolute; left:0; height:2px; background:currentColor; border-radius:2px;
  transition:transform .5s var(--cubic-default), width .5s var(--cubic-default), top .5s var(--cubic-default);
}
.nav-ham .bars i:nth-child(1){ top:0; width:100%; }
.nav-ham .bars i:nth-child(2){ top:calc(100% - 2px); width:60%; }
.nav-ham:hover .bars i:nth-child(2){ width:100%; }
html.menu-open .nav-ham .bars i:nth-child(1){ top:calc(50% - 1px); transform:rotate(45deg); }
html.menu-open .nav-ham .bars i:nth-child(2){ top:calc(50% - 1px); width:100%; transform:rotate(-45deg); }
html.menu-open .nav{ color:var(--color--white); }
html.menu-open .nav-ham{ background:var(--color--dark-green); border-color:var(--color--white); color:var(--color--white); }
html.menu-open .nav-middle img{ filter:brightness(0) invert(1); }

/* the menu */
.nav-menu-w{
  position:fixed; inset:0; z-index:40;
  width:100vw; height:100vh;
  background:var(--color--dark-green); color:var(--color--white);
  display:none; pointer-events:auto;
  clip-path:ellipse(120% 0% at 50% 0%);
}
.nav-menu-bg{ position:absolute; inset:0; opacity:.12; z-index:-1; }
.nav-menu-grid{
  display:flex; justify-content:space-between; align-items:center;
  height:100%; padding:calc(var(--gap) * 2) 8rem calc(var(--gap) * 2) 2.25rem;
}
.nav-menu-links-w{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4rem; text-align:center; }
.nav-menu-links-list{ display:flex; flex-direction:column; align-items:center; color:var(--color--green-off-white-1); }
.nav-menu-link-w{
  position:relative; overflow:clip; cursor:pointer;
  font-size:5.25rem; line-height:1; font-variation-settings:"wght" 750, "wdth" 93;
  letter-spacing:-.15rem; text-transform:uppercase; height:5.25rem;
  transition:color var(--animation-default);
}
.nav-menu-link-w:hover{ color:var(--color--lime-off); }
.nav-menu-link-w.is-current{ color:var(--color--lime); }
.nav-menu-link-w .roll{ display:block; }
.nav-menu-social{ display:flex; gap:var(--gap); }
.nav-menu-social a{ font-size:.75rem; font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; letter-spacing:.02em; }
.nav-menu-social a:hover{ color:var(--color--lime); }
.nav-menu-images-track{ display:flex; gap:calc(var(--gap) * 3); height:100%; align-items:center; }
.nav-menu-images-col{ display:flex; flex-direction:column; gap:calc(var(--gap) * 3); }
.nav-menu-img-w{ width:17rem; height:19rem; overflow:hidden; clip-path:ellipse(120% 100% at 50% 20%); border-radius:.3rem; }
.nav-menu-img-w img, .nav-menu-img-w video{ width:100%; height:100%; object-fit:cover; display:block; }

/* =============================================================
   PAGE TRANSITION
   ============================================================= */
.transition-w{
  position:fixed; inset:0; z-index:300;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; visibility:hidden;
}
.tr-svg{ position:absolute; inset:0; overflow:visible; }
.tr-in, .tr-out{ fill:var(--color--black); }
.tr-out{ opacity:0; }
.tr-word{ position:relative; display:block; width:15rem; aspect-ratio:928 / 106; background:var(--color--white); clip-path:inset(0 100% 0 0);
  -webkit-mask:url(../assets/brand/wordmark.png) center / contain no-repeat; mask:url(../assets/brand/wordmark.png) center / contain no-repeat; }
/* first paint of every page: the screen is already red, waiting for pageIn */
html.is-loading .transition-w{ visibility:visible; }
html.is-loading .tr-out{ opacity:1; }
html.is-loading .tr-word{ clip-path:inset(0 0% 0 0); }

/* =============================================================
   01 · HERO — the studio cloud, shrinking into the card
   ============================================================= */
.sticky-track.home-hero{ height:200vh; position:relative; }
.hero-plane{
  position:fixed; z-index:9; left:0; top:0;
  width:100vw; height:100vh;
  overflow:hidden; pointer-events:none;
  background:var(--color--hero);
  will-change:transform,width,height;
}
.hero-plane canvas{ position:absolute; inset:0; width:100%; height:100%; }
.hero-plane .hero-filter{ position:absolute; inset:0; background:#2A3138; mix-blend-mode:color; opacity:0; pointer-events:none; }
.hero-plane .hero-darken{ position:absolute; inset:0; background:#1A1E22; opacity:0; pointer-events:none; }
.hero-hit{ position:absolute; inset:0; z-index:8; }

.home-hero-next-race-w{
  position:fixed; left:var(--gap); bottom:var(--gap); z-index:12;
  width:7.4375rem; height:15.25rem;
  color:var(--color--dark-green-tint-2);
  clip-path:ellipse(100% 120% at 50% 0);
  transition:clip-path .8s var(--cubic-default);
  display:flex; flex-direction:column; align-items:center;
  border:1px solid currentColor; border-radius:.5rem;
  padding:.6rem .5rem; text-align:center;
}
.home-hero-next-race-w.hidden{ clip-path:ellipse(100% 0% at 50% 0); }
.home-hero-next-race-w .text-eyebrow{ font-size:.5rem; }
.nr-line{ width:80%; height:1px; background:currentColor; margin:.55rem auto; }
.nr-thumb{ width:5.5rem; height:4.2rem; object-fit:cover; border-radius:.2rem; filter:grayscale(1) contrast(1.05); opacity:.85; }
.nr-name{ font-size:.75rem; font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; color:var(--color--black); margin-top:.4rem; line-height:1.05; }
.nr-cloud{ width:3.6rem; opacity:.7; margin-top:auto; }

/* the marquee rows behind the card */
.s.home-marquee{ position:absolute; inset:0; user-select:none; pointer-events:none; }
.c.is-marquee{
  position:sticky; top:0; height:100vh; max-width:none; padding:0;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.marquee-rows{ position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); display:flex; flex-direction:column; gap:.6vw; opacity:0; }
.marquee-row{ display:flex; width:max-content; white-space:nowrap; will-change:transform; }
.marquee-row span{ font-size:max(4em, 8vw); padding-right:.32em; }
.marquee-row.top span{ font-family:var(--brier); font-weight:700; color:var(--color--lime-off); line-height:.86; letter-spacing:-.04em; text-transform:uppercase; font-style:italic; }
.marquee-row.bot span{ color:var(--color--green-off-white-1); line-height:.86; font-variation-settings:"wght" 750, "wdth" 93; letter-spacing:-.05em; text-transform:uppercase; }
.marquee-gl-target{ width:35.375rem; height:22.875rem; position:relative; z-index:1; }
.c.is-marquee.is-over{ margin-top:-100vh; z-index:11; pointer-events:none; overflow:visible; }
.marquee-adv-top-w{
  position:absolute; left:0; right:0; top:calc(50% - 11.4375rem - 6.5rem);
  display:flex; flex-direction:column; align-items:center; gap:var(--gap);
  text-align:center; color:var(--color--green-off-white-1); z-index:11; opacity:0;
}
.marquee-adv-top-w img{ width:3.2rem; filter:brightness(0) invert(.9); }
.marquee-signature{
  position:absolute; left:50%; top:50%; z-index:12;
  transform:translate(-50%, -38%) rotate(-11deg);
  font-size:13rem;
}

/* =============================================================
   02 · STATEMENT
   ============================================================= */
.s.is-statement{ padding:22rem 0 14rem; }
.statement-layout{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:2.5rem; }
.statement-mark{ display:flex; flex-direction:column; align-items:center; gap:.9rem; color:var(--color--green-off-white-1); }
.statement-mark img{ width:4rem; filter:brightness(0) invert(.88); }
.statement-text{ max-width:88rem; color:var(--color--green-off-white-1); }
.statement-text .ff-brier{ color:var(--color--lime-off); font-size:8.25rem; line-height:.83; letter-spacing:-.1875rem; }

/* line reveal: each line wipes in behind a solid bar */
.high-line-reveal{ position:absolute; inset:0; z-index:5; pointer-events:none; }

/* =============================================================
   03 · HORIZONTAL TRACK
   ============================================================= */
.s.is-horizontal-track{ position:relative; }
.horizontal-pin-sticky{ position:sticky; top:0; display:flex; height:100vh; overflow:hidden; }
.horizontal-track{
  display:flex; flex:none; height:100vh;
  padding:calc(var(--vh) * 7) var(--gap) calc(var(--gap) * 2) 75vw;
  will-change:transform;
}
.horizontal-grid-col{ display:flex; flex-direction:column; flex:none; height:100%; align-items:flex-start; }
.horizontal-grid-spacer{ width:var(--grid-spacer); flex:none; }
.horizontal-grid-spacer.half{ width:calc(var(--grid-spacer) * .5); }
.horizontal-item-w{ position:relative; }
.horizontal-item-layout{ display:flex; flex-direction:column; gap:var(--gap); }
.horizontal-item-img-w{ display:flex; justify-content:flex-end; align-items:center; overflow:clip; background:rgba(255,255,255,.04); }
.image.is-horizontal-scroll{
  /* the whole picture, at its own shape: nothing oversized or cropped */
  flex:none; width:100%; height:100%;
  max-width:none; object-fit:cover; transform-origin:0%; pointer-events:none;
}
.eyebrow-w{ display:flex; }
.horizontal-item-text{ font-family:var(--brier); font-weight:700; font-size:1.5rem; line-height:.946; letter-spacing:.05rem; color:var(--color--green-off-white-2); font-style:italic; }
.horizontal-item-text b{ color:var(--color--green-off-white-1); font-weight:inherit; }
.horizontal-item-text.dark{ color:var(--color--dark-green-tint-2); }
.horizontal-item-text.dark b{ color:var(--color--dark-green); }
.horizontal-item-text-layout{ display:flex; flex-direction:column; gap:var(--gap); }
.horizontal-sig{ font-family:var(--script); font-style:italic; font-size:1.9rem; letter-spacing:-.02em; color:var(--color--lime); line-height:1; transform:rotate(-8deg); transform-origin:left center; }
.horizontal-item-pill{ display:flex; border:.5px solid currentColor; border-radius:.4rem; height:2.5rem; margin-top:1rem; color:var(--color--green-off-white-2); }
.horizontal-pill-box{ width:3.25rem; display:flex; align-items:center; justify-content:center; font-size:1rem; font-variation-settings:"wght" 700, "wdth" 90; }
.horizontal-pill-box.is-side{ border-right:.5px solid currentColor; }

/* the composition, sized in vh exactly as the reference */
.hi-1 .horizontal-item-img-w{ width:calc(var(--vh) * 27);    height:calc(var(--vh) * 33.46); }
.hi-2 { margin-top:auto; margin-bottom:calc(var(--vh) * 8.42); left:calc(var(--vh) * 14.42); }
.hi-2 .horizontal-item-img-w{ width:calc(var(--vh) * 29.3);  height:calc(var(--vh) * 29.3); }
.hi-c1{ max-width:17.375rem; margin-top:calc(var(--vh) * 1.67); }
.hi-3 { margin-top:auto; }
.hi-3 .horizontal-item-img-w{ width:calc(var(--vh) * 65.48); height:calc(var(--vh) * 59.48); }
.hi-4 { left:calc(var(--grid-spacer) * -.5); }
.hi-4 .horizontal-item-img-w{ width:calc(var(--vh) * 21.98); height:calc(var(--vh) * 20.96); }
.hi-5 { margin-top:auto; margin-bottom:calc(var(--vh) * 8.17); }
.hi-5 .horizontal-item-img-w{ width:calc(var(--vh) * 31.75); height:calc(var(--vh) * 28.75); }
.hi-6 { margin-top:auto; margin-bottom:calc(var(--vh) * 1.17); }
.hi-6 .horizontal-item-img-w{ width:calc(var(--vh) * 21.38); height:calc(var(--vh) * 26.48); }
.hi-7 { margin-bottom:auto; margin-top:calc(var(--vh) * 8); }
.hi-7 .horizontal-item-img-w{ width:calc(var(--vh) * 20.74); height:calc(var(--vh) * 20.74); }
.hi-8 { margin-top:calc(var(--vh) * 2); }
.hi-8 .horizontal-item-img-w{ width:calc(var(--vh) * 72); height:calc(var(--vh) * 46); }
.hi-c2{ max-width:30rem; margin-top:auto; margin-bottom:calc(var(--vh) * 2.67); }
.hi-10{ margin-top:calc(var(--vh) * 14.92); }
.hi-10 .horizontal-item-img-w{ width:calc(var(--vh) * 31.69); height:calc(var(--vh) * 30.9); }
.hi-9 { left:calc(var(--grid-spacer) * -.5); margin-top:auto; margin-bottom:calc(var(--gap) * 2); }
.hi-9 .horizontal-item-img-w{ width:calc(var(--vh) * 27.42); height:calc(var(--vh) * 24.91); }

/* =============================================================
   04 · ON SCREEN / ON SET
   ============================================================= */
.s.is-otot-home{ color:var(--color--dark-green); }
.otot-home-inner{ position:relative; z-index:10; min-height:100vh; display:flex; align-items:center; justify-content:center; }
.otot-home-img-w{
  position:absolute; bottom:0; height:calc(var(--vh) * 90.67);
  overflow:hidden; display:flex;
}
.otot-home-img-w.is-1{ left:0; aspect-ratio:834/1984; justify-content:flex-end; }
.otot-home-img-w.is-2{ right:0; aspect-ratio:898/1984; }
.otot-home-img{ width:100%; height:100%; object-fit:cover; max-width:none; }
.otot-home-img-w .cutout{ -webkit-mask-image:linear-gradient(180deg, transparent 0, #000 12%); mask-image:linear-gradient(180deg, transparent 0, #000 12%); }
.otot-home-layout{ display:flex; gap:calc(var(--gap) * 3); position:relative; }
.otot-home-text-col{ display:flex; flex-direction:column; gap:var(--gap); }
.otot-home-text-col.is-1{ text-align:right; align-items:flex-end; }
.otot-home-text-col.is-2{ text-align:left; align-items:flex-start; }
.otot-home-text-col h2 .ff-brier{ display:block; line-height:.81; }
.otot-home-p-w{ width:21rem; margin-top:var(--gap); display:flex; flex-direction:column; gap:var(--gap); }
.otot-home-text-col.is-1 .otot-home-p-w{ align-items:flex-end; }
.otot-scribble{ position:absolute; z-index:10; right:-1rem; top:-1.4rem; font-size:9.5rem; transform:rotate(-10deg); }
.s.is-otot-end{ z-index:10; }
.otot-home-end-img-w{ min-height:100vh; position:relative; overflow:clip; display:flex; justify-content:center; align-items:flex-start; }
.image.is-otot-home-end{ position:absolute; width:100%; height:calc(var(--vh) * 120); object-fit:cover; max-width:none; }

/* =============================================================
   05 · PLAYGROUND (the reference's helmet hall)
   ============================================================= */
.s.home-helmets{ z-index:6; background:var(--color--black); color:var(--color--white); }
.c.home-helmets{ padding-top:calc(var(--gap) * 2); padding-bottom:var(--gap); position:relative; }
.helmets-head{ padding-top:2.5rem; padding-bottom:9rem; align-items:start; }
.helmets-head h2{ grid-column:1 / span 2; }
.helmets-head p{ grid-column:3 / span 1; color:var(--color--white); }
.helmet-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--gap); }
.helmet-grid-item-w{ position:relative; display:block; }
.helmet-grid-item{ position:relative; aspect-ratio:406.89/411; width:100%; }
.helmet-grid-item-img-w{
  position:absolute; inset:0; overflow:hidden;
  -webkit-mask:url("../assets/ui/card-mask.svg") center / 100% 100% no-repeat;
          mask:url("../assets/ui/card-mask.svg") center / 100% 100% no-repeat;
  background:#1C1C1C;
}
.helmet-grid-item-img-w img,
.helmet-grid-item-img-w video{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.001); transition:transform var(--animation-default);
}
.helmet-grid-item-w:hover .helmet-grid-item-img-w img,
.helmet-grid-item-w:hover .helmet-grid-item-img-w video{ transform:scale(1.1); }
.helmet-grid-frame{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:10; color:#2C2C2C; }
.helmet-grid-frame.is-overlay{ color:var(--color--lime); opacity:0; transition:opacity var(--animation-default); }
.helmet-grid-item-w:hover .helmet-grid-frame.is-overlay{ opacity:1; }
.helmet-grid-item-text-w{
  position:absolute; right:0; bottom:0; z-index:5; height:2rem;
  display:flex; align-items:center; justify-content:flex-end; gap:.8rem;
  padding:0 .9rem 0 0;
}
.helmet-grid-item-text-w .text-small-label{ color:var(--color--white); }
.hg-play{ position:absolute; left:.9rem; top:.9rem; z-index:6; width:1.8rem; height:1.8rem; border-radius:50%; background:rgba(237,237,235,.12); display:grid; place-items:center; font-size:.55rem; color:var(--color--white); backdrop-filter:blur(6px); }

.helmet-cta{ padding:11rem 0 8.75rem; display:flex; flex-direction:column; align-items:center; text-align:center; gap:2rem; }
.helmet-cta img{ width:3.4rem; filter:brightness(0) invert(.85); }
.helmet-cta .text-cta-short-intro{ max-width:30rem; color:var(--color--white); }

/* =============================================================
   06 · START A PROJECT (the reference's store)
   ============================================================= */
.s.is-lando-exe{ color:var(--color--dark-green); background:var(--color--white); }
.exe-top-visor{ position:absolute; inset:-1px 0 auto; height:8rem; background:var(--color--black); clip-path:ellipse(70% 100% at 50% 0); z-index:0; }
.c.is-lando-exe{ position:relative; z-index:1; padding:16rem 11rem 18rem; }
.exe-layout{ display:flex; justify-content:space-between; align-items:center; }
.exe-text-w{ width:33rem; display:flex; flex-direction:column; gap:2rem; position:relative; z-index:3; }
.exe-eyebrow{ display:flex; align-items:center; gap:.5rem; }
.exe-eyebrow img{ width:1.1rem; }
.exe-text-w .text-impact-reg-mona{ font-size:7rem; }
.exe-text-w .text-body-reg-mona{ max-width:28rem; }
.exe-col-2{ position:relative; }
.exe-cta-img-w{ position:relative; overflow:clip; display:flex; justify-content:center; align-items:flex-start; }
.exe-cta-img-w.is-1{ width:39.375rem; height:52.0625rem; top:-4rem; }
.exe-cta-img-w.is-2{ position:absolute; width:25rem; height:17.875rem; top:8rem; right:-16rem; }
.exe-cta-img-w.is-3{ position:absolute; width:14.1875rem; height:18.125rem; bottom:-8rem; left:-11.3rem; z-index:2; }
.exe-cta-img-w.is-4{ position:absolute; width:16.375rem; height:11.875rem; bottom:-8rem; left:-14rem; z-index:0; }
.image.is-exe-scroll{ width:100%; height:calc(100% + 4rem); object-fit:cover; flex:none; max-width:none; }
.exe-sticker{
  position:absolute; right:8rem; bottom:-2rem; z-index:4;
  transform:rotate(-7deg);
  font-family:var(--script); font-style:italic; font-size:4.6rem; color:var(--color--lime);
  letter-spacing:-.02em; line-height:.9; text-align:center;
}

/* =============================================================
   07 · CLIENTS & CAMPAIGNS
   ============================================================= */
.s.is-home-collabs{ color:var(--color--dark-green); padding:8rem 0 10rem; overflow:hidden; }
.c.is-home-collabs{ position:relative; z-index:5; }
.collabs-head{ align-items:start; }
.collabs-head h2{ grid-column:1 / span 2; }
.collabs-head p{ grid-column:3 / span 1; }
.collab-scribble{ position:absolute; z-index:-1; left:-3rem; top:10rem; font-size:21rem; transform:rotate(-12deg); transform-origin:left center; }
.marquee-offest-w{ position:relative; width:100vw; left:calc(var(--gap) * -1); overflow:clip; margin-top:8rem; }
.marquee-advanced__scroll{ display:flex; width:100%; position:relative; will-change:transform; }
.marquee-advanced__collection{ display:flex; flex:none; position:relative; will-change:transform; }
.marquee-advanced__item{ display:flex; align-items:center; flex:none; }
.marquee-spacer{ width:7rem; flex:none; }
.wordmark{ white-space:nowrap; color:var(--color--dark-green); line-height:1; }

/* =============================================================
   08 · SOCIALS
   ============================================================= */
.s.is-callout-socials{ z-index:5; color:var(--color--black); }
.c.is-callout{ display:flex; justify-content:center; align-items:center; padding-top:12rem; padding-bottom:8.75rem; }
.callout-socials-layout{ display:flex; flex-direction:column; align-items:center; gap:calc(var(--gap) * 2); width:100%; text-align:center; }
.callout-socials-layout > img{ width:2.6rem; }
.callout-socials-card-layout{ position:relative; width:100%; max-width:80rem; height:38rem; display:flex; justify-content:center; align-items:center; }
.callout-socials-card-w{
  position:absolute; width:20rem; height:35.5rem; border-radius:2.6rem;
  overflow:clip; flex:none; backface-visibility:hidden; will-change:transform;
  background:#ccc; cursor:pointer;
}
.callout-socials-card-w img,
.callout-socials-card-w video{ width:100%; height:100%; object-fit:cover; }
.callout-socials-intro-w{ margin-top:calc(var(--gap) * 3); display:flex; flex-direction:column; align-items:center; gap:1.4rem; }
.callout-socials-links-layout{ display:flex; gap:calc(var(--gap) * 1.5); }
.callout-socials-links-layout a{ font-size:.75rem; font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; }
.callout-socials-links-layout a:hover{ color:var(--color--lime); }

/* =============================================================
   09 · FOOTER
   ============================================================= */
.s.is-footer{ z-index:0; color:var(--color--dark-green); background:var(--color--white); }
.footer-bg-gradient{
  position:absolute; left:0; right:0; bottom:0; height:100%;
  background-image:radial-gradient(circle farthest-corner at 50% -190%, var(--color--lime-zero) 68%, var(--color--lime) 83%);
  transform-origin:50% 100%; pointer-events:none; overflow:clip;
}
.c.is-footer{ position:relative; z-index:5; padding-top:var(--gap); padding-bottom:var(--gap); }
.footer-layout-clip{
  position:relative; width:100%; aspect-ratio:1688/896;
  background:var(--color--dark-green); color:var(--color--white);
  -webkit-mask:url("../assets/ui/footer-mask.svg") center / 100% 100% no-repeat;
          mask:url("../assets/ui/footer-mask.svg") center / 100% 100% no-repeat;
  overflow:hidden;
}
.footer-inner-layout{ position:absolute; inset:0; display:flex; flex-direction:column; }
.footer-statement-w{ position:absolute; top:12rem; left:0; right:0; display:flex; justify-content:center; text-align:center; z-index:6; }
.footer-statement-layout{ width:48rem; display:flex; flex-direction:column; align-items:center; position:relative; }
.footer-statement-layout .ff-brier{ color:var(--color--lime-off); }
.footer-scribble{ position:absolute; top:-6.4rem; left:50%; transform:translateX(-50%) rotate(-12deg); font-size:7rem; z-index:5; }
.footer-links-w{ margin-top:auto; margin-bottom:14rem; padding:0 12.8rem; display:flex; justify-content:space-between; position:relative; z-index:7; }
.footer-links-col{ display:flex; flex-direction:column; align-items:center; }
.footer-links-layout{ display:flex; flex-direction:column; align-items:center; gap:calc(var(--gap) * .2); margin:1rem 0 2rem; }
.footer-links-layout a{ font-size:1.875rem; line-height:.95; font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; transition:color var(--animation-default); }
.footer-links-layout a:hover{ color:var(--color--lime); }
.footer-links-col .text-eyebrow{ color:var(--color--green-off-white-2); }
.footer-cta{ font-size:1.875rem; font-variation-settings:"wght" 800, "wdth" 86; text-transform:uppercase; color:var(--color--lime); }
.footer-bg-helmet-w{ position:absolute; left:0; right:0; bottom:0; z-index:5; display:flex; justify-content:center; align-items:flex-end; pointer-events:none; }
.footer-bg-img{ width:48.75rem; height:auto; position:relative; bottom:-3rem; filter:drop-shadow(0 -1rem 3rem rgba(0,0,0,.35)); }
.footer-bg-pattern-w{ position:absolute; inset:0; opacity:.12; z-index:-1; }
.footer-marquee{ position:absolute; left:0; right:0; bottom:3.75rem; height:2.625rem; display:flex; overflow:clip; z-index:1; }
.footer-marquee .wordmark{ color:var(--color--lime); }
.footer-legal{ display:flex; justify-content:space-between; padding-top:1rem; }
.footer-legal .text-small-label{ font-size:.75rem; }

/* =============================================================
   INNER PAGES
   ============================================================= */
.page-hero{ min-height:88vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:9rem var(--gap) 6rem; position:relative; }
.page-hero .text-eyebrow{ margin-bottom:2rem; }
.page-hero h1 .ff-brier{ color:var(--color--lime-off); }
.page-hero .sub{ max-width:36rem; margin-top:2.5rem; color:var(--color--green-off-white-2); }
.on-paper{ color:var(--color--dark-green); }
.on-paper .page-hero h1 .ff-brier{ color:var(--color--dark-green); }

.camp-list{ display:flex; flex-direction:column; border-bottom:1px solid rgba(26,30,34,.15); }
.camp-item{
  display:grid; grid-template-columns:1fr 1fr 1fr 1fr; gap:var(--gap);
  padding:var(--gap) 0; border-top:1px solid rgba(26,30,34,.15);
  color:var(--color--dark-green); position:relative;
}
.camp-item-img-w{ aspect-ratio:407/411; width:100%; position:relative; overflow:hidden; }
.camp-item-img-w img{ width:100%; height:100%; object-fit:cover; transition:transform var(--animation-default); }
.camp-item:hover .camp-item-img-w img{ transform:scale(1.05); }
.camp-info{ grid-column:3 / span 2; display:flex; flex-direction:column; justify-content:space-between; gap:2rem; padding-left:1rem; }
.camp-info-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
.camp-info-grid .k{ font-size:.625rem; font-variation-settings:"wght" 700, "wdth" 100; text-transform:uppercase; color:var(--color--dark-green-tint-2); margin-bottom:.4rem; }
.camp-info-grid .v{ font-size:1rem; font-variation-settings:"wght" 600, "wdth" 100; }
.camp-title{ font-size:4.5rem; font-variation-settings:"wght" 750, "wdth" 93; letter-spacing:-.125rem; line-height:.886; text-transform:uppercase; }

.p-copy{ display:grid; grid-template-columns:repeat(4, 23.55%); column-gap:var(--gap); padding:10rem 0 6rem; color:var(--color--dark-green); }
.p-copy .lede{ grid-column:1 / span 3; font-size:4.5rem; font-family:var(--brier); font-weight:700; line-height:.95; letter-spacing:-.06rem; font-style:italic; }
.p-copy .body{ grid-column:2 / span 3; display:grid; grid-template-columns:1fr 1fr; gap:2rem var(--gap); margin-top:6rem; }
.p-copy .body p{ font-size:1.25rem; line-height:1.4; }
.p-stats{ grid-column:1 / span 4; display:grid; grid-template-columns:repeat(4, 1fr); gap:var(--gap); margin-top:6rem; padding-top:var(--gap); border-top:1px solid rgba(26,30,34,.15); }
.p-stats .l{ font-size:.625rem; font-variation-settings:"wght" 700, "wdth" 100; text-transform:uppercase; color:var(--color--dark-green-tint-2); }
.p-stats .v{ font-size:2.25rem; font-variation-settings:"wght" 750, "wdth" 93; text-transform:uppercase; letter-spacing:-.06rem; margin-top:.6rem; }
.p-media{ display:flex; flex-direction:column; gap:var(--gap); padding-bottom:8rem; }
.p-media .row{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
.p-media figure{ overflow:hidden; border-radius:.3rem; background:#d9d9d6; }
.p-media img,.p-media video{ width:100%; height:100%; object-fit:cover; }
.p-media .full{ aspect-ratio:16/9; }
.p-media .half{ aspect-ratio:4/5; }
.p-next{ display:flex; flex-direction:column; align-items:center; gap:2rem; padding:8rem 0 12rem; text-align:center; color:var(--color--dark-green); }
.p-next a.big{ font-size:var(--text--impact); font-variation-settings:"wght" 660, "wdth" 93; text-transform:uppercase; line-height:.9; letter-spacing:-.0625rem; transition:color var(--animation-default); }
.p-next a.big:hover{ color:var(--color--lime); }

.studio-stats{ display:grid; grid-template-columns:repeat(4, 23.55%); column-gap:var(--gap); padding:4rem 0 10rem; }
.studio-stat .n{ font-family:var(--numbers); font-weight:400; font-size:9rem; line-height:.9; letter-spacing:-.01em; color:var(--color--lime-off); }
.studio-stat .l{ margin-top:1rem; }
.studio-cols{ display:grid; grid-template-columns:repeat(4, 23.55%); column-gap:var(--gap); padding:8rem 0; border-top:1px solid rgba(237,237,235,.12); }
.studio-cols h3{ margin-bottom:1.6rem; }
.studio-cols li{ font-size:1.25rem; line-height:1.5; color:var(--color--green-off-white-1); }
.process{ padding:4rem 0 12rem; }
.process-row{ display:grid; grid-template-columns:repeat(4, 23.55%); column-gap:var(--gap); padding:1.6rem 0; border-top:1px solid rgba(237,237,235,.12); align-items:start; }
.process-row .n{ font-size:.625rem; font-variation-settings:"wght" 700, "wdth" 100; color:var(--color--green-off-white-2); }
.process-row .h{ font-size:2.25rem; font-variation-settings:"wght" 750, "wdth" 93; text-transform:uppercase; letter-spacing:-.06rem; line-height:.95; }
.process-row .d{ grid-column:3 / span 2; color:var(--color--green-off-white-1); }

/* =============================================================
   TABLET / MOBILE
   The reference drops the horizontal pin, the column offsets and
   the hover effects below 992px; so does this.
   ============================================================= */
@media (max-width:991px){
  .nav-middle{ display:none; }
  .home-hero-next-race-w{ display:none; }
  .horizontal-pin-sticky{ position:relative; height:auto; overflow:visible; }
  .horizontal-track{ flex-direction:column; height:auto; padding:6rem var(--gap); gap:5rem; }
  .horizontal-grid-col{ height:auto; gap:5rem; width:100%; }
  .horizontal-grid-spacer{ display:none; }
  .horizontal-item-w{ left:0 !important; margin:0 !important; }
  .horizontal-grid-col:nth-child(4n+1) .horizontal-item-w{ align-self:flex-start; }
  .horizontal-grid-col:nth-child(4n+3) .horizontal-item-w{ align-self:flex-end; }
  .horizontal-item-img-w{ width:56vw !important; height:auto !important; aspect-ratio:4/5; }
  .hi-3 .horizontal-item-img-w,.hi-8 .horizontal-item-img-w{ width:86vw !important; aspect-ratio:1; }
  .hi-8 .horizontal-item-img-w,.hi-13 .horizontal-item-img-w{ width:86vw !important; aspect-ratio:3/2; }
  .horizontal-track{ gap:3.5rem; }
  .horizontal-grid-col{ gap:3.5rem; }
  .image.is-horizontal-scroll{ width:100%; height:100%; }
  .otot-home-img-w{ height:calc(var(--vh) * 46); opacity:.9; }
  .otot-home-layout{ flex-direction:column; gap:5rem; padding:6rem 0 50vh; }
  .otot-home-text-col.is-1,.otot-home-text-col.is-2{ align-items:center; text-align:center; }
  .otot-home-text-col.is-1 .otot-home-p-w,.otot-home-p-w{ align-items:center; }
  .helmets-head,.collabs-head{ grid-template-columns:1fr; row-gap:2.5rem; }
  .helmets-head h2,.helmets-head p,.collabs-head h2,.collabs-head p{ grid-column:1; }
  .helmet-grid{ grid-template-columns:repeat(2, 1fr); }
  .c.is-lando-exe{ padding:12rem var(--gap) 14rem; }
  .exe-layout{ flex-direction:column; gap:12rem; }
  .exe-text-w{ width:100%; }
  .exe-cta-img-w.is-1{ width:70vw; height:90vw; }
  .exe-cta-img-w.is-2{ right:-10vw; }
  .footer-layout-clip{ aspect-ratio:auto; min-height:170vw; }
  .footer-statement-w{ top:10rem; }
  .footer-statement-layout{ width:90%; }
  .footer-links-w{ padding:0 3rem; margin-bottom:40vw; }
  .footer-bg-img{ width:80vw; }
  .callout-socials-card-w{ width:14rem; height:24.9rem; border-radius:1.8rem; }
  .callout-socials-card-layout{ height:28rem; }
  .camp-item{ grid-template-columns:1fr 1fr; }
  .camp-info{ grid-column:1 / span 2; padding:0; }
  .p-copy .lede,.p-copy .body{ grid-column:1 / span 4; }
  .p-copy .body{ grid-template-columns:1fr; }
  .studio-stats,.studio-cols,.process-row{ grid-template-columns:1fr 1fr; row-gap:3rem; }
  .process-row .d{ grid-column:1 / span 2; }
}
@media (max-width:479px){
  .nav-brand-link .b1,.nav-brand-link .b2{ font-size:1.9rem; }
  .btn-w.is-nav .btn-text{ display:none; }
  .btn-w.is-nav{ width:3.75rem; padding:0; }
  .text-impact-lg-mona{ font-size:4.4rem; }
  .statement-text .ff-brier{ font-size:4.6rem; }
  .text-impact-reg-mona{ font-size:5rem; }
  .text-impact-reg-brier{ font-size:5.2rem; }
  .text-title-lg-mona{ font-size:3.6rem; }
  .text-title-lg-brier{ font-size:3.75rem; }
  .text-impact-sm-mona{ font-size:3.6rem; }
  .text-impact-sm-brier{ font-size:3.75rem; }
  .text-body-reg-mona{ font-size:1.5rem; }
  .text-eyebrow{ font-size:1rem; }
  .text-small-label{ font-size:1.1rem; }
  .marquee-gl-target{ width:26rem; height:17rem; }
  .s.is-statement{ padding:14rem 0 10rem; }
  .helmet-grid{ grid-template-columns:1fr; }
  .helmet-grid-item-text-w{ height:2.8rem; }
  .exe-text-w .text-impact-reg-mona{ font-size:5rem; }
  .footer-links-w{ flex-direction:column; gap:3rem; align-items:center; margin-bottom:60vw; }
  .footer-links-layout a{ font-size:2.4rem; }
  .callout-socials-card-w{ width:11rem; height:19.6rem; border-radius:1.4rem; }
  .callout-socials-card-layout{ height:22rem; }
  .nav-menu-grid{ padding:6rem var(--gap) 3rem; }
  .nav-menu-images-track{ display:none; }
  .nav-menu-link-w{ font-size:4.3rem; height:4.3rem; }
  .p-copy .lede{ font-size:3rem; }
  .camp-title{ font-size:3.4rem; }
}

@media (prefers-reduced-motion:reduce){
  .scribble{ clip-path:none; }
}

/* filter buttons on the inner page heroes */
.btn-w.tertiary.is-on{ background:var(--color--lime); border-color:var(--color--lime); color:#fff !important; }
.page-hero h1{ color:var(--color--green-off-white-1); }
.camp-item-img-w video{ width:100%; height:100%; object-fit:cover; }


/* =============================================================
   WEIGHTS FOR A STATIC FAMILY
   The reference sets Mona Sans weights through variation axes;
   PP Neue Montreal ships as separate cuts, so each role gets its
   cut here. Heavy display → Bold, body → Book, labels → Bold.
   ============================================================= */
body{ font-weight:400; }
.text-impact-lg-mona,.text-impact-reg-mona,.text-impact-sm-mona,
.text-title-lg-mona,.nav-menu-link-w,.camp-title,.p-stats .v,
.process-row .h,.p-next a.big,.marquee-row.bot span{ font-weight:700; }
.text-body-lg-mona,.text-body-reg-mona,.text-body-sm-mona{ font-weight:400; }
.text-body-reg-mona strong{ font-weight:700; }
.text-eyebrow,.btn-text,.nr-name,.footer-links-layout a,.footer-cta,
.nav-menu-social a,.callout-socials-links-layout a,.horizontal-pill-box,
.camp-info-grid .k,.p-stats .l,.process-row .n{ font-weight:700; }
.text-eyebrow{ letter-spacing:.08em; }
.text-small-label{ font-weight:500; }
.text-small-label.date,.camp-info-grid .v{ font-weight:700; }

/* the serif accents: Times bold italic, like "Madeena" in the mark */
.ff-brier,.text-impact-lg-brier,.text-impact-reg-brier,.text-impact-sm-brier,
.text-title-lg-brier,.marquee-row.top span,.p-copy .lede{ font-style:italic; font-weight:700; }
.text-impact-lg-brier,.statement-text .ff-brier{ letter-spacing:-.06em; }

/* short intros and quotes: Cormorant Garamond Light, as on the site */
.text-cta-short-intro,.horizontal-item-text{
  font-family:var(--intro); font-weight:300; font-style:normal;
  font-size:2.35rem; letter-spacing:0; line-height:1.05;
}
.horizontal-item-text{ font-size:1.8rem; line-height:1; }
.horizontal-item-text b{ font-weight:600; font-style:italic; }

/* numbers set like the site's big italic display */
.studio-stat .n{ font-family:var(--numbers); font-style:italic; font-weight:700; font-size:9.5rem; letter-spacing:-.05em; line-height:.85; }

/* the wordmark: Madeena (italic) over studios. (upright) */
.nav-brand-link .b1,.nav-brand-link .b2{
  font-family:var(--brier); font-weight:700; text-transform:none;
  font-size:1.9rem; line-height:.86; letter-spacing:-.02em; font-variation-settings:normal;
}
.nav-brand-link .b1{ font-style:italic; }
.nav-brand-link .b2{ font-style:normal; }
.nav-brand-link .b2 i{ font-style:normal; color:var(--color--lime); }

.arabic{ font-family:var(--arabic); font-weight:700; letter-spacing:.06em; direction:rtl; }


/* ---- the extra column at the end of the track ---------------- */
.hi-11{ margin-top:calc(var(--vh) * 6); }
.hi-11 .horizontal-item-img-w{ width:calc(var(--vh) * 21.38); height:calc(var(--vh) * 26.48); }
.hi-12{ margin-top:auto; margin-bottom:calc(var(--vh) * 4); left:calc(var(--vh) * 8); }
.hi-12 .horizontal-item-img-w{ width:calc(var(--vh) * 22); height:calc(var(--vh) * 16); }
.hi-13{ margin-top:calc(var(--vh) * 4); }
.hi-13 .horizontal-item-img-w{ width:calc(var(--vh) * 56); height:calc(var(--vh) * 26); }
.hi-14{ margin-top:auto; margin-bottom:calc(var(--vh) * 6); left:calc(var(--vh) * 22); }
.hi-14 .horizontal-item-img-w{ width:calc(var(--vh) * 32); height:calc(var(--vh) * 20); }
.hi-15{ margin-top:calc(var(--vh) * 10); }
.hi-15 .horizontal-item-img-w{ width:calc(var(--vh) * 22); height:calc(var(--vh) * 27); }
.hi-16{ margin-top:auto; margin-bottom:calc(var(--vh) * 2); left:calc(var(--vh) * 12); }
.hi-16 .horizontal-item-img-w{ width:calc(var(--vh) * 24); height:calc(var(--vh) * 30); }

/* =============================================================
   SKY OVER MADEENA — the full-bleed moment between the split and
   the playground. No footage: the studio's painted clouds at six
   depths over a painted sky, and the line the site argues.
   ============================================================= */
.s.is-sky{ z-index:10; }
.sky-w{ position:relative; min-height:110vh; overflow:clip; display:flex; flex-direction:column; justify-content:center; align-items:center; }
.sky-inner{
  position:absolute; inset:-12vh -6vw; transform-origin:50% 40%;
  background:linear-gradient(180deg, #7F92A1 0%, #A9B6C0 30%, #CBD3D8 58%, #E4E6E5 82%, #EDEDEB 100%);
}
.sky-cloud{ position:absolute; height:auto; max-width:none; will-change:transform; user-select:none; pointer-events:none; }
.sky-cloud.d1{ width:16vw; left:8vw;  top:16vh; opacity:.55; filter:blur(2.5px); }
.sky-cloud.d2{ width:22vw; right:10vw; top:12vh; opacity:.6;  filter:blur(1.5px); }
.sky-cloud.d3{ width:30vw; left:-4vw; top:48vh; opacity:.8;  filter:blur(.6px); }
.sky-cloud.d4{ width:34vw; right:-6vw; top:56vh; opacity:.85; }
.sky-cloud.d5{ width:46vw; left:18vw; top:86vh; opacity:.95; }
.sky-cloud.d6{ width:26vw; left:56vw; top:30vh; opacity:.7; filter:blur(1px); }
.sky-grain{
  position:absolute; inset:0; pointer-events:none; opacity:.09; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.sky-copy{ position:relative; z-index:3; text-align:center; color:var(--color--dark-green); display:flex; flex-direction:column; align-items:center; gap:2.2rem; padding:0 var(--gap); }
.sky-eyebrow{ color:var(--color--dark-green); }
.sky-eyebrow .arabic{ font-size:1.5em; letter-spacing:0; margin:0 .4em; vertical-align:-.1em; }
.sky-title .ff-brier{ color:var(--color--dark-green); }
.sky-foot{ position:absolute; z-index:3; left:var(--gap); right:var(--gap); bottom:calc(var(--gap) * 2); display:flex; justify-content:space-between; color:var(--color--dark-green); opacity:.7; }
@media (max-width:991px){
  .sky-cloud.d1{ width:30vw; } .sky-cloud.d2{ width:36vw; } .sky-cloud.d3{ width:52vw; }
  .sky-cloud.d4{ width:56vw; } .sky-cloud.d5{ width:80vw; left:6vw; } .sky-cloud.d6{ width:44vw; left:40vw; }
  .sky-foot{ flex-direction:column; gap:.6rem; align-items:center; text-align:center; }
}

/* =============================================================
   SOUND BADGE — sits on any film that plays sound on hover
   ============================================================= */
.snd{ position:absolute; left:.8rem; bottom:.8rem; z-index:4; display:flex; align-items:center; gap:.45rem;
  padding:.4rem .65rem .4rem .55rem; border-radius:2rem; background:rgba(14,18,16,.5);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:#fff; pointer-events:none;
  font-family:var(--mona); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; line-height:1;
  opacity:0; transform:translateY(.4rem); transition:opacity .35s, transform .35s; }
.snd b{ font-weight:500; }
.snd i{ display:flex; align-items:flex-end; gap:2px; height:.7rem; }
.snd s{ display:block; width:2px; height:30%; background:currentColor; border-radius:1px; text-decoration:none; }
[data-sound-w]:hover .snd, .is-sound .snd{ opacity:1; transform:none; }
.is-sound .snd{ background:var(--color--lime, #e4002b); }
.is-sound .snd s{ animation:sndbar .9s ease-in-out infinite; }
.is-sound .snd s:nth-child(2){ animation-delay:-.3s; }
.is-sound .snd s:nth-child(3){ animation-delay:-.6s; }
@keyframes sndbar{ 0%,100%{ height:30%; } 50%{ height:100%; } }
@media (hover:none){ .snd{ opacity:1; transform:none; pointer-events:auto; } }

/* =============================================================
   TRACK FRAMES — sized per film (in vh) from home.js
   ============================================================= */
.hx .horizontal-item-img-w{ width:calc(var(--vh) * var(--w)); height:calc(var(--vh) * var(--h)); }
.hx{ left:calc(var(--vh) * var(--x, 0)); }
.hx.y-top{ margin-bottom:auto; margin-top:calc(var(--vh) * var(--off, 4)); }
.hx.y-bot{ margin-top:auto; margin-bottom:calc(var(--vh) * var(--off, 3)); }
.hx.y-mid{ margin-top:auto; margin-bottom:auto; }
.horizontal-grid-col + .horizontal-grid-col{ margin-left:calc(var(--vh) * 6); }
@media (max-width:991px){
  .hx .horizontal-item-img-w{ width:78vw !important; aspect-ratio:var(--w) / var(--h); }
  .hx.is-l .horizontal-item-img-w{ width:92vw !important; }
  .horizontal-grid-col + .horizontal-grid-col{ margin-left:0; }
}

/* =============================================================
   THE LOGO — the studio's own wordmark file, used as a mask so it
   takes the nav's light/dark colour (assets/brand/wordmark.png)
   ============================================================= */
.nav-wordmark{ display:block; width:12.5rem; aspect-ratio:928 / 106; background-color:currentColor;
  -webkit-mask:url(../assets/brand/wordmark.png) left center / contain no-repeat;
          mask:url(../assets/brand/wordmark.png) left center / contain no-repeat; }
@media (max-width:991px){ .nav-wordmark{ width:15rem; } }
@media (max-width:479px){ .nav-wordmark{ width:9.5rem; } }

/* project films at their own aspect ratio (set by fitFilms in app.js) */
.p-media .row{ align-items:start; }
.p-media .is-portrait{ width:min(100%, calc(var(--vh) * 84 * var(--ar, .5625))); align-self:center; justify-self:center; }

/* =============================================================
   PLAYGROUND VIEWER — every piece at its own aspect ratio
   ============================================================= */
.helmet-grid-item-w[data-view]{ cursor:zoom-in; }
.pg-view{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center;
  background:rgba(8,10,9,.92); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  opacity:0; pointer-events:none; transition:opacity .4s; cursor:zoom-out; }
.pg-view.is-open{ opacity:1; pointer-events:auto; }
.pg-view-fig{ margin:0; display:flex; flex-direction:column; align-items:center; gap:1rem; cursor:default;
  transform:translateY(1rem) scale(.98); transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.pg-view.is-open .pg-view-fig{ transform:none; }
.pg-view-fig img,.pg-view-fig video{ display:block; max-width:90vw; max-height:84vh; width:auto; height:auto; border-radius:.3rem; background:#000; }
.pg-view-fig figcaption{ color:rgba(255,255,255,.8); text-align:center; max-width:60ch; }
.pg-view-x{ position:absolute; top:1.5rem; right:1.5rem; z-index:2; background:none; border:.5px solid rgba(255,255,255,.5);
  color:#fff; border-radius:2rem; padding:.55rem 1rem; font:500 .75rem/1 var(--mona); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.pg-view-x:hover{ background:#fff; color:#111; }

/* work rows: footage fades in over the second still on hover */
.camp-item-img-w .camp-hover-vid{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .45s; }
.camp-item-img-w .camp-hover-vid.is-on{ opacity:1; }

/* =============================================================
   LAUNCH POLISH — mobile
   ============================================================= */
/* nothing may push the page wider than the screen (clip, not hidden,
   so the sticky sections keep working) */
html,body{ overflow-x:clip; }
.s.home-marquee{ overflow-x:clip; }

/* footer: a flowing stack on tablets and phones instead of the
   absolutely placed desktop composition, so nothing overlaps */
@media (max-width:991px){
  .footer-layout-clip{ min-height:0; }
  .footer-inner-layout{ position:relative; inset:auto; padding:12rem 0 54vw; }
  .footer-statement-w{ position:relative; top:auto; }
  .footer-links-w{ margin:6rem 0 0; padding:0 var(--gap); flex-direction:row; justify-content:space-around; align-items:flex-start; gap:2rem; }
  .footer-marquee{ bottom:2rem; }
  /* project copy and studio approach: one column */
  .p-copy{ grid-template-columns:minmax(0, 1fr); }
  .p-copy > *,.p-copy .lede,.p-copy .body,.p-stats{ grid-column:1 / -1 !important; }
  .grid-main > *{ min-width:0; }
  .camp-item > *{ min-width:0; }
}
@media (max-width:767px){
  .grid-main{ grid-template-columns:minmax(0, 1fr) !important; }
  .grid-main > *{ grid-column:1 / -1 !important; }
}
@media (max-width:479px){
  .footer-links-w{ flex-direction:row; margin:5rem 0 0; gap:1rem; align-items:flex-start; }
  .footer-links-layout a,.footer-cta{ font-size:2rem; }
  .footer-inner-layout{ padding-top:11rem; }
  /* the italic display lines were sized for desktop */
  .text-impact-lg-brier{ font-size:4.8rem; letter-spacing:-.06rem; }
  .text-impact-reg-brier{ font-size:4.8rem; }
  .page-hero h1{ max-width:100%; }
  .helmets-head h2 span{ white-space:normal; }
  .p-stats{ grid-template-columns:repeat(2, minmax(0, 1fr)); row-gap:2.5rem; }
  .p-stats .v{ font-size:2.4rem; overflow-wrap:anywhere; }
  .p-copy .lede{ font-size:2.8rem; }
}
@media (max-width:479px){
  .footer-scribble{ font-size:5.2rem; top:-4.6rem; transform:translateX(-50%) rotate(-10deg); }
  .nav-wordmark{ width:11.5rem; }
}

/* =============================================================
   CONTACT — the brief form, its error and loading states
   ============================================================= */
.contact-layout{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:4rem 8rem; padding-top:10rem; padding-bottom:12rem; color:var(--color--dark-green); align-items:start; }
.contact-aside{ display:flex; flex-direction:column; gap:3rem; position:sticky; top:10rem; }
.contact-block .text-eyebrow{ color:var(--color--dark-green-tint-2); margin-bottom:.8rem; }
.contact-big{ font-size:1.9rem; line-height:1.1; font-weight:700; letter-spacing:-.02em; word-break:break-word; }
a.contact-big:hover{ color:var(--color--lime); }
.contact-form{ display:flex; flex-direction:column; gap:2rem; }
.field{ display:flex; flex-direction:column; gap:.6rem; border:0; padding:0; margin:0; min-width:0; }
.field label,.field legend{ font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--color--dark-green-tint-2); padding:0; }
.field label i{ font-style:normal; color:var(--color--lime); }
.field input[type=text],.field input[type=email],.field select,.field textarea{
  font:inherit; font-size:1.25rem; color:var(--color--dark-green); background:transparent;
  border:0; border-bottom:1px solid rgba(26,30,34,.3); border-radius:0; padding:.7rem 0; outline:0;
  transition:border-color .25s; width:100%; -webkit-appearance:none; appearance:none; }
.field select{ cursor:pointer; background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%); background-position:calc(100% - 12px) 55%,calc(100% - 7px) 55%; background-size:5px 5px; background-repeat:no-repeat; }
.field textarea{ resize:vertical; min-height:9rem; line-height:1.45; }
.field input:focus,.field select:focus,.field textarea:focus{ border-bottom-color:var(--color--dark-green); }
.field.is-error input,.field.is-error textarea{ border-bottom-color:var(--color--lime); }
.field-err{ min-height:1em; font-size:.85rem; color:var(--color--lime); font-weight:600; }
.chips{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.4rem; }
.chip{ cursor:pointer; }
.chip input{ position:absolute; opacity:0; pointer-events:none; }
.chip span{ display:inline-block; padding:.6rem 1rem; border:1px solid rgba(26,30,34,.3); border-radius:2rem; font-size:.95rem; font-weight:600; transition:background .2s,color .2s,border-color .2s; }
.chip input:checked + span{ background:var(--color--dark-green); color:#fff; border-color:var(--color--dark-green); }
.chip input:focus-visible + span{ outline:2px solid var(--color--lime); outline-offset:2px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-err{ font-size:1rem; color:var(--color--lime); font-weight:600; }
.form-err:empty{ display:none; }
.form-err a,.form-foot a{ text-decoration:underline; }
.form-foot{ display:flex; justify-content:space-between; align-items:center; gap:2rem; flex-wrap:wrap; }
.form-submit{ border:0; cursor:pointer; }
.form-submit .spin{ display:none; width:1rem; height:1rem; border-radius:50%; border:2px solid currentColor; border-right-color:transparent; animation:spin .7s linear infinite; }
.form-submit.is-loading{ opacity:.75; cursor:progress; }
.form-submit.is-loading .spin{ display:inline-block; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* legal pages: a single reading column */
.legal{ max-width:46rem; margin:0 auto; padding:10rem 0 12rem; color:var(--color--dark-green); }
.legal h2{ font-size:1.6rem; font-weight:700; letter-spacing:-.02em; margin:3.5rem 0 1rem; }
.legal p{ font-size:1.125rem; line-height:1.6; margin:0 0 1rem; }
.legal a{ text-decoration:underline; }

/* footer legal links */
.footer-legal{ flex-wrap:wrap; gap:.6rem 2rem; }
.footer-legal-links{ display:flex; flex-wrap:wrap; gap:.4rem 1.4rem; }
.footer-legal-links a:hover{ color:var(--color--lime); }

/* cookie banner */
.cookie{ position:fixed; left:1rem; bottom:1rem; z-index:300; max-width:26rem; padding:1.1rem 1.2rem; border-radius:.6rem;
  background:rgba(20,22,24,.94); color:#fff; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  font-family:var(--mona); font-size:.9rem; line-height:1.45; box-shadow:0 10px 40px rgba(0,0,0,.25);
  transform:translateY(130%); opacity:0; transition:transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.cookie.is-in{ transform:none; opacity:1; }
.cookie a{ text-decoration:underline; }
.cookie-btns{ display:flex; gap:.5rem; margin-top:.9rem; justify-content:flex-end; }
.cookie-btns button{ font:inherit; font-weight:700; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; padding:.6rem 1rem; border-radius:.4rem; border:1px solid rgba(255,255,255,.4); background:transparent; color:#fff; cursor:pointer; }
.cookie-btns .is-yes{ background:var(--color--lime); border-color:var(--color--lime); }

/* sticky "Start a project" on phones */
.m-cta{ display:none; }
@media (max-width:767px){
  .m-cta{ display:flex; align-items:center; gap:.6rem; position:fixed; left:50%; bottom:max(1rem, env(safe-area-inset-bottom)); z-index:150;
    transform:translate(-50%, 160%); padding:1rem 1.6rem; border-radius:3rem; background:var(--color--lime); color:#fff;
    font-family:var(--mona); font-weight:800; font-size:1.25rem; letter-spacing:.02em; text-transform:uppercase; white-space:nowrap;
    box-shadow:0 8px 30px rgba(0,0,0,.25); transition:transform .45s cubic-bezier(.2,.7,.2,1); }
  .m-cta.is-on{ transform:translate(-50%, 0); }
  .m-cta svg{ width:1em; height:1em; }
  .cookie{ left:.8rem; right:.8rem; max-width:none; bottom:.8rem; font-size:1.2rem; }
  .cookie-btns button{ font-size:1.1rem; padding:.9rem 1.3rem; }
  html.menu-open .m-cta{ display:none; }
}
@media (max-width:991px){
  .contact-layout{ grid-template-columns:minmax(0,1fr); padding-top:8rem; }
  .contact-aside{ position:static; }
}
@media (max-width:479px){
  .contact-big{ font-size:2rem; }
  .field label,.field legend{ font-size:1rem; }
  .field input[type=text],.field input[type=email],.field select,.field textarea{ font-size:16px; }
  .field-err,.form-err{ font-size:1.2rem; }
  .chip span{ font-size:1.3rem; }
  .legal p{ font-size:1.5rem; }
  .legal h2{ font-size:2.2rem; }
}
/* short pages: the hero fills the screen so the footer's colour
   change doesn't start before anyone scrolls */
body[data-page="thanks"] .page-hero,body[data-page="notfound"] .page-hero{ min-height:100vh; }

/* =============================================================
   PLAYGROUND CARDS AT THEIR OWN SHAPE (masonry, see MD.masonry)
   the notch for the label is drawn with two mask rectangles so it
   stays one size whatever the card's height
   ============================================================= */
.helmet-grid.is-masonry{ display:flex; align-items:flex-start; gap:var(--gap); }
.hg-col{ flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:var(--gap); }
.helmet-grid-item.is-natural{ --tab:2.2rem; }
.helmet-grid-item.is-natural .helmet-grid-item-img-w{
  border-radius:.45rem;
  -webkit-mask:linear-gradient(#000 0 0) top / 100% calc(100% - var(--tab)) no-repeat, linear-gradient(#000 0 0) left bottom / 62% var(--tab) no-repeat;
          mask:linear-gradient(#000 0 0) top / 100% calc(100% - var(--tab)) no-repeat, linear-gradient(#000 0 0) left bottom / 62% var(--tab) no-repeat;
}
.helmet-grid-item.is-natural .helmet-grid-frame{ display:none; }
.helmet-grid-item.is-natural .helmet-grid-item-text-w{ height:var(--tab); width:38%; justify-content:flex-end; }
@media (max-width:479px){ .helmet-grid-item.is-natural{ --tab:2.8rem; } }

/* work rows: each picture at its own shape, tops aligned */
.camp-item{ align-items:start; }
.camp-item-img-w{ border-radius:.3rem; }

/* =============================================================
   WORK ROWS + PROJECT GALLERY — aligned at true shapes
   ============================================================= */
.camp-media{ grid-column:1 / span 2; display:flex; gap:var(--gap); align-items:flex-start; min-width:0; }
.camp-media .camp-item-img-w{ min-width:0; width:auto; }
.camp-item-img-w video.camp-vid{ width:100%; height:100%; object-fit:cover; display:block; }
.p-gallery{ display:flex; flex-direction:column; gap:var(--gap); padding-bottom:8rem; }
.g-row{ display:flex; flex-wrap:nowrap; justify-content:center; gap:var(--gap); }
.g-item{ margin:0; overflow:hidden; border-radius:.3rem; background:#d9d9d6; flex:none; }
.g-item img,.g-item video{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:767px){ .g-row{ flex-direction:column; } }

/* =============================================================
   POLISH v2 — press feedback, touch hovers, phone layout
   ============================================================= */
:root{ --ease-out-strong:cubic-bezier(.23, 1, .32, 1); }
.btn-w, .nav-ham, .chip, .m-cta, .callout-socials-card-w, .helmet-grid-item-w{ -webkit-tap-highlight-color:transparent; }
/* every pressable answers the finger */
.btn-w:active, .nav-ham:active, .chip:active{ transform:scale(.97); transition:transform .12s var(--ease-out-strong); }
/* touch screens keep the resting colours — no sticky hover after a tap */
@media (hover:none){
  .btn-w:hover{ background:var(--color--lime); border-color:var(--color--lime); color:#fff; }
  .btn-w.tertiary:hover{ background:transparent; border-color:currentColor; color:currentColor; }
}
@media (max-width:767px){
  /* the bar steps aside while reading down */
  .nav{ transition:color .3s ease, transform .3s var(--ease-out-strong); }
  html.nav-up .nav{ transform:translateY(-110%); }
  .m-cta:active{ transform:translate(-50%, 0) scale(.97); }
  /* portrait frames in the track: narrower, so a phone screen holds a whole film */
  .hx.is-p .horizontal-item-img-w{ width:64vw !important; }
  /* the clients scribble sits behind the names, not the paragraph */
  .collab-scribble{ top:auto; bottom:-3.5rem; font-size:11rem; }
  /* narrow playground cards: the sound badge drops its words so it never meets the label tab */
  .helmet-grid .snd b{ display:none; }
  .helmet-grid .snd{ left:.5rem; top:.5rem; bottom:auto; }
  /* playground: two columns, tighter labels */
  .helmet-grid.is-masonry{ gap:.8rem; }
  .helmet-grid.is-masonry .hg-col{ gap:.8rem; }
  .helmet-grid-item-text-w .text-small-label{ font-size:.95rem; }
}
@media (prefers-reduced-motion:reduce){
  .nav, html.nav-up .nav{ transform:none; transition:color .3s ease; }
}

/* =============================================================
   PHONES, LANDO'S WAY (2026-10-26)
   ============================================================= */
@media (max-width:767px){
  /* the signature fits the screen */
  .marquee-signature{ font-size:6.6rem; }
  /* next-project titles wrap inside the screen */
  .p-next a.big{ font-size:4.6rem; max-width:100%; overflow-wrap:break-word; }

  /* track: a scattered column of small frames */
  .horizontal-track{ padding:5rem var(--gap) 6rem; gap:4rem; }
  .horizontal-grid-col{ gap:4rem; }
  .horizontal-item-w,
  .horizontal-grid-col:nth-child(4n+1) .horizontal-item-w,
  .horizontal-grid-col:nth-child(4n+3) .horizontal-item-w{
    align-self:var(--as, flex-start); margin-left:var(--ml, 0) !important; margin-right:var(--mr, 0) !important; }
  .hx.is-p .horizontal-item-img-w{ width:44vw !important; }
  .hx.is-l .horizontal-item-img-w{ width:68vw !important; }
  .horizontal-item-text-layout{ max-width:64vw; }
  .hx .eyebrow-w .text-eyebrow{ font-size:.95rem; }
  .hx .snd b{ display:none; }

  /* on screen / on set: two columns side by side, images below */
  .otot-home-inner{ flex-direction:column; min-height:0; padding:7rem 0 0; gap:0; }
  .otot-home-layout{ order:-1; flex-direction:row; justify-content:center; align-items:flex-start; gap:1.6rem; width:100%; padding:0 var(--gap) 4rem; }
  .otot-home-text-col{ flex:1 1 0; min-width:0; }
  .otot-home-text-col.is-1{ text-align:right; align-items:flex-end; }
  .otot-home-text-col.is-2{ text-align:left; align-items:flex-start; }
  .otot-home-text-col h2 .text-impact-reg-brier, .otot-home-text-col h2 .text-impact-reg-mona{ font-size:4.4rem; }
  .otot-home-p-w{ width:auto; margin-top:.8rem; gap:1rem; }
  .otot-home-p-w p{ font-size:1.2rem; line-height:1.35; }
  .otot-home-text-col.is-1 .otot-home-p-w{ align-items:flex-end; }
  .otot-home-text-col.is-2 .otot-home-p-w{ align-items:flex-start; }
  .otot-scribble{ font-size:6rem; right:-.4rem; top:-1rem; }
  /* the two images: a staggered pair under their own columns */
  .otot-home-inner{ display:grid; grid-template-columns:1fr 1fr; column-gap:1.2rem; padding:7rem var(--gap) 8rem; align-items:start; }
  .otot-home-layout{ grid-column:1 / span 2; grid-row:1; padding:0 0 3.5rem !important; }
  .otot-home-img-w{ position:relative; inset:auto; bottom:auto; left:auto; right:auto; width:100%; height:auto; opacity:1; border-radius:.6rem; overflow:hidden; }
  .otot-home-img-w.is-1{ grid-column:1; grid-row:2; aspect-ratio:3 / 4.4; }
  .otot-home-img-w.is-2{ grid-column:2; grid-row:2; aspect-ratio:3 / 4.4; margin-top:5rem; }
}

/* the slab is gone: the clients section carries the curved visor out of the playground */
.s.is-home-collabs{ position:relative; background:var(--color--white); padding-top:14rem; }
.s.is-home-collabs .exe-top-visor{ z-index:0; }
/* work rows without a case-study page */
.camp-item.is-static{ cursor:default; }

/* the hero no longer lands in a card: the placeholder stays for layout, invisible */
.marquee-gl-target{ visibility:hidden; }

/* playground: a cinema-wide film spans two columns */
.hg-col{ overflow:visible; }
.helmet-grid-item-w.is-span2{ width:calc(200% + var(--gap)); position:relative; z-index:2; }
@media (max-width:767px){ .helmet-grid-item-w.is-span2{ width:calc(200% + .8rem); } }

/* phones: one clean column — every piece centred, one under the other */
@media (max-width:991px){
  .horizontal-track, .horizontal-grid-col{ align-items:center; }
  .horizontal-item-w, .hx,
  .horizontal-grid-col:nth-child(4n+1) .horizontal-item-w,
  .horizontal-grid-col:nth-child(4n+3) .horizontal-item-w{ align-self:center !important; margin-left:0 !important; margin-right:0 !important; }
  .hx.is-p .horizontal-item-img-w{ width:62vw !important; }
  .hx.is-l .horizontal-item-img-w{ width:88vw !important; }
  .horizontal-item-text-layout{ max-width:80vw; margin:0 auto; text-align:center; }
}

/* =============================================================
   POLISH v3 (2026-11-11) — loading order, touch, playground
   ============================================================= */
/* track stills fade in as they arrive */
.image.is-horizontal-scroll[data-himg]{ opacity:0; transition:opacity .6s ease; }
.image.is-horizontal-scroll[data-himg].is-in{ opacity:1; }

/* the socials fan follows a finger sideways; up and down still scrolls the page */
.callout-socials-card-layout{ touch-action:pan-y; }
.callout-socials-card-w{ -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; }

/* playground: on touch screens a tap on a film is its sound switch,
   so the closer look gets its own corner */
.hg-open{ display:none; }
@media (hover:none){
  .hg-open{ display:grid; place-items:center; position:absolute; right:.5rem; top:.5rem; z-index:7;
    width:3.4rem; height:3.4rem; border-radius:50%; color:#fff; background:rgba(14,18,16,.5);
    -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); -webkit-tap-highlight-color:transparent; }
  .hg-open svg{ width:1.15rem; height:1.15rem; }
  /* a finger-sized target around the corner button */
  .hg-open::before{ content:""; position:absolute; inset:-.6rem; }
  .hg-open:active{ transform:scale(.94); }
  /* films already play on a phone: no play mark under the sound badge */
  .helmet-grid .hg-play{ display:none; }
  /* a tap must not leave a hover behind */
  .helmet-grid-item-w:hover .helmet-grid-item-img-w img,
  .helmet-grid-item-w:hover .helmet-grid-item-img-w video{ transform:scale(1.001); }
  .camp-item:hover .camp-item-img-w img{ transform:none; }
  .nav-middle:hover img{ transform:none; }
}
