/* v3 hero: the sketch's composition (giant can rising from the bottom, tab = button, burst, two text columns, two cards), made premium */
.hero3 { position: relative; height: 100svh; min-height: 680px; max-height: 1180px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 70% at 50% 46%, #1946d6 0%, #0b2a9a 38%, #061650 70%, #030a2a 100%); }
.hero3::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(rgb(3 8 32 / .55), rgb(3 8 32 / 0) 22%), linear-gradient(90deg, rgb(3 10 42 / .55), rgb(3 10 42 / 0) 32%, rgb(3 10 42 / 0) 70%, rgb(3 10 42 / .45)); }
.hero3__plate { position: absolute; z-index: 1; left: 0; top: 0; width: 1px; height: auto; max-width: none; opacity: 0; transform-origin: 50% 82%; scale: .7;
  transition: opacity 1.1s var(--ease), scale 1.6s var(--ease); mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 50% 52% at 50% 52%, #000 58%, transparent 100%); }
.hero3.is-open .hero3__plate { opacity: 1; scale: 1; }
.hero3__can, .hero3__spray { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero3__can { z-index: 2; }
.hero3__spray { z-index: 3; pointer-events: none; }
.hero3__left, .hero3__right { position: absolute; z-index: 6; top: clamp(128px, 20vh, 210px); }
.hero3__left { left: var(--gut); width: min(31vw, 600px); }
.hero3__right { right: var(--gut); width: min(24vw, 340px); text-align: right; }
.hero3 h1 { font-family: "GT America"; font-weight: 900; font-stretch: 52%; text-transform: uppercase; font-size: clamp(56px, 5.9vw, 112px); line-height: .84; letter-spacing: -.005em; margin-bottom: 22px; }
.hero3 h1 > span { display: block; }
.hero3 h1 em { font-size: 1.12em; }
.hero3__lede { font-size: clamp(16px, 1.15vw, 19px); color: rgb(255 255 255 / .84); max-width: 32ch; margin-bottom: 26px; }
.hero3__dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero3__dots li { display: flex; align-items: center; gap: 12px; font: 500 11.5px/1.3 "GT America"; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .86); }
.hero3__dots li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #9fc0ff; background: radial-gradient(circle at 35% 35%, #fff 0 20%, transparent 24%), rgb(159 192 255 / .25); }
.hero3__say { font: 300 clamp(36px, 3.4vw, 60px)/.98 "Emotion Serif", Georgia, serif; margin-bottom: 14px; text-wrap: balance; }
.hero3__say em { color: #9fc0ff; }
.hero3__small { font: 500 11.5px/1.4 "GT America"; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .7); margin-bottom: 22px; }
.hero3__arrow { display: inline-flex; align-items: center; gap: 12px; font: 900 26px/1 "GT America"; font-stretch: 52%; text-transform: uppercase; text-decoration: none; }
.hero3__arrow svg { width: 60px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: translate .4s var(--ease); }
.hero3__arrow:hover svg { translate: 8px 0; }

/* the tab IS the button */
.tabpill { position: absolute; z-index: 7; left: 0; top: 0; translate: -50% -50%; rotate: -3deg; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  padding: .55em 1.15em .6em; font: italic 300 clamp(19px, 1.55vw, 27px)/1 "Emotion Serif", Georgia, serif; color: #fff;
  background: linear-gradient(180deg, #3d69ff, #1f48d8 55%, #1638b0); box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -3px 6px rgb(0 0 0 / .25), 0 8px 24px rgb(6 18 80 / .55);
  opacity: 0; scale: .3; transition: opacity .3s, scale .6s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; }
.tabpill.is-on { opacity: 1; scale: 1; }
.tabpill:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -3px 6px rgb(0 0 0 / .2), 0 10px 30px rgb(61 105 255 / .65); }
.tabpill:active { scale: .95; }
.tabpill:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.tabpill::after { content: ""; position: absolute; inset: -8px; border-radius: inherit; border: 1.5px solid rgb(159 192 255 / .9); opacity: 0; animation: ping 2.6s 2.4s infinite; pointer-events: none; }
.tabpill.was-pulled::after { animation: none; }
@keyframes ping { 0% { opacity: .8; scale: 1; } 70%, 100% { opacity: 0; scale: 1.35; } }

.speech { position: absolute; z-index: 8; left: 0; top: 0; pointer-events: none; }
.speech span { position: absolute; left: 0; bottom: 0; display: block; white-space: nowrap; padding: 12px 18px 10px; border-radius: 20px 20px 20px 4px; background: #fff; color: var(--ink);
  font: 900 clamp(24px, 2vw, 34px)/1 "GT America"; font-stretch: 52%; text-transform: uppercase; box-shadow: 0 12px 30px rgb(0 0 0 / .3);
  opacity: 0; scale: .4; transform-origin: 0 100%; transition: opacity .2s, scale .5s cubic-bezier(.34,1.56,.64,1); }
.speech.is-on span { opacity: 1; scale: 1; }

/* the sketch's two bottom cards, as glass */
.glass { position: absolute; z-index: 6; bottom: clamp(22px, 4.5vh, 48px); background: rgb(255 255 255 / .1); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgb(255 255 255 / .22); border-radius: 18px; box-shadow: 0 20px 50px rgb(2 8 40 / .35); color: #fff; }
.glass__k { font: 500 10.5px/1 "GT America"; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .65); margin-bottom: 10px; }
.meter { left: var(--gut); width: min(24vw, 300px); padding: 16px 18px 14px; }
.meter__name { font: 900 28px/1 "GT America"; font-stretch: 52%; text-transform: uppercase; margin-bottom: 4px; min-height: 28px; }
.meter__wave { width: 100%; height: 40px; display: block; color: #9fc0ff; }
.meter__stats { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font: 500 12px "GT America"; font-stretch: 125%; letter-spacing: .08em; }
.meter__size { display: flex; gap: 5px; }
.meter__size i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .6); }
.meter__size i.on { background: #9fc0ff; border-color: #9fc0ff; }
.pick { right: var(--gut); width: min(25vw, 330px); padding: 14px 18px 14px 14px; display: flex; gap: 14px; align-items: center; }
.pick__can { width: 58px; height: auto; flex: none; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .35)); }
.pick__name { font: 900 28px/.9 "GT America"; font-stretch: 52%; text-transform: uppercase; }
.pick__sub { font-size: 13px; color: rgb(255 255 255 / .72); margin: 4px 0 10px; }
.pick__dots { display: flex; gap: 8px; }
.pick__dots button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .5); background: var(--sw); padding: 0; cursor: pointer; transition: scale .3s var(--ease), box-shadow .2s; }
.pick__dots button:hover { scale: 1.15; }
.pick__dots button[aria-checked="true"] { box-shadow: 0 0 0 3px #061650, 0 0 0 4.5px #fff; }

@media (max-width: 1100px) {
  .hero3__left { width: 38vw; } .hero3__right { width: 30vw; } .meter { display: none; }
}
@media (max-width: 760px) {
  .hero3 { height: 100svh; min-height: 640px; max-height: 920px; }
  .hero3::after { background: linear-gradient(rgb(3 8 32 / .7), rgb(3 8 32 / .25) 40%, rgb(3 8 32 / 0) 55%); }
  .hero3__left { top: 84px; left: 16px; right: 16px; width: auto; }
  .hero3 h1 { font-size: clamp(50px, 14.5vw, 66px); margin-bottom: 10px; }
  .hero3__lede { font-size: 15px; margin-bottom: 0; }
  .hero3__dots, .hero3__right, .pick, .meter { display: none; }
  .tabpill { font-size: 19px; }
}
@media (max-width: 760px) and (max-height: 720px) { .hero3__lede { display: none; } }
@media (prefers-reduced-motion: reduce) { .tabpill::after { animation: none; } .hero3__plate { transition: none; } }
