/* Bubble Tea Shop "Playful Drink-Craft" (Cass 2026-07-17 image-ready). cream ground + lead TEAL + coral +
   sunny yellow + grape ink. Fredoka / Baloo 2 (rounded bouncy display) + Nunito Sans (body). Bright, high-chroma,
   fun. box==image placeholder boxes (real drinks drop in tomorrow). FILL & SETTLE on signature cards. clamp spaced. */
:root{
  --cream:#FBF6EC; --cream2:#FDFBF4; --teal:#3AA6C9; --teal2:#2E8FB0; --coral:#F2794B; --yellow:#F4C042; --grape:#2A2140; --grape2:#463A66; --ink:#2A2140;
  --muted:#6E6685;
  --line-l:rgba(42,33,64,.12); --line-t:rgba(58,166,201,.4);
  --wrap:74rem; --gut:clamp(1.15rem, 4vw, 2.6rem); --rad:1.4rem;
  --f-disp:"Baloo 2","Fredoka",system-ui,sans-serif; --f-body:"Nunito Sans",system-ui,-apple-system,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--f-body);background:var(--cream);color:var(--ink);line-height:1.62;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gut)}
.narrow{max-width:44rem}
.center{text-align:center}
.center-x{margin-inline:auto}
.accent{color:var(--teal2)}

.fig{overflow:hidden;border-radius:var(--rad);background:var(--cream2)}
.fig img{width:100%;height:100%;object-fit:cover;display:block}
.fig--ph{position:relative;background:linear-gradient(135deg, #EAF6FA, var(--cream2));border:1.5px dashed var(--line-t);display:grid;place-items:center;text-align:center}
.ph{display:flex;flex-direction:column;gap:.3rem;padding:1rem;max-width:90%}
.ph__slot{font-family:var(--f-body);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--teal2)}
.ph__desc{font-family:var(--f-disp);font-weight:600;font-size:clamp(.95rem, .88rem + .3vw, 1.12rem);color:var(--grape2);line-height:1.2}
.ph__ar{font-family:var(--f-body);font-size:.68rem;font-weight:700;color:var(--coral)}

.eyebrow{font-family:var(--f-body);font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--teal2)}
.h2{font-family:var(--f-disp);font-weight:700;font-size:clamp(2rem, 1.3rem + 3vw, 3.4rem);line-height:1.02;margin-top:.5rem;color:var(--ink);letter-spacing:-.01em}
.h2 .accent{color:var(--teal)}
.lede{font-size:clamp(1rem, .96rem + .3vw, 1.18rem);color:var(--muted);max-width:40rem;margin-top:1rem}
.body{font-size:1.06rem;color:var(--grape2);margin-top:1rem}

.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;font-family:var(--f-disp);font-weight:600;font-size:.9rem;letter-spacing:.01em;padding:.85rem 1.8rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .12s}
.btn:active{transform:translateY(1px)}
.btn--teal{background:var(--teal);color:#fff}
.btn--teal:hover{background:var(--teal2)}
.btn--coral{background:var(--coral);color:#fff}
.btn--coral:hover{background:#E0663A}
.btn--ghost{border-color:var(--teal);color:var(--teal2)}
.btn--ghost:hover{background:var(--teal);color:#fff}
.btn--lg{padding:1rem 2.1rem;font-size:1rem}
.btn--light{border-color:rgba(255,255,255,.7);color:#fff}
.btn--light:hover{background:#fff;color:var(--grape)}

.nav{position:sticky;top:0;z-index:50;background:rgba(251,246,236,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line-l);transition:background .24s}
.nav[data-nav-state="solid"]{background:var(--cream)}
.nav__inner{width:100%;max-width:var(--wrap);margin-inline:auto;padding:.7rem var(--gut);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.nav__brand{min-width:0}
.nav__word{font-family:var(--f-disp);font-weight:700;font-size:1.45rem;letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.nav__word .dot{color:var(--coral)}
.nav__links{display:none;list-style:none;gap:1.6rem}
.nav__links a{font-family:var(--f-body);font-size:.86rem;font-weight:700;color:var(--grape2);transition:color .2s}
.nav__links a:hover,.nav__links a.is-active{color:var(--teal2)}
.nav__cta{padding:.5rem 1.2rem;font-size:.82rem}

/* HERO: bright playful full-bleed; placeholder box is a teal/cream tint tonight (real drink photo drops behind the
   text tomorrow via the wired <picture>). Text is GRAPE-INK on the light hero (no scrim needed). */
.hero{position:relative;overflow:hidden;min-height:clamp(28rem, 72vh, 40rem);display:flex;align-items:center;background:
  radial-gradient(50% 55% at 84% 8%, rgba(58,166,201,.2), transparent 62%),
  radial-gradient(45% 50% at 6% 96%, rgba(242,121,75,.18), transparent 62%),
  radial-gradient(40% 40% at 60% 112%, rgba(244,192,66,.16), transparent 60%),
  linear-gradient(180deg, var(--cream2), var(--cream))}
.hero__ph-tag{position:absolute;right:.9rem;bottom:.9rem;z-index:1;font-family:var(--f-body);font-size:.66rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--teal2);background:rgba(255,255,255,.65);padding:.25rem .6rem;border-radius:999px}
/* hero image slotted 2026-07-18: subject (drink) is on the LEFT; text panel moves over the RIGHT negative space. Image behind text (z0), text z2. */
.hero__bg{position:absolute;inset:0;z-index:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero__inner{position:relative;z-index:2;width:100%;max-width:var(--wrap);margin-inline:auto;padding:0 var(--gut)}
.hero__panel{max-width:38rem;margin-left:auto}
/* mobile: text stacks over the portrait hero crop -> light scrim keeps the dark text legible over the drink */
@media (max-width:768px){
  .hero__panel{margin-left:0}
  .hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg, rgba(251,247,240,.35) 0%, rgba(251,247,240,.82) 40%, rgba(251,247,240,.82) 60%, rgba(251,247,240,.28) 100%)}
}
.hero__title{font-family:var(--f-disp);font-weight:800;font-size:clamp(2.7rem, 1.6rem + 6vw, 5.75rem);line-height:.98;letter-spacing:-.02em;margin-top:.5rem;color:var(--ink)}
.hero__title .accent{color:var(--teal)}
.hero__sub{font-family:var(--f-body);font-size:clamp(1.05rem, 1rem + .5vw, 1.3rem);color:var(--muted);margin-top:1.25rem;max-width:34rem}
.hero__actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.9rem}
.hero__where{font-family:var(--f-body);margin-top:1.5rem;font-size:.86rem;font-weight:600;color:var(--grape2)}

.section{padding-block:clamp(3.25rem, 8vw, 5.5rem)}
.band-teal{background:var(--teal);color:#fff}
.band-teal .eyebrow{color:#DFF3FA}.band-teal .h2{color:#fff}.band-teal .lede,.band-teal .body{color:#EAF7FB}
.band-grape{background:var(--grape);color:#EDE9F5}
.band-grape .h2{color:#fff}.band-grape .eyebrow{color:var(--yellow)}.band-grape .lede,.band-grape .body{color:#D6CFE6}
.band-cream2{background:var(--cream2)}

.band-figure{position:relative;overflow:hidden}
.band-figure .fig{border-radius:0}
.band-figure--wide .fig{aspect-ratio:4 / 5}

.split{display:grid;grid-template-columns:1fr;gap:clamp(1.8rem, 4vw, 3rem);align-items:center}

/* ===== FILL & SETTLE signature cards (the differentiator) ===== */
.sig-grid{margin-top:clamp(1.8rem, 4vw, 2.75rem);display:grid;grid-template-columns:1fr;gap:1.1rem}
.sig-card{position:relative;overflow:hidden;border-radius:var(--rad);aspect-ratio:4 / 5;background:var(--cream2);border:1px solid var(--line-l);display:flex;align-items:flex-end}
.sig-card__fill{position:absolute;left:0;right:0;bottom:0;height:100%;z-index:1;transform:translateY(0)}
.sig-card--teal .sig-card__fill{background:linear-gradient(180deg, #62C0DD, var(--teal2))}
.sig-card--grape .sig-card__fill{background:linear-gradient(180deg, #5E4F8C, var(--grape))}
.sig-card--sun .sig-card__fill{background:linear-gradient(180deg, var(--yellow), var(--coral))}
.js-ready .sig-card__fill{transform:translateY(100%)}
.js-ready .sig-card.is-in .sig-card__fill{animation:fillrise 1.05s cubic-bezier(.34,.7,.3,1) forwards}
@keyframes fillrise{from{transform:translateY(100%)}to{transform:translateY(0)}}
.pearl{position:absolute;z-index:2;width:15px;height:15px;border-radius:50%;background:var(--grape);bottom:9%;opacity:.92}
.pearl--1{left:30%}.pearl--2{left:47%}.pearl--3{left:64%}
.js-ready .pearl{opacity:0;transform:translateY(-160px)}
.js-ready .sig-card.is-in .pearl{animation:settle .95s cubic-bezier(.3,.85,.4,1) forwards}
.js-ready .sig-card.is-in .pearl--2{animation-delay:.1s}
.js-ready .sig-card.is-in .pearl--3{animation-delay:.2s}
@keyframes settle{0%{transform:translateY(-160px);opacity:0}45%{opacity:1}100%{transform:translateY(0);opacity:.92}}
.sig-card__body{position:relative;z-index:3;width:100%;padding:1.1rem 1.2rem;background:linear-gradient(0deg, rgba(42,33,64,.5), transparent)}
.sig-card__name{display:block;font-family:var(--f-disp);font-weight:700;font-size:clamp(1.3rem, 1.1rem + .8vw, 1.7rem);color:#fff}
.sig-card__ph{display:block;margin-top:.2rem;font-family:var(--f-body);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.8)}
@media (prefers-reduced-motion:reduce){.js-ready .sig-card__fill{transform:translateY(0)!important;animation:none!important}.js-ready .pearl{transform:translateY(0)!important;opacity:.92!important;animation:none!important}}

/* ── Sig-card FILL → FLIP (Kai): front keeps the EXISTING liquid-fill; back reveals the real drink. ──
   Progressive enhancement — the existing .sig-card / __fill / .pearl / __body rules above are unchanged
   (the fill still matches: .sig-card__fill + .pearl are still descendants of .sig-card.is-in). */
.sig-card__flip{position:absolute;inset:0}
.sig-card__front,.sig-card__back{position:absolute;inset:0;display:flex;align-items:flex-end}
.sig-card__front{overflow:hidden}
.sig-card__back{background:var(--cream2)}
.sig-card__back picture{position:absolute;inset:0;z-index:1}
.sig-card__back img{width:100%;height:100%;object-fit:cover;display:block}
.sig-card__body--back{z-index:2;background:linear-gradient(0deg, rgba(42,33,64,.74), rgba(42,33,64,.12) 62%, transparent)}
.sig-card__desc{display:block;margin-top:.28rem;font-family:var(--f-body);font-size:.82rem;line-height:1.32;color:rgba(255,255,255,.92)}
/* No-JS rest state = the DRINK: .sig-card__back is last in source order so it paints on top.
   With JS (.js-ready) we switch to the 3D flip — front shows first, then flips to the drink. */
.js-ready .sig-card{perspective:1100px}
.js-ready .sig-card__flip{transform-style:preserve-3d;transition:transform .8s cubic-bezier(.4,.15,.2,1)}
.js-ready .sig-card__front,.js-ready .sig-card__back{-webkit-backface-visibility:hidden;backface-visibility:hidden}
.js-ready .sig-card__front{transform:rotateY(0deg)}
.js-ready .sig-card__back{transform:rotateY(180deg)}
/* Resting face: desktop/base = the fill-front; MOBILE (<640px) = the DRINK — a card is NEVER an
   empty gradient cup, whatever the scroll/IO timing (the real fix for the mobile cards-2&3 misfire).
   Explicit .show-fill / .show-drink (set by flip.js) drive the flip and override the resting default. */
.js-ready .sig-card__flip{transform:rotateY(0deg)}
.js-ready .sig-card.show-drink .sig-card__flip{transform:rotateY(180deg)}
.js-ready .sig-card.show-fill .sig-card__flip{transform:rotateY(0deg)}
@media (max-width:639px){
  .js-ready .sig-card__flip{transform:rotateY(180deg)}
  .js-ready .sig-card.show-fill .sig-card__flip{transform:rotateY(0deg)}
}
@media (prefers-reduced-motion:reduce){.js-ready .sig-card__flip{transition:none!important}}

/* menu (categories + price range; NO invented per-item prices) */
.menu-list{margin-top:clamp(1.6rem, 4vw, 2.5rem);display:grid;grid-template-columns:1fr;gap:.9rem}
.menu-cat{background:var(--cream2);border:1px solid var(--line-l);border-radius:var(--rad);padding:1.2rem 1.4rem}
.menu-cat__name{font-family:var(--f-disp);font-weight:700;font-size:1.28rem;color:var(--ink)}
.menu-cat__sub{font-size:.95rem;color:var(--muted);margin-top:.25rem}
.menu-note{margin-top:1.4rem;font-size:.95rem;color:var(--muted)}

.accent-row{margin-top:2.25rem;display:grid;grid-template-columns:repeat(3, 1fr);gap:.9rem;align-items:start}

/* footer: grape ink. Wordmark TYPE-SET (light-on-dark, NO blend). */
.footer{background:var(--grape);color:#EDE9F5;padding-top:clamp(3rem, 6vw, 4rem)}
.footer__inner{display:flex;flex-direction:column;gap:2rem}
.footer__brand .nav__word{color:#fff}.footer__brand .nav__word .dot{color:var(--yellow)}
.footer__tag{font-family:var(--f-body);margin-top:.7rem;color:#C7BEDD;font-size:.92rem;font-weight:600}
.footer__nav{margin-top:1.1rem}
.footer__nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.2rem}
.footer__nav a{font-family:var(--f-body);font-size:.84rem;font-weight:700;color:#C7BEDD}
.footer__nav a:hover{color:var(--yellow)}
.footer__nap p,.footer__hours p{color:#D6CFE6;font-size:.95rem;line-height:1.75}
.footer__nap a:hover{color:var(--yellow)}
.footer__hours-title{font-family:var(--f-disp);font-weight:700;font-size:.95rem;margin-bottom:.4rem;color:var(--yellow)}
.hours{border-collapse:collapse;font-size:.92rem}
.hours td{padding:.2rem 1.5rem .2rem 0;color:#C7BEDD}
.hours td:last-child{color:#fff}
.footer__legal{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(237,233,245,.16);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:6rem}
.footer__legal p{color:#9A90B5;font-size:.8rem}
.footer__legal-cta{color:var(--yellow);font-family:var(--f-disp);font-weight:600;font-size:.9rem}

.mobar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:var(--cream);border-top:1px solid var(--line-l)}
.mobar a{flex:1;text-align:center;padding:.95rem;font-family:var(--f-disp);font-weight:600;font-size:.9rem}
.mobar__call{color:var(--ink);border-right:1px solid var(--line-l)}
.mobar__cta{background:var(--coral);color:#fff}

[data-reveal]{opacity:1}
@media (prefers-reduced-motion:no-preference){
  [data-reveal].reveal-init{opacity:0;transform:translateY(14px)}
  [data-reveal].reveal-in{opacity:1;transform:none;transition:opacity .5s ease,transform .55s ease}
}

@media (min-width:640px){ .sig-grid{grid-template-columns:repeat(3, 1fr)} .menu-list{grid-template-columns:repeat(2, 1fr)} }
@media (min-width:850px){
  .nav__links{display:flex}
  .mobar{display:none}
  .footer__legal{padding-bottom:1.5rem}
  .footer__inner{flex-direction:row;justify-content:space-between}
  .split{grid-template-columns:1fr 1fr}
  .split--wide{grid-template-columns:1.1fr 1fr}
  .band-figure--wide .fig{aspect-ratio:16 / 9}
}
