/* =========================================================
   KRZ — New Site 2 (Nov 2026)
   The New Site, re-themed after rashwanzaza.com:
   Sora type, a centred 1080px column (header, footer, galleries
   and full-size images share its width), text in the 15% / 69%
   column, light headings — with the KRZ blue as the accent.
   Header and footer carry no horizontal rules.
   ========================================================= */

/* ---------------- fonts (self-hosted, SIL Open Font License) ---------------- */
/* Sora 200–700 everywhere; Space Grotesk for the footer line; Shantell Sans Light Italic for "human" */
@font-face{font-family:"Sora";font-style:normal;font-weight:200;font-display:swap;src:url(../fonts/sora-latin-ext-200-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:200;font-display:swap;src:url(../fonts/sora-latin-200-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/sora-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/sora-latin-300-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/sora-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/sora-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/sora-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/sora-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/sora-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/sora-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sora";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/sora-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/sora-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/space-grotesk-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Shantell Sans";font-style:italic;font-weight:300;font-display:swap;src:url(../fonts/shantell-sans-latin-300-italic.woff2) format("woff2")}

/* ---------------- tokens ---------------- */
:root{
  --font:"Sora",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-copy:"Space Grotesk","Sora",sans-serif;
  --blue:#0000ff;               /* KRZ blue: the one accent colour */
  --ink:#000;
  --body:#000;
  --grey:#929292;
  --bg:#fff;

  --wrap:1080px;                /* header, footer, galleries and full-size images all share this width */
  --pad:max(25px, calc((100vw - var(--wrap)) / 2));
  --indent:15%;                 /* text column, as on rashwanzaza.com */
  --col:69.332%;

  --fs-body:14px;    --lh-body:22px;
  --fs-sub:13px;     --lh-sub:20px;
  --fs-lead:18px;    --lh-lead:29px;
  --fs-head:23px;    --lh-head:32px;
  --fs-title:30px;   --lh-title:36px;
  --fs-display:40px; --lh-display:54px;
  --fs-intro:30px;   --lh-intro:42px;
  --fs-nav:13px;
  --logo:104px;
  --edge:60px;                  /* space above the header = space below the footer */
}
@media(max-width:1023px){
  :root{--wrap:768px;--fs-display:33px;--lh-display:46px;--fs-intro:26px;--lh-intro:37px;--logo:96px}   /* RZ tablet column */
}
@media(max-width:767px){
  :root{
    --pad:25px;
    --edge:50px;
    --fs-lead:16px;    --lh-lead:26px;
    --fs-head:20px;    --lh-head:28px;
    --fs-title:26px;   --lh-title:32px;
    --fs-display:26px; --lh-display:36px;
    --fs-intro:23px;   --lh-intro:32px;
  }
}

/* ---------------- base ---------------- */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
  background:var(--bg);color:var(--body);
  font-family:var(--font);font-weight:300;
  font-size:var(--fs-body);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
main{flex:1}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
strong{font-weight:600}
h1,h2,h3{font-family:var(--font);color:var(--ink);letter-spacing:normal}

/* ---------------- header + nav ----------------
   No rules: logo at the left edge of the 1080 column, nav at the right edge. */
.site-header{
  position:sticky;top:0;background:var(--bg);z-index:30;
  /* nav text sits on the bottom edge of the logo (shared baseline);
     the logo's top is --edge from the top of the page, the same gap the footer leaves at the bottom */
  display:flex;align-items:baseline;
  padding:var(--edge) var(--pad) 33px;
}
.site-logo{display:flex;line-height:0}       /* its baseline = the bottom of the logo */
.site-logo img{width:var(--logo);height:auto}
.nav{display:flex;align-items:baseline;gap:10px;list-style:none;margin-left:auto}
.nav a{
  display:block;position:relative;padding:6px 5px;
  color:var(--ink);font-size:var(--fs-nav);line-height:1.4;font-weight:400;white-space:nowrap;
  transition:color .338s ease;
}
.nav li:not(.nav-aaw) a[aria-current="page"]{color:var(--blue);font-weight:600}
@media(hover:hover) and (min-width:768px){
  .nav li:not(.nav-aaw) a:hover{color:var(--blue)}
}
.nav li:not(.nav-aaw) a:focus-visible{color:var(--blue);outline:none;text-decoration:underline;text-underline-offset:4px}

/* Auto Ads Watch tab: black, blue on hover; on its own page black with no hover */
.nav li.nav-aaw{position:relative;margin-left:5px}
.nav .nav-aaw a{
  background:#000;color:#fff;line-height:1;border-radius:999px;
  padding:7px 16px 8px;
  transition:background-color .338s ease;
}
@media(hover:hover) and (min-width:768px){
  .nav .nav-aaw a:hover{background:var(--blue)}
}
.nav .nav-aaw a:focus-visible{background:var(--blue);outline:none}
.nav .nav-aaw.is-current a,
.nav .nav-aaw.is-current a:hover,
.nav .nav-aaw.is-current a:focus-visible{background:#000;transition:none}

/* tooltip: slides down into place below the tab */
.nav-tip{
  position:absolute;right:0;top:calc(100% + 11px);z-index:20;
  background:#000;color:#fff;
  font-size:11px;line-height:1.3;font-weight:300;white-space:nowrap;
  padding:7px 14px;border-radius:999px;pointer-events:none;
  opacity:0;transform:translateY(-10px);visibility:hidden;
  transition:opacity .372s ease,transform .372s ease,visibility 0s linear .372s;
}
.nav-tip::after{
  content:"";position:absolute;right:18px;bottom:100%;
  border:6px solid transparent;border-bottom-color:#000;
}
@media(hover:hover) and (min-width:768px){
  .nav li.nav-aaw:hover .nav-tip{opacity:1;transform:none;visibility:visible;transition:opacity .372s ease,transform .372s ease}
}
.nav li.nav-aaw a:focus-visible + .nav-tip{opacity:1;transform:none;visibility:visible;transition:opacity .372s ease,transform .372s ease}
.nav li.nav-aaw.is-current .nav-tip{display:none}

.socials{display:flex;align-items:center;gap:15px}
.socials a{display:grid;place-items:center;line-height:0;color:var(--ink);transition:color .338s ease}
.socials svg{width:17px;height:17px;fill:currentColor}
@media(hover:hover){.socials a:hover{color:var(--blue)}}

.burger{display:none;margin-left:auto;background:none;border:0;cursor:pointer;padding:8px;margin-right:-8px}
.burger span{display:block;width:22px;height:2px;background:var(--ink);transition:transform .423s,opacity .338s}
.burger span + span{margin-top:5px}
.burger[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}

/* ---------------- footer: no rules, same width as the header ---------------- */
.site-footer{
  display:flex;align-items:center;gap:24px;
  padding:39px var(--pad) var(--edge);
}
.copy{font-family:var(--font-copy);font-size:12px;line-height:16px;font-weight:400;color:var(--ink)}
.site-footer .socials{margin-left:auto}       /* right edge of the column */

/* ---------------- buttons ---------------- */
.btns{display:flex;flex-wrap:wrap;gap:12px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 44px;border:1px solid var(--blue);border-radius:999px;cursor:pointer;
  font-family:var(--font);font-size:15px;line-height:22px;font-weight:400;
  transition:background-color .338s ease,color .338s ease,border-color .338s ease;
}
.btn-solid{background:var(--blue);color:#fff}
.btn-outline{background:transparent;color:var(--blue)}
@media(hover:hover){
  .btn-solid:hover{background:#000;border-color:#000}
  .btn-outline:hover{background:var(--blue);color:#fff}
}
.btn:focus-visible{outline:2px solid #000;outline-offset:3px}

/* ---------------- home ---------------- */
.home main{display:flex;flex-direction:column}
/* --hb = hero body size; the headline is always 2.713x it (49.92 / 18.4), the gap 1.74x, on every screen */
.hero,.home-block{--hb:18.4px}
.hero{flex:1;display:flex;align-items:center;padding:60px var(--pad)}
.hero-inner{margin-left:var(--indent);max-width:var(--col)}
.hero-title{font-size:calc(var(--hb) * 2.713);line-height:1.08;font-weight:300;color:var(--ink)}
.hero-title .accent{
  color:var(--blue);font-style:italic;
  font-family:"Shantell Sans","Comic Sans MS",cursive;font-weight:300;
}
.nowrap{white-space:nowrap}
/* home: selected work under the hero — square tiles, rounded, caption bottom-left */
.home .hero{flex:none;min-height:min(62vh,640px);padding-top:90px;padding-bottom:110px}
.home-work{padding:0 var(--pad) 40px}
.h-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.h-tile{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:8px;background:rgba(0,0,0,.1);isolation:isolate}
.h-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.014s cubic-bezier(.2,.8,.2,1)}
.h-tile::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.55));pointer-events:none}
.h-cap{position:absolute;inset:0;padding:15px;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff}
.h-title{font-weight:400}
.h-client{margin-top:2px;font-size:var(--fs-sub);line-height:var(--lh-sub);font-weight:300;opacity:.8}
@media(hover:hover){.h-tile:hover img{transform:scale(1.04)}}
.h-tile:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
/* hover: blue panel over the image, caption stays on it */
.h-tile::before{content:"";position:absolute;inset:0;z-index:1;background:var(--blue);opacity:0;transition:opacity 1.69s}
.h-cap{z-index:2}
@media(hover:hover){.h-tile:hover::before,.h-tile:focus-visible::before{opacity:1;transition:opacity .845s}.h-tile:hover::after,.h-tile:focus-visible::after{opacity:0}}
.h-tile::after{transition:opacity .845s}
@media(hover:none){.h-tile::after{inset:0;background:rgba(0,0,0,.5)}}
/* captions only on hover (screens with a pointer); touch screens keep them visible */
@media(hover:hover){
  .h-tile::after{opacity:0}
  .h-cap{opacity:0;transition:opacity 1.69s}
  .h-tile:hover .h-cap,.h-tile:focus-visible .h-cap{opacity:1;transition:opacity .845s}
}
.home-work{scroll-margin-top:0}
#work{scroll-margin-top:20px}
.hero-text{margin-top:calc(var(--hb) * 1.74);max-width:720px;font-size:var(--hb);line-height:calc(var(--hb) * 1.391);font-weight:300;color:var(--ink);text-wrap:pretty}

/* ---------------- inner pages: text sits in the 15% / 69% column ---------------- */
.page{padding:133px var(--pad) 90px}
.page > :not(.mgrid):not(.wg):not(.work-grid):not(.reel):not(.reel-hero):not(.aaw-banner):not(.issues){margin-left:var(--indent);max-width:var(--col)}
.page-title{color:var(--ink);font-size:var(--fs-title);line-height:var(--lh-title);font-weight:700}
.page-lead{
  margin-top:26px;
  color:var(--ink);font-size:var(--fs-lead);line-height:var(--lh-lead);font-weight:300;
  text-wrap:pretty;
}
.page-text{margin-top:18px;text-wrap:pretty}
.page-title + .page-text{margin-top:26px}
.page-text p + p{margin-top:12px}
.section-label{
  color:var(--blue);
  font-size:var(--fs-display);line-height:var(--lh-display);font-weight:200;
  margin-top:110px;
}
.page-cta{margin-top:100px}
.page-cta h2{font-size:var(--fs-head);line-height:var(--lh-head);font-weight:300;text-wrap:pretty}
.page-cta h2 + .btns{margin-top:22px}

/* ---------------- work grid ----------------
   fixed masonry with a left-leaning bias, across the full 1080 column */
.mgrid{
  --u:max(calc((100vw - 2 * var(--pad)) * .08), 70px);
  margin-top:80px;
  display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:repeat(8,var(--u));gap:12px;
}
.mgrid > :nth-child(1){grid-column:1;grid-row:1 / 6}
.mgrid > :nth-child(2){grid-column:2;grid-row:1 / 4}
.mgrid > :nth-child(3){grid-column:3;grid-row:1 / 3}
.mgrid > :nth-child(4){grid-column:3;grid-row:3 / 6}
.mgrid > :nth-child(5){grid-column:2;grid-row:4 / 7}
.mgrid > :nth-child(6){grid-column:1;grid-row:6 / 9}
.mgrid > :nth-child(7){grid-column:2;grid-row:7 / 9}
.mgrid > :nth-child(8){grid-column:3;grid-row:6 / 9}
.mgrid + .mgrid{margin-top:12px}
.mgrid.mgrid-1,.mgrid.mgrid-2,.mgrid.mgrid-3{grid-template-rows:repeat(4,var(--u))}
.mgrid.mgrid-1 > :nth-child(1){grid-column:1 / 4;grid-row:1 / 5}
.mgrid.mgrid-2 > :nth-child(1){grid-column:1;grid-row:1 / 5}
.mgrid.mgrid-2 > :nth-child(2){grid-column:2 / 4;grid-row:1 / 5}
.mgrid.mgrid-3 > :nth-child(1){grid-column:1;grid-row:1 / 5}
.mgrid.mgrid-3 > :nth-child(2){grid-column:2;grid-row:1 / 5}
.mgrid.mgrid-3 > :nth-child(3){grid-column:3;grid-row:1 / 5}
.m-item{position:relative;display:flex;flex-direction:column;min-height:0}
.m-img{display:block;position:relative;flex:1;min-height:0;overflow:hidden;background:rgba(0,0,0,.1)}
.m-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.m-title{display:block;color:var(--ink);font-weight:500}
.m-client{display:block;font-size:var(--fs-sub);line-height:var(--lh-sub);font-weight:300}
/* caption: a blue panel over the image on hover (as the RZ portfolio, in KRZ blue) */
@media(hover:hover){
  .m-cap{
    position:absolute;inset:0;z-index:1;
    display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
    padding:15px;background:var(--blue);color:#fff;
    opacity:0;transition:opacity 1.69s;
  }
  .m-cap .m-title{color:#fff;font-weight:400}
  .m-cap .m-client{margin-top:2px;opacity:.8}
  a.m-item:hover .m-cap,a.m-item:focus-visible .m-cap{opacity:1;transition:opacity .845s}
  a.m-item:focus-visible{outline:none}
}
/* touch screens: caption under the image */
@media(hover:none){
  .m-cap{display:block;padding-top:10px}
  .m-client{color:var(--grey)}
}

/* ---------------- work, gallery option (work-gallery.html) ---------------- */
.wg-arrow{background:none;border:0;cursor:pointer;color:var(--blue);line-height:0;padding:6px}
.wg-arrow svg{width:20px;height:20px}
.wg-arrow:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.wg-count{color:var(--blue);font-size:var(--fs-sub);letter-spacing:.06em}
.wg-count b{font-weight:600}
.wg-nav{margin-top:40px;display:flex;align-items:center;gap:12px;margin-left:-6px}
.wg-img{display:block;position:absolute;inset:0;overflow:hidden;background:rgba(0,0,0,.1)}
.wg-img img{width:100%;height:100%;object-fit:cover}
.wg-overlay{
  position:absolute;inset:0;z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:24px;color:#fff;background:rgba(0,0,0,.36);
  transition:opacity .676s ease;
}
.wg-title{color:#fff;font-size:var(--fs-head);line-height:var(--lh-head);font-weight:400}
.wg-client{margin-top:4px;font-size:var(--fs-sub);line-height:var(--lh-sub)}
.wg-cta{margin-top:18px;color:#fff;font-weight:400}
.wg-line{padding-bottom:4px;background:linear-gradient(currentColor,currentColor) no-repeat 0 100% / 100% 1px}
@keyframes wg-draw{from{background-size:0 1px}to{background-size:100% 1px}}
@keyframes wg-retract{from{background-size:100% 1px;background-position:100% 100%}to{background-size:0 1px;background-position:100% 100%}}
@keyframes wg-fall{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-26px)}}
@keyframes wg-untint{from{background-color:rgba(0,0,0,.36)}to{background-color:rgba(0,0,0,0)}}
@keyframes wg-wipe{
  0%{background-size:100% 1px;background-position:100% 100%}
  45%{background-size:0 1px;background-position:100% 100%}
  55%{background-size:0 1px;background-position:0 100%}
  100%{background-size:100% 1px;background-position:0 100%}
}
.wg-item.is-active .wg-line{animation:wg-draw 1.183s cubic-bezier(.6,0,.2,1) 1.352s both}
@media(hover:hover){.wg-item.is-active:hover .wg-line{animation:wg-wipe 1.352s cubic-bezier(.6,0,.2,1) both}}
a.wg-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
@keyframes wg-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
a.wg-cta::after{content:"";position:absolute;inset:0}

@media(min-width:768px){
  body.work-gallery{height:100vh;height:100svh;overflow:hidden}
  body.work-gallery main{min-height:0}
  .wg-page{display:flex;padding:40px var(--pad)}
  .wg{--side:clamp(240px,26vw,340px);--gap:48px;--ext:calc(var(--side) * .45 + var(--gap));flex:1;min-height:0;display:grid;grid-template-columns:var(--side) 1fr;gap:var(--gap)}
  .wg-side{align-self:center;position:relative;z-index:2}
  .wg-stage{
    position:fixed;top:var(--hdr,96px);bottom:var(--ftr,116px);z-index:1;
    left:calc(var(--pad) + var(--side) - var(--ext) + var(--gap));right:0;
    container-type:size;overflow:hidden;outline:none;
    -webkit-mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) calc(var(--ml,25%) * .5),#000 var(--ml,25%),#000 var(--mr,90%),rgba(0,0,0,.3) calc(var(--mr,90%) + (100% - var(--mr,90%)) * .45),transparent 100%);
            mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) calc(var(--ml,25%) * .5),#000 var(--ml,25%),#000 var(--mr,90%),rgba(0,0,0,.3) calc(var(--mr,90%) + (100% - var(--mr,90%)) * .45),transparent 100%);
  }
  .wg-item{
    position:absolute;left:calc(50% + var(--ext) / 2);top:50%;aspect-ratio:3/2;
    width:min(calc(100cqw - var(--ext) - var(--peek,220px)), calc(76cqh * 1.5));
    transform:translate(calc(-50% + var(--d,0) * (92% + 30px)),-50%) scale(var(--s,1));
    transition:transform 1.268s cubic-bezier(.2,.8,.2,1),opacity 1.268s ease,visibility 0s linear 1.268s;
  }
  .wg-item::after{
    content:"";position:absolute;left:0;right:0;top:calc(100% + 14px);height:10px;background:var(--blue);
    transform:scaleX(0);transform-origin:left;transition:transform .929s cubic-bezier(.2,.8,.2,1);
  }
  .wg-item.is-active::after{transform:scaleX(1);transition-delay:.507s}
  .wg-item.is-leaving::after{transform:scaleX(0);transform-origin:right;transition:transform .507s cubic-bezier(.4,0,1,1)}
  .wg-item.is-active .wg-overlay > *{animation:wg-rise 1.014s cubic-bezier(.2,.8,.2,1) both}
  .wg-item.is-active .wg-overlay > :nth-child(1){animation-delay:.423s}
  .wg-item.is-active .wg-overlay > :nth-child(2){animation-delay:.558s}
  .wg-item.is-active .wg-overlay > :nth-child(3){animation-delay:.693s}
  .wg-slot{
    position:absolute;left:calc(50% + var(--ext) / 2);top:50%;aspect-ratio:3/2;
    width:min(calc(100cqw - var(--ext) - var(--peek,220px)), calc(76cqh * 1.5));
    transform:translate(-50%,-50%);visibility:hidden;pointer-events:none;
  }
  .wg-item.is-active{--s:1;opacity:1;z-index:3;visibility:visible;transition-delay:0s}
  .wg-item.is-near{--s:.84;opacity:.4;z-index:2;visibility:visible;cursor:pointer;transition-delay:0s}
  .wg-item.is-far{--s:.74;opacity:0;visibility:hidden;z-index:1}
  .wg-item:not(.is-active) .wg-overlay{opacity:0;pointer-events:none;transition:none}
  .wg-item.is-leaving{--s:.94;opacity:.6;z-index:3}
  .wg-item.is-leaving .wg-overlay{opacity:1;animation:wg-untint .845s ease both}
  .wg-item.is-leaving .wg-overlay > *{animation:wg-fall .592s cubic-bezier(.4,0,1,1) both}
  .wg-item.is-leaving .wg-overlay > :nth-child(2){animation-delay:.068s}
  .wg-item.is-leaving .wg-overlay > :nth-child(3){animation-delay:.135s}
  .wg-item.is-leaving .wg-line{animation:wg-retract .507s cubic-bezier(.4,0,1,1) both}
}
@media(min-width:768px) and (max-width:1023px){
  .wg{--side:clamp(200px,26vw,240px);--gap:32px;--ext:calc(var(--side) * .45 + var(--gap))}
  .wg-stage{--peek:150px}
}
@media(prefers-reduced-motion:reduce){.wg-item{transition:none !important}}

/* ---------------- services ---------------- */
.service-list{margin-top:90px;list-style:none;display:flex;flex-direction:column;gap:56px}
.service{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.9fr);gap:36px}
.service-num{display:block;color:var(--blue);font-size:var(--fs-sub);line-height:var(--lh-sub);font-weight:600;letter-spacing:.06em;margin-bottom:4px}
.service h2{font-size:var(--fs-head);line-height:var(--lh-head);font-weight:400}
.service p{text-wrap:pretty}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;list-style:none}
.tags li{
  border:1px solid var(--blue);color:var(--blue);border-radius:999px;
  font-size:12px;line-height:1.2;font-weight:400;padding:5px 9px;
}

/* ---------------- about ---------------- */
.rows{margin-top:90px;display:flex;flex-direction:column;gap:50px}
.row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.9fr);gap:36px}
.row h2{font-size:var(--fs-head);line-height:var(--lh-head);font-weight:400}
.row p + p{margin-top:12px}
.dna{margin-top:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 44px}
.dna-num{color:var(--blue);font-size:var(--fs-sub);font-weight:600;letter-spacing:.06em}
.dna-item h3{margin:4px 0 10px;font-size:var(--fs-head);line-height:var(--lh-head);font-weight:400}

/* ---------------- Auto Ads Watch ---------------- */
.issues{margin-top:90px}
.issue{
  display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start;
  padding:34px 0;border-top:1px solid var(--blue);
}
.issue-cover{
  display:grid;place-items:center;width:100%;aspect-ratio:4/3;
  background:rgba(0,0,255,.05);border:1px dashed var(--blue);color:var(--blue);
}
.issue-cover span{font-size:var(--fs-sub);font-weight:400;letter-spacing:.04em}
img.issue-cover{display:block;object-fit:cover;border:0;background:none}
.issue-body{display:flex;flex-direction:column;align-self:stretch}
.issue-kicker{display:block;color:var(--blue);font-size:var(--fs-sub);font-weight:600;letter-spacing:.04em;margin-bottom:6px}
.issue h2{font-size:var(--fs-display);line-height:1;font-weight:200;white-space:nowrap}
.issue-summary{margin:16px 0 24px}
.issue-summary p + p{margin-top:9px}
.issue .btn{margin-top:auto;align-self:flex-start}

/* ---------------- contact (RZ form: labels over boxed fields) ---------------- */
.contact-grid{
  margin-top:60px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:60px;align-items:start;
}
.contact-info p{margin-bottom:10px}
.contact-info address{font-style:normal;color:var(--ink)}
.form{max-width:100%}
.field{margin-bottom:19px}
.field label{display:block;font-size:14px;line-height:14px;font-weight:300;padding-bottom:14px}
.field label .req{color:var(--blue);margin-left:4px}
.field input,.field textarea{
  width:100%;border:1px solid var(--ink);border-radius:999px;background:#fff;
  padding:10px 22px;font-family:inherit;font-size:15px;line-height:23px;font-weight:300;color:var(--ink);
}
.field textarea{height:106px;min-height:106px;resize:vertical;border-radius:22px}
.field input::placeholder,.field textarea::placeholder{color:var(--grey)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.field.invalid input,.field.invalid textarea{border-color:#b00020}
.field.invalid input::placeholder,.field.invalid textarea::placeholder{color:#b00020}
.h-captcha{margin:8px 0 20px}
.form-note{margin-top:20px;font-size:var(--fs-sub);line-height:var(--lh-sub)}
.form-note:empty{display:none}
.form-note.err{color:#b00020}
.form-note.ok{color:var(--blue)}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------------- shared media bits (case studies) ---------------- */
.v-play{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:74px;height:74px;border-radius:50%;border:2px solid #fff;
  display:grid;place-items:center;pointer-events:none;
}
.v-play::after{
  content:"";display:block;margin-left:5px;
  border-left:20px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent;
}
.embed .facade{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#000}
.embed .facade img{width:100%;height:100%;object-fit:cover}

/* ---------------- 404 ---------------- */
.simple p{margin-top:24px}
.simple p a{color:var(--blue);border-bottom:1px solid var(--blue)}

/* ---------------- lightbox ---------------- */
.lb{position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.95);display:none;align-items:center;justify-content:center;padding:70px 90px}
.lb.open{display:flex}
.lb-slot{max-width:100%;max-height:100%;display:flex;align-items:center;justify-content:center}
.lb-slot img{max-width:100%;max-height:calc(100vh - 140px);width:auto;height:auto}
.lb-slot iframe{width:min(1120px,86vw);aspect-ratio:16/9;border:0}
.lb button{position:absolute;background:none;border:0;color:#fff;cursor:pointer;line-height:1;padding:12px}
.lb .lb-close{top:18px;right:24px;font-size:40px}
.lb .lb-prev,.lb .lb-next{top:50%;transform:translateY(-50%);font-size:52px}
.lb .lb-prev{left:16px}
.lb .lb-next{right:16px}
.lb .lb-count{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#fff;font-size:13px;font-weight:300;letter-spacing:.06em}
.lb[data-single="1"] .lb-prev,.lb[data-single="1"] .lb-next,.lb[data-single="1"] .lb-count{display:none}

/* ---------------- tablet ---------------- */
@media(max-width:1023px){
  .nav{gap:4px}
  .hero,.home-block{--hb:15.2px}
  .nav a{padding:0 4px}
  .page{padding-top:110px}
  .mgrid{--u:calc((100vw - 2 * var(--pad)) * .13);grid-template-columns:1.3fr 1fr;grid-template-rows:repeat(10,var(--u));gap:10px}
  .mgrid > :nth-child(1){grid-column:1;grid-row:1 / 5}
  .mgrid > :nth-child(2){grid-column:2;grid-row:1 / 3}
  .mgrid > :nth-child(3){grid-column:2;grid-row:3 / 6}
  .mgrid > :nth-child(4){grid-column:1;grid-row:5 / 7}
  .mgrid > :nth-child(5){grid-column:2;grid-row:6 / 9}
  .mgrid > :nth-child(6){grid-column:1;grid-row:7 / 9}
  .mgrid > :nth-child(7){grid-column:1;grid-row:9 / 11}
  .mgrid > :nth-child(8){grid-column:2;grid-row:9 / 11}
  .mgrid + .mgrid{margin-top:10px}
  .mgrid.mgrid-1 > :nth-child(1){grid-column:1 / 3}
  .mgrid.mgrid-2 > :nth-child(2){grid-column:2}
  .mgrid.mgrid-3 > :nth-child(2){grid-column:2;grid-row:1 / 3}
  .mgrid.mgrid-3 > :nth-child(3){grid-column:2;grid-row:3 / 5}
  .row,.service{grid-template-columns:1fr;gap:10px}
  .dna{gap:44px 32px}
  .issue{grid-template-columns:180px minmax(0,1fr);gap:28px}
  .contact-grid{grid-template-columns:1fr;gap:40px}
  .lb{padding:56px 60px}
}

/* ---------------- phone ---------------- */
@media(max-width:767px){
  .site-header{align-items:center;padding-bottom:31px}
  .burger{margin-top:-8px;margin-bottom:-8px}    /* the logo sets the row height */
  .burger{display:block}
  /* side menu: a white panel slides in from the right while the page is pushed to the left and dimmed (tap the dimmed page to close).
     Lines between the links, the selected page is an outlined blue tab, Auto Ads Watch is a black tab; both tabs bleed to the right edge.
     --menu-w = panel width = how far the page is pushed; --menu-t = transition */
  :root{--menu-w:min(84vw,400px);--menu-t:.45s cubic-bezier(.22,.61,.36,1)}
  body:has(.nav.open){overflow:hidden}
  body > :not(.site-header):not(script):not(style){transition:transform var(--menu-t)}
  body:has(.nav.open) > :not(.site-header):not(script):not(style){transform:translateX(calc(var(--menu-w) * -1))}
  .site-logo{transition:transform var(--menu-t)}
  body:has(.nav.open) .site-logo{transform:translateX(calc(var(--menu-w) * -1))}
  html body:has(.nav.open) .site-header{background:transparent!important}
  .nav{
    display:flex;visibility:hidden;transform:translateX(100%);
    position:fixed;top:0;right:0;bottom:0;left:auto;width:var(--menu-w);height:100vh;height:100svh;z-index:10;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;margin:0;overflow-y:auto;box-shadow:0 0 0 100vmax rgba(0,0,0,0);
    padding:calc(var(--hdr-h,102px) - 6px) 0 32px 44px;
    transition:transform var(--menu-t),box-shadow var(--menu-t),visibility 0s linear .45s;
  }
  .nav.open{visibility:visible;transform:none;box-shadow:0 0 0 100vmax rgba(0,0,0,.34);transition:transform var(--menu-t),box-shadow var(--menu-t),visibility 0s}
  .nav li{border:0;border-bottom:2px solid var(--ink);width:auto}
  .nav a{display:block;color:var(--ink);padding:23.4px 11.7px;font-size:22.5px;line-height:30.6px;font-weight:400}
  .nav li:not(.nav-aaw) a[aria-current="page"]{color:var(--blue);font-weight:400}
  @media(hover:hover){.nav li:not(.nav-aaw):hover{background:none}}
  .nav li:not(.nav-aaw):has(a[aria-current="page"]){border-bottom-color:transparent}
  .nav li:has(+ li > a[aria-current="page"]){border-bottom-color:transparent}
  .nav li:has(+ .nav-aaw){border-bottom-width:0}                     /* no white seam between the last link (or its outline) and the Auto Ads Watch tab */
  .nav li:not(.nav-aaw) a[aria-current="page"]{margin:0 0 0 -12.6px;padding:21.4px 11.7px 21.4px 23.4px;border:2px solid var(--blue);border-right:0;border-radius:999px 0 0 999px}
  .nav li.nav-aaw{background:none;margin:0;border-bottom:0}
  .nav .nav-aaw a,.nav .nav-aaw.is-current a{background:#000;color:#fff;margin:0 0 0 -12.6px;padding:23.4px 11.7px 23.4px 23.4px;border-radius:999px 0 0 999px;font-size:22.5px;line-height:30.6px;font-weight:400}
  .nav .nav-aaw.is-current a{background:var(--blue)}
  .nav-tip,.nav li.nav-aaw.is-current .nav-tip{display:none}
  .nav .nav-aaw a::after{content:"";position:absolute;inset:0}
  .nav::after{content:"\00a9  2026 KRZ Creative Solutions FZ L.L.C.\A All rights reserved.";white-space:pre-line;display:block;margin-top:auto;padding:72px 28px 0 11.7px;background:url(../img/logo-redesign.png) no-repeat 11.7px 36px / 96px auto;font-family:var(--font-copy);font-size:12px;line-height:16px;color:var(--ink)}   /* logo above the small print */
  @media(prefers-reduced-motion:reduce){
    body > :not(.site-header):not(script):not(style),.site-logo,.nav,.nav.open{transition:none}
  }

  .site-footer{padding-top:29px}

  .hero{padding:40px var(--pad)}
  .hero-inner,.home-inner,.page > :not(.mgrid):not(.wg):not(.work-grid):not(.reel):not(.reel-hero):not(.aaw-banner):not(.issues){margin-left:0;max-width:none}
  /* phones: the whole hero scales with the screen so "Creative solutions" always fits one line */
  .hero,.home-block{--hb:clamp(12px, calc((100vw - 50px) / 24.96), 14px)}
  .btns{gap:10px}
  .btn{padding:9px 32px}

  .page{padding:70px var(--pad) 60px}
  .page-lead{margin-top:18px}
  .section-label{margin-top:70px}
  .wg-side .wg-nav{display:none}
  .wg-stage{display:flex;flex-direction:column;gap:20px;margin-top:40px}
  .wg-item{position:relative;aspect-ratio:4/5}
  .mgrid{display:flex;flex-direction:column;gap:24px;margin-top:40px}
  .mgrid + .mgrid{margin-top:24px}
  .m-img{flex:none;aspect-ratio:4/3}
  .mgrid > :nth-child(1) .m-img{aspect-ratio:4/5}
  .service-list,.rows,.issues{margin-top:56px}
  .service-list{gap:40px}
  .rows{gap:36px}
  .dna{grid-template-columns:1fr;gap:36px}
  .issue{grid-template-columns:1fr;gap:20px;padding:26px 0}
  .issue-cover{max-width:220px}
  .issue h2{font-size:var(--fs-display)}
  .page-cta{margin-top:70px}
  .contact-grid{margin-top:36px}
  .lb{padding:60px 16px}
  .lb .lb-prev,.lb .lb-next{font-size:38px}
}
/* below 560px the headline wraps on its own (human stays at the start of line 2 or after "for") */
@media(max-width:559px){.hero-br{display:none}}
@media(max-width:1023px){.h-grid{gap:12px}.home .hero{min-height:0;padding-top:80px;padding-bottom:90px}}
@media(max-width:767px){.h-grid{grid-template-columns:1fr;gap:12px}.home .hero{padding-top:60px;padding-bottom:60px}.home-work{padding-bottom:20px}}

/* ---------------- previous / next project (end of every case study) ---------------- */
.pn{max-width:var(--wrap);margin:110px auto 90px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pn-item{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border-radius:8px;background:rgba(0,0,0,.1);isolation:isolate}
.pn-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.014s cubic-bezier(.2,.8,.2,1)}
.pn-item::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.6));transition:opacity .845s}
.pn-item::before{content:"";position:absolute;inset:0;z-index:1;background:var(--blue);opacity:0;transition:opacity 1.69s}
.pn-cap{position:absolute;left:16px;right:16px;bottom:14px;z-index:2;display:flex;flex-direction:column;color:#fff}
.pn-dir{font-size:12px;line-height:18px;font-weight:400;letter-spacing:.04em;text-transform:uppercase;opacity:.85;margin-bottom:4px}
.pn-title{font-size:18px;line-height:24px;font-weight:300}
.pn-client{margin-top:3px;font-size:13px;line-height:18px;font-weight:600}
@media(hover:hover){.pn-item:hover img{transform:scale(1.04)}.pn-item:hover::before,.pn-item:focus-visible::before{opacity:1;transition:opacity .845s}.pn-item:hover::after{opacity:0}}
.pn-item:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:767px){.pn{grid-template-columns:1fr;margin:70px 25px 60px}.pn-item{aspect-ratio:4/3}.pn-title{font-size:17px}}

/* ---------------- home: tools + partnerships ---------------- */
.home-work{padding-bottom:0}
.home-block{padding:180px var(--pad)}
.home-inner{margin-left:var(--indent);max-width:var(--col)}
.home-h{font-size:calc(var(--hb) * 2.713);line-height:1.08;font-weight:300;color:var(--ink)}
.home-block .hero-text{margin-top:calc(var(--hb) * 1.74);line-height:calc(var(--hb) * 1.9)}
.home-last .hero-text{line-height:calc(var(--hb) * 1.391)}
.ptag{display:inline-block;border:1px solid var(--blue);color:var(--blue);border-radius:999px;padding:0 .6em;line-height:1.5;white-space:nowrap;transition:background-color .592s,color .592s}
@media(hover:hover){.ptag:hover{background:var(--blue);color:#fff}}
/* services link: a wavy line slides through the underline on hover (line hover style 12); no exit animation, it snaps back on leave */
.home-link{position:relative;display:inline-block;overflow-x:clip;margin-top:calc(var(--hb) * 1.74);padding-bottom:5px;color:var(--blue);font-size:var(--hb);line-height:1.4;white-space:nowrap}
.home-link .wave{position:absolute;left:0;top:.49em;width:300%;height:2.2em;pointer-events:none;fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linejoin:round}
@media(hover:hover){.home-link:hover .wave,.home-link:focus-visible .wave{transform:translate3d(-66.6%,0,0);transition:transform 1.183s cubic-bezier(0,.25,.5,1)}}
.home-link:focus-visible{outline:none}
.logos{list-style:none;margin:50px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:44px 24px}
.logos li{height:84px;display:flex;align-items:center;justify-content:center}
.logos img{max-width:min(100%,130px);max-height:64px;width:auto;height:auto;filter:grayscale(1);opacity:.85;transition:filter .845s,opacity .845s}
@media(hover:hover){.logos img:hover{filter:none;opacity:1}}
@media(max-width:1023px){.home-block{padding:90px var(--pad)}.logos{margin-top:30px}}
@media(max-width:767px){.home-inner{margin-left:0;max-width:none}.home-block{padding:60px var(--pad)}.logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;margin-top:25px}.logos li{height:70px}}

.home-block.home-last{padding-bottom:180px}
@media(max-width:1023px){.home-block.home-last{padding-bottom:90px}}
@media(max-width:767px){.home-block.home-last{padding-bottom:60px}}

/* index-full.html: the home page with wider margins than the 1080px column */
body.full-width{--pad:100px}                /* side margins as in New Site: 100px, 50px on tablets, 6% on phones */
@media(max-width:1024px){body.full-width{--pad:50px}}
@media(max-width:767px){body.full-width{--pad:6%}}
/* the text blocks (hero, tools, partnerships) sit centred on the page, text left-aligned inside a 1098px column */
@media(min-width:768px){body.full-width .hero-inner,body.full-width .home-inner{margin-left:auto;margin-right:auto;width:min(1098px,100%);max-width:none}}
body.full-width .hero-text{max-width:none}
/* vertical spacing: 15% then another 20% tighter than the standard home page (180 > 122.4, 90 > 61.2, 60 > 40.8) */
body.full-width .home-block{padding:122.4px var(--pad)}
body.full-width .home-block.home-last{padding-bottom:122.4px}
body.full-width .logos{margin-top:34px}
body.full-width.home .hero{min-height:calc(min(62vh,640px) - 57.6px);padding-bottom:52.4px}
@media(max-width:1023px){
  body.full-width .home-block{padding:61.2px var(--pad)}
  body.full-width .home-block.home-last{padding-bottom:61.2px}
  body.full-width .logos{margin-top:20.4px}
  body.full-width.home .hero{min-height:0;padding-bottom:61.2px}
}
@media(max-width:767px){
  body.full-width .home-block{padding:40.8px var(--pad)}
  body.full-width .home-block.home-last{padding-bottom:40.8px}
  body.full-width .logos{margin-top:17px}
  body.full-width.home .hero{padding-bottom:40.8px}
}
/* wide screens: the headline runs on one line (it is about 1105px wide, so it is allowed a few px past the 1098px column) */
@media(min-width:1300px){body.full-width .hero-title{white-space:nowrap}}

/* ---- standard home page (index.html): 20% tighter block spacing, equal hero top/bottom, black link, even logo grid ---- */
body.home:not(.full-width) .hero{min-height:0;padding-top:124px;padding-bottom:144px}
body.home:not(.full-width) .home-block{padding:144px var(--pad)}
body.home:not(.full-width) .home-block.home-last{padding-bottom:144px}
body.home:not(.full-width) .home-link{color:var(--ink)}
/* logos: equal columns across the full width; the gap between rows stays 48px (32px tablet, 24px phone) */
body.home:not(.full-width) .logos{--lg:48px;margin-top:144px;grid-template-columns:repeat(5,minmax(0,1fr));justify-content:normal;column-gap:0;row-gap:var(--lg)}
body.home:not(.full-width) .logos li{width:auto;height:64px}
@media(max-width:1023px){
  body.home:not(.full-width) .hero{padding-top:58px;padding-bottom:72px}
  body.home:not(.full-width) .home-block{padding:72px var(--pad)}
  body.home:not(.full-width) .home-block.home-last{padding-bottom:72px}
  body.home:not(.full-width) .logos{--lg:32px;margin-top:72px}
}
@media(max-width:767px){
  body.home:not(.full-width) .hero{padding-top:38px;padding-bottom:48px}
  body.home:not(.full-width) .home-block{padding:48px var(--pad)}
  body.home:not(.full-width) .home-block.home-last{padding-bottom:48px}
  body.home:not(.full-width) .logos{--lg:24px;margin-top:48px;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* standard home: text blocks centred exactly (15.334% either side of the 69.332% column) */
@media(min-width:768px){body.home:not(.full-width) .hero-inner,body.home:not(.full-width) .home-inner{margin-left:15.334%;width:var(--col)}}

/* ---- about page: same headline, block spacing and link style as the home page ---- */
body.about .hero{flex:none;min-height:0;padding-top:124px;padding-bottom:144px}
body.about .home-block{padding:144px var(--pad)}
body.about .home-block.home-last{padding-bottom:144px}
body.about .hero-text{margin-top:calc(var(--hb) * 1.74);max-width:none;line-height:calc(var(--hb) * 1.9)}
body.about .hero-text + .hero-text{margin-top:calc(var(--hb) * 0.95)}
body.services .hero .hero-text{line-height:calc(var(--hb) * 1.391)}
body.about .home-h.is-blue{color:var(--blue)}
body.about .home-h + .dna{margin-top:calc(var(--hb) * 1.74)}
body.about .home-link{color:var(--ink)}
body.about .home-link.is-blue{color:var(--blue)}
body.about .about-links{display:flex;flex-wrap:wrap;gap:20px 56px}
body.about .about-links .home-link{margin-top:0}
@media(min-width:768px){body.about .hero-inner,body.about .home-inner{margin-left:15.334%;width:var(--col);max-width:none}}
@media(max-width:1023px){
  body.about .hero{padding-top:58px;padding-bottom:72px}
  body.about .home-block{padding:72px var(--pad)}
  body.about .home-block.home-last{padding-bottom:72px}
}
@media(max-width:767px){
  body.about .hero{padding-top:38px;padding-bottom:48px}
  body.about .home-block{padding:48px var(--pad)}
  body.about .home-block.home-last{padding-bottom:48px}
  body.about .about-links{gap:16px 36px}
}

/* ---- block gaps halved (padding on each side of a gap: 72 desktop / 36 tablet / 24 phone => 144 / 72 / 48 between blocks); hero top and the space above the footer are unchanged ---- */
body.home:not(.full-width) .hero,body.about .hero{padding-bottom:72px}
body.home:not(.full-width) .home-block,body.about .home-block{padding-top:72px;padding-bottom:72px}
body.home:not(.full-width) .home-block.home-last,body.about .home-block.home-last{padding-bottom:144px}
@media(max-width:1023px){
  body.home:not(.full-width) .hero,body.about .hero{padding-bottom:36px}
  body.home:not(.full-width) .home-block,body.about .home-block{padding-top:36px;padding-bottom:36px}
  body.home:not(.full-width) .home-block.home-last,body.about .home-block.home-last{padding-bottom:72px}
}
@media(max-width:767px){
  body.home:not(.full-width) .hero,body.about .hero{padding-bottom:24px}
  body.home:not(.full-width) .home-block,body.about .home-block{padding-top:24px;padding-bottom:24px}
  body.home:not(.full-width) .home-block.home-last,body.about .home-block.home-last{padding-bottom:48px}
}

/* ---- about page: small blue header above a headline, slightly smaller headlines so "Happy People = Successful Brands." fits on one line ---- */
body.about .eyebrow{margin:0 0 calc(var(--hb) * .9);color:var(--blue);font-size:var(--hb);line-height:1.4;font-weight:600}
body.about .home-h{font-size:calc(var(--hb) * 2.28)}

/* ---- about-nav.html: same centred text column, header and footer as about.html, with a sticky side navigation (RZ bio style)
   in the 15% margin to the left of the text (from 1100px up); below that it becomes a row above the text. ---- */
html:has(body.about-nav){scroll-behavior:smooth}
body.about-nav [id]{scroll-margin-top:60px}
body.about-nav .an-layout{padding:0 var(--pad)}
body.about-nav .an-content .hero,body.about-nav .an-content .home-block{padding-left:0;padding-right:0}
body.about-nav .an-nav{display:flex;flex-direction:column;gap:22px}
body.about-nav .an-item{display:contents}
body.about-nav .an-nav a{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:var(--fs-body);line-height:1.4;text-decoration:none;transition:color .4s ease}
/* the rule only shows next to the selected item and always ends at the same point, just left of the text */
body.about-nav .an-nav i{display:block;flex:1 1 0;min-width:0;height:0;border-top:1px solid currentColor;transform:scaleX(0);transform-origin:left center;transition:transform .6s cubic-bezier(0,.25,.5,1)}
body.about-nav .an-nav a.is-active{color:var(--blue)}
body.about-nav .an-nav a.is-active i{transform:scaleX(1)}
@media(hover:hover){body.about-nav .an-nav a:hover{color:var(--blue)}}
body.about-nav .an-nav a:focus-visible{outline:2px solid var(--blue);outline-offset:4px}

@media(min-width:1100px){
  /* nav + text together fit in the original 69.332% text width (22% nav / 78% text) */
  body.about-nav .an-layout{display:grid;grid-template-columns:calc(69.332% * .22) calc(69.332% * .78);justify-content:center}
  body.about-nav .home-h{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}
  /* the labels form a stack that stays under the header at all times (it never scrolls away); a label's line shows while its own block's content is level with it, and disappears in the empty space between blocks */
  body.about-nav .an-nav{grid-column:1;display:grid;align-self:stretch;margin-right:20px}
  body.about-nav .an-item{grid-area:1/1;align-self:stretch;display:flow-root;pointer-events:none}
  body.about-nav .an-nav a{position:sticky;pointer-events:auto;height:20px;top:calc(var(--an-top,151px) + var(--k) * 42px);margin-top:calc(var(--an-mt,137px) + var(--k) * 42px)}
  body.about-nav .an-nav i{border-top-color:var(--blue)}
  body.about-nav .an-nav a.is-active i{transform:scaleX(0)}
  body.about-nav .an-nav a.is-line i{transform:scaleX(1)}
  body.about-nav .an-content{grid-column:2}
  body.about-nav .an-content .hero-inner,body.about-nav .an-content .home-inner{margin-left:0;margin-right:0;width:100%;max-width:none}
}
@media(max-width:1099px){
  body.about-nav .an-nav{flex-direction:row;flex-wrap:wrap;gap:10px 28px;padding-top:60px}
  body.about-nav .an-nav i{flex:none;width:32px}
  body.about-nav .an-content .hero{padding-top:40px}
}
@media(min-width:768px) and (max-width:1099px){
  body.about-nav .an-nav{margin-left:15.334%;width:var(--col)}
  body.about-nav .an-content .hero-inner,body.about-nav .an-content .home-inner{margin-left:15.334%;width:var(--col);max-width:none}
}
@media(max-width:767px){
  body.about-nav .an-nav{padding-top:38px}
  body.about-nav .an-content .hero{padding-top:28px}
  body.about-nav .an-content .hero-inner,body.about-nav .an-content .home-inner{margin-left:0;width:100%;max-width:none}
}


/* ---- services page: about-page headline and block spacing, services in 3 columns inside the text block ---- */
@media(min-width:1100px){body.services .home-h{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}
.svc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 40px}
/* the services block is as wide as the header and footer */
body.services .svc-block .home-inner{margin-left:0;margin-right:0;width:100%;max-width:none}
.svc-item p{text-wrap:pretty}
.svc-item ul{list-style:none;margin:14px 0 0;padding:0}
.svc-item li{position:relative;padding:3px 0 3px 1.7em}
.svc-item li::before{content:"\2014";position:absolute;left:0;color:var(--blue)}
@media(max-width:1023px){.svc-grid{gap:44px 28px}}
@media(max-width:767px){.svc-grid{grid-template-columns:1fr;gap:40px}}

/* services: closing line above the links */
body.services .about-links{display:block}
body.services .about-links .home-h + .about-cta{display:flex;flex-wrap:wrap;gap:20px 56px;margin-top:calc(var(--hb) * 1.74)}
@media(max-width:767px){body.services .about-links .home-h + .about-cta{gap:16px 36px}}

/* home: partnerships block keeps its paragraph spacing now that it is no longer the last block; closing line + links like the services page */
.home-partners .hero-text{line-height:calc(var(--hb) * 1.391)}
body.home:not(.full-width) .home-closing .about-cta{display:flex;flex-wrap:wrap;gap:20px 56px;margin-top:calc(var(--hb) * 1.74)}
body.home:not(.full-width) .home-closing .home-link{margin-top:0}
body.home:not(.full-width) .home-link.is-blue{color:var(--blue)}
@media(max-width:767px){body.home:not(.full-width) .home-closing .about-cta{gap:16px 36px}}
/* home closing line: same headline size as on the services page */
body.home:not(.full-width) .home-closing .home-h{font-size:calc(var(--hb) * 2.28)}
@media(min-width:1100px){body.home:not(.full-width) .home-closing .home-h{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}

/* services: Auto Ads Watch item (no number, blue title, blue link) */
.svc-aaw{align-self:start;border:1px solid var(--blue);border-radius:16px;padding:22px 24px 26px}
.svc-aaw h3{margin:4px 0 10px}
.svc-pill{color:var(--blue)}
.svc-aaw .home-link{margin-top:18px}

/* contact: headline in the services-page style; the rest of the page is unchanged */
body.contact .page-title,body.aaw .page-title{--hb:18.4px;font-size:calc(var(--hb) * 2.28);line-height:1.08;font-weight:300}
@media(max-width:1023px){body.contact .page-title,body.aaw .page-title{--hb:15.2px}}
@media(max-width:767px){body.contact .page-title,body.aaw .page-title{--hb:clamp(12px, calc((100vw - 50px) / 24.96), 14px)}}
@media(min-width:1100px){body.contact .page-title,body.aaw .page-title{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}

/* auto ads watch: email sign-up in place of the download button */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.signup{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:auto}
.signup .field{flex:1 1 220px;max-width:340px;margin-bottom:0}
.signup .btn{margin-top:0;align-self:flex-start;height:45px}
.signup .h-captcha,.signup .form-note{flex-basis:100%}
.signup .form-note{margin-top:6px}

/* work page: tiles as on the home page */
/* vertical rhythm as on the home page: hero -> tiles 72 / 36 / 24, tiles -> footer 144 / 72 / 48 */
body.work .page{padding-bottom:144px}
@media(max-width:1023px){body.work .page{padding-bottom:72px}}
@media(max-width:767px){body.work .page{padding-bottom:48px}}

/* work: hero headline and text in the services-page style */
body.work .page-head{--hb:18.4px}
@media(max-width:1023px){body.work .page-head{--hb:15.2px}}
@media(max-width:767px){body.work .page-head{--hb:clamp(12px, calc((100vw - 50px) / 24.96), 14px)}}
body.work .page-title{font-size:calc(var(--hb) * 2.28);line-height:1.08;font-weight:300}
@media(min-width:1100px){body.work .page-title{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}
body.work .page-title + .page-text{margin-top:calc(var(--hb) * 1.74)}
body.work .page-text{font-size:var(--hb);line-height:calc(var(--hb) * 1.391);font-weight:300;max-width:none}

/* work: showreel placeholder above the hero */
.reel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:100%;aspect-ratio:16/9;margin:0 0 72px;border:1px dashed var(--blue);border-radius:8px;background:rgba(0,0,255,.05);color:var(--blue);overflow:hidden}
video.reel,iframe.reel{display:block;border:0;background:#000}
.reel-play{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--blue);border-radius:50%}
.reel-play svg{margin-left:3px}
.reel-label{font-size:var(--fs-sub);font-weight:400;letter-spacing:.04em}
@media(max-width:1023px){.reel{margin-bottom:48px}}
@media(max-width:767px){.reel{margin-bottom:32px}.reel-play{width:52px;height:52px}}

/* work: full-width showreel behind the header, the hero text and the top of the tiles.
   Hero spacing as on the home page (124 / 72, tablet 58 / 36, phone 38 / 24), counted from the bottom of the header. */
body.work .page{padding-top:0}
.reel-hero{position:relative;margin:0 calc(-1 * var(--pad));padding:calc(var(--hdr-h,127px) * 2.4 + 298px) var(--pad) 72px;color:#fff;isolation:isolate}
.reel-bg{position:absolute;top:0;left:0;right:0;height:max(100vh,100%);height:max(100svh,100%);overflow:hidden;background:#000;z-index:-1}
.reel-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,.15) 30%,rgba(0,0,0,.15) 55%,rgba(0,0,0,.6) 100%)}
.reel-hero .page-head{margin-left:var(--indent);max-width:var(--col);width:100%}
body.work .reel-hero .page-title,body.work .reel-hero .page-text{color:#fff}
body.work .work-grid{position:relative;z-index:1;margin-top:0}
@media(max-width:1023px){.reel-hero{padding-top:calc(var(--hdr-h,124px) * 2.4 + 139px);padding-bottom:36px}}
@media(max-width:767px){.reel-hero{padding-top:calc(var(--hdr-h,102px) * 2.4 + 91px);padding-bottom:24px}.reel-hero .page-head{margin-left:0;max-width:none}}
/* header floats over the video, then turns solid once the reel is scrolled past */
body.work .site-header{position:fixed;top:0;left:0;right:0;transition:background-color .3s ease}
body.work:not(.hdr-solid) .site-header{background:transparent}
body.work:not(.hdr-solid) .site-logo img{filter:brightness(0) invert(1)}
body.work:not(.hdr-solid) .burger span{background:#fff}
@media(min-width:768px){
  body.work:not(.hdr-solid) .nav a{color:#fff}
  body.work:not(.hdr-solid) .nav li:not(.nav-aaw) a[aria-current="page"]{font-weight:600}
  body.work:not(.hdr-solid) .nav .nav-aaw a{background:#fff;color:#000}
}
@media(prefers-reduced-motion:reduce){.reel-video{display:none}.reel-bg{background:#000 url(../img/rz/Azera.jpg) center/cover}}

/* home (video version, index-video.html): the same showreel behind the header and the hero; nothing else changes */
body.home-reel{position:relative}
body.home-reel .reel-bg{height:max(100vh,var(--reel-h,480px));height:max(100svh,var(--reel-h,480px));z-index:0}
body.home-reel .home-work{position:relative;z-index:1}
body.home-reel .site-header{transition:background-color .3s ease}
body.home-reel .hero{position:relative;z-index:1}
body.home-reel:not(.hdr-solid) .site-header{background:transparent}
body.home-reel .hero .hero-title,body.home-reel .hero .hero-text{color:#fff}
body.home-reel .hero-title{font-weight:500}
body.home-reel .hero-title .accent{color:var(--blue);font-weight:700;-webkit-text-stroke:.03em currentColor}
body.home-reel:not(.hdr-solid) .site-logo img{filter:brightness(0) invert(1)}
body.home-reel:not(.hdr-solid) .burger span{background:#fff}
@media(min-width:768px){
  body.home-reel:not(.hdr-solid) .nav a{color:#fff}
  body.home-reel:not(.hdr-solid) .nav li:not(.nav-aaw) a[aria-current="page"]{font-weight:600}
  body.home-reel:not(.hdr-solid) .nav .nav-aaw a{background:#fff;color:#000}
}
/* index-video.html: the headline sits at the bottom of the video, the paragraph moves below the video onto the white page */
body.home-reel:not(.home-reel-2) .reel-bg{height:100vh;height:100svh}
body.home.home-reel:not(.home-reel-2):not(.full-width) .hero{align-items:flex-start;min-height:0;padding-top:0;padding-bottom:72px}
body.home-reel:not(.home-reel-2) .hero-inner{display:grid;grid-template-rows:calc(100vh - var(--hdr-h,127px) - 72px) auto;grid-template-rows:calc(100svh - var(--hdr-h,127px) - 72px) auto}
body.home-reel:not(.home-reel-2) .hero-title{align-self:end}
body.home-reel:not(.home-reel-2) .hero .hero-text{margin-top:144px;color:var(--ink)}
body.home-reel:not(.home-reel-2) .home-work{margin-top:0}
@media(max-width:1023px){
  body.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-bottom:36px}
  body.home-reel:not(.home-reel-2) .hero-inner{grid-template-rows:calc(100vh - var(--hdr-h,124px) - 36px) auto;grid-template-rows:calc(100svh - var(--hdr-h,124px) - 36px) auto}
  body.home-reel:not(.home-reel-2) .hero .hero-text{margin-top:72px}
}
@media(max-width:767px){
  body.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-bottom:24px}
  body.home-reel:not(.home-reel-2) .hero-inner{grid-template-rows:calc(100vh - var(--hdr-h,102px) - 24px) auto;grid-template-rows:calc(100svh - var(--hdr-h,102px) - 24px) auto}
  body.home-reel:not(.home-reel-2) .hero .hero-text{margin-top:48px}
}

/* video version 2 (index-video-2.html): the video fills the screen with the hero on top of it, as before; a solid white panel sits behind the hero text
   and runs on to the bottom of the page. Panel margins follow the crop that was shared: about 38px above the headline, 46px to the left and 56px to the right of the text. */
body.home.home-reel.home-reel-2:not(.full-width) .hero{align-items:center;min-height:0;padding-top:calc(var(--hdr-h,127px) * .5 + 186px);padding-bottom:72px}
body.home-reel-2 .home-work{margin-top:0}
body.home-reel-2 .hero .hero-title,body.home-reel-2 .hero .hero-text{color:var(--ink)}
body.home-reel-2 .reel-bg{z-index:-2}
.reel-panel{display:none}
body.home-reel-2 .reel-panel{display:block;position:absolute;z-index:-1;background:#fff;
  top:var(--panel-top,calc(var(--hdr-h,127px) * 1.5 + 146px));bottom:0;
  left:calc(var(--pad) + (100% - 2 * var(--pad)) * .15334 - 46px);
  width:calc((100% - 2 * var(--pad)) * .69332 + 71px)}
@media(max-width:1023px){body.home.home-reel.home-reel-2:not(.full-width) .hero{padding-top:calc(var(--hdr-h,124px) * .5 + 87px);padding-bottom:36px}}
@media(max-width:767px){
  body.home.home-reel.home-reel-2:not(.full-width) .hero{padding-top:calc(var(--hdr-h,102px) * .5 + 57px);padding-bottom:24px}
  body.home-reel-2 .reel-panel{left:calc(var(--pad) - 14px);width:calc(100% - 2 * (var(--pad) - 14px))}
}

/* work version with the video in a rounded box (work-box.html): the box is as wide as the gallery, starts below the header and ends 16px above the first row of tiles; the text stays on top of the video */
body.work-box .site-header{background:var(--bg)}
body.work-box .reel-bg{top:var(--hdr-h,127px);left:var(--pad);right:var(--pad);bottom:16px;height:auto;border-radius:18px}
@media(max-width:767px){body.work-box .reel-bg{bottom:12px;border-radius:12px}}

/* work-box.html: the video box fills the first screen below the header; the headline and intro sit below it on the white page */
body.work-box{--box-h:max(calc((100vh - var(--hdr-h,127px) - 24px) * .75),270px);--box-h:max(calc((100svh - var(--hdr-h,127px) - 24px) * .75),270px);--box-gap:72px}
body.work-box .reel-bg{bottom:auto;height:var(--box-h)}
body.work-box .reel-bg::after{display:none}
body.work-box .reel-hero{padding-top:calc(var(--hdr-h,127px) + var(--box-h) + var(--box-gap))}
body.work-box .reel-hero .page-title,body.work-box .reel-hero .page-text{color:var(--ink)}
@media(max-width:1023px){body.work-box{--box-gap:36px}}
@media(max-width:767px){body.work-box{--box-gap:24px}}

/* project pages: a line between the project and the "more projects" navigation */
.pn{--pn-gap:55px;margin-top:var(--pn-gap);gap:0}
.pn-item{aspect-ratio:auto;height:114px;border-radius:0;background:#fff;outline:0}
.pn-prev{border-radius:32px 0 0 32px}
.pn-next{border-radius:0 32px 32px 0;border-left:1px solid var(--blue)}
.pn-item img{opacity:0;transition:opacity .6s,transform 1.014s cubic-bezier(.2,.8,.2,1)}
.pn-item::before{display:none}
.pn-item::after{inset:0;background:linear-gradient(to bottom,rgba(0,0,0,0) 35%,rgba(0,0,0,.6));opacity:0;transition:opacity .6s}
.pn-cap{left:36px;right:36px;bottom:34px}
.pn-prev{box-shadow:inset 1px 1px 0 var(--blue),inset 0 -1px 0 var(--blue)}
.pn-next{box-shadow:inset -1px 1px 0 var(--blue),inset 0 -1px 0 var(--blue)}
.pn-cap{color:var(--blue);transition:color .6s}
@media(hover:hover){.pn-item:hover .pn-cap,.pn-item:focus-visible .pn-cap{color:#fff}}
.pn-next .pn-cap{align-items:flex-end;text-align:right}
.pn-dir{font-size:24px;line-height:30px;letter-spacing:.01em;text-transform:none;opacity:1;margin-bottom:0}
.pn-title{display:block;position:absolute;left:0;right:0;top:100%;margin-top:4px;font-size:18px;line-height:24px;font-weight:300;opacity:0;transition:opacity .6s}
.pn-client{display:none}
@media(hover:hover){.pn-item:hover img,.pn-item:focus-visible img{opacity:1;transform:scale(1.04)}.pn-item:hover::after,.pn-item:focus-visible::after{opacity:1}.pn-item:hover .pn-title,.pn-item:focus-visible .pn-title{opacity:1}}
.pn-item:focus-visible{outline:0}
@media(max-width:767px){.pn{--pn-gap:36px;grid-template-columns:repeat(2,minmax(0,1fr))}.pn-item{height:78px;aspect-ratio:auto}.pn-prev{border-radius:22px 0 0 22px}.pn-next{border-radius:0 22px 22px 0}.pn-cap{left:16px;right:16px;bottom:28px}.pn-dir{font-size:16px;line-height:22px}.pn-title{font-size:13px;line-height:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
.pn-cap{top:0;bottom:0;display:grid;align-content:center;justify-items:start}
.pn-next .pn-cap{justify-items:end}
.pn-dir,.pn-title{grid-area:1/1;min-width:0;max-width:100%}
.pn-dir{transition:opacity .6s}
.pn-title{position:static;margin:0;font-size:24px;line-height:30px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(hover:hover){.pn-item:hover .pn-dir,.pn-item:focus-visible .pn-dir{opacity:0}}
@media(max-width:767px){.pn-cap{bottom:0}.pn-title{font-size:16px;line-height:22px}}
@media(max-width:767px){.pn-title{font-size:15px;line-height:20px;white-space:normal;overflow:visible;text-overflow:clip}}
.pn-item::after{background:rgba(0,0,0,.55);border-radius:inherit}
.pn-prev::after{box-shadow:inset 1px 1px 0 var(--blue),inset 0 -1px 0 var(--blue)}
.pn-next::after{box-shadow:inset -1px 1px 0 var(--blue),inset 0 -1px 0 var(--blue)}

/* all images: rounded corners */
:root{--img-r:0}
@media(max-width:767px){:root{--img-r:0}}
.h-tile,.wg-img{border-radius:var(--img-r)}
main.project img,.gallery a,.lb-slot img,.lb-slot iframe{border-radius:var(--img-r)}
.pn-item img{border-radius:0}

/* videos: rounded corners too */
main.project video,main.project iframe,.embed,.embed video,.embed iframe,.lb-slot video{border-radius:var(--img-r)}
.embed{overflow:hidden}
.reel-bg{border-radius:0 0 var(--img-r) var(--img-r)}
body.work-box .reel-bg,body.work-box .reel-bg{border-radius:var(--img-r)}

/* index-video: fine mesh overlay over the video (round dots) */
body.home-reel:not(.home-reel-2) .reel-bg::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:radial-gradient(circle at 50% 50%,rgba(0,0,255,.7) 0,rgba(0,0,255,.7) 1.05px,transparent 1.5px);background-size:4px 4px}

/* index-video: headline back to its normal size (light weight), centred in the middle of the video; "human" back to its normal weight; the video has square corners */
body.home-reel:not(.home-reel-2) .hero-title{font-weight:300;text-align:left;align-self:center;position:relative;top:calc((72px - var(--hdr-h,127px)) / 2)}
body.home-reel:not(.home-reel-2) .hero-title .accent{font-family:"Momo Signature","Shantell Sans",cursive;font-style:normal;font-weight:400;color:#fff;-webkit-text-stroke:0}
body.home-reel:not(.home-reel-2) .reel-bg{border-radius:0}
@media(max-width:1023px){body.home-reel:not(.home-reel-2) .hero-title{top:calc((36px - var(--hdr-h,124px)) / 2)}}
@media(max-width:767px){body.home-reel:not(.home-reel-2) .hero-title{top:calc((24px - var(--hdr-h,102px)) / 2)}}

/* index-video mesh colour versions: index-video-mesh-black.html and index-video-mesh-white.html */
/* home page mesh: rectangles. Cell = background-size (5px); the conic-gradient point (1px 2px) is the gap, so each rectangle is 4px wide x 3px tall */
body.mesh-black.home-reel:not(.home-reel-2) .reel-bg::before{background-image:conic-gradient(from 90deg at 1px 2px,rgba(0,0,0,.4) 90deg,transparent 0);background-size:5px 5px}
body.mesh-white.home-reel:not(.home-reel-2) .reel-bg::before{background-image:radial-gradient(circle at 50% 50%,rgba(255,255,255,.4) 0,rgba(255,255,255,.4) 1.05px,transparent 1.5px);background-size:4px 4px}

/* "human" is set in Momo Signature (Google Fonts, self-hosted like the other fonts) on the index-video versions */
@font-face{font-family:"Momo Signature";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/momo-signature-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Momo Signature";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/momo-signature-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* index-video versions: headline size, blue "human", content centre-aligned (footer unchanged) */
body.home-reel:not(.home-reel-2) .hero-title{font-size:calc(var(--hb) * 3);text-align:center}
body.home-reel:not(.home-reel-2) .hero-title .accent{color:var(--blue)}
body.home-reel:not(.home-reel-2) .hero .hero-text,body.home-reel:not(.home-reel-2) .home-inner{text-align:center}
@media(min-width:768px){body.home-reel:not(.home-reel-2):not(.full-width) .home-inner{margin-left:auto;margin-right:auto}}
body.home-reel:not(.home-reel-2) .home-closing .about-cta{justify-content:center}

/* services page: hero text and the closing call-to-action block are centre-aligned */
body.services .hero-inner,body.services .home-last .home-inner{text-align:center}
body.services .about-links .home-h + .about-cta{justify-content:center}
/* services hero headline: a little narrower so the last word is not left alone on a line */
body.services .hero .home-h{max-width:80%;margin-left:auto;margin-right:auto}
@media(max-width:1023px){body.services .hero .home-h{max-width:100%;text-wrap:balance}}

/* contact and Auto Ads Watch: the text at the top of the page is centre-aligned */
body.contact .page-head,body.aaw .page-head{text-align:center}
body.contact .page-head > *,body.aaw .page-head > *{margin-left:auto;margin-right:auto}

/* contact map */
.contact-map{display:block;width:100%;height:300px;border:0;border-radius:var(--img-r);margin:0 0 24px;background:#eee}
@media(max-width:767px){.contact-map{height:240px}}

/* work.html without the header video: three tiles on top, intro text, then the rest of the tiles */
body.work-top .site-header{position:sticky;background:var(--bg)}
body.work-top .page{padding-top:0}
body.work-top .reel-hero{margin:0;padding:72px 0}
@media(max-width:1023px){body.work-top .reel-hero{padding:36px 0}}
@media(max-width:767px){body.work-top .reel-hero{padding:24px 0}}
body.work-top .reel-hero .page-title,body.work-top .reel-hero .page-text{color:var(--ink)}

/* black-mesh home page: tiles 33% less tall */
body.mesh-black .h-tile{aspect-ratio:1/.67}

/* work page: tiles the same size as on the home page */
body.work-top .h-tile{aspect-ratio:1/.67}

/* work page hero: same size, alignment and placement as the services page hero */
body.work-top .reel-hero{padding:124px 0 72px}
@media(max-width:1023px){body.work-top .reel-hero{padding:58px 0 36px}}
@media(max-width:767px){body.work-top .reel-hero{padding:38px 0 24px}}
body.work-top .reel-hero .page-head{text-align:center}
body.work-top .reel-hero .page-title{max-width:80%;margin-left:auto;margin-right:auto}
@media(max-width:1023px){body.work-top .reel-hero .page-title{max-width:100%;text-wrap:balance}}
@media(min-width:768px){body.work-top .reel-hero .page-head{margin-left:15.334%;width:var(--col);max-width:none}}

/* Auto Ads Watch: banner image above the hero text; the issues block is as wide as the header and footer */
.page > img.aaw-banner{display:block;width:100%;max-width:none;height:auto;margin:0 0 72px}
@media(max-width:1023px){.page > img.aaw-banner{margin-bottom:36px}}
@media(max-width:767px){.page > img.aaw-banner{margin-bottom:24px}}
body.aaw .issues{margin-left:0;max-width:none;width:100%}
/* Auto Ads Watch: the banner image sits right under the nav, as the tiles do on the work page */
body.aaw .page{padding-top:0}

/* project pages: text is centre-aligned, except the "Concept visualization" block on Life in perfect harmony */
main.project .w-heading,main.project .w-text-editor{text-align:center}
main.project .e-0387e3a{text-align:left}

/* gallery tiles on the home and work pages keep their rounded corners */
.h-tile{border-radius:20px}
@media(max-width:767px){.h-tile{border-radius:14px}}

/* project pages: the title uses the same headline style as the work and services page heroes */
main.project .rz-title .ht{--hb:18.4px;font-size:calc(var(--hb) * 2.28);line-height:1.08;font-weight:300;text-transform:none}
@media(max-width:1023px){main.project .rz-title .ht{--hb:15.2px}}
@media(max-width:767px){main.project .rz-title .ht{--hb:clamp(12px, calc((100vw - 50px) / 24.96), 14px)}}
@media(min-width:1100px){main.project .rz-title .ht{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}

/* home page: "human" in white Shantell Sans, a touch larger than the rest of the headline */
body.mesh-black:not(.home-reel-2):not(.title-below) .hero-title .accent{font-family:"Shantell Sans","Comic Sans MS",cursive;font-style:italic;font-weight:300;font-size:1.1em;-webkit-text-stroke:0;color:#fff}
body.mesh-black:not(.home-reel-2) .hero-title{line-height:1.22}

/* home page: dimming layer over the background video. Tweak --dim (0 = none, 1 = black) on .reel-bg in the inspector */
body.mesh-black.home-reel:not(.home-reel-2) .reel-bg{--dim:.44}
body.mesh-black.home-reel:not(.home-reel-2) .reel-bg::after{background:linear-gradient(rgba(0,0,0,var(--dim)),rgba(0,0,0,var(--dim))),linear-gradient(to bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,.15) 30%,rgba(0,0,0,.15) 55%,rgba(0,0,0,.6) 100%)}

/* index-title-below.html: the video fills the first screen on its own; the headline and intro sit on the white page underneath it, in the original headline style
   (centred, light weight, "human" in blue Shantell) */
body.title-below.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-top:calc(100svh - var(--hdr-h,127px) + 90px);padding-bottom:72px}
body.title-below.home-reel:not(.home-reel-2) .hero-inner{display:block;margin-left:auto;margin-right:auto}
body.title-below.home-reel:not(.home-reel-2) .hero-title{position:static;top:auto;text-align:center;font-size:calc(var(--hb) * 2.713);font-weight:300;color:var(--ink)}
body.title-below.home-reel:not(.home-reel-2) .hero-title .accent{font-family:"Shantell Sans","Comic Sans MS",cursive;font-style:italic;font-weight:300;color:var(--blue);-webkit-text-stroke:0}
body.title-below.home-reel:not(.home-reel-2) .hero .hero-text{margin-top:calc(var(--hb) * 1.74);text-align:center;color:var(--ink)}
@media(max-width:1023px){body.title-below.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-top:calc(100svh - var(--hdr-h,124px) + 54px)}}
@media(max-width:767px){body.title-below.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-top:calc(100svh - var(--hdr-h,102px) + 36px)}}
body.title-below .br-d{display:none}
.br-rights{display:none}
@media(min-width:768px){body.title-below .br-d{display:inline}}

/* home page: while the header sits over the video, the Auto Ads Watch tooltip is blue */
@media(min-width:768px){
  body.home-reel:not(.home-reel-2):not(.hdr-solid) .nav-tip{background:var(--blue)}
  body.home-reel:not(.home-reel-2):not(.hdr-solid) .nav-tip::after{border-bottom-color:var(--blue)}
}

/* mobile home page: more space between the blocks; the client logos a little smaller */
@media(max-width:767px){
  body.home:not(.full-width) .home-block{padding-top:56px;padding-bottom:56px}
  body.home.home-reel:not(.home-reel-2):not(.full-width) .hero{padding-bottom:56px}
  body.home .h-grid{gap:16px}
  body.home:not(.full-width) .logos img{transform:scale(.85)}
}

/* projects, phone: less space between the page title block and the first media block; the text in the previous / next buttons is vertically centred */
@media(max-width:767px){
  main.project > .sec.mid:first-of-type > .con{min-height:0}
  main.project > .sec.mid:first-of-type .colin > .w-spacer:last-child .spacer{height:40px}
  .pn-dir,.pn-title{align-self:center}
}

/* ---- phone: home spacing + bigger bottom links, services and about centred, about sections nav sticky and vertical, centred footer ---- */
@media(max-width:767px){
  /* home: the first paragraph has the same space above (from the video) as below (to the tiles) */
  body.home-reel:not(.home-reel-2):not(.title-below) .hero .hero-text{margin-top:80px}
  /* the links at the bottom of home, services and about are larger */
  body.home .home-closing .home-link,body.services .about-links .home-link,body.about .about-links .home-link{font-size:calc(var(--hb) * 1.5)}
  body.home:not(.full-width) .home-closing .about-cta,body.services .about-links .home-h + .about-cta{gap:18px 40px}
  body.about .about-links{justify-content:center;gap:18px 40px}
  /* services: everything centred; the dash sits in front of each list line */
  body.services .about-main{text-align:center}
  body.services .svc-item li{padding:3px 0}
  body.services .svc-item li::before{position:static;margin-right:.55em}
  /* about: everything centred; the section links form a vertical list that stays under the header */
  body.about .an-content{text-align:center}
  body.about-nav .an-nav{position:sticky;top:var(--an-sticky,102px);z-index:20;background:var(--bg);flex-direction:column;align-items:center;gap:2px;padding:14px var(--pad) 12px;margin:0 calc(var(--pad) * -1)}
  body.about-nav .an-nav a{justify-content:center;font-size:15px;line-height:1.7}
  body.about-nav .an-nav a.is-active{font-weight:600}
  body.about-nav .an-nav i{display:none}
  /* footer: centred, the social icons under the text */
  .site-footer{flex-direction:column;align-items:center;text-align:center;gap:16px}
  .site-footer .socials{margin-left:0}
  .br-rights{display:inline}   /* small print: 'All rights reserved.' on its own line */
}

/* ---------------- analytics consent banner ---------------- */
.consent{position:fixed;left:16px;bottom:16px;z-index:200;max-width:440px;padding:18px 20px;background:var(--bg);color:var(--ink);border:1px solid var(--ink);border-radius:3px;font-size:14px;line-height:1.5}
.consent p{margin:0 0 14px}
.consent .btns{gap:10px}
.consent .btn{cursor:pointer;font-family:inherit}
@media(max-width:600px){.consent{left:12px;right:12px;bottom:12px;max-width:none}}

/* ---- legal notice page + the footer link ---- */
body.legal .page{--hb:18.4px}
@media(max-width:1023px){body.legal .page{--hb:15.2px}}
@media(max-width:767px){body.legal .page{--hb:clamp(12px, calc((100vw - 50px) / 24.96), 14px)}}
body.legal .page-title{font-size:calc(var(--hb) * 2.28);line-height:1.08;font-weight:300}
@media(min-width:1100px){body.legal .page-title{font-size:min(calc(var(--hb) * 1.8),calc(min(1080px,100vw - 50px) * .0305))}}
body.legal .legal-body{margin-top:calc(var(--hb) * 2.6)}
body.legal .legal-body section + section{margin-top:calc(var(--hb) * 2.1)}
body.legal .legal-body h2{font-size:calc(var(--hb) * 1.15);line-height:1.3;font-weight:600;color:var(--ink)}
body.legal .legal-body p{margin-top:calc(var(--hb) * .6);font-size:var(--hb);line-height:calc(var(--hb) * 1.75);font-weight:300;color:var(--ink);text-wrap:pretty}
body.legal .legal-body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
body.legal .legal-body p.legal-updated{margin-top:calc(var(--hb) * 2.6);font-size:calc(var(--hb) * .85);opacity:.6}
.site-footer .copy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(hover:hover){.site-footer .copy a:hover{color:var(--blue)}}
