/* ==========================================================================
   Edward Radford — site.css (cleaned + conflict-free, Dec 2025)
   Mosaic tiles + spill-down drawers + sticky nav + inset matte frame
   ========================================================================== */

/* -----------------------------
   Klim trial fonts — for design exploration only.
   DO NOT deploy to live site; trial licence forbids production use.
   Remove these @font-face blocks before pushing to GitHub.
   ----------------------------- */
@font-face{
  font-family: "Test Untitled Sans";
  src: url("assets/fonts/trials/test-untitled-sans-vf-roman.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Untitled Sans";
  src: url("assets/fonts/trials/test-untitled-sans-vf-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Test Family";
  src: url("assets/fonts/trials/test-family-vf-roman.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Family";
  src: url("assets/fonts/trials/test-family-vf-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Test Geograph";
  src: url("assets/fonts/trials/test-geograph-vf-roman.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Geograph";
  src: url("assets/fonts/trials/test-geograph-vf-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face{
  font-family: "Test Die Grotesk";
  src: url("assets/fonts/trials/test-die-grotesk-vf-roman.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Die Grotesk";
  src: url("assets/fonts/trials/test-die-grotesk-vf-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Söhne — static individual weights (no variable trial available) */
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-extraleicht.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-leicht.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-buch.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-kraftig.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Söhne";
  src: url("assets/fonts/trials/test-soehne-dreiviertelfett.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Founders Grotesk — display version, static individual weights */
@font-face{
  font-family: "Test Founders Grotesk";
  src: url("assets/fonts/trials/test-founders-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Founders Grotesk";
  src: url("assets/fonts/trials/test-founders-grotesk-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Founders Grotesk";
  src: url("assets/fonts/trials/test-founders-grotesk-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Test Founders Grotesk";
  src: url("assets/fonts/trials/test-founders-grotesk-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------
   Founders Grotesk (Klim, licensed) — production hero face
   ----------------------------- */
@font-face{
  font-family: "Founders Grotesk";
  src: url("assets/fonts/founders-grotesk-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Founders Grotesk";
  src: url("assets/fonts/founders-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Founders Grotesk";
  src: url("assets/fonts/founders-grotesk-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Founders Grotesk";
  src: url("assets/fonts/founders-grotesk-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------
   Fonts (self-hosted, variable WOFF2)
   ----------------------------- */
@font-face{
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Variable.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-VariableItalic.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "General Sans";
  src: url("assets/fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-Variable.woff2") format("woff2-variations");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "General Sans";
  src: url("assets/fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-VariableItalic.woff2") format("woff2-variations");
  font-weight: 200 700;
  font-style: italic;
  font-display: swap;
}

:root{
  --bg: #0e0f12;
  --ink: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --line: rgba(255,255,255,.10);
  --lineSoft: rgba(255,255,255,.06);
  --glow: rgba(255,255,255,.18);

  --radius: 18px;
  --tileRadius: 2px;

  /* divider fade */
  --ruleA: rgba(255,255,255,.06);
  --ruleB: rgba(255,255,255,0);
}

/* Base */
html, body{
  background: var(--bg);
  color: var(--ink);
}

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  padding: 18px; /* matches frame inset */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  letter-spacing: .01em;
}

/* Inset “matte” frame ON TOP */
body::after{
  content:"";
  position: fixed;
  inset: 18px;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 9999;

  box-shadow:
    0 0 0 9999px var(--bg),                 /* matte */
    inset 0 0 0 1px rgba(255,255,255,.08),  /* inner highlight */
    inset 0 0 0 2px rgba(0,0,0,.35);        /* subtle depth */
  border: 1px solid rgba(255,255,255,.06);
}

/* Keep anchor targets from hiding under sticky header */
#work, #about, #contact{ scroll-margin-top: 92px; }

/* Page width (aligns nav + mosaic) */
.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
  box-sizing: border-box;
}

/* =========================================================================
   Sticky header (right-aligned nav)
   ========================================================================= */
.site-header{
  position: sticky;
  top: 18px;   /* match your inset/padding */
  z-index: 40;

  width: 100%;
  margin: 0 0 8px;
  padding: 12px 0;

  background: rgba(14,15,18,.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 0;           /* no box border */
  border-radius: 0;    /* no rounding */
}

.site-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(12px, 2vw, 24px); /* matches .page so nav stays aligned with mosaic */
  box-sizing: border-box;
}

.site-nav{
  display: flex;
  gap: 14px;
}

.site-nav a{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: .06em;
  padding: 6px 6px;
  border-radius: 10px;
  position: relative;
}

.site-nav a:hover,
.site-nav a:focus-visible{
  color: rgba(255,255,255,.92);
  outline: none;
  background: rgba(255,255,255,.06);
}

/* Active nav underline (subtle) */
.site-nav a.is-active::after{
  content:"";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 3px;
  height: 1px;
  background: rgba(255,255,255,.35);
}

/* =========================================================================
   Slim hero
   ========================================================================= */
.hero{
  padding: 18px 0 10px;
}

.hero-title{
  font-family: "Founders Grotesk", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  font-size: clamp(36px, 5.5vw, 52px);
  font-weight: 600;
  font-style: normal;
  letter-spacing: .01em;
  line-height: 1.0;
  margin: 0 0 4px;
}

.hero-sub{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-family: "Founders Grotesk", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.35;
}

/* =========================================================================
   Mosaic grid
   ========================================================================= */
.mosaic{
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 0 10px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tile{
  position: relative;
  display: block;
  border-radius: var(--tileRadius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);

  background: #111;
  border: 1px solid rgba(255,255,255,.02);
  aspect-ratio: 2 / 1;

  transform: none; /* no “breathing” */
  transition: border-color 180ms ease;
}

.tile:hover{ border-color: rgba(255,255,255,.08); }

.tile[aria-expanded="true"]{
  /* Border stays subtle — the SVG outline (below) is the active cue. */
  box-shadow:
    0 0 26px var(--glow),
    0 22px 70px rgba(0,0,0,.62);
}

.tile:focus-visible{
  outline: 2px solid rgba(255,255,255,.60);
  outline-offset: 3px;
}

.tile-img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1) contrast(1); /* neutral */
  transform: none;
  transition: transform 480ms cubic-bezier(.2,.7,.2,1), filter 220ms ease;
}

.tile:hover .tile-img{
  transform: scale(1.035);
  filter: saturate(1.12) brightness(1.05) contrast(1.08);
}

/* Outline that draws in around the perimeter when the tile is active
   (drawer open) and holds while the drawer remains open. */
.tile-outline{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.tile-outline rect{
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 700ms cubic-bezier(.45, .05, .25, 1);
}

.tile[aria-expanded="true"] .tile-outline rect{
  stroke-dashoffset: 0;
}

/* Optional overlay/text (currently off; you’ll bake into GIFs) */
.tile-shade{ display:none; }
.tile-meta{ display:none; }

/* =========================================================================
   Drawer (spill-down)
   ========================================================================= */
.drawer{
  grid-column: 1 / -1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 280ms ease,
    opacity 220ms ease,
    transform 220ms ease;
  position: relative;
}

.drawer.is-open{
  max-height: 1400px;
  opacity: 1;
  transform: translateY(0);
}

.drawer-inner{
  display: block;
  padding: 18px 18px 16px;
  position: relative;
}

/* Drawer title (Satoshi headings consistency) */
.drawer-title{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(255,255,255,.10);
}

/* Drawer columns (adaptive) */
.drawer-cols{
  display: grid;
  gap: 12px 14px;
}

.drawer-cols.cols-1{ grid-template-columns: 1fr; }
.drawer-cols.cols-2{ grid-template-columns: 0.9fr 1.1fr; }
.drawer-cols.cols-3{ grid-template-columns: 0.9fr 1.2fr 1fr; }

.drawer-panel{
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 6px 0 0;
}

.panel-title{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.50);
  margin-bottom: 8px;
}

/* Subtle vertical dividers between panels (desktop only) */
@media (min-width: 901px){
  .drawer-cols{ gap: 0; }
  .drawer-panel{ padding: 6px 16px 0; }
  .drawer-panel + .drawer-panel{ border-left: 1px solid rgba(255,255,255,.10); }
  .drawer-panel:first-child{ padding-left: 0; }
  .drawer-panel:last-child{ padding-right: 0; }
}

/* =========================================================================
   Left meta + broadcaster logos
   ========================================================================= */
.meta-stack{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.broadcaster-logos{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.broadcaster-logo{
  display: block;
  height: 35px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: .92;
}

/* Per-logo sizing modifiers */
.broadcaster-logo.logo--xs{ height: 22px; max-width: 130px; }
.broadcaster-logo.logo--sm{ height: 26px; max-width: 150px; }
.broadcaster-logo.logo--lg{ height: 40px; max-width: 200px; }


.meta-row{
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255,255,255,.80);
  font-size: 14px;
}
.meta-item{
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.meta-dot{
  color: rgba(255,255,255,.35);
}

/* =========================================================================
   Credits
   ========================================================================= */
.credits{
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.credit{ margin-top: 10px; }

.credit-k{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.50);
  margin-bottom: 4px;
}

.credit-v{
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.90);
}

.credit-v .credit-line{
  margin: 2px 0;
  line-height: 1.2;
}
.credit-v .credit-line:first-child{ margin-top: 0; }

/* =========================================================================
   Awards / Press lists (fade dividers)
   ========================================================================= */
.drawer-list{
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
}

/* remove legacy borders */
.drawer-list li{ border-top: 0 !important; }

.drawer-list > li{
  position: relative;
  padding: 10px 0;
}

.drawer-list > li::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--ruleA) 0%, var(--ruleA) 55%, var(--ruleB) 100%);
  opacity: 0;
}

/* Normal lists: show divider except first item */
.drawer-list > li:not(:first-child)::before{ opacity: 1; }
.drawer-list > li:first-child{ padding-top: 2px; }

.list-top{
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.25;
}
.list-sub{
  color: rgba(255,255,255,.65);
  font-size: 13px;
  margin-top: 3px;
}

/* Links: underline wipe */
.drawer-link{
  color: inherit;
  text-decoration: none;
  display: block;
}

.drawer-link .list-top{
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 260ms ease;
  padding-bottom: 2px;
}

.drawer-link:hover .list-top,
.drawer-link:focus-visible .list-top{
  background-size: 100% 1px;
}

.drawer-empty{
  color: rgba(255,255,255,.65);
  padding-top: 4px;
}

/* Awards: nested list (no dividers between awards) */
.sublist{
  margin: 4px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.sublist li{
  margin: 3px 0;
  color: rgba(255,255,255,.70);
  line-height: 1.15;
  font-size: 13px;
}
.sublist li::before{ display: none !important; }

/* =========================================================================
   Press-wide (no awards, lots of press)
   - Press panel spans two columns
   - Press list is a true 2-column grid
   - Dividers start from row 2 (items 3+) to avoid “widow” line
   ========================================================================= */

@media (min-width: 901px){
  .drawer-cols.press-wide-layout .press-panel.press-wide{
    grid-column: 2 / -1;
  }

  .press-cols{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .press-col{
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

/* =========================================================================
   Drawer footer / close
   ========================================================================= */

   .drawer-footer{
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.drawer-close{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  letter-spacing: .12em;
  cursor: pointer;
  margin-left: auto;
}

.clip-btn{
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  font-family: "Founders Grotesk", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .005em;
  text-transform: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.clip-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.32);
  color: #fff;
}

.clip-btn:active{
  transform: scale(0.97);
}

.clip-btn__icon{
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  fill: currentColor;
}

.clip-btn:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
  border-radius: 999px;
}



.drawer-close:hover{ color: rgba(255,255,255,.92); }

.drawer-close:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =========================================================================
   Clip lightbox modal — hidden by default; shown when .is-open
   ========================================================================= */
.clip-modal{
  display: none;
}

.clip-modal.is-open{
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.clip-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
  cursor: pointer;
}

.clip-panel{
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.clip-x{
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  letter-spacing: .12em;
  cursor: pointer;
  padding: 4px 8px;
}

.clip-x:hover{ color: #fff; }

.clip-media iframe,
.clip-media video{
  display: block;
  width: 90vw;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

/* =========================================================================
   Drawer content reveal (filmic stagger) + scanner pass
   ========================================================================= */
.drawer .drawer-title,
.drawer .drawer-panel,
.drawer .drawer-actions{
  opacity: 0;
  transform: translateY(10px);
}

.drawer.is-open .drawer-title{
  animation: riseFade 340ms ease-out 40ms forwards;
}

.drawer.is-open .drawer-panel:nth-child(1){ animation: riseFade 360ms ease-out 90ms forwards; }
.drawer.is-open .drawer-panel:nth-child(2){ animation: riseFade 360ms ease-out 140ms forwards; }
.drawer.is-open .drawer-panel:nth-child(3){ animation: riseFade 360ms ease-out 190ms forwards; }

.drawer.is-open .drawer-actions{ animation: riseFade 360ms ease-out 240ms forwards; }

.drawer.is-open .drawer-list > li{
  opacity: 0;
  transform: translateY(8px);
  animation: riseFade 360ms ease-out forwards;
}

.drawer.is-open .drawer-list > li:nth-child(1){ animation-delay: 180ms; }
.drawer.is-open .drawer-list > li:nth-child(2){ animation-delay: 210ms; }
.drawer.is-open .drawer-list > li:nth-child(3){ animation-delay: 240ms; }
.drawer.is-open .drawer-list > li:nth-child(4){ animation-delay: 270ms; }
.drawer.is-open .drawer-list > li:nth-child(5){ animation-delay: 300ms; }
.drawer.is-open .drawer-list > li:nth-child(6){ animation-delay: 330ms; }
.drawer.is-open .drawer-list > li:nth-child(7){ animation-delay: 360ms; }
.drawer.is-open .drawer-list > li:nth-child(8){ animation-delay: 390ms; }
.drawer.is-open .drawer-list > li:nth-child(9){ animation-delay: 420ms; }
.drawer.is-open .drawer-list > li:nth-child(10){ animation-delay: 450ms; }

@keyframes riseFade{
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scanner pass */
.drawer::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.00) 35%,
    rgba(255,255,255,.10) 46%,
    rgba(255,255,255,.00) 58%,
    transparent 100%
  );
  transform: translateX(-60%) skewX(-12deg);
  opacity: 0;
}

.drawer.is-open::before{
  opacity: 1;
  animation: scannerPass 720ms ease-out 60ms forwards;
}

@keyframes scannerPass{
  0%   { transform: translateX(-60%) skewX(-12deg); opacity: 0; }
  15%  { opacity: .65; }
  70%  { opacity: .35; }
  100% { transform: translateX(60%) skewX(-12deg); opacity: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .drawer *{ animation: none !important; transition: none !important; }
  .drawer .drawer-title,
  .drawer .drawer-panel,
  .drawer .drawer-actions{ opacity: 1; transform: none; }
  .drawer::before{ display: none; }
}

/* =========================================================================
   About: text in 2 internal columns + portrait as the third column
   ========================================================================= */
.about-layout{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 10px;
}

.about-columns{
  column-count: 2;
  column-gap: 44px;
}

.about-columns .section-body{
  max-width: none;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-top: 12px;
}

.about-columns .section-body:first-child{ margin-top: 0; }

.about-portrait{
  margin: 0;
}

.about-portrait img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Highlighted award names within prose */
.about-text .award{
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  padding-bottom: 1px;
}

@media (max-width: 900px){
  .about-layout{ grid-template-columns: 1fr; gap: 22px; }
  .about-columns{ column-count: 1; }
}

/* =========================================================================
   Sections + “Selected outlets” strip (clean list with dots)
   ========================================================================= */
.section{
  padding: 34px 0 22px;
}

.section-title{
  font-family: "Satoshi", system-ui, -apple-system, "SF Pro Display", Helvetica, Arial, sans-serif;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
}

.section-body{
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  max-width: none;
}

.section + .section{ margin-top: 18px; }

/* =========================================================================
   Contact list (IMDb · LinkedIn etc.)
   ========================================================================= */
.contact-list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  letter-spacing: .04em;
}

.contact-list li{
  display: inline-flex;
  align-items: center;
}

.contact-list li + li::before{
  content: "\00B7";
  color: rgba(255,255,255,.28);
  margin: 0 12px;
}

.contact-list a{
  color: rgba(255,255,255,.78);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 260ms ease, color 180ms ease;
  padding-bottom: 2px;
}

.contact-list a:hover,
.contact-list a:focus-visible{
  color: rgba(255,255,255,.95);
  background-size: 100% 1px;
  outline: none;
}

.boast{
  padding: 18px 0 6px;
  margin-top: 6px;
  margin-bottom: 34px;
}

/* =========================================================================
   Logo marquee (Selected outlets — slow infinite slider)
   ========================================================================= */
.logo-marquee{
  position: relative;
  margin: 14px 0 0;
  overflow: hidden;
  /* Edge fades so logos enter/exit gracefully */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}

.logo-marquee__track{
  display: flex;
  width: max-content;
  animation: logo-scroll 45s linear infinite;
}

.logo-marquee__list{
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 0;
  padding: 0 56px 0 0;   /* matches gap so the seam between copies is invisible */
  list-style: none;
  flex-shrink: 0;
}

.logo-marquee__list li{
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track{
  animation-play-state: paused;
}

@keyframes logo-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .logo-marquee__track{ animation: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px){
  .mosaic{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .mosaic{
    grid-template-columns: 1fr;
  }
  .site-header__inner{ justify-content: flex-start; }
}


.logo-marquee img{
  height: 40px;
  width: auto;
  max-width: 280px;
  display: block;
  opacity: .82;
  /* Force monochrome white so simpleicons (black) and Wikipedia (brand-coloured)
     SVGs read consistently on the dark background. */
  filter: brightness(0) invert(1);
}

/* per-logo tweaks for fine-tuning specific marks */
.logo-marquee img.logo--xs{ height: 28px; max-width: 200px; }
.logo-marquee img.logo--sm{ height: 34px; max-width: 240px; }
.logo-marquee img.logo--lg{ height: 48px; max-width: 320px; }

/* Keep brand colour on iconic marks (e.g. NatGeo yellow, Showtime red) */
.logo-marquee img.logo--keep-color{
  filter: none;
  opacity: 1;
}

.press-quote{
  margin-top: 6px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.35;
  font-style: italic;
}

.drawer-link.has-quote .list-top{
  color: rgba(255,255,255,.95);
}

/* Reset native button chrome inside the drawer footer; styling itself
   comes from the base .clip-btn rule above. */
.drawer-footer .clip-btn{
  -webkit-appearance: none;
  appearance: none;
}

.clip-btns{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}