/* Hero layout and motion from the local reference. */
tf-tank-hero {
  display:block;
}
.tf-th__tank {
  --tf-th-h: min(78vh, 74rem);
  --tf-th-pan: 0px;
  position:relative;
  overflow:hidden;
  overflow:clip;
  isolation:isolate;
  min-height:56rem;
  height:var(--tf-th-h);
  border-radius:3.2rem;
  background:var(--light);
  box-shadow:inset 0 0 0 1px #ffffff80,0 30px 60px -40px rgba(var(--shadow),.48);
}
.tf-th__scenes {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:0;
}
.tf-th__scene {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity:0;
  visibility:hidden;
}
.tf-th__scene.is-active {
  opacity:1;
  visibility:visible;
}
.tf-th__scene img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:70% 60%;
  transform:scale(1.04);
  animation:tf-th-drift 16s var(--tf-ease-flow, ease-in-out) infinite alternate;
}
@keyframes tf-th-drift {
  0% {
    transform:scale(1.04) translate(0);
  }
  to {
    transform:scale(1.08) translate(-1.2%);
  }
}
.tf-th__rays {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:1;
  pointer-events:none;
  background:radial-gradient(120% 70% at 55% -10%,rgba(255,255,255,.45),transparent 60%),repeating-linear-gradient(100deg,#fff0 0 6%,#ffffff14 7% 9%,#fff0 10% 16%);
  mix-blend-mode:screen;
  animation:tf-th-rays 9s var(--tf-ease-flow, ease-in-out) infinite alternate;
}
@keyframes tf-th-rays {
  0% {
    background-position:0 0,0 0;
    opacity:.8;
  }
  to {
    background-position:0 0,12rem 0;
    opacity:1;
  }
}
.tf-th__specks i {
  position:absolute;
  z-index:2;
  left:calc(var(--s) * 7% - 3%);
  top:calc(12% + var(--s) * 5%);
  width:3px;
  aspect-ratio:1;
  border-radius:50%;
  background:#ffffffb3;
  filter:blur(.5px);
  animation:tf-th-speck calc(7s + var(--s) * .6s) linear infinite;
  animation-delay:calc(var(--s) * -.9s);
  transition:translate 1.5s var(--tf-ease-connective, ease);
  translate:calc(var(--tf-th-pan) * 1.8) 0;
}
@keyframes tf-th-speck {
  0% {
    transform:translateY(0);
    opacity:0;
  }
  20% {
    opacity:.9;
  }
  to {
    transform:translateY(-14rem) translate(2rem);
    opacity:0;
  }
}
.tf-th__creatures {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:3;
  pointer-events:none;
}
.tf-th__creature {
  position:absolute;
  opacity:0;
  visibility:hidden;
}
.tf-th__creature img {
  display:block;
  width:100%;
  height:auto;
  filter:drop-shadow(0 2px 2px rgba(var(--shadow),.18)) drop-shadow(0 16px 22px rgba(var(--shadow),.26));
}
.tf-th__splash {
  position:absolute;
  left:50%;
  top:55%;
  width:0;
  height:0;
  pointer-events:none;
}
.tf-th__splash i {
  position:absolute;
  left:0;
  top:0;
  width:calc(.8rem + (var(--i) * .25rem));
  height:3px;
  border-top:1.5px solid rgba(255,252,232,.9);
  border-radius:50%;
  rotate:calc(var(--i) * 17deg);
  opacity:0;
}
.tf-th__creature.is-popping .tf-th__splash i {
  animation:tf-th-splash 1.1s var(--tf-ease-standard, cubic-bezier(.2, 0, 0, 1)) both;
  animation-delay:calc(var(--i) * 45ms);
}
.tf-th__splash i:nth-child(1) {
  --dx: -16rem;
  --dy: -8rem;
}
.tf-th__splash i:nth-child(2) {
  --dx: -9rem;
  --dy: -15rem;
}
.tf-th__splash i:nth-child(3) {
  --dx: -2rem;
  --dy: -18rem;
}
.tf-th__splash i:nth-child(4) {
  --dx: 6rem;
  --dy: -16rem;
}
.tf-th__splash i:nth-child(5) {
  --dx: 14rem;
  --dy: -10rem;
}
.tf-th__splash i:nth-child(6) {
  --dx: 17rem;
  --dy: -2rem;
}
.tf-th__splash i:nth-child(7) {
  --dx: -18rem;
  --dy: 0rem;
}
@keyframes tf-th-splash {
  0% {
    opacity:0;
    transform:translate(0) scale(.3);
  }
  25% {
    opacity:1;
  }
  to {
    opacity:0;
    transform:translate(var(--dx),var(--dy)) scale(1.1);
  }
}
.tf-th__creature--swim {
  right:6%;
  top:22%;
  width:min(46%,64rem);
}
.tf-th__creature--rise {
  right:8%;
  bottom:9%;
  width:min(40%,54rem);
}
.tf-th__creature--small {
  width:min(34%,46rem);
}
.tf-th__creature--large {
  width:min(54%,74rem);
}
.tf-th__creature.is-active {
  opacity:1;
  visibility:visible;
}
.tf-th__creature--swim.is-active > :is(img, .product-pieces) {
  animation:tf-th-swim-bob 4.2s var(--tf-ease-flow, ease-in-out) infinite alternate;
}
.tf-th__creature--rise.is-active img {
  animation:tf-th-sway 5s var(--tf-ease-flow, ease-in-out) infinite alternate;
  transform-origin:50% 100%;
}
@keyframes tf-th-swim-bob {
  0% {
    transform:translateY(0) rotate(-1.5deg);
  }
  to {
    transform:translateY(-1.4rem) rotate(1.5deg);
  }
}
@keyframes tf-th-sway {
  0% {
    transform:rotate(-1.2deg);
  }
  to {
    transform:rotate(1.2deg);
  }
}
.tf-th__glare {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:4;
  pointer-events:none;
  background:linear-gradient(115deg,#ffffff40 0 8%,#fff0 18%),linear-gradient(180deg,rgba(255,255,255,.18),transparent 14%),radial-gradient(140% 100% at 50% 50%,transparent 62%,rgba(var(--shadow),.13));
  border-radius:inherit;
}
.tf-th__copy-stack {
  position:absolute;
  z-index:5;
  left:4.8rem;
  top:50%;
  translate:0 -55%;
  display:grid;
  width:min(46%,56rem);
}
.tf-th__copy {
  grid-area:1 / 1;
  padding:3.2rem;
  border-radius:2.8rem;
  background:color-mix(in srgb, var(--paper) 75%, transparent);
  border:1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(16px) saturate(1.4);
  backdrop-filter:blur(16px) saturate(1.4);
  box-shadow:0 30px 60px -40px rgba(var(--shadow),.38);
  color:var(--ink);
  opacity:0;
  visibility:hidden;
  scale:.96;
  transition:opacity var(--tf-dur-quick, .16s) var(--tf-ease-exit, ease),scale var(--tf-dur-quick, .16s) var(--tf-ease-exit, ease),visibility 0s linear var(--tf-dur-quick, .16s);
}
.tf-th__copy.is-active {
  opacity:1;
  visibility:visible;
  scale:1;
  transition:opacity .28s var(--tf-ease-standard, ease) .3s,scale .52s var(--tf-ease-playful, ease) .3s,visibility 0s;
}
.tf-th__copy>* {
  opacity:0;
  translate:0 1.2rem;
}
.tf-th__copy.is-active>* {
  opacity:1;
  translate:0 0;
  transition:opacity .28s var(--tf-ease-standard, ease),translate .52s var(--tf-ease-playful, ease);
}
.tf-th__copy.is-active>:nth-child(1) {
  transition-delay:.38s;
}
.tf-th__copy.is-active>:nth-child(2) {
  transition-delay:.45s;
}
.tf-th__copy.is-active>:nth-child(3) {
  transition-delay:.52s;
}
.tf-th__copy.is-active>:nth-child(4) {
  transition-delay:.59s;
}
.tf-th__eyebrow {
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  margin:0 0 1.2rem;
  padding:.4rem 1.2rem;
  border-radius:10rem;
  background:var(--tf-accent,var(--accent-tint));
  font-weight:600;
  font-size:1.4rem;
}
.tf-th__heading {
  margin:0;
  font-family:var(--font-heading-family);
  font-weight:800;
  font-size:clamp(3.8rem,4.6vw,7.2rem);
  line-height:.95;
  letter-spacing:-.035em;
  color:inherit;
}
.tf-th__text {
  margin:1.4rem 0 0;
  max-width:44rem;
  font-size:1.7rem;
  line-height:2.5rem;
  color:var(--ink);
}
.tf-th__ctas {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:2.4rem;
}
.tf-th__badge {
  position:absolute;
  z-index:5;
  right:3.2rem;
  top:3.2rem;
  width:12rem;
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 6px #fff9;
}
.tf-th__badge-ring {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  animation:tf-th-spin 18s linear infinite;
}
.tf-th__badge-ring text {
  fill:var(--ink);
  font-family:var(--font-heading-family);
  font-weight:700;
  font-size:1.9rem;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.tf-th__badge-mascot {
  width:42%;
  height:auto;
}
@keyframes tf-th-spin {
  to {
    transform:rotate(360deg);
  }
}
.tf-th__nav {
  position:absolute;
  z-index:6;
  left:2.4rem;
  right:2.4rem;
  bottom:2.4rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.6rem;
}
.tf-th__tabs {
  display:flex;
  gap:.8rem;
  overflow-x:auto;
  scrollbar-width:none;
  padding:.6rem;
  border-radius:10rem;
  background:color-mix(in srgb, var(--paper) 84%, transparent);
  border:1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.tf-th__tabs::-webkit-scrollbar {
  display:none;
}
.tf-th__tab {
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:.4rem 1.4rem .4rem .6rem;
  border:0;
  border-radius:10rem;
  background:transparent;
  color:var(--ink);
  font-family:var(--font-body-family);
  font-weight:600;
  font-size:1.4rem;
  cursor:pointer;
  transition:background-color var(--tf-dur-natural) var(--tf-ease-standard),transform var(--tf-dur-natural) var(--tf-ease-playful);
}
.tf-th__tab:hover {
  transform:translateY(-2px);
}
.tf-th__tab.is-active {
  background:var(--strong);
  color:var(--accent);
}
.tf-th__tab-img {
  width:4.4rem;
  height:3.2rem;
  object-fit:contain;
  filter:drop-shadow(0 3px 4px rgba(var(--shadow),.25));
}
.tf-th__tab-progress {
  position:absolute;
  left:1.2rem;
  right:1.2rem;
  bottom:.3rem;
  height:2px;
  border-radius:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
}
.tf-th[data-playing=true] .tf-th__tab.is-active .tf-th__tab-progress {
  animation:tf-th-progress var(--tf-th-interval) linear forwards;
}
@keyframes tf-th-progress {
  to {
    transform:scaleX(1);
  }
}
.tf-th__arrows {
  display:flex;
  gap:.8rem;
}
.tf-th__arrow {
  display:grid;
  place-items:center;
  width:4.8rem;
  height:4.8rem;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.9);
  background:color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:var(--ink);
  cursor:pointer;
  transition:background-color var(--tf-dur-natural) var(--tf-ease-standard),scale var(--tf-dur-quick) var(--tf-ease-playful);
}
.tf-th__arrow:hover {
  background:var(--paper);
}
.tf-th__arrow:active {
  scale:.92;
}
@media screen and (max-width:989px) {
  .tf-th__tank {
    --tf-th-h: auto;
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
  }
  .tf-th__scenes,.tf-th__rays,.tf-th__glare {
    top:0;
    right:0;
    bottom:0;
    left:0;
    height:auto;
  }
  .tf-th__scene img {
    object-position:72% 50%;
  }
  .tf-th__creatures {
    bottom:auto;
    height:34rem;
  }
  .tf-th__creature--swim,.tf-th__creature--small,.tf-th__creature--large {
    left:4%;
    right:4%;
    top:22%;
    width:auto;
  }
  .tf-th__creature--rise {
    left:14%;
    right:14%;
    bottom:auto;
    top:14%;
    width:auto;
  }
  .tf-th__copy-stack {
    position:relative;
    left:auto;
    top:auto;
    translate:none;
    width:auto;
    margin:31rem 1.2rem 0;
  }
  .tf-th__copy {
    background:color-mix(in srgb, var(--paper) 88%, transparent);
  }
  .tf-th__heading {
    font-size:clamp(3.4rem,10vw,4.4rem);
  }
  .tf-th__copy {
    padding:2.4rem;
  }
  .tf-th__badge {
    width:8.8rem;
    right:1.6rem;
    top:1.6rem;
  }
  .tf-th__nav {
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    margin:1.2rem;
  }
  .tf-th__arrows {
    display:none;
  }
}
@media(prefers-reduced-motion:reduce) {
  .tf-th__scene img,.tf-th__splash i {
    animation:none!important;
  }
  .tf-th__copy>* {
    transition:opacity .2s linear!important;
    translate:none!important;
  }
  .tf-th__rays,.tf-th__specks i,.tf-th__badge-ring,.tf-th__creature img,.product-pieces {
    animation:none!important;
  }
}
