/* Daylight Energy — lighter veil, punchy CTA, soft motion */

.hero--visual {
  position: relative;
  min-height: min(90vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 0;
  background: #2a1a14;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transform-origin: 50% 40%;
  will-change: transform;
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
}

.hero--visual.is-live .hero__media img {
  animation: ys-ken 24s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(255, 122, 69, 0.28) 0%,
      rgba(26, 20, 16, 0.12) 42%,
      rgba(26, 20, 16, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(26, 20, 16, 0.08) 0%,
      rgba(26, 20, 16, 0.2) 40%,
      rgba(26, 20, 16, 0.72) 100%
    );
}

.hero--visual > .container,
.hero--visual .hero__content {
  position: relative;
  z-index: 2;
  max-width: 30rem;
}

.hero--visual .hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 9vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 2px 24px rgba(26, 20, 16, 0.25);
}

.hero--visual .hero-brand span {
  color: #ffe0cc;
  opacity: 1;
  font-weight: 600;
}

.hero--visual .hero__title {
  max-width: 14ch;
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero--visual .lede {
  color: rgba(255, 250, 245, 0.88);
  font-size: 1.02rem;
  max-width: 26rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.hero--visual .button {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  min-height: 2.9rem;
  padding-inline: 1.35rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(240, 90, 40, 0.35);
}

.hero--visual .button:hover {
  background: var(--accent-pop);
  color: #fff;
  transform: translateY(-1px);
}

.hero--visual .button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.hero--visual .button--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.hero__actions {
  margin-top: 1.6rem;
  animation: ys-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero--visual .hero-brand {
  animation: ys-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero--visual .hero__title,
.hero--visual .lede {
  animation: ys-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.07s both;
}

.media-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 0;
  background: var(--mist);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(1.05) contrast(1.02);
  will-change: transform;
}

.media-frame.is-inview img,
.media-frame:hover img {
  transform: scale(1);
}

.media-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(transparent, rgba(26, 20, 16, 0.65));
}

.split--media { align-items: start; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 36rem;
}

.page-hero--visual {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  padding: 4.25rem 0 2.85rem;
  background: #2a1a14;
}

.page-hero--visual .page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero--visual .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.03);
}

.page-hero--visual.is-live .page-hero__media img {
  animation: ys-ken-slow 28s ease-in-out infinite alternate;
}

.page-hero--visual .page-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(240, 90, 40, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(26, 20, 16, 0.25) 0%, rgba(26, 20, 16, 0.72) 100%);
}

.page-hero--visual > .container {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.page-hero--visual h1,
.page-hero--visual .lede {
  color: #fff;
}

.page-hero--visual .eyebrow {
  color: #ffc9a8;
  letter-spacing: 0.12em;
}

@keyframes ys-ken {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.11) translate3d(-1.2%, 0.9%, 0); }
}

@keyframes ys-ken-slow {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(0.8%, -0.5%, 0); }
}

@keyframes ys-rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 900px) {
  .hero--visual {
    min-height: min(88vh, 640px);
    padding: 5.25rem 0 2.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--visual.is-live .hero__media img,
  .page-hero--visual.is-live .page-hero__media img {
    animation: none;
  }
  .hero--visual .hero-brand,
  .hero--visual .hero__title,
  .hero--visual .lede,
  .hero__actions {
    animation: none;
  }
  .media-frame img {
    transition: none;
    transform: none;
  }
  .hero--visual .button:hover,
  .hero--visual .button--ghost:hover {
    transform: none;
  }
}
