/* ============================================================
   1 · Hero — red floral bg, copy left, portrait feathered in right
   ============================================================ */
.hero {
  /* local to the hero: --c-hero-bg is shared with the inner-page heroes */
  --c-hero-red: #8A0110;
  --c-hero-red-dk: #3A000A;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-hero-red);
  min-height: min(1090px, 100vh);
  display: flex;
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  animation: hero-kenburns 18s var(--ease) infinite alternate;
}
@keyframes hero-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* red-tinted, not brown: it deepens the copy side without dulling the hue */
  background: linear-gradient(
    95deg,
    rgba(58, 0, 10, var(--overlay-a, .4)) 0%,
    rgba(58, 0, 10, calc(var(--overlay-a, .4) * .78)) 34%,
    rgba(58, 0, 10, calc(var(--overlay-a, .4) * .34)) 62%,
    rgba(58, 0, 10, calc(var(--overlay-a, .4) * .12)) 100%
  );
}

.hero__inner {
  width: min(100% - 2 * var(--wrap-pad), calc(var(--wrap-max) + 80px));
  margin-inline: auto;
  position: relative;
  /* keeps the copy below the 116px header bar */
  padding-block: clamp(170px, 19vh, 210px) clamp(90px, 12vh, 130px);
}

.hero__copy { max-width: 580px; position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--c-hero-head);
  animation: hero-rise .8s var(--ease) both;
}
.hero__rule {
  display: block;
  width: 74px;
  height: 1px;
  background: var(--c-peach);
  margin: clamp(26px, 3.5vh, 38px) 0;
  animation: hero-rise .8s var(--ease) .15s both;
}
.hero__roles {
  font-family: var(--f-inter);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--c-hero-body);
  max-width: 520px;
  animation: hero-rise .8s var(--ease) .3s both;
}
.hero__cta {
  margin-top: clamp(34px, 5vh, 52px);
  animation: hero-rise .8s var(--ease) .45s both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* portrait — a cut-out, so the background (flowers and all) runs behind her.
   Only the bottom is feathered, so the skirt melts into the red instead of
   ending on a hard edge at the section boundary. */
.hero__portrait {
  position: absolute;
  right: clamp(16px, 12vw, 170px);
  bottom: 0;
  top: clamp(150px, 16vh, 190px);
  width: min(34vw, 420px);
  z-index: 1;
  pointer-events: none;
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 15%);
  mask-image: linear-gradient(to top, transparent, #000 15%);
}
/* cream accents read better than gold on red */
.hero .btn-outline { border-color: rgba(250, 224, 203, .7); color: #FBEDE2; }
.hero .btn-outline:hover { background: rgba(250, 224, 203, .14); }

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 46px;
  height: 64px;
  border: 1px solid rgba(250, 224, 203, .7);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #FBEDE2;
  animation: hero-pulse 2.2s var(--ease) infinite;
}
@keyframes hero-pulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 1200px) {
  .hero__portrait { right: clamp(12px, 7vw, 90px); width: min(36vw, 380px); }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__portrait { right: clamp(8px, 4vw, 48px); width: min(34vw, 270px); }
  .hero__copy { max-width: 520px; }
}
@media (max-width: 600px) {
  /* portrait behind the copy: anchored to the section bottom (inner is static
     so bottom:0 = section edge), copy kept to a left column so the body shows */
  .hero { min-height: min(100vh, 700px); }
  .hero__inner { position: static; padding-top: 170px; }
  .hero__copy { max-width: max(62%, 246px); }
  .hero__title { font-size: clamp(36px, 9.6vw, 48px); }
  .hero__roles { font-size: 15px; }
  .hero__portrait { right: -4%; top: 150px; width: min(62vw, 280px); }
  /* scrim over the whole section, not just the portrait: the copy crosses her
     light waistcoat and needs the contrast back. */
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 24%, rgba(58, 0, 10, .48) 56%, rgba(58, 0, 10, .9) 100%);
  }
  .hero__cue { bottom: 14px; z-index: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__cue { animation: none; }
  .hero__title, .hero__rule, .hero__roles, .hero__cta { animation: none; opacity: 1; transform: none; }
}
