/* Homepage only: 3D glass hero, sticky category strip and photo grid. Loaded after site.css. */
.hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:24px;max-width:var(--width);margin:18px auto 0;padding:36px 44px;min-height:600px;border-radius:32px;overflow:hidden;background:var(--hero-bg,#fff4f0);color:var(--ink);isolation:isolate;transition:background .8s}
.hero[data-theme-style="margarita"]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#e6f5c9,#fff7e6 60%,#fff)}
.hero[data-theme-style="martini"]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#e9d9cc,#f7efe9 60%,#fff)}
.hero[data-theme-style="spritz"]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#ffd3b0,#fff0e4 60%,#fff)}
.hero[data-theme-style="highball"]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#c7f0dc,#eefaf4 60%,#fff)}
html[data-theme="dark"] .hero[data-theme-style]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#3b2a30,#1f1719 65%,#171315)}
.hero-copy{position:relative;z-index:2}
.hero-copy h1{font-family:var(--display);font-size:clamp(64px,8.4vw,116px);line-height:.88;letter-spacing:-1px;margin:6px 0 18px}
.hero-copy h1 span{color:var(--accent)}
.hero .lead-deck{max-width:30em;font-size:19px;margin:0 0 22px}

.stage-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,var(--glow,rgba(255,255,255,.9)),transparent 68%);filter:blur(6px);opacity:.9;transition:background .8s}
.glass-scene{position:relative;width:300px;height:400px;transform-style:preserve-3d;transform:rotateX(calc(var(--ry,0)*-1deg)) rotateY(calc(var(--rx,0)*1deg));transition:transform .25s ease-out}
.drink{position:absolute;inset:0;display:block;transform-style:preserve-3d;opacity:0;pointer-events:none;transform:translateZ(-160px) rotateY(-70deg) scale(.7);transition:opacity .6s,transform .8s cubic-bezier(.2,.8,.2,1);text-decoration:none}
.drink.is-active{opacity:1;pointer-events:auto;transform:none;animation:bob 6s ease-in-out infinite}
.drink:focus-visible{outline:3px solid var(--accent);outline-offset:8px;border-radius:24px}
@keyframes bob{50%{transform:translateY(-10px)}}
.layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.layer-glass{transform:translateZ(0)}.layer-front{transform:translateZ(38px)}
.floor{position:absolute;left:50%;bottom:-6px;width:230px;height:46px;margin-left:-115px;border-radius:50%;background:radial-gradient(closest-side,rgba(20,10,10,.38),transparent);transform:translateZ(-30px) scaleY(.7);filter:blur(4px)}
.glass-body{fill:rgba(255,255,255,.28);stroke:rgba(255,255,255,.95);stroke-width:3}
html[data-theme="dark"] .glass-body{fill:rgba(255,255,255,.12);stroke:rgba(255,255,255,.7)}
.stem{fill:rgba(255,255,255,.75);stroke:rgba(150,140,140,.35)}.foot{fill:rgba(255,255,255,.75);stroke:rgba(150,140,140,.35)}
.liquid{fill:var(--liq)}.surface{fill:var(--liq2)}.foam{fill:var(--foam,#f2dcc0)}.ice{fill:rgba(255,255,255,.45);stroke:rgba(255,255,255,.8);stroke-width:2}
.shine{fill:none;stroke:rgba(255,255,255,.85);stroke-width:5;stroke-linecap:round}
.rim-salt{fill:none;stroke:#fff;stroke-width:9;stroke-dasharray:1 5;stroke-linecap:round}
.bubbles circle{fill:rgba(255,255,255,.8);animation:rise 3.6s ease-in infinite}.bubbles circle:nth-child(2){animation-delay:.9s}.bubbles circle:nth-child(3){animation-delay:1.8s}.bubbles circle:nth-child(4){animation-delay:2.6s}
@keyframes rise{0%{transform:translateY(40px);opacity:0}25%{opacity:.9}100%{transform:translateY(-40px);opacity:0}}
.lime circle:first-child{fill:#5fae3a}.lime-in{fill:#c9ec8c}.lime path{stroke:#fff;stroke-width:1.5;fill:none}
.orange circle:first-child{fill:#f28a1c}.orange-in{fill:#ffc266}.orange path{stroke:#fff;stroke-width:1.5;fill:none}
.beans ellipse{fill:#3b2417;stroke:#1f120b}.mint path{fill:#3d9a55}
[data-style="margarita"]{--liq:#c9e56b;--liq2:#e3f4a5}[data-style="martini"]{--liq:#3a2116;--liq2:#5a3826}[data-style="spritz"]{--liq:#ff7a2f;--liq2:#ffa869}[data-style="highball"]{--liq:#a9e7b8;--liq2:#d3f5da}
.hero[data-theme-style="margarita"]{--glow:rgba(201,229,107,.6)}.hero[data-theme-style="martini"]{--glow:rgba(120,80,60,.45)}.hero[data-theme-style="spritz"]{--glow:rgba(255,140,60,.55)}.hero[data-theme-style="highball"]{--glow:rgba(120,220,160,.55)}

.hero-dot{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px 14px;border-radius:999px;font:bold 13px var(--body);cursor:pointer;transition:background .2s,color .2s,transform .2s}
.hero-dot:hover{transform:translateY(-2px);background:var(--surface);color:var(--ink)}.hero-dot.is-active{background:var(--ink);color:var(--surface);border-color:var(--ink)}
.hero-dot:focus-visible,.category-chip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
/* Curated rows: a short scrolling row per idea instead of one long grid */
.cat-strip-wrap{position:sticky;top:0;z-index:20;max-width:var(--width);margin:26px auto 0;padding:8px 0;background:var(--page);box-shadow:0 0 0 100vmax var(--page);clip-path:inset(0 -100vmax);border-bottom:1px solid var(--line)}
.cat-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px}.cat-strip::-webkit-scrollbar{display:none}
.category-chip{flex:none;display:grid;justify-items:center;gap:2px;padding:8px 18px 6px;color:var(--muted);text-decoration:none!important;border-bottom:3px solid transparent;font:bold 13px var(--body);transition:color .2s}
.category-chip .chip-icon{font-size:26px;line-height:1.2;filter:grayscale(.5);transition:transform .25s,filter .25s}
.category-chip:hover{color:var(--ink);border-bottom-color:var(--accent)}.category-chip:hover .chip-icon{transform:translateY(-3px) scale(1.12);filter:none}
.category-chip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.drink-row{max-width:var(--width);margin:38px auto 10px}
.drink-row .section-heading{margin-bottom:14px}
.drink-row .row-scroller{margin:0 -4px}
.drink-row .grid{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;scrollbar-width:none;--fade-l:0px;--fade-r:0px;-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent)}
.drink-row .grid::-webkit-scrollbar{display:none}
.drink-row .grid[data-more-right]{--fade-r:56px}.drink-row .grid[data-more-left]{--fade-l:40px}
.row-arrows{display:none;gap:6px}
@media(hover:hover) and (pointer:fine){.row-arrows{display:flex}}
.row-arrow{width:38px;height:38px;padding:0;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:bold 18px/1 var(--body);cursor:pointer}
.row-arrow:hover{background:var(--surface);color:var(--accent);border-color:var(--accent)}
.row-arrow:disabled{opacity:.35;cursor:default}
.row-arrow:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.drink-row .section-heading{align-items:flex-end}.row-tools{display:flex;align-items:center;gap:18px}
.drink-row .card{flex:0 0 min(270px,74vw);scroll-snap-align:start}
.drink-row .card-photo{border-radius:20px;aspect-ratio:4/3}
.drink-row .card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.drink-row .card:hover .card-photo img{transform:scale(1.06)}
.drink-row .card:hover .card-photo{box-shadow:0 18px 34px var(--shadow)}
.drink-row .card-desc{display:none}
.drink-row .card h3.card-title{font-size:20px;margin:6px 0 8px}

/* Hero stage: the glass, then the classic chips directly under it, then the bar picker's result. */
.hero-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:540px;perspective:1100px;z-index:1}
.stage-glow{top:40px}
.hero-controls{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;z-index:3;margin-top:-28px}
.hero .lead-deck{max-width:24em}
/* Bar picker: ingredient chips that pour into the glass */
.bar-picker{max-width:440px}
.bar-picker-label{margin:0 0 10px;font:bold 15px var(--body);color:var(--ink)}
.bar-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bar-chip{display:flex;align-items:center;gap:10px;padding:13px 16px;border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:bold 16px var(--body);cursor:pointer;text-align:left;transition:transform .15s,background .2s,border-color .2s}
.bar-chip:hover{transform:translateY(-2px);border-color:var(--chip);background:var(--surface);color:var(--ink)}
.bar-chip:active{transform:translateY(1px)}
.bar-chip-dot{flex:none;width:14px;height:14px;border-radius:50%;background:var(--chip);box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.bar-chip[aria-pressed="true"],.bar-chip[aria-pressed="true"]:hover{background:color-mix(in srgb,var(--chip) 22%,var(--surface));border-color:var(--chip);color:var(--ink)}
.bar-chip[aria-pressed="true"] .bar-chip-dot{box-shadow:0 0 0 3px color-mix(in srgb,var(--chip) 40%,transparent)}
.bar-chip:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.bar-picker-more{margin:16px 0 0}
/* The glass that fills */
.bar-glass{--fill:0;--bar-liq:#cfeffd}
.bar-fill{transform:translateY(calc((1 - var(--fill)) * 274px));transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.bar-liquid{fill:var(--bar-liq);opacity:.88;transition:fill .6s}
.bar-surface{fill:#fff;opacity:.35}
.bar-bubble{fill:rgba(255,255,255,.85);animation:rise 3s ease-in infinite}.bar-bubble:nth-child(2n){animation-delay:1s}.bar-bubble:nth-child(3n){animation-delay:1.8s}
.bar-sugar{fill:#fff;opacity:.9}
.bar-drops{position:absolute;left:50%;top:0;width:0;height:100%;pointer-events:none}
.bar-drop{position:absolute;left:-9px;top:-30px;width:18px;height:18px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--drop);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);animation:drop .7s cubic-bezier(.55,0,1,.45) forwards}
@keyframes drop{0%{transform:translateY(0) rotate(-45deg);opacity:0}15%{opacity:1}100%{transform:translateY(250px) rotate(-45deg) scale(.6);opacity:0}}
.hero[data-theme-style="bar"]{--hero-bg:radial-gradient(120% 90% at 80% 30%,#d9f1ff,#f3fbff 60%,#fff);--glow:rgba(150,210,240,.55)}
/* Result under the glass: space is reserved so the page doesn't jump while tapping */
.bar-result{min-height:76px;width:min(100%,360px);display:grid;place-items:center;text-align:center}
.bar-result[hidden]{display:grid;visibility:hidden}
.bar-result-hint{margin:0;color:var(--muted);font-size:15px}
.bar-result-card{display:grid;gap:2px;width:100%;padding:12px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);color:var(--ink);text-decoration:none!important;box-shadow:0 12px 28px var(--shadow);transition:transform .2s}
.bar-result-card:hover{transform:translateY(-2px)}
.bar-result-card:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.bar-result-kicker{font:bold 13px var(--body);color:var(--accent)}
.bar-result-card.is-near .bar-result-kicker{color:var(--muted)}
.bar-result-title{font-family:var(--display);font-size:24px;line-height:1.05;letter-spacing:.2px}
.bar-result-facts{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.hero{grid-template-columns:1fr;padding:28px 26px;min-height:0}.hero-stage{min-height:0;padding-top:10px}}
@media(max-width:600px){.hero{margin:12px 12px 0;border-radius:24px;padding:24px 20px}.hero-copy h1{font-size:68px}}
@media(max-width:700px){
.hero .glass-scene{width:180px;height:240px}
.hero .stage-glow{width:280px;height:280px;top:0}
.bar-chips{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bar-chip{padding:12px 12px;font-size:15px;gap:8px}
.drink-row{margin-left:18px;margin-right:18px}
.cat-strip-wrap{margin-left:0;margin-right:0;padding-left:12px}
}
@media(prefers-reduced-motion:reduce){.drink,.drink.is-active,.glass-scene,.bubbles circle,.bar-bubble,.bar-fill,.bar-drop{animation:none!important;transition:none!important}.drink.is-active{transform:none}}
