.home-banner { background: #071120; color: #fff; isolation: isolate; }
.home-banner__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 600ms ease, visibility 600ms; }
.home-banner__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.home-banner__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.home-banner__video { opacity: 0; transition: opacity 250ms ease; }
.home-banner__slide.is-playing .home-banner__video { opacity: 1; }
.home-banner__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 10 30 / 28%), transparent 22%, transparent 78%, rgb(0 10 30 / 30%)); pointer-events: none; }
.home-banner__content { position: relative; z-index: 1; display: flex; align-items: center; width: 1600px; height: 100%; margin: 0 auto; padding-top: 80px; }
.home-banner__copy { width: 100%; }
.home-banner .home-banner__title { color: #fff; margin: 0; font-size: 120px; font-weight: 900; letter-spacing: -2px; line-height: 1.2; }
.home-banner__eyebrow { margin: 0 0 26px; font-size: 18px; line-height: 1.5; }
.home-banner__description { margin: 32px 0 0; font-size: 18px; line-height: 2; text-wrap: pretty; }
.home-banner__link { display: inline-flex; justify-content: center; align-items: center; width: 174px; height: 54px; margin-top: 82px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 28px; color: #fff; font-size: 16px; transition: background 180ms ease; }
.home-banner__link:hover { background: rgb(255 255 255 / 16%); }
.home-banner__slide--center .home-banner__content { justify-content: center; text-align: center; }
.home-banner__slide--center .home-banner__description { font-size: 16px; }
.home-banner__slide--center .home-banner__desktop-break { display: none; }
.home-banner__slide--building .home-banner__copy { max-width: 900px; }
.home-banner__slide--building .home-banner__description { max-width: 680px; }
.home-banner__slide--building::after { background: linear-gradient(90deg, rgb(0 30 62 / 22%), transparent 70%), linear-gradient(180deg, rgb(0 20 40 / 22%), transparent 25%); }
.home-banner__slide--compute::after, .home-banner__slide--ocean::after { background: linear-gradient(90deg, rgb(0 14 32 / 56%), rgb(0 14 32 / 22%) 55%, transparent 85%), linear-gradient(180deg, rgb(0 10 30 / 20%), transparent 22%); }
.home-banner__slide--ocean::after { background: linear-gradient(90deg, rgb(0 14 32 / 58%), rgb(0 14 32 / 42%) 62%, transparent 88%); }
.home-banner__title-part { white-space: nowrap; }
.home-banner__benefits { display: flex; gap: 48px; list-style: none; margin: 32px 0 0; padding: 0; font-size: 20px; line-height: 1.6; }
.home-banner__benefits li { display: flex; align-items: center; gap: 16px; }
.home-banner__benefits li::before { content: ''; width: 14px; height: 8px; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(-45deg); flex: 0 0 14px; }
.home-banner__slide--partner::after { background: rgb(0 5 15 / 48%); }
.home-banner__slide--partner .home-banner__copy { width: 1080px; }
.home-banner__slide--partner .home-banner__title { font-size: 88px; line-height: 1.4; }
.home-banner__title em { color: #00b8dc; font-style: normal; }
.home-banner__slide--partner .home-banner__description { margin-top: 38px; font-size: 20px; }
.home-banner__metric { flex: 1; text-align: center; }
.home-banner__metric p { margin: 0; font-size: 20px; line-height: 1.9; }
.home-banner__metric .home-banner__number { margin-bottom: 38px; font-size: 96px; font-weight: 400; line-height: 1.2; letter-spacing: -2px; }
.home-banner__controls { position: absolute; z-index: 3; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.home-banner__dots { display: flex; align-items: center; gap: 4px; }
.home-banner__dot { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: transparent; color: #fff; cursor: pointer; border-radius: 50%; }
.home-banner__dot span { width: 10px; height: 10px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 50%; background: rgb(255 255 255 / 30%); transition: background 200ms ease, box-shadow 200ms ease; }
.home-banner__dot[aria-pressed=true] span { background: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / 18%); }
.home-banner :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Keep the shared header markup intact so future navigation syncs retain this theme. */
.tansun-static-home:has(.home-banner) .tn-header { background: transparent; color: #fff; }
.tansun-static-home:has(.home-banner) .tn-header__logo > img { visibility: hidden; }
.tansun-static-home:has(.home-banner) .tn-header__logo::after { content: ''; position: absolute; inset: 0; background: url('/website/tansun/corporate/figma-20260912/product-imgE1183B08717870156Feaab5E3Edaea7D2.webp') center / contain no-repeat; }
.tansun-static-home:has(.home-banner) .tn-header__search img { filter: brightness(0) invert(1); }
.tansun-static-home:has(.home-banner) .tn-header__search { background: rgb(255 255 255 / 25%); }
.tansun-static-home:has(.home-banner) .tn-header__mobile-toggle span { background: currentColor; }
.tansun-static-home:has(.home-banner) .tn-header:has(:is([data-menu-trigger], [data-mobile-menu-toggle])[aria-expanded=true]) { background: #fff; color: #111; }
.tansun-static-home:has(.home-banner) .tn-header:has(:is([data-menu-trigger], [data-mobile-menu-toggle])[aria-expanded=true]) .tn-header__logo > img { visibility: visible; }
.tansun-static-home:has(.home-banner) .tn-header:has(:is([data-menu-trigger], [data-mobile-menu-toggle])[aria-expanded=true]) .tn-header__logo::after { display: none; }
.tansun-static-home:has(.home-banner) .tn-header:has(:is([data-menu-trigger], [data-mobile-menu-toggle])[aria-expanded=true]) .tn-header__search img { filter: none; }

@media (max-width: 1279px) {
  .hero.home-banner { min-height: 560px; height: 740px; height: clamp(560px, 92svh, 740px); }
  .home-banner__content { width: 100%; padding: 120px 32px 100px; }
  .home-banner .home-banner__title { font-size: clamp(30px, 5.8vw, 56px); letter-spacing: -1px; line-height: 1.25; }
  .home-banner__eyebrow { font-size: 15px; margin-bottom: 20px; }
  .home-banner__description { margin-top: 24px; font-size: 16px; line-height: 1.9; max-width: 560px; }
  .home-banner__desktop-break { display: none; }
  .home-banner__slide--center .home-banner__description { margin-inline: auto; }
  .home-banner__link { margin-top: 40px; height: 48px; width: 152px; font-size: 15px; }
  .home-banner__benefits { flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-size: 16px; }
  .home-banner__benefits li { gap: 10px; }
  .home-banner__slide--building .home-banner__media { object-position: 62% center; }
  .home-banner__slide--building::after, .home-banner__slide--ocean::after { background: linear-gradient(90deg, rgb(0 20 45 / 60%), rgb(0 20 45 / 15%)); }
  .home-banner__slide--partner .home-banner__content { flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px; }
  .home-banner__slide--partner .home-banner__copy { width: 100%; }
  .home-banner__slide--partner .home-banner__title { font-size: clamp(30px, 5.8vw, 56px); }
  .home-banner__slide--partner .home-banner__description { font-size: 16px; margin-top: 24px; }
  .home-banner__metric { flex: 0; text-align: left; }
  .home-banner__metric .home-banner__number { font-size: 56px; margin-bottom: 12px; }
  .home-banner__metric p { font-size: 15px; }
  .home-banner__controls { bottom: 24px; }
}
@media (max-width: 479px) {
  .home-banner__content { padding: 104px 24px 88px; }
  .home-banner__description { line-height: 1.75; text-wrap: pretty; }
  .home-banner__link { margin-top: 32px; }
  .home-banner__slide--partner .home-banner__content { gap: 24px; }
  .home-banner .home-banner__title { font-size: clamp(26px, 7vw, 32px); }
  .home-banner__slide--partner .home-banner__description { margin-top: 20px; }
  .home-banner__metric .home-banner__number { font-size: 48px; }
  .home-banner__title-part { display: block; }
  .home-banner__benefits { flex-direction: column; }
  .home-banner__dot { width: 44px; height: 44px; }
  .home-banner__dots { gap: 0; }
}
/* Poster and video share each focal point, including during playback fallback. */
@media (max-width: 1279px) and (orientation: portrait) {
  .home-banner__slide--compute .home-banner__media { object-position: 48% center; }
  .home-banner__slide--ocean .home-banner__media { object-position: 65% center; }
  .home-banner__slide--center::after { background: linear-gradient(180deg, rgb(0 10 30 / 24%), rgb(0 10 30 / 44%) 45%, rgb(0 10 30 / 20%) 80%, rgb(0 10 30 / 38%)); }
  .home-banner__slide--compute::after, .home-banner__slide--ocean::after { background: linear-gradient(180deg, rgb(0 14 32 / 30%), rgb(0 14 32 / 64%) 45%, rgb(0 14 32 / 38%) 80%, rgb(0 14 32 / 48%)); }
}
@media (max-width: 1279px) and (min-width: 640px) and (max-height: 540px) and (orientation: landscape) {
  .hero.home-banner { min-height: 360px; height: 100vh; height: 100svh; }
  .home-banner__content { padding: 88px 32px 64px; }
  .home-banner .home-banner__title { font-size: 32px; line-height: 1.2; }
  .home-banner__eyebrow { font-size: 13px; margin-bottom: 8px; }
  .home-banner__description, .home-banner__slide--partner .home-banner__description { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .home-banner__link { margin-top: 16px; height: 44px; }
  .home-banner__benefits { margin-top: 16px; gap: 8px 20px; font-size: 14px; }
  .home-banner__slide--partner .home-banner__content { flex-direction: row; align-items: center; gap: 24px; }
  .home-banner__slide--partner .home-banner__copy { width: 62%; }
  .home-banner__metric { flex: 1; }
  .home-banner__metric .home-banner__number { font-size: 40px; margin-bottom: 8px; }
  .home-banner__metric p { font-size: 13px; line-height: 1.6; }
  .home-banner__controls { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-banner__slide, .home-banner__video { transition: none; }
}

/* The desktop artwork scales from 1920px; compensate small text and targets. */
@media (min-width: 1280px) and (max-width: 1919px) {
  .home-banner__eyebrow, .home-banner__description,
  .home-banner__slide--center .home-banner__description,
  .home-banner__slide--partner .home-banner__description,
  .home-banner__metric p { font-size: max(18px, calc(35px - 1.09375vw)); }
  .home-banner__link { font-size: max(16px, calc(35px - 1.09375vw)); min-height: max(48px, calc(102px - 2.8125vw)); }
  .home-banner__dot { min-width: max(48px, calc(102px - 2.8125vw)); min-height: max(48px, calc(102px - 2.8125vw)); }
}

.home-banner__metric p{overflow:hidden}
.home-banner__metric p>span{display:block;animation:home-line-reveal .7s cubic-bezier(.22,1,.36,1) both}
.home-banner__metric p+p>span{animation-delay:.12s}
@keyframes home-line-reveal{from{transform:translateY(110%);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.home-banner__metric p>span{animation:none}}

/* Ranking banner: the supplied copy stays in HTML; only its active group changes. */
.home-banner__slide--rankings::after { background: linear-gradient(180deg, rgb(0 5 15 / 18%), transparent 30%); }
.home-banner__ranking-group { display: none; position: absolute; inset: 0; }
.home-banner__ranking-group.is-active { display: block; }
.home-banner__ranking-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.home-banner .home-banner__ranking-title { margin: 0; color: #fff; font-family: inherit; font-size: calc(72px / var(--banner-canvas-scale, 1)); font-weight: 900; line-height: 1.25; letter-spacing: 0; }
.home-banner .home-banner__ranking-group--compact .home-banner__ranking-title { font-size: calc(36px / var(--banner-canvas-scale, 1)); line-height: 1.6; }
.home-banner__ranking-title em { color: #04bae9; font-style: normal; margin-left: .3em; }
.home-banner__ranking-title .home-banner__ranking-standalone { margin-left: 0; }
.home-banner__ranking-line > .home-banner__ranking-pair { display: flex; flex-wrap: wrap; gap: 0 1em; }
.home-banner__ranking-subtitle { margin: 32px 0 0; color: #fff; font-size: calc(16px / var(--banner-canvas-scale, 1)); font-weight: 400; line-height: 1.6; }
.home-banner__ranking-source { position: absolute; left: 0; right: 0; bottom: 100px; margin: 0; color: #666; font-size: calc(10px / var(--banner-canvas-scale, 1)); font-weight: 400; line-height: 1.6; text-align: left; text-wrap: pretty; }
.home-banner__ranking-line { display: block; overflow: hidden; }
.home-banner__ranking-line > span { display: block; }
.home-banner__slide.is-active .home-banner__ranking-group.is-active .home-banner__ranking-line > span { animation: home-line-reveal .6s cubic-bezier(.22, 1, .36, 1) both; }
.home-banner__ranking-line:nth-child(2) > span { animation-delay: .1s !important; }
.home-banner__ranking-line:nth-child(3) > span { animation-delay: .2s !important; }
.home-banner__ranking-subtitle .home-banner__ranking-line > span { animation-delay: .3s !important; }
@media (max-width: 1279px) {
  .home-banner__ranking-group { left: 32px; right: 32px; }
  .home-banner .home-banner__ranking-title { font-size: clamp(30px, 5.8vw, 56px); }
  .home-banner .home-banner__ranking-group--compact .home-banner__ranking-title { font-size: clamp(24px, 4vw, 42px); }
  .home-banner__ranking-subtitle { font-size: 16px; margin-top: 24px; }
  .home-banner__ranking-source { font-size: 10px; }
}
@media (max-width: 767px) {
  .home-banner__ranking-group { left: 24px; right: 24px; }
  .home-banner .home-banner__ranking-title { font-size: clamp(26px, 7vw, 42px); }
  .home-banner .home-banner__ranking-group--compact .home-banner__ranking-title { font-size: clamp(20px, 5vw, 30px); }
  .home-banner__ranking-pair { gap: 0; }
  .home-banner__ranking-pair > span { width: 100%; }
}
@media (max-height: 540px) and (max-width: 1279px) {
  .home-banner__ranking-copy { top: 48%; }
  .home-banner .home-banner__ranking-title { font-size: 30px; }
  .home-banner .home-banner__ranking-group--compact .home-banner__ranking-title { font-size: 23px; line-height: 1.3; }
  .home-banner__ranking-subtitle { margin-top: 12px; font-size: 14px; }
  .home-banner__ranking-source { bottom: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-banner__slide.is-active .home-banner__ranking-group.is-active .home-banner__ranking-line > span { animation: none; }
}

/* Mirror the ranking background, including its non-playing fallback, without mirroring copy. */
.home-banner__slide--rankings > .home-banner__media { transform: scaleX(-1); }

@media (max-width: 767px) {
  .home-banner__slide--compute .home-banner__title { white-space: nowrap; font-size: clamp(26px, 7vw, 40px); letter-spacing: -1px; }
  .home-banner__slide--compute .home-banner__title-part { display: inline; }
}
