/* Experiment 3: one full-bleed photographic stage. */
.hero.hero-editorial {
  isolation: isolate;
  padding: clamp(4rem, 8vw, 8rem) 0 0;
  color: var(--white);
  background: #31292e;
}

.hero-editorial::before,
.hero-editorial::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-editorial::before {
  background: url("assets/adelynn-lim.webp") no-repeat right center / max(68%, 680px) auto;
  background-position: right 23%;
}

.hero-editorial::after {
  background:
    linear-gradient(90deg, #302830 0%, #302830 31%, rgba(48,40,48,.94) 41%, rgba(48,40,48,.58) 52%, transparent 70%),
    linear-gradient(0deg, rgba(33,26,32,.97), rgba(33,26,32,.2) 23%, transparent 48%);
}

.editorial-hero-inner { position: relative; }

.hero-editorial .editorial-hero-copy {
  display: block;
  width: min(56%, 39rem);
  min-height: 0;
  padding: 0 0 clamp(3rem, 6vw, 6rem);
}

.hero-editorial .eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  color: var(--coral);
}

.hero-editorial .eyebrow::before {
  width: 1.5rem;
  height: 1px;
  flex: none;
  content: "";
  background: currentColor;
}

.hero-editorial .editorial-hero-copy h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 4.45vw, 4.5rem);
  line-height: 1.035;
  text-wrap: pretty;
}

.hero-editorial .hero-highlight { color: #ffe2dc; background: none; }
.hero-editorial .hero-lead { max-width: 48ch; margin-bottom: 1.6rem; color: #f5edef; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.hero-editorial .hero-note { max-width: 48ch; margin-top: 1.2rem; color: #eee1e4; }
.hero-editorial .hero-actions { gap: .75rem; }
.hero-editorial a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.editorial-portrait-credit {
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  max-width: 15rem;
  padding-left: .85rem;
  border-left: 1px solid var(--coral);
  color: #fff7f6;
  font-size: .85rem;
  line-height: 1.45;
}

.editorial-portrait-credit strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.editorial-hero-signoff {
  padding-block: .9rem;
  border-top: 1px solid rgba(255,255,255,.28);
  color: #f7e9e9;
  font-size: .9rem;
  font-style: italic;
}

.editorial-hero-signoff p { margin: 0; }

@media (max-width: 900px) {
  .hero.hero-editorial {
    --photo-depth: clamp(20rem, 65vw, 33rem);
    padding-top: calc(var(--photo-depth) - 4.5rem);
  }
  .hero-editorial::before {
    bottom: auto;
    height: calc(var(--photo-depth) + 2rem);
    background-size: cover;
    background-position: center 21%;
  }
  .hero-editorial::after {
    background: linear-gradient(180deg, transparent calc(var(--photo-depth) - 11.5rem), rgba(48,40,48,.98) calc(var(--photo-depth) - 1rem), #302830 var(--photo-depth));
  }
  .hero-editorial .editorial-hero-copy { width: min(100%, 41rem); padding-bottom: 1.65rem; }
  .hero-editorial .editorial-hero-copy h1 { font-size: clamp(2.23rem, 6.05vw, 3.9rem); }
  .editorial-portrait-credit { position: static; max-width: none; margin-bottom: 1.35rem; }
}

@media (max-width: 480px) {
  .hero-editorial .hero-actions { align-items: flex-start; }
  .hero-editorial .eyebrow { letter-spacing: .08em; }
}
