/* ─────────────────────────────────────────────────────────────────────
   OJAS — hero
   Split layout: copy panel left, full-bleed lifestyle photo right.
   Matches the approved Ojas prototype exactly. Stacks to a single
   column (copy above image) at 900px and below. Responsive at
   1440 / 768 / 375.
   ───────────────────────────────────────────────────────────────────── */

.av-hero {
  position: relative;
  width: 100%;
  background: var(--color-bg);
}

.av-hero__viewport {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ─── Slides ─────────────────────────────────────────────────────────── */
.av-hero__slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
  padding: 0 var(--container-pad-desktop);
}
.av-hero__slide.is-active {
  display: grid;
}
/* No image set: the copy takes the full width, no empty photo panel. */
.av-hero__slide--text {
  grid-template-columns: 1fr;
  min-height: 0;
}

/* ─── Copy panel ─────────────────────────────────────────────────────── */
.av-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 64px 60px 0;
  color: var(--color-text);
}

.av-hero__eyebrow {
  margin-bottom: 20px;
}

.av-hero__headline {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: var(--tracking-display);
  color: var(--color-text);
  margin: 0 0 18px 0;
}
.av-hero__em,
.av-hero__headline em.editorial {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.av-hero__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 0 30px 0;
}

.av-hero__ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Media panel ────────────────────────────────────────────────────── */
.av-hero__media {
  position: relative;
  overflow: hidden;
  max-height: 600px;
  background: var(--color-text);
}
.av-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* No photo yet: the panel keeps the demo layout and shows the placeholder */
.av-hero__media--placeholder { background: var(--color-surface-2); min-height: 320px; }

/* ─── Pagination dots (only relevant when 2+ slides exist) ───────────── */
.av-hero__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 18px 0 28px;
}
.av-hero__dot {
  width: 8px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--av-hero-dot, var(--color-primary));
  opacity: 0.35;
  cursor: pointer;
  transition: width 220ms ease, opacity 220ms ease;
}
.av-hero__dot:hover { opacity: 0.65; }
.av-hero__dot.is-active {
  width: 32px;
  opacity: 1;
}

/* ─── Tablet (≤900) — stack copy above image ─────────────────────────── */
@media (max-width: 900px) {
  .av-hero__slide {
    grid-template-columns: 1fr;
    padding: 0 var(--container-pad-mobile);
    min-height: 0;
  }
  .av-hero__content {
    padding: 44px 0 32px;
  }
  .av-hero__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .av-hero__media {
    max-height: 420px;
  }
}

/* ─── Mobile (≤480) ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .av-hero__content {
    padding: 36px 0 28px;
  }
  .av-hero__headline {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
    margin-bottom: 14px;
  }
  .av-hero__body {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .av-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .av-hero__media {
    max-height: 320px;
  }
}
