/* Phase 2 homepage only. Position, entrance and float live on separate elements. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@property --hero-tint{syntax:"<color>";inherits:true;initial-value:#FBEAE8}
@property --hero-glow{syntax:"<color>";inherits:true;initial-value:#F5BCCB}
.hero{--hero-tint:#FBEAE8;--hero-glow:#F5BCCB;position:relative;isolation:isolate;padding-top:90px;overflow:clip;background:var(--cream);transition:--hero-tint 1s ease,--hero-glow 1s ease}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(115deg,var(--cream) 12%,var(--hero-tint) 100%)}
.hero::after{content:"";position:absolute;z-index:-1;width:min(880px,76vw);aspect-ratio:1;right:-4%;top:2%;background:radial-gradient(ellipse,var(--hero-glow) 0%,transparent 67%);opacity:.72;pointer-events:none}
.hero>.wrap{position:relative;display:grid;grid-template-columns:.92fr 1.08fr;gap:44px;align-items:center;min-height:calc(100svh - 90px);max-width:1280px;padding-block:38px 62px}
.hero .copy{min-width:0;position:relative;z-index:2;padding-bottom:18px}
.hero .made{font-size:11px;letter-spacing:.17em}
.hero-heading{margin:25px 0 0;font-size:inherit;line-height:1}
.hero .tag{width:min(480px,100%);height:auto}
.hero .sub{font-size:18px;line-height:1.65;color:var(--muted);max-width:36ch;margin:25px 0 0}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero .btn{min-height:48px;justify-content:center}
.fanbox{position:relative;min-width:0;width:100%;justify-self:center;max-width:660px;align-self:center}
.fan{position:relative;width:100%;aspect-ratio:1/0.81;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.cup-slot{position:absolute;left:50%;top:50%;width:46%;aspect-ratio:760/800;display:block;transform-origin:50% 50%;border:0;background:transparent;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;isolation:isolate}
.cup-arrival,.cup-float{display:block;width:100%;height:100%}
.fan .c{width:100%;height:auto;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 5px 5px rgba(70,33,22,.09))}
.cup-slot:focus-visible{outline:3px solid var(--plum);outline-offset:8px;border-radius:16px}
.cup-slot[aria-pressed=true]{cursor:default}
.shadow-bank{position:absolute;inset:0;pointer-events:none;z-index:0}
.ground-shadow{position:absolute;left:50%;top:50%;width:46%;height:30px;transform-origin:center}
.ground-shadow::before,.ground-shadow::after{content:"";position:absolute;left:50%;translate:-50% 0;border-radius:50%;background:radial-gradient(ellipse,rgba(79,37,30,.25),transparent 70%)}
.ground-shadow::before{width:120%;height:100%;top:-4px}
.ground-shadow::after{width:68%;height:28%;top:7px;background:radial-gradient(ellipse,rgba(61,24,18,.38),transparent 70%)}
/* Static positions remain useful if JavaScript or the animation library is absent. */
.cup-slot[data-slot="0"]{transform:translate(-128%,-32%) rotate(-13deg) scale(.51);z-index:2}
.cup-slot[data-slot="1"]{transform:translate(-98%,-40%) rotate(-9deg) scale(.74);z-index:4}
.cup-slot[data-slot="2"]{transform:translate(-50%,-50%);z-index:6}
.cup-slot[data-slot="3"]{transform:translate(-2%,-40%) rotate(9deg) scale(.74);z-index:4}
.cup-slot[data-slot="4"]{transform:translate(28%,-32%) rotate(13deg) scale(.51);z-index:2}
.ground-shadow{opacity:0}.hero[data-ready] .ground-shadow{opacity:1}
.cup-float{animation:home-float var(--float-duration,6s) ease-in-out infinite;animation-delay:var(--float-delay,0s);animation-play-state:paused}
.hero[data-motion="running"] .cup-float{animation-play-state:running}
.hero[data-motion="paused"],.hero[data-motion="offscreen"]{transition:none}
@keyframes home-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.picker{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:18px;max-width:420px;margin:0 auto;position:relative;z-index:35}
.arr{width:52px;height:52px;border-radius:50%;border:1.5px solid rgba(42,26,18,.55);background:rgba(255,246,232,.55);display:grid;place-items:center;cursor:pointer;transition:background .2s,transform .2s;flex:none}
.arr:hover{background:var(--ink);color:var(--cream);transform:translateY(-2px)}
.arr svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fname{min-width:0;text-align:center;text-decoration:none;display:grid;gap:11px;justify-items:center;padding:9px 0}
.fname b{font:400 clamp(26px,2.5vw,34px)/1 var(--display);text-transform:uppercase;letter-spacing:.01em;display:block}
.pips{display:flex;align-items:center;gap:6px;height:7px}.pips i{width:5px;height:5px;border-radius:99px;background:#cbb8a8;transition:background .3s,width .3s}.pips i.on{background:var(--ink);width:20px}
.motion-row{display:flex;justify-content:center;margin-top:12px;min-height:44px}
#hero-motion{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid rgba(42,26,18,.25);border-radius:99px;background:transparent;font:700 11px/1 var(--body);cursor:pointer;color:var(--muted)}
#hero-motion:hover{background:rgba(255,246,232,.6)}#hero-motion:disabled{cursor:default;opacity:.8}
@media(max-width:1100px) and (min-width:901px){.hero>.wrap{gap:22px}.hero .sub{font-size:16px}.hero .btn{font-size:13px;padding:15px 19px}.hero .made{font-size:9px}}
@media(max-width:900px){
  .hero{padding-top:76px}.hero::after{width:115vw;right:-22%;top:25%}
  .hero>.wrap{grid-template-columns:1fr;align-content:center;gap:8px;min-height:calc(100svh - 76px);padding-block:12px 20px;text-align:center;max-width:580px}
  .hero .copy{padding:0}.hero .made{font-size:9px;letter-spacing:.13em;gap:8px}.hero .made .flag{width:15px;height:15px}
  .hero-heading{margin:14px 0 0}.hero .tag{width:min(65vw,270px);margin:auto}
  .hero .sub{font-size:14px;line-height:1.5;max-width:36ch;margin:12px auto 0}
  .hero .cta{justify-content:center;gap:10px;margin-top:16px}.hero .btn{font-size:12px;padding:13px 19px;min-height:44px}
  .fanbox{max-width:430px}.fan{aspect-ratio:1/0.68}
  .picker{max-width:330px;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px}.arr{width:44px;height:44px}.fname{padding:5px 0;gap:8px}.fname b{font-size:26px}
  .motion-row{margin-top:5px}#hero-motion{font-size:10px;padding:8px 14px}
  .nav .logo img{height:48px}.nav .wrap{padding-block:9px}.nav .links{max-height:calc(100svh - 70px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:599px) and (max-height:700px){
  .hero{padding-top:68px}.hero>.wrap{min-height:calc(100svh - 68px);padding-block:5px 10px;gap:1px}
  .hero .made{font-size:8px}.hero .made .flag{width:12px;height:12px}.hero-heading{margin-top:7px}.hero .tag{width:min(58vw,185px)}
  .hero .sub{font-size:11px;max-width:35ch;line-height:1.4;margin-top:7px}.hero .cta{margin-top:9px;gap:8px}.hero .btn{padding:10px 14px;font-size:11px}
  .fan{aspect-ratio:1/0.57}.picker{max-width:280px;gap:8px}.fname b{font-size:23px}.fname{gap:6px}.motion-row{margin-top:0}.nav .logo img{height:44px}
}
@media(max-height:560px) and (min-width:600px){
  .hero{padding-top:68px}.hero>.wrap{grid-template-columns:.85fr 1.15fr;gap:20px;text-align:left;min-height:calc(100svh - 68px);padding-block:12px 14px;max-width:1100px;align-content:center}
  .hero .made{font-size:8px}.hero .made .flag{width:13px;height:13px}.hero-heading{margin-top:10px}.hero .tag{width:min(100%,220px);margin:0}
  .hero .sub{font-size:11px;line-height:1.4;margin:10px 0 0;max-width:34ch}.hero .cta{margin-top:12px;gap:8px;justify-content:flex-start}.hero .btn{font-size:10px;padding:10px 13px;min-height:44px}
  .fanbox{max-width:420px}.fan{aspect-ratio:1/.51}.picker{max-width:290px;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.arr{height:44px;width:44px}.fname b{font-size:23px}.fname{padding:3px 0;gap:5px}.motion-row{margin-top:0;min-height:36px}#hero-motion{min-height:36px;padding:6px 12px;font-size:9px}.nav .logo img{height:44px}
}
@media(prefers-reduced-motion:reduce){.hero{transition:none}.hero .cup-float{animation:none}.hero .arr,.hero .pips i{transition:none}}
