/* =========================================================================
   Bella World — playful maximalism × organic 3D × cinematic product stories
   Every scene is a saturated field from Bella's own packs, patterned with the
   logo's oval and sparkle. Real packs and real product photos float in depth;
   the Bella Family hosts. Products are only moved, scaled or rotated in plane.
   ========================================================================= */

:root {
  --cream: #fff4ec;
  --cocoa: #2b120e;
  --w-gutter: max(20px, 4vw);
  --w-title: clamp(2.8rem, 1rem + 6vw, 7.2rem);
  --w-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

.w-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: max(var(--w-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--w-gutter), env(safe-area-inset-right, 0px)); }
.w-title { font-family: var(--f-display); font-weight: 800; font-size: var(--w-title); line-height: .9; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
[dir="rtl"] .w-title { letter-spacing: 0; line-height: 1.18; }

/* Pattern of sparkles and little Bella ovals, tinted by the scene's ink */
.w-pattern, .w-hero__pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: currentColor; opacity: .09;
  -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat;
}

/* Candy buttons: thick, pressable */
.w-btn {
  --b: var(--cocoa); --bi: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: 3px solid var(--b);
  background: var(--b); color: var(--bi); font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 rgba(0, 0, 0, .28);
  transition: transform .18s var(--w-bounce), box-shadow .18s;
}
.w-btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 9px 0 rgba(0, 0, 0, .28); }
.w-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }
.w-btn svg { width: 20px; height: 20px; }
.w-btn--cream { --b: var(--cream); --bi: var(--cocoa); }
.w-btn--gold { --b: #ffd166; --bi: var(--cocoa); }
.w-btn--cocoa { --b: var(--cocoa); --bi: var(--cream); }
.w-btn--line { background: transparent; --b: var(--cream); color: var(--cream); box-shadow: none; }
.w-btn--line:hover { background: var(--cream); color: var(--cocoa); box-shadow: none; }
.w-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Header melts into the hero colour on the homepage */
.page-home .site-head:not(.is-past) { background: var(--field-head, #b84e0e); color: var(--cream); transition: background-color .8s; }
.page-home .site-head:not(.is-past) .nav__link { color: var(--cream); }
.page-home .site-head:not(.is-past) .nav__link:hover, .page-home .site-head:not(.is-past) .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.page-home .site-head:not(.is-past) .langs { background: rgba(255, 255, 255, .18); }
.page-home .site-head:not(.is-past) .langs a { color: var(--cream); }
.page-home .site-head:not(.is-past) .langs a[aria-current="true"] { background: var(--cream); color: var(--cocoa); }
.page-home .site-head:not(.is-past) .burger { background: rgba(255, 255, 255, .2); }
.page-home .site-head:not(.is-past) .burger span { background: var(--cream); }
.page-home .site-head .mega { color: var(--ink); }
.page-home body::before, body.page-home::before { background: var(--field-head, #b84e0e); }

/* ---------- 1 · The pack stage ---------- */
.w-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--field); color: var(--cream);
  min-height: calc(100svh - var(--head-h)); transition: background-color .8s ease;
}
.w-hero__in {
  position: relative; z-index: 1; min-height: inherit;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto;
  padding: clamp(12px, 2vw, 28px) max(var(--w-gutter), env(safe-area-inset-right, 0px)) clamp(24px, 3vw, 40px) max(var(--w-gutter), env(safe-area-inset-left, 0px));
}
.w-hero__title {
  grid-column: 1 / -1; grid-row: 1; justify-self: center; text-align: center; position: relative; z-index: 1;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(3.2rem, .6rem + 8.2vw, 10.4rem); line-height: .84; letter-spacing: -0.045em;
  max-width: 13ch; margin: 0; text-wrap: balance; color: var(--cream);
}
[dir="rtl"] .w-hero__title { letter-spacing: 0; line-height: 1.1; font-size: clamp(3rem, .6rem + 7vw, 8.6rem); max-width: 14ch; }
[lang="fr"] .w-hero__title { font-size: clamp(2.8rem, .6rem + 6.4vw, 8rem); max-width: 16ch; }

.w-hero__stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.w-slide { position: absolute; inset: 0; visibility: hidden; }
.w-slide.is-active { visibility: visible; }
.w-slide.is-active .w-slide__cap { pointer-events: auto; }
.w-pack {
  position: absolute; z-index: 3; left: 50%; top: 56%; height: min(58svh, 560px); width: auto; max-width: 46vw; object-fit: contain;
  translate: -50% -50%; rotate: -7deg; filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .32));
}
[dir="rtl"] .w-pack { left: auto; right: 50%; translate: 50% -50%; rotate: 7deg; }
.w-piece { position: absolute; height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .28)); }
.w-piece--a { z-index: 4; width: clamp(150px, 17vw, 300px); inset-inline-end: 23%; top: 20%; rotate: 18deg; }
.w-piece--b { z-index: 2; width: clamp(120px, 12vw, 220px); inset-inline-start: 22%; top: 34%; rotate: -24deg; }
.w-piece--c { z-index: 4; width: clamp(100px, 10vw, 180px); inset-inline-start: 41%; bottom: 6%; rotate: 32deg; }
.w-piece--d { z-index: 1; width: clamp(70px, 6vw, 120px); inset-inline-end: 33%; top: 12%; rotate: -12deg; filter: blur(3px) drop-shadow(0 10px 12px rgba(0, 0, 0, .2)); opacity: .9; }
.w-host { position: absolute; z-index: 5; width: clamp(110px, 11vw, 190px); height: auto; inset-inline-end: 9%; bottom: -2%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .25)); }
.w-slide__cap { position: absolute; z-index: 6; inset-inline-end: max(var(--w-gutter), 24px); bottom: clamp(28px, 3vw, 44px); max-width: 30ch; text-align: end; display: grid; justify-items: end; gap: 4px; pointer-events: none; }
.w-slide__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3.2rem); line-height: 1; margin: 0; }
.w-slide__tag { margin: 0 0 4px; font-size: 1.08rem; }

.w-hero__copy { grid-column: 1; grid-row: 3; align-self: end; display: grid; gap: 18px; justify-items: start; position: relative; z-index: 6; max-width: 34ch; }
.w-hero__lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); margin: 0; }
.w-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.w-picker { position: absolute; z-index: 7; inset-inline-end: max(var(--w-gutter), 18px); top: 50%; translate: 0 -50%; display: grid; gap: 10px; justify-items: center; }
.w-picker__track { display: grid; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(0, 0, 0, .16); }
.w-picker [data-dot] {
  width: 56px; height: 56px; border-radius: 50%; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--c); border: 3px solid rgba(255, 255, 255, .35); transition: transform .3s var(--w-bounce), border-color .2s;
}
.w-picker [data-dot] img { width: 46px; height: 46px; object-fit: contain; }
.w-picker [data-dot]:hover { transform: scale(1.12) rotate(-6deg); }
.w-picker [data-dot][aria-selected="true"] { border-color: var(--cream); transform: scale(1.18); box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.w-pause { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .5); background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.w-pause span { width: 12px; height: 14px; border-inline: 4px solid currentColor; }
.w-pause.is-paused span { width: 0; height: 0; border: 0; border-block: 8px solid transparent; border-inline-start: 13px solid currentColor; margin-inline-start: 3px; }

.w-badge { position: absolute; z-index: 5; inset-inline-start: max(var(--w-gutter), 20px); top: 40%; width: clamp(110px, 10vw, 160px); aspect-ratio: 1; }
.w-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: w-spin 22s linear infinite; }
.w-badge text { font: 800 15px/1 var(--f-display); fill: var(--cream); letter-spacing: 2px; }
.w-badge img { position: absolute; inset: 27%; width: 46%; height: auto; top: 33%; }
@keyframes w-spin { to { rotate: 360deg; } }
.w-spark { position: absolute; z-index: 2; fill: #ffd166; width: 34px; height: 34px; animation: w-twinkle 2.4s ease-in-out infinite; }
.w-spark--1 { inset-inline-start: 14%; top: 22%; }
.w-spark--2 { inset-inline-end: 18%; top: 64%; width: 24px; height: 24px; animation-delay: .8s; fill: var(--cream); }
.w-spark--3 { inset-inline-start: 40%; bottom: 18%; width: 20px; height: 20px; animation-delay: 1.4s; }
@keyframes w-twinkle { 0%, 100% { scale: .6; rotate: 0deg; opacity: .6; } 50% { scale: 1.15; rotate: 45deg; opacity: 1; } }

@media (max-width: 900px) {
  .w-hero { min-height: 0; }
  .w-hero__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; padding-top: 18px; gap: 0; }
  .w-hero__title { font-size: clamp(2.7rem, 12.5vw, 5.4rem); max-width: 11ch; }
  [dir="rtl"] .w-hero__title { font-size: clamp(2.4rem, 11vw, 4.6rem); }
  [lang="fr"] .w-hero__title { font-size: clamp(2.3rem, 10vw, 4.2rem); }
  .w-hero__stage { position: relative; inset: auto; grid-row: 2; height: 108vw; max-height: 620px; margin-top: -6vw; }
  .w-pack { height: auto; width: 62vw; max-width: none; max-height: 70%; top: 50%; }
  .w-piece--a { width: 34vw; top: 8%; inset-inline-end: 2%; }
  .w-piece--b { width: 27vw; top: 44%; inset-inline-start: -2%; }
  .w-piece--c { width: 24vw; bottom: 4%; inset-inline-start: 18%; }
  .w-piece--d { width: 15vw; top: 4%; inset-inline-end: 52%; }
  .w-host { width: 26vw; inset-inline-end: 2%; bottom: 0; }
  .w-slide__cap { position: absolute; bottom: 2%; inset-inline-start: 0; inset-inline-end: auto; text-align: start; justify-items: start; max-width: 66%; }
  .w-slide__name { font-size: 2rem; }
  .w-slide__tag { font-size: 1rem; }
  .w-picker { position: relative; grid-row: 3; inset: auto; translate: none; display: flex; justify-content: center; margin-top: 14px; }
  .w-picker__track { display: flex; }
  .w-picker [data-dot] { width: 46px; height: 46px; }
  .w-picker [data-dot] img { width: 38px; height: 38px; }
  .w-hero__copy { grid-row: 4; grid-column: 1; margin-top: 20px; max-width: none; }
  .w-hero__ctas .w-btn { flex: 1 1 auto; }
  .w-badge { width: 92px; top: auto; bottom: auto; inset-inline-start: auto; inset-inline-end: 4px; top: 30%; }
  .w-badge text { font-size: 17px; }
}

/* ---------- 2 · Crossing ribbons ---------- */
.w-ribbons { position: relative; height: clamp(150px, 15vw, 230px); background: var(--cream); overflow: hidden; z-index: 3; }
.w-ribbon { position: absolute; left: -5%; right: -5%; top: 50%; padding-block: 14px; overflow: hidden; white-space: nowrap; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.6rem); line-height: 1.1; }
.w-ribbon--a { background: var(--red); color: var(--cream); rotate: -4deg; translate: 0 -78%; }
.w-ribbon--b { background: var(--cocoa); color: #ffd166; rotate: 3deg; translate: 0 -10%; }
.w-ribbon__track { display: inline-flex; animation: w-marquee 38s linear infinite; }
.w-ribbon--b .w-ribbon__track { animation-direction: reverse; animation-duration: 46s; }
.w-ribbon__track > span { display: inline-flex; align-items: center; gap: .55em; padding-inline-end: .55em; }
.w-ribbon svg { width: .7em; height: .7em; fill: currentColor; flex: none; }
[dir="rtl"] .w-ribbon__track { animation-name: w-marquee-rtl; }
@keyframes w-marquee { to { transform: translateX(-50%); } }
@keyframes w-marquee-rtl { to { transform: translateX(50%); } }

/* ---------- 3 · Family, as posters ---------- */
.w-family .xf__panel { isolation: isolate; }
.w-family .xf__panel > * { position: relative; z-index: 1; }
.w-family .w-pattern { color: var(--i); opacity: .1; z-index: 0; position: absolute; }
.w-ghost {
  position: absolute !important; z-index: 0 !important; inset-inline-start: -2%; bottom: -6%; margin: 0; pointer-events: none;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(8rem, 26vw, 28rem); line-height: .8; letter-spacing: -0.05em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 3px var(--i); opacity: .22;
}
.w-sticker { display: inline-block; padding: 6px 16px 8px; border-radius: 14px; background: var(--a); color: var(--cocoa); rotate: -3deg; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.w-family .xf__role { color: inherit; }
.w-family .xf__item img { filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); }
.w-family .xf__item.is-food img { filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); }
.w-family .xf__char::after { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 2%; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .22); filter: blur(6px); }
.w-family .xf__char { position: relative; }
.w-family .xf__btn { --b: var(--i); --bi: var(--c); }
.w-family .xf__links a { background: rgba(255, 255, 255, .16); }
.w-family .xf__panel--intro .xf__title { font-size: clamp(3rem, 1rem + 6.4vw, 8rem); }

/* ---------- 4 · What are you craving? ---------- */
.w-crave { background: var(--cream); color: var(--cocoa); padding-block: clamp(80px, 9vw, 160px); position: relative; z-index: 3; }
.w-crave__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 72px); align-items: start;
  max-width: 1360px; margin-inline: auto; padding-inline: max(var(--w-gutter), env(safe-area-inset-left, 0px)) max(var(--w-gutter), env(safe-area-inset-right, 0px)); }
.w-crave__head { display: grid; gap: 14px; grid-column: 1; }
.w-crave__head .w-title { color: var(--red); }
.w-crave__head p { font-size: 1.15rem; max-width: 36ch; margin: 0; }
.w-keys { grid-column: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 12px; margin-top: 8px; }
.w-key { display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.w-key__cap {
  width: 84px; height: 84px; border-radius: 50%; background: var(--k);
  background-image: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 34%);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .18), 0 8px 0 rgba(43, 18, 14, .22);
  transition: transform .25s var(--w-bounce), box-shadow .2s;
}
.w-key__label { font-weight: 700; font-size: 1rem; }
.w-key:hover .w-key__cap { transform: translateY(-4px) scale(1.05); }
.w-key[aria-checked="true"] .w-key__cap { transform: translateY(5px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 2px 0 rgba(43, 18, 14, .22), 0 0 0 5px var(--cream), 0 0 0 9px var(--cocoa); }
.w-key[aria-checked="true"] .w-key__label { color: var(--red); }
.w-plate {
  grid-column: 2; grid-row: 1 / span 2; position: relative; isolation: isolate; overflow: hidden;
  background: var(--red); color: var(--cream); border-radius: 48px; padding: clamp(24px, 3vw, 44px);
  display: grid; gap: 22px; justify-items: start; min-height: 520px; align-content: start;
}
.w-plate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); opacity: .08; -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; }
.w-plate__count { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin: 0; }
.w-plate__items { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.w-plate__item { display: none; }
.w-plate__item.is-on { display: block; }
.w-plate__item a { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: inherit; }
.w-plate__stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.15; }
.w-plate__stage::before { content: ""; position: absolute; inset: 22% 6% 4%; border-radius: 50%; background: var(--c); border: 4px solid var(--cream); rotate: -6deg; transition: rotate .3s var(--w-bounce); }
.w-plate__stage img { position: relative; width: 92%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .3)); transition: transform .35s var(--w-bounce); }
.w-plate__item a:hover img, .w-plate__item a:focus-visible img { transform: translateY(-8px) scale(1.08) rotate(-4deg); }
.w-plate__item a:hover .w-plate__stage::before { rotate: 0deg; }
.w-plate__name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-align: center; line-height: 1.1; }
.w-plate .w-btn { margin-top: 6px; }
@media (max-width: 900px) {
  .w-crave__in { grid-template-columns: minmax(0, 1fr); }
  .w-plate { grid-column: 1; grid-row: auto; min-height: 0; border-radius: 32px; }
  .w-keys { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
  .w-key__cap { width: 64px; height: 64px; }
  .w-key__label { font-size: .9rem; }
  .w-plate__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 5 · Tartino on scroll ---------- */
.w-tartino { position: relative; background: var(--cocoa); color: var(--cream); }
.w-tartino.is-scripted { height: 320svh; }
.w-tartino__pin { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  min-height: calc(100svh - var(--head-h)); padding-inline: max(var(--w-gutter), env(safe-area-inset-left, 0px)) max(var(--w-gutter), env(safe-area-inset-right, 0px)); padding-block: 48px; background: inherit; }
.w-tartino.is-scripted .w-tartino__pin { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--head-h)); }
.w-tartino .w-pattern { color: var(--cream); opacity: .07; }
.w-tartino__ghost { position: absolute; z-index: 0; inset-inline: 0; top: 50%; translate: 0 -50%; margin: 0; text-align: center; pointer-events: none;
  font-family: var(--f-display); font-weight: 800; font-size: 30vw; line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 3px #ffd166; opacity: .2; white-space: nowrap; }
.w-tartino__beats { position: relative; z-index: 2; display: grid; gap: 40px; }
.w-beat { display: grid; gap: 16px; }
.w-beat .w-title { font-size: clamp(2.6rem, 1rem + 5vw, 6.4rem); color: #ffd166; }
.w-beat > p:not(.w-title) { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 700; margin: 0; }
.w-tartino.is-scripted .w-tartino__beats { display: block; min-height: 50svh; }
.w-tartino.is-scripted .w-beat { position: absolute; inset: 0 0 auto; top: 50%; translate: 0 -50%; opacity: 0; visibility: hidden; }
.w-tartino.is-scripted .w-beat.is-on { opacity: 1; visibility: visible; }
.w-tartino__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.w-tartino__stage { position: relative; z-index: 1; height: min(78svh, 720px); }
.w-jar { position: absolute; margin: 0; display: grid; justify-items: center; gap: 12px; left: 50%; bottom: 6%; translate: -50% 0; }
.w-jar img { width: auto; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .45)); }
.w-jar figcaption { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; padding: 4px 16px; border-radius: 999px; background: #ffd166; color: var(--cocoa); }
.w-jar--0 { height: 78%; z-index: 3; }
.w-jar--1 { height: 56%; z-index: 2; left: 18%; }
.w-jar--2 { height: 40%; z-index: 2; left: 84%; }
.w-tartino__host { position: absolute; z-index: 4; width: clamp(110px, 11vw, 190px); height: auto; inset-inline-end: 0; bottom: 0; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .3)); }
@media (max-width: 860px) {
  .w-tartino__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; padding-top: 36px; }
  .w-tartino.is-scripted .w-tartino__beats { min-height: 36svh; }
  .w-tartino__stage { height: 52svh; }
  .w-beat .w-title { font-size: clamp(2.2rem, 10vw, 3.6rem); }
}

/* ---------- 6 · New from Bella: posters ---------- */
.w-new { background: var(--cream); color: var(--cocoa); padding-block: clamp(80px, 9vw, 160px); }
.w-new__head { display: grid; gap: 12px; margin-bottom: clamp(40px, 5vw, 80px); }
.w-new__head .w-title { color: var(--red); }
.w-new__head p { font-size: 1.15rem; margin: 0; }
.w-new__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.w-new__grid > :nth-child(2) { margin-top: 60px; }
.w-poster { position: relative; background: var(--c); color: var(--cream); border-radius: 36px; overflow: hidden; rotate: var(--r); transition: rotate .4s var(--w-bounce), scale .4s var(--w-bounce); isolation: isolate; }
.w-poster:hover { rotate: 0deg; scale: 1.03; }
.w-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); opacity: .1; -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 160px 160px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 160px 160px repeat; }
.w-poster__art { position: relative; aspect-ratio: 1 / .92; }
.w-poster__pack { position: absolute; width: 74%; left: 13%; top: 10%; max-height: 64%; object-fit: contain; rotate: -6deg; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); }
.w-poster__pack.is-plate { background: #fff; padding: 10px; border-radius: 16px; }
.w-poster__food { position: absolute; width: 52%; inset-inline-end: 4%; bottom: 0; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 18px 18px rgba(0, 0, 0, .3)); }
.w-poster__burst { position: absolute; z-index: 2; width: 92px; height: 92px; inset-inline-start: 18px; top: 18px; fill: #ffd166; animation: w-spin 16s linear infinite; }
.w-poster__burst-label { position: absolute; z-index: 3; inset-inline-start: 18px; top: 18px; width: 92px; height: 92px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: var(--cocoa); font-size: 1.15rem; rotate: -12deg; }
.w-poster__text { padding: 8px 28px 30px; display: grid; gap: 6px; }
.w-poster__date { margin: 0; font-weight: 600; opacity: .9; }
.w-poster h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; margin: 0; }
.w-poster h3 a { text-decoration: none; color: inherit; }
.w-poster h3 a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.w-poster p { margin: 0; font-size: 1.08rem; }
@media (max-width: 900px) { .w-new__grid { grid-template-columns: minmax(0, 1fr); } .w-new__grid > :nth-child(2) { margin-top: 0; } }

/* ---------- 7 · Made in Libya ---------- */
.w-made { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: var(--cream); padding-block: clamp(80px, 9vw, 160px); }
.w-made .w-pattern { color: var(--cream); }
.w-made .w-wrap { position: relative; z-index: 1; }
.w-made__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.w-made__copy { display: grid; gap: 20px; justify-items: start; font-size: 1.2rem; }
.w-made__copy p { margin: 0; }
.w-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: clamp(56px, 7vw, 110px) 0; }
.w-facts div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; text-align: center; gap: 4px; aspect-ratio: 1.1;
  background: var(--cream); color: var(--cocoa); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; rotate: var(--r); padding: 12px; box-shadow: 0 10px 0 rgba(0, 0, 0, .18); }
.w-facts dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 1rem + 4.6vw, 6.4rem); line-height: .9; color: var(--red); font-variant-numeric: tabular-nums; }
.w-facts dt { font-weight: 700; font-size: clamp(.9rem, .8rem + .3vw, 1.1rem); max-width: 14ch; }
.w-made__route { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 3rem); font-weight: 800; margin: 0 0 28px; }
.w-polaroids { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.w-polaroids li { flex: 1 1 0; min-width: 0; margin-inline: -1.2%; rotate: var(--r); transition: rotate .35s var(--w-bounce), translate .35s var(--w-bounce); position: relative; }
.w-polaroids li:hover { rotate: 0deg; translate: 0 -14px; z-index: 2; }
.w-polaroids a { display: grid; gap: 4px; padding: 12px 12px 18px; background: #fff; color: var(--cocoa); text-decoration: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .28); border-radius: 6px; }
.w-polaroid__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bone); }
.w-polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.w-polaroid__fair { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; margin-top: 8px; }
.w-polaroids time { font-size: .9rem; }
@media (max-width: 900px) {
  .w-made__head { grid-template-columns: minmax(0, 1fr); }
  .w-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-polaroids { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 16px 8px 28px; margin-inline: calc(var(--w-gutter) * -1); }
  .w-polaroids li { flex: 0 0 58%; margin-inline: 0 -2%; scroll-snap-align: center; }
}

/* ---------- 8 · Map, 9 · News ---------- */
.w-map { background: #ffd166; }
.w-map .w-title { color: var(--red); }
.w-map .xmap__map .libya__land { stroke: var(--cocoa); }
.w-map .citysearch input { border-color: var(--cocoa); }
.w-news { background: var(--cream); color: var(--cocoa); padding-block: clamp(80px, 9vw, 160px); }
.w-news__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(32px, 4vw, 64px); }
.w-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.w-news__item { rotate: var(--r); transition: rotate .35s var(--w-bounce); }
.w-news__item:hover { rotate: 0deg; }
.w-news__item a { display: grid; gap: 10px; padding: 12px 12px 22px; background: #fff; border-radius: 28px; text-decoration: none; color: inherit; box-shadow: 0 8px 0 rgba(43, 18, 14, .1); }
.w-news__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; background: var(--bone); }
.w-news__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.w-news__item a:hover img { scale: 1.06; }
.w-news__meta { display: flex; gap: 10px; align-items: center; padding-inline: 8px; font-size: .95rem; }
.w-news__name { padding-inline: 8px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); line-height: 1.15; }
@media (max-width: 900px) { .w-news__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10 · CTA band gets the pattern ---------- */
.xcta__band { position: relative; isolation: isolate; }
.xcta__band .w-pattern { color: var(--cream); }
.xcta__band > .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .w-badge svg, .w-spark, .w-ribbon__track, .w-poster__burst { animation: none; }
  .w-btn, .w-poster, .w-polaroids li, .w-news__item, .w-key__cap { transition: none; }
}

/* --- review round 1 --- */
.w-piece--a { top: 31%; inset-inline-end: 21%; }
.w-piece--d { top: auto; bottom: 22%; inset-inline-end: auto; inset-inline-start: 13%; }
.w-host { inset-inline-end: calc(max(var(--w-gutter), 24px) + 330px); bottom: -3%; }
.w-hero__copy { max-width: 44ch; }
@media (max-width: 900px) {
  .w-piece--d { bottom: auto; top: 6%; inset-inline-start: 12%; }
  .w-host { inset-inline-end: 2%; }
  .w-badge { display: none; }
  .w-picker { gap: 6px; }
  .w-picker__track { gap: 4px; padding: 5px; }
  .w-picker [data-dot] { width: 42px; height: 42px; border-width: 2px; }
  .w-picker [data-dot] img { width: 34px; height: 34px; }
  .w-pause { width: 40px; height: 40px; flex: none; }
}
.w-piece--d { bottom: auto; top: 22%; inset-inline-start: 6%; }
@media (max-width: 900px) { .w-piece--d { top: 6%; inset-inline-start: 12%; } }
.w-jar--0 { left: 56%; }
.w-jar--1 { left: 20%; }
.w-jar--2 { left: 90%; }
[dir="rtl"] .w-jar--0 { left: 44%; } [dir="rtl"] .w-jar--1 { left: 80%; } [dir="rtl"] .w-jar--2 { left: 10%; }
.w-tartino__host { inset-inline-end: auto; inset-inline-start: -4%; }
/* Tartino jars: one row, 350 g · 700 g · 180 g */
.w-tartino__stage { display: flex; align-items: flex-end; justify-content: center; gap: 1.5%; padding-bottom: 3%; }
.w-jar { position: relative; left: auto !important; bottom: auto; translate: none; height: auto !important; }
.w-jar img { width: 100%; height: auto; }
.w-jar figcaption { white-space: nowrap; }
.w-jar--0 { width: 44%; order: 2; }
.w-jar--1 { width: 31%; order: 1; }
.w-jar--2 { width: 21%; order: 3; }
.w-tartino__host { inset-inline-start: -2%; bottom: 0; }
@media (max-width: 860px) { .w-tartino__stage { height: auto; min-height: 44svh; } }
.w-tartino__host { inset-inline-start: auto; inset-inline-end: 2%; top: 4%; bottom: auto; width: clamp(90px, 9vw, 150px); }
@media (max-width: 860px) { .w-tartino__ghost { font-size: 44vw; } }

/* =========================================================================
   Site-wide: the same world on every page
   ========================================================================= */
body { background: var(--cream); }
.site-head { background: var(--cream); }
.site-head.is-scrolled { background: #fff; }

/* Page heads become scenes: a field colour, the pattern, a host character */
.pagehead { --ph: var(--red); --ph-ink: var(--cream); --ph-char: none;
  position: relative; isolation: isolate; overflow: hidden; background: var(--ph) !important; color: var(--ph-ink) !important;
  padding-block: clamp(56px, 7vw, 110px) clamp(64px, 8vw, 120px) !important; border-radius: 0 0 50% 50% / 0 0 48px 48px; }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: .09;
  -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; }
.pagehead::after { content: ""; position: absolute; z-index: 0; inset-inline-end: max(var(--w-gutter), 3vw); bottom: 0; width: clamp(110px, 14vw, 220px); aspect-ratio: .7;
  background: var(--ph-char) center bottom / contain no-repeat; pointer-events: none; }
.pagehead > .wrap { position: relative; z-index: 1; }
.pagehead h1, .pagehead .display-1 { font-size: clamp(3rem, 1rem + 6vw, 7rem); line-height: .92; letter-spacing: -0.035em; color: inherit; }
[dir="rtl"] .pagehead h1 { letter-spacing: 0; line-height: 1.15; }
.pagehead .pagehead__lede { color: inherit !important; opacity: 1; max-width: 46ch; }
.pagehead .crumbs, .pagehead a:not(.btn):not(.w-btn) { color: inherit; }
.page-about .pagehead { --ph: #b3242f; --ph-char: url(/assets/bella/characters/cupcake.webp); }
.page-quality .pagehead { --ph: #1d7a45; --ph-char: url(/assets/bella/characters/cookie.webp); }
.page-news .pagehead { --ph: #2563c9; --ph-char: url(/assets/bella/characters/crunchy.webp); }
.page-careers .pagehead { --ph: #7b2d6e; --ph-char: url(/assets/bella/characters/snakito.webp); }
.page-business .pagehead, .page-catalog .pagehead { --ph: var(--cocoa); --ph-char: url(/assets/bella/characters/tartino.webp); }
.page-contact .pagehead { --ph: #e8731c; --ph-char: url(/assets/bella/characters/tartino-stand.webp); }
.page-compare .pagehead { --ph: #d93a76; --ph-char: url(/assets/bella/characters/crunchy-stand.webp); }
.page-recipes .pagehead, .page-recipe .pagehead { --ph: #f2b33d; --ph-ink: var(--cocoa); --ph-char: url(/assets/bella/characters/cupcake-stand.webp); }
.page-privacy .pagehead { --ph: #5a2a1e; }
.pagehead--about .pagehead__logo img { filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .3)); }
.page-about .pagehead::after { display: none; }
.cathead { border-radius: 0 0 50% 50% / 0 0 48px 48px; }
.cathead::after { display: none; }
@media (max-width: 700px) { .pagehead::after { width: 26vw; opacity: .95; } .pagehead h1, .pagehead .pagehead__lede { padding-inline-end: 22vw; } .page-about .pagehead h1, .page-about .pagehead .pagehead__lede, .page-privacy .pagehead h1, .page-privacy .pagehead .pagehead__lede { padding-inline-end: 0; } }

/* Section titles across inner pages speak the display voice */
main .display-2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 4.2rem); letter-spacing: -0.03em; line-height: .98; }
[dir="rtl"] main .display-2 { letter-spacing: 0; line-height: 1.2; }
main .display-3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); }

/* Candy buttons everywhere */
.btn { font-family: var(--f-display); font-weight: 800; min-height: 52px; padding-inline: 26px; border-width: 3px; box-shadow: 0 5px 0 rgba(0, 0, 0, .22); transition: transform .18s var(--w-bounce), box-shadow .18s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 rgba(0, 0, 0, .22); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
.btn--ghost, .btn--outline-light { box-shadow: none; }
.btn--ghost:hover, .btn--outline-light:hover { box-shadow: none; }
.chip { border-width: 2.5px; font-weight: 700; min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); }

/* Cards and tiles: white, rounded, a little playful tilt on hover */
.card, .job, .dist, .facts-panel__item, .path, .goal, .pillar { border-radius: 28px !important; }
.card { background: #fff; box-shadow: 0 8px 0 rgba(43, 18, 14, .08); transition: rotate .35s var(--w-bounce), translate .35s var(--w-bounce); }
.card:hover { rotate: -1.2deg; translate: 0 -6px; }
.card__img { border-radius: 22px; overflow: hidden; }
.tile__name { font-size: 1.4rem; font-weight: 800; }

/* Forms: soft, chunky fields */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input:not([type]), select, textarea {
  border-radius: 18px; border-width: 2.5px !important; }
.citysearch input { border-radius: 999px; }

/* Product page touches */
.pd-hero { position: relative; isolation: isolate; }
.pd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--stage-ink, #fff); opacity: .08;
  -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; }
.pd-hero__title { font-size: clamp(3.2rem, 1rem + 7vw, 8rem); letter-spacing: -0.04em; }
.pd-hero__product { filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .3)); }
.pd-host { position: relative; isolation: isolate; }
.pd-host::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--i); opacity: .09;
  -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; }
.variants__viewer { box-shadow: 0 12px 0 rgba(43, 18, 14, .08); }

/* Footer: the pattern and a ribbon edge */
.site-foot { position: relative; isolation: isolate; }
.site-foot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff4ec; opacity: .05;
  -webkit-mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; mask: url(/assets/img/pattern.svg) 0 0 / 180px 180px repeat; }
.page-business .pagehead::after { display: none; }
@media (max-width: 700px) { .pagehead h1, .pagehead .pagehead__lede { padding-inline-end: 29vw; } }
.w-ghost::before, .w-tartino__ghost::before { content: attr(data-ghost); }
.w-tartino__ghost { direction: ltr; }
.page-contact .pagehead { --ph: #b84e0e; }
.w-hero__lede { font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem); }
.w-btn { font-size: 1.2rem; }
@media (max-width: 900px) {
  .w-piece--b { top: 16%; inset-inline-start: -4%; width: 24vw; }
  .w-piece--c { bottom: 30%; inset-inline-start: auto; inset-inline-end: 4%; width: 20vw; }
  .w-pack { top: 44%; }
  .w-slide__cap { text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
}

/* ---------- Homepage band: the Bella competition ---------- */
.w-play { position: relative; overflow: hidden; background: #2563c9; color: var(--cream); padding-block: clamp(56px, 7vw, 110px); }
.w-play__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.w-play__copy { display: grid; gap: 18px; justify-items: start; }
.w-play__copy p { margin: 0; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); max-width: 36ch; }
.w-play__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1rem + 4vw, 5rem); line-height: .95; letter-spacing: -0.03em; margin: 0; max-width: 11ch; text-wrap: balance; }
[dir="rtl"] .w-play__title { letter-spacing: 0; line-height: 1.2; }
.w-play__family { display: flex; align-items: flex-end; justify-content: center; }
.w-play__family img { width: 20%; height: auto; margin-inline: -1%; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .3)); }
.w-play__family img:nth-child(odd) { translate: 0 -14px; }
@media (max-width: 800px) { .w-play__in { grid-template-columns: 1fr; } }

/* ---------- Hero on phones: the pack stays clear, pieces orbit it (fix 2026-11-10) ---------- */
@media (max-width: 900px) {
  .w-pack { top: 41%; width: 58vw; max-height: 52%; object-fit: contain; z-index: 3; }
  .w-piece { z-index: 2; }
  .w-piece--a { width: 23vw; top: 8%; bottom: auto; inset-inline-start: auto; inset-inline-end: 2%; }
  .w-piece--b { width: 21vw; top: 12%; bottom: auto; inset-inline-end: auto; inset-inline-start: -3%; }
  .w-piece--c { width: 16vw; top: 52%; bottom: auto; inset-inline-end: auto; inset-inline-start: 0; z-index: 4; }
  .w-piece--d { width: 11vw; top: 0; bottom: auto; inset-inline-end: auto; inset-inline-start: 33%; z-index: 1; }
}
