:root {
  /* Dark, cinematic theme. --white is the page, --ink the type (names kept from the shared base). */
  color-scheme: dark;
  --white: #0c0c0c;
  --ink: #f4f4f2;
  --ink-soft: #a3a3a0;
  --line: #262626;
  --tile: #181818;
  --coral: #ff5a36;      /* accent */
  --coral-type: #ff5a36;
  --coral-deep: #ff7a5c; /* accent light enough for small text on black */
  --blue: #ff5a36;       /* focus ring */

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(8px, 1.2vw, 16px);
  --max: 1440px;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif; /* headlines bold (700), everything else regular (400) */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.6, 0, .8, .2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Logo ---------- */
.bb-logo { display: block; width: 100%; height: auto; overflow: visible; }
.bb-wordmark { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 155px; letter-spacing: -0.035em; fill: var(--ink); }
.bb-head { fill: var(--coral); }
.bb-eye-white { fill: var(--white); }
.bb-pupil { fill: var(--blue); transition: transform .12s var(--ease-out); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12,12,12,.86);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.is-stuck { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topbar-logo img { width: 100%; height: auto; }
.topbar-logo {
  width: 64px; text-decoration: none;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-out);
}
.topbar.is-stuck .topbar-logo { opacity: 1; transform: none; pointer-events: auto; }
.nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  padding: 10px 2px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (max-width: 480px) {
  .topbar-logo { width: 52px; }
  .nav { gap: 12px; }
  .nav a { font-size: 13px; letter-spacing: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 900px); display: flex; align-items: flex-end; overflow: hidden; margin-top: -64px; }
.hero-reel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-reel::after { z-index: 2; }
.hero-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--white) 0%, rgba(12,12,12,.7) 45%, rgba(12,12,12,.45) 100%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 7vw, 96px); padding-top: 140px; }
.hero-logo { margin: 0; font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -0.05em; font-weight: 700; }
.hero-role { margin: clamp(18px, 2.4vw, 28px) 0 0; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.tagline { margin: 12px 0 0; max-width: 38ch; font-size: clamp(18px, 2vw, 26px); line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }

/* ---------- Work grid ---------- */
.work { padding-bottom: clamp(64px, 10vw, 140px); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--tile);
  cursor: pointer; text-align: left;
}
.tile img, .tile video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out), opacity .3s;
}
.tile video { opacity: 0; }
.tile.is-playing video { opacity: 1; }
.tile:hover img, .tile:hover video, .tile:focus-visible img, .tile:focus-visible video { transform: scale(1.03); }
.tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: 16px 18px; color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
  color: #fff;
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .3s var(--ease-out);
}
.tile:hover .tile-label, .tile:focus-visible .tile-label { opacity: 1; transform: none; }
@media (hover: none) { .tile-label { opacity: 1; transform: none; } }
.tile-title { font-weight: 700; font-size: clamp(18px, 2vw, 26px); line-height: 1.1; letter-spacing: -0.02em; }
.tile-client { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.tile-cta {
  flex: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 8px 12px;
}
@media (max-width: 640px) { .tile-cta { display: none; } }
.tile.is-empty { display: grid; place-items: center; color: #8a8a8a; cursor: default; }
.tile.is-empty span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

/* ---------- Want more? ---------- */
.more { border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 140px) 0; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 820px) { .more-grid { grid-template-columns: 1fr; } }
.more h2 { margin: 0; font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -0.04em; font-weight: 700; }
.more h2 em { font-style: normal; color: var(--coral); }
.more p { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.more a { color: var(--ink); font-weight: 400; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.more a:hover { color: var(--coral-deep); }

/* ---------- Who? ---------- */
.who { border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 140px) 0; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }
.who h2 { font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -0.04em; margin: 0 0 32px; font-weight: 700; }
.who h2 em { font-style: normal; color: var(--coral); }
.who-copy { max-width: 46ch; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.who-copy p { margin: 0 0 1em; }
.who-copy a { color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.who-copy a:hover { color: var(--coral-deep); }
.who-photos { position: relative; }
.who-photos img { width: 100%; max-width: 520px; height: auto; margin-left: auto; }

/* ---------- Awards ---------- */
.awards { border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 140px) 0; }
.awards h2 { margin: 0 0 clamp(32px, 5vw, 64px); font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -0.04em; font-weight: 700; }
.awards h2 em { font-style: normal; color: var(--coral); }
.aw-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px clamp(24px, 4vw, 64px);
  padding: 18px 0; border-top: 1px solid var(--ink);
}
.aw-row:last-child { border-bottom: 1px solid var(--ink); }
@media (max-width: 760px) { .aw-row { grid-template-columns: 1fr; } }
.aw-row h3 { margin: 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.aw-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.aw-row li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr) auto; gap: 12px; align-items: baseline; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.4; }
@media (max-width: 760px) { .aw-row li { grid-template-columns: 5em minmax(0, 1fr); row-gap: 0; } .aw-show { grid-column: 2; } }
.aw-level { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.aw-gold { color: #e0b43a; }
.aw-silver { color: #bdbdbd; }
.aw-bronze { color: #d08a55; }
.aw-winner { color: var(--coral-deep); }
.aw-shortlist { color: var(--ink-soft); }
.aw-show { color: var(--ink-soft); text-align: right; }
@media (max-width: 760px) { .aw-show { text-align: left; } }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 140px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { margin: 0 0 24px; font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -0.04em; font-weight: 700; }
.contact h2 em { font-style: normal; color: var(--coral); }
.contact-lead { max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; margin: 0 0 24px; }
.contact-direct { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.contact-direct a { color: var(--ink); font-weight: 400; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-cta { display: grid; gap: 14px; justify-items: start; align-self: center; }
.contact-cta .button-big { font-size: clamp(20px, 2vw, 26px); padding: 22px 44px; }
.contact-cta-note { margin: 0; color: var(--ink-soft); font-size: 14px; }
.contact-form { display: grid; gap: 20px; }
.contact-form .hp { position: absolute; left: -9999px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field label span { color: var(--coral-deep); }
.field label .optional { color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--ink); border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--coral-deep); }
.field-error { margin: 0; min-height: 0; font-size: 14px; color: var(--coral-deep); }
.field-error:empty { display: none; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.contact-form .button[disabled] { opacity: .5; cursor: progress; }
.form-status { margin: 0; font-weight: 400; }
.form-status.is-error { color: var(--coral-deep); }

/* ---------- Sign-off ---------- */
.signoff { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 112px) var(--gutter); display: flex; justify-content: center; }
.signoff img { width: min(760px, 100%); height: auto; }

/* ---------- Join BBC ---------- */
.join { background: var(--white); border-top: 1px solid var(--line); padding: clamp(64px, 10vw, 140px) 0 0; overflow: hidden; }
.join h2 {
  margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: .88;
  font-size: clamp(64px, 13.5vw, 220px); text-transform: uppercase;
}
.join h2 .dot { color: var(--coral-type); }
.join-cta { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin: clamp(32px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: .02em;
  transition: background .2s;
}
.button:hover { background: var(--coral); color: #0c0c0c; }
.join-email { font-weight: 400; font-size: clamp(16px, 1.6vw, 20px); }

.marquee { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  font-weight: 700; font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.02em; text-transform: uppercase;
  padding-right: 1.2em; white-space: nowrap;
}
.marquee span::after { content: "●"; color: var(--coral); margin-left: 1.2em; font-size: .6em; vertical-align: middle; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.footer { padding: 28px 0 40px; font-size: 14px; color: var(--ink-soft); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Campaign overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(24px); visibility: hidden;
  transition: opacity .3s var(--ease-in), transform .3s var(--ease-in), visibility 0s .3s;
}
.overlay.is-open {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s;
}
.overlay-bar {
  position: sticky; top: 0; z-index: 2; background: rgba(12,12,12,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.overlay-bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.overlay-bar .mini-logo { width: 56px; height: auto; flex: none; }
.overlay-count { font-size: 14px; font-weight: 400; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.close {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); background: var(--white); cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.close:hover { background: var(--ink); color: var(--white); }
.close svg { width: 14px; height: 14px; }

.case-head { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; }
@media (max-width: 820px) { .case-head { grid-template-columns: 1fr; } }
.case-head h2 { margin: 8px 0 0; font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -0.04em; font-weight: 700; }
.case-head .eyebrow { color: var(--coral-deep); }
.case-intro { font-size: 18px; line-height: 1.55; max-width: 46ch; }
@media (max-width: 760px) { .case-intro { font-size: 16px; } }
.case-intro p { margin: 0 0 .8em; }
.case-role { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); }
.case-deliverables { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-deliverables li { font-size: 13px; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); padding: 6px 10px; }
.flow figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.placeholder { background: repeating-linear-gradient(-45deg, #fff5f5, #fff5f5 8px, #fff 8px, #fff 16px); outline: 1px dashed var(--coral); padding: 2px 6px; }

.case-hero { margin-bottom: var(--gap); }
.case-hero video, .case-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.case-section { margin-top: clamp(48px, 7vw, 96px); }
.case-section h3 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.media-grid { display: grid; gap: var(--gap); align-items: start; }
.media-grid.landscape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Social: every video is the same height. 9:16 cuts take one column; wider cuts (e.g. 4:5) keep their
   shape and grow wider at that same height. --ar is width/height, set per video in data.js. */
.media-grid.portrait { display: flex; flex-wrap: wrap; align-items: flex-start; --cols: var(--cols-max, 4); }
.media-grid.portrait .media {
  --ar: 0.5625;
  flex: 0 0 auto;
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--ar) / 0.5625);
}
@media (max-width: 1024px) { .media-grid.portrait { --cols: 3; } }
@media (max-width: 760px) {
  .media-grid.landscape { grid-template-columns: 1fr; }
  .media-grid.portrait { --cols: 2; }
}
.media { margin: 0; background: var(--tile); }
.media-grid.landscape .media video, .media-grid.landscape .media img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.media-grid.portrait .media video, .media-grid.portrait .media img { aspect-ratio: var(--ar); width: 100%; object-fit: cover; }
/* Campaign pages: one centred column, so every edge lines up. */
#case.wrap { max-width: calc(1080px + 2 * var(--gutter)); }
.case-hero video, .case-hero img { width: 100%; }

/* Flow: landscape pieces full column width; portrait pieces share balanced rows (sizes set by layoutFlows). */
.flow { display: flex; flex-direction: column; gap: var(--gap); }
.flow-row { display: flex; justify-content: center; gap: var(--gap); }
.flow .media { flex: none; margin: 0; max-width: 100%; }
.flow .media img, .flow .media video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; background: var(--tile); }

/* Video grids: centred, so a short last row sits in the middle. */
.media-grid.landscape { display: flex; flex-wrap: wrap; justify-content: center; }
.media-grid.landscape > .media { flex: 0 0 calc((100% - var(--gap)) / 2); min-width: 0; }
@media (max-width: 760px) { .media-grid.landscape > .media { flex-basis: 100%; } }
.media-grid.portrait { justify-content: center; }
/* Audio players sit on the left. */
.case-section .media-grid.landscape:has(.audio-card) { justify-content: flex-start; }
.media audio { width: 100%; }
.audio-card { padding: 20px; display: grid; gap: 14px; background: var(--tile); }
.audio-card strong { font-size: 15px; }

.case-next { margin: clamp(64px, 9vw, 120px) 0 0; border-top: 1px solid var(--ink); }
.case-next button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.case-next .label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.case-next .title { display: block; font-size: clamp(36px, 6vw, 88px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 8px; }
.case-next button:hover .title { color: var(--coral-deep); }
.case-next .arrow { font-size: clamp(36px, 6vw, 88px); font-weight: 700; transition: transform .3s var(--ease-out); }
.case-next button:hover .arrow { transform: translateX(10px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Header sits over the hero reel until you scroll. */
.topbar:not(.is-stuck) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Sign-off above Contact */
.signoff-text { margin: 0; text-align: center; font-weight: 700; font-size: clamp(48px, 9vw, 140px); line-height: .9; letter-spacing: -0.045em; }
.signoff-text span { display: block; margin-top: .35em; font-size: .32em; font-weight: 400; letter-spacing: -0.01em; color: var(--coral); }

/* Title card on a cover's empty space (coverTitle in data.js): thin, wide-tracked, like a trailer end card. */
.tile-title-card {
  position: absolute; z-index: 1; max-width: 42%;
  color: #fff; font-family: "Anton", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em; line-height: .92;
  font-size: clamp(26px, 4vw, 60px); text-shadow: 0 2px 24px rgba(0,0,0,.6);
  pointer-events: none; transition: opacity .3s;
}
.tile-title-card.is-left { left: 5%; top: 50%; transform: translateY(-50%); }
.tile-title-card.is-right { right: 6%; top: 50%; transform: translateY(-50%); text-align: right; }
.tile-title-card.is-bottom { left: 0; right: 0; bottom: 9%; max-width: none; text-align: center; white-space: nowrap; }
.tile-title-card.is-bottomleft { left: 5%; bottom: 7%; }
.tile-title-card.is-top { left: 0; right: 0; top: 9%; max-width: none; text-align: center; }
.tile.is-playing .tile-title-card { opacity: 0; animation: none; }

/* Per-show title treatments (coverTitle.style in data.js) */
/* Plainville: the title arrives as a sent text message. */
.tile-title-card.tt-text {
  display: block; left: 50% !important; right: auto !important; transform: translateX(-50%);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  font-size: clamp(13px, 1.6vw, 22px); color: #fff;
}
.tile-title-card.tt-text { bottom: 10%; text-shadow: none; }
/* The bubble: types for a moment, then the title pops in like a sent text. Loops every 8s. */
.tt-msg, .tt-typing { background: #1f8bff; border-radius: 1.2em; box-shadow: 0 8px 30px rgba(0,0,0,.35); position: relative; }
.tt-msg { display: inline-block; padding: .5em .9em; transform-origin: 100% 100%; animation: msg-pop 8s cubic-bezier(.2,.9,.3,1.25) infinite; }
.tt-msg::before { content: ""; position: absolute; right: -.25em; bottom: 0; width: .9em; height: .9em; background: #1f8bff; border-bottom-left-radius: .8em; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.tt-msg::after { content: "Delivered"; position: absolute; right: .3em; top: calc(100% + .35em); font-size: .45em; font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: 0; }
.tt-typing { position: absolute; right: 0; bottom: 0; display: flex; gap: .22em; padding: .62em .8em; animation: typing-show 8s linear infinite; }
.tt-typing i { width: .38em; height: .38em; border-radius: 50%; background: rgba(255,255,255,.9); animation: typing-dot .9s ease-in-out infinite; }
.tt-typing i:nth-child(2) { animation-delay: .15s; } .tt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-show { 0%, 6% { opacity: 0; transform: scale(.6); } 10%, 30% { opacity: 1; transform: scale(1); } 33%, 100% { opacity: 0; transform: scale(.6); } }
@keyframes typing-dot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -.12em; } }
@keyframes msg-pop { 0%, 32% { opacity: 0; transform: scale(.4); } 38% { opacity: 1; transform: scale(1); } 92% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.9); } }
@media (prefers-reduced-motion: reduce) { .tt-msg, .tt-typing, .tt-typing i { animation: none; } .tt-typing { display: none; } }

/* Tom Cruise Week: chrome, italic, action-movie title. */
.tt-chrome {
  font-style: italic; transform: translateY(-50%) skewX(-8deg);
  background:
    linear-gradient(105deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%) no-repeat,
    linear-gradient(180deg, #ffffff 0%, #e9eef2 40%, #3e4a55 50%, #9aa7b2 66%, #ffffff 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chrome-shine 6s ease-in-out infinite;
  text-shadow: none; -webkit-text-stroke: 1px rgba(20,24,28,.55); filter: drop-shadow(0 3px 2px rgba(0,0,0,.6)) drop-shadow(0 0 20px rgba(255,140,40,.45));
  font-size: clamp(30px, 4.6vw, 70px);
}

/* Freaks: sci-fi, split-channel glitch with a faint flicker. */
.tt-glitch {
  color: #eaf7ff; letter-spacing: .22em;
  text-shadow: -3px 0 rgba(255,0,90,.85), 3px 0 rgba(0,225,255,.85), 0 0 22px rgba(120,210,255,.55);
  animation: tt-flicker 4s infinite steps(1);
}
@keyframes tt-flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .55; } 95% { opacity: 1; } 96% { opacity: .7; } }

/* Fright Night: gothic blackletter in blood red. */
.tt-gothic {
  font-family: "Pirata One", "Times New Roman", serif; text-transform: none; letter-spacing: .02em; line-height: .95;
  color: #e3241d; font-size: clamp(26px, 3.6vw, 54px); left: 5% !important; max-width: 24%;
  text-shadow: -2px 0 rgba(0,170,255,.55), 2px 0 rgba(255,0,40,.75), 0 0 14px rgba(255,20,20,.55);
  animation: vhs-flicker 3.2s infinite steps(1), vhs-jitter 2.4s infinite steps(1);
}
/* VHS: scanlines over the letters, plus tracking jitter and flicker. */
.tt-gothic::after {
  content: ""; position: absolute; inset: -4px -6px;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply; pointer-events: none;
}
@keyframes vhs-flicker {
  0%, 100% { opacity: 1; } 8% { opacity: .82; } 9% { opacity: 1; } 47% { opacity: .9; } 48% { opacity: .55; }
  49% { opacity: 1; } 76% { opacity: .75; } 77% { opacity: 1; }
}
@keyframes vhs-jitter {
  0%, 100% { translate: 0 0; } 12% { translate: -3px 0; } 13% { translate: 2px 0; } 14% { translate: 0 0; }
  61% { translate: 4px 0; clip-path: inset(0 0 45% 0); } 62% { translate: -2px 0; clip-path: none; } 63% { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { .tt-gothic { animation: none; } }

/* Celebrity Gogglebox: the show's gold, heavy-caps title. */
.tt-gold {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-weight: 900; white-space: pre-line;
  letter-spacing: .01em; line-height: .95; font-size: clamp(22px, 3.4vw, 50px);
  background:
    linear-gradient(105deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%) no-repeat,
    linear-gradient(180deg, #fff3c4 0%, #f2d27a 30%, #c8962e 55%, #f7dc8a 75%, #b98428 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 150% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 2px 0 rgba(70,40,0,.85)) drop-shadow(0 6px 14px rgba(0,0,0,.45));
  animation: chrome-shine 6s ease-in-out infinite; animation-delay: 1.5s;
}
.tile-title-card.tt-gold { white-space: pre-line; bottom: 7%; }
@media (prefers-reduced-motion: reduce) { .tt-gold { animation: none; } }
@media (prefers-reduced-motion: reduce) { .tt-glitch { animation: none; } }

/* Dexter: the show's own blood-spatter logo (white background blended away). */
.tile-title-card.tt-logo { bottom: 4%; left: 50%; right: auto; transform: translateX(-50%); width: 25%; max-width: none; text-shadow: none; }
.tt-logo img { position: static; width: 100%; height: auto; transform: none !important; filter: saturate(1.25) brightness(1.15) drop-shadow(0 3px 10px rgba(0,0,0,.55)); }

/* Dexter: the clean red italic wordmark from the final-season poster. */
.tile-title-card.tt-dexter { bottom: 7%; left: 5%; right: auto; text-align: left; }
.tt-dexter {
  font-family: "Anton", "Helvetica Neue", Arial, sans-serif; font-weight: 400; color: #e10a12;
  letter-spacing: .015em; line-height: 1; font-size: clamp(40px, 6.4vw, 96px);
  transform: skewX(-11deg); text-shadow: 0 3px 14px rgba(0,0,0,.55);
}

/* About: photo sits close to the copy, bottoms aligned, rather than pushed to the far edge. */
@media (min-width: 821px) {
  .who-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: end; gap: clamp(40px, 5vw, 80px); }
  .who-photos img { max-width: 600px; margin-left: 0; }
}

/* Moving smoke over a still cover (coverFx: 'smoke'). Kept off the centre so the face and title stay clear. */
.fx-smoke { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; opacity: .7;
  /* Smoke only in the background: clear of Joe and the tray (centre column) and the title (bottom band). */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 33%, transparent 67%, #000 78%, #000 100%), linear-gradient(180deg, #000 0%, #000 62%, transparent 76%);
          mask-image: linear-gradient(90deg, #000 0%, #000 22%, transparent 33%, transparent 67%, #000 78%, #000 100%), linear-gradient(180deg, #000 0%, #000 62%, transparent 76%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  transition: opacity .3s; }
.fx-smoke > span { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; }
.fx-smoke svg { position: static !important; width: 100% !important; height: 100% !important; display: block; transform: none !important; }
.fx-smoke-a { animation: smoke-drift 15s ease-in-out infinite alternate; }
.fx-smoke-b { opacity: .85; animation: smoke-drift 20s ease-in-out infinite alternate-reverse; }
@keyframes smoke-drift { from { transform: translateX(0) translateY(0); } to { transform: translateX(-50%) translateY(-4%); } }
.tile.is-playing .fx-smoke { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-smoke > span { animation: none; } }

/* Tom Cruise Week: a light glint sweeps across the chrome every few seconds. */
@keyframes chrome-shine { 0%, 55% { background-position: 150% 0, 0 0; } 85%, 100% { background-position: -50% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .tt-chrome { animation: none; } }

/* Dexter: liquid blood drips under the wordmark (SVG in app.js). */
.tt-dexter .blood { position: absolute !important; left: 0; top: 84%; width: 100% !important; height: 1.1em !important; overflow: visible; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .tt-dexter .blood circle { display: none; } }

/* Dexter melt (SVG built in app.js) */
.tile-title-card.tt-melt { left: 4%; bottom: 2%; width: 38%; max-width: none; text-shadow: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.tt-melt svg { position: static !important; display: block; width: 100% !important; height: auto !important; overflow: visible; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .tt-melt animate { display: none; } }

/* Criminally Funny: GBH-style steel lettering over the blue glow from the trailer's own title card. */
.tile img.cover-glow { filter: blur(26px) brightness(.8) saturate(1.4); transform: scale(1.25); }
.tile:hover img.cover-glow { transform: scale(1.28); }
.tile-title-card.is-center { left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: none; text-align: center; }
.tile-title-card.tt-gbh { inset: 0; top: 0; transform: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-shadow: none; background: radial-gradient(ellipse 60% 55% at 50% 48%, transparent 0%, rgba(0,0,10,.25) 55%, rgba(0,0,8,.85) 100%); }
.tt-gbh .gbh-main, .tt-gbh .gbh-sub {
  font-family: "Anton", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; line-height: .95; letter-spacing: .01em;
  background: linear-gradient(180deg, #f4f8ff 0%, #b9c9e6 30%, #6f86b3 52%, #a9bde3 70%, #e8efff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 #2b3f72) drop-shadow(0 2px 0 #22345f) drop-shadow(0 3px 0 #1a284b) drop-shadow(0 0 16px rgba(110,160,255,.55));
}
.tt-gbh .gbh-main { font-size: clamp(40px, 7.6vw, 112px); }
.tt-gbh .gbh-sub { font-size: clamp(20px, 3.7vw, 56px); letter-spacing: .04em; margin-top: .15em; }

/* Dexter: the bath water gently ripples (coverFx: 'water'). Only the lower part of the frame moves. */
.fx-water { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: opacity .3s;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 72%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 60%, #000 72%, #000 100%); }
.fx-water img { filter: url(#ripple); }
.tile.is-playing .fx-water { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-water { display: none; } }

/* FilmFear: flames licking up around the book (coverFx: 'flames'). Strongest along the bottom and sides, clear over the logo. */
.fx-flames { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; transition: opacity .3s;
  -webkit-mask-image: radial-gradient(ellipse 34% 40% at 50% 46%, transparent 55%, #000 100%), linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 30%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
          mask-image: radial-gradient(ellipse 34% 40% at 50% 46%, transparent 55%, #000 100%), linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 30%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: flame-flicker 1.7s steps(6) infinite; }
.fx-flames > span { position: absolute; left: 0; right: 0; top: 0; height: 200%; }
.fx-flames svg { position: static !important; display: block; width: 100% !important; height: 50% !important; transform: none !important; }
.fx-flames-a { animation: flame-rise 5s linear infinite; }
.fx-flames-b { opacity: .85; animation: flame-rise 3.2s linear infinite; }
@keyframes flame-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes flame-flicker { 0%, 100% { opacity: .95; } 20% { opacity: .8; } 45% { opacity: 1; } 70% { opacity: .85; } }
.tile.is-playing .fx-flames { opacity: 0; animation: none; }
@media (prefers-reduced-motion: reduce) { .fx-flames, .fx-flames > span { animation: none; } }

/* Cover effect video (e.g. FilmFear flames): pure black footage blended with screen so only the light shows. */
.tile video.fx-video { opacity: 1; z-index: 0; transition: opacity .3s; }
.tile.is-playing video.fx-video { opacity: 0; }

/* MAFS: the show's logo on the right, with pastel flowers growing around it. */
.tile-title-card.is-mafs { right: 5%; bottom: 7%; width: 38%; max-width: none; text-shadow: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.is-mafs > img { position: static !important; display: block; width: 100% !important; height: auto !important; transform: none !important; }
.is-mafs .vines { position: absolute; left: -10%; top: -36%; width: 120%; height: auto; overflow: visible; }
.vines .stem { fill: none; stroke: #9fc493; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: vine-grow 12s ease-in-out infinite; animation-delay: var(--d, 0s); }
.vines .leaf, .vines .bloom { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: vine-pop 12s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes vine-grow { 0% { stroke-dashoffset: 100; opacity: 1; } 22% { stroke-dashoffset: 0; } 86% { stroke-dashoffset: 0; opacity: 1; } 94% { opacity: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes vine-pop { 0% { transform: scale(0); opacity: 0; } 8% { transform: scale(1.12); opacity: 1; } 11% { transform: scale(1); } 74% { transform: scale(1); opacity: 1; } 82%, 100% { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vines .stem { animation: none; stroke-dashoffset: 0; } .vines .leaf, .vines .bloom { animation: none; transform: none; } }

/* Dexter: a blade cuts clean through the wordmark. The halves slide apart along the cut, hold, then slide back. */
.tt-dexter .dx-wrap { position: relative; display: inline-block; }
.tt-dexter .dx-half { display: block; }
.tt-dexter .dx-top { clip-path: polygon(-5% -20%, 105% -20%, 105% 44%, -5% 60%); animation: dx-top 7s ease-in-out infinite; }
.tt-dexter .dx-bot { position: absolute; inset: 0; clip-path: polygon(-5% 60%, 105% 44%, 105% 120%, -5% 120%); animation: dx-bot 7s ease-in-out infinite; }
.tt-dexter .dx-cut { position: absolute; left: -4%; right: -4%; top: 52%; height: .045em; border-radius: 1em; transform-origin: left center; transform: rotate(-4deg) scaleX(0);
  background: linear-gradient(90deg, transparent, #fff 15%, #fff 85%, transparent); box-shadow: 0 0 .12em rgba(255,255,255,.9), 0 0 .4em rgba(255,60,60,.6);
  opacity: 0; animation: dx-cut 7s ease-out infinite; }
@keyframes dx-cut { 0%, 18% { transform: rotate(-4deg) scaleX(0); opacity: 1; } 21% { transform: rotate(-4deg) scaleX(1); opacity: 1; } 25%, 100% { transform: rotate(-4deg) scaleX(1); opacity: 0; } }
@keyframes dx-top { 0%, 21% { translate: 0 0; } 24%, 72% { translate: -.05em -.07em; } 78%, 100% { translate: 0 0; } }
@keyframes dx-bot { 0%, 21% { translate: 0 0; } 24%, 72% { translate: .05em .07em; } 78%, 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .tt-dexter .dx-top, .tt-dexter .dx-bot { animation: none; } .tt-dexter .dx-cut { display: none; } }

/* Start the Dexter cut only once the tile scrolls into view, so it always begins whole. */
.tile:not(.is-in) .tt-dexter .dx-top, .tile:not(.is-in) .tt-dexter .dx-bot, .tile:not(.is-in) .tt-dexter .dx-cut { animation-play-state: paused; }

/* MAFS: a few tiny sparkles twinkle on the title, one at a time. */
.is-mafs .spk { position: absolute; width: clamp(7px, .9vw, 13px); aspect-ratio: 1; margin: -.45vw 0 0 -.45vw; background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 3px rgba(255,255,255,.95)); opacity: 0; transform: scale(0) rotate(0deg);
  animation: mafs-sparkle 5s ease-in-out infinite; }
@keyframes mafs-sparkle { 0%, 70%, 100% { opacity: 0; transform: scale(0) rotate(0deg); } 78% { opacity: 1; transform: scale(1) rotate(45deg); } 86% { opacity: 0; transform: scale(.2) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .is-mafs .spk { display: none; } }

/* About photo: plain square. */
.who-photos { -webkit-mask-image: none; mask-image: none; }
.who-photos img { aspect-ratio: auto; clip-path: none; -webkit-mask-image: none; mask-image: none; border-radius: 0; }

/* Everyone Else Burns: the key art's ornate gold serif, glowing above the burning caravan. */
.tile-title-card.tt-burns { top: 12%; }
.tt-burns { white-space: pre-line; text-align: center; text-transform: none; font-family: "Fraunces", Georgia, serif; font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(30px, 5vw, 76px); line-height: .98; letter-spacing: .005em;
  background: linear-gradient(180deg, #fff1b3 0%, #f3cf63 40%, #c8902a 62%, #f6d878 82%, #b47b1e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #6b3f07) drop-shadow(0 0 14px rgba(255,140,40,.55)); }
.tt-burns::before, .tt-burns::after { content: "❦"; display: block; font-size: .45em; line-height: 1.2; }
.tt-burns::after { transform: rotate(180deg); }

/* Mitchell and Webb: a dry, slightly pompous title card. Spaced small caps over a big serif italic, in warm cream. */
.tile-title-card.is-mw { left: 50%; top: 64%; transform: translate(-50%, -50%); max-width: 34%; text-align: center; }
.tt-mw { display: flex; flex-direction: column; align-items: center; color: #fff4dc; text-shadow: 0 2px 14px rgba(70,35,0,.55); }
.tt-mw .mw-top { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .28em; font-size: clamp(8px, 1vw, 14px); margin-bottom: .5em; }
.tt-mw .mw-main { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; font-size: clamp(22px, 3.4vw, 52px); line-height: .95; }

/* Everyone Else Burns: the real gold title lockup from the key art, glowing above the fire. */
.tile-title-card.is-eeb { left: 50%; top: 10%; transform: translateX(-50%); width: 34%; max-width: none; text-shadow: none; filter: drop-shadow(0 2px 2px rgba(60,25,0,.8)) drop-shadow(0 0 14px rgba(255,140,40,.45)); }
.is-eeb > img { position: static !important; display: block; width: 100% !important; height: auto !important; transform: none !important; }

/* Everyone Else Burns: flicker on the fire and sparks rising off the caravan. */
.fx-embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; transition: opacity .3s; }
.fx-embers .fx-glow { position: absolute; left: 25%; top: 40%; width: 50%; height: 42%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, rgba(255,140,30,.55), rgba(255,90,0,.18) 45%, transparent 70%);
  mix-blend-mode: screen; animation: fire-flicker 1.6s steps(8) infinite; }
@keyframes fire-flicker { 0% { opacity: .55; } 15% { opacity: .9; } 30% { opacity: .65; } 45% { opacity: 1; } 60% { opacity: .7; } 75% { opacity: .95; } 90% { opacity: .6; } 100% { opacity: .8; } }
.fx-embers .spark { position: absolute; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 6px 2px rgba(255,140,30,.85);
  opacity: 0; animation: spark-rise linear infinite; }
@keyframes spark-rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  60% { opacity: .85; }
  100% { transform: translate(var(--dx), -150px) scale(.3); opacity: 0; }
}
.tile.is-playing .fx-embers { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-embers { display: none; } }

/* Ramsay: the show's stacked white condensed title, sized to the tile like the key art. */
.tile { container-type: inline-size; }
.tile-title-card.is-rk { left: 9%; top: 40%; max-width: none; }
.tt-ramsay { display: flex; flex-direction: column; align-items: flex-start; font-family: "Anton", "Helvetica Neue", Arial, sans-serif; text-transform: uppercase; color: #fff;
  line-height: .92; letter-spacing: 0; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.tt-ramsay .rk-1 { font-size: 4cqw; }
.tt-ramsay .rk-2 { font-size: 8.2cqw; }
.tt-ramsay .rk-3 { font-size: 5.7cqw; }
.tt-ramsay .rk-4 { font-size: 5cqw; }

/* Ramsay flames: flicker on the grill fire and sparks lifting off it. */
.fx-embers.embers-left .fx-glow { left: 8%; top: 8%; width: 55%; height: 80%; }
.fx-embers.embers-left .spark { margin-left: -14%; }

/* Mitchell and Webb: sauna steam drifting slowly up the frame. */
.fx-steam { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; opacity: .35; transition: opacity .3s;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.25) 100%); mask-image: linear-gradient(0deg, #000 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.25) 100%); }
.fx-steam > span { position: absolute; left: 0; right: 0; top: 0; height: 200%; }
.fx-steam svg { position: static !important; display: block; width: 100% !important; height: 50% !important; transform: none !important; }
.fx-steam-a { animation: steam-rise 26s linear infinite; }
.fx-steam-b { opacity: .7; animation: steam-rise 17s linear infinite; }
@keyframes steam-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tile.is-playing .fx-steam { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fx-steam > span { animation: none; } }

.tile-title-card.is-mw { z-index: 2; }

/* Phones and tablets: every cover already carries its title artwork, so hide the plain text label to avoid doubling up. */
@media (hover: none) { .tile-label { display: none; } }
.tt-mw .mw-top { white-space: nowrap; }
