/* superpost. Work and Services pages. Brand guidelines v1.0: black, League Spartan headlines, Outfit body, REC red as the accent. */
:root{
  --ink:#000; --panel:#1A1A1D; --line:#26262a; --paper:#fff; --soft:#cfcfcf; --mute:#8c8c90; --orange:#EE2737; --red:#EE2737;
  --serif:"League Spartan","Helvetica Neue",Arial,sans-serif;
  --sans:"Outfit","Helvetica Neue",Arial,sans-serif;
  --quote:"Instrument Serif",Georgia,serif;
  --hh:56px;
  color-scheme:dark;
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--hh) + 70px + env(safe-area-inset-top,0px))}
body{margin:0;background:var(--ink);color:var(--paper);font-family:var(--sans);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:90;background:var(--ink)}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button{font:inherit;color:inherit}
:focus-visible{outline:1px solid var(--paper);outline-offset:4px}
.wrap{padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
h1,h2,h3{font-family:var(--serif);font-weight:600;margin:0;letter-spacing:-.005em;line-height:1.1;text-wrap:balance}
.small{font-size:13px;color:var(--mute)}

/* Header */
.site{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:rgba(0,0,0,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.site .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-block:16px}
.logo{display:block;line-height:0}
.logo svg{height:22px;width:auto;display:block}
.cats{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.cat{font-size:14px;font-weight:500;padding:4px 0;border-bottom:1px solid transparent;transition:opacity .3s}
.cat:hover{opacity:.6}
.cat[aria-current="page"]{border-bottom-color:var(--orange)}
.icons{display:flex;gap:14px;align-items:center}
.icons a{color:#d0d0d0;transition:color .3s}
.icons a:hover{color:#fff}
.icons svg{width:15px;height:15px;fill:currentColor;display:block}
.hdr-icons{padding-left:24px;border-left:1px solid rgba(255,255,255,.25)}

/* Work landing: the six categories in the middle of the screen */
.w-hero{position:relative;min-height:clamp(560px,calc(100svh - var(--hh)),940px);display:grid;place-items:center;overflow:hidden;padding-block:80px}
.w-hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.w-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(0,0,0,.3),rgba(0,0,0,.88) 75%);pointer-events:none}
.w-hero-in{position:relative;z-index:2;width:100%;max-width:980px;display:flex;flex-direction:column;align-items:center;gap:30px;text-align:center}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}
.w-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:2px}
.w-list a{display:inline-flex;align-items:flex-start;gap:12px;font-family:var(--serif);font-weight:600;font-size:clamp(34px,5.4vw,76px);line-height:1.1;letter-spacing:-.01em;transition:opacity .35s,color .35s}
.w-list .n{font-family:var(--sans);font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--mute);margin-top:.5em;transition:color .35s}
.w-list:hover a{opacity:.32}
.w-list a:hover,.w-list a:focus-visible{opacity:1}
.w-list a:hover .n,.w-list a:focus-visible .n{color:var(--orange)}
.w-down{font-size:13px;color:var(--mute);border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px}
.w-down:hover{color:#fff}

/* Category bar, stays under the header while scrolling */
.w-sub{position:sticky;top:calc(env(safe-area-inset-top,0px) + var(--hh));z-index:30;background:rgba(0,0,0,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.w-sub .wrap{display:flex;gap:28px;overflow-x:auto;scrollbar-width:none;padding-block:14px}
.w-sub .wrap::-webkit-scrollbar{display:none}
.w-sub a{white-space:nowrap;font-size:14px;font-weight:500;color:var(--mute);padding-bottom:3px;border-bottom:1px solid transparent;transition:color .3s,border-color .3s}
.w-sub a:hover{color:#fff}
.w-sub a.on,.w-sub a[aria-current="page"]{color:#fff;border-bottom-color:var(--orange)}

/* Category sections on the Work page */
.w-sec{padding-block:80px 0}
.w-sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 32px;flex-wrap:wrap;margin-bottom:26px}
.w-sec-head h2{font-size:clamp(30px,2.8vw,44px)}
.w-sec-head p{margin:8px 0 0;color:var(--soft);max-width:52ch}
.more{font-size:14px;font-weight:500;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:3px;white-space:nowrap;transition:color .3s,border-color .3s}
.more:hover{color:var(--orange);border-bottom-color:var(--orange)}

/* Film wall: edge to edge, no gaps, title on the picture */
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#000}
.tile{position:relative;display:block;aspect-ratio:16/9;max-width:100%;overflow:hidden;background:var(--panel);border:0;padding:0;margin:0;cursor:pointer;text-align:left;min-width:0}
.tile .frame{position:absolute;inset:0;display:block}
.tile canvas,.tile video,.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.2s cubic-bezier(.16,.8,.24,1)}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.55),rgba(0,0,0,0) 45%),rgba(0,0,0,.18);transition:background .6s ease;pointer-events:none}
.grid:hover .tile::after{background:linear-gradient(0deg,rgba(0,0,0,.55),rgba(0,0,0,0) 45%),rgba(0,0,0,.5)}
.grid .tile:hover::after{background:linear-gradient(0deg,rgba(0,0,0,.55),rgba(0,0,0,0) 45%)}
.tile:hover canvas,.tile:hover video,.tile:hover img{transform:scale(1.04)}
.tile .cap{position:absolute;left:18px;right:18px;bottom:14px;z-index:2;display:flex;flex-direction:column;gap:2px}
.tile .t{font-family:var(--serif);font-weight:600;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.tile .small{font-size:12px;color:rgba(255,255,255,.7);max-height:0;opacity:0;overflow:hidden;transition:max-height .4s ease,opacity .4s ease}
.tile:hover .small,.tile:focus-visible .small{max-height:20px;opacity:1}
.tile:focus-visible{outline:1px solid #fff;outline-offset:-3px}

/* Category page head */
.c-head{padding-block:80px 40px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.back{font-size:14px;color:var(--mute);transition:color .3s}
.back:hover{color:#fff}
.c-head h1{font-size:clamp(44px,6.4vw,104px);line-height:1}
.c-head p{margin:0;color:var(--soft);font-size:clamp(17px,1.4vw,20px);max-width:52ch}
.c-grid{padding-block:56px 0}

/* Footer */
footer{margin-top:170px;border-top:1px solid var(--line)}
.f-cta{padding-block:90px 60px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.f-cta h2{font-size:clamp(30px,3.2vw,52px);max-width:16ch}
.f-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding-block:26px}

/* Player */
.lb{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:calc(64px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(32px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.lb-frame{position:relative;width:min(1200px,100%,calc((100svh - 200px) * 16 / 9));aspect-ratio:16/9;max-width:100%;background:var(--panel);overflow:hidden}
.lb-frame video,.lb-frame canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.lb-cap{width:min(1200px,100%,calc((100svh - 200px) * 16 / 9));display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.lb-cap .t{font-family:var(--serif);font-weight:600;font-size:22px}
.lb-x{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));background:none;border:0;cursor:pointer;font-size:14px;font-weight:500;padding:12px 10px;min-height:44px;border-bottom:1px solid transparent}
.lb-x:hover{border-bottom-color:#fff}

@media (max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .site .wrap{flex-direction:column;align-items:flex-start;gap:10px;padding-block:14px}
  .cats{gap:18px}
  .hdr-icons{display:none}
  .w-sec{padding-block:60px 0}
  footer{margin-top:110px}
}
@media (max-width:560px){.grid{grid-template-columns:minmax(0,1fr)}.tile .small{max-height:20px;opacity:1}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}

/* Services page: one row per service, wide media box beside a short brief */
.w-list.sm a{font-size:clamp(24px,3.2vw,44px);line-height:1.18}
.s-list{padding-block:40px 0}
.s-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:56px;align-items:center;padding-block:72px;border-bottom:1px solid var(--line)}
.s-row:first-child{border-top:1px solid var(--line)}
.s-row:nth-child(even) .s-media{order:2}
.s-media{position:relative;aspect-ratio:16/9;max-width:100%;overflow:hidden;background:var(--panel)}
.s-media canvas,.s-media video,.s-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.s-txt{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.s-txt h2{font-size:clamp(28px,2.6vw,42px)}
.s-txt p{margin:0;color:var(--soft);font-size:17px;line-height:1.6;max-width:44ch}
@media (max-width:860px){
  .s-row{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:52px}
  .s-row:nth-child(even) .s-media{order:0}
}

/* superpost. brand layer */
body{font-weight:300}
h1,h2,h3{font-weight:700;letter-spacing:-.02em}
.logo{line-height:1}
.wm{font-family:var(--serif);font-weight:500;letter-spacing:-.035em;line-height:1;color:#fff;white-space:nowrap;display:inline-block;font-size:27px}
.wm .d{display:inline-block;width:.24em;height:.24em;border-radius:50%;background:var(--red);margin-left:.05em}
.w-sec-head h2::after,.c-head h1::after,.s-txt h2::after,.f-cta h2::after{content:"";display:inline-block;width:.2em;height:.2em;border-radius:50%;background:var(--red);margin-left:.06em}
.w-list a{font-weight:600;letter-spacing:-.02em}
.w-list a::after{content:"";display:inline-block;align-self:flex-end;width:.18em;height:.18em;border-radius:50%;background:var(--red);margin:0 0 .22em .02em;opacity:0;transition:opacity .35s}
.w-list a:hover::after,.w-list a:focus-visible::after{opacity:1}
.eyebrow{font-weight:400;letter-spacing:.3em}
.tile .t{font-family:var(--sans);font-weight:400;font-size:12px;letter-spacing:.2em}
.cat{font-weight:400}
.small,.s-txt p,.w-sec-head p,.c-head p{font-weight:300}

/* SUPERPOST. Medium (uppercase) guidelines: uppercase logo and headlines */
.wm{text-transform:uppercase;letter-spacing:-.015em}
.w-sec-head h2,.c-head h1,.s-txt h2,.f-cta h2,.w-list a{text-transform:uppercase;letter-spacing:-.01em}
