/* Original integrated film composition and bordered hero controls. */
#hero {
  min-height: max(100vh,760px);
  min-height: max(100svh,760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  background: #07050d;
}
#hero .hero-bg { z-index: 0; }
#hero .hero-video,
#hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  filter: saturate(.95) brightness(.88);
}
#hero .hero-video { opacity: 0; transition: opacity .45s ease; }
#hero .hero-video.has-frame { opacity: 1; }
#hero .hero-video-scrim {
  background: linear-gradient(180deg,rgba(7,5,13,.22),rgba(7,5,13,.05) 30%,rgba(7,5,13,.15) 43%,rgba(7,5,13,.84) 70%,#07050d 100%);
}
#hero .hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: max(100vh,760px);
  min-height: max(100svh,760px);
  padding: max(46vh,350px) 2rem 7.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  transform: translateY(4vh);
}
#hero .h-rule { flex: none; margin: 0 auto 1.7rem; }
#purpose-heading {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: #f4f0e6;
  font-family: var(--font-display);
  font-size: clamp(1.2rem,1.85vw,1.75rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 20px #07050d;
}
.hero-cta-stack { display: flex; flex-direction: column; align-items: center; width: 100%; }
#hero .h-artifact-pill {
  min-height: 44px;
  margin: 0 0 1.25rem;
  padding: .8rem 1.7rem;
  background: rgba(124,82,200,.1);
  border: 1px solid rgba(160,111,240,.58);
  box-shadow: 0 0 28px rgba(124,82,200,.14),inset 0 0 24px rgba(124,82,200,.035);
}
#hero .h-pill-text { font-size: .7rem; letter-spacing: .15em; }
#hero .h-pill-text span { color: #ba99ed; }
#hero .btn-cta {
  min-height: 60px;
  padding: 1.3rem 3.8rem;
  border: 1px solid rgba(160,111,240,.8);
  background: rgba(7,5,13,.4);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
}
#hero .btn-cta:hover { border-color: #c3a26a; background: rgba(124,82,200,.13); }
#hero .hero-sub-links { gap: 2rem; margin-top: 1rem; }
#hero .hero-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c4ade5;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .13em;
}
#hero .hero-text-link:hover { color: #f4f0e6; }

#hero .mobile-contact-btn { display: flex !important; position: absolute; z-index: 4; bottom: 1.5rem; right: 2.5rem; margin: 0; }
#hero .mobile-contact-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem 1rem;
  border: 1px solid rgba(184,150,90,.4);
  color: #d8c9ae;
  background: rgba(7,5,13,.6);
  font: 400 .68rem/1.4 var(--font-interface);
  letter-spacing: .08em;
  text-decoration: none;
}
#hero a:focus-visible { outline: 2px solid #c4a365; outline-offset: 6px; }
#foundation .found-copy-full { max-width: 760px; margin: 0 auto; font: 400 clamp(1.05rem,1.4vw,1.22rem)/1.8 var(--font-reading); color: #c9c3b9; }
#foundation .found-copy-full p { margin: 0 0 1.6rem; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: 0; color: inherit; }
#foundation .found-copy-full .purpose-statement { color: #f4f0e6; font-size: clamp(1.4rem,2.2vw,2rem); font-weight: 300; line-height: 1.5; letter-spacing: .015em; margin-bottom: 2.5rem; }
@media (max-width: 768px) {
  #hero { min-height: max(100svh,760px); }
  #hero .hero-content { min-height: max(100svh,760px); padding: 7.5rem 1.4rem 6rem; justify-content: flex-start; transform: none; }
  #hero .h-rule { display: none; }
  #purpose-heading { max-width: 560px; margin: 0 auto; font-size: clamp(.97rem,3.9vw,1.3rem); font-weight: 300; line-height: 1.75; letter-spacing: .12em; }
  #hero .hero-video,
  #hero .hero-poster {
    inset: auto 0;
    top: 46%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    transform: translateY(-50%);
    filter: saturate(1) brightness(.95);
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 82%,transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 82%,transparent);
    mask-composite: intersect;
  }
  #hero .hero-video-scrim { background: linear-gradient(180deg,rgba(7,5,13,.3),rgba(7,5,13,0) 30%,rgba(7,5,13,.03) 50%,rgba(7,5,13,.6) 65%,#07050d 100%); }
  #hero .h-artifact-pill { margin-bottom: 1rem; padding: .7rem 1.25rem; }
  #hero .h-pill-text { font-size: .64rem; letter-spacing: .11em; }
  #hero .btn-cta { width: min(100%,440px); padding: 1.2rem .9rem; font-size: .7rem; letter-spacing: .13em; }
  #hero .hero-sub-links { width: 100%; flex-direction: row; flex-wrap: wrap; gap: .15rem 1.4rem; justify-content: center; margin-top: .6rem; }
  #hero .hero-cta-stack { position:absolute;top:calc(46% + (100vw * 9 / 32) - 28px);left:1.4rem;right:1.4rem;width:auto }
  #hero .hero-text-link { font-size: .61rem; letter-spacing: .08em; }
  #hero .mobile-contact-btn { right: 1.4rem; bottom: 1.2rem; }
  #hero .mobile-contact-btn a { position:relative;min-height:34px;padding:.35rem .6rem;font-size:.57rem;letter-spacing:.06em }
  #hero .mobile-contact-btn a::before { content:"";position:absolute;inset:-5px -3px }
  #hero .hero-scroll { display: flex; bottom: 1.6rem; }
}
@media (max-width: 380px) {
  #hero .hero-content { padding: 6.6rem 1.1rem 6rem; }
  #purpose-heading { font-size: .96rem; letter-spacing: .09em; }
  #hero .hero-sub-links { gap: 0 1rem; }
  #hero .hero-text-link { font-size: .58rem; letter-spacing: .06em; }
  #hero .mobile-contact-btn { right: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #hero .h-rule, #hero .h-artifact-pill { opacity: 1; animation: none; }
  #hero .h-pill-dot, #hero .scroll-line::after { animation: none; }
  .section-reveal { opacity: 1; transform: none; transition: none; }
}
