/* Shared rows reserve space for the longest heading and list across slides. */
.v3-hero { background: #fff; }
.v3-hero-scene { display: contents; }
.v3-hero .v2-hero-bg {
  left: 8%;
  top: 50%;
  bottom: auto;
  width: 92%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
}
.v3-hero .v2-hero-bg img, .v3-hero .v2-hero-video {
  inset: 0;
  height: 100%;
  object-position: center;
}
.v3-hero::after {
  background: linear-gradient(90deg, #fff 0%, #fffffff5 20%, #ffffffdf 36%, #ffffffc2 42%, #ffffff24 47%, transparent 50%);
}
.v3-hero .v3-hero-dialogue {
  top: clamp(16px, 3vw, 50px);
  right: 0;
  left: 0;
  width: auto;
  max-width: none;
}
.v3-hero-dialogue[hidden] { display: none; }
.v3-hero-dialogue .v2-speech { font-family: var(--font); }
.v3-hero-dialogue .v2-speech-report { margin-left: 57.5%; }
.v3-hero-dialogue .v2-speech-question {
  flex: 0 0 296px;
  width: 296px;
  margin-left: calc(77.2% - 148px);
  color: var(--wine);
}
.v3-hero-dialogue .v2-speech-question strong { display: block; margin-top: 3px; }
.v3-hero-dialogue .v2-speech.is-leaving { animation: v3-speech-out .3s ease both; }
@keyframes v3-speech-out { to { opacity: 0; } }
.v3-hero .v3-hero-copy {
  width: min(100%, 880px);
  max-width: none;
}
.v3-hero-slides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}
.v3-hero-slide {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-rows: subgrid;
  align-items: start;
  justify-items: start;
  min-width: 0;
  visibility: hidden;
}
.v3-hero-slide.is-current { visibility: visible; }
.v3-hero-slide.is-typing [data-hero-char]:not(.is-typed),
.v3-hero-slide.is-typing li:not(.is-started)::before {
  opacity: 0;
}
.v3-hero .v3-hero-slide h2 {
  max-width: 16em;
  margin-bottom: 24px;
  color: var(--burgundy);
  font: 400 clamp(38px, 4.45vw, 72px)/1.06 var(--v2-serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.v3-hero .v2-promise {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 0 0 24px;
  align-self: start;
}
.v3-hero .v2-promise li {
  font: 650 clamp(15px, 1.1vw, 18px)/1.45 var(--font);
}
.v3-more {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 49px;
  padding: 11px 19px 11px 21px;
  border: 1px solid var(--berry);
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(155deg, #9B4055, var(--burgundy) 45%, #662333);
  box-shadow: inset 0 1px 1px #ffffff45, 0 4px 14px #852e422b;
  font: 600 15px/1.3 var(--ui-font);
  transition: box-shadow 200ms ease, filter 200ms ease;
}
.v3-more:hover, .v3-more:focus-visible {
  filter: brightness(1.12);
  box-shadow: inset 0 1px 1px #ffffff65, 0 6px 20px #852e4240;
}
.v3-more span {
  font-size: 18px;
  transition: transform 200ms ease;
}
.v3-more:hover span { transform: translate(2px, -2px); }
.v3-hero-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 0;
}
.v3-hero-controls[hidden], .v3-slide-toggle svg[hidden] { display: none; }
.v3-slide-indicators {
  display: flex;
  align-items: center;
  gap: 4px;
}
.v3-slide-indicators button, .v3-slide-toggle {
  display: grid;
  place-items: center;
  min-height: 32px;
  min-width: 32px;
  border: 0;
  border-radius: 7px;
  color: var(--wine);
  background: transparent;
  cursor: pointer;
}
.v3-slide-indicators button::after {
  content: "";
  width: clamp(44px, 5vw, 72px);
  height: 5px;
  border-radius: 2px;
  background: #AD9CA4;
}
.v3-slide-indicators button[aria-current="true"]::after {
  height: 6px;
  background: var(--burgundy);
}
.v3-hero-controls button:hover { background: #F1E8EB; }
.v3-hero-contacts {
  display: flex;
  gap: 9px;
}
.v3-hero-contacts a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--steel);
  background: var(--white);
  border: 1px solid #D4DDE7;
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.v3-hero-contacts a:hover {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}
.v3-max-label { font: 750 10px/1 var(--ui-font); }
.v3-hero .v2-badges { margin-top: 15px; }
.v3-hero a:focus-visible, .v3-hero button:focus-visible {
  outline: 2px solid var(--pure-blue);
  outline-offset: 3px;
}
#tar-title, #ai-title, #home-cases-title {
  scroll-margin-top: 145px;
}
@media (min-width: 901px) {
  .v3-hero { min-height: min(51.75vw, 920px); }
  .v3-hero .v2-hero-in { padding-block: clamp(42px, 5.5vw, 96px); }
  .v3-hero .v3-hero-copy { max-width: calc(47vw - var(--v2-g) - var(--v2-pad) - 16px); }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .v3-hero .v2-hero-in { padding: 26px 40px 38px; }
  .v3-hero .v3-hero-copy { max-width: calc(47vw - 56px); }
  .v3-hero .v2-hero-bg {
    top: 0;
    transform: none;
    mask-image: linear-gradient(#000 94%, transparent);
  }
}
@media (max-width: 900px) {
  .v3-hero-scene {
    display: block;
    position: relative;
    isolation: isolate;
    margin: 12px var(--v2-g) 0;
    border-radius: 14px;
    overflow: hidden;
  }
  .v3-hero .v2-hero-bg {
    inset: auto;
    width: 100%;
    transform: none;
  }
  .v3-hero .v3-hero-dialogue {
    position: absolute;
    inset: auto 8px 8px;
    justify-content: flex-start;
  }
  .v3-hero-dialogue .v2-speech {
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--wine);
    font-size: 13px;
    line-height: 1.3;
  }
  .v3-hero-dialogue .v2-speech::after,
  .v3-hero-dialogue .v2-speech-author::before,
  .v3-hero-dialogue .v2-speech-avatar,
  .v3-hero-dialogue .v2-speech-author small,
  .v3-hero-dialogue .v2-report-item:not(.is-current) { display: none; }
  .v3-hero-dialogue .v2-speech-author { margin: 0 0 3px; background: none; }
  .v3-hero-dialogue .v2-speech-author b { font-size: 11px; }
  .v3-hero-dialogue .v2-report-item { font-size: 13px; line-height: 1.3; }
  .v3-hero-dialogue .v2-speech-question strong { margin-top: 1px; }
}
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .v3-hero-scene {
    width: calc(100% - 2 * var(--v2-g));
    max-width: 110svh;
    margin-inline: auto;
  }
}
@media (max-width: 700px) {
  .v3-hero .v3-hero-slide h2 {
    font-size: clamp(28px, 7.6vw, 39px);
    margin-bottom: 17px;
    text-wrap: pretty;
  }
  .v3-hero .v2-promise { gap: 5px 15px; margin-bottom: 18px; }
  .v3-hero .v2-promise li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-more, .v3-more span, .v3-hero-contacts a { transition: none; }
}

.v3-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.v3-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.site-v3 .v3-hero .v2-badges a { color: inherit; }
.site-v3 .v3-hero .v2-badges a:hover { text-decoration: underline; }
@media (max-width: 360px) {
  .v3-hero-actions { gap: 8px; }
  .v3-hero-actions .v3-more { padding-inline: 13px; gap: 8px; }
  .v3-hero-contacts { gap: 6px; }
  .v3-hero-contacts a { width: 42px; height: 42px; }
}

@media (1100px <= width <= 1500px) and (max-height: 780px) {
  .v3-hero { min-height: min(51.75vw, calc(100svh - 63px)); }
  .v3-hero .v2-hero-in { padding: clamp(24px, 5vh, 38px) clamp(36px, 5.4vw, 80px); }
  .v3-hero .v3-hero-copy { max-width: 39vw; }
  .v3-hero .v3-hero-slide h2 {
    font-size: clamp(36px, 7vh, 54px);
    margin-bottom: 12px;
  }
  .v3-hero .v2-promise { gap: 4px; margin-bottom: 14px; }
  .v3-hero .v2-promise li { font-size: 15px; }
  .v3-hero .v3-hero-actions { gap: 8px; }
  .site-v3 .v3-hero-actions :is(.v3-lead-cta, .v3-more) {
    min-height: 42px;
    padding: 8px 13px;
    font-size: 13px;
    gap: 8px;
  }
  .v3-hero-contacts { gap: 6px; }
  .v3-hero-contacts a { width: 38px; height: 38px; }
  .v3-hero-controls { margin-top: 5px; }
  .v3-hero .v2-badges { margin-top: 8px; gap: 6px; }
  .v3-hero .v2-badges li { padding: 5px 9px; font-size: 12px; }
  .v3-hero .v3-hero-dialogue { top: 16px; }
  .v3-hero-dialogue .v2-speech-report { width: 238px; flex-basis: 238px; padding: 9px 11px; }
  .v3-hero-dialogue .v2-speech-author { margin-bottom: 6px; }
  .v3-hero-dialogue .v2-report-list { gap: 4px; }
  .v3-hero-dialogue .v2-report-item { font-size: 13px; line-height: 1.3; }
  .v3-hero-dialogue .v2-speech-question { margin-top: 16px; }
}

