/*
 * hero.css — Hero split section
 */

/* ─── SCROLL STAGE ─── */
.hero-stage {
  position: relative;
  height: 200vh;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100svh;
  min-height: 560px;
  position: sticky;
  top: 0;
}

/* ─── LEFT: TEXT SIDE ─── */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 72px 56px;
  position: relative;
  overflow: hidden;
}

.hero-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--border);
}

/* ─── BOTH TEXT LAYERS ─── */
/* Absolutely positioned so they occupy the same space */
.hero-text,
.hero-about {
  position: absolute;
  bottom: 72px;
  left: 56px;
  right: 56px;
  will-change: transform, opacity;
}

/* ─── HERO TEXT ─── */
.hero-text {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: var(--weight-thin);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-text .dim {
  color: var(--muted);
}

/* ─── ABOUT OVERLAY ─── */
.hero-about {
  opacity: 0;
}

/* ─── RIGHT: PHOTO SIDE ─── */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: var(--filter-hero);
}
