@font-face {
  font-family: "Roboto Condensed";
  src: url("./assets/condensed-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("./assets/condensed-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: dark;
  --paper: #f4f1e9;
  --ink: #10100f;
  --orange: #ff623e;
  --soft: #bcbab2;
  --line: #393834;
  --display: "Roboto Condensed","Arial Narrow",Arial,sans-serif;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  --gutter: clamp(22px,5vw,80px);
  font-family: "Inter","Segoe UI",Arial,sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
* { box-sizing: border-box; }
body { background: var(--ink); color: var(--paper); margin: 0; }
h1,h2,p,figure { margin: 0; }
button,a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible,a:focus-visible { outline: 3px solid #ffd29e; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--orange); }
.wrap { width: min(100% - var(--gutter)*2,1480px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px 18px; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Network ident and broadcast navigation. */
.masthead { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #343330; background: rgb(16 16 15 / .93); backdrop-filter: blur(18px); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; gap: 24px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 10px; font: 900 1.63rem/.95 var(--display); letter-spacing: -.06em; }
.brand-tv { color: var(--orange); }
.ident { width: 29px; height: 27px; display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; transform: skewX(-14deg); }
.ident i { width: 6px; height: 58%; background: var(--orange); }
.ident i:nth-child(2) { height: 100%; }
.ident i:nth-child(3) { height: 78%; }
.nav { display: flex; align-items: center; gap: clamp(20px,2.6vw,50px); }
.nav a { position: relative; font-size: .94rem; font-weight: 550; color: #adaea8; padding-block: 10px; transition: color .25s; }
.nav a:hover,.nav a[aria-current] { color: var(--paper); }
.nav a::after { content:""; height: 2px; background: var(--orange); position: absolute; bottom: 3px; left: 0; right: 0; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a[aria-current]::after { transform: scaleX(1); }
.sound { justify-self: end; display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 36px; padding: 0 13px; border: 1px solid #4a4943; border-radius: 3px; background: transparent; font: 500 .84rem/1.2 var(--mono); }
.sound:hover { border-color: var(--soft); }
.wave,.signal { display: inline-flex; align-items: center; gap: 2px; height: 15px; }
.wave i,.signal i { width: 2px; background: var(--orange); height: 35%; }
.wave i:nth-child(2) { height: 72%; }.wave i:nth-child(3) { height: 100%; }.wave i:nth-child(4) { height: 53%; }.wave i:nth-child(5) { height: 75%; }
.sound[aria-pressed="true"] .wave i { animation: meter .6s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-delay: -.35s !important; }
.wave i:nth-child(3n) { animation-delay: -.2s !important; }
@keyframes meter { to { transform: scaleY(.35); } }

/* The title and viewfinder share one film frame. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 64% 38%,#25231e 0, #151513 42%,#10100f 77%); }
.hero::before,.cast::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; background-image:url("./assets/grain.png"); opacity:.09; }
.hero-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; position: relative; padding-block: clamp(40px,4.4vw,77px); gap: clamp(16px,2.4vw,48px); }
.hero-copy { z-index: 2; position: relative; }
.hero-kicker,.eyebrow,.card-cam,.role,.camera-frame,.ticker,.ep-num,.ep-duration,.ep-count { font-family: var(--mono); font-weight: 600; }
.hero-kicker,.eyebrow,.role,.card-cam,.ticker,.camera-frame { text-transform: uppercase; }
.hero-kicker { display: flex; align-items:center; flex-wrap: wrap; gap: 14px; color: #c3c0b6; font-size: .78rem; letter-spacing: .105em; }
.season { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px 4px; border: 1px solid rgb(255 98 62 / .6); color: var(--orange); border-radius: 2px; letter-spacing: .065em; }
.season i,.rec b,.card-cam i { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
h1,h2,.card-details strong,.ep-copy strong { font-family: var(--display); }
h1 { font-size: clamp(5.7rem,9.85vw,10.75rem); line-height: .85; letter-spacing: -.058em; font-weight: 900; text-transform: uppercase; margin: clamp(18px,1.9vw,30px) 0 clamp(17px,1.6vw,25px) -.035em; }
.title-line { display: block; overflow: hidden; padding: .055em .02em .07em 0; margin-block: -.055em -.07em; }
.title-line > span { display: block; }
.accent,.section-head h2 span { color: var(--orange); }
.title-line.accent { font-size: 2.42em; line-height: .84; letter-spacing: -.055em; }
.title-stop { margin-left: -.015em; }
.hero-acronym { font-family: var(--mono); font-size: clamp(.78rem, .95vw, .9rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.synopsis { max-width: 36ch; font-size: clamp(1rem,1.29vw,1.23rem); line-height: 1.52; font-weight: 400; color: #d0cec6; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(21px,2.05vw,34px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 clamp(14px,1.55vw,26px); height: 49px; border-radius: 3px; font-size: .95rem; font-weight: 700; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.btn:active,.sound:active { transform: scale(.97); }
.primary { background: var(--orange); border: 1px solid var(--orange); color: #130f0c; }
.primary:hover { background: #ff835d; border-color: #ff835d; }
.secondary { border: 1px solid #55544e; background: rgb(16 16 15 / .4); }
.secondary:hover { border-color: #a09b91; background: #262520; }
.play-icon { display:inline-block; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.episodes-icon { width: 15px; height: 12px; border: 1.5px solid currentColor; border-radius: 1px; position: relative; }
.episodes-icon::before { content:""; position:absolute; left:-3px; right:2px; top:-4.5px; border-top:1.5px solid currentColor; }
.poster { position: relative; aspect-ratio: 1.52; margin: 0; overflow: hidden; isolation: isolate; background: #292923; }
.poster-picture,.poster-print,.poster-picture img,.poster-picture video { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster-picture { overflow: hidden; }
.poster-picture img,.poster-picture video { object-fit: cover; object-position: 50% 34%; transform: translate(var(--px,0px),var(--py,0px)) scale(calc(1.025 + var(--lens,0))); transition: transform .9s var(--ease); }
.poster-print { background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / .11) 3px 4px), linear-gradient(100deg, rgb(43 23 13 / .15),transparent 45%,rgb(148 74 30 / .1)); pointer-events: none; }
.poster-print::after { content:""; position: absolute; inset: 0; background: linear-gradient(to bottom,rgb(13 12 10 / .25),transparent 30%, transparent 65%,rgb(13 12 10 / .7)); }
.poster-subtitles { position: absolute; left: 50%; bottom: clamp(36px, 7%, 52px); z-index: 2; transform: translate(-50%, 6px); width: max-content; max-width: calc(100% - 48px); text-align: center; pointer-events: none; opacity: 0; transition: opacity .28s ease, transform .28s var(--ease); }
.poster-subtitles.is-visible { opacity: 1; transform: translate(-50%, 0); }
.poster-sub-line { display: inline-block; padding: 6px 13px; border-radius: 3px; background: rgb(10 10 9 / .8); border: 1px solid rgb(244 241 233 / .16); backdrop-filter: blur(6px); color: #f6f3eb; font-size: clamp(.78rem, 1.02vw, .96rem); font-weight: 600; line-height: 1.35; letter-spacing: .01em; text-shadow: 0 1px 2px #000; }
.camera-frame { position: absolute; inset: 15px; color: #eeede6; font-size: clamp(.75rem, .92vw,.95rem); line-height: 1; letter-spacing: .11em; text-shadow: 0 1px 4px #000; }
.corner { position:absolute; height: 17px; width: 17px; border-style: solid; border-color: #e4e0d0; opacity: .82; }
.tl { left:0; top:0; border-width:2px 0 0 2px; }.tr { right:0; top:0; border-width:2px 2px 0 0; }.bl { left:0; bottom:0; border-width:0 0 2px 2px; }.br { right:0; bottom:0; border-width:0 2px 2px 0; }
.rec,.camera-id,.time-code,.signal { position: absolute; }
.rec { top: 14px; left: 15px; display: flex; align-items: center; gap: 7px; }
.rec b { width: 8px; height: 8px; animation: record 2.3s ease-in-out infinite; }
.camera-id { top: 14px; right: 15px; }
.time-code { bottom: 12px; left: 15px; font-variant-numeric: tabular-nums; }
.signal { bottom: 12px; right: 15px; align-items: flex-end; height: 14px; gap: 2px; }
.signal i { background: #e1dfd1; width: 3px; height: 25%; }.signal i:nth-child(2){height:45%}.signal i:nth-child(3){height:65%}.signal i:nth-child(4){height:82%}.signal i:nth-child(5){height:100%}
@keyframes record { 50% { opacity: .4; } }

/* A transport control keeps the on-screen bulletin stoppable. */
.ticker { display:flex; align-items:stretch; overflow: hidden; background: var(--orange); color: #181310; min-height: 42px; font-size: .8rem; letter-spacing: .055em; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 9px; padding: 0 22px 0 max(var(--gutter),calc((100vw - 1480px) / 2)); font-weight: 800; border-right: 1px solid rgb(0 0 0 / .38); }
.on-air { width: 12px; height: 12px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items:center; }
.on-air::after { content:""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ticker-window { flex: 1; min-width: 0; overflow: hidden; display:flex; align-items: center; }
.ticker-belt { display:flex; width:max-content; animation: bulletin 47s linear infinite; }
.ticker-copy { display:flex; align-items:center; gap: 29px; white-space: nowrap; padding-right: 29px; }
.ticker-copy span { white-space: nowrap; }.ticker-copy i { font: 1.19rem/1 Arial,sans-serif; }
.ticker[data-paused] .ticker-belt { animation-play-state: paused; }
.ticker-toggle { flex:none; width: 42px; display:grid; place-items:center; background: transparent; border:0; border-left:1px solid rgb(0 0 0 / .3); color: var(--ink); }
.ticker-toggle span { width:8px; height:10px; border-inline: 2px solid; }
.ticker[data-paused] .ticker-toggle span { width:0;height:0; border: 5px solid transparent; border-left:7px solid; border-right:0; }
.ticker-toggle:focus-visible { outline-color: #111; outline-offset: -4px; }
@keyframes bulletin { from {transform:translateX(0)} to {transform:translateX(-50%)} }

.section { padding-block: clamp(52px,5.2vw,88px); }
.cast { isolation:isolate; position:relative; background: #151513; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: clamp(24px,2.45vw,39px); }
.eyebrow { display: flex; align-items:center; gap: 9px; color: var(--orange); font-size: .78rem; letter-spacing: .145em; margin-bottom: 12px; }
.eyebrow i { width: 23px; height: 2px; background: currentColor; }
h2 { font-size: clamp(3rem,4.7vw,5.2rem); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; font-weight: 850; }
.section-note { font-size: .98rem; line-height: 1.45; color: #b9b8af; }
.cast-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.4vw,24px); }
.cast-card { width:100%; text-align:left; display:block; overflow:hidden; position:relative; aspect-ratio: 1.035; background:#2c2b28; border:1px solid #42403a; padding:0; isolation:isolate; }
.cast-card img,.ep-thumb img { height:100%; width:100%; object-fit:cover; display:block; transition: transform .9s var(--ease),filter .7s; }
.cast-card img { object-position:50% 30%; }
.cast-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgb(11 11 10 / .38),transparent 22%,transparent 35%,rgb(12 12 11 / .38) 62%,rgb(9 9 8 / .96)); z-index:0; }
.card-cam,.card-details,.open-profile { position:absolute; z-index:1; }
.card-cam { top:16px; left:16px; font-size: .75rem; letter-spacing:.09em; display:inline-flex; align-items:center; gap:7px; padding:5px 7px; color:#e4e2d9; background: rgb(13 13 12 / .65); border: 1px solid rgb(226 219 205 / .38); }
.card-cam i { width:5px;height:5px; border-radius:0; }
.card-details { display: grid; gap:5px; left:clamp(14px,1.65vw,27px); right:50px; bottom:clamp(17px,1.65vw,27px); }
.role { color:#fab69c; font-size:.75rem; letter-spacing:.1em; }
.card-details strong { font-size:clamp(1.5rem,2.45vw,2.8rem); line-height:1.03; font-weight:800; letter-spacing:-.036em; }
.open-profile,.ep-play { border:1px solid rgb(235 232 223 / .5); border-radius:50%; width:35px; height:35px; display:grid; place-items:center; transition: background .35s, color .35s, transform .5s var(--ease), border-color .35s; }
.open-profile { right:clamp(12px,1.4vw,24px); bottom:clamp(16px,1.65vw,27px); }
.open-profile::before,.open-profile::after { content:""; width:12px; height:1px; background:currentColor; position:absolute; }
.open-profile::after { transform:rotate(90deg); }
.cast-card:is(:hover,:focus-visible) img { transform:scale(1.055); }
.cast-card:is(:hover,:focus-visible) .open-profile { background:var(--orange); border-color:var(--orange); color:var(--ink); transform:rotate(90deg); }
.cast-card:nth-child(2) { --delay:70ms; }.cast-card:nth-child(3) { --delay:140ms; }
.episodes { background:#10100f; border-block-start:1px solid var(--line); }
.ep-count { display:block; font-size:.78rem; text-transform:uppercase; color:var(--orange); letter-spacing:.07em; margin-top:5px; }
.episode-list { border-top:1px solid #55534b; }
.episode { display:grid; grid-template-columns: 34px clamp(100px,11vw,172px) 1fr auto 40px; gap:clamp(14px,2.4vw,43px); width:100%; align-items:center; background:transparent; border:0; border-bottom:1px solid var(--line); padding:17px 9px; text-align:left; transition:background .4s; }
.ep-num,.ep-duration { color:#bab8ad; font-size:.86rem; }
.ep-thumb { aspect-ratio:1.78; overflow:hidden; }
.ep-copy { display:grid; gap:5px; }
.ep-copy strong { font-size:clamp(1.6rem,2.35vw,2.6rem); font-weight:750; letter-spacing:-.035em; line-height:1.12; }
.ep-copy > span { color:var(--soft); font-size:1rem; line-height:1.4; }
.ep-play { width:38px; height:38px; }
.ep-play i { margin-left:3px; }
.episode:is(:hover,:focus-visible) { background:#1b1a18; }
.episode:is(:hover,:focus-visible) .ep-thumb img { transform:scale(1.08); }
.episode:is(:hover,:focus-visible) .ep-play { color:var(--ink); background:var(--orange); border-color:var(--orange); }
footer { border-block-start:1px solid var(--line); }
.footer-inner { min-height:96px; display:flex; align-items:center; gap:28px; }
.footer-inner p,.back-top { color:#aca99f; font-size:.9rem; }
.back-top { margin-left:auto; padding:12px 0; text-decoration:underline; text-underline-offset:4px; }

/* Ticket guide: how to write a request, in the show's own language. */
.ticket { isolation:isolate; position:relative; background:#151513; border-block-start:1px solid var(--line); }
.ticket::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:-1; background-image:url("./assets/grain.png"); opacity:.09; }
.brief { list-style:none; margin:0; padding:0; border-top:1px solid #55534b; }
.brief-row { display:grid; grid-template-columns:34px clamp(150px,18vw,270px) 1fr; gap:clamp(14px,2.4vw,43px); align-items:baseline; padding:20px 9px; border-bottom:1px solid var(--line); }
.brief-num { font:600 .86rem/1 var(--mono); color:#bab8ad; }
.brief-row strong { font:750 clamp(1.5rem,2.2vw,2.4rem)/1.12 var(--display); letter-spacing:-.035em; }
.brief-row p { color:var(--soft); font-size:1rem; line-height:1.45; max-width:58ch; }
.cases { display:grid; grid-template-columns:1fr 1fr; gap:clamp(12px,1.4vw,24px); margin-top:clamp(28px,3vw,48px); }
.case { margin:0; padding:clamp(18px,2vw,30px); border:1px solid #42403a; background:#1b1a18; }
.case.good { border-color:rgb(255 98 62 / .65); }
.case-tag { display:inline-block; padding:5px 8px 4px; border:1px solid #6a6860; color:#c3c0b6; font:600 .75rem/1.2 var(--mono); letter-spacing:.1em; text-transform:uppercase; }
.case.good .case-tag { border-color:rgb(255 98 62 / .65); color:var(--orange); }
.case blockquote { margin:16px 0 12px; font:750 clamp(1.3rem,1.9vw,2rem)/1.2 var(--display); letter-spacing:-.025em; }
.case p { color:var(--soft); font-size:.95rem; line-height:1.45; }
.ticket-cta { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:clamp(24px,2.6vw,40px); }
.ticket-note { font:600 .78rem/1.3 var(--mono); letter-spacing:.09em; text-transform:uppercase; color:#aca99f; }
@media (max-width:700px) {
  .brief-row { grid-template-columns:28px 1fr; gap:6px 12px; padding:16px 0; }
  .brief-row p { grid-column:2; font-size:.92rem; }
  .cases { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:no-preference) {
  .title-line > span { animation: title-in .95s var(--ease) backwards; }
  .title-line:nth-child(2) > span { animation-delay: .09s; }
  .poster { animation: tune-in 1.2s var(--ease) backwards; }
  .hero-kicker,.hero-acronym,.synopsis,.hero-actions { animation: settle .85s var(--ease) backwards; }
  .hero-acronym { animation-delay:.08s; }.synopsis { animation-delay:.12s; }.hero-actions { animation-delay:.18s; }
  .reveal.is-visible { animation: reveal .8s var(--ease) var(--delay,0s) backwards; }
  @keyframes title-in { from { transform:translateY(110%); } }
  @keyframes settle { from {opacity:0; transform:translateY(12px);} }
  @keyframes tune-in { from {clip-path:inset(0 0 0 15%); filter:brightness(.55);} to {clip-path:inset(0); filter:brightness(1);} }
  @keyframes reveal { from {opacity:.12; transform:translateY(22px);} }
}
@media (min-width: 1700px) { .hero-inner { gap:60px; } }
@media (max-width: 940px) and (min-width: 701px) {
  :root { --gutter: 30px; }
  .hero-inner { grid-template-columns: .86fr 1.14fr; gap:16px; }
  h1 { font-size:clamp(5.3rem,10.6vw,6.3rem); }
  .hero-kicker { gap:8px; letter-spacing:.025em; }
  .hero-actions { gap:7px; }.btn { padding-inline:12px; font-size:.86rem; height:44px; }
  .poster { aspect-ratio:1.22; }
  .cast-card { aspect-ratio:.8; }.card-details { right:15px; bottom:52px; }
  .open-profile { width:26px; height:26px; bottom:13px; left:15px; }
}
@media (max-width:700px) {
  :root { --gutter: clamp(17px,5vw,31px); scroll-padding-top: 105px; }
  .masthead-inner { grid-template-columns:1fr auto; min-height:60px; gap:0 16px; }
  .brand { font-size:1.46rem; }.ident { width:25px;height:23px; gap:2.5px; }.ident i { width:5px; }
  .sound { grid-row:1; grid-column:2; min-height:32px; font-size:.76rem; padding-inline:10px; }
  .nav { grid-row:2; grid-column:1 / -1; gap:24px; margin-top:-4px; }
  .masthead-inner > .brand { margin-block:15px; }.nav a { padding:2px 0 10px; font-size:.84rem; }.nav a::after { bottom:4px; }
  .hero-inner { grid-template-columns:1fr; gap:0; padding:0; }
  .poster { grid-row:1; margin-inline:calc(0px - var(--gutter)); aspect-ratio:1.72; animation:none; }
  .poster::after { content:"";position:absolute;inset:0;background:linear-gradient(0deg,#10100f,transparent 29%);pointer-events:none; }
  .camera-frame { inset:12px 14px 20px; z-index:1; }
  .hero { background:#10100f; }
  .hero-copy { grid-row:2; padding:8px 0 31px; }
  .hero-kicker { gap:11px; font-size:.75rem; }
  h1 { font-size:clamp(5.3rem,15.5vw,7.2rem); margin-top:15px;margin-bottom:15px; }
  .synopsis { font-size:1rem; max-width:38ch; }.hero-actions { margin-top:18px; }.btn { min-height:46px; height:auto; }
  .ticker { min-height:35px; font-size:.75rem; }.ticker-label { font-size:0; padding:0 12px 0 var(--gutter);gap:0; }.ticker-toggle { width:32px; }
  .section { padding-block:41px; }.section-head { display:block; margin-bottom:21px; }.section-note { margin-top:12px; font-size:.91rem; }.section-note br {display:none;}.section-note br::after { content:" "; }
  .section-head h2 { font-size:clamp(2.8rem,9.2vw,4.2rem); }.eyebrow { margin-bottom:9px; }
  .cast-grid { grid-template-columns:1fr; gap:14px; }.cast-card { aspect-ratio:1.35; }.cast-card img { object-position:50% 25%; }
  .card-details strong { font-size:clamp(1.9rem,7.2vw,2.5rem); }.card-details { bottom:18px;left:18px; }
  .ep-count { display:inline;margin-left:8px; }
  .episode { grid-template-columns: 81px 1fr 25px; gap:12px; padding:16px 0; }
  .ep-num,.ep-duration { display:none; }.ep-play { width:25px;height:25px; }.ep-play .play-icon { border-top-width:4px; border-bottom-width:4px; border-left-width:6px; margin-left:2px; }
  .ep-copy strong { font-size:1.37rem; }.ep-copy > span { font-size:.87rem; }.ep-thumb { aspect-ratio:1.25; }
  .footer-inner { display:grid; grid-template-columns:1fr auto; gap:12px; padding-block:24px; }.footer-inner p { grid-row:2; grid-column:1 / -1; }.back-top { grid-row:1; grid-column:2; }
}
@media (max-width:355px) { .hero-actions {gap:6px;}.btn { font-size:.86rem;padding-inline:12px; }.ep-copy > span {font-size:.8rem;} }
@media (prefers-reduced-motion:reduce) {
  :root { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .poster-picture img,.poster-picture video { transform:none; }.ticker-belt { animation:none; }
  .ticker-window { padding:10px 16px; }
  .ticker-belt { width:100%; }
  .ticker-copy { flex-wrap:wrap; gap:6px 20px; padding:0; }
  .ticker-copy span { white-space:normal; }
  .ticker-copy i,.ticker-copy[aria-hidden],.ticker-toggle { display:none; }
}
/* === 1. Бесшовный переход между главной и страницами дел === */
@view-transition {
  navigation: auto;
}

/* === 2. Прогресс-бар эфира в нижней границе шапки === */
.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

/* === 3. CCTV: редкий scanline и «дыхание» сигнала на постере === */
.poster-print::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18%;
  top: -20%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgb(255 248 235 / 0.07) 50%,
    rgb(255 98 62 / 0.09) 52%,
    transparent
  );
  pointer-events: none;
}

/* === 4. Сотрудники: фокус на выбранном + углы видоискателя === */
.cast-card {
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), border-color 0.3s;
}
.cast-grid:has(.cast-card:hover) .cast-card:not(:hover) {
  opacity: 0.48;
  filter: saturate(0.4);
}
.cast-card:is(:hover, :focus-visible) {
  border-color: rgb(255 98 62 / 0.55);
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.04);
  --cb: linear-gradient(rgb(244 241 233 / 0.8), rgb(244 241 233 / 0.8));
  background:
    var(--cb) 0 0 / 14px 2px no-repeat,
    var(--cb) 0 0 / 2px 14px no-repeat,
    var(--cb) 100% 0 / 14px 2px no-repeat,
    var(--cb) 100% 0 / 2px 14px no-repeat,
    var(--cb) 0 100% / 14px 2px no-repeat,
    var(--cb) 0 100% / 2px 14px no-repeat,
    var(--cb) 100% 100% / 14px 2px no-repeat,
    var(--cb) 100% 100% / 2px 14px no-repeat;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.cast-card:is(:hover, :focus-visible)::before {
  opacity: 0.85;
  transform: scale(1);
}

/* === 5. Дела на главной: оранжевая полоса и слэм-штамп === */
.episode {
  position: relative;
  transition: background 0.35s, padding-left 0.4s var(--ease);
}
.episode::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.episode:is(:hover, :focus-visible) {
  padding-left: 20px;
}
.episode:is(:hover, :focus-visible)::before {
  transform: scaleY(1);
}

/* === 6. Памятка заявок: подсветка строк === */
.brief-row {
  transition: background 0.3s, padding-left 0.35s var(--ease);
}
.brief-num {
  transition: color 0.25s;
}
.brief-row:hover {
  background: rgb(255 255 255 / 0.025);
  padding-left: 16px;
}
.brief-row:hover .brief-num {
  color: var(--orange);
}

/* === 7. Киношные анимации (только при включённом движении) === */
@media (prefers-reduced-motion: no-preference) {
  .poster-print::before {
    animation: cctv-sweep 9s linear infinite;
  }
  .signal i:nth-child(4) {
    animation: sig-flicker 4.2s steps(1) infinite;
  }
  .signal i:nth-child(5) {
    animation: sig-flicker 2.9s steps(1) infinite 0.7s;
  }
  .cast-card:is(:hover, :focus-visible) .card-cam i {
    animation: record 1s ease-in-out infinite;
  }
  .episode:is(:hover, :focus-visible) .stamp {
    animation: ep-slam 0.4s var(--ease);
  }

  /* Каскадное появление строк памятки вместо общего блока */
  .brief.reveal.is-visible {
    animation: none;
  }
  .brief.is-visible .brief-row {
    animation: reveal 0.7s var(--ease) backwards;
  }
  .brief.is-visible .brief-row:nth-child(1) { animation-delay: 0ms; }
  .brief.is-visible .brief-row:nth-child(2) { animation-delay: 80ms; }
  .brief.is-visible .brief-row:nth-child(3) { animation-delay: 160ms; }
  .brief.is-visible .brief-row:nth-child(4) { animation-delay: 240ms; }
  .brief.is-visible .brief-row:nth-child(5) { animation-delay: 320ms; }

  /* «Пришлёпывание» штампов на примерах заявок */
  .case.is-visible .case-tag {
    animation: tag-slam 0.5s 0.22s var(--ease) backwards;
  }
  .case.good.is-visible .case-tag {
    animation-delay: 0.34s;
  }

  @keyframes cctv-sweep {
    0%, 72% { transform: translateY(0); opacity: 0; }
    76% { opacity: 1; }
    96% { opacity: 1; }
    100% { transform: translateY(680%); opacity: 0; }
  }
  @keyframes sig-flicker {
    0%, 72%, 100% { opacity: 1; }
    74%, 82% { opacity: 0.22; }
  }
  @keyframes ep-slam {
    from { transform: scale(1.75) rotate(-10deg); opacity: 0.25; }
  }
  @keyframes tag-slam {
    0% { opacity: 0; transform: scale(1.45) rotate(-5deg); }
    65% { opacity: 1; transform: scale(0.96) rotate(0.5deg); }
    100% { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-print::before { display: none; }
  .cast-card::before { transition: none; }
}
