/* GO RENTAL RD — Hero Banner Component | v=20260808
   Cinematic video hero (see lib/hero-banner.js). Scoped entirely under
   .hero-video so it never leaks into the site's own Carlito/gold design
   system used elsewhere.

   Type system (hero-only, loaded from Google Fonts in index.html):
   - Display caps:  "Archivo" variable, width 125 (expanded) — wide,
     automotive, deliberately not the condensed default.
   - Script accent: "Cormorant Garamond" italic — the luxury counterpoint,
     reserved exclusively for the gold phrase.
   - Support:       "Inter" — eyebrow, subcopy, CTAs. */

.hero-video {
  /* tokens */
  --hv-ink:      #F7F2E7;                       /* warm ivory on video */
  --hv-ink-soft: rgba(247, 242, 231, 0.78);
  --hv-ink-mute: rgba(247, 242, 231, 0.55);
  --hv-gold:     oklch(0.83 0.135 88);          /* brand dorado */
  --hv-gold-deep:oklch(0.66 0.13 80);
  --hv-shadow:   #0A0805;                       /* warm near-black */

  position: relative;
  overflow: hidden;
  margin: 8px 10px 0;
  border-radius: 26px;
  min-height: clamp(560px, 92vh, 920px);
  background:
    radial-gradient(120% 90% at 20% 10%, #1A150C 0%, var(--hv-shadow) 60%);
  font-family: "Inter", sans-serif;
  color: var(--hv-ink);
  isolation: isolate;
}

/* ─── VIDEO + SHADE ─── */
.hv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  will-change: transform;
}
.hv-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* three layers: bottom anchor for the lower-third, left vignette for text
     legibility, and a whisper of dark at the very top under the nav */
  background:
    linear-gradient(180deg, rgba(10, 8, 5, 0.42) 0%, rgba(10, 8, 5, 0.05) 30%, rgba(10, 8, 5, 0.16) 58%, rgba(10, 8, 5, 0.82) 100%),
    linear-gradient(78deg, rgba(10, 8, 5, 0.66) 0%, rgba(10, 8, 5, 0.22) 38%, transparent 62%);
}

/* ─── LOWER-THIRD CONTENT ─── */
.hv-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: inherit;
  padding: clamp(28px, 5vw, 64px);
  padding-top: clamp(96px, 14vh, 150px);
  box-sizing: border-box;
}

.hv-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hv-ink-soft);
  margin-bottom: clamp(14px, 2.2vh, 22px);
}
.hv-eyebrow-line {
  display: inline-block;
  width: 46px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--hv-gold), var(--hv-gold-deep));
  transform-origin: left center;
  flex-shrink: 0;
}

/* The signature: expanded caps + italic garamond, stacked and overlapping */
.hv-headline { margin: 0 0 clamp(16px, 2.6vh, 26px); }
.hv-headline-caps {
  display: block;
  font-family: "Archivo", "Inter", sans-serif;
  font-stretch: 125%;
  font-weight: 840;
  font-size: clamp(56px, 10.5vw, 138px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--hv-ink);
  text-shadow: 0 4px 44px rgba(10, 8, 5, 0.45);
}
.hv-ch { display: inline-block; }
.hv-headline-script {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 7.6vw, 100px);
  line-height: 1;
  color: var(--hv-gold);
  margin-top: -0.12em;
  padding-left: 0.06em; /* italic overhang */
  text-shadow: 0 3px 34px rgba(10, 8, 5, 0.55);
}

.hv-subcopy {
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.65;
  color: var(--hv-ink-soft);
  max-width: 46ch;
  margin: 0 0 clamp(20px, 3.2vh, 30px);
  text-wrap: pretty;
}

/* ─── CTAs ─── */
.hv-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hv-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hv-gold), var(--hv-gold-deep));
  color: #191203;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 15px 34px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px oklch(0.7 0.14 85 / 0.55);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-cta span { position: relative; z-index: 1; }
/* gold sheen sweep on hover */
.hv-cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px oklch(0.7 0.14 85 / 0.7); }
.hv-cta:hover::after { left: 130%; }
.hv-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hv-ink);
  font-weight: 550;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 231, 0.32);
  background: rgba(10, 8, 5, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-cta-ghost svg { width: 15px; height: 15px; }
.hv-cta-ghost:hover { border-color: var(--hv-gold); background: rgba(10, 8, 5, 0.45); gap: 13px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-video { min-height: clamp(520px, 88vh, 820px); }
}
@media (max-width: 640px) {
  .hero-video { margin: 6px 6px 0; border-radius: 20px; }
  .hv-content { padding: 22px 20px; padding-top: 96px; }
  .hv-eyebrow { letter-spacing: 0.18em; font-size: 10.5px; }
  .hv-cta, .hv-cta-ghost { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* Reduced motion: the JS already skips the choreography and pauses the
   video — here we just make sure nothing CSS-driven keeps moving. */
@media (prefers-reduced-motion: reduce) {
  .hv-cta, .hv-cta::after, .hv-cta-ghost { transition: none; }
}
