:root {
  --ff-bg: #07080c;
  --ff-bg-soft: #0d1018;
  --ff-panel: #151822;
  --ff-paper: #f5f1e8;
  --ff-muted: #b4b4b9;
  --ff-copper: #9a4f36;
  --ff-copper-light: #c87956;
  --ff-ember: #ef3528;
  --ff-midnight: #08142d;
  --ff-border: rgba(255, 255, 255, 0.15);
  --ff-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  --ff-gutter: clamp(20px, 4vw, 76px);
  --ff-header: 76px;
  --ff-radius: 8px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ff-bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(8, 20, 45, 0.48), transparent 28rem),
    var(--ff-bg);
  color: var(--ff-paper);
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ff-copper-light); outline-offset: 4px; }
[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  clip: auto !important; width: auto; height: auto;
  z-index: 100000; top: 12px; left: 12px;
  padding: 12px 18px; background: var(--ff-paper); color: var(--ff-bg);
}

.site-header {
  position: fixed; z-index: 1000; inset: 0 0 auto;
  height: var(--ff-header);
  background: linear-gradient(to bottom, rgba(2, 3, 6, 0.94), transparent);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-solid {
  background: rgba(7, 8, 12, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  height: 100%; padding: 0 var(--ff-gutter);
  display: flex; align-items: center; gap: clamp(18px, 3vw, 48px);
}
.brand { display: flex; flex: 0 0 auto; align-items: center; width: clamp(96px, 10vw, 148px); height: 66px; }
.brand img, .brand .custom-logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand .custom-logo-link { display: contents; }
.primary-nav { flex: 1; }
.primary-nav ul, .site-footer ul { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600; transition: color 150ms ease; }
.primary-nav a:hover, .primary-nav .current-menu-item a { color: white; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .text-button, .nav-toggle {
  appearance: none; border: 0; background: transparent; color: white;
}
.icon-button { width: 42px; height: 42px; font-size: 1.8rem; line-height: 1; border-radius: 50%; }
.icon-button:hover { background: rgba(255,255,255,.1); }
.text-button { padding: 8px 12px; font-size: .88rem; font-weight: 700; white-space: nowrap; border-radius: 5px; }
.text-button--outline { border: 1px solid rgba(255,255,255,.45); }
.avatar-link img { width: 34px; height: 34px; border-radius: 5px; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; }
.nav-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: white; }

.site-main { min-height: 80vh; }
.hero { position: relative; height: min(92svh, 980px); min-height: 780px; background: var(--ff-bg); }
.hero__slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0; visibility: hidden;
  display: flex; align-items: center;
  background-image:
    linear-gradient(90deg, rgba(5,6,10,.98) 0%, rgba(5,6,10,.86) 22%, rgba(5,6,10,.25) 58%, rgba(5,6,10,.14) 75%),
    linear-gradient(0deg, var(--ff-bg) 0%, transparent 29%),
    var(--hero-image);
  background-position: center; background-size: cover;
  transition: opacity 700ms ease, visibility 700ms ease;
}
.hero-slide::after, .detail-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(8,20,45,.18), transparent 55%, rgba(154,79,54,.08));
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__content {
  position: relative; z-index: 2;
  width: min(700px, 54vw); margin-left: var(--ff-gutter); padding: var(--ff-header) 0 112px;
  transform: translateY(20px); opacity: 0;
  transition: transform 650ms 180ms ease, opacity 650ms 180ms ease;
}
.hero-slide.is-active .hero-slide__content { transform: none; opacity: 1; }
.hero-slide h1, .detail-hero h1 {
  max-width: 14ch; margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 6.2rem); line-height: .9; letter-spacing: -.055em;
  text-wrap: balance; text-shadow: 0 4px 34px rgba(0,0,0,.58);
}
.hero-slide__eyebrow, .eyebrow {
  margin: 0 0 12px; color: var(--ff-copper-light);
  font-size: .75rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase;
}
.hero-slide__title-logo { width: min(520px, 75%); max-height: 220px; object-fit: contain; object-position: left center; margin-bottom: 18px; filter: drop-shadow(0 5px 22px rgba(0,0,0,.7)); }
.hero-slide__brand-logo { width: min(450px, 72%); max-height: 320px; object-fit: contain; object-position: left center; }
.title-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0; color: rgba(255,255,255,.88); font-size: .92rem; font-weight: 650; }
.maturity { padding: 2px 7px; border: 1px solid rgba(255,255,255,.46); border-radius: 2px; line-height: 1.2; }
.hero-slide__summary, .detail-hero__summary { max-width: 58ch; margin: 15px 0 24px; color: rgba(255,255,255,.92); font-size: clamp(.98rem, 1.25vw, 1.25rem); line-height: 1.48; text-shadow: 0 2px 14px rgba(0,0,0,.75); }
.hero-slide__actions, .detail-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button, .round-button, .card-icon {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 44px; border: 0; border-radius: 5px; padding: 10px 22px;
  font-weight: 780; line-height: 1; transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}
.button:hover, .round-button:hover, .card-icon:hover { transform: scale(1.035); }
.button--light { background: var(--ff-paper); color: #07080c; }
.button--light:hover { background: white; }
.button--glass { background: rgba(80,83,90,.78); color: white; backdrop-filter: blur(8px); }
.button--glass:hover { background: rgba(105,108,115,.88); }
.button--ember { background: var(--ff-ember); color: white; }
.round-button { width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(15,17,23,.62); color: white; font-size: 1.4rem; }
.hero__controls { position: absolute; z-index: 4; right: var(--ff-gutter); bottom: 13%; display: flex; align-items: center; gap: 10px; }
.hero__controls > button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--ff-border); border-radius: 50%; background: rgba(7,8,12,.5); color: white; font-size: 1.5rem; }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 26px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.35); }
.hero__dots button.is-active { background: var(--ff-copper-light); }

.catalog-rows { position: relative; z-index: 5; margin-top: 0; padding-bottom: 40px; }
.title-row { margin: 0 0 clamp(26px, 3.8vw, 58px); scroll-margin-top: calc(var(--ff-header) + 18px); }
.title-row__heading { display: flex; align-items: center; gap: 14px; padding: 0 var(--ff-gutter); margin-bottom: 12px; }
.title-row h2 { flex: 0 0 auto; margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.75rem); letter-spacing: -.025em; }
.title-row__line { height: 1px; flex: 1; max-width: 120px; background: linear-gradient(90deg, var(--ff-copper), transparent); }
.title-row__frame { position: relative; }
.title-row__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 18vw, 340px);
  gap: clamp(7px, .65vw, 12px); overflow-x: auto; overflow-y: hidden;
  padding: 6px var(--ff-gutter) 110px; margin-bottom: -100px;
  scroll-padding-inline: var(--ff-gutter); scroll-snap-type: x proximity; scrollbar-width: none;
}
.title-row__track::-webkit-scrollbar { display: none; }
.carousel-arrow {
  position: absolute; z-index: 12; top: 6px; bottom: 110px; width: var(--ff-gutter);
  border: 0; opacity: 0; background: rgba(4,5,8,.76); color: white; font-size: clamp(2rem, 4vw, 4.5rem);
  transition: opacity 150ms ease; backdrop-filter: blur(4px);
}
.title-row__frame:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow--prev { left: 0; }
.carousel-arrow--next { right: 0; }
.title-card {
  position: relative; z-index: 1; min-width: 0; scroll-snap-align: start;
  border-radius: var(--ff-radius); background: var(--ff-panel); box-shadow: 0 0 0 transparent;
  transition: transform 210ms ease, box-shadow 210ms ease, z-index 0s 210ms;
}
.title-card:hover, .title-card:focus-within { z-index: 10; transform: translateY(-8px) scale(1.08); box-shadow: var(--ff-shadow); transition-delay: 120ms; }
.title-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; border-radius: var(--ff-radius); background: #111; }
.title-card__image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(5,6,9,.58)); }
.title-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.title-card:hover .title-card__image img { transform: scale(1.035); }
.title-card__play { position: absolute; z-index: 2; inset: 50% auto auto 50%; display: grid; place-items: center; width: 46px; height: 46px; padding-left: 3px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; opacity: 0; transform: translate(-50%,-42%); background: rgba(7,8,12,.66); transition: opacity 180ms ease, transform 180ms ease; }
.title-card:hover .title-card__play, .title-card:focus-within .title-card__play { opacity: 1; transform: translate(-50%,-50%); }
.title-card__badges { position: absolute; z-index: 3; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 4px; max-width: 100%; padding: 0 0 5px 5px; }
.title-card__badge { padding: 5px 9px; background: var(--ff-copper); color: white; font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.title-card__badge--fugazy-originals { background: var(--ff-copper); }
.title-card__badge--ancient-memoria-originals { background: var(--ff-midnight); box-shadow: inset 0 0 0 1px rgba(163, 202, 255, .52); }
.title-card__badge--coming-soon { background: var(--ff-ember); }
.title-card__progress { position: absolute; z-index: 4; inset: auto 8px 6px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.27); opacity: 0; }
.title-card__progress.has-progress { opacity: 1; }
.title-card__progress span { display: block; width: 0; height: 100%; background: var(--ff-ember); }
.title-card__details { position: absolute; visibility: hidden; opacity: 0; inset: calc(100% - 7px) 0 auto; min-height: 118px; padding: 13px 14px 15px; border-radius: 0 0 var(--ff-radius) var(--ff-radius); background: var(--ff-panel); box-shadow: 0 22px 36px rgba(0,0,0,.48); transition: opacity 170ms 110ms ease, visibility 170ms 110ms; }
.title-card:hover .title-card__details, .title-card:focus-within .title-card__details { visibility: visible; opacity: 1; }
.title-card__actions { display: flex; gap: 7px; }
.card-icon { width: 34px; min-height: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(0,0,0,.32); color: white; font-size: .9rem; }
.card-icon--play { border-color: white; background: white; color: #090a0d; }
.card-icon--more { margin-left: auto; }
.title-card h3 { overflow: hidden; margin: 10px 0 5px; font-size: .88rem; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.title-card__meta { display: flex; gap: 8px; align-items: center; color: #b8f1b2; font-size: .7rem; font-weight: 700; }
.title-card__meta .maturity { color: #ddd; }
.title-card__genres { overflow: hidden; margin: 6px 0 0; color: #ccc; font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }

.subscribe-panel { margin: 30px var(--ff-gutter) 90px; padding: clamp(26px, 4vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(200,121,86,.22); border-radius: 12px; background: linear-gradient(120deg, rgba(154,79,54,.19), rgba(8,20,45,.35)), url('../images/brand-hero.jpg') center/cover; box-shadow: inset 0 0 0 100vw rgba(7,8,12,.55); }
.subscribe-panel h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.04em; }
.subscribe-panel p:not(.eyebrow) { max-width: 58ch; margin-bottom: 0; color: var(--ff-muted); }

.search-dialog, .title-dialog { width: min(1000px, 92vw); max-height: 88vh; padding: 0; border: 1px solid var(--ff-border); border-radius: 10px; background: #11141b; color: white; box-shadow: var(--ff-shadow); }
.search-dialog::backdrop, .title-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(7px); }
.dialog-close-form { position: absolute; z-index: 4; top: 14px; right: 14px; margin: 0; }
.dialog-close-form button { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.68); color: white; font-size: 1.8rem; }
.search-dialog__inner { padding: clamp(34px, 6vw, 76px); }
.search-dialog label { display: block; margin-bottom: 12px; font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 800; }
.search-dialog input { width: 100%; padding: 13px 0; border: 0; border-bottom: 2px solid var(--ff-copper); outline: 0; background: transparent; color: white; font-size: 1.2rem; }
.search-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.search-result { overflow: hidden; border-radius: 6px; background: var(--ff-panel); }
.search-result img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.search-result span { display: block; padding: 10px 12px; font-weight: 700; }
.title-dialog [data-title-dialog-content] { min-height: 500px; }
.dialog-title-hero { min-height: 400px; padding: clamp(100px, 20vw, 220px) clamp(24px, 5vw, 60px) 42px; display: flex; align-items: flex-end; background: linear-gradient(0deg, #11141b 0%, transparent 70%), linear-gradient(90deg, rgba(0,0,0,.65), transparent), var(--dialog-image) center/cover; }
.dialog-title-hero > div { max-width: 630px; }
.dialog-title-hero h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 5rem); line-height: .92; }
.dialog-title-body { padding: 26px clamp(24px, 5vw, 60px) 48px; }

.detail-hero { position: relative; min-height: min(86svh, 900px); display: flex; align-items: flex-end; padding: calc(var(--ff-header) + 50px) var(--ff-gutter) 10vh; background-image: linear-gradient(90deg, rgba(5,6,10,.96), rgba(5,6,10,.32) 65%), linear-gradient(0deg, var(--ff-bg), transparent 38%), var(--detail-image); background-position: center; background-size: cover; }
.detail-hero__content { position: relative; z-index: 2; width: min(720px, 60vw); }
.detail-hero__logo { width: min(560px, 80%); max-height: 230px; margin-bottom: 20px; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 25px rgba(0,0,0,.75)); }
.watch-section { scroll-margin-top: var(--ff-header); padding: 0 var(--ff-gutter) clamp(44px, 6vw, 90px); }
.watch-section__player { overflow: hidden; width: min(1500px, 100%); margin: 0 auto; aspect-ratio: 16/9; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: #000; box-shadow: var(--ff-shadow); }
.next-episode { width: min(1500px, 100%); margin: 14px auto 0; padding: 13px 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--ff-border); border-radius: 6px; background: var(--ff-panel); }
.next-episode span { color: var(--ff-copper-light); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.next-episode b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ff-paper); color: var(--ff-bg); }
.fugazy-video, .fugazy-embed, .fugazy-embed iframe { width: 100%; height: 100%; border: 0; }
.fugazy-access-message { height: 100%; display: grid; place-content: center; padding: 30px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(154,79,54,.3), transparent 55%); }
.detail-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr); gap: clamp(30px, 6vw, 100px); padding: 0 var(--ff-gutter) 80px; }
.detail-body h2, .series-content h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.04em; }
.prose { color: #d3d3d6; font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose a { color: var(--ff-copper-light); text-decoration: underline; }
.detail-facts { padding-top: 12px; color: var(--ff-muted); font-size: .92rem; }
.detail-facts strong { color: white; }
.viewer-rating { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ff-border); }
.viewer-rating div { display: flex; gap: 7px; }
.viewer-rating button { width: 42px; height: 42px; padding: 0; border: 1px solid var(--ff-border); border-radius: 50%; background: transparent; filter: grayscale(1); }
.viewer-rating button.is-active { border-color: var(--ff-copper-light); background: rgba(154,79,54,.25); filter: none; }
.legal-note { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid var(--ff-border); color: #878991; font-size: .78rem; }
.series-content { padding: clamp(40px, 6vw, 90px) var(--ff-gutter); }
.series-content__heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.series-content select { min-width: 150px; padding: 11px 40px 11px 14px; border: 1px solid var(--ff-border); border-radius: 5px; background: var(--ff-panel); }
.episode-list { border-top: 1px solid var(--ff-border); }
.episode-card { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 38px); align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--ff-border); }
.episode-card__image { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 6px; background: #111; }
.episode-card__image img { width: 100%; height: 100%; object-fit: cover; }
.episode-card__image span { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 45px; height: 45px; border: 2px solid white; border-radius: 50%; background: rgba(0,0,0,.5); transform: translate(-50%,-50%); }
.episode-card h3 { margin: 2px 0 7px; font-size: 1.15rem; }
.episode-card p { margin: 0; color: var(--ff-muted); font-size: .9rem; }
.episode-card__number { color: var(--ff-copper-light) !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.episode-card__runtime { color: var(--ff-muted); font-size: .86rem; }

.archive-header, .standard-page { padding: calc(var(--ff-header) + 80px) var(--ff-gutter) 48px; }
.archive-header { min-height: 320px; background: linear-gradient(160deg, rgba(8,20,45,.9), var(--ff-bg) 70%); }
.archive-header h1, .standard-page h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.055em; line-height: .92; }
.archive-description { max-width: 65ch; color: var(--ff-muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 30px); padding: 10px var(--ff-gutter) 100px; }
.catalog-grid .title-card__details { position: static; visibility: visible; opacity: 1; box-shadow: none; }
.catalog-grid .title-card:hover, .catalog-grid .title-card:focus-within { transform: translateY(-5px) scale(1.02); }
.post-card { overflow: hidden; border-radius: 8px; background: var(--ff-panel); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card h2, .post-card p { margin: 14px 16px; }
.standard-page { max-width: 1000px; margin: 0 auto; padding-bottom: 100px; }
.standard-page header { margin-bottom: 50px; }
.navigation.pagination { padding: 0 var(--ff-gutter) 80px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ff-border); border-radius: 4px; }
.page-numbers.current { background: var(--ff-copper); border-color: var(--ff-copper); }

.comments-shell { padding: 0 var(--ff-gutter) 100px; }
.comments-area { max-width: 920px; padding-top: 50px; border-top: 1px solid var(--ff-border); }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin: 20px 0; padding: 20px; border-radius: 7px; background: var(--ff-panel); }
.comment-meta { display: flex; gap: 12px; align-items: center; }
.comment-form label { display: block; margin-bottom: 5px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; padding: 12px; border: 1px solid var(--ff-border); border-radius: 4px; background: #0d1018; color: white; }
.comment-form .submit { padding: 11px 20px; border: 0; border-radius: 4px; background: var(--ff-copper); color: white; font-weight: 750; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 35px; align-items: start; padding: 58px var(--ff-gutter) 30px; border-top: 1px solid var(--ff-border); background: #050609; color: var(--ff-muted); }
.site-footer__brand img { width: 115px; height: 80px; object-fit: contain; object-position: left center; }
.site-footer__brand p { max-width: 42ch; margin: 8px 0 0; font-size: .85rem; }
.site-footer ul { flex-wrap: wrap; }
.site-footer a:hover { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.copyright { grid-column: 1/-1; margin: 25px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; }

.fugazy-stinger { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; background: #000; opacity: 1; transition: opacity 500ms ease; }
.fugazy-stinger.is-leaving { opacity: 0; pointer-events: none; }
.fugazy-stinger video { width: 100%; height: 100%; object-fit: contain; }
.fugazy-stinger__skip { position: absolute; z-index: 2; right: 26px; bottom: 26px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; background: rgba(0,0,0,.5); color: white; }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .primary-nav { position: fixed; top: var(--ff-header); left: 0; right: 0; display: none; padding: 24px var(--ff-gutter); background: rgba(7,8,12,.98); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; }
  .primary-nav a { display: block; padding: 8px 0; font-size: 1rem; }
  .nav-toggle { display: block; order: 2; }
  .header-actions { margin-left: auto; order: 1; }
  .primary-nav { order: 3; }
}

@media (min-width: 761px) and (max-height: 800px) {
  .catalog-rows { margin-top: 0; }
}

@media (max-width: 760px) {
  :root { --ff-header: 64px; --ff-gutter: 18px; }
  .brand { width: 92px; height: 55px; }
  .header-actions [data-my-list-open], .text-button--outline { display: none; }
  .hero { height: 84svh; min-height: 700px; }
  .hero-slide { align-items: flex-end; padding-bottom: 100px; background-image: linear-gradient(0deg, var(--ff-bg) 0%, rgba(5,6,10,.2) 62%), linear-gradient(90deg, rgba(5,6,10,.82), transparent), var(--hero-image); background-position: center; }
  .hero-slide__content { width: calc(100% - 36px); margin-left: 18px; padding: 0 0 100px; }
  .hero-slide h1, .detail-hero h1 { font-size: clamp(2.7rem, 14vw, 5.2rem); }
  .hero-slide__summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .95rem; }
  .hero-slide__title-logo { width: min(380px, 78%); max-height: 150px; }
  .hero__controls { right: 18px; bottom: 55px; }
  .hero__controls > button { display: none; }
  .catalog-rows { margin-top: 0; }
  .title-row__track { grid-auto-columns: 72vw; padding-bottom: 76px; margin-bottom: -64px; }
  .carousel-arrow { display: none; }
  .title-card:hover, .title-card:focus-within { transform: none; }
  .title-card__details { position: static; visibility: visible; opacity: 1; min-height: 0; padding: 10px 11px 12px; box-shadow: none; }
  .title-card__actions { display: none; }
  .title-card h3 { margin-top: 0; }
  .title-card__play { opacity: 1; width: 42px; height: 42px; }
  .subscribe-panel { align-items: flex-start; flex-direction: column; margin-bottom: 55px; }
  .detail-hero { min-height: 78svh; padding-bottom: 62px; background-image: linear-gradient(0deg, var(--ff-bg) 0%, rgba(5,6,10,.14) 70%), linear-gradient(90deg, rgba(5,6,10,.76), transparent), var(--detail-image); }
  .detail-hero__content { width: 100%; }
  .watch-section { padding-inline: 0; }
  .watch-section__player { border-radius: 0; }
  .detail-body { grid-template-columns: 1fr; gap: 12px; }
  .series-content__heading { align-items: start; flex-direction: column; }
  .episode-card { grid-template-columns: 120px minmax(0,1fr); gap: 14px; }
  .episode-card__runtime { display: none; }
  .episode-card div > p:not(.episode-card__number) { display: none; }
  .search-results { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .header-actions .icon-button { width: 36px; }
  .hero-slide__actions .button { padding-inline: 15px; }
  .round-button { width: 43px; height: 43px; }
  .title-row__track { grid-auto-columns: 78vw; }
  .search-results, .catalog-grid { grid-template-columns: 1fr; }
  .episode-card { grid-template-columns: 108px minmax(0,1fr); }
}

@media (min-width: 1900px) {
  :root { --ff-header: 92px; --ff-gutter: 5vw; }
  body { font-size: 19px; }
  .brand { width: 180px; height: 82px; }
  .primary-nav a, .text-button { font-size: 1rem; }
  .title-row__track { grid-auto-columns: minmax(330px, 18vw); }
  .button { min-height: 52px; padding-inline: 28px; }
}

@media (hover: none) {
  .carousel-arrow { display: none; }
  .title-card__play { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
