/* KEG Hearing Clips — modern editorial, all assets local */
:root {
  --navy: #16305C;
  --navy-deep: #0E2043;
  --ink: #14181F;
  --ink-2: #3D4553;
  --ink-3: #6B7484;
  --line: #E3E2DE;
  --line-soft: #EEEDE9;
  --bg: #FCFCFB;
  --card: #FFFFFF;
  --accent: #B8862B;
  --accent-soft: #F4EBD8;
  --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
          "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
  --r: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--navy); outline-offset: 3px; border-radius: 3px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; width: 100%; }

/* ---------------- masthead ---------------- */
.masthead { background: var(--card); border-bottom: 1px solid var(--line); }
.masthead .shell { position: relative; padding-top: 30px; padding-bottom: 26px; }
.brandblock { text-align: center; }
.wordmark {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.032em;
  color: var(--navy); line-height: 1.02;
}
.wordmark a { text-decoration: none; color: inherit; transition: opacity .16s ease; }
.wordmark a:hover { opacity: .72; }
.asof {
  margin-top: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.corner-tab {
  position: absolute; left: 28px; bottom: 26px;
  font-size: 12.5px; font-weight: 650; letter-spacing: -.005em;
  color: var(--navy); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  background: var(--card); transition: background .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.corner-tab::before { content: "▶"; font-size: 8px; margin-right: 7px; color: var(--accent); vertical-align: 1.5px; }
.corner-tab:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }
.corner-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.corner-tab.is-active::before { color: #fff; }

/* ---------------- tab bar ---------------- */
.tabbar {
  background: var(--navy); position: sticky; top: 0; z-index: 40;
}
.tabbar-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  justify-content: center; }
.tabbar-inner::-webkit-scrollbar { display: none; }
.tab {
  appearance: none; background: none; border: none; cursor: pointer; flex: none;
  font-family: inherit; color: rgba(255,255,255,.66);
  padding: 12px 15px 11px; text-align: left; position: relative;
  transition: color .16s ease, background .16s ease;
}
.tab .t-date {
  display: block; font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 700; opacity: .78;
}
.tab .t-name { display: block; font-size: 14.5px; font-weight: 650; letter-spacing: -.018em; margin-top: 2px; }
.tab::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 2.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.tab:hover::after { transform: scaleX(1); }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab.tab-home .t-name { font-weight: 750; }

/* ---------------- shared section furniture ---------------- */
main { padding: 0 28px 88px; }
.page-head { text-align: center; padding: 58px 0 10px; max-width: 880px; margin: 0 auto; }
.page-head h2 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.028em;
  color: var(--navy); line-height: 1.14;
}
.page-head .ph-date {
  margin-top: 20px; font-size: 12.5px; font-weight: 750;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent); line-height: 1;
}
.page-head .ph-sub {
  margin-top: 14px; font-size: clamp(15.5px, 1.5vw, 18px); color: var(--ink-2);
  font-weight: 550; letter-spacing: -.012em; line-height: 1.45;
}
.page-head .ph-sub b { color: var(--ink); font-weight: 750; }
.page-head .ph-sub .ph-amp { font-weight: 500; color: var(--ink-3); }

.sec { margin-top: 54px; }
.sec-head {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 2px solid var(--ink); padding-bottom: 9px; margin-bottom: 22px;
}
.sec-head h3 {
  font-size: 12.5px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; color: var(--ink);
}
.sec-head .n {
  font-size: 12px; font-weight: 650; color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.sec-head .aside { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.sec-head .aside.big {
  font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.018em;
  font-variant-numeric: tabular-nums;
}
.sec-head .pdf-row { margin-left: auto; display: flex; gap: 9px; }
.pdf-btn {
  appearance: none; cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 750; letter-spacing: .01em;
  color: var(--navy); background: var(--card); border: 1.5px solid var(--navy);
  border-radius: 7px; padding: 7px 14px; white-space: nowrap;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.pdf-btn::before { content: "PDF"; font-size: 9px; letter-spacing: .1em; background: var(--navy);
  color: #fff; padding: 2px 5px; border-radius: 3px; margin-right: 8px; vertical-align: 1.5px; }
.pdf-btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.pdf-btn:hover::before { background: #fff; color: var(--navy); }
.empty {
  font-size: 14px; color: var(--ink-3); padding: 18px 20px; background: var(--card);
  border: 1px dashed var(--line); border-radius: var(--r);
}

/* ---------------- home: hearing block ---------------- */
.home-block { padding: 46px 0 6px; border-top: 1px solid var(--line); }
.home-block:first-of-type { border-top: none; }
.hb-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.hb-date {
  font-size: 10.5px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.hb-title {
  margin-top: 13px; font-size: clamp(22px, 2.7vw, 31px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.16; color: var(--navy);
}
.hb-title a { text-decoration: none; }
.hb-title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hb-witness { margin-top: 11px; font-size: 15.5px; color: var(--ink-2); font-weight: 550; }
.hb-witness b { color: var(--ink); font-weight: 700; }
.hb-stats {
  display: inline-flex; gap: 0; margin-top: 20px;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card);
}
.hb-stats .s { padding: 11px 22px; border-right: 1px solid var(--line); }
.hb-stats .s:last-child { border-right: none; }
.hb-stats .v {
  font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--navy);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hb-stats .k {
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 650; margin-top: 3px;
}

/* ---------------- clip carousel ---------------- */
.rail-wrap { position: relative; }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 14px; scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.center { justify-content: center; flex-wrap: wrap; }

.clip {
  flex: 0 0 262px; scroll-snap-align: start; position: relative;
  aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden;
  background: var(--navy-deep); display: block; text-decoration: none; color: #fff;
  box-shadow: 0 1px 2px rgba(20,24,31,.1);
  transition: transform .26s cubic-bezier(.34,1.3,.5,1), box-shadow .26s ease;
}
.clip:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,24,31,.2); }
.clip.playing {
  transform: translateY(-8px); z-index: 20;
  box-shadow: 0 20px 46px rgba(14,32,67,.38); background: #000;
  display: flex; flex-direction: column;
}
.clip.playing .vplayer {
  position: relative; inset: auto; flex: 1 1 auto; min-height: 0;
}
/* caption preview sits above the native timeline bar */
.clip.playing .clip-cap {
  position: absolute; left: 12px; right: 12px; bottom: 44px; margin: 0;
  font-size: 12px; z-index: 3; pointer-events: auto;
}
.clip.playing .clip-cap .cap-t { -webkit-line-clamp: 2; }
.clip.playing .clip-cap.expanded {
  bottom: 44px; background: rgba(8,16,34,.86); padding: 9px 11px; border-radius: 7px;
  backdrop-filter: blur(4px);
}
.clip.playing .clip-cap.expanded .cap-t { max-height: 150px; }
/* controls row under the video, clear of the timeline */
.clip-actions {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  padding: 8px 9px; background: var(--navy-deep);
}
.clip-actions .skip { padding: 6px 10px; font-size: 11px; }
.clip-actions .clip-src { margin: 0 0 0 auto; }
/* pause snapping entirely while a card is playing — removing only the playing
   card's snap point makes the rail jump to the next card on play */
.rail:has(.clip.playing) { scroll-snap-type: none; }
.clip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,32,67,.5) 0%, rgba(14,32,67,0) 18%,
              rgba(14,32,67,0) 46%, rgba(14,32,67,.72) 66%, rgba(14,32,67,.97) 100%);
  pointer-events: none;
}
.clip-top { position: absolute; top: 11px; left: 11px; right: 11px; display: flex; gap: 6px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 5px; text-decoration: none;
  background: rgba(255,255,255,.88); color: var(--navy-deep);
  position: relative; z-index: 6;
  transition: background .16s ease, transform .16s ease;
}
.chip:hover { background: #fff; transform: translateY(-1px); }
.chip svg { width: 10px; height: 10px; fill: currentColor; display: block; }
.chip-a { font-size: 9px; font-weight: 800; opacity: .62; margin-left: 1px; }
.chip:hover .chip-a { opacity: 1; }
.clip-bot { position: absolute; left: 14px; right: 14px; bottom: 13px; }
.clip-acct {
  font-size: 17px; font-weight: 800; letter-spacing: -.022em; line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.clip-views {
  margin-top: 7px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82);
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0,0,0,.55);
  line-height: 1.25; display: flex; align-items: baseline; gap: 4px;
}
.clip-views b { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.clip-cap {
  margin-top: 7px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.9);
  text-shadow: 0 1px 7px rgba(0,0,0,.6);
}
.clip-cap .cap-t {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.clip-cap.expanded .cap-t {
  display: block; -webkit-line-clamp: none; overflow-y: auto; max-height: 215px;
  overscroll-behavior: contain;
}
.cap-more {
  appearance: none; border: none; background: none; cursor: pointer; padding: 2px 0 0;
  font-family: inherit; font-size: 11.5px; font-weight: 750; letter-spacing: .01em;
  color: rgba(255,255,255,.72); text-shadow: 0 1px 6px rgba(0,0,0,.6);
  position: relative; z-index: 5;
}
.cap-more:hover { color: #fff; text-decoration: underline; }
.clip-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: none; background: none; cursor: pointer; width: 100%; padding: 0;
}
.clip-play::after {
  content: ""; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.94) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 6.5v11l9-5.5z' fill='%2316305C'/></svg>") center/30px no-repeat;
  transition: transform .2s ease; box-shadow: 0 3px 14px rgba(0,0,0,.35);
}
.clip:hover .clip-play::after { transform: scale(1.09); }
.clip-src {
  display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  padding: 4px 9px; border-radius: 5px; backdrop-filter: blur(3px);
  position: relative; z-index: 4; transition: background .16s ease, border-color .16s ease;
}
.clip-src:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.6); }
.clip-open { position: absolute; inset: 0; z-index: 2; }
.ext {
  position: absolute; top: 11px; right: 11px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.93); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}

/* ---------------- video player with skip ---------------- */
.vplayer { position: relative; width: 100%; height: 100%; background: #000; }
.vplayer video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.vplayer.inline { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9;
  height: auto; max-height: min(62vh, 460px); }
.vplayer.inline video { aspect-ratio: 16/9; height: auto; max-height: min(62vh, 460px); }
.vskip {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 46px;
  display: flex; gap: 10px; opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.vplayer:hover .vskip, .vplayer:focus-within .vskip { opacity: 1; pointer-events: auto; }
.skip {
  border: none; cursor: pointer; border-radius: 999px;
  background: rgba(10,20,42,.85); color: #fff; font-family: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: .01em;
  padding: 7px 13px; display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(3px);
  transition: background .16s ease, transform .16s ease;
}
.skip:hover { background: var(--navy); transform: translateY(-1px); }
.skip::before, .skip::after { font-size: 11px; font-weight: 800; }
.skip[data-d="-5"]::before { content: "«"; }
.skip[data-d="5"]::after { content: "»"; }
.clip .vplayer { position: absolute; inset: 0; }

.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--navy); cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 14px rgba(20,24,31,.16); transition: background .16s ease, opacity .16s ease;
}
.rail-btn:hover { background: var(--accent-soft); }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-btn.prev { left: -14px; }
.rail-btn.next { right: -14px; }

/* ---------------- full recording ---------------- */
.rec-row { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 30px; align-items: start; }
.rec-meta h4 { font-size: 20px; font-weight: 800; letter-spacing: -.028em; color: var(--navy); line-height: 1.2; }
.rec-meta .dl-note { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.rec-facts { margin-top: 16px; font-size: 13.5px; }
.rec-facts div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.rec-facts dt {
  flex: 0 0 92px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; padding-top: 3px;
}
.rec-facts dd { color: var(--ink); }
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: 13.5px;
  padding: 11px 20px; border-radius: 999px; letter-spacing: -.01em;
  transition: background .18s ease, transform .18s ease;
}
.btn-dl:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-dl::before { content: "↓"; font-size: 15px; font-weight: 800; }

/* recordings index */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }
.rec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rec-card .thumb { position: relative; aspect-ratio: 16/9; background: var(--navy-deep); }
.rec-card .thumb.clickable { cursor: pointer; }
.rec-card .thumb.clickable::after {
  content: ""; position: absolute; inset: 0; display: flex;
  background: rgba(14,32,67,0) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='rgba(255,255,255,0.92)'/><path d='M10 7.5v9l7-4.5z' fill='%2316305C'/></svg>") center/44px no-repeat;
  opacity: 0; transition: opacity .18s ease;
}
.rec-card .thumb.clickable:hover::after { opacity: 1; }
.rec-card .thumb img, .rec-card .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-card .dur {
  position: absolute; right: 8px; bottom: 8px; background: rgba(14,32,67,.9); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; font-variant-numeric: tabular-nums;
}
.rec-card .body { padding: 15px 17px 17px; }
.rec-card .d { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 750; }
.rec-card h4 { margin-top: 6px; font-size: 17px; font-weight: 800; letter-spacing: -.026em; color: var(--navy); line-height: 1.22; }
.rec-title {
  appearance: none; border: none; background: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left; letter-spacing: inherit;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  transition: background-size .25s ease;
}
.rec-title:hover, .rec-card .thumb.clickable:hover ~ .body .rec-title { background-size: 100% 2px; }
.rec-card .w { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.rec-card .acts { margin-top: 13px; display: flex; gap: 9px; }
.btn-sm {
  font-size: 12.5px; font-weight: 700; text-decoration: none; padding: 8px 15px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--navy); background: var(--card);
  transition: background .16s ease, border-color .16s ease;
}
.btn-sm:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-sm.solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-sm.solid:hover { background: var(--navy-deep); }

/* ---------------- coverage ---------------- */
.switch { display: flex; gap: 8px; margin-bottom: 22px; }
.sw {
  appearance: none; border: 1px solid var(--line); background: var(--card); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2);
  padding: 9px 18px; border-radius: 999px; letter-spacing: -.01em;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.sw .c { font-variant-numeric: tabular-nums; opacity: .62; margin-left: 6px; }
.sw:hover { border-color: var(--navy); color: var(--navy); }
.sw[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.sw[aria-selected="true"] .c { opacity: .8; }

.art-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.art {
  padding: 19px 0 20px; border-bottom: 1px solid var(--line);
}
.art-outlet {
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy);
}
.art-outlet .tag {
  font-size: 9px; font-weight: 700; letter-spacing: .09em; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; margin-left: 8px;
  vertical-align: 1.5px; text-transform: uppercase;
}
.art h4 { margin-top: 7px; font-size: 18.5px; font-weight: 750; letter-spacing: -.026em; line-height: 1.25; }
.art h4 a { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  transition: background-size .25s ease; }
.art h4 a:hover { background-size: 100% 2px; }
.art .by { margin-top: 5px; font-size: 12px; color: var(--ink-3); }
.art .ex {
  margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------- tv mentions ---------------- */
.tv-group { margin-bottom: 28px; }
.tv-group h4 {
  font-size: 10.5px; letter-spacing: .19em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 750; margin-bottom: 13px;
}
.tv-group h4 .c { color: var(--ink); margin-left: 5px; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.tv {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card);
  cursor: pointer; text-align: left; font-family: inherit; padding: 0; display: block; width: 100%;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s ease, border-color .22s ease;
}
.tv:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(20,24,31,.16); border-color: var(--navy); }
.tv .logo { position: relative; aspect-ratio: 16/9; background: var(--navy-deep); }
.tv .logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv .rp {
  position: absolute; right: 7px; bottom: 7px; background: rgba(255,255,255,.94); color: var(--navy-deep);
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 4px;
}
.tv .m { padding: 11px 13px 13px; }
.tv .net { font-size: 15px; font-weight: 800; letter-spacing: -.012em; color: var(--navy); line-height: 1.2; }
.tv .ti {
  margin-top: 4px; font-size: 13px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tv .ai { margin-top: 5px; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------------- modal ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 90; background: rgba(14,32,67,.55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(3px); animation: fade .18s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal[hidden] { display: none; }
.modal-card {
  background: var(--card); border-radius: 14px; max-width: 640px; width: 100%;
  max-height: 84vh; overflow-y: auto; padding: 30px 32px 32px; position: relative;
  box-shadow: 0 28px 70px rgba(14,32,67,.32);
}
.modal-close {
  position: absolute; top: 14px; right: 15px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 19px;
  color: var(--ink-2); line-height: 1; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--accent-soft); }
.m-net { font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.m-title { margin-top: 7px; font-size: 24px; font-weight: 800; letter-spacing: -.028em; line-height: 1.2; }
.m-air { margin-top: 9px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.m-air .sep { margin: 0 8px; opacity: .5; }
.m-label {
  margin-top: 24px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 750;
}
.m-ex {
  margin-top: 9px; font-size: 15.5px; line-height: 1.62; color: var(--ink);
  border-left: 3px solid var(--accent); padding: 4px 0 4px 16px;
}
.modal-card.wide { max-width: 1000px; }
.pdf-frame {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--bg); height: min(66vh, 700px);
}
.pdf-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.m-player { margin-top: 18px; border-radius: var(--r); overflow: hidden; }
.m-player .vplayer.inline { aspect-ratio: 16/9; }
.modal-card .btn-dl { margin-top: 16px; }

/* ---------------- reveal + footer ---------------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

.site-foot { border-top: 1px solid var(--line); padding: 26px 0 46px; background: var(--card); }
.site-foot p { font-size: 12px; color: var(--ink-3); text-align: center; max-width: 660px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 900px) {
  .rec-row { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .corner-tab { position: static; display: inline-flex; margin-bottom: 18px; }
  .masthead .shell { text-align: center; }
}
