/* Cup of English — living details: logo cup that steams, steam over the coffee in the pictures, animated word-card art,
   sound wave, icons that draw themselves in. Transform/opacity/stroke only (no filters → safe on iPhone Safari). */

/* logo cup: two wisps rise and fade, forever */
.live-cup .wisp{stroke-dasharray:4 6;animation:lv-wisp 2.6s ease-in-out infinite}
.live-cup .w2{animation-delay:-1.3s}
@keyframes lv-wisp{0%{stroke-dashoffset:10;opacity:0;transform:translateY(1.5px)}35%{opacity:1}100%{stroke-dashoffset:0;opacity:0;transform:translateY(-2.5px)}}
.live-cup path{transform-box:fill-box}

/* steam over cups in pictures and videos */
.steam{position:absolute;left:var(--x);top:var(--y);width:calc(40px * var(--sc,1));height:calc(70px * var(--sc,1));transform:translate(-50%,-100%);pointer-events:none;z-index:2}
.steam i{position:absolute;bottom:0;left:50%;width:42%;height:62%;margin-left:-21%;border-radius:50%;opacity:0;
  background:radial-gradient(ellipse at 50% 60%,rgba(255,255,255,.85),rgba(255,255,255,.35) 40%,rgba(255,255,255,0) 72%);animation:lv-steam 3.8s ease-in infinite}
.steam i:nth-child(2){animation-delay:-1.27s;--dx:-9px}
.steam i:nth-child(3){animation-delay:-2.53s;--dx:7px}
@keyframes lv-steam{0%{transform:translate(0,12px) scale(.5,.45);opacity:0}18%{opacity:.95}60%{opacity:.55}100%{transform:translate(var(--dx,5px),-110%) scale(1.5,1.35) rotate(8deg);opacity:0}}
.week-img{position:relative}

/* word cards: art fills the empty middle */
.f-art{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:6px 0}
.fa{width:clamp(64px,40%,96px);height:auto;fill:none;stroke:var(--red,#b0473d);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.fa-cup .st{stroke:#e08a5f;stroke-dasharray:6 10;animation:lv-flow 2.2s linear infinite}
.fa-cup .s2{animation-delay:-.7s}.fa-cup .s3{animation-delay:-1.4s}
@keyframes lv-flow{to{stroke-dashoffset:-32}}
.fa-cal rect,.fa-cal path:not(.spark):not(.pg){stroke:var(--navy,#1f2b47)}
.fa-cal .pg{stroke-dasharray:20;animation:lv-write 3s ease-in-out infinite}
@keyframes lv-write{0%,15%{stroke-dashoffset:20}55%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:-20}}
.fa-cal .spark{stroke:#e08a5f;transform-origin:52px 12px;animation:lv-twinkle 1.8s ease-in-out infinite}
@keyframes lv-twinkle{0%,100%{transform:scale(.6) rotate(0);opacity:.4}50%{transform:scale(1.15) rotate(25deg);opacity:1}}
.fa-sun .rays{stroke:#e08a5f;transform-origin:32px 32px;animation:lv-spin 9s linear infinite}
@keyframes lv-spin{to{transform:rotate(360deg)}}
.fa-sun circle{fill:rgba(224,138,95,.12)}
.fa-sun .smile{transform-origin:32px 37px;animation:lv-smile 3s ease-in-out infinite}
@keyframes lv-smile{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.35)}}
.fa-heart .hb{fill:rgba(176,71,61,.12);transform-origin:32px 34px;animation:lv-beat 1.6s ease-in-out infinite}
@keyframes lv-beat{0%,100%{transform:scale(1)}15%{transform:scale(1.12)}30%{transform:scale(.97)}45%{transform:scale(1.08)}}
.fa-heart .sp1,.fa-heart .sp2{stroke:#e08a5f;animation:lv-twinkle 2s ease-in-out infinite}.fa-heart .sp1{transform-origin:52px 11px}.fa-heart .sp2{transform-origin:12px 8px;animation-delay:-1s}
.flip:hover .fa{transform:scale(1.06);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.f-front{gap:4px}
.f-front b{margin-top:4px}
/* sound wave next to "Tap to hear" */
.wave{display:inline-flex;align-items:center;gap:2px;height:16px;margin-right:2px}
.wave i{width:3px;height:100%;border-radius:3px;background:linear-gradient(#e08a5f,#b0473d);transform-origin:50% 50%;animation:lv-wave 1.1s ease-in-out infinite}
.wave i:nth-child(1){animation-delay:-.9s}.wave i:nth-child(2){animation-delay:-.5s}.wave i:nth-child(3){animation-delay:-.2s}.wave i:nth-child(4){animation-delay:-.7s}.wave i:nth-child(5){animation-delay:-.35s}
@keyframes lv-wave{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
.flip.say-now .wave i{animation-duration:.45s}

/* icons draw themselves when their section arrives */
.sec-head .eyebrow .ic,.xc-ic .ic,.tl-dot .ic,.rc-items>li>.ic{stroke-dasharray:72;stroke-dashoffset:72;transition:stroke-dashoffset 1.6s cubic-bezier(.16,1,.3,1) .2s}
.sec-head.in .eyebrow .ic,.xcard.in .xc-ic .ic,.tl li.lit .tl-dot .ic,.rc-wrap.in .rc-items>li>.ic{stroke-dashoffset:0}
.rc-wrap.in .rc-items>li>.ic{transition-delay:calc(1.2s + var(--d,0) * .14s)}

@media (prefers-reduced-motion:reduce){.live-cup .wisp,.steam i,.fa *,.wave i{animation:none!important}.steam{display:none}
  .sec-head .eyebrow .ic,.xc-ic .ic,.tl-dot .ic,.rc-items>li>.ic{stroke-dasharray:none;stroke-dashoffset:0}}
/* stronger, bigger wisps (iPhone feedback: steam must clearly rise) */
.steam{width:calc(52px * var(--sc,1));height:calc(96px * var(--sc,1))}
.steam i{width:50%;margin-left:-25%;background:radial-gradient(ellipse at 50% 60%,rgba(255,255,255,.98),rgba(255,255,255,.55) 38%,rgba(255,255,255,0) 72%)}
.xc-media .steam{z-index:3}

/* animated ticks — ring draws, check strokes in one by one, soft halo breathes, hover pops (Nikola 2026-10-09: no plain static checkmarks) */
.ticks li{align-items:center}
.tk{position:relative;flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:50%}
.tk::before{content:"";position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle,rgba(61,122,87,.28),transparent 70%);opacity:0;transform:scale(.6)}
.tk svg{width:30px;height:30px;overflow:visible;transform:rotate(-90deg)}
.tk-bg{fill:#e2efe6;stroke:none;transform-origin:14px 14px;transform:scale(0);transition:transform .7s cubic-bezier(.34,1.56,.64,1)}
.tk-r{fill:none;stroke:#3d7a57;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:76;stroke-dashoffset:76;transition:stroke-dashoffset 1.1s cubic-bezier(.16,1,.3,1)}
.tk-p{fill:none;stroke:#2f6b49;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:20;stroke-dashoffset:20;transform:rotate(90deg);transform-origin:14px 14px;transition:stroke-dashoffset .55s cubic-bezier(.65,0,.35,1)}
.ticks li>span:last-child{transition:transform .4s cubic-bezier(.16,1,.3,1),color .3s}
.rv.in .tk-bg,.ticks.in .tk-bg{transform:scale(1);transition-delay:calc(.25s + var(--d,0)*.22s)}
.rv.in .tk-r,.ticks.in .tk-r{stroke-dashoffset:0;transition-delay:calc(.3s + var(--d,0)*.22s)}
.rv.in .tk-p,.ticks.in .tk-p{stroke-dashoffset:0;transition-delay:calc(.75s + var(--d,0)*.22s)}
.rv.in .tk::before{animation:tk-halo 3.6s ease-in-out infinite;animation-delay:calc(1.4s + var(--d,0)*.5s)}
@keyframes tk-halo{0%,100%{opacity:0;transform:scale(.6)}45%{opacity:1;transform:scale(1.15)}}
.ticks li:hover .tk svg{animation:tk-pop .6s cubic-bezier(.34,1.56,.64,1)}
.ticks li:hover>span:last-child{transform:translateX(4px);color:var(--navy)}
@keyframes tk-pop{0%{transform:rotate(-90deg) scale(1)}40%{transform:rotate(-90deg) scale(1.22)}100%{transform:rotate(-90deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.tk-bg{transform:none}.tk-r,.tk-p{stroke-dashoffset:0}.tk::before{display:none}}
/* AI avatar photos instead of letters (hero proof, table seats, community post) */
.av-img{background:#efe6d8!important;padding:0}
.av-img img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;transform:scale(1.04);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.seat:hover .av-img img,.seat:focus-visible .av-img img{transform:scale(1.14)}
.seat .chair .av-img{animation:av-breathe 5s ease-in-out infinite;animation-delay:calc(var(--i,0)*-.7s)}
@keyframes av-breathe{0%,100%{box-shadow:0 0 0 2px var(--card),0 0 0 0 rgba(176,71,61,0)}50%{box-shadow:0 0 0 2px var(--card),0 0 0 6px rgba(176,71,61,.12)}}
@media (prefers-reduced-motion:reduce){.seat .chair .av-img{animation:none}}
/* ticks v2 — filled glossy gradient badge, white check strokes in, orbiting arc */
.ticks li{align-items:flex-start}
.tk{margin-top:-1px;background:linear-gradient(140deg,#5aa877 0%,#3d7a57 55%,#2b5e43 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 4px rgba(0,0,0,.12),0 8px 16px -8px rgba(47,107,73,.7);transform:scale(0) rotate(-30deg);transition:transform .7s cubic-bezier(.34,1.56,.64,1);transition-delay:calc(.2s + var(--d,0)*.2s)}
.tk::after{content:"";position:absolute;inset:2px 6px auto 6px;height:42%;border-radius:50% 50% 40% 40%;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,0));pointer-events:none}
.rv.in .tk{transform:none}
.tk-bg{display:none}
.tk-r{stroke:#5aa877;stroke-width:1.6;stroke-dasharray:14 62;stroke-dashoffset:0;opacity:0;transform-origin:14px 14px;transform:scale(1.2);transition:opacity .6s}
.rv.in .tk-r{opacity:.75;animation:tk-orbit 3.2s linear infinite;animation-delay:calc(var(--d,0)*-.8s)}
@keyframes tk-orbit{to{transform:scale(1.2) rotate(360deg)}}
.tk-p{stroke:#fff;stroke-width:2.8}
.tk svg{position:relative;z-index:1}
@media (prefers-reduced-motion:reduce){.tk{transform:none}.rv.in .tk-r{animation:none}}
/* header nav — SVG icon on every link (house rule), draw-in on load, icon motion on hover, sliding pill follows hover/active section */
.nav-l{position:relative}
.nav-l a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;transition:color .25s}
.nav-l a:hover{background:transparent}
.nav-l a .ic{width:17px;height:17px;flex:none;color:var(--red);stroke-dasharray:72;stroke-dashoffset:72;animation:nav-draw 1.4s cubic-bezier(.16,1,.3,1) forwards;animation-delay:calc(.35s + var(--n,0)*.12s);transition:transform .45s cubic-bezier(.34,1.56,.64,1)}
@keyframes nav-draw{to{stroke-dashoffset:0}}
.nav-l a:hover .ic,.nav-l a:focus-visible .ic{transform:translateY(-2px) rotate(-10deg) scale(1.15)}
.nav-l a.on{color:var(--navy)}
.nav-pill{position:absolute;z-index:0;top:0;left:0;height:100%;width:0;border-radius:999px;background:rgba(176,71,61,.09);box-shadow:inset 0 0 0 1px rgba(176,71,61,.16);opacity:0;transition:transform .45s cubic-bezier(.16,1,.3,1),width .45s cubic-bezier(.16,1,.3,1),opacity .3s;pointer-events:none}
.nav-pill.show{opacity:1}
@media (prefers-reduced-motion:reduce){.nav-l a .ic{animation:none;stroke-dashoffset:0}.nav-pill{transition:none}}
