/* ============================================================
   VIGOR GROUP — Videos page styles (v2 · Aeline × Squeeze)
   Page-specific only. Shared tokens/components come from
   tokens.css, base.css, components.css, layout.css.
   Cinematic single-showreel treatment — rich via type + space.
   ============================================================ */

/* ---------- Editorial section index helpers ---------- */
.section-index { display: block; margin-bottom: var(--s-3); }
.section-index.is-center { text-align: center; }

/* ---------- 1. Showreel — cinematic stage ---------- */
.showreel-section { position: relative; overflow: hidden; isolation: isolate; }
/* soft paper-to-tint wash so the film reads as the page's centre of gravity */
.showreel-section::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg-tint) 120%);
  opacity: .55;
  pointer-events: none;
}

.showreel-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 4.5vw, 72px);
}
.showreel-head .eyebrow { justify-content: center; }
.showreel-head .lead {
  margin-top: var(--s-4);
  margin-inline: auto;
  max-width: 54ch;
  color: var(--slate);
}

/* the framed stage */
.showreel {
  max-width: 1040px;
  margin-inline: auto;
  position: relative;
}
/* indigo glow pooled beneath the frame — depth without a real shadow box */
.showreel::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -34px;
  height: 90px;
  z-index: -1;
  background: radial-gradient(60% 120% at 50% 0%, rgba(194, 162, 94, .26), transparent 72%);
  filter: blur(34px);
  opacity: .75;
  pointer-events: none;
}

/* ---------- Responsive 16:9 video wrapper ---------- */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--sh-xl);
  /* premium framing: hairline ring + warm inner seam */
  outline: 1px solid var(--line-2);
  outline-offset: 0;
}
.video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Showreel caption ---------- */
.showreel__caption {
  margin-top: clamp(34px, 4vw, 52px);
  text-align: center;
}
.showreel__line {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--slate);
  max-width: 64ch;
  margin-inline: auto;
  text-wrap: balance;
}
.showreel__motif {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.6rem);
  letter-spacing: var(--tracking-tight);
  color: var(--gold-700);
}
.showreel__motif::before,
.showreel__motif::after {
  content: "";
  width: clamp(30px, 6vw, 56px);
  height: 1px;
  background: var(--line-2);
}

/* ---------- 2. Follow us: dark impact band ---------- */
/* center the narrow column itself (container--narrow only sets max-width) */
.follow { margin-inline: auto; }
.follow .section-head { margin-bottom: clamp(40px, 4vw, 60px); text-align: center; }
.follow .section-head .lead { color: var(--d-muted); max-width: 56ch; margin-inline: auto; }
.follow .section-index { color: var(--red-400); text-align: center; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.social-card {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: clamp(20px, 2.2vw, 26px) clamp(22px, 2.4vw, 28px);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-2) var(--ease),
              background var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease);
}
/* indigo sheen sweep on hover */
.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-sheen);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.social-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: var(--sh-lg);
}
.social-card:hover::after { opacity: 1; }
.social-card__icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  box-shadow: var(--sh-brand);
  transition: transform var(--dur-2) var(--ease);
}
.social-card:hover .social-card__icon { transform: scale(1.06) rotate(-3deg); }
.social-card__icon svg { width: 22px; height: 22px; }
.social-card__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.social-card__net {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.social-card__handle {
  font-weight: 700;
  font-size: 1.06rem;
  margin-top: 3px;
  word-break: break-word;
}

/* ---------- 3. CTA band ----------
   Self-contained here: home.css (which also defines .cta-band)
   is NOT loaded on this page, so the band needs its own styling. */
.cta-band {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-brand);
  color: #fff;
  padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 80px);
  text-align: center;
  box-shadow: var(--sh-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background: url("../../img/waves-top.svg") top center/cover no-repeat;
}
.cta-band h2 {
  font-size: var(--fs-h2);
  max-width: 18ch;
  margin-inline: auto;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
.cta-band .lead { color: rgba(255, 255, 255, .85); max-width: 56ch; margin: var(--s-4) auto 0; }
.cta-band .btn-row { margin-top: clamp(28px, 3vw, 36px); }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .social-grid { grid-template-columns: 1fr; }
}
