/* h60v: the video hero with the 60% lettering (webflow-local/black-friday-60v/build.py; hero from black-friday-1yr/build.py, from hero-year-free/v9-video.html).
   Scoped to .yf1-* . Fonts are the site's own (Widescreen A Rg / Bd) plus BFExt from black-friday.v18.css. */
:root{--yf1-red:#da0908;--yf1-bh:clamp(42px,4vw,56px);--yf1-nh:77px;--yf1-edge:max(20px,calc((100vw - 1320px) / 2 + 32px));--yf1-ease:cubic-bezier(.16,1,.3,1)}
@media(max-width:767px){:root{--yf1-bh:40px;--yf1-nh:61px}}
.yf1,.yf1 *,.yf1 *::before,.yf1 *::after{box-sizing:border-box}
/* the band: "BLACK FRIDAY <heart> 1 YEAR FREE", one 1169x96 tile scrolling left */
.yf1-band{--tw:calc(var(--yf1-bh) * 1169 / 96);position:relative;z-index:20;height:var(--yf1-bh);background:url(https://d11lx2slndzksf.cloudfront.net/bf/img/h60-band.v1.webp) 0 0/auto 100% repeat-x;animation:yf1-mq 34s linear infinite}
@keyframes yf1-mq{to{background-position-x:calc(var(--tw) * -1)}}
.yf1{position:relative;height:max(520px,calc(100svh - var(--yf1-nh) - var(--yf1-bh)));overflow:hidden;background:#fff;color:#0b1e22;text-align:left;font-family:"Widescreen A Rg",Arial,sans-serif}
.yf1-bg{position:absolute;inset:0;overflow:hidden}
.yf1-bg video{width:100%;height:100%;object-fit:cover;object-position:75% 35%;display:block;max-width:none}
@media(min-width:768px){
 /* fades to white over its last 84px, as the live hero; the video slides 10vw right (Krissy ~70% across) and its left edge fades into the wall grey */
 .yf1-bg{background:#cdcbcc;-webkit-mask-image:linear-gradient(#000 calc(100% - 84px),transparent 100%);mask-image:linear-gradient(#000 calc(100% - 84px),transparent 100%)}
 .yf1::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;z-index:1;pointer-events:none;background:linear-gradient(rgba(255,255,255,0),#fff)}   /* 23 Nov: no seam where the hero meets the page */
 .yf1-bg video{transform:translateX(10vw);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 16vw);mask-image:linear-gradient(to right,transparent 0,#000 16vw)}
}
/* a soft glow behind the offer only */
.yf1::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 48% 72% at 20% 52%,rgba(228,227,230,.78) 0%,rgba(228,227,230,.52) 45%,rgba(228,227,230,0) 100%)}
.yf1-in{position:absolute;z-index:2;left:var(--yf1-edge);top:45%;transform:translateY(-50%);width:clamp(300px,35vw,520px)}
.yf1-eb{display:flex;align-items:center;gap:0;margin:0 0 20px;font:900 12.48px/12px "BFExt","Widescreen A Bd",system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#0b1e22}
.yf1-eb .yf1-lab{display:inline-flex;align-items:center;gap:12px;color:var(--yf1-red)}
.yf1-eb .yf1-lab i{display:block;width:28px;height:3px;background:var(--yf1-red);border-radius:2px}
.yf1-eb .yf1-clk{margin-left:22px;padding-left:22px;border-left:1px solid rgba(11,30,34,.28)}
.yf1-h1{margin:0;padding:0;line-height:0;font:inherit}
.yf1-h1 img{height:auto;display:block;max-width:none}
.yf1-h1 .yf1-l1{width:100%}
.yf1-h1 .yf1-l2{width:65.8%;margin-top:-1.2%}
.yf1-lede{margin:22px 0 0;padding:0;max-width:30em;font:400 17px/1.55 "Widescreen A Rg",Arial,sans-serif;color:#2c4046;text-wrap:pretty}
.yf1-lede strong{font-family:"Widescreen A Bd",Arial,sans-serif;font-weight:700;color:#0b1e22}
.yf1-act{display:flex;flex-wrap:wrap;align-items:center;gap:14px 12px;margin-top:30px}
.yf1 a.yf1-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;height:58px;padding:0 24px;border-radius:10px;border:0;
 font:700 14.6px "Widescreen A Bd",Arial,sans-serif;letter-spacing:1.1px;text-transform:uppercase;white-space:nowrap;text-decoration:none;background:var(--yf1-red);color:#fff;
 transition:transform .3s var(--yf1-ease),box-shadow .3s var(--yf1-ease),background-color .3s var(--yf1-ease)}
.yf1 a.yf1-btn:hover{background:#c40807;transform:translateY(-1px);box-shadow:0 10px 22px #da090833}
.yf1 a.yf1-btn:focus-visible{outline:2px solid #0b1e22;outline-offset:3px}
/* secondary: the wall grey, ink text, slate border; no hover change (Kit 19 Nov) */
.yf1 a.yf1-btn.yf1-s{background:none;color:#0b1e22;border:0;padding:0 12px;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}   /* 23 Nov (Kit): a link, not a second button */
.yf1 a.yf1-btn.yf1-s:hover{background:none;color:#da0908;transform:none;box-shadow:none}
.yf1-proof{display:flex;align-items:center;gap:14px;margin-top:24px}
.yf1-av{display:flex}
.yf1-av img{width:30px;height:30px;border-radius:999px;border:2px solid #fff;object-fit:cover;background:#dce4e8;display:block;max-width:none}
.yf1-av img+img{margin-left:-9px}
.yf1-st{font-family:Arial,sans-serif;font-size:15px;letter-spacing:2px;color:var(--yf1-red)}
.yf1-rt{font-size:13px;color:#5b6f76}
@media(min-width:768px) and (max-height:600px){.yf1-proof{display:none}}
@media(prefers-reduced-motion:reduce){.yf1-band{animation:none}.yf1 a.yf1-btn{transition:none}}
@media(max-width:767px){
 .yf1{height:auto;overflow:visible}
 .yf1::before{display:none}
 .yf1-bg{position:relative;inset:auto;aspect-ratio:15/14}   /* a touch under square so both buttons sit above the fold at 375x812 */
 .yf1-bg video{object-position:50% 50%}
 .yf1-bg::after{content:"";position:absolute;inset:auto 0 -2px;height:52%;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.12) 20%,rgba(255,255,255,.35) 42%,rgba(255,255,255,.68) 66%,rgba(255,255,255,.95) 80%,#fff 90%)}   /* 23 Nov: solid white before the edge, no seam */
 .yf1-in{position:relative;left:auto;top:auto;transform:none;width:auto;padding:0 20px 40px;margin-top:-34px;text-align:center}
 .yf1-eb{flex-direction:column;gap:10px;margin-bottom:16px}
 .yf1-eb .yf1-clk{margin:0;padding:0;border:0}
 .yf1-h1 img{margin-left:auto;margin-right:auto}
 .yf1-h1 .yf1-l1{width:88%}
 .yf1-h1 .yf1-l2{width:57.9%}
 .yf1-lede{margin:12px auto 0;font-size:14.5px;line-height:1.45}
 .yf1-act{flex-direction:column;align-items:stretch;gap:10px;margin-top:16px}
 .yf1 a.yf1-btn{height:52px}
 .yf1-proof{justify-content:center;margin-top:22px}
 .yf1-av{display:none}
 .yf1-rt{font-size:12.5px}
}

/* ---- 60% lettering (black-friday-60v) ---- */
/* the old 60% band is a 1307x96 tile (the 1-year one was 1169) */
.yf1-band{--tw:calc(var(--yf1-bh) * 1307 / 96)}
/* 60% OFF (1596x247) and FOR LIFE (1562x247) are wider and flatter than 1 YEAR / FREE: a wider column so they keep their size */
.yf1-in{width:clamp(300px,40vw,600px)}
.yf1-h1 .yf1-l2{width:97.9%;margin-top:2%}
@media(max-width:767px){
 .yf1-in{width:auto}
 .yf1-h1 .yf1-l1{width:92%}
 .yf1-h1 .yf1-l2{width:90%}
}
