/* =========================================================
   BRAND COLORS: the logo's blue, black and white.
   Tweak these and the whole site follows.
   ========================================================= */
:root {
  --cream: #f4f7fb;      /* page background, a cool off-white */
  --paper: #ffffff;      /* cards */
  --sand: #e4eaf1;       /* light gray-blue */
  --caramel: #8fbbe8;    /* bright accent blue */
  --latte: #4f6075;      /* slate */
  --cocoa: #12161c;      /* near-black: text / dark buttons */
  --blue: #9cc1e6;       /* soft blue */
  --sky: #d6e6f6;        /* pale blue */
  --blue-deep: #2d63a0;  /* logo blue, links */
  --berry: #bcd5ef;      /* second tile blue */
  --muted: #5b6676;
  --line: #dce3ec;

  --brand-blue: #2d63a0;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);            /* strong ease-out: entrances, hovers, press */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);    /* things moving across the screen (selection pill) */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);       /* playful one-time moments only (straw, toppings, polaroids) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.06; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.16s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--cocoa); color: var(--cream); }
.btn--outline { border-color: var(--cocoa); color: var(--cocoa); }
.btn--light { background: var(--paper); color: var(--cocoa); }

/* Keyboard users can always see where they are */
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.btn:focus-visible, .tab:focus-visible, .goal:focus-visible { outline-offset: 4px; }

/* ---------- Touch: controls respond instantly and their labels can't be long-press selected ---------- */
a, button, .btn, .tab, .goal, .cat, .quickbar a, .nav__toggle {
  touch-action: manipulation;
}
.btn, .tab, .goal, .cat, .quickbar a, .nav__toggle, .stamp, .ticket {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.tab:active, .goal:active { transform: scale(0.97); }
.cat:active { transform: scale(0.98); }
.btn--sm { padding: 9px 20px; font-size: 0.92rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; line-height: 0.95; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.logo__lifters { font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; }
.logo__nutrition { font-weight: 700; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.34em; color: var(--brand-blue); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; padding-top: calc(18px + env(safe-area-inset-top, 0px)); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 247, 251, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.3s;
}
.nav.is-scrolled { padding: 10px 0; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav__seasonal { color: var(--blue-deep) !important; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); font-weight: 400; }
.hero__sub { margin-top: 24px; max-width: 480px; font-size: 1.15rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.status {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 7px 15px 7px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 700;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--latte); }
.status.is-open .status__dot { background: #5fa36a; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 163, 106, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(95, 163, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 163, 106, 0); } }

/* Product stage: one entrance on page load, then everything holds still.
   Base styles are the final state; the keyframes only describe "from". */
.hero__stage { position: relative; height: 560px; }
.hero__blob {
  position: absolute; inset: 6% 2% 4% 10%; z-index: 0;
  background: var(--sky); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  animation: blob-in 0.8s var(--ease) both;
}
@keyframes blob-in { from { transform: scale(0.85) rotate(-8deg); opacity: 0; } }
.hero__arch {
  position: absolute; z-index: 1; left: 20%; top: 0; width: 62%; height: 92%;
  border-radius: 999px 999px 28px 28px; overflow: hidden;
  border: 8px solid var(--paper); box-shadow: 0 30px 60px -30px rgba(18, 22, 28, 0.45);
  animation: arch-in 0.9s var(--ease-in-out) 0.1s both;
}
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.2s var(--ease) 0.1s both; }
@keyframes settle { from { transform: scale(1.18); } }
.hero__circle {
  position: absolute; z-index: 2; left: 0; bottom: 6%; width: 38%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 7px solid var(--paper);
  box-shadow: 0 20px 40px -20px rgba(18, 22, 28, 0.5);
  animation: pop 0.6s var(--ease) 0.5s both;
}
.hero__circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 88%; }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } }

/* Stamps and a ticket instead of plain labels: they set down once and stay put */
.stamp, .ticket { position: absolute; z-index: 3; box-shadow: 0 14px 28px -14px rgba(18, 22, 28, 0.45); animation: set-down 0.6s var(--ease) both; }
@keyframes set-down { from { opacity: 0; transform: translateY(-14px) scale(1.12); } }
.stamp {
  display: grid; place-content: center; width: 104px; height: 104px; border-radius: 50%;
  text-align: center; background: var(--caramel); color: var(--cocoa);
  outline: 1.5px dashed rgba(18, 22, 28, 0.35); outline-offset: -8px;
}
.stamp strong { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; line-height: 1; }
.stamp small { margin-top: 3px; font-size: 0.68rem; font-weight: 800; line-height: 1.15; letter-spacing: 0.02em; }
.stamp--light { background: var(--paper); color: var(--blue-deep); outline-color: rgba(18, 22, 28, 0.25); }
.ticket {
  padding: 12px 24px; background: var(--blue-deep); color: var(--cream);
  font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 8px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.chip--a { right: 0; top: 10%; rotate: 8deg; animation-delay: 0.65s; }
.chip--b { right: 6%; top: 60%; rotate: -6deg; animation-delay: 0.73s; }
.chip--c { left: 2%; top: 6%; rotate: -4deg; animation-delay: 0.81s; }

/* Headline: each word rises out of its own line mask (words are wrapped by script.js) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero h1 .w > span { display: inline-block; animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes rise { from { transform: translateY(110%); } }

/* ---------- Seasonal special ---------- */
.seasonal { padding: 0 0 100px; }
.seasonal__card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 50px; align-items: center;
  padding: clamp(26px, 5vw, 52px); border-radius: 28px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--paper) 60%);
  border: 1px solid var(--line);
}
.seasonal__head { max-width: 480px; }
.seasonal__tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 0.95rem; font-weight: 700; color: var(--blue-deep);
}
.seasonal__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-deep); }
.seasonal__card--social { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.seasonal__card--social h2 { max-width: 16ch; }

/* ---------- Category tiles ---------- */
.cats { padding: 0 0 110px; }
.cats__head { margin-bottom: 30px; }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  aspect-ratio: 3 / 4; padding: 14px 14px 18px; border-radius: 26px; overflow: hidden;
  text-decoration: none; isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* The photo takes whatever room the label leaves, so a two-line label never covers it */
.cat img {
  flex: 1; min-height: 0; width: 100%;
  object-fit: cover; border-radius: 18px; z-index: -1; transition: transform 0.4s var(--ease);
}
.cat__label { padding: 0 4px; }
.cat--blue { background: #e3eefa; }
.cat--pink { background: #c4dbf3; }
.cat--sand { background: #a6c8ec; }
.cat--caramel { background: #84b2e2; }
.cat__label strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.cat__label small { font-weight: 600; font-size: 0.85rem; color: rgba(18, 22, 28, 0.7); }

/* ---------- Brand band ---------- */
.band { position: relative; background: var(--blue-deep); color: var(--cream); padding: 110px 0; }
.wave { position: absolute; left: 0; width: 100%; height: 50px; fill: var(--cream); }
.wave--top { top: -1px; transform: scaleY(-1); }
.wave--bottom { bottom: -1px; transform: scaleY(-1); }
.band h2 { max-width: 760px; }
.band__stats { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.band__stats li { padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, 0.3); }
.band__stats strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 3.2rem; line-height: 1; color: #fff; }
.band__stats span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

/* ---------- Goal picker ---------- */
.goals { padding: 110px 0 100px; }
.goals__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 28px; }
.goals__head p { max-width: 360px; color: var(--muted); }
.goals__chips { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.goal {
  position: relative; z-index: 1;
  border: 2px solid var(--line); background: var(--paper); color: var(--cocoa); cursor: pointer;
  font: 700 0.98rem var(--font-body); padding: 11px 20px; border-radius: 999px; min-height: 46px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.12s var(--ease);
}
.goal.is-active { background: transparent; border-color: transparent; color: var(--cream); }
.goals__lead { margin-bottom: 22px; }
/* Goal switching happens often: short, small, no bounce */
.goals__lead > * { animation: rise-soft 0.25s var(--ease) both; }
.goals__lead p { animation-delay: 0.04s; }
@keyframes rise-soft { from { opacity: 0; transform: translateY(6px); } }
.goals__lead h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--blue-deep); }
.goals__lead p { color: var(--muted); }
.goals__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Product cards (menu + goals): photo if one exists, otherwise a drawn
   cup or bowl in the product's color, styled like the Lifters cups */
.product {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.goals__results .product { animation: popin 0.25s var(--ease) both; }
.goals__results .product:nth-child(2) { animation-delay: 0.04s; }
.goals__results .product:nth-child(3) { animation-delay: 0.08s; }
.goals__results .product:nth-child(4) { animation-delay: 0.12s; }
@keyframes popin { from { opacity: 0; transform: translateY(8px); } }
.product__media {
  position: relative; display: grid; place-items: end center; aspect-ratio: 1 / 0.9; padding-bottom: 16px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--c) 35%, transparent) 0 38%, transparent 39%),
    color-mix(in srgb, var(--c) 18%, var(--cream));
}
/* Phone photos are tall with the cup or bowl in the lower half, so frame toward the bottom */
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.product__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 16px 18px 18px; }
.product strong { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.product p { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.product__num { font-size: 0.8rem; font-weight: 800; color: var(--blue-deep); }
.product__tag {
  align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px;
  background: var(--sky); color: var(--blue-deep); font-size: 0.78rem; font-weight: 700;
}
.product__price {
  align-self: flex-start; margin-top: auto; transform: translateY(6px);
  padding: 4px 14px; border-radius: 999px; background: var(--blue-deep); color: #fff;
  font-family: var(--font-display); font-size: 1.02rem;
}

.cup, .bowl { position: relative; display: block; transition: transform 0.3s var(--ease); }

/* Menu product grids */
.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.products .product strong { font-size: 1.08rem; }
.products__title { margin: 40px 0 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.products__title:first-child { margin-top: 0; }
.products__title span { margin-left: 8px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-bottom: 30px; }
.panel-head .price-head { margin-bottom: 0; }
.panel-head .menu__aside { max-width: 420px; }
.menu__aside--end { margin-top: 36px; max-width: 520px; }

.cup { width: 64px; height: 112px; }
.cup i, .bowl i { position: absolute; display: block; }
/* Cups start empty and fill with the drink's color when they scroll into view
   (script.js adds .is-filled); the straw drops in once it's full. */
.cup__straw {
  left: 36px; top: 0; width: 7px; height: 40px; border-radius: 4px; background: var(--cocoa);
  transform: translateY(-16px) rotate(14deg); transform-origin: bottom; opacity: 0;
  transition: transform 0.4s var(--bounce), opacity 0.15s; transition-delay: calc(var(--i, 0) * 60ms + 0.6s);
}
.cup__lid { left: -5px; top: 26px; width: 74px; height: 11px; border-radius: 6px; background: #fff; box-shadow: inset 0 -2px 0 rgba(18, 22, 28, 0.12); }
.cup__body {
  left: 0; bottom: 0; width: 64px; height: 76px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: rgba(255, 255, 255, 0.7);
}
.cup__body::before, .cup__body::after { content: ""; position: absolute; inset: 0; }
.cup__body::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 16%, transparent 16%), var(--c);
  transform: translateY(101%);
  transition: transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 0.1s);
}
.cup__body::after { background: radial-gradient(circle at 50% 46%, #fff 0 11px, var(--cocoa) 11.5px 12.5px, transparent 13px); }
.is-filled .cup__body::before { transform: none; }
.is-filled .cup__straw { transform: rotate(14deg); opacity: 1; }

.bowl { width: 104px; height: 70px; }
.bowl__body {
  left: 0; bottom: 0; width: 104px; height: 50px; border-radius: 6px 6px 52px 52px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 14%, transparent 14%), var(--c);
}
/* Toppings drop onto the bowl */
.bowl__top {
  left: 10px; top: 0; width: 84px; height: 26px; border-radius: 50%;
  background:
    radial-gradient(circle at 22% 60%, #e4566a 0 7px, transparent 7.5px),
    radial-gradient(circle at 48% 40%, #f3d27a 0 8px, transparent 8.5px),
    radial-gradient(circle at 72% 62%, #5b4a9e 0 6px, transparent 6.5px),
    #fff6e8;
  transform: translateY(-22px) scale(0.6); opacity: 0;
  transition: transform 0.45s var(--bounce), opacity 0.2s; transition-delay: calc(var(--i, 0) * 60ms + 0.15s);
}
.is-filled .bowl__top { transform: none; opacity: 1; }

/* Real photos fade in instead of popping */
.product__media img { opacity: 0; transition: opacity 0.4s var(--ease); }
.product__media img.is-loaded { opacity: 1; }

/* ---------- Photo slots ---------- */
.photo { position: relative; overflow: hidden; border-radius: 18px; min-height: 200px; background: var(--sand); }
.photo > img, .photo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.photo--tall { min-height: 480px; height: 100%; }

/* ---------- Menu ---------- */
.menu { padding: 100px 0; background: var(--paper); border-block: 1px solid var(--line); }
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 32px; }
.menu__head p { max-width: 340px; color: var(--muted); }
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab {
  position: relative; z-index: 1;
  border: 2px solid var(--line); background: transparent; color: var(--cocoa); cursor: pointer;
  font: 700 0.95rem var(--font-body); padding: 9px 22px; border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, transform 0.12s var(--ease);
}
.tab.is-active { color: #fff; border-color: transparent; }

/* Sliding selection pill behind tabs and goal chips (positioned by script.js).
   It's absolutely positioned, so its width change doesn't reflow anything around it. */
.slider-pill {
  position: absolute; z-index: 0; left: 0; top: 0; border-radius: 999px; background: var(--blue-deep);
  transition: transform 0.28s var(--ease-in-out), width 0.28s var(--ease-in-out), height 0.28s var(--ease-in-out);
  pointer-events: none;
}
.goals__chips .slider-pill { background: var(--cocoa); }
.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: fadeIn 0.2s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }

.price-head { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.price-head > div { display: grid; padding: 14px 22px; min-width: 170px; background: var(--sky); border-radius: 16px; }
.price-head > div + div { background: var(--sand); }
.price-head > div:nth-child(3) { background: var(--paper); border: 1px solid var(--line); }
.price-head__label { font-size: 0.88rem; font-weight: 700; color: var(--blue-deep); }
.price-head strong { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1.15; }
.price-head small { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

.menu__aside { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--latte); padding-left: 20px; border-left: 3px solid var(--blue); }
.menu__fine { margin-top: 40px; color: var(--muted); font-size: 0.85rem; }

/* ---------- Feature ---------- */
.feature { padding: 120px 0; }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature__photo { position: relative; }
.feature__photo .photo { border-radius: 28px; }
.feature__copy > p { margin-top: 22px; color: var(--muted); font-size: 1.1rem; max-width: 460px; }
.callout { display: grid; gap: 2px; margin-top: 30px; padding: 18px 22px; border-radius: 16px; background: var(--sky); }
.callout strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.callout span { color: var(--cocoa); opacity: 0.8; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 360px; margin: 20px 0 0; }
.facts div { padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.facts dt { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1.1; }

/* ---------- Combos ---------- */
.combos { padding: 0 0 120px; }
.combos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 28px; }
.combos__head p { max-width: 360px; color: var(--muted); }
.combos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.combo__art {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 168px; padding-bottom: 18px;
  background: color-mix(in srgb, var(--caramel) 22%, var(--cream));
}
.combo:nth-child(2) .combo__art { background: color-mix(in srgb, var(--berry) 40%, var(--cream)); }
.combo:nth-child(3) .combo__art { background: color-mix(in srgb, var(--sand) 70%, var(--cream)); }
.combo:nth-child(4) .combo__art { background: color-mix(in srgb, var(--sky) 55%, var(--cream)); }
.combo__one { display: block; }
.combo__art { position: relative; overflow: hidden; }
.combo__art:has(img) { height: 240px; }
.combo__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s var(--ease); }
.combo__art img.is-loaded { opacity: 1; }
.combo__plus { align-self: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--latte); }
.combo__num { font-size: 0.88rem; font-weight: 700; color: var(--muted); }

/* ---------- Family ---------- */
.family { padding: 20px 0 120px; }
.family__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 30px; }
.family__head p { color: var(--muted); margin-top: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.ig, .fb {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; color: #fff;
  transition: transform 0.2s var(--ease);
}
.ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.fb { background: #1877f2; }
.ig[hidden], .fb[hidden] { display: none; }
.ig:active, .fb:active { transform: scale(0.97); }
.fb svg { width: 20px; height: 20px; fill: currentColor; }
.ig svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.family__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.family__grid .photo { min-height: 0; border-radius: 22px; }
.family__grid .photo > img { object-position: center 30%; }
.family__grid .photo:first-child { grid-row: span 2; }
.family__grid .photo:last-child { grid-column: span 2; }

/* ---------- Reviews ---------- */
.reviews { padding: 0 0 110px; }
.reviews__grid { display: grid; grid-template-columns: 0.9fr 1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.reviews__score {
  display: flex; flex-direction: column; justify-content: center; padding: 30px;
  border-radius: 26px; background: var(--blue-deep); color: var(--cream);
}
.reviews__score strong { font-family: var(--font-display); font-weight: 600; font-size: 4.6rem; line-height: 0.9; }
.stars { margin-top: 8px; font-size: 1.3rem; letter-spacing: 3px; color: var(--caramel); }
.reviews__score p { margin: 6px 0 18px; opacity: 0.85; }
.reviews__score .link-arrow { align-self: flex-start; color: var(--cream); border-color: rgba(255, 255, 255, 0.35); }
.quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin: 0;
  padding: 28px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line);
}
.quote--alt { background: var(--sand); border-color: transparent; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.4; }
.quote figcaption { font-size: 0.85rem; font-weight: 700; color: var(--muted); }

/* ---------- Visit ---------- */
.visit { padding: 0 0 120px; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.visit__card { background: var(--sand); border-radius: 28px; padding: clamp(28px, 5vw, 52px); }
.hours { width: 100%; border-collapse: collapse; margin: 28px 0; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid rgba(18, 22, 28, 0.14); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th::after { content: "today"; margin-left: 10px; padding: 2px 8px; border-radius: 99px; background: var(--blue); font-size: 0.72rem; vertical-align: 2px; }
.visit__addr { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.visit__addr a { color: var(--blue-deep); font-weight: 700; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Highlight after a "Call to order" button scrolls here */
.visit__phone { margin: -8px -12px; padding: 8px 12px; border-radius: 14px; transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.visit__phone a { font-size: 1.1rem; }
.visit__phone.is-highlighted { background: var(--paper); box-shadow: 0 0 0 3px var(--caramel); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer__info { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; color: var(--muted); font-size: 0.9rem; }
.footer__info a { color: inherit; }
.footer__credit { opacity: 0.75; }
.quickbar { display: none; }

/* ---------- Hover: only for a real mouse, so taps on a phone never leave things stuck "hovered" ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(18, 22, 28, 0.5); }
  .btn:active { transform: scale(0.97); }
  .btn--dark:hover { background: var(--blue-deep); }
  .btn--outline:hover { background: var(--cocoa); color: var(--cream); }
  .btn--light:hover { background: var(--cream); }
  .nav__links a:not(.btn):hover { color: var(--cocoa); }
  .tab:hover { border-color: var(--latte); }
  .goal:hover { border-color: var(--cocoa); }
  .cat:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -24px rgba(18, 22, 28, 0.5); }
  .cat:hover img { transform: scale(1.04); }
  .ig:hover, .fb:hover { transform: translateY(-2px); }
  .reviews__score .link-arrow:hover { border-color: var(--cream); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .feature__grid, .visit__grid, .menu__panel, .seasonal__card { grid-template-columns: 1fr; }
  .menu__panel { gap: 30px; }
  .hero { padding-top: 120px; }
  .hero__stage { height: 480px; max-width: 560px; width: 100%; margin-inline: auto; }
  .photo--tall { min-height: 340px; }
  .feature__grid { gap: 40px; }
  .cats__grid { grid-template-columns: repeat(2, 1fr); }
  .goals__results { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .combos__grid { grid-template-columns: repeat(2, 1fr); }
  .band__stats { grid-template-columns: repeat(2, 1fr); }
  .nav__links { gap: 20px; }
}
/* The four nav links only fit side by side on wide screens; below that they open from the menu button */
@media (max-width: 1080px) {
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; z-index: 2;
    border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--cocoa); transition: transform 0.3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 24px; padding: 0 24px;
    background: var(--cream); font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .nav__links a:not(.btn) { color: var(--cocoa); }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__cta { font-family: var(--font-body); font-size: 1rem; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }

  .hero { padding: 104px 0 50px; }
  .hero__grid { gap: 30px; }
  .hero__sub { font-size: 1.05rem; }
  .hero__actions .btn { flex: 1 1 100%; padding: 16px; }
  .hero__stage { height: 380px; }
  .hero__arch { border-width: 6px; }
  .hero__circle { border-width: 5px; width: 40%; }
  .stamp { width: 80px; height: 80px; outline-offset: -6px; }
  .stamp strong { font-size: 1.4rem; }
  .stamp small { font-size: 0.58rem; }
  .ticket { font-size: 0.9rem; padding: 9px 18px; }
  .chip--a { right: -2%; top: 8%; }
  .chip--c { left: 0; top: 0; }

  .seasonal { padding-bottom: 60px; }
  .seasonal__card { border-radius: 22px; }

  .cats { padding-bottom: 70px; }
  .cats__grid { gap: 12px; }
  .cat { padding: 10px 10px 12px; gap: 10px; border-radius: 20px; }
  .cat img { border-radius: 14px; }
  .cat__label strong { font-size: 1.15rem; }
  .cat__label small { font-size: 0.72rem; }

  .band { padding: 80px 0; }
  .band__stats { gap: 22px 16px; margin-top: 34px; }
  .band__stats strong { font-size: 2.4rem; }
  .band__stats span { font-size: 0.85rem; }

  .goals { padding: 70px 0; }
  .goals__chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: -16px; padding: 2px 16px 4px;
  }
  .goals__chips::-webkit-scrollbar { display: none; }
  .goals__chips, .tabs { overscroll-behavior-x: contain; } /* a sideways swipe here shouldn't trigger browser back */
  .goal { flex: none; }
  .goals__results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product { border-radius: 18px; }
  .product__media { padding-bottom: 10px; }
  .product__media .cup, .product__media .bowl { transform: scale(0.8); transform-origin: bottom; }
  .product__body { padding: 12px 12px 14px; }
  .product strong, .products .product strong { font-size: 1rem; }
  .product p { font-size: 0.78rem; }
  .product__price { font-size: 0.9rem; padding: 3px 11px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products__title { font-size: 1.25rem; margin-top: 30px; }
  .panel-head { margin-bottom: 20px; }

  .menu, .feature { padding: 70px 0; }
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: -16px; padding: 2px 16px; scroll-snap-type: x proximity;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; min-height: 44px; padding: 10px 18px; scroll-snap-align: start; }
  .price-head > div { flex: 1; min-width: 0; padding: 12px 16px; }
  .price-head > div:nth-child(3) { flex-basis: 100%; }
  .price-head strong { font-size: 1.6rem; }

  .family { padding-bottom: 70px; }
  .family__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 200px; }
  .family__grid .photo:first-child { grid-row: auto; grid-column: span 2; }
  .family__grid .photo:last-child { grid-column: span 2; }

  .combos { padding-bottom: 70px; }
  .combos__grid { gap: 10px; }
  .combo__art { height: 128px; padding-bottom: 10px; gap: 0; }
  .combo__art:has(img) { height: 190px; }
  .combo__one .cup, .combo__one .bowl { transform: scale(0.72); transform-origin: bottom; }
  .combo__one .bowl { margin: 0 -14px; }
  .reviews { padding-bottom: 70px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 12px; }
  .reviews__score { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 22px; }
  .reviews__score strong { font-size: 3.4rem; }
  .reviews__score p { margin: 0; flex-basis: 100%; }
  .reviews__score .link-arrow { margin-top: 8px; }
  .quote { padding: 22px; }
  .quote blockquote { font-size: 1.1rem; }
  .visit { padding-bottom: 70px; }
  .visit__addr { grid-template-columns: 1fr; }
  .visit__actions .btn { flex: 1 1 100%; padding: 16px; }
  .visit__map iframe { min-height: 320px; }

  .footer { padding-bottom: 96px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  .quickbar {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--cocoa); border-radius: 18px; overflow: hidden;
    box-shadow: 0 12px 30px -10px rgba(18, 22, 28, 0.5);
  }
  .quickbar a {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0 9px;
    color: var(--cream); text-decoration: none; font-size: 0.78rem; font-weight: 700;
  }
  .quickbar a + a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .quickbar a:active { background: rgba(255, 255, 255, 0.08); }
  .quickbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .quickbar a:first-child { background: var(--blue-deep); }
}

/* Reduced motion: no movement, but keep gentle fades and color changes so state changes still read */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-property: opacity, color, background-color, border-color !important;
    transition-duration: 0.2s !important;
    transition-delay: 0s !important;
  }
  .cup__body::before, .bowl__top { transform: none; opacity: 1; }
  .cup__straw { transform: rotate(14deg); opacity: 1; }
}
