/* The reel video (2026-11-22), on the home page and /reel: the wide reel
   video, muted until the reader turns the sound on (assets/js/home-reel.js;
   markup in includes/reel-video.php). */
.hc-reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #0d0f0c;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 30px 60px -20px rgba(30,18,6,0.55),
    0 12px 24px -12px rgba(30,18,6,0.4);
}

.hc-reel-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.hc-reel-play,
.hc-reel-btn {
  border: 1px solid rgba(217,178,106,0.7);
  border-radius: 999px;
  background: rgba(13,15,12,0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f3e9d4;
  font: 600 14px / 1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s;
}

.hc-reel-play:hover,
.hc-reel-play:focus-visible,
.hc-reel-btn:hover,
.hc-reel-btn:focus-visible {
  background: rgba(150,82,32,0.85);
}

.hc-reel-play {
  position: absolute;
  left: 50%;
  bottom: 12%;
  translate: -50% 0;
  padding: 0.75em 1.4em;
}

.hc-reel-frame:not([data-state="idle"]) .hc-reel-play { display: none; }

.hc-reel-controls {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.hc-reel-controls[hidden] { display: none; }

.hc-reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  min-width: 36px;
  padding: 0 9px;
  justify-content: center;
}

.hc-reel-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hc-reel-sound { padding-right: 13px; }

.hc-reel-pause .hc-i-play,
.hc-reel-frame:not([data-state="playing"]) .hc-reel-pause .hc-i-pause,
.hc-reel-sound[aria-pressed="false"] .hc-i-on,
.hc-reel-sound[aria-pressed="true"] .hc-i-off { display: none; }

.hc-reel-frame:not([data-state="playing"]) .hc-reel-pause .hc-i-play { display: inline; }

@media (max-width: 600px) {
  .hc-reel-play { font-size: 13px; bottom: 10%; }
  .hc-reel-controls { left: 8px; bottom: 8px; }
  .hc-reel-btn { height: 32px; min-width: 32px; }
  .hc-reel-sound-label { font-size: 12px; }
}

/* On /reel the video stands alone above the list, sized like the old frame:
   as wide as the page allows, but never taller than most of the screen. */
body.reel-page .hc-reel {
  width: min(100%, calc(78svh * 16 / 9));
  margin: 0 auto 40px;
}
