/* Ben Fox Media — one stylesheet for every page.
   Layout: fixed black sidebar (logo + lowercase nav) with a white rule;
   the active page is marked by a dot to the left of that rule. */
:root {
  --bf-mint: #A8E8C5;
  --bf-aqua: #13F1D5;
  --bf-cyan: #01D4FB;
  --bf-sand: #E6D7C1;
  --bf-lilac: #E5C8FF;
  --bf-pink: #F53A6C;
  --bg: #000;
  --fg: #fff;
  --muted: #a9a4ad;      /* grey nudged toward the lilac */
  --line: #2a272d;
  --section: var(--bf-pink); /* each page overrides this with its own logo colour */
  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;
  --sidebar: 280px;
  color-scheme: dark;
}
/* one brand colour per page: home pink, about mint, commercial aqua, unscripted lilac, resume sand, film cyan */
body.page-about   { --section: var(--bf-mint); }
body.page-film    { --section: var(--bf-cyan); }

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  overflow-x: hidden;
}
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--section); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--bf-aqua); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar);
  padding: 2rem 0 2rem max(1.75rem, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 2.5rem;
}
.sidebar::after { /* the white rule */
  content: ""; position: absolute; right: 0; top: 1.5rem; bottom: 1.5rem; width: 4px; background: var(--fg);
}
.logo { width: 150px; height: auto; display: block; }
.logo-link { display: inline-block; text-decoration: none; }
.logo-link picture { display: block; }
.nav-toggle, .mobile-social { display: none !important; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.nav a {
  position: relative; display: block; padding-block: .15rem;
  font: 700 2.1rem/1.15 var(--display); letter-spacing: -.02em;
  color: var(--fg); text-decoration: none; transition: color .15s;
  white-space: nowrap; padding-right: 32px;
}
.nav a[href="index.html"]:hover { color: var(--bf-pink); }
.nav a[href="about.html"]:hover { color: var(--bf-mint); }
.nav a[href="commercial.html"]:hover { color: var(--bf-aqua); }
.nav a[href="unscripted.html"]:hover { color: var(--bf-lilac); }
.nav a[href="film.html"]:hover { color: var(--bf-cyan); }
.nav a[href="resume.html"]:hover { color: var(--bf-sand); }
.nav a[aria-current="page"] { color: var(--section); }
.nav a[aria-current="page"]::after { /* circular dot positioned symmetrically between end of 'commercial' and the divider bar */
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  right: 35px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--section);
  z-index: 2;
}
.sidebar .social { margin-top: auto; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .95rem; padding-right: 1.5rem; }
.sidebar .social a { color: var(--muted); text-decoration: none; }
.sidebar .social a:hover { color: var(--fg); }

/* ---------- Main column ---------- */
main {
  margin-left: var(--sidebar);
  padding-block: 4.5rem 3rem;
  padding-left: max(3.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(3.5rem, env(safe-area-inset-right, 0px));
  display: grid; gap: 4rem; max-width: calc(var(--sidebar) + 1400px);
}
footer {
  margin-left: var(--sidebar); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
  padding-block: 1.5rem 2rem;
  padding-left: max(3.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(3.5rem, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h1 .mark { color: var(--section); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.lede {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  margin: 1rem 0 0;
  text-wrap: pretty;
}
.eyebrow { font: 600 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--section); margin: 0 0 .9rem; }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.todo { color: var(--muted); font-style: italic; } /* placeholder copy Ben replaces */

/* ---------- Reel frame (white outline, as in the mockup) ---------- */
.frame { border: 3px solid var(--fg); padding: clamp(8px, 1.2vw, 16px); max-width: 100%; }
.reel { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; background: #000 center/cover no-repeat; overflow: hidden; }
.reel iframe, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.reel video { cursor: pointer; }
.reel-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.reel-actions { display: inline-flex; align-items: baseline; gap: .85rem; }

/* Sound toggle button for hero reel */
.sound-btn {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(13, 12, 14, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.sound-btn:hover {
  background: #000;
  border-color: #fff;
  color: var(--section);
  transform: translateY(-1px);
}
.sound-btn svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* ---------- Section links on home ---------- */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.door {
  display: grid; gap: .5rem; padding: 1.5rem 1.5rem 1.75rem; text-decoration: none; color: var(--fg);
  border-top: 6px solid var(--c); background: #0d0c0e; transition: transform .2s, background .2s;
}
.door:hover { color: var(--fg); background: #17151a; transform: translateY(-3px); }
.door h3 { color: var(--c); font-size: 2rem; }
.door p { margin: 0; color: var(--muted); }

/* ---------- Work grids ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.card { display: grid; gap: .6rem; align-content: start; color: var(--fg); text-decoration: none; min-width: 0; }
.card:hover h3 { color: var(--section); }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.meta { font: 600 .75rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--section); }
.ph { /* stand-in for an image Ben will supply */
  aspect-ratio: var(--ratio, 16 / 9); max-width: 100%; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #111 0 12px, #0b0b0b 12px 24px);
  border: 1px dashed #3a363e; color: #6f6a74; font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
}
.photos { columns: 3 240px; column-gap: 1rem; }
.photos .ph { margin: 0 0 1rem; break-inside: avoid; }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list a { display: grid; grid-template-columns: 7rem 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.25rem 0; color: var(--fg); text-decoration: none; }
.list a:hover h3 { color: var(--section); }
.list time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }
.list .out { color: var(--muted); font-size: .9rem; }
.list p { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; }

.split { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); align-items: start; }
.about-aside { display: flex; flex-direction: column; gap: 2rem; max-width: 440px; width: 100%; }
.facts { display: grid; gap: 1.25rem; margin: 0; }
.facts dt { font: 600 .75rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--section); }
.facts dd { margin: .35rem 0 0; }
.button { display: inline-block; padding: .75rem 1.4rem; border: 2px solid var(--fg); color: var(--fg); text-decoration: none; font: 600 1rem/1 var(--display); letter-spacing: .04em; }
.button:hover { background: var(--fg); color: var(--bg); }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 860px) {
  :root { --sidebar: 0px; }
  .sidebar {
    position: sticky; top: 0; z-index: 100;
    width: 100%; height: auto;
    display: flex; flex-direction: row; justify-content: space-between; align-items: center;
    padding: .85rem max(16px, env(safe-area-inset-right, 0px)) .85rem max(16px, env(safe-area-inset-left, 0px));
    background: var(--bg);
    border-bottom: 2px solid var(--fg);
    transition: border-color .2s ease;
  }
  body.nav-open .sidebar { border-bottom-color: transparent; }
  .sidebar::after, .sidebar > .social { display: none; }
  .logo-link { display: flex; align-items: center; text-decoration: none; z-index: 102; }
  .logo { width: min(190px, 52vw); max-width: 210px; height: auto; display: block; margin: 0; }

  /* Hamburger toggle button */
  .nav-toggle {
    display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px;
    background: transparent; border: 0; padding: 0; margin: 0;
    cursor: pointer; z-index: 102;
    color: var(--fg);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible {
    outline: 2px solid var(--section);
    outline-offset: 2px;
  }
  .nav-toggle .line {
    display: block; width: 22px; height: 2px;
    background-color: var(--fg);
    border-radius: 1px;
    transform-origin: center;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease;
  }
  .nav-toggle.is-active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-active .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.is-active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Fullscreen mobile navigation overlay */
  #main-nav {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: rgba(13, 12, 14, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    z-index: 101;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 5rem 2rem 3rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s cubic-bezier(0.16, 1, 0.3, 1), visibility .25s;
    transform: translateY(-8px);
  }
  body.nav-open #main-nav {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
  }
  .nav {
    display: flex; flex-direction: column; align-items: center; gap: 1.15rem;
    list-style: none; margin: 0; padding: 0;
    width: 100%; max-width: 320px;
    text-align: center;
  }
  .nav li {
    width: 100%; text-align: center;
    display: block; order: unset !important;
  }
  .nav a {
    font: 700 clamp(1.75rem, 6vw, 2.35rem)/1.2 var(--display);
    color: var(--fg); text-decoration: none;
    letter-spacing: -.02em;
    padding: .35rem .75rem;
    display: inline-block;
    transition: color .15s, transform .15s;
    white-space: nowrap;
  }
  .nav a:hover, .nav a:active {
    transform: scale(1.05);
  }
  .nav a[href="index.html"]:hover, .nav a[href="index.html"]:active { color: var(--bf-pink); }
  .nav a[href="about.html"]:hover, .nav a[href="about.html"]:active { color: var(--bf-mint); }
  .nav a[href="commercial.html"]:hover, .nav a[href="commercial.html"]:active { color: var(--bf-aqua); }
  .nav a[href="unscripted.html"]:hover, .nav a[href="unscripted.html"]:active { color: var(--bf-lilac); }
  .nav a[href="film.html"]:hover, .nav a[href="film.html"]:active { color: var(--bf-cyan); }
  .nav a[href="resume.html"]:hover, .nav a[href="resume.html"]:active { color: var(--bf-sand); }
  .nav a[aria-current="page"] {
    color: var(--section);
  }
  .nav a[aria-current="page"]::after {
    content: ""; display: block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--section); margin: 6px auto 0;
    position: static; transform: none; -webkit-clip-path: none; clip-path: none;
  }
  .mobile-social {
    display: flex !important; gap: 1.5rem; justify-content: center;
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    width: min(280px, 80%);
  }
  .mobile-social a {
    color: var(--muted); text-decoration: none; font-size: 1rem;
    font-family: var(--display); font-weight: 600; letter-spacing: .06em;
    transition: color .15s;
  }
  .mobile-social a:hover {
    color: var(--fg);
  }
  main, footer { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  main { padding-block: 2.5rem 2rem; gap: 3rem; }
  .split { grid-template-columns: 1fr; gap: 2.75rem; }
  .about-aside { gap: 1.5rem; }
  .list a { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Brand dot motif (five-dot X, colours rotating) ---------- */
.dots { height: 40px; max-width: 100%; background: url("assets/dots.svg") left center / 80px 40px repeat-x; }
footer .dots { height: 24px; background-size: 48px 24px; margin-bottom: 1rem; width: 336px; }
.dots--short { width: 160px; margin-top: 1rem; }
.portrait { max-width: 440px; }
.dots--portrait { width: 100%; margin-top: 1rem; background-repeat: space no-repeat; background-position: center; }
.intro { display: grid; gap: 0; }
.intro::before {
  content: ""; display: block;
  margin-left: clamp(11px, 1.2vw + 3px, 19px);
  width: calc(100% - clamp(22px, 2.4vw + 6px, 38px));
  max-width: calc(100% - clamp(22px, 2.4vw + 6px, 38px));
  height: 40px; margin-bottom: 1.5rem;
  background: url("assets/dots.svg") center center / 80px 40px;
  background-repeat: space no-repeat;
  background-position: center;
}
.portrait { margin: 0; }
.portrait img { width: 100%; max-width: 440px; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--fg); padding: 10px; background: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Brands page ---------- */
body.page-brands, body.page-commercial { --section: var(--bf-aqua); }
.brand-wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-wall li { flex: 0 1 calc((100% - 5 * 12px) / 6); min-width: 0; }
.brand-wall .cell { position: relative; height: 100%; display: grid; place-items: center; align-content: center; gap: .9rem; min-height: 160px; padding: 2rem 1rem 1.4rem; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.brand-wall .cell::before { content: ""; position: absolute; top: 12px; left: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.brand-wall li:nth-child(6n+1) { --dot: var(--bf-pink); }  .brand-wall li:nth-child(6n+2) { --dot: var(--bf-lilac); }
.brand-wall li:nth-child(6n+3) { --dot: var(--bf-cyan); }  .brand-wall li:nth-child(6n+4) { --dot: var(--bf-mint); }
.brand-wall li:nth-child(6n+5) { --dot: var(--bf-sand); }  .brand-wall li:nth-child(6n+6) { --dot: var(--bf-aqua); }
.brand-wall .cell:hover { background: #0d0c0e; border-color: var(--dot); }
.brand-logo { height: 46px; width: auto; max-width: 75%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; transition: opacity .2s, transform .2s; }
.brand-wall .cell:hover .brand-logo { opacity: 1; transform: scale(1.04); }
.brand-name { font: 700 1.6rem/1.05 var(--display); letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.brand-wall .cell:hover .brand-name { color: var(--dot); }
.brand-wall .meta { color: var(--muted); text-align: center; }
@media (max-width: 1200px) { .brand-wall li { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 860px) {
  .brand-wall { gap: 8px; }
  .brand-wall li { flex-basis: calc((100% - 8px) / 2); }
  .brand-wall .cell { min-height: 120px; padding: 1.5rem .75rem 1.2rem; }
  .brand-logo { height: 36px; max-width: 80%; }
  .brand-name { font-size: 1.25rem; }
}
@media (max-width: 380px) {
  .brand-wall li { flex-basis: 100%; }
  .brand-wall .cell { min-height: 105px; padding: 1.2rem .75rem 1rem; }
}
.brand { display: grid; gap: 1.5rem; scroll-margin-top: 2rem; }
.brand-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; border-top: 3px solid var(--fg); padding-top: 1rem; }
.brand-head p { margin: 0; }

body.page-unscripted { --section: var(--bf-lilac); }
.small { font-size: .95rem; margin-top: 1.5rem; }

/* ---------- About: services + contact ---------- */
.services { display: grid; gap: .85rem; width: 100%; max-width: 440px; }
.services .eyebrow { margin: 0; font-size: .85rem; letter-spacing: .14em; }
.service-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.65rem, 2vw, .85rem); width: 100%; }
.service-grid > div {
  padding: 1.15rem clamp(.75rem, 2vw, 1.05rem) 1.25rem;
  border-top: 3px solid var(--section);
  background: #0d0c0e;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.service-grid dt { font: 700 clamp(1.05rem, 2.5vw, 1.15rem)/1.15 var(--display); letter-spacing: -.01em; }
.service-grid dd { margin: .45rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.service-grid > div:nth-child(2) { border-color: var(--bf-cyan); }
.service-grid > div:nth-child(3) { border-color: var(--bf-lilac); }
.service-grid > div:nth-child(4) { border-color: var(--bf-sand); }
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 2rem; border-block: 1px solid var(--line); }
.contact-band p { margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.button--ghost { border-color: var(--line); color: var(--muted); }
.button--ghost:hover { border-color: var(--fg); }
.card--thumb { display: block; text-decoration: none; position: relative; }
.ph.thumb {
  position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, #111 0 12px, #0b0b0b 12px 24px);
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ph.thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s cubic-bezier(0.2, 0.8, 0.2, 1), filter .35s ease;
}
.card--thumb:hover .ph.thumb,
.feature-media:hover .ph.thumb {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
}
.card--thumb:hover .ph.thumb img,
.feature-media:hover .ph.thumb img,
.tile:hover .ph.thumb img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.ph.thumb .play-badge { position: relative; }
.play-badge {
  width: 0; height: 0;
  border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 30px solid var(--fg);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
  transition: border-left-color .2s, transform .25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .play-badge,
.card--thumb:hover .play-badge,
.feature-media:hover .play-badge {
  border-left-color: var(--section);
  transform: scale(1.12);
}
.reel-facade { display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.reel-facade:hover .play-badge { border-left-color: var(--section); transform: scale(1.12); }
.reel-facade .play-badge { border-top-width: 30px; border-bottom-width: 30px; border-left-width: 50px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card-links { margin: -.1rem 0 0; font-size: .95rem; color: var(--muted); grid-column: auto; }
.card-wrap { display: grid; gap: .5rem; align-content: start; min-width: 0; }

/* ---------- Home: section tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tile { display: grid; gap: .8rem; color: var(--fg); text-decoration: none; min-width: 0; }
.tile .ph { border: 0; border-bottom: 6px solid var(--c); transition: filter .2s, transform .2s; }
.tile h3 { font-size: 2rem; transition: color .2s; }
.tile:hover h3 { color: var(--c); }
.tile:hover .ph { transform: translateY(-3px); filter: brightness(1.1); }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; gap: 1.35rem; }
  .tile { position: relative; display: block; }
  .tile .ph { border-bottom: 6px solid var(--c); }
  .tile .ph::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
    pointer-events: none;
    z-index: 1;
  }
  .tile h3 {
    position: absolute;
    left: clamp(1rem, 4.5vw, 1.4rem);
    bottom: calc(6px + clamp(.55rem, 2.5vw, .85rem));
    margin: 0;
    font-size: clamp(2rem, 7.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
    z-index: 2;
    pointer-events: none;
    transition: color .2s;
  }
  .tile:hover h3,
  .tile:active h3 {
    color: var(--c);
  }
}

/* ---------- Unscripted: featured series ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.feature-media { display: block; text-decoration: none; }
.feature-media .ph { border: 0; }
.feature-media .play-badge { border-top-width: 30px; border-bottom-width: 30px; border-left-width: 50px; }
.feature-media:hover .play-badge { border-left-color: var(--section); }
.feature-text { display: grid; gap: .6rem; }
.feature-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.feature-text p { margin: 0; color: var(--muted); }
@media (max-width: 1100px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Resume ---------- */
body.page-resume { --section: var(--bf-sand); }
.resume-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; }
.resume-contact { margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.resume { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.resume-h { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--section); border-bottom: 3px solid var(--fg); padding-bottom: .6rem; margin-bottom: 1.25rem; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.job { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; }
.job-when { display: grid; gap: .2rem; font-size: .95rem; font-variant-numeric: tabular-nums; align-content: start; padding-top: .2rem; }
.job h3 { font-size: 1.35rem; }
.job-org { margin: .25rem 0 0; color: var(--section); font-weight: 600; }
.job ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 1rem; display: grid; gap: .35rem; }
.resume-side { display: grid; gap: 2.25rem; }
.resume-side h3 { font-size: 1.15rem; margin-top: .4rem; }
.resume-side p { margin: .25rem 0 .9rem; color: var(--muted); font-size: 1rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; color: var(--muted); font-size: 1rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1px solid var(--line); padding: .3rem .7rem; font-size: .9rem; color: var(--fg); }
@media (max-width: 1000px) { .resume { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; gap: .4rem; } .job-when { grid-auto-flow: column; justify-content: start; gap: 1rem; } }

/* ---------- Commercial: social (vertical) ---------- */
.grid--social { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.grid--social .ph { aspect-ratio: 9 / 16; }

/* ---------- Click-to-play video (video.js) ---------- */
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
a.is-playing { cursor: default; }

/* ---------- Separate Video Player Window (Modal) ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3.5vw, 2.5rem);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.video-modal.is-open {
  opacity: 1; pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.video-modal-dialog {
  position: relative; z-index: 2;
  width: 100%; max-width: min(92vw, 1100px);
  background: #0d0c0e;
  border: 3px solid var(--fg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .9);
  display: flex; flex-direction: column;
  transform: scale(0.97);
  transition: transform .24s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-modal.is-open .video-modal-dialog {
  transform: scale(1);
}
.video-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: .75rem 1.25rem;
  background: #000; border-bottom: 2px solid var(--line);
}
.video-modal-info {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem;
  min-width: 0; flex: 1 1 auto;
}
.video-modal-meta {
  font: 600 .75rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--section);
  flex-shrink: 0;
}
.video-modal-title {
  margin: 0; font: 700 1.2rem/1.2 var(--display); letter-spacing: -.01em;
  color: var(--fg);
  overflow-wrap: break-word; word-break: break-word;
}
.video-modal-close {
  flex-shrink: 0; width: 36px; height: 36px;
  display: grid; place-items: center; padding: 0;
  background: transparent; color: var(--fg);
  border: 2px solid var(--fg); cursor: pointer;
  transition: background .15s, color .15s;
}
.video-modal-close:hover {
  background: var(--fg); color: #000;
}
.video-modal-body {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-modal-body iframe, .video-modal-body video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Custom lightweight bottom control bar (prevents browser native hover darkening) */
.video-player-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 40px;
  padding: 0 .65rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(13, 12, 14, 0.85);
  border-top: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.video-modal-body:hover .video-player-bar,
.video-modal-body:focus-within .video-player-bar,
.video-modal-body.is-controls-visible .video-player-bar,
.video-modal-body.is-paused .video-player-bar {
  opacity: 1;
  pointer-events: auto;
}
.vp-btn {
  background: transparent;
  border: 0;
  color: var(--fg);
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}
.vp-btn:hover {
  color: var(--section);
  transform: scale(1.08);
}
.vp-scrub {
  --vp-progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--section) 0%, var(--section) var(--vp-progress), rgba(255, 255, 255, 0.25) var(--vp-progress), rgba(255, 255, 255, 0.25) 100%);
  cursor: pointer;
  margin: 0;
}
.vp-scrub::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg);
  border: 2px solid var(--section);
  cursor: pointer;
  transition: transform .12s ease;
}
.vp-scrub:hover::-webkit-slider-thumb {
  transform: scale(1.2);
}
.vp-scrub::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--fg);
  border: 2px solid var(--section);
  cursor: pointer;
}
.vp-time {
  font: 600 .72rem/1 var(--display);
  letter-spacing: .06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Vertical video player (Social / 9:16 shorts) */
.video-modal--vertical .video-modal-dialog {
  max-width: min(88vw, 420px);
}
.video-modal--vertical .video-modal-body {
  aspect-ratio: 9 / 16;
  max-height: calc(85vh - 54px);
}

.video-modal-notice {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem); text-align: center; background: #0e0d11; color: var(--fg);
  gap: .85rem;
}
.video-modal-notice h4 { font-size: 1.25rem; margin: 0; color: var(--fg); }
.video-modal-notice p { margin: 0; max-width: 52ch; font-size: .95rem; color: var(--muted); line-height: 1.45; }
.video-modal-notice code { background: #1c1a20; padding: .15rem .45rem; border-radius: 4px; font-size: .85rem; color: var(--section); border: 1px solid var(--line); }
.video-modal-notice .button { margin-top: .65rem; }

@media (max-width: 860px) {
  .video-modal {
    padding: max(8px, env(safe-area-inset-top, 8px)) max(8px, env(safe-area-inset-right, 8px)) max(8px, env(safe-area-inset-bottom, 8px)) max(8px, env(safe-area-inset-left, 8px));
  }
  .video-modal-dialog {
    max-width: 100%;
    max-height: calc(100dvh - 16px);
  }
  .video-modal-header { padding: .6rem .85rem; }
  .video-modal-title { font-size: 1.05rem; }
  .video-modal-close { width: 34px; height: 34px; }
  .video-modal--vertical .video-modal-dialog {
    max-width: min(94vw, 380px);
  }
  .video-modal--vertical .video-modal-body {
    max-height: calc(100dvh - 110px);
  }
}

/* ---------- Home headline ---------- */
.home-title { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0 0 1.25rem; }
@media (min-width: 861px) {
  /* headline and reel together fit one screen; headline top lines up with the logo top */
  body.page-home main { padding-top: 2rem; gap: 2.5rem; }
  body.page-home .home-title { font-size: clamp(1.4rem, 2.3vw, 2.4rem); line-height: 1; margin-top: -.12em; }
  body.page-home { --reel-w: max(420px, calc((100vh - 200px) * 16 / 9 + 38px)); }
  body.page-home .frame, body.page-home .reel-caption { max-width: var(--reel-w); }
  body.page-home .intro::before { max-width: calc(var(--reel-w) - clamp(22px, 2.4vw + 6px, 38px)); }
}
@media (min-width: 1250px) { body.page-home .home-title { white-space: nowrap; } }
.home-title .mark2 { color: var(--bf-cyan); }

/* ---------- Floating action buttons (Resume + Contact) ---------- */
/* Hidden for now per Ben's request; all styles and markup preserved */
.fab-group, .contact-fab, .resume-fab { display: none !important; }

.fab-group {
  position: fixed; z-index: 10;
  right: max(3.5rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  display: flex; gap: .6rem; align-items: center;
}
@media (min-width: 861px) {
  body.page-home .fab-group {
    right: max(3.5rem, calc(100vw - var(--sidebar) - 3.5rem - var(--reel-w)));
  }
}
.fab-group .contact-fab,
.fab-group .resume-fab {
  position: static;
  padding: .85rem 1.3rem; text-decoration: none;
  font: 700 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .55);
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.fab-group .contact-fab {
  background: var(--section); color: #000; border: 2px solid var(--section);
}
.fab-group .contact-fab:hover {
  background: var(--fg); border-color: var(--fg); transform: translateY(-2px);
}
.fab-group .resume-fab {
  background: #000; color: var(--fg); border: 2px solid var(--fg);
}
.fab-group .resume-fab:hover {
  background: var(--fg); color: #000; transform: translateY(-2px);
}
.contact-fab {
  position: fixed; z-index: 10;
  right: max(3.5rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  padding: .85rem 1.4rem; background: var(--section); color: #000; text-decoration: none;
  font: 700 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .55); transition: background .15s, transform .15s;
}
.contact-fab:hover { background: var(--fg); transform: translateY(-2px); }
.contact-fab:focus-visible, .resume-fab:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 860px) {
  .fab-group, .contact-fab { right: max(16px, env(safe-area-inset-right, 0px)); }
  .fab-group .contact-fab, .fab-group .resume-fab { padding: .75rem 1.1rem; font-size: .85rem; }
  footer { padding-bottom: max(2rem, env(safe-area-inset-bottom, 2rem)); }
}
.grid--social .player { aspect-ratio: 9 / 16; }
.lede--wide { max-width: none; }

/* Commercial cards: thumbnail plays, title links out */
.card-title { display: grid; gap: .6rem; color: var(--fg); text-decoration: none; min-width: 0; }
.card-title:hover h3 { color: var(--section); }
.card--thumb:hover .play-badge { border-left-color: var(--section); }
/* Fullscreen button on players */
.fs-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; color: #fff; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.6); cursor: pointer; }
.fs-btn:hover { background: #000; border-color: #fff; }
.player:fullscreen, .reel:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; background: #000; }
.player:-webkit-full-screen, .reel:-webkit-full-screen { aspect-ratio: auto; width: 100%; height: 100%; background: #000; }
.reel:fullscreen video, .reel:-webkit-full-screen video { object-fit: contain; }

/* Pseudo-fullscreen fallback for iOS mobile browsers */
body.has-pseudo-fullscreen {
  overflow: hidden !important;
  touch-action: none;
}
.reel.is-pseudo-fullscreen, .player.is-pseudo-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background: #000 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.reel.is-pseudo-fullscreen video, .reel.is-pseudo-fullscreen iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.reel.is-pseudo-fullscreen .fs-btn {
  top: max(16px, env(safe-area-inset-top, 16px));
  right: max(16px, env(safe-area-inset-right, 16px));
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.85);
  border-color: #fff;
}
.reel.is-pseudo-fullscreen .sound-btn {
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: max(16px, env(safe-area-inset-left, 16px));
}
.lede .mark { color: var(--section); }
.card-wrap > p { margin: 0; color: var(--muted); font-size: 1rem; }
.title-link { color: inherit; text-decoration: none; }
.title-link:hover { color: var(--section); }
body.page-resume .lede { max-width: 46ch; text-wrap: balance; }

/* ---------- Secret Brand Dot Pong Minigame ---------- */
.pong-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.pong-modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.pong-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.pong-box {
  position: relative; z-index: 1;
  width: min(740px, 95vw);
  background: #000;
  display: flex; flex-direction: column; gap: .75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.pong-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
}
.pong-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.pong-eyebrow {
  font-family: var(--display); font-size: .75rem; font-weight: 700;
  color: var(--bf-mint); letter-spacing: .14em; text-transform: uppercase;
}
.pong-title {
  margin: 0; font-family: var(--display); font-size: 1.4rem; font-weight: 700;
  letter-spacing: -.02em; color: #fff;
}
.pong-controls-hint {
  font-family: var(--display); font-size: .8rem; font-weight: 600;
  color: var(--muted); letter-spacing: .06em;
}
.pong-actions { display: inline-flex; align-items: center; gap: .6rem; }
.pong-btn-sound, .pong-close {
  background: transparent; border: 1px solid var(--line);
  color: var(--fg); cursor: pointer;
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  font-size: 1.3rem; line-height: 1;
  transition: border-color .15s, color .15s, background .15s;
}
.pong-btn-sound:hover, .pong-close:hover {
  border-color: #fff; color: var(--bf-aqua); background: #17151a;
}
.pong-btn-sound.is-muted { color: var(--muted); opacity: 0.6; }
.pong-arena {
  position: relative; width: 100%; aspect-ratio: 700 / 440;
  border: 1px solid var(--line); background: #000; overflow: hidden;
}
.pong-canvas {
  width: 100%; height: 100%; display: block;
  touch-action: none; cursor: ns-resize;
}
@media (max-width: 600px) {
  .pong-controls-hint { display: none; }
  .pong-title { font-size: 1.15rem; }
  .pong-box { padding: clamp(8px, 2vw, 12px); }
}

/* Branded "ping?" Easter Egg Trigger in Footer */
.ping-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0 4px;
  margin: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  vertical-align: baseline;
  transition: color .2s ease, transform .15s ease;
}
.ping-trigger:hover, .ping-trigger:focus-visible {
  color: var(--fg);
  transform: translateY(-1px);
}
.ping-trigger:focus-visible {
  outline: 1px dotted var(--section);
  outline-offset: 2px;
}
.ping-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--section);
  box-shadow: 0 0 6px var(--section);
  transition: background-color .3s ease, box-shadow .3s ease, transform .2s ease;
}
.ping-trigger:hover .ping-dot {
  background-color: var(--bf-pink);
  box-shadow: 0 0 9px var(--bf-pink);
  transform: scale(1.3);
}

/* ---------- 1. Cross-Document & Scoped View Transitions ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.sidebar {
  view-transition-name: site-sidebar;
}
@media (min-width: 861px) {
  .nav a[aria-current="page"]::after {
    view-transition-name: active-nav-dot;
  }
}

::view-transition-group(active-nav-dot) {
  animation-duration: 0.36s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes vt-fade-out-up {
  to { transform: translateY(-18px); opacity: 0; }
}
@keyframes vt-fade-in-up {
  from { transform: translateY(18px); opacity: 0; }
}
@keyframes vt-fade-out-down {
  to { transform: translateY(18px); opacity: 0; }
}
@keyframes vt-fade-in-down {
  from { transform: translateY(-18px); opacity: 0; }
}

html:active-view-transition-type(forward)::view-transition-old(root) {
  animation: 0.24s cubic-bezier(0.4, 0, 1, 1) both vt-fade-out-up;
}
html:active-view-transition-type(forward)::view-transition-new(root) {
  animation: 0.32s cubic-bezier(0, 0, 0.2, 1) 0.04s both vt-fade-in-up;
}
html:active-view-transition-type(backward)::view-transition-old(root) {
  animation: 0.24s cubic-bezier(0.4, 0, 1, 1) both vt-fade-out-down;
}
html:active-view-transition-type(backward)::view-transition-new(root) {
  animation: 0.32s cubic-bezier(0, 0, 0.2, 1) 0.04s both vt-fade-in-down;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* ---------- 2. Commercial Featured Video Slider ---------- */
.comm-slider {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  max-width: 100%;
}
.comm-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.comm-slider-track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: 4px;
}
.comm-slider-track::-webkit-scrollbar {
  display: none;
}
.comm-slider-track.is-teleporting {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}
.comm-slider-track.is-teleporting .comm-slide-inner {
  transition: none !important;
}
.comm-slide {
  flex: 0 0 min(88%, 820px);
  min-width: 0;
  scroll-snap-align: center;
  container-type: scroll-state;
}
.comm-slide-inner {
  background: #0d0c0e;
  border-color: var(--line);
  opacity: 0.52;
  scale: 0.97;
  transition:
    scale 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    border-color 0.3s ease,
    box-shadow 0.38s ease;
}
.comm-slide.is-snapped .comm-slide-inner {
  opacity: 1;
  scale: 1;
  border-color: var(--fg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  @supports (container-type: scroll-state) {
    @container scroll-state(snapped: x) {
      .comm-slide-inner {
        opacity: 1;
        scale: 1;
        border-color: var(--fg);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
      }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .comm-slide-inner {
    transition: none !important;
    scale: 1 !important;
    opacity: 1 !important;
  }
}
.comm-slide-link {
  display: grid;
  gap: .85rem;
  color: var(--fg);
  text-decoration: none;
}
.comm-slide-media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.comm-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}
.comm-slide-media .play-badge {
  position: relative;
  z-index: 2;
  border-top-width: 24px;
  border-bottom-width: 24px;
  border-left-width: 40px;
  opacity: 0.85;
  transition: opacity .2s ease, transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), border-left-color .2s;
}
.comm-slide-link:hover .play-badge {
  opacity: 1;
  border-left-color: var(--section);
  transform: scale(1.12);
}
.comm-slide-caption {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .15rem .25rem 0;
}
.comm-slide-caption h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  transition: color .15s;
}
.comm-slide-link:hover .comm-slide-caption h3 {
  color: var(--section);
}
.comm-slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.comm-slider-dots {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.comm-dot {
  position: relative;
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #2f2c33;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.comm-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.comm-dot:hover {
  background: var(--muted);
  transform: scale(1.2);
}
.comm-dot:nth-child(6n+1).is-active { background: var(--bf-pink); box-shadow: 0 0 8px var(--bf-pink); }
.comm-dot:nth-child(6n+2).is-active { background: var(--bf-lilac); box-shadow: 0 0 8px var(--bf-lilac); }
.comm-dot:nth-child(6n+3).is-active { background: var(--bf-cyan); box-shadow: 0 0 8px var(--bf-cyan); }
.comm-dot:nth-child(6n+4).is-active { background: var(--bf-mint); box-shadow: 0 0 8px var(--bf-mint); }
.comm-dot:nth-child(6n+5).is-active { background: var(--bf-sand); box-shadow: 0 0 8px var(--bf-sand); }
.comm-dot:nth-child(6n+6).is-active { background: var(--bf-aqua); box-shadow: 0 0 8px var(--bf-aqua); }
.comm-dot.is-active {
  transform: scale(1.3);
}
.comm-slider-arrows {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.comm-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #0d0c0e;
  color: var(--fg);
  border: 2px solid var(--fg);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.comm-arrow:hover {
  background: var(--section);
  border-color: var(--section);
  color: #000;
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .comm-slide {
    flex-basis: 92%;
  }
  .comm-slide-caption {
    gap: .5rem;
  }
  .comm-slide-caption .meta {
    font-size: .64rem;
    letter-spacing: .08em;
  }
  .comm-slide-caption .meta-role {
    font-size: .58rem;
    letter-spacing: .06em;
  }
  .comm-slide-caption h3 {
    font-size: clamp(.88rem, 3.6vw, 1.08rem);
  }
}

/* ---------- 3. Hover Video Previews ---------- */
.ph.thumb video.thumb-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity .28s ease;
}
.card--thumb.is-previewing .ph.thumb video.thumb-preview {
  opacity: 1;
}
.card--thumb .ph.thumb .play-badge {
  z-index: 2;
  transition: opacity .2s ease, transform .25s cubic-bezier(0.2, 0.8, 0.2, 1), border-left-color .2s;
}
.card--thumb.is-previewing .ph.thumb .play-badge {
  opacity: 0.25;
  transform: scale(0.85);
}

/* ---------- 4. Video Modal Playlist Controls & Up Next ---------- */
.video-modal-controls {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.video-modal-nav {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.video-modal-nav:hover {
  border-color: var(--section);
  color: var(--section);
  background: #141217;
}
.video-modal-upnext {
  position: absolute;
  right: 16px;
  bottom: 58px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: .75rem 1.1rem;
  background: rgba(13, 12, 14, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid var(--section);
  color: var(--fg);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .8);
  transition: transform .15s ease, background .15s ease;
}
.video-modal-upnext:hover {
  background: #000;
  transform: translateY(-2px);
}
.upnext-eyebrow {
  font: 700 .7rem/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--section);
}
.upnext-title {
  font: 700 .98rem/1.2 var(--display);
  color: var(--fg);
}

/* ---------- 5. Editor Shortcuts HUD ---------- */
.kb-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0 4px;
  margin: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color .2s ease;
}
.kb-trigger:hover {
  color: var(--fg);
}
.kb-trigger kbd,
.shortcuts-list kbd {
  display: inline-block;
  padding: .12rem .38rem;
  font: 600 .75rem/1.1 var(--display);
  color: var(--fg);
  background: #141217;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
}

.shortcuts-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.shortcuts-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.shortcuts-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.shortcuts-box {
  position: relative;
  z-index: 2;
  width: min(640px, 94vw);
  background: #0d0c0e;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .9);
}
.shortcuts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.shortcuts-title {
  font-size: 1.5rem;
  margin-top: .2rem;
}
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2rem;
}
.shortcuts-col h4 {
  margin: 0 0 .85rem;
  font: 700 .8rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.shortcuts-list {
  margin: 0;
  display: grid;
  gap: .6rem;
}
.shortcuts-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .95rem;
}
.shortcuts-list dt {
  flex-shrink: 0;
}
.shortcuts-list dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

/* ---------- 6. Color-Coded Credit Links, Branding Lockups & Next Section Portals ---------- */
.credit-pill {
  color: var(--bf-aqua);
  text-decoration: underline;
  text-decoration-color: var(--bf-aqua);
  text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.credit-pill--lilac {
  color: var(--bf-lilac);
  text-decoration-color: var(--bf-lilac);
}
.credit-pill--cyan {
  color: var(--bf-cyan);
  text-decoration-color: var(--bf-cyan);
}
.credit-pill:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

/* Branding Archive Lockups: Live to Farm badge, SuperJoy badge, Ben Fox extended-X wordmark */
.feature-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.feature-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0d0c0e;
  padding: 2px;
}
.resume-wordmark-h1 {
  margin: .15rem 0 0;
}
.resume-wordmark {
  height: clamp(3.1rem, 6.8vw, 5.2rem);
  width: auto;
  display: block;
}
.job-org {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.job-org-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
}

.next-portals {
  padding-top: 2.5rem;
  border-top: 3px solid var(--fg);
  display: grid;
  gap: 1.15rem;
}
.next-portals .eyebrow {
  margin: 0;
}
.tiles--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .tiles--2 {
    grid-template-columns: 1fr;
  }
}

/* Balanced 5-item bento grid (2 flagship top row + 3 bottom row) & 4-up grid */
@media (min-width: 900px) {
  .grid--bento-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .grid--bento-5 > .card-wrap {
    grid-column: span 2;
  }
  .grid--bento-5 > .card-wrap:nth-child(1),
  .grid--bento-5 > .card-wrap:nth-child(2) {
    grid-column: span 3;
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .grid--bento-5,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--bento-5 > .card-wrap:nth-child(1) {
    grid-column: 1 / -1;
  }
}

/* Always two-line Brand + Role metadata on cards */
.card-title .meta {
  display: flex;
  flex-direction: column;
  gap: .24rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-role {
  display: block;
  font-size: .68rem;
  line-height: 1.1;
  letter-spacing: .1em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grid--social .meta-role {
  font-size: .6rem;
  letter-spacing: .04em;
}
.comm-slide-caption .meta {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex-shrink: 0;
}

/* ---------- 7. Social 9:16 Swipe Feed & Poster Queue Drawer ---------- */
.reels-deck {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: .5rem;
  width: 100%;
}

.reels-stage-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: #080709;
  border: 1px solid var(--line);
  overflow: hidden;
  user-select: none;
}

.reels-ambient {
  position: absolute;
  inset: -25%;
  background-size: cover;
  background-position: center;
  filter: blur(46px) saturate(1.3) brightness(0.28);
  opacity: 0.75;
  pointer-events: none;
  transition: background-image 0.45s ease;
  z-index: 0;
}

.reels-viewport-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 2px solid var(--fg);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.reels-feed {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
}
.reels-feed::-webkit-scrollbar {
  display: none;
}

.reel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.reel-slide.is-playing .reel-poster {
  opacity: 0;
}

.reel-video,
.reel-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  z-index: 1;
  background: transparent;
  cursor: pointer;
}

.reel-top-hud {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  pointer-events: none;
}

.reel-sound-pill {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  background: rgba(10, 9, 12, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--fg);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}
.reel-sound-pill:hover {
  border-color: var(--bf-aqua);
  color: var(--bf-aqua);
  transform: scale(1.05);
}
.reel-sound-pill.is-muted {
  border-color: var(--bf-aqua);
  color: var(--bf-aqua);
}

.reel-pause-badge {
  position: absolute;
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 9, 12, 0.75);
  border: 2px solid var(--fg);
  display: grid;
  place-items: center;
  color: var(--fg);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity .18s ease, transform .2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reel-slide.is-paused .reel-pause-badge {
  opacity: 1;
  transform: scale(1);
}

.reel-bottom-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 2.4rem 1rem .95rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.38) 58%, transparent 100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: .16rem;
}

.reel-brand {
  font: 700 .76rem/1.1 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bf-aqua);
}
.reel-role {
  font: 700 .64rem/1.1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}
.reel-title {
  margin: .14rem 0 0;
  font: 700 1.24rem/1.15 var(--display);
  color: #fff;
}

.reel-scrub-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.reel-scrub-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  margin: 0;
  background: rgba(255, 255, 255, 0.22);
  background-image: linear-gradient(var(--bf-aqua), var(--bf-aqua));
  background-size: var(--reel-progress, 0%) 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: height .12s ease;
}
.reel-scrub-wrap:hover .reel-scrub-input {
  height: 6px;
}
.reel-scrub-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
}

.reels-drawer {
  background: #080709;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 642px;
  min-width: 0;
}

.reels-drawer-head {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0c0b0e;
  position: relative;
  z-index: 20;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .42rem .8rem;
  background: #131116;
  color: var(--fg);
  border: 1px solid var(--line);
  font: 700 .78rem/1 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.dropdown-trigger:hover,
.custom-dropdown.is-open .dropdown-trigger {
  border-color: var(--bf-aqua);
  color: var(--bf-aqua);
  background: #17141b;
}
.dropdown-trigger-count {
  color: var(--muted);
  font-size: .7rem;
}
.dropdown-caret {
  width: 13px;
  height: 13px;
  transition: transform .18s ease;
  flex-shrink: 0;
}
.custom-dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
  color: var(--bf-aqua);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #0d0c0f;
  border: 1px solid var(--bf-aqua);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.92);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}
.custom-dropdown.is-open .dropdown-menu {
  display: flex;
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: .5rem .7rem;
  background: transparent;
  border: 0;
  color: var(--fg);
  font: 700 .75rem/1.1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.dropdown-option:hover {
  background: #18151d;
  color: var(--bf-aqua);
}
.dropdown-option[aria-selected="true"] {
  background: rgba(19, 241, 213, 0.12);
  color: var(--bf-aqua);
}
.dropdown-option-count {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .04em;
}
.dropdown-option[aria-selected="true"] .dropdown-option-count {
  color: var(--bf-aqua);
}

.reels-drawer-controls {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}

.icon-btn {
  height: 34px;
  min-width: 34px;
  padding: 0 .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: #131116;
  color: var(--muted);
  border: 1px solid var(--line);
  font: 700 .72rem/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover {
  color: var(--bf-aqua);
  border-color: var(--bf-aqua);
  background: #17141b;
}

.reels-queue-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  grid-auto-rows: max-content;
  gap: .85rem;
  align-content: start;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.queue-tile {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 2px solid var(--line);
  background: #000;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.queue-tile:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}
.queue-tile[aria-current="true"] {
  border-color: var(--bf-aqua);
  box-shadow: 0 0 0 1px var(--bf-aqua), 0 10px 26px rgba(0, 0, 0, 0.8);
}

.queue-tile-frame {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  height: 0;
  overflow: hidden;
  background: #0b0a0d;
}

.queue-tile-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}
.queue-tile:hover .queue-tile-frame img {
  transform: scale(1.04);
}

.queue-tile-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.8rem .55rem .5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .12rem;
  text-align: left;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.queue-tile:hover .queue-tile-caption,
.queue-tile[aria-current="true"] .queue-tile-caption {
  opacity: 1;
}

.queue-tile-brand {
  font: 700 .58rem/1 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--bf-aqua);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-tile-title {
  font: 700 .78rem/1.12 var(--display);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .reels-deck {
    grid-template-columns: 1fr;
  }
  .reels-drawer {
    height: 440px;
  }
}





