/* TG Hero */
.tg-hero {
  --tg-hero-ov-top: rgba(4, 26, 32, 0.55);
  --tg-hero-ov-bottom: rgba(4, 26, 32, 0.75);
  position: relative;
  min-height: calc(100vh - 134px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--tg-dark);
}
.tg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tg-body .tg-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.tg-body .tg-hero-bg img.is-active {
  opacity: 1;
}
.tg-hero.has-kenburns .tg-hero-bg img {
  animation: tg-kenburns 18s ease-out infinite alternate;
}
.tg-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--tg-hero-ov-top) 0%, rgba(4, 26, 32, 0.2) 40%, var(--tg-hero-ov-bottom) 100%);
}
@keyframes tg-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
.tg-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 7vw, 96px);
  padding-top: clamp(60px, 8vw, 120px);
}
.tg-hero-text {
  display: none;
}
.tg-hero-text.is-active {
  display: block;
}
.tg-body .tg-hero .tg-eyebrow {
  color: var(--tg-gold);
}
.tg-body .tg-hero .tg-hero-title {
  color: #fff;
  max-width: 16ch;
  text-transform: uppercase;
  font-weight: 500; /* as v14 rendered it (its heading rule overrode the 600) */
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 1;
}
html[dir="rtl"] .tg-body .tg-hero .tg-hero-title {
  line-height: 1.2;
  letter-spacing: 0;
}
.tg-body .tg-hero .sub {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-top: 24px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.tg-hero-rail {
  position: absolute;
  top: 50%;
  right: var(--tg-gutter);
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: right;
}
html[dir="rtl"] .tg-hero-rail {
  right: auto;
  left: var(--tg-gutter);
  text-align: left;
}
.tg-body .tg-hero-rail a {
  font-family: var(--tg-font-head);
  font-size: 0.85rem;
  line-height: 1.75;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s, padding 0.3s;
}
.tg-body .tg-hero-rail a:hover,
.tg-body .tg-hero-rail a.active {
  color: #fff;
  padding-right: 6px;
}
.tg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.tg-hero-meta div {
  color: #fff;
}
.tg-hero-meta strong {
  display: block;
  font-family: var(--tg-font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
}
.tg-hero-meta span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 1120px) {
  .tg-hero-rail {
    display: none;
  }
}
.tg-hero-text .tg-btn-row {
  margin-top: 34px;
}
/* Entrance */
.tg-hero-inner .tg-eyebrow,
.tg-hero-inner .tg-hero-title,
.tg-hero-inner .sub,
.tg-hero-meta {
  opacity: 0;
  animation: tg-rise 1s var(--tg-ease) forwards;
}
.tg-hero-inner .tg-hero-title {
  animation-delay: 0.12s;
}
.tg-hero-inner .sub {
  animation-delay: 0.24s;
}
.tg-hero-meta {
  animation-delay: 0.36s;
}
.tg-hero-rail a {
  opacity: 0;
  animation: tg-fade 0.8s var(--tg-ease) forwards;
}
.tg-hero-rail a:nth-child(1) { animation-delay: 0.5s; }
.tg-hero-rail a:nth-child(2) { animation-delay: 0.58s; }
.tg-hero-rail a:nth-child(3) { animation-delay: 0.66s; }
.tg-hero-rail a:nth-child(4) { animation-delay: 0.74s; }
.tg-hero-rail a:nth-child(5) { animation-delay: 0.82s; }
.tg-hero-rail a:nth-child(6) { animation-delay: 0.9s; }
@media (prefers-reduced-motion: reduce) {
  .tg-hero-bg img {
    animation: none !important;
  }
  .tg-hero-inner *,
  .tg-hero-rail a,
  .tg-hero-meta {
    opacity: 1 !important;
    animation: none !important;
  }
}
