/* ============================================================
   video-feature.css
   Wide cinematic video block — editorial style
   ============================================================ */

.video-feature {
  width: 100%;
  padding: 120px 0;
  background: var(--paper, #FAF6EC);
  position: relative;
}

/* When nested inside a narrow container (e.g. .s-chairman__inner) — break out to viewport */
.s-chairman__inner > .video-feature,
.s-chairman .video-feature {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Inner — capped width like editorial layouts */
.video-feature__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ---------- Decorative head: gold rule + eyebrow ---------- */

.video-feature__head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.video-feature__rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold, #B8860B);
}

.video-feature__rule--bottom {
  width: 32px;
  margin-top: 24px;
  opacity: 0.6;
}

.video-feature__eyebrow {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold, #B8860B);
}

/* ---------- Figure: video + caption ---------- */

.video-feature__figure {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.video-feature__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: 2px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(27, 58, 92, 0.08),
    0 8px 24px -4px rgba(27, 58, 92, 0.12),
    0 32px 64px -16px rgba(27, 58, 92, 0.24);
  transition: box-shadow 0.4s ease;
  isolation: isolate;
}

.video-feature__player::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold, #B8860B);
  border-radius: 2px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.video-feature__player:hover::before {
  opacity: 0.6;
}

.video-feature__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Custom play button (overlay before first play) ---------- */

.video-feature__playbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border: none;
  border-radius: 50%;
  background: rgba(250, 247, 238, 0.94);
  color: var(--navy, #1B3A5C);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  padding-left: 6px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  z-index: 2;
}

.video-feature__playbtn::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 238, 0.4);
  pointer-events: none;
}

.video-feature__playbtn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--gold, #B8860B);
  color: var(--paper, #FAF6EC);
}

.video-feature__playbtn:focus-visible {
  outline: 2px solid var(--gold, #B8860B);
  outline-offset: 4px;
}

.video-feature__player.is-playing .video-feature__playbtn,
.video-feature__player.is-played .video-feature__playbtn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.6);
}

/* ---------- Caption ---------- */

.video-feature__caption {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.video-feature__title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--navy, #1B3A5C);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.video-feature__byline {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(27, 58, 92, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .video-feature { padding: 96px 0; }
  .video-feature__inner { padding: 0 40px; }
  .video-feature__playbtn { width: 80px; height: 80px; }
}

@media (max-width: 899px) {
  .video-feature { padding: 72px 0; }
  .video-feature__inner { padding: 0 24px; gap: 36px; }
  .video-feature__player::before { top: -8px; left: -8px; }
  .video-feature__playbtn { width: 64px; height: 64px; }
  .video-feature__playbtn svg { width: 24px; height: 24px; }
  .video-feature__title { font-size: 20px; }
  .video-feature__byline { font-size: 12px; }
  .video-feature__head { gap: 16px; }
  .video-feature__rule { width: 40px; }
}

@media (max-width: 599px) {
  .video-feature { padding: 56px 0; }
  .video-feature__inner { padding: 0 16px; }
  .video-feature__player::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .video-feature__playbtn,
  .video-feature__player,
  .video-feature__player::before {
    transition: none;
  }
  .video-feature__playbtn:hover {
    transform: translate(-50%, -50%);
  }
}
