/* ============================================================
   VIGOR GROUP — Home  (v4 · "SOVEREIGN")
   Dark cinematic editorial. Navy + ivory + champagne gold.
   Bodoni display, slow reveals, film grain, full-bleed imagery.
   ============================================================ */

/* =====================================================
   HERO — full-screen cinematic video, bottom-left editorial
   ===================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: var(--d-text);
}
/* solid navy backdrop while the film loads, then the video fades in over it */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-950); }

/* YouTube background video — covers the viewport */
.hero__video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;            /* 16:9 by width  */
  min-width: 177.78svh; min-height: 100svh; /* …always cover height */
  transform: translate(-50%, -50%);
  z-index: 1; border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero--video-on .hero__video { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(7,7,26,.70) 0%, rgba(7,7,26,.42) 24%, rgba(7,7,26,.50) 50%, rgba(7,7,26,.86) 80%, rgba(7,7,26,.99) 100%),
    linear-gradient(90deg, rgba(7,7,26,.82) 0%, rgba(7,7,26,.44) 44%, rgba(7,7,26,.08) 74%);
}
.hero .grain { z-index: 3; }
.hero__inner, .hero__foot { z-index: 4; }

.hero__inner {
  position: relative; z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(96px, 15vh, 170px);
  max-width: 1180px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: .76rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-300);
}
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold-500); }
.hero__title {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-weight: 500; font-size: var(--fs-display); line-height: .98;
  letter-spacing: var(--tracking-display);
  margin: clamp(20px, 3vh, 34px) 0 0; max-width: 16ch;
  text-shadow: 0 8px 60px rgba(0,0,0,.4);
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-300); }
.hero__lead {
  margin-top: clamp(20px, 2.6vh, 30px); max-width: 46ch;
  font-size: var(--fs-lead); line-height: 1.55; color: rgba(241,236,225,.9);
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(26px, 3.5vh, 40px); }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 0 20px; border-top: 1px solid var(--d-line);
  background: linear-gradient(0deg, rgba(7,7,26,.6), transparent);
}
.hero__foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__regions { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(241,236,225,.66); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }
.hero__scroll span { position: relative; width: 26px; height: 40px; border: 1.5px solid rgba(226,206,154,.5); border-radius: 14px; }
.hero__scroll span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; border-radius: 4px; background: var(--gold-400); transform: translateX(-50%); animation: heroCue 1.9s var(--ease) infinite; }
@keyframes heroCue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%,100%{opacity:0;transform:translate(-50%,13px)} }

@media (max-width: 680px) {
  .hero__regions { display: none; }
  .hero__foot-inner { justify-content: center; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll span::after { animation: none; } }

/* =====================================================
   COMPANY TICKER
   ===================================================== */
.company-ticker { padding-block: clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.company-ticker .marquee__item { color: rgba(241,236,225,.82); font-weight: 500; }

/* =====================================================
   OVERTURE — big editorial statement + stats (ivory)
   ===================================================== */
.overture { background: var(--bg-alt); }
.overture__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: end; }
.overture__statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.7rem); line-height: 1.08;
  letter-spacing: var(--tracking-display); color: var(--ink); text-wrap: balance;
  margin-top: 18px; max-width: 18ch;
}
.overture__statement em, .overture__statement b { font-style: italic; font-weight: 500; color: var(--gold-600); }
.overture__text-col .lead { color: var(--slate); max-width: 46ch; }
.overture__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--line); border: 1px solid var(--line);
}
.ostat { background: var(--bg-alt); padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px); }
.ostat__num { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: .9; color: var(--ink); letter-spacing: var(--tracking-display); }
.ostat__num i { font-style: normal; color: var(--gold-500); }
.ostat__label { display: block; margin-top: 14px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) { .overture__grid { grid-template-columns: 1.25fr .75fr; } .overture__stats { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================
   HERITAGE (white) — founder image + editorial text
   ===================================================== */
.heritage { background: var(--bg); }
.heritage__grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.heritage__media { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xl); }
.heritage__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.heritage__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  padding: clamp(20px,2.5vw,30px);
  background: linear-gradient(0deg, rgba(7,7,26,.86), transparent);
  color: #fff;
}
.heritage__media figcaption span:first-child { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }
.heritage__media figcaption span:last-child { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); }
.reach-list { display: grid; gap: 18px; margin-top: 28px; }
.reach-list li { display: flex; gap: 14px; color: var(--slate); }
.reach-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-500); color: var(--navy-950); margin-top: 3px; }
.reach-list .ck svg { width: 13px; height: 13px; }
.section-index { margin-left: 6px; }
@media (min-width: 900px) { .heritage__grid { grid-template-columns: 1.02fr .98fr; } .heritage__media { aspect-ratio: 5/6; } }

/* =====================================================
   PORTFOLIO — sector-grouped index (DARK + gold)
   ===================================================== */
.portfolio { background: var(--navy-950); color: var(--d-text); position: relative; overflow: hidden; }
.portfolio .section-title { color: var(--d-text); }
.portfolio .lead { color: var(--d-muted); }
.portfolio__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--d-line); border-left: 1px solid var(--d-line); position: relative; z-index: 2; }
.pcat { padding: clamp(24px,2.2vw,34px) clamp(20px,1.8vw,28px) clamp(28px,2.6vw,40px); border-right: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); transition: background var(--dur-2) var(--ease); }
.pcat:hover { background: rgba(194,162,94,.06); }
.pcat__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pcat__ix { font-family: var(--font-display); font-style: italic; color: var(--gold-400); font-size: 1.1rem; }
.pcat h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h6); color: var(--d-text); letter-spacing: 0; }
.pcat ul { display: grid; gap: 10px; }
.pcat li { color: var(--d-muted); font-weight: 500; font-size: .94rem; padding-left: 18px; position: relative; line-height: 1.4; }
.pcat li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
@media (max-width: 1040px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* =====================================================
   CINEMATIC BAND — full-bleed image + motto
   ===================================================== */
.cinematic { position: relative; min-height: clamp(420px, 62vh, 660px); display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; color: #fff; }
.cinematic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform-origin: 50% 50%; animation: kenburns 20s var(--ease-in-out) infinite alternate; }
.cinematic__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,7,26,.62), rgba(7,7,26,.78)), radial-gradient(80% 80% at 50% 30%, rgba(28,28,74,.4), transparent 70%); }
.cinematic__inner { position: relative; z-index: 3; padding: var(--gutter); max-width: 920px; }
.cinematic__motto { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 6rem); line-height: 1; letter-spacing: var(--tracking-display); margin-top: 18px; }
.cinematic__sub { margin-top: 22px; font-size: var(--fs-lead); color: rgba(241,236,225,.85); max-width: 52ch; margin-inline: auto; }

/* =====================================================
   HIGHLIGHTS — core sectors (media cards, ivory)
   ===================================================== */
.highlights { background: var(--bg); }
.highlights-grid { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.4vw, 18px); }
.highlights-grid .media-card { aspect-ratio: 16/10; border-radius: var(--r-lg); }
.media-card__body h3 { font-family: var(--font-display); font-weight: 500; }
@media (min-width: 560px) { .highlights-grid { grid-template-columns: 1fr 1fr; } .highlights-grid .media-card { aspect-ratio: 3/4; } }
@media (min-width: 980px) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================
   VIDEO — "in motion" (dark)
   ===================================================== */
.video-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.video-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xl); aspect-ratio: 16/9; background: #000; border: 1px solid var(--d-line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================
   CSR (white) — community image + quote
   ===================================================== */
.csr { background: var(--bg-alt); }
.csr-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.csr-figure { position: relative; }
.csr-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 16/11; object-fit: cover; }
.csr-quote { font-family: var(--font-display); font-style: italic; color: var(--ink); margin-top: 6px; }
.csr-copy .lead { margin-top: 22px; }
@media (min-width: 880px) { .csr-grid { grid-template-columns: .95fr 1.05fr; } }

/* =====================================================
   FINAL CTA — navy + gold band
   ===================================================== */
.cta-section { background: var(--bg); }
.cta-band { position: relative; border-radius: var(--r-2xl); overflow: hidden; isolation: isolate; background: var(--grad-navy); color: #fff; padding: clamp(56px, 7vw, 104px) clamp(28px, 5vw, 88px); text-align: center; }
.cta-band .glow { top: -40%; left: 50%; width: 700px; height: 700px; transform: translateX(-50%); }
.cta-band .eyebrow { justify-content: center; color: var(--gold-300); }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 4rem); max-width: 20ch; margin: 16px auto 0; letter-spacing: var(--tracking-display); line-height: 1.06; text-wrap: balance; }
.cta-band .lead { color: rgba(241,236,225,.84); max-width: 56ch; margin: 20px auto 0; }
.cta-band .btn-row { margin-top: 36px; }

/* Companies on the web — logo wall */
.logos-section { background: var(--bg-alt); }
.logos-kicker { text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 3vw, 46px); }
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.logo-chip { display: grid; place-items: center; padding: clamp(18px, 2.2vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); min-height: 116px; transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.logo-chip img { max-height: 60px; max-width: 82%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease); }
.logo-chip:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: transparent; }
.logo-chip:hover img { filter: none; opacity: 1; }
@media (min-width: 700px) { .logo-wall { grid-template-columns: repeat(5, 1fr); } }

/* Ken-Burns drift for full-bleed cinematic imagery */
@keyframes kenburns { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.15) translate(-2%, -2.4%); } }
@media (prefers-reduced-motion: reduce) { .cinematic__img { animation: none; } }
