/* ============================================================
   FRO YOH — Frozen Yogurt Bar · North Adelaide
   "Soft Serve" — playful, pastel, bubbly. On-brand.
   Baby-pink canvas · candy rose + peach · white bubble lettering
   Fredoka (display) / Nunito (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

:root {
  --paper: #FAD9E5;          /* soft baby-pink canvas */
  --paper-2: #F4C4D6;        /* deeper pink */
  --milk: #FFFFFF;           /* clean white (cards) */
  --ink: #4A2533;            /* deep plum-cocoa text + feature sections */
  --ink-soft: #7C5666;
  --ink-mute: #AD8597;
  --berry: #E86C97;          /* candy rose — primary accent / CTA */
  --berry-deep: #D6457D;
  --berry-press: #BC3568;
  --pistachio: #8DA35E;      /* olive — sparse plant accent */
  --pistachio-deep: #6B8043;
  --butter: #EFAE8C;         /* warm peach highlight */
  --blush: #FCE6EF;          /* soft pink tint surface */
  --blush-2: #F7D3E0;
  --line: #F1CBDA;           /* pink hairline */
  --line-soft: #F7DEE8;
  --shadow-sm: 0 2px 10px -4px rgba(120,50,80,0.20);
  --shadow: 0 24px 60px -30px rgba(120,50,80,0.40);
  --shadow-lg: 0 50px 100px -40px rgba(120,50,80,0.45);
  --r-sm: 8px; --r-md: 16px; --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --fdisplay: 'Baloo 2', system-ui, sans-serif;
  --fbody: 'Nunito', system-ui, sans-serif;
  --fserif: 'Baloo 2', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fbody);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.wrap-wide { width: min(100%, 1480px); margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); }

/* type primitives */
.display { font-family: var(--fdisplay); font-weight: 700; line-height: 0.94; letter-spacing: -0.01em; }
.serif-i { font-family: var(--fdisplay); font-weight: 600; }
.label {
  font-family: var(--fdisplay); font-weight: 600;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--berry);
}
.label-mute { color: var(--ink-mute); }
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fdisplay); font-weight: 600; font-size: 0.84rem;
  letter-spacing: 0.04em; padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }
.btn-berry { background: var(--berry); color: var(--milk); }
.btn-berry:hover { background: var(--berry-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ink { background: var(--ink); color: var(--milk); }
.btn-ink:hover { background: #3d1d2a; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--milk); transform: translateY(-2px); }
.btn-cream { background: var(--milk); color: var(--ink); }
.btn-cream:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { font-size: 0.92rem; padding: 17px 32px; }

/* ---------- HEADER ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 90; transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s; }
.site-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 22px; }
header.site.scrolled { background: color-mix(in oklab, var(--milk) 88%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 8px 30px -18px rgba(120,50,80,0.45); }
header.site.scrolled .site-row { padding-block: 11px; }
.scroll-progress { height: 2px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--berry), var(--butter)); transform-origin: left; transition: width 0.12s linear; opacity: 0; }
header.site.scrolled .scroll-progress span { opacity: 1; }
.hdr-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.hdr-status .hs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pistachio-deep); box-shadow: 0 0 0 3px color-mix(in oklab, var(--pistachio) 40%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@media (max-width: 1180px) { .hdr-status { display: none; } }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-logo { height: 50px; width: auto; border-radius: 14px; display: block; box-shadow: var(--shadow-sm); }
header.site.scrolled .brand-logo { height: 42px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { font-family: var(--fdisplay); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
nav.primary { display: flex; gap: clamp(18px, 2.4vw, 36px); justify-self: center; }
nav.primary a { font-family: var(--fbody); font-weight: 500; font-size: 0.92rem; color: var(--ink); position: relative; padding: 4px 0; }
nav.primary a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--berry); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
nav.primary a:hover::after { transform: scaleX(1); }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--milk); box-shadow: var(--shadow-sm); place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- INTRO / ENTER ANIMATION ---------- */
body.intro-lock { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; will-change: transform; background: radial-gradient(120% 90% at 50% 20%, #FCE8F1 0%, var(--paper) 50%, var(--paper-2) 100%); }
.intro.is-done { transform: translateY(-101%); transition: transform 0.9s cubic-bezier(0.76,0,0.24,1); }
.intro-sky { position: absolute; inset: 0; pointer-events: none; }
.intro-mid { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 24px; }
.intro-logo { width: clamp(150px, 30vw, 232px); height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(22px) scale(0.82); animation: introLogo 0.95s cubic-bezier(0.22,1,0.36,1) 0.12s forwards; }
.intro-tag { font-family: var(--fdisplay); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--berry); opacity: 0; animation: introFade 0.6s ease 0.66s forwards; }
.intro-bar { width: 168px; height: 5px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--berry) 16%, #fff); overflow: hidden; opacity: 0; animation: introFade 0.5s ease 0.66s forwards; }
.intro-bar i { display: block; width: 100%; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--berry), var(--butter)); transform-origin: left; transform: scaleX(0); animation: introBar 1.45s cubic-bezier(0.65,0,0.35,1) 0.5s forwards; }
.intro-skip { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--fdisplay); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); opacity: 0; animation: introFade 0.6s ease 1.4s forwards; }
@keyframes introLogo { 0% { opacity: 0; transform: translateY(22px) scale(0.82); } 60% { opacity: 1; transform: translateY(0) scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introHideFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro { animation: introHideFallback 0s linear 5s forwards; }

/* ---------- HERO ---------- */
.hero { --hero-accent: var(--butter); position: relative; padding-top: clamp(110px, 14vh, 168px); padding-bottom: 0; overflow: hidden; background: radial-gradient(120% 90% at 50% 24%, #FCE8F1 0%, var(--paper) 52%, var(--paper-2) 100%); }
.hero-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.cloud { position: absolute; left: 0; }
.puff { position: absolute; top: 0; left: 0; border-radius: 100px; background-repeat: no-repeat; background-image:
  radial-gradient(42% 78% at 24% 60%, #fff 0 58%, transparent 60%),
  radial-gradient(50% 100% at 47% 40%, #fff 0 58%, transparent 60%),
  radial-gradient(42% 80% at 71% 56%, #fff 0 58%, transparent 60%),
  radial-gradient(64% 64% at 50% 80%, #fff 0 58%, transparent 60%);
  filter: blur(7px); animation: drift linear infinite; will-change: transform; }
@keyframes drift { from { transform: translateX(-48vw); } to { transform: translateX(138vw); } }
.cloud.c1 { top: 11%; } .cloud.c1 .puff { width: 250px; height: 100px; opacity: 0.96; animation-duration: 46s; animation-delay: -4s; }
.cloud.c2 { top: 24%; } .cloud.c2 .puff { width: 150px; height: 64px; opacity: 0.66; filter: blur(11px); animation-duration: 72s; animation-delay: -30s; }
.cloud.c3 { top: 6%; } .cloud.c3 .puff { width: 320px; height: 122px; opacity: 0.9; animation-duration: 38s; animation-delay: -18s; }
.cloud.c4 { top: 40%; } .cloud.c4 .puff { width: 120px; height: 52px; opacity: 0.5; filter: blur(13px); animation-duration: 86s; animation-delay: -9s; }
.cloud.c5 { top: 33%; } .cloud.c5 .puff { width: 210px; height: 86px; opacity: 0.8; animation-duration: 56s; animation-delay: -44s; }
.cloud.c6 { top: 17%; } .cloud.c6 .puff { width: 176px; height: 72px; opacity: 0.72; filter: blur(9px); animation-duration: 64s; animation-delay: -22s; }
.hero-clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-clouds::before, .hero-clouds::after { content: ''; position: absolute; inset: -10% -20%; background-repeat: no-repeat; }
.hero-clouds::before {
  background-image:
    radial-gradient(42% 34% at 7% 6%, rgba(255,255,255,0.92), rgba(255,255,255,0) 60%),
    radial-gradient(40% 32% at 95% 9%, rgba(255,255,255,0.85), rgba(255,255,255,0) 62%),
    radial-gradient(46% 38% at 4% 95%, rgba(255,255,255,0.82), rgba(255,255,255,0) 60%),
    radial-gradient(42% 34% at 98% 93%, rgba(255,255,255,0.84), rgba(255,255,255,0) 60%);
  filter: blur(10px); animation: cloudDrift 44s ease-in-out infinite alternate;
}
.hero-clouds::after {
  background-image:
    radial-gradient(26% 22% at 18% 13%, rgba(255,255,255,0.7), rgba(255,255,255,0) 64%),
    radial-gradient(24% 20% at 83% 20%, rgba(255,255,255,0.66), rgba(255,255,255,0) 64%),
    radial-gradient(28% 24% at 13% 84%, rgba(255,255,255,0.62), rgba(255,255,255,0) 64%),
    radial-gradient(24% 20% at 90% 80%, rgba(255,255,255,0.64), rgba(255,255,255,0) 64%);
  filter: blur(16px); animation: cloudDrift 56s ease-in-out infinite alternate-reverse;
}
@keyframes cloudDrift { from { transform: translate3d(-2%,0,0) scale(1); } to { transform: translate3d(3%,-1.5%,0) scale(1.08); } }
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orbs .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.hero-orbs .o1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--blush); top: -8%; left: -6%; animation: orbDrift 22s ease-in-out infinite alternate; }
.hero-orbs .o2 { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: color-mix(in oklab, var(--butter) 70%, transparent); bottom: 4%; right: -8%; animation: orbDrift 26s ease-in-out infinite alternate-reverse; }
.hero-orbs .o3 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; background: color-mix(in oklab, var(--berry) 40%, transparent); top: 30%; left: 42%; opacity: 0.30; animation: orbDrift 30s ease-in-out infinite alternate; }
@keyframes orbDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.12); } }

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); background: var(--milk); padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.hero-eyebrow .he-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pistachio-deep); box-shadow: 0 0 0 4px color-mix(in oklab, var(--pistachio) 40%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--pistachio) 40%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--pistachio) 0%, transparent); } }

.hero-poster { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.6vw, 38px); margin-top: clamp(20px, 3vw, 38px); width: 100%; }
.poster-word { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(3rem, 0.6rem + 11vw, 10.5rem); line-height: 0.84; letter-spacing: -0.025em; flex: none; filter: drop-shadow(0 16px 26px rgba(150,70,105,0.16)); }
.poster-word.left { color: var(--ink); }
.poster-word.right { color: var(--berry); }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 20px); flex-wrap: wrap; margin-top: 26px; }
.hm-item { font-size: 0.92rem; color: var(--ink-soft); }
.hm-item b { font-family: var(--fdisplay); font-weight: 700; color: var(--ink); }
.hm-sep { width: 1px; height: 20px; background: var(--line); }

.hero-cup-stage { position: relative; flex: none; width: clamp(216px, 26vw, 380px); display: grid; place-items: center; z-index: 3; }
.cup-glow { position: absolute; top: 40%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--hero-accent) 52%, transparent) 0%, transparent 64%); filter: blur(30px); z-index: 0; transition: background 0.5s var(--ease); }
.hero-cup-img { position: relative; z-index: 3; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(74,37,51,0.30)); animation: cupBob 6s ease-in-out infinite; transition: opacity 0.42s var(--ease); }
.hero-cup-img.swap { opacity: 0; }
@keyframes cupBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cup-pedestal { position: absolute; bottom: 8%; width: 54%; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(74,37,51,0.24), transparent 70%); filter: blur(6px); z-index: 2; }
.hero-flavour { position: absolute; bottom: 9%; right: -2%; z-index: 4; background: var(--ink); color: var(--milk); border-radius: var(--r-md); padding: 11px 18px; box-shadow: var(--shadow); text-align: left; }
.hero-flavour .hf-label { display: block; font-family: var(--fdisplay); font-weight: 600; font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--butter); }
.hero-flavour .hf-name { display: block; font-family: var(--fdisplay); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; transition: opacity 0.4s; }
.hero-flavour .hf-name.swap { opacity: 0; }

.hero-foot { max-width: 58ch; margin: clamp(24px, 4vw, 44px) auto 0; }
.hero-taste { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.ht-label { font-family: var(--fdisplay); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.ht-swatches { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.ht-sw { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.88rem; color: var(--ink); background: var(--milk); border: 1.5px solid var(--line-soft); padding: 8px 16px 8px 9px; border-radius: var(--r-pill); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s, color 0.25s; }
.ht-sw:hover { transform: translateY(-2px); border-color: var(--line); }
.ht-sw .sw-dot { width: 19px; height: 19px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), 0 1px 2px rgba(74,37,51,0.25); }
.ht-sw.active { color: var(--milk); background: var(--ink); border-color: var(--ink); }
.ht-sw.active .sw-dot { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 0 0 3px color-mix(in oklab, var(--butter) 65%, transparent); }

/* drag-a-topping onto the hero cup */
.hero-cup-toppings { position: absolute; inset: 0; z-index: 4; pointer-events: none; animation: cupBob 6s ease-in-out infinite; }
.hero-cup-stage.drop-target .cup-glow { opacity: 1; filter: blur(22px); transform: scale(1.12); }
.hero-cup-stage.drop-target { outline: 2px dashed color-mix(in oklab, var(--berry) 60%, transparent); outline-offset: 6px; border-radius: var(--r-lg); }
.hero-toptray { display: flex; flex-direction: column; align-items: center; gap: 11px; margin-top: clamp(14px, 2vw, 24px); position: relative; z-index: 5; }
.htt-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fdisplay); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.htt-label svg { width: 16px; height: 16px; color: var(--berry); }
.htt-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.htt-chip { width: 54px; height: 54px; padding: 0; border-radius: 50%; overflow: hidden; background: var(--milk); border: 2px solid var(--milk); box-shadow: var(--shadow-sm); cursor: grab; touch-action: none; transition: transform 0.22s var(--ease), box-shadow 0.22s; }
.htt-chip:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow); }
.htt-chip:active { cursor: grabbing; }
.htt-chip img { width: 150%; height: 150%; max-width: none; object-fit: cover; transform: translate(-17%, -17%); pointer-events: none; }
.htt-ghost { position: fixed; z-index: 300; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%) scale(1.08); transition: opacity 0.12s; }
.htt-ghost img { width: 150%; height: 150%; max-width: none; object-fit: cover; transform: translate(-17%, -17%); }
.htt-clear { font-family: var(--fdisplay); font-weight: 600; font-size: 0.78rem; color: var(--ink-mute); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.htt-clear:hover { color: var(--berry); }
.hero-tagline { font-size: clamp(1.04rem, 1rem + 0.4vw, 1.26rem); color: var(--ink-soft); line-height: 1.55; margin: 0 auto; max-width: 50ch; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* flavour marquee */
.flavour-marquee { margin-top: clamp(50px, 7vw, 96px); border-block: 1.5px solid var(--ink); overflow: hidden; background: var(--ink); }
.fm-track { display: flex; align-items: center; gap: 0; width: max-content; animation: fmScroll 34s linear infinite; }
.fm-track span { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.6rem); letter-spacing: -0.01em; color: var(--paper); padding: 16px 28px; display: inline-flex; align-items: center; gap: 28px; }
.fm-track span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }
.fm-track span:nth-child(even)::after { background: var(--butter); }
@keyframes fmScroll { to { transform: translateX(-50%); } }

/* ---------- SECTION SCAFFOLD ---------- */
.block { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.sec-head { display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-areas: "num main" ". intro"; column-gap: clamp(16px, 3vw, 44px); row-gap: 18px; align-items: start; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head .sh-num { grid-area: num; font-family: var(--fdisplay); font-weight: 700; font-size: 0.95rem; color: var(--berry); letter-spacing: 0.08em; padding-top: 8px; }
.sec-head .sh-main { grid-area: main; }
.sec-head .sh-label { margin-bottom: 14px; }
.h-section { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 4vw, 5rem); line-height: 0.96; letter-spacing: -0.035em; color: var(--ink); }
.h-section em { font-family: var(--fdisplay); font-weight: 600; color: var(--berry); }
.sec-head .sh-intro { grid-area: intro; max-width: 56ch; color: var(--ink-soft); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem); justify-self: start; }

/* ---------- STORY ---------- */
#story { background: var(--milk); }
.story-inner { max-width: 1000px; margin-inline: auto; text-align: center; }
.story-inner .label { display: block; }
.story-quote { margin-top: 20px; }
.story-quote { font-family: var(--fdisplay); font-weight: 600; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); line-height: 1.16; letter-spacing: -0.015em; color: var(--ink); }
.story-quote .hl { color: var(--berry); }
.story-cite { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.story-cite .sc-line { width: 40px; height: 1.5px; background: var(--berry); }
.story-cite b { font-family: var(--fdisplay); font-weight: 600; font-size: 0.95rem; }
.story-cite span { color: var(--ink-mute); font-size: 0.88rem; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); max-width: 1040px; margin: clamp(40px, 5vw, 66px) auto 0; align-items: start; }
.story-body { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; display: flex; flex-direction: column; gap: 16px; }
.story-body p { margin: 0; }
.story-body p b { color: var(--ink); font-weight: 700; }
.story-stats { display: flex; gap: clamp(24px, 4vw, 40px); margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.ss-item { display: flex; flex-direction: column; }
.ss-n { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -0.03em; color: var(--berry); line-height: 1; }
.ss-l { font-family: var(--fdisplay); font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }

.timeline { position: relative; display: flex; flex-direction: column; }
.tl-step { position: relative; padding: 0 0 26px 34px; margin-left: 8px; border-left: 2px solid var(--line); }
.tl-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot { position: absolute; left: -9px; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--milk); border: 3px solid var(--berry); box-shadow: 0 0 0 4px var(--blush); }
.tl-step.is-now .tl-dot { background: var(--berry); animation: pulse 2.4s ease-in-out infinite; }
.tl-k { display: block; font-family: var(--fdisplay); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--berry); }
.tl-h { font-family: var(--fdisplay); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.015em; color: var(--ink); margin-top: 5px; }
.tl-p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5; margin-top: 6px; }

/* ---------- FLAVOURS ---------- */
#flavours { background: var(--paper); }
.flav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.flav-card { background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(16px, 1.6vw, 20px); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.flav-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flav-img { width: 100%; aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; background: #FCE6EF; }
.flav-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.flav-card:hover .flav-img img { transform: scale(1.05); }
.flav-num { font-family: var(--fdisplay); font-weight: 600; font-size: 0.72rem; color: var(--ink-mute); letter-spacing: 0.08em; }
.flav-name { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.flav-note { color: var(--ink-soft); font-size: 0.92rem; margin-top: 8px; line-height: 1.45; }
.flav-tag { display: inline-block; margin-top: 14px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pistachio-deep); }
.flav-tag.new { color: var(--berry); }

/* ---------- BUILD A CUP ---------- */
#build { background: var(--ink); color: var(--paper); }
#build .h-section { color: var(--milk); }
#build .h-section em { color: var(--butter); }
#build .sh-num { color: var(--butter); }
#build .sh-intro { color: color-mix(in oklab, var(--paper) 70%, transparent); }
#build .sh-label { color: var(--butter); }
.build-shell { display: grid; grid-template-columns: 1.2fr 0.95fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.build-main { }
.steps-rail { display: flex; gap: 0; margin-bottom: 34px; border-bottom: 1px solid rgba(244,236,221,0.16); }
.step-tab { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 4px 16px; text-align: left; position: relative; transition: color 0.3s; color: color-mix(in oklab, var(--paper) 50%, transparent); }
.step-tab .st-n { font-family: var(--fdisplay); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; }
.step-tab .st-l { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem); letter-spacing: -0.01em; }
.step-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--butter); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.step-tab.active { color: var(--milk); }
.step-tab.active::after { transform: scaleX(1); }
.step-tab.done { color: color-mix(in oklab, var(--paper) 78%, transparent); }

.build-pane { display: none; animation: paneIn 0.45s var(--ease); }
.build-pane.active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pane-head { margin-bottom: 22px; }
.pane-head h3 { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); letter-spacing: -0.02em; color: var(--milk); }
.pane-head p { color: color-mix(in oklab, var(--paper) 64%, transparent); font-size: 0.95rem; margin-top: 4px; }

.opt-row { display: grid; gap: 12px; }
.opt-row.c3 { grid-template-columns: repeat(3, 1fr); }
.opt-row.c2 { grid-template-columns: repeat(2, 1fr); }
.opt-card { border: 1.5px solid rgba(244,236,221,0.2); border-radius: var(--r-md); padding: 20px 16px; cursor: pointer; transition: all 0.25s var(--ease); background: rgba(244,236,221,0.04); position: relative; text-align: left; }
.opt-card:hover { border-color: rgba(244,236,221,0.5); background: rgba(244,236,221,0.08); }
.opt-card.selected { border-color: var(--butter); background: rgba(231,184,78,0.12); }
.opt-card .oc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.opt-card .oc-name { font-family: var(--fdisplay); font-weight: 700; font-size: 1.05rem; color: var(--milk); letter-spacing: -0.01em; }
.opt-card .oc-sub { color: color-mix(in oklab, var(--paper) 58%, transparent); font-size: 0.82rem; margin-top: 2px; }
.opt-card .oc-price { font-family: var(--fdisplay); font-weight: 600; font-size: 0.95rem; color: var(--butter); }
.opt-card .oc-swatch { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: inset 0 -4px 8px rgba(0,0,0,0.2); }
.opt-card.selected .oc-check { position: absolute; top: 12px; right: 14px; }
.opt-card .oc-check { display: none; }
.opt-card.selected .oc-check { display: block; color: var(--butter); }

.topping-pick-wrap { position: relative; }
.topping-pick-wrap::before, .topping-pick-wrap::after { content: ''; position: absolute; left: 0; right: 8px; height: 26px; pointer-events: none; z-index: 2; }
.topping-pick-wrap::before { top: 0; background: linear-gradient(var(--ink), transparent); }
.topping-pick-wrap::after { bottom: 0; background: linear-gradient(transparent, var(--ink)); }
.topping-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 348px; overflow-y: auto; padding: 4px 8px 4px 0; scrollbar-width: thin; scrollbar-color: rgba(244,236,221,0.3) transparent; }
.topping-pick::-webkit-scrollbar { width: 7px; }
.topping-pick::-webkit-scrollbar-thumb { background: rgba(244,236,221,0.26); border-radius: 99px; }
.top-chip { display: flex; align-items: center; gap: 11px; border: 1.5px solid rgba(244,236,221,0.16); border-radius: var(--r-md); padding: 9px 12px 9px 9px; cursor: pointer; background: rgba(255,255,255,0.03); transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease); text-align: left; }
.top-chip:hover { border-color: rgba(244,236,221,0.42); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.top-chip .tc-img { width: 40px; height: 40px; border-radius: 11px; overflow: hidden; flex: none; background: radial-gradient(120% 120% at 30% 20%, color-mix(in oklab, var(--d1) 55%, #fff) 0%, color-mix(in oklab, var(--d2) 50%, #fff) 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.top-chip .tc-img img { width: 100%; height: 100%; object-fit: cover; }
.top-chip .tc-name { font-family: var(--fdisplay); font-weight: 600; font-size: 0.9rem; color: var(--milk); line-height: 1.15; }
.top-chip .tc-price { margin-left: auto; font-family: var(--fdisplay); font-weight: 700; font-size: 0.78rem; color: var(--butter); white-space: nowrap; }
.top-chip .tc-toggle { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(244,236,221,0.32); color: color-mix(in oklab, var(--paper) 70%, transparent); transition: all 0.22s var(--ease-spring); }
.top-chip .tc-toggle svg { width: 15px; height: 15px; }
.top-chip .tc-check { display: none; }
.top-chip.selected { border-color: var(--butter); background: color-mix(in oklab, var(--butter) 16%, transparent); }
.top-chip.selected .tc-price { color: var(--milk); }
.top-chip.selected .tc-toggle { background: var(--butter); border-color: var(--butter); color: var(--ink); transform: scale(1.06); }
.top-chip.selected .tc-plus { display: none; }
.top-chip.selected .tc-check { display: block; }

.build-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.build-back { font-family: var(--fdisplay); font-weight: 600; font-size: 0.84rem; color: color-mix(in oklab, var(--paper) 60%, transparent); display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.build-back:hover { color: var(--milk); }
.build-back svg { width: 15px; height: 15px; }
.build-back[hidden] { visibility: hidden; }
.build-next { margin-left: auto; background: var(--butter); color: var(--ink); }
.build-next:hover { background: #f0c95f; transform: translateY(-2px); }

/* preview cup */
.cup-panel { background: var(--milk); color: var(--ink); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 32px); position: sticky; top: 90px; box-shadow: var(--shadow-lg); }
.cup-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cup-panel-head .cph-t { font-family: var(--fdisplay); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.cup-panel-head .cph-badge { font-family: var(--fdisplay); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--berry); background: var(--blush); padding: 5px 12px; border-radius: var(--r-pill); }
.cup-stage { position: relative; aspect-ratio: 4/5; background: #F8E2EA; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden; }
.cup-svg { width: 76%; height: auto; filter: drop-shadow(0 22px 26px rgba(42,20,29,0.22)); }
.cup-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cup-toppings { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ct-chip { position: absolute; transform: translate(-50%, -50%) scale(0); width: clamp(40px, 5.4vw, 58px); height: clamp(40px, 5.4vw, 58px); animation: ctPop 0.5s var(--ease-spring) forwards; }
.ct-chip .ct-img { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--milk); border: 2.5px solid var(--milk); box-shadow: 0 8px 16px -6px rgba(74,37,51,0.5), inset 0 0 0 1px rgba(74,37,51,0.06); }
.ct-chip .ct-img img { width: 165%; height: 165%; max-width: none; object-fit: cover; transform: translate(-20%, -20%); }
@keyframes ctPop { 0% { transform: translate(-50%, -50%) scale(0) rotate(-12deg); } 70% { transform: translate(-50%, -50%) scale(1.12) rotate(3deg); } 100% { transform: translate(-50%, -50%) scale(1) rotate(0); } }
.cup-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; font-family: var(--fdisplay); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--ink-soft); background: color-mix(in oklab, var(--milk) 86%, transparent); backdrop-filter: blur(6px); padding: 7px 14px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-sm); transition: opacity 0.4s var(--ease); }
.oc-thumb { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.oc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cup-lines { margin-top: 22px; }
.cup-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.cup-line .cl-k { font-family: var(--fdisplay); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.cup-line .cl-v { font-family: var(--fdisplay); font-weight: 600; font-size: 1rem; color: var(--ink); text-align: right; }
.cup-line .cl-v.muted { color: var(--ink-mute); font-weight: 500; }
.cup-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.cup-foot .cf-k { font-family: var(--fdisplay); font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); }
.cup-foot .cf-v { font-family: var(--fdisplay); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; color: var(--berry); }
.cup-cta { width: 100%; justify-content: center; margin-top: 16px; }
.cup-toast { margin-top: 12px; text-align: center; font-family: var(--fdisplay); font-weight: 600; font-size: 0.86rem; color: var(--pistachio-deep); height: 1.1em; opacity: 0; transition: opacity 0.3s; }
.cup-toast.show { opacity: 1; }

/* ---------- TOPPING BAR ---------- */
#toppings { background: var(--milk); }

.tb-stats { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 30px); margin: clamp(22px, 3vw, 34px) 0 clamp(20px, 2.6vw, 30px); padding: clamp(16px, 2vw, 22px) clamp(20px, 2.6vw, 30px); background: linear-gradient(120deg, var(--blush) 0%, var(--blush-2) 100%); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tbs-item { display: flex; flex-direction: column; gap: 2px; }
.tbs-n { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.tbs-l { font-family: var(--fdisplay); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.tbs-div { width: 1px; align-self: stretch; min-height: 30px; background: var(--line); }

.tb-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(26px, 3.4vw, 42px); }
.tb-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.84rem; padding: 9px 9px 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); color: var(--ink-soft); background: var(--milk); transition: all 0.25s var(--ease); }
.tb-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.tb-btn .tb-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tb-btn .tb-ct { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--blush); color: var(--ink-soft); font-size: 0.74rem; font-weight: 700; transition: all 0.25s var(--ease); }
.tb-btn.active { background: var(--ink); border-color: var(--ink); color: var(--milk); }
.tb-btn.active .tb-ct { background: rgba(255,255,255,0.18); color: var(--milk); }

.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.tb-card { display: flex; flex-direction: column; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s; }
.tb-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.tb-card .tk-img { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: radial-gradient(120% 120% at 30% 18%, color-mix(in oklab, var(--d1) 30%, #fff) 0%, color-mix(in oklab, var(--d2) 24%, #fff) 100%); }
.tb-card .tk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tb-card:hover .tk-img img { transform: scale(1.07) rotate(-1deg); }
.tk-cat { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--milk); background: var(--cat-accent); padding: 5px 9px; border-radius: var(--r-pill); box-shadow: 0 2px 8px -2px rgba(74,37,51,0.4); }
.tk-cat[data-star] { color: var(--ink); background: var(--butter); }
.tk-cat svg { width: 11px; height: 11px; }
.tk-price { position: absolute; bottom: 10px; right: 10px; font-family: var(--fdisplay); font-weight: 700; font-size: 0.84rem; color: var(--ink); background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 11px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.tk-add { position: absolute; bottom: 10px; left: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--berry); color: var(--milk); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px) scale(0.8); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-spring); }
.tk-add svg { width: 17px; height: 17px; }
.tb-card:hover .tk-add { opacity: 1; transform: translateY(0) scale(1); }
.tk-body { padding: 15px 16px 18px; }
.tk-name { font-family: var(--fdisplay); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; color: var(--ink); }
.tk-desc { font-size: 0.84rem; color: var(--ink-soft); margin-top: 2px; }
.tb-foot-note { margin-top: clamp(24px, 3vw, 36px); text-align: center; font-size: 0.92rem; color: var(--ink-mute); }
@media (max-width: 540px) { .tb-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .tbs-div:nth-of-type(even) { display: none; } }

/* ---------- MENU ---------- */
#menu { background: var(--paper); }
.menu-board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 60px); box-shadow: var(--shadow); }
.menu-col { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.menu-title { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.menu-subtitle { font-family: var(--fdisplay); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); margin: 20px 0 6px; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.mi-name { font-family: var(--fdisplay); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.mi-note { font-family: var(--fbody); font-weight: 400; font-size: 0.82rem; color: var(--ink-mute); }
.mi-lead { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.mi-price { font-family: var(--fdisplay); font-weight: 700; font-size: 1rem; color: var(--berry); white-space: nowrap; }
.mi-tag { font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pistachio-deep); }
.mi-tag.new { color: var(--berry); }
.menu-foot-note { margin-top: 14px; font-size: 0.86rem; color: var(--ink-mute); }

/* ---------- REWARDS (banner) ---------- */
#rewards { padding: 0; background: var(--paper); }
.rw-banner { position: relative; overflow: hidden; min-height: clamp(300px, 34vw, 440px); display: flex; align-items: center; border-top: 4px solid var(--berry-deep); isolation: isolate; }
.rw-banner-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; z-index: 0; }
.rw-banner-tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #F07AA4 0%, #F07AA4 26%, rgba(240,122,164,0.86) 42%, rgba(240,122,164,0.30) 60%, rgba(240,122,164,0.18) 100%), radial-gradient(rgba(255,255,255,0.10) 1.3px, transparent 1.5px); background-size: auto, 26px 26px; }
.rw-banner-inner { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px) clamp(24px, 6vw, 90px); max-width: 720px; }
.rw-bigword { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(3.2rem, 1.4rem + 8vw, 8rem); line-height: 0.86; letter-spacing: -0.03em; color: var(--milk); text-shadow: 0 6px 22px rgba(150,30,75,0.28); }
.rw-banner-sub { font-family: var(--fdisplay); font-weight: 700; font-size: clamp(1rem, 0.85rem + 1vw, 1.6rem); letter-spacing: 0.02em; text-transform: uppercase; color: var(--milk); margin-top: clamp(14px, 1.6vw, 22px); }
.rw-banner-tag { font-family: var(--fbody); font-style: italic; font-weight: 500; font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem); color: rgba(255,255,255,0.92); margin-top: 8px; }
.rw-join-btn { margin-top: clamp(22px, 2.6vw, 34px); font-family: var(--fdisplay); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--berry-deep); background: var(--milk); border: none; padding: 16px 42px; border-radius: var(--r-pill); cursor: pointer; box-shadow: 0 14px 30px -12px rgba(120,20,60,0.5); transition: transform 0.25s var(--ease), box-shadow 0.25s, color 0.25s; }
.rw-join-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(120,20,60,0.6); color: var(--berry-press); }
.rw-join-btn:active { transform: translateY(-1px); }

/* ---------- REWARDS (join modal) ---------- */
.rw-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.rw-modal[hidden] { display: none; }
.rw-modal-bd { position: absolute; inset: 0; background: rgba(60,15,35,0.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s var(--ease); }
.rw-modal.open .rw-modal-bd { opacity: 1; }
.rw-modal-card { position: relative; z-index: 1; width: min(480px, 100%); max-height: 90vh; overflow-y: auto; background: var(--milk); color: var(--ink); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 40px); box-shadow: 0 50px 90px -30px rgba(80,15,45,0.6); transform: translateY(24px) scale(0.97); opacity: 0; transition: transform 0.34s var(--ease-spring), opacity 0.3s var(--ease); }
.rw-modal.open .rw-modal-card { transform: translateY(0) scale(1); opacity: 1; }
.rw-modal-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--berry), var(--butter)); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.rw-modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; border: none; border-radius: 50%; background: var(--blush); color: var(--ink-soft); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; z-index: 2; }
.rw-modal-close:hover { background: var(--berry); color: var(--milk); transform: rotate(90deg); }
.rw-modal-close svg { width: 18px; height: 18px; }

/* ---- tactile loyalty card ---- */
.loyalty-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 22px 24px; margin-bottom: 26px; min-height: 208px; display: flex; flex-direction: column; gap: 12px; color: #fff; background: radial-gradient(60% 60% at 88% 6%, rgba(247,209,106,0.30), transparent 58%), radial-gradient(70% 60% at 12% 110%, rgba(247,209,106,0.16), transparent 60%), radial-gradient(60% 50% at 18% 8%, rgba(255,255,255,0.10), transparent 60%), linear-gradient(152deg, #303034 0%, #1A1A1D 44%, #0E0E10 74%, #070708 100%); box-shadow: inset 0 0 0 1px rgba(247,209,106,0.18), inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -30px 52px rgba(0,0,0,0.5), 0 30px 56px -20px rgba(0,0,0,0.72), 0 10px 22px rgba(0,0,0,0.46); }
.loyalty-card .lc-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(114deg, transparent 42%, rgba(255,255,255,0.1) 49%, transparent 58%); }
.loyalty-card::after { content: none; }
.loyalty-card > *:not(.lc-glow):not(.lc-bowl) { position: relative; z-index: 1; }
.lc-bowl { position: absolute; z-index: 1; left: 50%; bottom: -10px; transform: translateX(-50%); height: 104%; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 12px 22px rgba(0,0,0,0.5)); -webkit-user-select: none; user-select: none; }
.lc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lc-top { align-items: flex-start; }
.lc-bot { justify-content: flex-start; gap: 10px 14px; flex-wrap: wrap; max-width: 62%; }
.lc-brand { font-family: var(--fdisplay); font-weight: 800; font-size: 1.5rem; line-height: 0.8; letter-spacing: -0.02em; color: #fff; text-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 2px 6px rgba(0,0,0,0.5); }
.lc-chip { font-family: var(--fdisplay); font-weight: 700; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); color: #F7D16A; background: rgba(247,209,106,0.1); border: 1px solid rgba(247,209,106,0.6); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16); white-space: nowrap; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.lc-emv { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.lc-emv-chip { width: 42px; height: 32px; border-radius: 7px; flex: none; background: linear-gradient(135deg, #FBEFC0 0%, #E2C674 38%, #FCF1C8 60%, #C7A24E 100%); box-shadow: inset 0 0 0 1px rgba(120,86,28,0.4), inset 0 1px 2px rgba(255,255,255,0.7), 0 1px 3px rgba(0,0,0,0.45); position: relative; }
.lc-emv-chip::before { content: ''; position: absolute; inset: 5px 0; border-left: 1px solid rgba(120,86,28,0.5); border-right: 1px solid rgba(120,86,28,0.5); left: 13px; right: 13px; }
.lc-emv-chip::after { content: ''; position: absolute; inset: 0 6px; top: 50%; height: 1px; transform: translateY(-0.5px); background: rgba(120,86,28,0.5); box-shadow: 0 -10px 0 rgba(120,86,28,0.38), 0 10px 0 rgba(120,86,28,0.38); }
.lc-wave { width: 20px; height: 20px; color: #F7D16A; }
.lc-rate { margin-top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 0.9; }
.lc-rate b { font-family: var(--fdisplay); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.03em; color: #F7D16A; text-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 3px 12px rgba(247,209,106,0.45); }
.lc-rate span { font-family: var(--fdisplay); font-weight: 700; font-size: 0.7rem; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.92; }
.lc-dots { display: flex; gap: 5px; align-items: center; }
.lc-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.38); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); transition: all 0.3s var(--ease); }
.lc-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.lc-bot { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; max-width: 42%; text-align: right; }
.lc-prog { width: 100%; max-width: 118px; height: 7px; border-radius: var(--r-pill); background: rgba(255,255,255,0.16); overflow: hidden; }
.lc-prog span { display: block; height: 100%; width: 32%; border-radius: var(--r-pill); background: linear-gradient(90deg, #F7D16A, #F3C13E); box-shadow: 0 0 10px rgba(247,209,106,0.7); }
.lc-goal { font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.25; text-align: right; opacity: 0.95; color: #F7D16A; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
/* live member variant */
.loyalty-card.is-live { gap: 14px; }
.loyalty-card .lc-live { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.loyalty-card .mc-points { font-family: var(--fdisplay); font-weight: 800; font-size: 3rem; line-height: 0.86; color: #fff; letter-spacing: -0.03em; }
.loyalty-card .mc-points small { font-size: 0.92rem; font-weight: 600; opacity: 0.82; margin-left: 3px; }
.loyalty-card .mc-next { font-family: var(--fdisplay); font-weight: 600; font-size: 0.82rem; text-align: right; opacity: 0.94; max-width: 14ch; line-height: 1.3; }
.loyalty-card .mc-progress { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,0.26); overflow: hidden; margin: 0; }
.loyalty-card .mc-progress span { display: block; height: 100%; width: 0; border-radius: var(--r-pill); background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.55); transition: width 0.6s var(--ease); }
.rc-head { margin-bottom: 18px; }
.rc-eyebrow { display: inline-block; font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--berry); margin-bottom: 8px; }
.rc-perks { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; padding: 0; }
.rc-perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 14px 8px; background: var(--blush); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.rc-perk svg { width: 22px; height: 22px; color: var(--berry); }
.rc-perk span { display: flex; flex-direction: column; gap: 1px; font-size: 0.7rem; line-height: 1.25; color: var(--ink-mute); }
.rc-perk b { font-family: var(--fdisplay); font-weight: 700; font-size: 0.82rem; color: var(--ink); }

/* member banner + earn line at checkout */
.co-member { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(120deg, var(--berry), var(--berry-deep)); border-radius: var(--r-md); color: var(--milk); box-shadow: var(--shadow-sm); }
.co-member[hidden] { display: none; }
.co-member-av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.22); font-family: var(--fdisplay); font-weight: 800; font-size: 1.1rem; }
.co-member-t { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.co-member-t b { font-family: var(--fdisplay); font-weight: 700; font-size: 0.98rem; }
.co-member-t span { font-size: 0.74rem; opacity: 0.85; }
.co-member-earn { font-family: var(--fdisplay); font-weight: 700; font-size: 0.82rem; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,0.2); white-space: nowrap; }
.co-earn-line { color: var(--berry); font-weight: 700; }
.co-earn-line[hidden] { display: none; }
.co-earn-line span:last-child { color: var(--berry); }

/* confirmation: earned points row + join CTA */
.cd-mrow-pts > span { color: var(--berry); }
.cd-mrow-pts > b { color: var(--berry); }
.cd-join { width: 100%; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; padding: 16px 18px; margin-bottom: 18px; border-radius: var(--r-md); background: linear-gradient(120deg, var(--blush), color-mix(in oklab, var(--berry) 18%, var(--blush))); border: 1px solid var(--line); }
.cd-join[hidden] { display: none; }
.cd-join-txt { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.cd-join-txt b { font-family: var(--fdisplay); font-weight: 800; font-size: 1.15rem; color: var(--berry); }
.cd-join-txt span { font-size: 0.82rem; color: var(--ink-soft); }
.cd-join .btn { flex: none; }
.mc-hello { font-family: var(--fdisplay); font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 18px; }
.rw-card h3 { font-family: var(--fdisplay); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.rc-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fdisplay); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #F4A6C2; background: rgba(232,108,151,0.15); border: 1px solid rgba(232,108,151,0.4); padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 14px; }
.rw-card .rc-sub { color: var(--ink-soft); font-size: 0.95rem; margin: 4px 0 22px; }
.rc-field { margin-bottom: 14px; }
.rc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc-field label { display: block; font-family: var(--fdisplay); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.rc-field input { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--blush); color: var(--ink); transition: all 0.2s; }
.rc-field input::placeholder { color: var(--ink-mute); }
.rc-field input:focus { outline: none; border-color: var(--berry); background: var(--milk); box-shadow: 0 0 0 3px rgba(232,108,151,0.22); }
.rc-submit { width: 100%; justify-content: center; margin-top: 6px; }
.rc-note { text-align: center; font-size: 0.84rem; color: var(--ink-mute); margin-top: 12px; }
.rc-note.err { color: var(--berry-deep); }
.rc-note.ok { color: var(--pistachio-deep); }
.member-card { text-align: left; }
.mc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mc-eyebrow { font-family: var(--fdisplay); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: #F4A6C2; }
.member-card h3 { font-family: var(--fdisplay); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.01em; color: var(--ink); margin-top: 2px; }
.mc-chip { font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--milk); background: var(--berry); padding: 6px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.mc-points-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 22px; }
.mc-points { font-family: var(--fdisplay); font-weight: 800; font-size: 3.4rem; letter-spacing: -0.02em; color: var(--berry); line-height: 1; }
.mc-points small { font-size: 1rem; color: rgba(255,255,255,0.6); font-weight: 600; margin-left: 2px; }
.mc-next { font-family: var(--fdisplay); font-weight: 600; font-size: 0.86rem; color: rgba(255,255,255,0.75); text-align: right; }
.mc-progress { height: 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.12); overflow: hidden; margin: 14px 0 22px; }
.mc-progress span { display: block; height: 100%; width: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--berry-deep), var(--berry)); transition: width 0.6s var(--ease); }
.mc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-actions .btn { justify-content: center; padding: 13px 14px; }
.mc-redeem.is-locked { opacity: 0.45; cursor: not-allowed; }
.mc-redeem.is-locked:hover { transform: none; background: var(--berry); box-shadow: none; }
.mc-visit.btn-outline { border-color: var(--line); color: var(--ink-soft); }
.mc-visit.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--blush); }
.mc-bar { background: var(--blush); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 16px; margin: 18px 0 12px; text-align: center; }
.mc-bar svg { width: 100%; height: 48px; }
.mc-bar .mc-num { display: block; font-family: var(--fdisplay); font-weight: 600; letter-spacing: 0.3em; margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 1.4em; }
.mc-msg { font-family: var(--fdisplay); font-weight: 600; font-size: 0.82rem; color: var(--pistachio-deep); opacity: 0; transition: opacity 0.3s; }
.mc-msg.show { opacity: 1; }
.mc-logout { font-family: var(--fdisplay); font-weight: 600; font-size: 0.82rem; color: var(--ink-mute); white-space: nowrap; }
.mc-logout:hover { color: var(--berry); }

/* ---------- CART ---------- */
.cart-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: var(--milk); color: var(--ink); cursor: pointer; transition: border-color 0.25s, color 0.25s, transform 0.2s; }
.cart-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.cart-btn.has-items { border-color: var(--berry); color: var(--berry); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--berry); color: var(--milk); font-family: var(--fdisplay); font-weight: 700; font-size: 0.7rem; box-shadow: 0 2px 6px -2px rgba(120,30,70,0.6); }

.cart-drawer { position: fixed; inset: 0; z-index: 300; }
.cart-drawer[hidden] { display: none; }
.cart-bd { position: absolute; inset: 0; background: rgba(60,15,35,0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.34s var(--ease); }
.cart-drawer.open .cart-bd { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(80,20,50,0.5); transform: translateX(100%); transition: transform 0.38s var(--ease); }
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 28px) 18px; border-bottom: 1px solid var(--line); background: var(--milk); }
.cart-eyebrow { font-family: var(--fdisplay); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--berry); }
.cart-head h3 { font-family: var(--fdisplay); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); margin-top: 2px; }
.cart-close { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: none; border-radius: 50%; background: var(--blush); color: var(--ink-soft); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.cart-close:hover { background: var(--berry); color: var(--milk); transform: rotate(90deg); }
.cart-close svg { width: 17px; height: 17px; }

.cart-scroll { flex: 1; overflow-y: auto; padding: clamp(16px, 2vw, 22px); }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 12px; }
.ci-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #F8E2EA; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-body { display: flex; flex-direction: column; min-width: 0; }
.ci-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ci-name { font-family: var(--fdisplay); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.ci-price { font-family: var(--fdisplay); font-weight: 700; font-size: 0.92rem; color: var(--berry); }
.ci-remove { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: none; background: none; color: var(--ink-mute); cursor: pointer; border-radius: 50%; transition: background 0.2s, color 0.2s; }
.ci-remove:hover { background: var(--blush); color: var(--berry-deep); }
.ci-remove svg { width: 14px; height: 14px; }
.ci-toppings { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; margin: 2px 0 10px; }
.ci-qty { display: inline-flex; align-items: center; gap: 0; margin-top: auto; align-self: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.qty-btn { width: 30px; height: 30px; border: none; background: var(--milk); color: var(--ink); font-family: var(--fdisplay); font-weight: 700; font-size: 1.05rem; line-height: 1; cursor: pointer; transition: background 0.2s; }
.qty-btn:hover { background: var(--blush); }
.qty-n { min-width: 30px; text-align: center; font-family: var(--fdisplay); font-weight: 700; font-size: 0.92rem; color: var(--ink); }

.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 8vw, 70px) 20px; }
.ce-art { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--milk); border: 1px solid var(--line-soft); color: var(--berry); margin-bottom: 18px; }
.ce-art svg { width: 32px; height: 32px; }
.ce-title { font-family: var(--fdisplay); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.ce-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 22px; max-width: 26ch; }

.cart-foot { padding: clamp(18px, 2.4vw, 24px); border-top: 1px solid var(--line); background: var(--milk); }
.cart-line { display: flex; align-items: center; justify-content: space-between; font-family: var(--fdisplay); font-weight: 600; font-size: 0.95rem; color: var(--ink); padding: 4px 0; }
.cart-line-mute { color: var(--ink-mute); font-size: 0.84rem; }
.cart-total { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-total span:last-child { color: var(--berry); }
.cart-checkout { width: 100%; justify-content: center; margin-top: 16px; }
.cart-note { text-align: center; font-size: 0.78rem; color: var(--ink-mute); margin-top: 10px; }

.cart-done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(28px, 5vw, 48px); }
/* hidden guards — class display rules otherwise override the [hidden] attribute */
.cart-scroll[hidden], .cart-foot[hidden], .checkout-step[hidden], .checkout-foot[hidden], .cart-done[hidden] { display: none !important; }
.cd-check { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--pistachio); color: var(--milk); margin-bottom: 22px; animation: ctPop 0.5s var(--ease-spring); }
.cd-check svg { width: 36px; height: 36px; }
.cd-title { font-family: var(--fdisplay); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--ink); }
.cd-sub { color: var(--ink-soft); font-size: 0.98rem; margin: 6px 0 26px; }
.cd-ticket { width: 100%; background: var(--milk); border: 1px dashed var(--berry); border-radius: var(--r-md); padding: 20px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.cd-k { font-family: var(--fdisplay); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.cd-num { font-family: var(--fdisplay); font-weight: 800; font-size: 2rem; letter-spacing: 0.02em; color: var(--berry); }
.cd-pickup { font-size: 0.86rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.4; }

/* checkout step */
.checkout-step { flex: 1; overflow-y: auto; padding: clamp(16px, 2vw, 22px); }
.co-back { display: inline-flex; align-items: center; gap: 5px; font-family: var(--fdisplay); font-weight: 600; font-size: 0.84rem; color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 4px 0; margin-bottom: 16px; transition: color 0.2s; }
.co-back:hover { color: var(--berry); }
.co-back svg { width: 16px; height: 16px; }
.co-form { display: flex; flex-direction: column; gap: 20px; }
.co-field { display: flex; flex-direction: column; }
.co-field label { font-family: var(--fdisplay); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.co-field input { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--milk); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.co-field input::placeholder { color: var(--ink-mute); }
.co-field input:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px rgba(232,108,151,0.18); }
.co-group { display: flex; flex-direction: column; }
.co-glabel { font-family: var(--fdisplay); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 10px; }
.co-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-seg-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--milk); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.co-seg-btn svg { width: 22px; height: 22px; color: var(--ink-soft); margin-bottom: 4px; }
.co-seg-btn b { font-family: var(--fdisplay); font-weight: 700; font-size: 1rem; color: var(--ink); }
.co-seg-btn span { font-size: 0.78rem; color: var(--ink-mute); }
.co-seg-btn.active { border-color: var(--berry); background: var(--blush); }
.co-seg-btn.active svg { color: var(--berry); }
.co-pay { display: flex; flex-direction: column; gap: 8px; }
.co-pay-opt { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--milk); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.co-pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: border-color 0.2s; }
.co-pay-opt.active { border-color: var(--berry); background: var(--blush); }
.co-pay-opt.active .co-radio { border-color: var(--berry); }
.co-pay-opt.active .co-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--berry); }
.co-pay-t { display: flex; flex-direction: column; }
.co-pay-t b { font-family: var(--fdisplay); font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.co-pay-t small { font-size: 0.78rem; color: var(--ink-mute); }
.co-card-fields { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--blush); border-radius: var(--r-md); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-foot { padding: clamp(18px, 2.4vw, 24px); border-top: 1px solid var(--line); background: var(--milk); }
.co-error { text-align: center; font-family: var(--fdisplay); font-weight: 600; font-size: 0.84rem; color: var(--berry-deep); margin-top: 10px; }
.cd-meta { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; text-align: left; width: 100%; }
.cd-mrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; font-size: 0.86rem; }
.cd-mrow > span { color: var(--ink-mute); flex: none; }
.cd-mrow > b { font-family: var(--fdisplay); font-weight: 700; color: var(--ink); text-align: right; }
.cd-mrow-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 1rem; }
.cd-mrow-total > b { color: var(--berry); }

#reviews { background: var(--paper); overflow: hidden; position: relative; }
.rev-clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rev-clouds .puff { opacity: 0.5; }
#reviews .wrap, #reviews .rev-marquee { position: relative; z-index: 1; }
.rev-top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.rev-sub { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; margin-top: 16px; max-width: 44ch; }
.rev-stat { display: flex; align-items: center; gap: 22px; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px, 2.4vw, 32px); box-shadow: var(--shadow); }
.rst-num { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(3.4rem, 2.4rem + 4vw, 5.6rem); line-height: 0.82; letter-spacing: -0.04em; color: var(--berry); }
.rst-body { display: flex; flex-direction: column; gap: 8px; }
.rst-stars { color: var(--butter); font-size: 1.3rem; letter-spacing: 0.1em; }
.rst-meta b { font-family: var(--fdisplay); font-weight: 700; font-size: 0.98rem; color: var(--ink); display: block; }
.rst-meta span { font-size: 0.86rem; color: var(--ink-mute); }
.rev-marquee { position: relative; }
.rev-marquee::before, .rev-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 130px); z-index: 2; pointer-events: none; }
.rev-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.rev-marquee::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.rev-track { display: flex; gap: 22px; width: max-content; animation: revScroll 60s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes revScroll { to { transform: translateX(-50%); } }
.review { width: clamp(300px, 30vw, 392px); flex: none; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(26px, 2.4vw, 32px); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.review .r-stars { color: var(--butter); font-size: 0.95rem; letter-spacing: 0.06em; margin-bottom: 14px; }
.review .r-quote { font-family: var(--fbody); font-weight: 600; font-size: 1.18rem; line-height: 1.42; color: var(--ink); letter-spacing: -0.005em; }
.review .r-by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.review .r-av { width: 42px; height: 42px; border-radius: 50%; background: var(--berry); color: var(--milk); display: grid; place-items: center; font-family: var(--fdisplay); font-weight: 700; flex: none; box-shadow: var(--shadow-sm); }
.review .r-name { font-family: var(--fdisplay); font-weight: 700; font-size: 0.96rem; color: var(--ink); }
.review .r-src { font-size: 0.78rem; color: var(--ink-mute); }

/* ---------- VISIT ---------- */
#visit { background: var(--blush); color: var(--ink); }
#visit .h-section { color: var(--ink); }
#visit .h-section em { color: var(--berry); }
#visit .sh-num, #visit .sh-label { color: var(--berry); }
#visit .sh-intro { color: var(--ink-soft); }
.visit-photo { border-radius: var(--r-xl); overflow: hidden; margin-bottom: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); aspect-ratio: 16/8; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.visit-info { display: flex; flex-direction: column; background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.visit-block { padding-block: 18px; border-bottom: 1px solid var(--line-soft); }
.visit-block:first-child { padding-top: 0; }
.visit-block:last-of-type { border-bottom: 0; }
.visit-block .vb-k { font-family: var(--fdisplay); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); margin-bottom: 8px; }
.visit-block .vb-v { font-family: var(--fdisplay); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--ink); }
.visit-block .vb-v small { display: block; font-family: var(--fbody); font-weight: 400; font-size: 0.92rem; color: var(--ink-mute); margin-top: 5px; }
.hours-line { display: flex; justify-content: space-between; gap: 16px; font-size: 0.96rem; color: var(--ink-soft); padding: 3px 0; }
.hours-line.today { color: var(--ink); font-weight: 700; }
.hours-line.today b { color: var(--berry); }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.visit-actions .btn-outline { border-color: var(--ink); color: var(--ink); }
.visit-actions .btn-outline:hover { background: var(--ink); color: var(--milk); }
.visit-map { border-radius: var(--r-xl); overflow: hidden; min-height: 440px; box-shadow: var(--shadow); }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.95) contrast(1.02); }

/* ---------- FOOTER ---------- */
footer.site { background: var(--paper); color: var(--ink); padding-block: clamp(56px, 7vw, 92px) 26px; border-top: 1.5px solid var(--ink); }
.foot-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot-logo { display: block; }
.foot-logo img { width: clamp(132px, 16vw, 184px); height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform 0.4s var(--ease); }
.foot-logo:hover img { transform: translateY(-4px) rotate(-2deg); }
.foot-tag { max-width: 46ch; margin: clamp(24px, 3vw, 34px) auto 0; color: var(--ink-soft); font-size: 1.06rem; line-height: 1.55; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.foot-nav a { font-family: var(--fdisplay); font-weight: 600; font-size: 0.9rem; color: var(--ink); padding: 9px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; }
.foot-nav a:hover { background: var(--ink); color: var(--milk); border-color: var(--ink); transform: translateY(-2px); }
.foot-socials { display: flex; gap: 12px; margin-top: 24px; }
.foot-socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--milk); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), background 0.25s, color 0.25s; }
.foot-socials a:hover { background: var(--berry); color: var(--milk); transform: translateY(-3px); }
.foot-socials svg { width: 20px; height: 20px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-top: 32px; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.foot-meta .dot { color: var(--ink-mute); }
.foot-legal { width: 100%; max-width: 720px; margin: 34px auto 0; text-align: left; }
.foot-legal-head { text-align: center; font-family: var(--fdisplay); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.legal-item { border-bottom: 1px solid var(--line-soft); }
.legal-item > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 4px; font-family: var(--fdisplay); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); transition: color 0.2s; }
.legal-item > summary:hover { color: var(--berry); }
.legal-item > summary::-webkit-details-marker { display: none; }
.legal-item > summary::after { content: '+'; font-family: var(--fdisplay); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--berry); transition: transform 0.25s var(--ease); }
.legal-item[open] > summary::after { transform: rotate(45deg); }
.legal-body { padding: 0 4px 18px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.62; }
.legal-body p { margin-bottom: 10px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body b { color: var(--ink); font-weight: 700; }
.legal-body a { color: var(--berry); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { font-style: italic; color: var(--ink-mute); font-size: 0.84rem; }
.foot-abn { color: var(--ink-mute); font-style: italic; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-mute); font-weight: 500; }
.foot-top { font-family: var(--fdisplay); font-weight: 600; color: var(--ink-soft); display: inline-flex; gap: 6px; align-items: center; }
.foot-top:hover { color: var(--berry); }

/* ---------- JOIN: newsletter + careers ---------- */
#join { background: var(--paper); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.join-card { background: var(--milk); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(26px, 3vw, 42px); box-shadow: var(--shadow-sm); }
.jc-careers { background: linear-gradient(162deg, #FFFFFF 0%, var(--blush) 100%); border-color: var(--line); }
.jc-h { font-family: var(--fdisplay); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.02em; color: var(--ink); margin-top: 12px; }
.jc-h em { color: var(--berry); font-style: normal; }
.jc-p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; margin-top: 10px; max-width: 42ch; }
.jc-form { display: flex; gap: 10px; margin-top: 22px; }
.jc-form-col { flex-direction: column; }
.jc-row { display: flex; gap: 10px; }
.jc-form input, .jc-form select { font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--blush); color: var(--ink); width: 100%; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.jc-form input::placeholder { color: var(--ink-mute); }
.jc-form input:focus, .jc-form select:focus { outline: none; border-color: var(--berry); background: var(--milk); box-shadow: 0 0 0 3px rgba(232,108,151,0.22); }
.jc-form .btn { flex: none; white-space: nowrap; }
.jc-note { margin-top: 12px; font-size: 0.86rem; color: var(--ink-mute); }
.jc-note a { color: var(--berry); text-decoration: underline; text-underline-offset: 2px; }
.jc-note.err { color: var(--berry-deep); }
.jc-note.ok { color: var(--pistachio-deep); font-weight: 600; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .jc-form, .jc-row { flex-direction: column; } }

/* ---------- image slot ---------- */
image-slot { --is-bg: var(--blush); --is-color: var(--berry); --is-border: var(--blush-2); }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(46px) scale(0.985); transition: opacity 0.8s var(--ease), transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.49s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .site-row { grid-template-columns: 1fr auto; }
  nav.primary { display: none; }
  .nav-toggle { display: grid; }
  .build-shell, .rw-grid, .visit-grid, .menu-board { grid-template-columns: 1fr; }
  .story-body { grid-template-columns: 1fr; gap: 16px; max-width: 540px; }
  .story-cols { grid-template-columns: 1fr; max-width: 560px; }
  .cup-panel { position: static; }
  .flav-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-top { grid-template-columns: 1fr; align-items: start; }
  .sec-head { grid-template-columns: 1fr; grid-template-areas: "num" "main" "intro"; }
  .sec-head .sh-num { padding-top: 0; }
  .sec-head .sh-intro { justify-self: start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .hero-poster { gap: clamp(2px, 1vw, 20px); }
  .hero-cup-stage { width: clamp(190px, 30vw, 320px); }
}
@media (max-width: 640px) {
  .hero-cup-stage { max-width: 300px; }
  .hero-flavour { right: 0; }
  .hero-meta { gap: 10px 14px; }
}
@media (max-width: 600px) {
  .opt-row.c3 { grid-template-columns: 1fr; }
  .opt-row.c2 { grid-template-columns: 1fr; }
  .topping-pick { grid-template-columns: 1fr; }
  .rc-row { grid-template-columns: 1fr; }
  .flav-grid { grid-template-columns: 1fr 1fr; }
  .rev-stat { width: 100%; }
  .mc-actions { grid-template-columns: 1fr; }
  .steps-rail { overflow-x: auto; }
  .step-tab { min-width: 96px; }
}
@media (max-width: 760px) {
  .header-cta { gap: 8px; }
  .header-cta .btn-ink { padding: 11px 17px; }
  .header-cta .btn-ink .btn-arrow { display: none; }
  .rw-banner-inner { padding: clamp(28px, 7vw, 48px) clamp(22px, 7vw, 40px); max-width: 560px; }
  .rw-banner-tint { background: linear-gradient(90deg, #F07AA4 0%, rgba(240,122,164,0.94) 48%, rgba(240,122,164,0.55) 78%, rgba(240,122,164,0.32) 100%), radial-gradient(rgba(255,255,255,0.10) 1.3px, transparent 1.5px); background-size: auto, 26px 26px; }
}
@media (max-width: 560px) {
  .header-cta .btn-ink { display: none; }
  .rw-modal { padding: 10px; }
  .rw-modal-card { max-height: 94vh; padding: 24px 20px 26px; }
  .rw-modal-close { top: 12px; right: 12px; }
  .rc-perks { gap: 6px; }
  .rc-perk { padding: 12px 5px; gap: 6px; }
  .rc-perk svg { width: 20px; height: 20px; }
  .rc-perk span { font-size: 0.64rem; }
  .rc-perk b { font-size: 0.78rem; }
  .loyalty-card { padding: 20px; min-height: 176px; }
  .co-member-earn { font-size: 0.78rem; padding: 5px 9px; }
}
@media (max-width: 480px) {
  .cd-join { flex-direction: column; align-items: stretch; text-align: center; }
  .cd-join-txt { text-align: center; }
  .cd-join .btn { width: 100%; justify-content: center; }
  .co-seg { grid-template-columns: 1fr; }
  .flav-grid { grid-template-columns: 1fr 1fr; }
  .cd-num { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .fm-track, .rev-track, .hero-cup-img, .hero-cup-toppings, .hero-orbs .orb, .hero-pill .dot, .puff { animation: none !important; }
  [data-parallax] { transform: none !important; }
  .intro-logo, .intro-tag, .intro-bar, .intro-skip { opacity: 1 !important; animation: none !important; transform: none !important; }
  .intro-bar i { transform: scaleX(1) !important; animation: none !important; }
  .hero-sky, .rev-clouds { display: none; }
}
