/* Wild Comet Media
   Black, white, pictures. The neon sign is the only color; yellow shows up on hover and under the active tab.
   Syne for anything that's a title, Inter for anything you read. No boxes. */

:root {
  --bg: #000;
  --white: #fff;
  --dim: #c4c4c4;
  --muted: #8c8c8c;
  --rule: #222;
  --neon: #ffc72c;
  --max: 1200px;
  --gutter: 24px;
  --display: 'Syne', 'Archivo Black', 'Liberation Sans', Helvetica, Arial, sans-serif;
  --body: 'Inter', 'Liberation Sans', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Only the work tabs need clipping (the comet flies off-screen between rows). A page-wide clip on html/body made Safari misplace content. */
body:has(.tabs) { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--neon); outline-offset: 4px; }
.lightbox-dialog:focus { outline: none; }
::selection { background: var(--neon); color: #000; }
html { scrollbar-color: #333 #000; }

/* The star from the logo, used as the site's one recurring mark */
.who h2::before, .page-top h1::before {
  content: "✦"; display: inline-block; margin-right: 0.35em; color: var(--neon); font-size: 0.6em; vertical-align: 0.3em; transform: rotate(0deg); transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.who:hover h2::before, .page-top:hover h1::before { transform: rotate(180deg); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
figure { margin: 0; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { font-size: 14px; color: var(--muted); }
.lede { font-size: 18px; color: var(--dim); max-width: 620px; }

/* Header: the logo, centered, with the nav under it */
.site-header { position: relative; overflow: hidden; }
.site-header .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 28px 0 20px; }

.nav { display: flex; align-items: center; gap: 36px; font-size: 18px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); }
.nav a { padding-bottom: 2px; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--neon); }

/* The neon sign and the studio email close every page */
.sign-off { margin-top: 112px; }
.contact-row { display: grid; grid-template-columns: minmax(120px, 336px) minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 40px 0; border-top: 1px solid var(--rule); color: var(--white); }
.contact-row .k { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-row .k::before { content: "✦"; color: var(--neon); margin-right: 10px; letter-spacing: 0; }
.contact-row .addr { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -0.01em; min-width: 0; overflow-wrap: anywhere; background: linear-gradient(var(--neon), var(--neon)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; justify-self: start; transition: background-size 350ms cubic-bezier(.2,.8,.2,1), color 200ms ease; }
.contact-row .go { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; color: var(--white); transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 250ms cubic-bezier(.2,.8,.2,1); }
.contact-row .go svg { width: 24px; height: 24px; }
.contact-row:hover .addr, .contact-row:focus-visible .addr { background-size: 100% 2px; }
.contact-row:hover .go, .contact-row:focus-visible .go { background: var(--neon); border-color: var(--neon); color: #000; transform: rotate(-45deg); }
.neon-logo { position: relative; display: block; width: 238px; height: 82px; }
.neon-logo img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 256px; max-width: none; height: auto; filter: brightness(0.95) contrast(1.35); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%); mask-composite: intersect; }

/* Sections */
.section { padding-top: 96px; }
.home-top { padding-top: 48px; }

/* Homepage opener: the reel, muted, full width */
.opener { position: relative; background: #000; }
.opener-video { display: block; width: 100%; height: calc(100vh - 340px); min-height: 360px; max-height: 56.25vw; object-fit: cover; }
.sound { position: static; padding: 10px 16px; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; background: rgba(0,0,0,0.45); color: #fff; font: 500 13px var(--body); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sound:hover { border-color: #fff; }
.sound[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.clients-home { padding-top: 22px; }
.opener::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0)); pointer-events: none; }
.opener-foot { position: absolute; left: 0; right: 0; bottom: 22px; align-items: center; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); }
.play-reel { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; background: rgba(0,0,0,0.42); box-shadow: 0 8px 30px rgba(0,0,0,0.35); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); transition: border-color 200ms ease, background 200ms ease; color: #fff; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.01em; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.play-reel .star { width: 18px; height: 18px; flex-shrink: 0; background: var(--neon); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgba(255,199,44,0.8)); transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.play-reel .label { background: linear-gradient(var(--neon), var(--neon)) 0 100% / 0 2px no-repeat; padding-bottom: 2px; font-size: 17px; transition: background-size 300ms cubic-bezier(.2,.8,.2,1); }
.play-reel:hover .star { transform: rotate(90deg) scale(1.15); }
.play-reel:hover .label { background-size: 100% 2px; }
.play-reel:hover { border-color: rgba(255,199,44,0.45); background: rgba(0,0,0,0.55); }

/* Results row — a quiet band under "Who are we?" */
.results { margin-top: 64px; }
.results ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #1d1d1d; border-bottom: 1px solid #1d1d1d; }
.results li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 14px; padding: 30px 16px; text-align: center; min-width: 0; }
.results li + li { border-left: 1px solid #1d1d1d; }
.results .val { display: flex; align-items: center; justify-content: center; height: 40px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.01em; color: var(--white); white-space: nowrap; }
.results li:first-child .val { color: var(--neon); }
.results .val .hash { font-family: var(--body); font-weight: 700; margin-right: 0.04em; }
.results .val.logo img { height: 34px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: screen; }
.results .val.logo img[src$="webby-trim.png"] { height: 34px; }
.results .val.logo img[src$="fantasia-laurel.png"] { height: 30px; }
.results .val.logo img[src$="marvel-red.png"] { height: 26px; mix-blend-mode: normal; }
.results .lbl { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 22ch; }
@media (max-width: 960px) { .results ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .results li:nth-child(odd) { border-left: 0; } .results li:nth-child(n+3) { border-top: 1px solid #1d1d1d; } .results li:last-child { grid-column: 1 / -1; } }

/* "Working on something?" — a clear line and one obvious email button */
.write { padding-top: 112px; display: flex; justify-content: center; }
.write-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid #1d1d1d; }
.write h2 { font-size: clamp(26px, 3vw, 36px); }
.write p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.email-btn { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; background: rgba(255,255,255,0.03); font-size: 18px; font-weight: 600; color: #fff; transition: border-color 200ms ease, background 200ms ease; }
.email-btn .ic { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--neon); color: #000; flex-shrink: 0; }
.email-btn .go { display: flex; color: var(--neon); transition: transform 200ms ease; }
.email-btn .go svg { width: 18px; height: 18px; }
.email-btn:hover { border-color: rgba(255,199,44,0.6); background: rgba(255,199,44,0.06); }
.email-btn:hover .go { transform: translateX(4px); }
.write.write-sm { padding-top: 88px; }
@media (max-width: 720px) { .email-btn { font-size: 16px; } .email-btn .addr { overflow-wrap: anywhere; } }
.who { padding-top: 88px; display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: start; }
.who h2 { font-size: clamp(30px, 3.6vw, 48px); white-space: nowrap; }
.who div { display: flex; flex-direction: column; gap: 22px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--dim); max-width: 720px; }
.who .text-link { align-self: flex-start; }
.vgrid.wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 24px; }
.vgrid.wall .cap strong { font-size: 19px; }
.vtile .frame > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-top { padding-top: 36px; }
.page-top h1 { font-size: clamp(36px, 4.2vw, 58px); margin-bottom: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2, .press-group h2 { font-size: clamp(24px, 2.8vw, 34px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--dim); }
.text-link svg { width: 16px; height: 16px; color: var(--neon); transition: transform 150ms ease; }
.text-link:hover { color: var(--neon); }
.text-link:hover svg { transform: translateX(3px); }

/* Frames: every piece of video is a 16:9 frame, captioned underneath */
.frame { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; background: #111; overflow: hidden; }
.frame > img, .frame > iframe, video.frame { width: 100%; height: 100%; display: block; border: 0; }
.frame > img { object-fit: cover; }
.frame.empty { background: #141414; }
.cap { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.cap strong { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--white); }
.cap span { font-size: 13px; color: var(--muted); }

.reel { margin-bottom: 56px; }
.reel .cap strong { font-size: 20px; }

.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.vtile { display: block; }
.vtile .frame > img, .vtile .frame > video { transition: transform 500ms ease; }
.vtile:hover .frame > img, .vtile:hover .frame > video { transform: scale(1.03); }
.vtile .cap strong { transition: color 150ms ease; }
.vtile:hover .cap strong { color: var(--neon); }
.vtile[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .vtile .frame > img { transition: none; } .vtile:hover .frame > img { transform: none; } }

.badge { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: rgba(0,0,0,0.78); border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge img { flex: none; height: 22px; width: 40px; object-fit: contain; }
.badge img[src$="webby-logo.png"] { height: 20px; width: 39px; }
.badge img[src$="fantasia-laurel.png"] { height: 20px; width: 71px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.highlights .cap strong { font-size: 22px; }
.highlights .cap span { font-size: 15px; }
.mark { position: absolute; left: 20px; top: 20px; padding: 10px 14px; background: rgba(0,0,0,0.75); border-radius: 6px; display: flex; }
.mark img { height: 48px; width: auto; mix-blend-mode: screen; }

/* An episode tile: the picture plays it, the show name links to the series.
   Hovering the name fans the rest of the episodes out from behind the thumbnail. */
.tile-wrap { display: flex; flex-direction: column; }
.tile-wrap .frame { overflow: visible; background: transparent; }
.tile-wrap .frame > img, .tile-wrap .frame > video { position: absolute; inset: 0; z-index: 1; background: #111; }
.tile-wrap .frame::before, .tile-wrap .frame::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 6px; border: 1px solid rgba(255,199,44,0.35); opacity: 0; transform: none; transition: transform 380ms cubic-bezier(.3,1.4,.5,1), opacity 200ms ease; pointer-events: none; }
.tile-wrap .frame::before { background: #3d3d3d; }
.tile-wrap .frame::after { background: #262626; z-index: -1; }
.tile-wrap:has(.series-name:hover) .frame::before, .tile-wrap:has(.series-name:focus-visible) .frame::before { opacity: 1; transform: translate(9px, -9px) rotate(1.5deg); }
.tile-wrap:has(.series-name:hover) .frame::after, .tile-wrap:has(.series-name:focus-visible) .frame::after { opacity: 1; transform: translate(18px, -18px) rotate(3deg); }
.tile-wrap:has(.series-name:hover) .frame > img, .tile-wrap:has(.series-name:hover) .frame > video { transform: translate(-3px, 3px); }
.tile-wrap .series-name { flex: 1; align-self: stretch; padding-bottom: 12px; }
.cap .name-row { font-size: inherit; color: inherit; }
.name-row { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.series-name strong { transition: color 150ms ease; }
.all-eps { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--neon); opacity: 0; transform: translateX(-8px); transition: opacity 200ms ease, transform 250ms cubic-bezier(.2,.8,.2,1); white-space: nowrap; }
.all-eps svg { width: 14px; height: 14px; }
.series-name:hover strong, .series-name:focus-visible strong { color: var(--neon); }
.series-name:hover .all-eps, .series-name:focus-visible .all-eps { opacity: 1; transform: none; }
@media (hover: none) { .all-eps { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tile-wrap .frame::before, .tile-wrap .frame::after, .all-eps { transition: none; } }

/* Series tiles: two cards stacked behind the thumbnail */
.vgrid .vtile { padding-top: 18px; }
.vtile.series .frame { overflow: visible; background: transparent; }
.vtile.series .frame > img, .vtile.series .frame > video { position: absolute; inset: 0; z-index: 1; background: #111; box-shadow: 4px -4px 14px rgba(0,0,0,0.6); }
.vtile.series .frame::before, .vtile.series .frame::after { content: ""; position: absolute; z-index: 0; border-radius: 6px; border: 1px solid rgba(255,255,255,0.10); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.vtile.series .frame::before { inset: 0; transform: translate(7px, -7px); background: #4a4a4a; }
.vtile.series .frame::after { inset: 0; transform: translate(14px, -14px); background: #2c2c2c; z-index: -1; }
.vtile.series:hover .frame::before { transform: translate(9px, -9px); }
.vtile.series:hover .frame::after { transform: translate(18px, -18px); }
@media (prefers-reduced-motion: reduce) { .vtile.series .frame::before, .vtile.series .frame::after { transition: none; } }
.vtile .badge, .vtile .play { z-index: 2; }

/* Play */
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 200ms ease; }
.play span { width: 64px; height: 64px; border-radius: 50%; background: var(--neon); color: #000; box-shadow: 0 0 30px rgba(255,199,44,0.45); display: flex; align-items: center; justify-content: center; }
.vtile:hover .play, .vtile:focus-visible .play, .player:hover .play, .player:focus-visible .play { opacity: 1; }
@media (hover: none) { .play { display: none; } }   /* phones: the picture is the button */

.page-top h1 + .page-sub { margin: -16px 0 24px; font-size: 17px; color: var(--muted); }

/* Work tabs: plain labels on a faint orbit line; a little comet flies to the one you pick */
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 36px 40px; margin-bottom: 32px; padding: 4px 2px 26px;
  background: linear-gradient(#222, #222) 0 calc(100% - 8px) / 100% 1px no-repeat; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { -webkit-tap-highlight-color: transparent; flex-shrink: 0; display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 20px; color: #6f6f6f; white-space: nowrap; transition: color 250ms ease; }
.tabs a sup { font-family: var(--body); font-size: 12px; font-weight: 500; top: 0; color: #555; font-variant-numeric: tabular-nums; transition: color 250ms ease; }
.tabs a:hover { color: var(--white); }
.tabs a[aria-current="page"] { color: var(--white); }
.tabs a[aria-current="page"] sup { color: var(--neon); }
.tab-comet { position: absolute; left: 0; top: 0; width: 0; height: 15px; pointer-events: none; opacity: 0; }
.tabs.ready .tab-comet { opacity: 1; transition: transform 650ms cubic-bezier(.65,0,.25,1); }
.tab-comet .head { position: absolute; left: -7.5px; top: 0; width: 15px; height: 15px; background: var(--neon);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgba(255,199,44,.9)); transition: transform 650ms cubic-bezier(.65,0,.25,1); }
.tab-comet.flying .head { transform: rotate(180deg) scale(1.25); }
.tab-comet .tail { position: absolute; top: 6.5px; right: 0; height: 2px; width: 0; border-radius: 2px; background: linear-gradient(to right, rgba(255,199,44,0), var(--neon)); transition: width 420ms cubic-bezier(.2,.8,.2,1); }
.tab-comet.west .tail { right: auto; left: 0; background: linear-gradient(to left, rgba(255,199,44,0), var(--neon)); }
.tabs:not(.ready) a[aria-current="page"] { text-decoration: underline 2px var(--neon); text-underline-offset: 10px; }
@media (prefers-reduced-motion: reduce) { .tabs.ready .tab-comet, .tab-comet .head, .tab-comet .tail { transition: none; } }
.tabs a:focus-visible { outline: none; color: var(--white); text-decoration: underline 1px rgba(255,255,255,0.4); text-underline-offset: 6px; }
.tab-break { display: none; }
@media (max-width: 860px) { .tab-break { display: block; flex-basis: 100%; height: 0; } .tabs { row-gap: 15px; } }  /* the break is its own zero-height line, so the visible gap is two of these */
@media (max-width: 720px) {
  .tabs { column-gap: 24px; }
  .tabs a { font-size: 16px; }
}
#work-grid { position: relative; }
.vtile.ghost { position: absolute; margin: 0; pointer-events: none; z-index: 0; }
.empty { color: var(--muted); padding: 48px 0; }

/* Client logos: a slow strip; a wrapped grid if motion is reduced */
.marquee { --gap: 80px; display: flex; overflow: hidden; gap: var(--gap); padding: 8px 0 4px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.logos { display: flex; align-items: center; gap: var(--gap); flex-shrink: 0; animation: strip 70s linear infinite; }
.logos li { position: relative; flex-shrink: 0; display: flex; align-items: center; height: 56px; }
.logos img { height: auto; width: auto; max-height: 44px; max-width: 200px; opacity: 0.85; }
.marquee:hover .logos { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(calc(-100% - var(--gap))); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { display: block; -webkit-mask-image: none; mask-image: none; }
  .marquee .logos { animation: none; flex-wrap: wrap; gap: 32px 56px; justify-content: center; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .marquee .logos[aria-hidden="true"] { display: none; }
}

/* Homepage media strip */
/* Media: a short press list, distinct from the video grid */
.media-grid { display: flex; flex-direction: column; border-top: 1px solid #1d1d1d; }
.media-row { display: grid; grid-template-columns: 112px 200px 1fr auto; align-items: center; gap: 28px; padding: 18px 0; border-bottom: 1px solid #1d1d1d; }
.media-img { display: block; width: 112px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #111; }
.media-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0.85; transition: filter 300ms ease, opacity 300ms ease; }
.media-outlet { font-size: 14px; color: var(--muted); }
.media-title { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; transition: color 150ms ease; }
.media-go { color: var(--muted); display: flex; transition: color 150ms ease, transform 200ms ease; }
.media-go svg { width: 18px; height: 18px; }
.media-row:hover .media-img img { filter: none; opacity: 1; }
.media-row:hover .media-title { color: var(--neon); }
.media-row:hover .media-go { color: var(--neon); transform: translateX(4px); }
@media (max-width: 720px) {
  .media-row { grid-template-columns: 88px 1fr; gap: 6px 16px; }
  .media-img { width: 88px; grid-row: span 2; }
  .media-outlet { grid-column: 2; }
  .media-title { grid-column: 2; }
  .media-go { display: none; }
}

/* "View all work" and other pill links */
.more-work { display: flex; justify-content: center; margin-top: 48px; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px 13px 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 16px; transition: border-color 200ms ease, background 200ms ease; }
.pill-link .star { width: 14px; height: 14px; background: var(--neon); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px rgba(255,199,44,0.7)); transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.pill-link:hover { border-color: rgba(255,199,44,0.55); background: rgba(255,199,44,0.06); }
.pill-link:hover .star { transform: rotate(90deg) scale(1.15); }

/* Press */
.press-group { margin-top: 48px; }
.press-group h2 { margin-bottom: 8px; }
.press-row { display: grid; grid-template-columns: 240px 1fr auto auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.press-row img { height: 28px; width: auto; }
.press-row:has(img) .outlet { display: none; }
.press-row .outlet { font-weight: 600; }
.press-row .title { color: var(--dim); }
.press-row .year { color: var(--muted); font-size: 13px; }
.press-row .arrow { color: var(--muted); display: flex; }
.press-row .arrow svg { transition: transform 150ms ease; }
.press-row:hover .title { color: var(--white); }
.press-row:hover .arrow { color: var(--neon); }
.press-row:hover .arrow svg { transform: translateX(3px); }
.press-contact { margin-top: 48px; color: var(--muted); font-size: 15px; }
.press-contact a { color: var(--white); }
.press-contact a:hover { color: var(--neon); }

/* About */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.75; color: var(--dim); }
.prose p:first-child { font-size: 24px; line-height: 1.45; color: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
.team { display: flex; flex-direction: column; gap: 32px; padding-top: 18px; scroll-margin-top: 24px; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 0 22px; align-items: center; }
.person .photo { grid-row: span 3; aspect-ratio: 4 / 5; width: 150px; background: #111; overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.person h3 { font-size: 22px; align-self: end; }
.person .role { font-size: 14px; color: var(--muted); margin-top: 4px; }
.person .links { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-size: 15px; align-self: start; }
.person .links a:hover { color: var(--neon); }
.quiet-link { color: inherit; text-decoration: underline 1px rgba(255,255,255,0.22); text-underline-offset: 4px; transition: color 150ms ease, text-decoration-color 150ms ease; }
.quiet-link:hover, .quiet-link:focus-visible { color: var(--neon); text-decoration-color: var(--neon); }
.socials { display: flex; gap: 24px; margin-top: 48px; font-size: 15px; color: var(--dim); }
.socials span { color: var(--muted); }
.socials a:hover { color: var(--neon); }

/* Footer */
.site-footer { margin-top: 48px; border-top: 1px solid var(--rule); padding: 40px 0 36px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--dim); }
.site-footer .col .wordmark { color: var(--white); margin-bottom: 4px; }
.site-footer a:hover { color: var(--neon); }
.site-footer .copyright { width: 100%; margin-top: 24px; font-size: 12px; color: var(--muted); }

/* Series page */
.crumb { font-size: 14px; color: var(--muted); padding-top: 40px; }
.crumb a:hover { color: var(--white); }
.keyart { aspect-ratio: 2 / 1; background: #111; margin-top: 20px; overflow: hidden; }
.keyart img { width: 100%; height: 100%; object-fit: cover; }
.series-intro { margin-top: 44px; display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.series-intro h1 { font-size: clamp(36px, 4.8vw, 64px); margin-top: 10px; }
.series-intro .lede { margin-top: 22px; font-size: 17px; }
.facts { display: flex; flex-direction: column; gap: 16px; font-size: 15px; padding-top: 8px; }
.facts .row { display: flex; flex-direction: column; gap: 2px; }
.facts .row .k { font-size: 13px; color: var(--muted); }
.facts .streaming, .facts .award { display: inline-flex; align-items: center; gap: 12px; padding-top: 8px; color: var(--dim); }
.facts .streaming img { height: 40px; width: auto; mix-blend-mode: screen; }
.facts .award img { height: 36px; width: auto; }
.facts a:hover { color: var(--neon); }

.episodes { display: flex; flex-direction: column; gap: 56px; }
.episode { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.episode:nth-child(even) .player { order: 2; }
.episodes.compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.episodes.compact .episode { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.episodes.compact .episode .player { order: 0; }
.season-head { grid-column: 1 / -1; font-size: 22px; margin: 18px 0 -6px; text-transform: none; }
.season-head:first-child { margin-top: 0; }
.episodes.compact .episode h3 { font-size: 16px; line-height: 1.35; margin: 0; }
.player { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; display: block; width: 100%; }
.player img { width: 100%; height: 100%; object-fit: cover; }
iframe.player { width: 100%; border: 0; }
.info { display: flex; flex-direction: column; gap: 12px; }
.info .meta { font-size: 13px; color: var(--muted); }
.info h3 { font-size: clamp(22px, 2.6vw, 30px); }
.info p { font-size: 15px; color: var(--dim); max-width: 440px; }
.info .text-link { align-self: flex-start; }
.more .vgrid { gap: 32px 24px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.95); }
.lightbox-dialog { position: relative; width: min(1120px, 100%); }
.lightbox-player { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.player.playing iframe, .lightbox-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.tap-sound { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 600 14px/1 var(--body); cursor: pointer; }
.tap-sound svg { color: var(--neon); }
.tap-sound:hover { border-color: var(--neon); }
.lightbox-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-close { position: absolute; top: -52px; right: 0; background: none; border: 0; color: var(--white); cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.lightbox-close:hover { color: var(--neon); }
.lightbox-caption { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 16px; font-size: 15px; color: var(--dim); }
.lightbox-caption strong { color: var(--white); font-family: var(--display); font-weight: 700; }
.lightbox-links { display: flex; gap: 24px; }
body.lightbox-open { overflow: hidden; }
/* Full screen on phones that allow it: just the picture, edge to edge */
.lightbox:fullscreen { padding: 0; background: #000; }
.lightbox:fullscreen .lightbox-dialog { width: min(100vw, calc(100vh * 16 / 9)); }
.lightbox:fullscreen .lightbox-caption { display: none; }
.lightbox:fullscreen .lightbox-close { top: 8px; right: 8px; position: fixed; z-index: 3; }
.player.playing:fullscreen { background: #000; aspect-ratio: auto; }

/* Responsive */
@media (max-width: 960px) {
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .press-row { grid-template-columns: 1fr auto; }
  .press-row .outlet, .press-row img { grid-column: 1 / -1; }
  .press-row .title { grid-column: 1; }
  .press-row .year { grid-column: 2; }
  .press-row .arrow { display: none; }
  .series-intro { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .series-intro .lede { font-size: 15px; line-height: 1.55; margin-top: 14px; }
  /* phones: the facts become a compact two-column panel */
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 16px; border: 1px solid #1f1f1f; border-radius: 12px; background: #0b0b0b; font-size: 14px; }
  .facts .row .k { font-size: 12px; }
  .facts .streaming, .facts .award { grid-column: 1 / -1; padding-top: 4px; font-size: 13px; }
  .facts .streaming img { height: 30px; } .facts .award img { height: 28px; mix-blend-mode: lighten; }
  .facts .studio { display: none; }   /* it's our site; on a phone the studio line is just extra height */
  .episode { grid-template-columns: 1fr; gap: 20px; }
  .episode:nth-child(even) .player { order: 0; }
  .episodes.compact { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .episodes.compact .episode h3 { font-size: 14px; }
}
@media (max-width: 720px) {
  .site-header .wrap { padding-top: 24px; gap: 26px; }

  .opener-video { height: auto; min-height: 0; max-height: none; aspect-ratio: 1 / 1; }   /* phones: a taller, square window on the reel */
  .section { padding-top: 64px; }
  .page-top { padding-top: 24px; }
  .vgrid, .vgrid.wall { grid-template-columns: 1fr; gap: 28px; }
  .who { grid-template-columns: 1fr; padding-top: 56px; }
  .sign-off { margin-top: 72px; }
  .contact-row { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 32px 0; }
  .contact-row .k { grid-column: 1 / -1; }
  .contact-row .addr { font-size: 17px; }
  .contact-row .go { width: 48px; height: 48px; }
  .contact-row .go svg { width: 20px; height: 20px; }
  .neon-logo { width: 174px; height: 60px; }
  .neon-logo img { width: 187px; }
  .sound { right: 12px; bottom: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .highlights { grid-template-columns: 1fr; }
  .mark img { height: 36px; }
  .marquee { --gap: 48px; }
  .logos { animation-duration: 36s; }   /* phones: the strip is shorter, so it needs less time to move at a lively pace */
  .logos img { max-height: 34px; max-width: 150px; }
  .lightbox { padding: 12px; }
  .lightbox-close { top: -46px; }
}

/* ---- Our Process ------------------------------------------------------------------- */
.process-top .page-sub { max-width: 640px; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.track { padding: 24px 40px 26px 0; }
.track + .track { padding: 24px 0 26px 40px; border-left: 1px solid var(--rule); }
.track h3 { font-size: 22px; margin-bottom: 10px; }
.track p { margin: 0; color: var(--dim); font-size: 16px; }

.steps { display: flex; flex-direction: column; gap: 120px; padding-top: 0; }
section.steps { padding-top: 64px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
.step-n { display: block; font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--neon); margin-bottom: 14px; }   /* solid: an outline shows the 4’s overlapping strokes */
.step h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.step-text p { color: var(--dim); font-size: 17px; max-width: 460px; margin: 0; }

/* 01 — a page from the script */
.script-page { margin: 0; perspective: 1200px; }
.sp-paper { background: #f5f1e6; color: #141414; font-family: 'Courier Prime', 'Courier New', Courier, monospace; font-size: 15px; line-height: 1.45;
  padding: 48px 56px 56px 72px; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04); transform: rotate(-1.2deg); max-width: 560px; margin-left: auto; position: relative; }
.sp-paper::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; border-left: 1px solid rgba(200,60,60,0.25); }
.sp-paper p { margin: 0 0 14px; }
.sp-scene { font-weight: 700; text-transform: uppercase; }
.sp-char { margin: 18px 0 0 !important; padding-left: 38%; text-transform: uppercase; }
.sp-paren { margin: 0 !important; padding-left: 30%; }
.sp-dial { padding: 0 14% 0 22%; }
.sp-dial:last-child { background: linear-gradient(transparent 55%, rgba(255,199,44,0.65) 55%, rgba(255,199,44,0.65) 92%, transparent 92%); display: table; margin-left: 22%; padding: 0 2px; }

/* 02 — character sheets, pinned up like a wall in the writers' room */
.board { position: relative; aspect-ratio: 1 / 1; max-width: 600px; }
.sheet { position: absolute; margin: 0; background: #f5f1e6; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transition: transform 350ms cubic-bezier(.2,.8,.2,1); }
.sheet img { width: 100%; height: auto; display: block; }
.sheet::before { content: ""; position: absolute; top: -8px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe08a, var(--neon) 55%, #b8860b); box-shadow: 0 3px 6px rgba(0,0,0,0.5); z-index: 1; }
.sheet:nth-child(1) { left: 0;   top: 1%;  width: 60%; transform: rotate(-3deg); }
.sheet:nth-child(2) { left: 47%; top: 5%;  width: 52%; transform: rotate(3deg); }
.sheet:nth-child(3) { left: 1%;  top: 36%; width: 34%; transform: rotate(4deg); }
.sheet:nth-child(4) { left: 33%; top: 41%; width: 33%; transform: rotate(-4deg); }
.sheet:nth-child(5) { left: 64%; top: 37%; width: 34%; transform: rotate(5deg); }
.sheet:nth-child(6) { left: 16%; top: 68%; width: 42%; transform: rotate(-2deg); }
.sheet:hover { transform: rotate(0) scale(1.18); z-index: 5; }
.sheet.placeholder { display: flex; align-items: center; justify-content: center; color: #8b8676; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  background: #f5f1e6 repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,0.05) 22px 23px); }
.sticky { position: absolute; right: 6%; bottom: 8%; z-index: 6; background: var(--neon); color: #111; font: 700 15px/1.2 'Courier Prime', 'Courier New', monospace;
  padding: 16px 14px 20px; width: 128px; transform: rotate(5deg); box-shadow: 0 10px 24px rgba(0,0,0,0.5); }

/* 03 / 04 — short silent loops in a monitor frame */
.loopframe { margin: 0; }
.loopframe .screen { position: relative; aspect-ratio: 16 / 9; background: #0b0b0b; border: 1px solid #262626; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.loopframe video, .loopframe .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loopframe.animatic video, .loopframe.animatic .screen img { filter: grayscale(1) contrast(1.15); }
.loopframe .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #555; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, #0d0d0d 0 14px, #111 14px 28px); }
.loopframe .tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 4px; background: rgba(0,0,0,0.7); color: #fff;
  font: 700 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.loopframe .tag.gold { background: var(--neon); color: #000; }
.loopframe .tc { position: absolute; right: 14px; bottom: 12px; font: 400 13px/1 'Courier Prime', 'Courier New', monospace; color: #fff;
  background: rgba(0,0,0,0.6); padding: 5px 8px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.loopframe .tc::before { content: "● "; color: #ff4d4d; }
.loopframe figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.loopframe.final .screen { border-color: rgba(255,199,44,0.35); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,199,44,0.08); }

@media (max-width: 860px) {
  .tracks { grid-template-columns: 1fr; }
  /* phones: the two services sit side by side as small cards */
  .tracks { margin-top: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; border: 0; }
  .track, .track + .track { padding: 14px 12px 16px; border: 1px solid #1f1f1f; border-radius: 12px; background: #0b0b0b; }
  .track h3 { font-size: min(15px, 3.3vw); line-height: 1.15; margin-bottom: 8px; }
  .track p { font-size: 13px; line-height: 1.45; }
  .track + .track { border-top: 1px solid var(--rule); }

  .steps { gap: 80px; }
  .step { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(even) .step-text { order: 0; }
  .step-n { font-size: 40px; margin-bottom: 10px; }
  .sp-paper { font-size: 13px; padding: 30px 24px 34px 40px; transform: rotate(-0.8deg); margin: 0 4px; }
  .sp-paper::before { left: 18px; }
  .sp-char { padding-left: 30%; } .sp-dial { padding: 0 6% 0 14%; } .sp-dial:last-child { margin-left: 14%; } .sp-paren { padding-left: 22%; }
  .sticky { width: 104px; font-size: 13px; padding: 12px 10px 16px; }
}


/* ---- Phones: the logo stays centered; the menu folds into a button and opens full screen ---- */
.menu-btn, .nav-mail { display: none; }
@media (max-width: 720px) {
  .site-header .wrap { padding: 22px 0 18px; position: relative; }
  .menu-btn { display: block; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0;
    background: none; border: 0; cursor: pointer; z-index: 120; -webkit-tap-highlight-color: transparent; }
  .menu-btn span { position: absolute; right: 10px; height: 3px; border-radius: 3px; background: #fff; transition: transform 300ms cubic-bezier(.2,.8,.2,1), width 300ms ease; }
  .menu-btn span:first-child { top: 18px; width: 28px; }
  .menu-btn span:last-child { top: 27px; width: 19px; }
  body.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { width: 28px; transform: translateY(-4.5px) rotate(-45deg); }

  .nav { position: fixed; inset: 0; z-index: 110; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 0 28px 40px; background: rgba(0,0,0,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    text-transform: none; letter-spacing: -0.01em; visibility: hidden; opacity: 0; transition: opacity 250ms ease, visibility 0s 250ms; }
  body.menu-open .nav { visibility: visible; opacity: 1; transition: opacity 250ms ease; }
  .nav a { font-family: var(--display); font-weight: 800; font-size: min(44px, 7.6vw); line-height: 1.2; opacity: 0; transform: translateY(14px);
    transition: opacity 300ms ease, transform 400ms cubic-bezier(.2,.8,.2,1); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"]::before { content: "✦"; color: var(--neon); font-size: 0.45em; vertical-align: 0.55em; margin-right: 10px; }
  body.menu-open .nav a { opacity: 1; transform: none; }
  body.menu-open .nav a:nth-child(2) { transition-delay: 40ms; } body.menu-open .nav a:nth-child(3) { transition-delay: 80ms; }
  body.menu-open .nav a:nth-child(4) { transition-delay: 120ms; } body.menu-open .nav a:nth-child(5) { transition-delay: 160ms; }
  body.menu-open .nav a:nth-child(6) { transition-delay: 220ms; }
  .nav .nav-mail { display: block; position: absolute; left: 28px; bottom: 40px; font-family: var(--body); font-weight: 500; font-size: 16px; color: var(--dim); }
  body.menu-open { overflow: hidden; }
  .site-header .logo { position: relative; z-index: 120; }   /* the sign stays lit above the open menu */
}
@media (max-width: 345px) { .tracks { grid-template-columns: 1fr; } .track h3 { font-size: 15px; } }

/* Our Process: one quiet opening line */
.process-lede { margin: -14px 0 0; max-width: 680px; font-size: 17px; color: var(--dim); }
@media (max-width: 720px) { .process-lede { font-size: 15px; margin-top: -12px; } section.steps { padding-top: 44px; } }

/* Safari: a picture filling a fixed-ratio box must not size that box (or the grid row around it).
   Pinning it inside the box keeps Safari from stretching rows to the image's natural height. */
.frame, .media-img, .person .photo, .keyart, .player, .loopframe .screen { position: relative; }
.frame > img, .frame > video, .frame > iframe, .media-img > img, .person .photo > img, .keyart > img, .player > img, .loopframe .screen > img, .loopframe .screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* About: each person is a photo with their text beside it */
.person { display: flex; align-items: center; gap: 22px; }
.person .photo { flex: 0 0 150px; width: 150px; height: 187.5px; aspect-ratio: auto; }
.person .who-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.person .who-text h3 { align-self: flex-start; }
.person .links a { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .person .photo { flex-basis: 112px; width: 112px; height: 140px; }
}

/* Work pages: titles only under the pictures; the credits show in the player */

/* "View all episodes": quiet gray under a series title, yellow on hover */
.cap .all-eps { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); opacity: 1; transform: none; transition: color 150ms ease; }
.cap .all-eps svg { width: 13px; height: 13px; transition: transform 200ms ease; }
.series-name:hover .all-eps, .series-name:focus-visible .all-eps, .vtile.series:hover .all-eps, .vtile.series:focus-visible .all-eps { color: var(--neon); }
.series-name:hover .all-eps svg, .vtile.series:hover .all-eps svg { transform: translateX(3px); }

/* About on phones: the two of us first (right under the heading), then the story */
@media (max-width: 720px) {
  .about-grid { display: flex; flex-direction: column; gap: 0; }
  .about-grid > div:first-child { display: contents; }
  .about-grid h1 { order: 1; }
  .about-grid .team { order: 2; padding-top: 28px; gap: 24px; }
  .about-grid .prose { order: 3; margin-top: 60px; }
  .about-grid .socials { order: 4; }
}

/* Theo, the dog in Alexander's photo */
.person .photo-wrap { position: relative; flex: none; }
.pet-tag { position: absolute; top: calc(100% + 4px); left: 56px; font-family: var(--body); font-size: 14px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.pet-arrow { position: absolute; left: 30px; top: 152px; width: 30px; height: 46px; z-index: 3; pointer-events: none; overflow: visible; }
.pet-arrow .over { stroke: var(--neon); stroke-width: 2.4; }
@media (max-width: 720px) { .pet-arrow { left: 21px; top: 113px; width: 24px; height: 37px; } .pet-tag { left: 44px; } }

/* "Book a Meeting": the one solid button in the nav, opens Calendly in a popup */
.nav a.nav-book { display: inline-flex; align-items: center; gap: 7px; background: var(--neon); color: #000; padding: 7px 14px 6px; border-radius: 2px; border-bottom: 0; position: relative; top: -2px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.05em; line-height: 1.2; box-shadow: 0 0 14px rgba(255,199,44,.3); transition: transform 160ms ease, box-shadow 160ms ease; }
.nav a.nav-book::after { display: none; }
.nav a.nav-book .star { font-size: 0.8em; display: inline-block; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.nav a.nav-book:hover { color: #000; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 #fff, 0 0 20px rgba(255,199,44,.45); }
.nav a.nav-book:hover .star { transform: rotate(180deg); }
.nav a.nav-book:active { transform: none; box-shadow: 0 0 18px rgba(255,199,44,.35); }
@media (max-width: 720px) { .nav a.nav-book { display: none; } }

/* Phones: "Book a Call" floats bottom right on every screen, and steps aside for the contact row */
.book-mobile { display: none; }
@media (max-width: 720px) {
  .book-mobile { display: inline-flex; align-items: center; gap: 7px; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
    background: var(--neon); color: #000; padding: 15px 22px 14px; border-radius: 2px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; line-height: 1; box-shadow: 0 8px 24px rgba(0,0,0,.55), 0 0 16px rgba(255,199,44,.35);
    opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; transition: opacity 220ms ease, transform 320ms cubic-bezier(.2,.8,.2,1); }
  .book-mobile span { font-size: 0.85em; }
  .book-mobile.show { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .book-mobile { opacity: 0; pointer-events: none; }
}

@media (max-width: 720px) {
}

/* Calendly popup: dark backdrop to match the site, loading dots kept behind the calendar,
   and the floating phone button hidden while the calendar is open */
.calendly-overlay { background-color: rgba(0,0,0,0.94) !important; }
.calendly-overlay .calendly-popup-content { background: #0b0b0b; }
.calendly-overlay .calendly-popup-content iframe { position: relative; z-index: 1; background: #0b0b0b; }
.calendly-overlay .calendly-spinner { z-index: 0; }
body:has(.calendly-overlay) .book-mobile { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 720px) {
  .calendly-overlay .calendly-popup { top: 56px !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: auto !important; max-height: none !important; transform: none !important; border-radius: 0; }
  .calendly-overlay .calendly-popup-close { top: 14px !important; right: 16px !important; }
}

/* Behind-the-scenes aside: a small round-cornered thumb and one line, sitting under the episode text */
.episode .bts { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; padding: 8px 16px 8px 8px; width: fit-content; max-width: 100%;
  border: 1px solid #2a2a2a; border-radius: 14px; background: #111; }
.episode .bts a { flex: none; display: block; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px var(--neon); transition: transform 250ms ease; }
.episode .bts a:hover { transform: scale(1.08) rotate(-3deg); }
.episode .bts img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.7); transform-origin: 52% 52%; }   /* zoomed on the face; the link opens the full photo */
.episode .bts figcaption { font-size: 14px; line-height: 1.35; color: #ddd; }
.episode .bts .bts-k { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); margin-bottom: 3px; }
/* Desktop: a bigger, more obvious version of the same card */
@media (min-width: 901px) {
  .episode .bts { gap: 20px; margin-top: 18px; padding: 12px 26px 12px 12px; border-radius: 18px; border-color: rgba(255,255,255,0.07); background: rgba(255,255,255,0.025); }
  .episode .bts a { width: 150px; height: 186px; border-radius: 12px; box-shadow: 0 0 0 3px var(--neon); cursor: zoom-in; }
  .episode .bts img { transform: scale(1.12); transform-origin: 52% 50%; }
  .episode .bts figcaption { font-size: 18px; color: #fff; }
  .episode .bts .bts-k { font-size: 12px; margin-bottom: 6px; }
}

/* Lightbox for the behind-the-scenes photo */
.photobox { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; background: rgba(0,0,0,0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 200ms ease; cursor: zoom-out; }
.photobox.open { opacity: 1; }
.photobox img { max-width: min(92vw, 720px); max-height: 78vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 0 0 3px var(--neon), 0 30px 80px rgba(0,0,0,0.7);
  transform: scale(.96); transition: transform 250ms cubic-bezier(.2,.8,.2,1); }
.photobox.open img { transform: scale(1); }
.photobox p { margin: 0; max-width: 560px; text-align: center; color: #fff; font-size: 16px; line-height: 1.4; }
.photobox p small { display: block; color: #aaa; font-size: 14px; margin-top: 4px; }
.photobox button { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
/* Desktop: drop the box and pin the photo up, slightly crooked, with the caption beside it */
@media (min-width: 901px) {
  .episode .bts { border: 0; background: none; padding: 0 0 0 6px; margin-top: 26px; gap: 26px; overflow: visible; }
  .episode .bts a { position: relative; overflow: visible; border-radius: 4px; box-shadow: none; background: var(--neon); padding: 6px;
    width: 150px; height: auto; transform: rotate(-3deg); box-shadow: 0 14px 30px rgba(0,0,0,0.55); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
  .episode .bts a::before { content: ""; position: absolute; top: -7px; left: 28%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; z-index: 2;
    background: radial-gradient(circle at 35% 35%, #ff8a8a, #e23b3b 55%, #8b1414); box-shadow: 0 3px 6px rgba(0,0,0,0.5); }
  .episode .bts a:hover { transform: rotate(0) scale(1.05); }
  .episode .bts img { transform: none; height: 172px; object-fit: cover; object-position: 55% 45%; border-radius: 2px; }
}

/* 05 — release: a views counter on a dark screen with a rising curve */
.loopframe.views .screen { container-type: inline-size; background: radial-gradient(120% 90% at 85% 0%, rgba(255,199,44,0.10), transparent 60%), #0b0b0b; }
.loopframe .tag.live { display: inline-flex; align-items: center; gap: 6px; }
.loopframe .tag.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .25; } }
.views-count { position: absolute; left: 6%; right: 6%; top: 24%; z-index: 2; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 0.15em; }
.views-count .num { font-family: var(--display); font-weight: 800; font-size: 6.9cqi; white-space: nowrap; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.views-count .plus { font-family: var(--display); font-weight: 800; font-size: 6.9cqi; line-height: 1; color: var(--neon); }
.views-count .lbl { flex-basis: 100%; margin-top: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; }
.views-curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.views-curve .line { fill: none; stroke: var(--neon); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.views.armed .views-curve .line { stroke-dashoffset: 1; }
.views.armed .views-curve .area { opacity: 0; }
.views.run .views-curve .line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(.3,.1,.2,1); }
.views.run .views-curve .area { opacity: 1; transition: opacity 1.2s ease 1.4s; }
/* The views stat is words ("1 Billion+"): shrink it to fit its cell on smaller screens */
.results li:first-child { container-type: inline-size; }
.results li:first-child .val { font-size: min(28px, 15.5cqi); }
