/* HAM Bakery — brand tokens from the logo, price list and shop sign */
:root {
  --ham: #f3c141;          /* logo yellow */
  --ham-deep: #e0a82a;
  --ink: #2b211c;          /* logo outline */
  --olive: #4f5b2a;        /* price-list ribbon */
  --olive-deep: #3c4620;
  --leaf: #2e8a4e;         /* "since 2010" green */
  --butter: #f7e6bc;       /* price-list background */
  --butter-2: #f2dba3;
  --ivory: #fff8ea;        /* card arch */
  --muted-ink: #6b5a4c;
  --white: #ffffff;

  --text-color: #ffffff;
  --muted-color: rgba(255, 255, 255, .78);
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .18);

  --f-display: 'Unbounded', 'Noto Sans Armenian', system-ui, sans-serif;
  --f-body: 'Manrope', 'Noto Sans Armenian', system-ui, sans-serif;
  --f-arm: 'Noto Sans Armenian', 'Unbounded', sans-serif;

  /* hero variant (animated by GSAP) */
  --bg-inner: #f4c54a;
  --bg-mid: #a8711a;
  --bg-outer: #3a2306;

  --r-lg: 28px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--butter);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ham); outline-offset: 3px; border-radius: 10px; }
.hidden { display: none !important; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- logo word (ՀԱՄ) ---------- */
.ham-word {
  font-family: var(--f-arm);
  font-weight: 900;
  font-style: italic;
  color: var(--ham);
  -webkit-text-stroke: .06em var(--ink);
  paint-order: stroke fill;
  letter-spacing: .01em;
  line-height: 1;
  display: inline-block;
  padding: .06em .12em .14em .04em;
}
.ham-word.big { font-size: clamp(5.5rem, 11vw, 12.5rem); }
.ham-word.mid { font-size: 3.2rem; }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: #f0c46a;
  display: grid; place-items: center;
  transition: opacity .8s ease, visibility .8s;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1s ease, transform 1.4s ease; }
.intro.show-logo video { filter: brightness(.72) blur(3px); transform: scale(1.04); }
.intro-logo {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: scale(.6) translateY(20px);
  transition: opacity .6s ease, transform .9s var(--spring);
  filter: drop-shadow(0 18px 30px rgba(43, 33, 28, .35));
}
.intro-logo .ham-word { font-size: clamp(4.5rem, 12vw, 9rem); }
.intro.show-logo .intro-logo { opacity: 1; transform: none; }
.intro-sub {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(.8rem, 1.6vw, 1rem);
  color: var(--ink); background: var(--ivory); padding: .35rem .9rem; border-radius: 99px; margin-top: .2rem;
}
.intro-skip {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  background: rgba(43, 33, 28, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .3);
  padding: .7rem 1.3rem; border-radius: 99px; font-weight: 700; font-size: .85rem;
  backdrop-filter: blur(10px);
}

/* ---------- sprinkles (soda bubbles → falling sprinkles) ---------- */
#sprinkles { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; min-height: 680px; pointer-events: none; z-index: 2; overflow: hidden; }
.sprinkle { position: absolute; top: -30px; border-radius: 99px; pointer-events: none; }
@keyframes fallSprinkle {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .9; }
  100% { transform: translateY(110vh) translateX(30px) rotate(540deg); opacity: 0; }
}

/* ---------- header ---------- */
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4%;
  position: fixed; top: 0; width: 100%; z-index: 100;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.header::before { /* blur lives on a pseudo so the fixed mobile nav isn't trapped */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(247, 230, 188, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(43, 33, 28, .08);
  transition: opacity .4s ease;
}
.header.solid { padding-block: .6rem; }
.header.solid::before { opacity: 1; }
.logo { text-decoration: none; display: flex; }
.logo-badge {
  width: 68px; height: 68px; border-radius: 50%; display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .5s var(--spring), width .4s ease, height .4s ease;
}
.logo:hover .logo-badge { transform: rotate(-10deg) scale(1.06); }
.logo-bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin-bottom: 1px; }
.logo-ham {
  font-family: var(--f-arm); font-weight: 900; font-style: italic; font-size: 1.32rem; line-height: 1;
  color: var(--ham); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
}
.logo-sub { font-family: var(--f-arm); font-weight: 800; font-size: .42rem; letter-spacing: .18em; color: var(--ink); margin-top: 1px; }
.header.solid .logo-badge { width: 54px; height: 54px; }
.header.solid .logo-ham { font-size: 1.08rem; }

.nav { display: flex; gap: .3rem; padding: .35rem; border-radius: 100px; }
.nav.glass {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(255, 255, 255, .1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-item {
  font-family: var(--f-body); color: rgba(255, 255, 255, .86); text-decoration: none;
  font-size: .86rem; font-weight: 700; padding: .5rem 1.1rem; border-radius: 100px;
  transition: background .3s ease, color .3s ease, transform .3s var(--spring);
  white-space: nowrap;
}
.nav-item:hover, .nav-item.active { background: var(--ham); color: var(--ink); }
.nav-item:active { transform: scale(.94); }
.header.solid .nav.glass { background: rgba(255, 248, 234, .7); border-color: rgba(43, 33, 28, .1); }
.header.solid .nav-item { color: var(--ink); }
.header.solid .nav-item:hover, .header.solid .nav-item.active { background: var(--ink); color: var(--ham); }

.header-right { display: flex; align-items: center; gap: .6rem; }
.lang { display: flex; background: rgba(0, 0, 0, .35); border-radius: 99px; padding: .25rem; backdrop-filter: blur(10px); }
.lang button {
  border: 0; background: transparent; color: #fff; font-weight: 800; font-size: .72rem;
  padding: .45rem .65rem; border-radius: 99px; transition: background .3s, color .3s;
}
.lang button.active { background: var(--ham); color: var(--ink); }
.header.solid .lang { background: rgba(43, 33, 28, .9); }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: var(--ham); display: grid; place-items: center;
  transition: transform .4s var(--spring), box-shadow .3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.cart-btn:hover { transform: translateY(-2px) rotate(-6deg); }
.cart-btn.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.25) rotate(-10deg); } 100% { transform: scale(1); } }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 99px; background: var(--ham); color: var(--ink); font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4%; padding-top: 5rem;
  background: radial-gradient(circle at 55% 50%, var(--bg-inner) 0%, var(--bg-mid) 50%, var(--bg-outer) 100%);
  color: var(--text-color);
  overflow: hidden;
  isolation: isolate;
}
.hero::after { /* soft bite into the cream page below */
  content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; z-index: 3;
  background: var(--butter);
  -webkit-mask: radial-gradient(60px 46px at 60px 0, transparent 98%, #000) -60px 0 / 120px 100% repeat-x;
          mask: radial-gradient(60px 46px at 60px 0, transparent 98%, #000) -60px 0 / 120px 100% repeat-x;
  pointer-events: none;
}
.hero-content {
  display: flex; justify-content: space-between; align-items: stretch;
  width: 100%; height: 100%; position: relative;
}
.main-title, .side-title { font-weight: 400; white-space: nowrap; color: #fff; }
.main-title { display: flex; flex-direction: column; align-items: flex-start; line-height: .8; }
.main-title-sub {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.6rem);
  letter-spacing: .02em; margin: -.1em 0 0 .3em; color: #fff;
}

.leaves-container, .berries-container, .berries-container-bg {
  position: absolute; inset: 0; pointer-events: none; transition: transform .1s ease-out;
}
.leaves-container { z-index: -1; }
.berries-container-bg { z-index: 0; }
.berries-container { z-index: 110; }
.leaf { position: absolute; width: 60px; height: 60px; pointer-events: none; filter: drop-shadow(0 5px 15px rgba(0, 0, 0, .2)); }
.l1 { top: 10%; left: 15%; }
.l2 { top: 40%; left: 80%; width: 140px; height: 140px; opacity: .4; }
.l3 { top: 70%; left: 75%; width: 80px; height: 80px; }
.l4 { top: 85%; left: 20%; width: 120px; height: 120px; opacity: .3; }

.hero-left {
  display: flex; flex-direction: column; height: 100%;
  padding: 4.5rem 0 4.5rem; gap: 1.6rem; z-index: 100; max-width: 460px;
}
.description { color: var(--muted-color); font-size: 1.08rem; line-height: 1.6; max-width: 400px; text-wrap: pretty; }
.cta-group { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.primary-btn, .pill-btn {
  display: inline-flex; align-items: center; gap: 1.2rem;
  background: rgba(0, 0, 0, .5); color: #fff; border: none; text-decoration: none;
  padding: .4rem .4rem .4rem 1.5rem; border-radius: 100px; font-weight: 800; font-size: .95rem;
  width: fit-content; transition: background .3s ease, transform .35s var(--spring), box-shadow .3s;
}
.primary-btn:hover, .pill-btn:hover { background: rgba(0, 0, 0, .72); transform: translateY(-3px); }
.primary-btn:active, .pill-btn:active { transform: scale(.96); }
.plus-icon {
  background: var(--ham); color: var(--ink); width: 38px; height: 38px; flex: none;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-size: 1.4rem; font-weight: 900; line-height: 1; padding-bottom: 2px;
  transition: transform .5s var(--spring);
}
.primary-btn:hover .plus-icon, .pill-btn:hover .plus-icon { transform: rotate(90deg); }
.ghost-btn { background: transparent; font-family: inherit; cursor: pointer;
  color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; padding: .8rem 1.1rem;
  border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); transition: background .3s, transform .35s var(--spring);
}
.ghost-btn:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.award-badge { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.award-icon {
  width: 48px; height: 48px; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.award-text { display: flex; flex-direction: column; }
.award-title { font-size: .78rem; color: var(--muted-color); }
.award-subtitle { font-size: .9rem; font-weight: 800; text-decoration: none; }
.award-subtitle:hover { text-decoration: underline; }

.hero-center {
  position: absolute; inset: 0; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 236, 180, .18) 0%, transparent 62%);
}
.hero.ready .hero-center { animation: fadeIn 1.5s ease-out .3s forwards, float 6s ease-in-out infinite; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.main-product-3d {
  width: 56vw; height: 70vh; outline: none;
  --progress-bar-color: transparent; --poster-color: transparent;
  position: absolute; top: 52%; left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  pointer-events: auto;
}
.berry {
  position: absolute; width: 120px; height: 120px; outline: none;
  --progress-bar-color: transparent; --poster-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3));
}
.b1 { top: 14%; left: 35%; width: 140px; height: 140px; }
.b2 { top: 70%; left: 44%; width: 90px; height: 90px; }
.b3 { top: 46%; left: 59%; width: 140px; height: 140px; }
.b4 { top: 11%; left: 46%; width: 110px; height: 110px; }
.b5 { top: 72%; left: 31%; width: 100px; height: 100px; }
.b6 { top: 58%; left: 60%; width: 105px; height: 105px; }
.b7 { top: 15%; left: 38%; width: 70px; height: 70px; opacity: .7; }
.b8 { top: 50%; left: 56%; width: 60px; height: 60px; opacity: .6; }
.b9 { top: 80%; left: 34%; width: 75px; height: 75px; opacity: .7; }

.hero-right {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  text-align: right; height: 100%; padding: 6.5rem 0 4.5rem; z-index: 100; width: 470px; pointer-events: none;
}
.product-carousel { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-end; pointer-events: auto; }
.carousel-cards { display: flex; gap: .8rem; padding-top: 2.2rem; }
.card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: 1rem .7rem .9rem; padding-top: 4.6rem; border-radius: var(--r-lg);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  cursor: pointer; width: 104px; position: relative; text-align: center; color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
}
.card:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.card.active { border-color: var(--ham); box-shadow: 0 0 0 1px var(--ham) inset; }
.card img {
  width: 118px; height: 96px; object-fit: contain; margin-top: -7.6rem;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45));
  transition: transform .5s var(--spring) !important; will-change: transform; pointer-events: none;
}
.card:hover img { transform: translateY(-24px) rotate(-10deg) scale(1.12) !important; }
.card-info { display: flex; flex-direction: column; font-size: .72rem; width: 100%; line-height: 1.3; }
.card-info span:first-child { font-weight: 800; }
.card-info span:last-child { color: var(--muted-color); }
.carousel-nav { display: flex; gap: .8rem; }
.nav-arrow {
  background: var(--glass-bg); border: 1px solid var(--glass-border); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  transition: background .3s, transform .35s var(--spring);
}
.nav-arrow:hover { background: rgba(255, 255, 255, .16); transform: scale(1.08); }
.side-title {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 5rem);
  line-height: .95; align-self: flex-end; text-align: right; white-space: normal; max-width: 470px;
  text-wrap: balance; padding-bottom: .1em; overflow-wrap: normal; word-break: keep-all;
}
.side-price { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--ham); margin-top: -.6rem; }

/* ---------- shared section type ---------- */
.section-head { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; padding-bottom: .08em; }
.lead { font-size: 1.05rem; color: var(--muted-ink); max-width: 48ch; text-wrap: pretty; }
.fine { font-size: .82rem; color: var(--muted-ink); }
.card-surface { background: var(--ivory); border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(79, 91, 42, .12); }

/* ---------- menu ---------- */
.menu { padding: 5rem 0 6rem; position: relative; }
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.tab {
  border: 0; background: var(--ivory); color: var(--olive); font-weight: 800; font-size: .95rem;
  padding: .75rem 1.3rem; border-radius: 99px; box-shadow: inset 0 0 0 2px rgba(79, 91, 42, .2);
  transition: background .3s, color .3s, transform .35s var(--spring), box-shadow .3s;
}
.tab:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--olive); }
.tab.active { background: var(--olive); color: var(--ivory); box-shadow: none; }
.tab .count { opacity: .6; margin-left: .35rem; font-weight: 700; }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem 1.1rem; }
.p-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(to bottom, var(--ivory) calc(100% - 40px), var(--olive) 0);
  border-radius: 999px 999px 22px 22px;
  padding-top: 1.4rem;
  box-shadow: 0 14px 30px rgba(79, 91, 42, .1);
  transition: transform .5s var(--spring), box-shadow .4s;
  animation: cardIn .6s var(--spring) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(79, 91, 42, .18); }
.p-img { aspect-ratio: 1 / .82; display: grid; place-items: center; padding: 0 12px; }
.p-img img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(43, 33, 28, .22));
  transition: transform .6s var(--spring);
}
.p-card:hover .p-img img { transform: translateY(-10px) rotate(-5deg) scale(1.07); }
.p-3d {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  border: 0; background: var(--ink); color: var(--ham); font-weight: 800; font-size: .7rem;
  padding: .4rem .6rem; border-radius: 99px; display: inline-flex; gap: .3rem; align-items: center;
  transition: transform .35s var(--spring), background .3s;
}
.p-3d:hover { transform: scale(1.08) rotate(-4deg); }
.ribbon {
  margin-top: auto; position: relative; background: var(--olive); color: var(--ivory);
  border-radius: 0 0 22px 22px; padding: .3rem .8rem .9rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  min-height: 118px;
}
.ribbon::before { /* the wavy top edge of the price-list ribbon */
  content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V9C20 9 26 2 50 2s30 9 50 9 26-9 50-9 30 7 50 7v7z' fill='%234f5b2a'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.price { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; white-space: nowrap; }
.price small { font-family: var(--f-body); font-weight: 700; font-size: .68rem; opacity: .8; margin-right: .2rem; }
.p-name { font-family: var(--f-body); font-weight: 800; font-size: .92rem; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.p-unit { font-size: .7rem; opacity: .7; font-weight: 700; }
.sizes { display: flex; gap: .3rem; margin: .35rem 0 .1rem; }
.size {
  border: 0; background: rgba(255, 248, 234, .12); color: var(--ivory); border-radius: 99px;
  padding: .32rem .55rem; font-size: .7rem; font-weight: 800; line-height: 1.15; transition: background .3s, color .3s;
}
.size b { display: block; font-family: var(--f-display); font-weight: 700; font-size: .74rem; white-space: nowrap; }
.size.active { background: var(--ham); color: var(--ink); }
.add-btn {
  margin-top: .35rem; border: 0; background: var(--ham); color: var(--ink); font-weight: 800; font-size: .8rem;
  padding: .5rem 1rem; border-radius: 99px; display: inline-flex; gap: .4rem; align-items: center;
  transition: transform .35s var(--spring), background .3s;
}
.add-btn:hover { transform: translateY(-2px) scale(1.04); background: #ffd25a; }
.add-btn:active { transform: scale(.94); }
.add-btn.ok { background: var(--ivory); }

/* ---------- inside ---------- */
.inside {
  padding: 6rem 0; position: relative;
  background:
    radial-gradient(800px 500px at 75% 40%, rgba(243, 193, 65, .35), transparent 70%),
    var(--olive-deep);
  color: var(--ivory);
  overflow: hidden;
}
.inside .h2 { color: var(--ivory); }
.inside .lead, .inside .fine { color: rgba(255, 248, 234, .72); }
.inside-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 2.5rem; align-items: stretch; }
.inside-copy { display: flex; flex-direction: column; gap: 1.2rem; }
.inside-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.inside-chip {
  border: 0; background: rgba(255, 248, 234, .1); color: var(--ivory); padding: .5rem .85rem;
  border-radius: 99px; font-weight: 700; font-size: .85rem; transition: background .3s, color .3s, transform .35s var(--spring);
}
.inside-chip:hover { background: rgba(255, 248, 234, .2); transform: translateY(-2px); }
.inside-chip.active { background: var(--ham); color: var(--ink); }
.inside-stage {
  position: relative; min-height: 600px; border-radius: 32px;
  background: radial-gradient(circle at 45% 45%, rgba(255, 248, 234, .14), rgba(0, 0, 0, .12) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 234, .12);
  overflow: hidden; touch-action: pan-y;
}
#insideCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
#insideCanvas:active { cursor: grabbing; }
.inside-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.inside-labels { position: absolute; inset: 0; pointer-events: none; }
.i-label {
  position: absolute; transform: translate(0, -50%);
  background: var(--ivory); color: var(--ink); border-radius: 99px; padding: .32rem .75rem .32rem .35rem;
  font-weight: 800; font-size: .78rem; display: flex; align-items: center; gap: .45rem; white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22); transition: opacity .3s;
}
.i-label i { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .12); }
.inside-bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between;
  background: rgba(43, 33, 28, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 99px; padding: .45rem .45rem .45rem 1.3rem;
}
.inside-name { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.explode { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; color: rgba(255, 248, 234, .75); }
.explode input { width: 170px; accent-color: var(--ham); }
.inside-loading {
  position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: rgba(255, 248, 234, .7);
  pointer-events: none; transition: opacity .3s;
}
.inside-loading.gone { opacity: 0; }
.pill-btn { background: var(--ham); color: var(--ink); }
.pill-btn .plus-icon { background: var(--ink); color: var(--ham); }
.pill-btn:hover { background: #ffd25a; }
.pill-btn.dark { background: var(--ink); color: var(--ivory); }
.pill-btn.dark .plus-icon { background: var(--ham); color: var(--ink); }
.pill-btn.dark:hover { background: #000; }
.pill-btn:not(:has(.plus-icon)) { padding: .85rem 1.4rem; }
.pill-btn.full { width: 100%; justify-content: space-between; }

/* ---------- occasions ---------- */
.occasions { padding: 6rem 0; }
.occ-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
.occ-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; box-shadow: 0 20px 50px rgba(79, 91, 42, .15); }
.occ-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.occ-photo:hover img { transform: scale(1.06); }
.occ-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: .4rem; }
.occ-chip { background: rgba(255, 248, 234, .92); color: var(--ink); font-weight: 800; font-size: .82rem; padding: .45rem .85rem; border-radius: 99px; }
.occ-form { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.seg { display: flex; flex-wrap: wrap; gap: .3rem; background: var(--butter); padding: .3rem; border-radius: 18px; }
.seg button {
  flex: 1 1 auto; border: 0; background: transparent; font-weight: 800; font-size: .85rem; color: var(--olive);
  padding: .6rem .8rem; border-radius: 14px; transition: background .3s, color .3s;
}
.seg button.active { background: var(--olive); color: var(--ivory); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fields label { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 800; color: var(--olive); min-width: 0; }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea {
  width: 100%; border: 2px solid rgba(79, 91, 42, .18); background: #fff; border-radius: 14px;
  padding: .75rem .9rem; font-size: 1rem; font-weight: 600; color: var(--ink); transition: border-color .3s, box-shadow .3s;
  min-height: 48px;
}
.fields textarea { resize: vertical; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(243, 193, 65, .45); }
.form-error { color: #a12b1d; font-weight: 700; font-size: .85rem; min-height: 1.2em; }

/* ---------- delivery ---------- */
.delivery { padding: 6rem 0; background: var(--butter-2); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-bottom: 1.6rem; }
.steps li { background: var(--ivory); border-radius: var(--r-lg); padding: 1.6rem; position: relative; display: flex; flex-direction: column; gap: .5rem; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ham); color: var(--ink);
  font-family: var(--f-display); font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ink);
}
.steps h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.steps p { color: var(--muted-ink); }
.shops { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.shop {
  background: var(--olive); color: var(--ivory); border-radius: var(--r-lg); padding: 1.5rem 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none;
  transition: transform .4s var(--spring), background .3s;
}
.shop:hover { transform: translateY(-4px); background: var(--olive-deep); }
.shop-t { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.shop small { display: block; opacity: .7; font-weight: 700; margin-top: .2rem; }
.shop .plus-icon { flex: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: 2.4rem 0; }
@media (max-width: 980px) { .footer { padding-bottom: 6rem; } }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; font-weight: 700; }
.footer-brand .ham-word { -webkit-text-stroke-color: var(--ivory); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-links a { text-decoration: none; padding: .6rem 1rem; border-radius: 99px; background: rgba(255, 248, 234, .08); font-weight: 700; font-size: .9rem; transition: background .3s; }
.footer-links a:hover { background: var(--ham); color: var(--ink); }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43, 33, 28, .45); z-index: 300; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.scrim.on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; height: 100dvh; width: min(440px, 100%); z-index: 310;
  background: var(--butter); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .55s cubic-bezier(.2, .9, .2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; }
.drawer-head h2 { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ivory); font-weight: 800; transition: transform .35s var(--spring), background .3s; }
.icon-btn:hover { transform: rotate(90deg); background: var(--ham); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 1.4rem 1rem; overscroll-behavior: contain; }
.cart-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.cart-item { display: grid; grid-template-columns: 62px 1fr auto; gap: .8rem; align-items: center; background: var(--ivory); border-radius: 18px; padding: .6rem .8rem .6rem .6rem; animation: cardIn .4s var(--spring) both; }
.cart-item img { width: 62px; height: 52px; object-fit: contain; }
.ci-name { font-weight: 800; font-size: .9rem; line-height: 1.2; }
.ci-meta { font-size: .76rem; color: var(--muted-ink); font-weight: 700; }
.qty { display: flex; align-items: center; gap: .3rem; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--butter); font-weight: 900; transition: background .3s, transform .3s var(--spring); }
.qty button:hover { background: var(--ham); transform: scale(1.1); }
.qty span { min-width: 20px; text-align: center; font-weight: 800; }
.cart-empty { text-align: center; padding: 2.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--muted-ink); font-weight: 600; }
.checkout { display: flex; flex-direction: column; gap: .9rem; }
.drawer-foot { padding: 1rem 1.4rem 1.4rem; background: var(--ivory); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; gap: .5rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.total strong { font-family: var(--f-display); font-size: 1.4rem; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(43, 33, 28, .5); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; padding: 2rem; display: flex; flex-direction: column; gap: .9rem; animation: cardIn .5s var(--spring); }
.modal-card h2 { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.sent-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 1.8rem; font-weight: 900; display: grid; place-items: center; animation: bump .8s var(--spring); }
.order-text { white-space: pre-wrap; font-family: var(--f-body); font-size: .86rem; background: var(--butter); padding: 1rem; border-radius: 16px; max-height: 220px; overflow: auto; }
.sent-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.ghost-dark { border: 2px solid rgba(43, 33, 28, .2); background: transparent; border-radius: 99px; padding: .7rem 1.1rem; font-weight: 800; transition: background .3s; }
.ghost-dark:hover { background: var(--butter); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 500; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--ivory); padding: .8rem 1.3rem; border-radius: 99px; font-weight: 800;
  transition: transform .5s var(--spring), opacity .3s, visibility .3s; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  opacity: 0; visibility: hidden;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero-right { width: 360px; }
  .card { width: 88px; padding-top: 4rem; }
  .card img { width: 100px; height: 82px; margin-top: -6.6rem; }
}
@media (max-width: 980px) {
  .nav { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 120; background: rgba(43, 33, 28, .78) !important; border-color: rgba(255, 255, 255, .12) !important; }
  .nav-item { padding: .55rem .8rem; font-size: .8rem; color: #fff !important; }
  .nav-item[href="#top"] { display: none; }
  .header.solid .nav-item:hover, .header.solid .nav-item.active { background: var(--ham); color: var(--ink) !important; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .inside-wrap, .occ-wrap { grid-template-columns: 1fr; }
  .inside-stage { min-height: 560px; }
  .occ-photo { min-height: 360px; }
  .steps { grid-template-columns: 1fr; }

  .hero { height: auto; min-height: 100svh; padding: 6.5rem 16px 4.5rem; }
  #sprinkles { min-height: 100%; }
  .hero-content { flex-direction: column; align-items: stretch; height: auto; }
  .hero-left { padding: 0; gap: 1rem; max-width: none; align-items: flex-start; }
  .ham-word.big { font-size: clamp(4.6rem, 22vw, 7rem); }
  .description { font-size: 1rem; }
  .award-badge { display: none; }
  .hero-center { position: relative; inset: auto; height: 44svh; min-height: 300px; order: 0; }
  .main-product-3d { width: 100%; height: 100%; top: 50%; }
  .hero-right { width: 100%; padding: 0; align-items: center; text-align: center; gap: .6rem; }
  .product-carousel { align-items: center; width: 100%; }
  .carousel-cards { padding-top: 3rem; }
  .side-title { align-self: center; text-align: center; font-size: clamp(2rem, 9vw, 3rem); order: -1; }
  .side-price { order: -1; margin: 0 0 .2rem; }
  .b4, .b6, .b8, .l2, .l4 { display: none; }
  .b1 { top: 38%; left: 2%; width: 110px; height: 110px; }
  .b3 { top: 40%; left: 70%; width: 120px; height: 120px; }
  .b2 { top: 58%; left: 74%; width: 70px; height: 70px; }
  .b5 { top: 60%; left: 6%; width: 80px; height: 80px; }
}
@media (max-width: 640px) {
  .header { padding: .8rem 16px; }
  .logo-badge { width: 52px; height: 52px; }
  .logo-ham { font-size: 1.08rem; }
  .lang button { padding: .42rem .5rem; font-size: .68rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1rem .7rem; }
  .grid > .p-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .35rem); justify-self: center; }
  .p-name { font-size: .84rem; }
  .price { font-size: .92rem; }
  .ribbon { padding: .3rem .5rem .8rem; min-height: 124px; }
  .sizes { gap: .2rem; }
  .size { padding: .3rem .4rem; font-size: .62rem; }
  .size b { font-size: .62rem; letter-spacing: -.02em; }
  .card { width: 78px; padding: .8rem .45rem .7rem; padding-top: 3.6rem; border-radius: 22px; }
  .card img { width: 88px; height: 72px; margin-top: -5.9rem; }
  .card-info { font-size: .64rem; }
  .menu, .inside, .occasions, .delivery { padding: 4rem 0; }
  .inside-stage { min-height: 640px; border-radius: 24px; }
  .inside-bar { border-radius: 22px; padding: .8rem; flex-direction: column; align-items: stretch; gap: .6rem; }
  .explode { justify-content: space-between; }
  .explode input { flex: 1; width: auto; }
  .inside-bar .pill-btn { justify-content: space-between; width: 100%; }
  .i-label { font-size: .68rem; padding: .25rem .55rem .25rem .3rem; }
  .i-label i { width: 14px; height: 14px; }
  .occ-form { padding: 1.4rem; }
  .fields { grid-template-columns: 1fr; }
  .shops { grid-template-columns: 1fr; }
  .modal-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ================= v2: real logo + alive layer ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-word { display: block; line-height: 0; }
.logo-word svg { width: 100%; height: auto; overflow: visible; }
.logo-word svg path { transform-box: fill-box; }
.hero-logo { width: clamp(250px, 30vw, 440px); --logo-bars: #fff; --logo-text: #fff; --logo-outline: #221f20; --logo-green: #b6e3a8;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28)); margin-left: -6px; }
.footer-logo { width: 170px; --logo-bars: var(--ivory); --logo-text: var(--ivory); --logo-outline: #000; --logo-green: #9fd49b; }

/* scroll progress */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--ham), #ffd86b);
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* custom cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 999; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--ham); mix-blend-mode: normal; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(43, 33, 28, .8);
  transition: opacity .3s, width .35s var(--spring), height .35s var(--spring), margin .35s var(--spring), background .3s; }
.cursor.on { opacity: 1; }
.cursor.hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(243, 193, 65, .28); box-shadow: 0 0 0 2px var(--ham); }
.cursor.drag { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 248, 234, .2); box-shadow: 0 0 0 2px var(--ivory); }
.cursor.press { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@media (hover: none) { .cursor { display: none; } }

/* ripple */
.has-ripple { overflow: hidden; isolation: isolate; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .45);
  transform: scale(0); animation: ripple .7s cubic-bezier(.2, .7, .3, 1) forwards; z-index: -1; }
.add-btn .ripple, .pill-btn .ripple, .tab.active .ripple { background: rgba(43, 33, 28, .18); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* shine sweep on main buttons */
.primary-btn, .pill-btn, .add-btn { position: relative; overflow: hidden; isolation: isolate; }
.primary-btn::after, .pill-btn::after, .add-btn::after {
  content: ''; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.primary-btn:hover::after, .pill-btn:hover::after, .add-btn:hover::after { transform: translateX(120%); }
.add-btn.ok { animation: okPop .5s var(--spring); }
@keyframes okPop { 40% { transform: scale(1.18); } }

/* menu cards: tilt + light that follows the pointer */
.grid { perspective: 1200px; }
.p-card { transform-style: preserve-3d; will-change: transform; }
.p-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .5), transparent 60%);
  transition: opacity .4s; mix-blend-mode: soft-light; }
.p-card:hover::after { opacity: 1; }
.p-img img { transform: translateZ(30px); }
@media (hover: hover) and (pointer: fine) { .p-card:hover { transform: none; } }

/* tabs: sliding pill */
.tabs { position: relative; isolation: isolate; }
.tab-ind { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 99px; background: var(--olive); z-index: -1;
  box-shadow: 0 10px 24px rgba(79, 91, 42, .3); }
.tab.active { background: transparent; }

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(46px) scale(.98); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 70ms); }
[data-split].in .w > span { transform: none; }

/* marquee */
.marquee { overflow: hidden; background: var(--ink); color: var(--ham); padding: .9rem 0; position: relative; z-index: 5;
  transform: rotate(-1.4deg) scale(1.02); margin: -18px 0 0; box-shadow: 0 14px 40px rgba(43, 33, 28, .25); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.mq-run { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.mq-item { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.4rem); white-space: nowrap; letter-spacing: -.01em; }
.mq-img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); animation: spinSlow 9s linear infinite; }
.mq-run .mq-img:nth-of-type(2n) { animation-direction: reverse; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* floating Blender renders that drift with scroll */
.menu, .inside, .occasions, .delivery { position: relative; }
.deco { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto; pointer-events: none; z-index: 0;
  transform: translateY(var(--py, 0)); filter: drop-shadow(0 16px 22px rgba(43, 33, 28, .25)); }
.deco { animation: bob 7s ease-in-out infinite; }
.deco:nth-of-type(2n) { animation-duration: 9s; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -18px; rotate: 8deg; } }
.wrap { position: relative; z-index: 1; }
@media (max-width: 640px) { .deco { --w: 64px !important; opacity: .85; } }

/* nav pill: smooth active slide feel */
.nav-item { position: relative; }
.inside-chip, .tab, .size, .seg button, .lang button { transition: background .35s, color .35s, box-shadow .35s; }
.inside-chip.active { box-shadow: 0 8px 18px rgba(243, 193, 65, .35); }

/* intro skip pill pulses */
.intro-skip { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); } }
.i-label b { font-family: var(--f-display); font-size: .7rem; color: var(--olive); margin-left: -.15rem; }
.i-label { animation: labelIn .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes labelIn { from { transform: translate(-14px, -50%) scale(.8); } }
@media (max-width: 640px) {
  .cta-group { flex-wrap: nowrap; gap: .5rem; }
  .primary-btn { padding-left: 1.1rem; gap: .7rem; font-size: .88rem; white-space: nowrap; }
  .ghost-btn { padding: .75rem .85rem; font-size: .84rem; white-space: nowrap; }
  .hero-logo { width: min(260px, 70vw); }
  .marquee { padding: .6rem 0; }
  .mq-img { width: 40px; height: 40px; }
}

/* ---------- hero carousel: 15 cakes in a sliding strip ---------- */
.carousel-cards { --cw: 104px; --gap: .8rem; display: block; width: calc(var(--cw) * 4 + var(--gap) * 3);
  padding-top: 2.2rem; clip-path: inset(-12rem -8px -3rem -8px); }
.carousel-track { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.carousel-track .card { flex: none; width: var(--cw); }
.carousel-count { font-family: var(--f-display); font-weight: 700; font-size: .85rem; color: var(--muted-color);
  min-width: 4.2em; text-align: center; align-self: center; font-variant-numeric: tabular-nums; }
@media (max-width: 1200px) { .carousel-cards { --cw: 88px; } }
@media (max-width: 980px) { .carousel-cards { padding-top: 3rem; } }
@media (max-width: 640px) { .carousel-cards { --cw: 76px; --gap: .55rem; } }
