/* First-screen art direction. All rules are scoped to the hero. */
#top .hero-v2 {
  background: var(--plum);
  min-height: max(740px, 100svh);
}

#top .site-header {
  min-height: 100px;
  border-bottom-color: rgb(243 238 232 / 17%);
}

#top .desktop-nav { gap: clamp(24px, 3vw, 54px); }
#top .desktop-nav a, #top .nav-contact { font-size: 13px; }
#top .nav-contact { gap: 18px; }
#top .nav-contact span { color: var(--amber); }

#top .hero-v2-composition {
  justify-content: center;
  padding-block: 36px 34px;
  transform-origin: left top;
}

#top .hero-v2-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  column-gap: clamp(40px, 5vw, 96px);
}

#top .hero-v2-heading { min-width: 0; }
#top .hero-eyebrow {
  margin: 0 0 26px;
  gap: 16px;
  font-size: 10px;
  letter-spacing: .095em;
  font-weight: 500;
}
#top .hero-eyebrow .accent-line { width: 28px; }

#top h1 {
  font-size: inherit;
  line-height: 1.08;
  letter-spacing: -.058em;
  overflow-wrap: normal;
}
#top .hero-v2-title-intro {
  font-size: clamp(35px, 4.1vw, 80px);
  letter-spacing: -.058em;
  line-height: 1.18;
}
#top .hero-v2-title-need { display: inline; }
#top .hero-v2-mobile-mark { display: none; }
#top .hero-v2-title-keyword {
  margin-top: 4px;
  color: var(--amber);
  font-size: clamp(66px, 8.5vw, 154px);
  line-height: 1.1;
  letter-spacing: -.071em;
}
#top .hero-v2-title-secondary {
  max-width: 27ch;
  margin-top: 22px;
  font-family: Onest, Arial, sans-serif;
  font-size: clamp(21px, 1.9vw, 34px);
  line-height: 1.35;
  letter-spacing: -.025em;
  font-weight: 400;
}

#top .hero-v2-signature {
  position: relative;
  justify-self: center;
  width: min(100%, 390px);
  margin: 8px 0 0;
  padding: 12px 10px 0;
}
#top .hero-v2-art {
  position: relative;
  isolation: isolate;
  transform: rotate(-8deg);
  transform-origin: center;
  filter: drop-shadow(0 24px 26px rgb(0 0 0 / 20%));
}
#top .hero-v2-art img { position: relative; z-index: 1; width: 100%; height: auto; }
#top .hero-v2-light-field {
  position: absolute;
  z-index: 0;
  inset: -24%;
  width: 148%;
  height: 148%;
  overflow: visible;
  pointer-events: none;
}
#top .hero-v2-light-band {
  opacity: 0;
}
#top .hero-v2-signature figcaption {
  width: fit-content;
  margin: 28px 0 0 auto;
  padding-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .025em;
}
#top .hero-v2-signature figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 8px;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color .2s;
}
#top .hero-v2-signature figcaption a:hover { color: var(--amber); }

#top .hero-v2-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3.5vw, 64px);
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgb(243 238 232 / 17%);
  font-size: 16px;
}
#top .hero-v2-copy p { max-width: 48ch; line-height: 1.55; }
#top .hero-actions { margin-top: 26px; gap: 34px; }
#top .hero-actions .button { min-height: 56px; padding: 16px 23px; border-radius: 20px; }
#top .hero-actions .text-link { min-height: 56px; padding: 16px 23px; border: 1px solid var(--line-on-dark); border-radius: 20px; }
#top .hero-actions .button-amber:hover { background: var(--ivory); }
#top .hero-actions .button span, #top .hero-actions .text-link span { transition: transform .25s; }
#top .hero-foot { min-height: 62px; font-size: 11px; border-top-color: rgb(243 238 232 / 17%); }
#top .scroll-hint { gap: 18px; }

@media (min-width: 1700px) {
  #top .hero-v2-signature { width: min(100%, 440px); }
  #top .hero-v2-copy { font-size: 17px; }
}

@media (min-width: 901px) and (max-height: 800px) {
  #top .site-header { min-height: 86px; }
  #top .hero-v2-composition { padding-block: 24px; }
  #top .hero-eyebrow { margin-bottom: 18px; }
  #top .hero-v2-signature { width: min(100%, 260px); }
  #top .hero-v2-signature figcaption { margin-top: 20px; }
  #top .hero-v2-title-secondary { margin-top: 16px; font-size: clamp(21px, 1.7vw, 27px); }
  #top .hero-v2-copy { margin-top: 24px; padding-top: 18px; }
  #top .hero-actions { margin-top: 22px; }
  #top .hero-foot { min-height: 56px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  #top .hero-v2-stage { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  #top .hero-v2-signature { padding-inline: 0; }
  #top .hero-v2-signature figcaption { margin-top: 24px; font-size: 11px; }
  #top .hero-v2-title-secondary { font-size: 22px; }
  #top .hero-v2-copy { grid-template-columns: 1fr; gap: 16px; }
  #top .hero-v2-copy p { max-width: 64ch; }
}

@media (max-width: 767px) {
  #top .hero-v2 { min-height: 100svh; }
  #top .site-header { min-height: 90px; }
  #top .hero-v2-composition { padding-block: 34px 30px; }
  #top .hero-v2-stage { display: block; }
  #top .hero-eyebrow { max-width: 260px; min-height: 32px; margin-bottom: 20px; font-size: 10px; gap: 12px; }
  #top .hero-eyebrow .accent-line { width: 18px; margin-top: 7px; }
  #top .hero-v2-title-intro { position: relative; min-height: calc(clamp(72px, 17vw, 116px) + 8px); padding-right: calc(clamp(72px, 17vw, 116px) + 24px); font-size: clamp(29px, 7vw, 48px); line-height: 1.15; }
  #top .hero-v2-title-need { display: block; }
  #top .hero-v2-mobile-mark { position: absolute; top: 0; right: 8px; display: block; width: clamp(72px, 17vw, 116px); transform: rotate(-8deg); }
  #top .hero-v2-title-keyword { margin-top: 8px; font-size: clamp(46px, 14vw, 96px); line-height: 1.15; }
  #top .hero-v2-title-secondary { max-width: 25ch; margin-top: 18px; font-size: clamp(21px, 4.4vw, 26px); line-height: 1.4; }
  #top .hero-v2-signature { display: none; }
  #top .hero-v2-copy { grid-template-columns: 1fr; gap: 16px; margin-top: 26px; padding-top: 24px; font-size: 16px; }
  #top .hero-v2-copy p { max-width: 52ch; }
  #top .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 26px; }
  #top .hero-actions .button { width: auto; min-width: 240px; }
  #top .hero-actions .text-link { width: auto; }
  #top .hero-foot { min-height: 68px; font-size: 10px; }
  #top .hero-foot > span { max-width: 155px; }
}

@media (max-width: 374px) {
  #top .site-header { min-height: 82px; }
  #top .hero-v2-composition { padding-block: 30px; }
  #top .hero-v2-title-intro { font-size: 28px; }
  #top .hero-v2-title-keyword { font-size: 46px; }
  #top .hero-v2-mobile-mark { right: 4px; }
  #top .hero-actions { display: flex; }
  #top .hero-actions .button { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  #top .hero-v2-heading { animation: navi-hero-text-in .7s cubic-bezier(.2,.7,.3,1) both; }
  #top .hero-actions { animation: navi-hero-text-in .7s .15s cubic-bezier(.2,.7,.3,1) both; }
  #top .hero-v2-copy.copy-sequence-ready > p { transition: opacity .55s ease; }
  #top .hero-v2-copy.copy-sequence-ready > p:not(:first-child) { opacity: 0; }
  #top .hero-v2-copy.copy-sequence-ready > p.copy-sequence-visible { opacity: 1; }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  #top .hero-v2-art.light-pass-started .hero-v2-light-band {
    animation: navi-hero-matrix-pass 2.6s ease-in-out var(--light-delay) 1 both;
  }
}

@media (max-width: 767px) {
  #top .hero-v2-heading { animation: none; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #top .hero-actions .button:hover span, #top .hero-actions .text-link:hover span { transform: translate(3px, -3px); }
}

@keyframes navi-hero-text-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes navi-hero-matrix-pass {
  0% { opacity: 0; }
  45%, 55% { opacity: .85; }
  100% { opacity: 0; }
}
