/* The Alliance pages (love.speakerlabs.ca) in the new site's look (sandbox, Eric, 17 Nov 2026): "This page was meticulously designed so don't
   lose its flair and simplicity. Just make sure branding is 100% legit throughout. Every pixel." Then: "How about the other pages in the whole
   sequence". Loaded by every page after alliance.css and the page's own styles; share the love's own parts are in stl.css. Layouts, words,
   objects and motion stay; what changes is the new site's own: the torn nav with the logo sticker, the canvas, Lexend 700 type, the hand-drawn
   line, its buttons, our lined paper and tape, rips with the shadow between sections, black backgrounds, the footer on the rip. No navy. The
   files are the new site's, copied into img/nb. */

:root{--darkgreen:#231F20}   /* the old pages' navy-green accent, charcoal now (no navy, Eric) */

/* the nav: the new site's black torn strip, our sticker for the logo */
nav{background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0}
nav::before{content:"";position:absolute;left:0;right:0;top:0;bottom:-14px;z-index:-1;pointer-events:none;background:url('img/nb/tear-bg.png') center/100% 100% no-repeat;transform:scaleY(-1);filter:drop-shadow(0 -8px 14px rgba(35,31,32,.35))}
nav .bar{max-width:none;min-height:58px;padding:0 clamp(20px,5vw,72px)}
nav .logo{position:relative;top:14px;margin-left:-6px;transition:transform .35s var(--spring)}
nav .logo img{content:url('img/nb/logo-sticker.png');width:72px;height:auto;transform:rotate(-12deg);filter:drop-shadow(0 6px 10px rgba(35,31,32,.6))}
nav .logo:hover{transform:rotate(8deg) scale(1.08)}

/* the hero: the new site's canvas, our logo over the headline */
header.hero::before{background:#231F20 url('img/nb/canvas.jpg') center/cover}
.hero .wrap{padding-top:118px;padding-bottom:86px}

/* the headline: Lexend 700 in sentence case, as on the new site; "Share the l♥ve" mint, rising in as before, the hand-drawn line under it */
.hero h1{font-family:'Lexend',sans-serif;font-weight:700;font-size:clamp(38px,min(5.3vw,8.6svh),78px);line-height:1.02;letter-spacing:-.042em;text-transform:none}
.hero h1 .l0{font-size:1em;letter-spacing:-.042em;opacity:1;margin-bottom:.02em}
.hero h1 .l1{font-family:'Lexend Giga',sans-serif;font-weight:900;letter-spacing:-.045em;text-transform:uppercase}  /* Eric, 17 Nov: "Share the love should be all caps"; caps are Lexend Giga 900, as everywhere on the new site */
.hero h1 .hrt svg{width:.86em;height:.74em;margin:0 .02em;stroke-width:4.4}
.hero .sub{line-height:1.42;color:rgba(247,255,247,.74);opacity:1;text-wrap:balance}

/* every other headline the same way: Lexend 700, tight */
h1,h2,h3{font-family:'Lexend',sans-serif;font-weight:700;letter-spacing:-.035em}
.hero h1.big{font-size:clamp(38px,min(5.3vw,8.6svh),78px);line-height:1.04;letter-spacing:-.042em;text-transform:none}
nav .back{font-size:15px;font-weight:500;letter-spacing:-.01em;color:rgba(247,255,247,.74);transform:none;align-self:center;margin-top:-4px}
nav .back:hover{color:var(--white);border-bottom-color:transparent}

/* the hand-drawn line: the new site's, in mint; where the old line was white, it is white */
img.scrib[src*="underline-mint-stretch"]{content:url('img/nb/home-hero-td-line.svg')}
img.scrib[src*="underline-white-stretch"]{content:url('img/nb/home-hero-td-line.svg');filter:brightness(0) invert(1)}

/* buttons: the new site's shape and weight; their colours stay */
.btn{border-radius:14px;font-weight:600;letter-spacing:-.01em}
.btn.big{font-size:18px;padding:17px 28px}

/* the helper card ("Not sure what to say..."): our white lined paper with a strip of tape */
.prompt{border-radius:3px;background:#F7FFF7 url('img/lined-paper-light.jpg') center/700px auto;box-shadow:0 26px 44px -22px rgba(0,0,0,.9)}
.prompt::before{content:"";position:absolute;left:50%;top:-17px;width:128px;aspect-ratio:358/99;margin-left:-64px;background:url('img/nb/tape-07.png') center/contain no-repeat;transform:rotate(-2deg);z-index:1}
.ask .q{font-weight:700;letter-spacing:-.03em}

/* sections: torn along the top over the one before, the new site's shadow under the edge, each on one of our black backgrounds */
header.hero.under{clip-path:none}
header.hero.under::before{bottom:0}
body>section{margin-top:-56px;clip-path:none!important;overflow:hidden!important;color:var(--white);
  -webkit-mask:url('img/nb/tear-bg.png') top center/100% 110px no-repeat,linear-gradient(#000,#000) bottom/100% calc(100% - 109px) no-repeat;
          mask:url('img/nb/tear-bg.png') top center/100% 110px no-repeat,linear-gradient(#000,#000) bottom/100% calc(100% - 109px) no-repeat}
body>section::before{content:"";position:absolute;inset:0!important;z-index:0;pointer-events:none;-webkit-mask:none!important;mask:none!important}
body>section::after{content:"";position:absolute;left:0;right:0;top:0;height:140px;z-index:1;pointer-events:none;background:linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.34) 36%,rgba(0,0,0,0))}
body>section{padding-top:124px}
#who::before,#problem::before{background:#231F20 url('img/nb/bg-lined.jpg') center/cover!important}
#vault::before,#why::before{background:#231F20 url('img/nb/bg-crumple.jpg') center/cover!important}
#pillars::before{background:#231F20 url('img/nb/bg-dots.jpg') center/cover!important}
#system::before{background:#231F20 url('img/nb/bg-hatch.jpg') center/cover!important}
#proof::before{background:#231F20 url('img/nb/canvas.jpg') center/cover!important}
#book::before{background:#231F20 url('img/nb/bg-fold.jpg') center/cover!important}
.paper{color:var(--white)}
.paper .hand,.paper .eyebrow{color:var(--mint)}


/* inside the sections, the old navy-green accent reads as mint on the black */
body>section{--darkgreen:var(--mint)}
#why{color:var(--white)}
#why .qc{box-shadow:0 0 0 1.5px rgba(247,255,247,.16),0 24px 40px -24px rgba(0,0,0,.9)}
#system .sec-head p.lead em{color:var(--white)}

/* the referral page's opening ("A friend sent you."): the new site's type */
.moment h1.m1{letter-spacing:-.045em}  /* caps: Lexend Giga 900, as on the new site */
.bigcta{border-radius:16px}


/* ===== Round 4 (Eric, 17 Nov 2026) ===== */
/* "No hover state should turn to black like that on any of the buttons": a button keeps its colour on hover and lifts */
.btn:hover,.btn:focus-visible{background:var(--mint);border-color:var(--mint);color:#231F20;transform:translateY(-3px);box-shadow:0 18px 30px -14px rgba(0,0,0,.85)}
.btn.yellow:hover,.btn.yellow:focus-visible{background:var(--yellow);border-color:var(--yellow);color:#231F20}
.btn.blue:hover,.btn.blue:focus-visible{background:var(--blue);border-color:var(--blue);color:#231F20}
.btn .arr{display:inline-block;transition:transform .3s var(--spring)}
.btn:hover .arr{transform:translateX(4px)}
/* "Join the Alliance" (and the copy button) mint; its arrow wobbles */
.btn.wob .arr{animation:wob 2.4s ease-in-out infinite}
.btn.wob:hover .arr{animation-duration:.9s}
@keyframes wob{0%,55%,100%{transform:translateX(0) rotate(0)}65%{transform:translateX(5px) rotate(-10deg)}75%{transform:translateX(1px) rotate(8deg)}85%{transform:translateX(4px) rotate(-4deg)}}
@media (prefers-reduced-motion: reduce){.btn.wob .arr{animation:none}}
/* the way back: the new site's nav type, in caps */
nav .back{font:600 10.5px/1 'Lexend Giga',sans-serif;letter-spacing:.15em;text-transform:uppercase;color:rgba(247,255,247,.74);padding:10px 0}

/* every hand-drawn line the same as share the love's: the new site's line, thin, just under the word */
.hero h1 .l1 .scrib,.hero h1 .l1.name .scrib,.moment h1.m1 .l1 .scrib{left:-1%;width:102%;bottom:-.16em;height:.16em}
.hero h1 .l1.name .scrib,.moment h1.m1 .l1.name .scrib{content:url('img/nb/home-hero-td-line.svg');filter:none}
.hero h1 .l1.name .scrib{height:.11em;bottom:-.13em}   /* the name is mint, so is its line */
.hl .scrib{left:-1%;width:102%;bottom:-.2em;height:.2em}
.fastest .scrib{left:-1%;width:102%;bottom:-.2em;height:.16em}
.whyn{color:var(--mint)}
.whyn .scrib{content:url('img/nb/home-hero-td-line.svg');filter:none;left:-1%;width:102%;bottom:-.16em;height:.16em}
.amt .amts i.win .scrib{bottom:-.18em;height:.16em}

/* ===== the referral page, round 4 ===== */
/* the opening: the yellow slip centred, the high five beside it rather than pushing it off centre */
.m4{position:relative}
.m4 .hi5{position:absolute;left:calc(100% + 14px);top:50%;margin-top:-39px}

/* the problem with most training: no boxes, our sticker with a cross for each (the brand's check sticker in pink, the check redrawn as a cross: img/nb/stk-x-pink.webp) */
#problem .quad{gap:clamp(18px,3vw,40px)}
#problem .qc{background:none!important;border:0!important;box-shadow:none!important;padding:0;align-items:center;text-align:center}
#problem .qc .stk{width:84px;height:auto;margin:0 0 10px;rotate:-9deg;filter:drop-shadow(0 10px 12px rgba(0,0,0,.55));transition:rotate .45s var(--spring),transform .45s var(--spring)}
#problem .qc:nth-child(2n) .stk{rotate:8deg}
#problem .qc:hover .stk{rotate:0deg;transform:scale(1.08)}
#problem .qc b{font-family:'Lexend',sans-serif;font-weight:700;letter-spacing:-.025em;font-size:1.3rem}
#problem .qc>span:last-child{opacity:1;color:rgba(247,255,247,.74);max-width:16em}

/* what your friend knows: slips of our lined paper with a strip of tape, each with one of the brand's stickers in its colour (atom mint, books yellow, mic pink, lab blue; recoloured from the new site's set) */
#why .quad{gap:30px 22px;padding-top:12px}
#why .qc{background:#F7FFF7 url('img/nb/lined-paper-light.jpg') center/700px auto!important;color:#231F20;border:0!important;border-radius:3px;padding:30px 22px 22px;box-shadow:0 24px 40px -20px rgba(0,0,0,.85)!important;rotate:-1deg}
#why .qc:nth-child(2n){rotate:1.2deg}
#why .qc::before{content:"";position:absolute;left:50%;top:-16px;width:110px;aspect-ratio:358/99;margin-left:-55px;background:url('img/nb/tape-07.png') center/contain no-repeat;transform:rotate(-2deg)}
#why .qc:nth-child(1){--k:var(--mint)}#why .qc:nth-child(2){--k:var(--yellow)}#why .qc:nth-child(3){--k:var(--pink)}#why .qc:nth-child(4){--k:var(--blue)}
#why .qc .stk{width:86px;height:auto;margin:-6px 0 6px -6px;rotate:-8deg;filter:drop-shadow(0 8px 10px rgba(35,31,32,.35));transition:rotate .45s var(--spring),transform .45s var(--spring)}
#why .qc:nth-child(2n) .stk{rotate:7deg}
#why .qc:hover .stk{rotate:0deg;transform:scale(1.08)}
#why .qc b{font-family:'Lexend',sans-serif;font-weight:700;letter-spacing:-.025em;color:#231F20!important}
#why .qc>span:last-child{opacity:1;color:rgba(35,31,32,.78)}
@media(hover:hover){#why .qc:hover{transform:translateY(-8px);rotate:0deg;box-shadow:0 32px 46px -20px rgba(0,0,0,.9),0 0 0 2px var(--k)!important}}

/* how does it work: "vs." between the two panels, on a sticker */
.duo{position:relative}
.duo .vs{position:absolute;left:50%;top:50%;z-index:3;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:var(--mint);border:4px solid #F7FFF7;color:#231F20;display:flex;align-items:center;justify-content:center;font:900 19px/1 'Lexend Giga',sans-serif;letter-spacing:-.02em;rotate:-10deg;box-shadow:0 12px 22px -8px rgba(0,0,0,.8)}

/* ready to join the club: the new site's hand-drawn circle round "your team" */
.club .ring{background:var(--mint);-webkit-mask:url('img/nb/home-hero-td-circle.svg') center/100% 100% no-repeat;mask:url('img/nb/home-hero-td-circle.svg') center/100% 100% no-repeat;transform:rotate(-3deg)}

@media(max-width:1020px){
  #problem .quad{grid-template-columns:1fr 1fr;max-width:640px;gap:30px 18px}
  #problem .qc{flex-direction:column;flex-wrap:nowrap;padding:0}
  #problem .qc .stk{width:70px}
  #why .qc .stk{width:56px;margin:0}
  #problem .qc span:last-child{flex-basis:auto}
  #why .quad{gap:30px}
  .duo .vs{position:relative;left:auto;top:auto;margin:-30px auto;order:1}
  .duo .pan:first-of-type{order:0}.duo .pan:last-child{order:2}
}

/* welcome: "Who should you refer?" in the middle of its short torn band (Eric, 17 Nov) */
#who{padding-bottom:70px!important}

/* the footer: the new site's, on the rip */
footer{margin-top:-56px;padding:68px 24px 22px;background:url('img/nb/tear-bg.png') top center/100% 100% no-repeat}
footer p{font-size:12.5px;opacity:1;color:rgba(247,255,247,.72)}
footer a{text-decoration:none;color:#F7FFF7;transition:color .2s}
footer a:hover{color:var(--mint)}

@media(max-width:980px){
  nav .logo img{width:56px}
  nav .logo{top:10px}
}
@media(max-width:720px){
  .hero .wrap{padding-top:96px;padding-bottom:70px}
  .hero h1,.hero h1.big{font-size:clamp(32px,9.6vw,44px)}
  body>section{margin-top:-40px;padding-top:96px;-webkit-mask-size:100% 70px,100% calc(100% - 69px);mask-size:100% 70px,100% calc(100% - 69px)}
  body>section::after{height:86px}
  footer{margin-top:-40px;padding-top:56px}
}
