/* ═══════════════════════════════════════════
   HOMEPAGE HERO — spotlight blob
═══════════════════════════════════════════ */
.hv {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  /* deliberate bottom edge: same hairline as the scrolled nav bar, so the blob's cut-off looks intentional */
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 9rem 0 7rem;
  background: var(--bg);
}

/* copy (mirrors the current hero) */
.hv__copy { position: relative; z-index: 10; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 3.5rem; }
.hv__headline {
  font-family: var(--font-hero); font-weight: 900;
  font-size: clamp(3rem, 6.8vw, 8.5rem);
  line-height: 0.9; letter-spacing: -0.045em; color: var(--red);
}
.hv__line { display: block; font-family: var(--font-d); }
.hv__cycle { display: block; position: relative; height: 1.3em; line-height: 1; margin-top: -0.1em; }
.hv-word {
  position: absolute; top: 0; left: 0; white-space: nowrap;
  font-family: var(--font-d); font-weight: 900; letter-spacing: -0.03em; color: var(--dark);
  /* leaving word fades out fast; the arriving word waits for it, so the two never overlap */
  opacity: 0; transition: opacity 0.15s ease;
}
.hv-word.is-active { opacity: 1; transition: opacity 0.35s ease 0.16s; }
/* the underline artwork itself (.cycle-stroke) is styled in style.css; here it just draws in on the active word */
.hv-word.is-active .cycle-stroke { animation: brushReveal 0.65s ease forwards 0.05s; }
.hv__sub {
  margin-top: 3.25rem; max-width: 860px;
  font-family: var(--font-b); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em;
  color: rgba(10,9,8,0.7);
}
.hv__sub strong { font-weight: 700; color: var(--dark); }
.hv__cta { margin-top: 2.75rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hv__copy--onDark .hv__headline { color: #fff; }
.hv__copy--onDark .hv-word { color: var(--red); }
.hv__copy--onDark .hv__sub { color: rgba(248,247,244,0.8); }
.hv__copy--onDark .hv__sub strong { color: #fff; }
.hv__copy--onDark .btn--outline-red { border-color: rgba(255,255,255,0.7); color: #fff; }

.hv__copy--light .hv__headline, .hv__copy--light .hv-word, .hv__copy--light .hv__sub, .hv__copy--light .hv__sub strong { color: #fff; }
/* soft dark halo behind the white copy: keeps it readable where the photo is light, without a visible outline */
.hv__copy--light .hv__headline, .hv__copy--light .hv__sub { text-shadow: 0 1px 2px rgba(10,9,8,0.25), 0 2px 22px rgba(10,9,8,0.45); }
.hv__copy--light .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }

/* ── Spotlight reveal ── */
.hv--b {
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(196,18,48,0.10), transparent 70%),
    radial-gradient(50% 50% at 8% 92%, rgba(230,90,130,0.10), transparent 70%),
    var(--bg);
}
.hv__layer { position: absolute; inset: 0; display: flex; align-items: center; padding: 9rem 0 7rem; }
.hv__layer--base { z-index: auto; }/* B2: real CTAs above the lens — the base layer is no longer its own stacking context, so only the
   buttons are lifted; the headline and subline stay underneath the lens and still flip colour. */
.hv__layer--base .hv__copy { z-index: auto; }
.hv__layer--base .hv__cta { position: relative; z-index: 20; }
.hv__layer--reveal .hv__cta { visibility: hidden; }
/* secondary button: off-white pill with a charcoal outline — reads on the light page AND over the dark lens;
   same size, weight and radius as the red primary. */
.hv__layer--base .btn--outline-red {
  background: rgba(248,247,244,0.94); color: var(--dark); border-color: var(--dark);
}
/* hover = the same grow + shimmer sweep as the red button (no colour change); the sweep is a soft red tint
   so it shows up on the white pill */
.hv__layer--base .btn--outline-red:hover { background: rgba(248,247,244,0.94); color: var(--dark); border-color: var(--dark); }
.hv__layer--base .btn--outline-red::after {
  background: linear-gradient(105deg, transparent 15%, rgba(196,18,48,0.2) 50%, transparent 85%);
}
.hv__layer--reveal {
  z-index: 5; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), #000 0%, #000 38%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.65) 64%, rgba(0,0,0,0.32) 78%, rgba(0,0,0,0.1) 90%, transparent 100%);
          mask-image: radial-gradient(circle var(--r, 0px) at var(--x, 50%) var(--y, 50%), #000 0%, #000 38%, rgba(0,0,0,0.9) 50%, rgba(0,0,0,0.65) 64%, rgba(0,0,0,0.32) 78%, rgba(0,0,0,0.1) 90%, transparent 100%);
}
.hv__layer--sharp { -webkit-mask-image: none; mask-image: none; clip-path: circle(0px at 50% 50%); }
.hv__slides, .hv__tint { position: absolute; inset: 0; }
.hv__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  opacity: 0; transform: scale(1.08); transition: opacity 0.9s var(--ease-out), transform 5s linear;
}
.hv__slide.is-on { opacity: 1; transform: scale(1); }
.hv__tint { background: linear-gradient(105deg, rgba(10,9,8,0.40), rgba(196,18,48,0.24)); }   /* a little darker so the white copy holds up on bright parts of the photo */

/* White twin of the nav, shown only inside the blob */
.hv-navclone {
  position: absolute !important; top: 0; left: 0; right: 0; z-index: 30;
  pointer-events: none; background: none !important; border: 0 !important; box-shadow: none !important;
  transform: none !important;
}
.hv-navclone .nav__link { color: #fff !important; }
.hv-navclone .nav__logo img { filter: brightness(0) invert(1); }
/* hover/active underline: white over the photo (red stays on the light page) */
.hv-navclone .nav__link::after { background: #fff; height: 2px; }
/* once the real nav has switched to its scrolled (solid, smaller) state the white twin must disappear, otherwise its larger logo peeks out from under the bar */
body:has(#nav.scrolled) .hv-navclone { visibility: hidden; }
.hv-navclone a, .hv-navclone button { pointer-events: auto; }
.hv-navclone .nav__burger span { background: #fff !important; }

@media (max-width: 900px) {
  .hv { padding: 7rem 0 5rem; }
  .hv__copy { padding: 0 1.5rem; }
  .hv__layer { padding: 7rem 0 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-word, .hv__slide { transition: none; }
}
