/* Homepage hero, right column: the clip, its caption, the two example tabs
   and the round controls on the picture. (The earlier animated figure that
   stood here is gone; its rules were removed with it.) */
.hero{overflow:hidden}
/* the open question mark on the receipt keeps the type size it had */
.lk-q{font:600 1.05rem 'Barlow',sans-serif;color:#cfe0cf}
/* clip in the hero */
.hero-vid{position:relative;margin:0;align-self:center;border-radius:20px;overflow:hidden;border:2px solid rgba(255,217,61,.75);box-shadow:0 24px 50px rgba(0,0,0,.35);background:#0b2a0f}
.hero-vid video{display:block;width:100%;height:auto;aspect-ratio:1100/618;object-fit:cover}
.hero-vid figcaption{padding:.7rem 1rem;color:#e4efe4;font-size:.95rem;background:rgba(0,0,0,.25)}
.hero-vid figcaption b{color:#ffd93d;font-weight:600}
.hv-snd,.hv-full{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(0,0,0,.55);display:grid;place-items:center;cursor:pointer}
.hv-full{right:60px}
.hv-full svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hv-snd svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hv-snd svg path:first-child{fill:#fff}
.hv-snd .w{display:none}.hv-snd[aria-pressed="true"] .w{display:inline}.hv-snd[aria-pressed="true"] .x{display:none}
.hv-snd:focus-visible,.hv-full:focus-visible{outline:2px solid #ffd93d;outline-offset:2px}
/* the headline normally reaches over into the 7; beside a video it keeps to its column */
@media(min-width:901px){
  .hero-grid:has(.hero-vid){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:2.5rem}
  .hero-grid:has(.hero-vid) .hero-left h1{width:auto;max-width:100%}
}
@media(min-width:1100px){.hero-grid:has(.hero-vid){grid-template-columns:minmax(0,540px) minmax(0,1fr)}}
.hero-vidcol{align-self:center;min-width:0}
.hero-vidcol .hero-vid{align-self:auto}
.all-green main > section .hv-price{margin:1rem 0 0;color:#e4efe4;font-size:1rem;text-align:center}
.all-green main > section .hv-price .hv-reveal{display:inline-flex;align-items:center;gap:.45rem;margin:.6rem auto 0;padding:.55rem 1.1rem;border:2px solid #ffd93d;border-radius:999px;color:#ffd93d;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.all-green main > section .hv-price .hv-reveal svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.all-green main > section .hv-price .hv-reveal:hover,.all-green main > section .hv-price .hv-reveal:focus-visible{background:#ffd93d;color:#0f2d0f}
/* question and button on one line under the video; they wrap only on narrow phones */
.all-green main > section .hv-price{display:flex;flex-flow:row wrap;align-items:center;justify-content:center;gap:.5rem .9rem}
.all-green main > section .hv-price .hv-reveal{margin:0}
/* two clips take turns: restored as new, and restored for a second life */
.hero-vid figcaption{display:flex;align-items:center;justify-content:space-between;gap:.5rem .8rem;flex-wrap:wrap}
.hv-cap{transition:opacity .35s}
.hv-cap.out{opacity:0}
.hv-tabs{display:inline-flex;gap:.35rem;flex:none}
.hv-tab{font:600 .78rem 'Barlow',sans-serif;color:#cfe0cf;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.2rem .65rem;cursor:pointer;white-space:nowrap}
.hv-tab[aria-pressed="true"]{background:#ffd93d;border-color:#ffd93d;color:#0f2d0f}
.hv-tab:focus-visible{outline:2px solid #ffd93d;outline-offset:2px}
#heroVid{transition:opacity .3s}
#heroVid.swap{opacity:.15}
/* the clips print BEFORE / AFTER in their top-right corner: keep the buttons on the left */
.hv-snd{right:auto;left:12px}
.hv-full{right:auto;left:60px}
/* phone: New / Second life tabs tall enough to tap comfortably */
@media (max-width:600px){ .hv-tab{padding:.38rem .8rem;font-size:.82rem} }

/* play / pause, added by js/site.js next to sound and full screen */
.hero-vid .hv-pp{position:absolute;top:12px;left:108px;width:40px;height:40px;border:0;background:rgba(0,0,0,.55)}
.hero-vid .hv-pp svg{width:18px;height:18px}
.hero-vid .hv-pp:hover{color:#ffd93d}
/* Phones and data saver: the clip waits for a tap. Until then the whole
   picture is the play button, with a yellow disc in the middle. */
.hero-vid.hv-wait .hv-pp{top:0;left:0;width:100%;height:auto;aspect-ratio:1100/618;border-radius:0;background:rgba(6,18,6,.18)}
.hero-vid.hv-wait .hv-pp svg{width:64px;height:64px;padding:19px 17px 19px 21px;border-radius:50%;background:#ffd93d;color:#0f2d0f;box-shadow:0 8px 22px rgba(0,0,0,.4)}
.hero-vid.hv-wait .hv-pp::after{display:none}
.hero-vid.hv-wait .hv-pp:focus-visible{outline-offset:-5px;border-radius:18px 18px 0 0}
.hero-vid.hv-wait .hv-snd,.hero-vid.hv-wait .hv-full{display:none}
@media (pointer:coarse),(max-width:1023px){
  .hero-vid .hv-snd{left:10px}.hero-vid .hv-full{left:58px}.hero-vid .hv-pp{left:106px}
  .hero-vid .hv-snd,.hero-vid .hv-full,.hero-vid:not(.hv-wait) .hv-pp{width:44px;height:44px;top:10px}
  .hv-tabs{gap:.5rem}
}
