/* Home 01: full-bleed photographic hero. */
.th-hero {
  --th-hero-nav: 81px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: max(620px, min(88svh, calc(100svh - var(--th-hero-nav))));
  color: #fff;
  /* Ink fallback, tinted cobalt, so the hero holds before the photo loads. */
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(23, 72, 199, .55), transparent 60%),
    var(--tm-ink);
}
.th-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  animation: th-hero-settle 2.4s cubic-bezier(.16, 1, .3, 1) both;
}
/* Scrim: darkest bottom-left where the copy sits, plus a thin top shade under the light nav. */
.th-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 18, 24, .45) 0, rgba(16, 18, 24, 0) 22%),
    linear-gradient(0deg, rgba(16, 18, 24, .9) 0, rgba(16, 18, 24, .55) 38%, rgba(16, 18, 24, 0) 72%),
    linear-gradient(90deg, rgba(16, 18, 24, .6) 0, rgba(16, 18, 24, 0) 65%);
}
.th-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 56px;
  padding-block: 96px 36px;
}
.th-hero-copy {
  max-width: 820px;
  animation: th-hero-rise 1s .15s cubic-bezier(.16, 1, .3, 1) both;
}
.th-hero-eyebrow.tm-eyebrow {
  color: #fff;
  margin: 0 0 26px;
}
.th-hero-eyebrow.tm-eyebrow:before {
  background: #8fa9ff;
}
.tm-home .th-hero-title {
  margin: 0;
  color: #fff;
  font: 500 clamp(3.4rem, 8.4vw, 7.6rem)/.96 Gellix, Arial, sans-serif;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.tm-home .th-hero-title .th-hero-title-sub {
  display: block;
  margin-top: .22em;
  color: rgba(255, 255, 255, .8);
  font-size: .42em;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.th-hero-lead {
  max-width: 470px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
  line-height: 1.6;
}
.th-hero-actions.tm-actions {
  margin-top: 36px;
}
.th-hero-btn:focus-visible,
.th-hero-btn-ghost:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.th-hero-btn-ghost.tm-btn {
  background: rgba(16, 18, 24, .2);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.th-hero-btn-ghost.tm-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tm-ink);
}
.th-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
  font: .68rem/1.6 var(--tm-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.th-hero-meta-method {
  margin-left: auto;
  color: #fff;
}
@keyframes th-hero-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes th-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .th-hero-photo,
  .th-hero-copy {
    animation: none;
  }
}
@media (max-width: 800px) {
  .th-hero-inner {
    gap: 40px;
    padding-block: 72px 24px;
  }
  .th-hero-photo {
    object-position: 70% 50%;
  }
  /* The copy spans the full width here, so the scrim reaches higher. */
  .th-hero::after {
    background:
      linear-gradient(180deg, rgba(16, 18, 24, .45) 0, rgba(16, 18, 24, 0) 18%),
      linear-gradient(0deg, rgba(16, 18, 24, .92) 0, rgba(16, 18, 24, .7) 55%, rgba(16, 18, 24, .1) 85%);
  }
  .th-hero-meta-method {
    display: none;
  }
}
@media (max-width: 480px) {
  .tm-home .th-hero-title {
    font-size: clamp(3rem, 15vw, 3.6rem);
  }
  .tm-home .th-hero-title .th-hero-title-sub {
    font-size: .5em;
  }
  .th-hero-lead {
    font-size: 1rem;
  }
  .th-hero-actions .tm-btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}
