/* ── hero.css — Hero section, registration marks, and hero image ── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 7fr 5fr;
}

/* Left panel — neon background */
.hero__panel--neon {
  background: var(--neon);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: var(--border-thick);
}

/* Right panel — dark with hero image */
.hero__panel--dark {
  position: relative;
  background: var(--gray-dark);
  overflow: hidden;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero__manifesto {
  max-width: 80%;
  line-height: 1.1;
  margin-top: var(--space-md);
}

.hero__eyebrow {
  color: var(--black);
}

/* Hero image */
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.4) brightness(0.8);
  mix-blend-mode: luminosity;
  will-change: transform;
  transform: scale(1.1) translateY(var(--py, 0px));
}

/* Hero scroll bar (bottom strip of left panel) */
.hero__scroll-bar {
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Registration marks (crosshair corners) */
.reg-mark {
  position: absolute;
  width: 15px;
  height: 15px;
}
.reg-mark::before,
.reg-mark::after {
  content: "";
  position: absolute;
  background: var(--black);
}
.hero__panel--dark .reg-mark::before,
.hero__panel--dark .reg-mark::after {
  background: var(--neon);
}
.reg-mark::before {
  top: 7px;
  left: 0;
  width: 15px;
  height: 1px;
}
.reg-mark::after {
  top: 0;
  left: 7px;
  width: 1px;
  height: 15px;
}

.reg-tl {
  top: var(--space-md);
  left: var(--space-md);
}
.reg-tr {
  top: var(--space-md);
  right: var(--space-md);
}
.reg-bl {
  bottom: var(--space-md);
  left: var(--space-md);
}
.reg-br {
  bottom: var(--space-md);
  right: var(--space-md);
}

/* Hero heading override for multi-line Spanish headline */
.hero__h1 {
  font-size: clamp(1.8rem, 8.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* Allow wrapping on the longer Spanish lines — whole words only, no mid-word breaks */
.hero__h1 .hero-line-inner {
  white-space: normal !important;
  hyphens: none !important;
  overflow-wrap: normal;
  word-break: normal;
}

/* Keep accent line on one line — no word break */
.hero__h1 .hero-line-inner--accent {
  white-space: nowrap;
}

/* Last headline line — dimmed for visual hierarchy, overrides heroLineUp */
body.hero-loaded .hero-line-inner--accent {
  animation: heroLineUpDim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Subheadline */
.hero__subheadline {
  max-width: 92%;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 1rem;
  font-family: 'Satoshi', sans-serif;
  color: var(--black);
  opacity: 0;
}
body.hero-loaded .hero__subheadline {
  animation: heroFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.1s;
}

/* CTA row */
.hero__cta-row {
  margin-top: 1.25rem;
}

.hero__cta-btn {
  display: inline-block;
  background: var(--black);
  color: var(--neon);
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid var(--black);
  opacity: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
body.hero-loaded .hero__cta-btn {
  animation: heroFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.4s;
}

.hero__cta-btn:hover {
  background: transparent;
  color: var(--black);
}

.hero__cta-btn:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.hero__cta-btn:active {
  transform: translateY(1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__panel--neon {
    min-height: 60vh;
    border-right: none;
    border-bottom: var(--border-thick);
  }
  .hero__panel--dark {
    min-height: 55vw;
  }
}

@media (max-width: 768px) {
  .hero__panel--neon .reg-mark,
  .hero__panel--dark .reg-mark {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__panel--dark {
    min-height: 70vw;
  }
  .hero__panel--neon {
    padding: var(--space-md);
  }
}
