/* TorraOs landing hero v3
   Fixes the top hero composition only. The generated background artwork is 1672×941 (16:9-ish),
   so the section follows that ratio instead of squeezing the image into the right 71%.
   Lower landing sections keep their original video behaviour. */

.hero {
  width: 100%;
  max-width: none;
  height: clamp(760px, 56.28vw, 940px);
  min-height: 0;
  background: #fbfaf6;
  overflow: hidden;
}

/* The approved still already contains the soft white space on the left.
   Use it across the entire hero so the family stays in the intended position. */
.hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero .hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Top hero is intentionally static. Never show a video or video-specific handwriting here. */
.hero .hero-photo > .story-video,
.hero .video-toggle,
.hero .video-ink {
  display: none !important;
}

/* The background image already has its own light gradient; avoid double-white masking. */
.hero::before {
  background: none !important;
}

.hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1510px;
  width: calc(100% - 96px);
  height: 100%;
  min-height: 0;
  padding-top: 168px;
  padding-bottom: 62px;
}

.hero .hero-copy {
  max-width: 505px;
}

.hero .hero-copy .eyebrow {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: .28em;
}

.hero .hero-copy h1 {
  max-width: 500px;
  font-size: clamp(46px, 3.55vw, 58px);
  line-height: 1.28;
  letter-spacing: -.045em;
}

.hero .hero-copy .lead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.55;
}

.hero .hero-copy .intro {
  max-width: 445px;
  margin: 12px 0 27px;
  font-size: 14px;
  line-height: 1.85;
}

.hero .hero-copy .primary {
  min-width: 220px;
  min-height: 52px;
  padding: 12px 25px;
  font-size: 14px;
}

/* Put reminder cards in the empty right edge, not over the mother's face. */
.hero .hero-notes {
  position: absolute;
  top: 142px;
  right: 0;
  display: grid;
  gap: 12px;
}

.hero .note {
  width: 192px;
  min-height: 72px;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 21px;
  font-size: 12px;
}

.hero .note svg {
  width: 24px;
  height: 24px;
}

.hero .note b {
  font-size: 13px;
}

.hero .scroll {
  left: 0;
  bottom: 34px;
}

/* Keep the same fixed-canvas strategy already used by this landing page. */
@media (max-width: 1100px) {
  .hero {
    height: 760px;
  }

  .hero .hero-inner {
    width: calc(100% - 56px);
    padding-top: 155px;
  }

  .hero .hero-copy {
    max-width: 455px;
  }

  .hero .hero-copy h1 {
    font-size: 48px;
  }

  .hero .hero-notes {
    top: 128px;
    right: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    display: block;
    height: 760px;
    min-height: 0;
  }

  .hero .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero .hero-photo > img {
    object-position: center center;
  }

  .hero .hero-inner {
    width: calc(100% - 48px);
    height: 100%;
    min-height: 0;
    padding-top: 150px;
    padding-bottom: 55px;
  }

  .hero .hero-copy {
    max-width: 430px;
  }

  .hero .hero-copy h1 {
    font-size: 46px;
  }

  .hero .hero-copy .lead {
    font-size: 18px;
  }

  .hero .hero-notes {
    top: 122px;
    right: 0;
  }

  .hero .note {
    width: 176px;
    min-height: 66px;
    padding: 11px 13px;
    font-size: 11px;
  }
}

/* Stable image composition: scale the full artwork, never crop to viewport height. */
.hero{height:auto!important;aspect-ratio:1672/941;min-height:0!important}
.hero .hero-photo>img{object-fit:contain!important}
.hero .hero-inner{width:92%;max-width:none;padding-top:10.5vw;padding-bottom:3vw}
.hero .hero-copy{max-width:34vw}
.hero .hero-copy h1{max-width:34vw;font-size:3.55vw;line-height:1.28}
.hero .hero-copy .eyebrow{font-size:.8vw;margin-bottom:1.2vw}
.hero .hero-copy .lead{font-size:1.3vw;margin-top:1.4vw}
.hero .hero-copy .intro{font-size:1vw;max-width:31vw;margin:1vw 0 1.8vw}
.hero .hero-copy .primary{font-size:1vw;min-width:0;min-height:0;padding:1vw 1.8vw}
.hero .hero-notes{top:9vw;right:0;gap:.8vw}
.hero .note{width:13vw;min-height:4.6vw;padding:.9vw 1vw;gap:.8vw;font-size:.8vw;border-radius:1.4vw}
.hero .note b{font-size:.9vw}
.hero .note svg{width:1.6vw;height:1.6vw}
.hero .scroll{bottom:2vw}
header .nav nav{display:flex!important}
header{z-index:100}
header a,header button{pointer-events:auto}
section[id]{scroll-margin-top:100px}
