/* Al-Mekdad Food: «العلبة». The site's own world on the nivo-ds chassis.
   Every shape is a tin: lids, rolled rims, pull rings. The one angled form is the F's flag arm from the MF logo. */

@font-face { font-family: "Badeen Display"; src: url("/fonts/badeen-display.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mada"; src: url("/fonts/mada-arabic.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Mada"; src: url("/fonts/mada-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+2010-2027; }

:root {
  --snap: cubic-bezier(.34, 1.45, .55, 1);
  --soft: cubic-bezier(.2, .8, .2, 1);
  --tin-face: radial-gradient(circle at 36% 30%, #F6F4EE 0, #D6D3C9 52%, #A9A598 100%);
  --tin-rim: linear-gradient(135deg, #FBFAF6, #B9B5A9 45%, #E6E3DA 70%, #8E8A7E);
  --beads: repeating-radial-gradient(circle at 50% 50%, transparent 0 13%, rgba(255,255,255,.55) 13.6%, rgba(111,107,96,.28) 14.6%, transparent 15.4%);
  --corrugate: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 3px, transparent 3px 7px);
}

html { scroll-behavior: smooth; }
html:has(.no-smooth) { scroll-behavior: auto; }
body { background: var(--ground); }
h1, h2, h3, .display { font-weight: 400; color: var(--ink); }
.band--dark :is(h1, h2, h3) { color: var(--on-dark); }
.band--field :is(h2, h3) { color: var(--on-field); }
img { height: auto; }

/* ---------- rolled rim: the section rule ---------- */
.rim {
  height: 12px; border-radius: 999px; margin-block-end: clamp(28px, 4vw, 56px);
  background: var(--tin-rim);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(0,0,0,.18), 0 1px 0 rgba(0,0,0,.08);
  transform-origin: right center;
}
[dir="ltr"] .rim { transform-origin: left center; }
.rim--dark { opacity: .55; }
html.motion .rim { transform: scaleX(0); transition: transform 900ms var(--soft); }
html.motion .rim.is-in { transform: none; }

/* ---------- pull-ring button ---------- */
.pull {
  --h: 58px;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: var(--h); padding-inline: 8px 26px;
  border-radius: 999px; border: 0;
  background: var(--accent); color: #fff;
  font: 700 1.125rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.18), 0 10px 24px -12px rgba(179,22,26,.7);
  transition: transform 240ms var(--snap);
}
.pull__ring {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--tin-face);
  box-shadow: inset 0 0 0 6px #C9C5B9, inset 0 0 0 7px #8E8A7E, inset 0 0 0 14px rgba(0,0,0,0), 0 1px 2px rgba(0,0,0,.3);
  position: relative;
}
.pull__ring::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.pull:active { transform: scale(.96); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .pull:hover .pull__ring { transform: rotate(-24deg); } .pull__ring { transition: transform 300ms var(--snap); } }
.pull--sm { --h: 46px; font-size: 1rem; padding-inline: 6px 18px; gap: 10px; }
.pull--sm .pull__ring { width: 34px; height: 34px; }
.pull--sm .pull__ring::after { inset: 11px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: clamp(12px, 3vw, 40px); min-height: 76px; }
.mark { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.mark img { grid-row: 1 / 3; width: 52px; height: auto; }
.mark__name { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.3; color: var(--accent-ink); }
.mark__sub { font-size: .8125rem; line-height: 1.2; color: var(--ink-soft); }
.nav { display: flex; gap: clamp(14px, 2.2vw, 30px); margin-inline-start: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding-block: 12px; }
.nav a:hover { color: var(--accent-ink); }
.nav__lang { color: var(--brand-ink) !important; }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .mark__sub { display: none; }
  html.js .menu-btn {
    display: grid; place-items: center; width: 52px; height: 52px; margin-inline-start: auto; padding: 0; border: 0; border-radius: 50%;
    background: var(--tin-face); box-shadow: inset 0 0 0 4px #D9D6CC, inset 0 0 0 5px #8E8A7E, 0 4px 10px -4px rgba(20,36,58,.4); cursor: pointer;
  }
  .menu-btn__lines { display: grid; gap: 5px; width: 22px; }
  .menu-btn__lines i { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform 300ms var(--snap), opacity 160ms; }
  /* open: the three lines fold into one bar (no cross forms, studio rule) */
  .menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(8px); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { transform: translateY(-8px); }
  .menu-btn[aria-expanded="true"] .menu-btn__lines i:nth-child(2) { background: var(--accent); }
  html:not(.js) .nav { flex-wrap: wrap; gap: 4px 16px; }
  html.js .nav {
    position: absolute; inset-inline: 0; top: 100%; display: grid; gap: 0; margin: 0;
    padding: 8px var(--gut) 22px; background: var(--ground); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20,36,58,.45);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms, transform 300ms var(--soft), visibility 0s 300ms;
  }
  html.js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms, transform 300ms var(--soft), visibility 0s; }
  html.js .nav a { display: flex; align-items: center; min-height: 58px; padding-block: 8px; font-size: 1.375rem; font-weight: 800; border-bottom: 1px solid var(--line); }
  html.js .nav a.nav__lang { border-bottom: 0; margin-top: 10px; font-size: 1.125rem; }
  .top__in { position: static; }
  .top { position: sticky; }
}

/* ---------- hero: the tin ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(56px, 8vw, 120px); overflow: clip; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; color: var(--brand-ink); font-size: 1.0625rem; }
.kicker__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-mf-green, #75B050); box-shadow: 0 0 0 3px rgba(117,176,80,.25); }
.hero h1 { font-size: var(--t-hero); }
.h1__l { display: block; }
.h1__l + .h1__l { color: var(--accent-ink); }
.hero .lede { margin-block: 22px 34px; max-width: 34ch; color: var(--ink-soft); }
.hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.link-call { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; padding-block: 10px; }

html.motion .h1__l { animation: rise 700ms var(--soft) both; }
html.motion .h1__l + .h1__l { animation-delay: 120ms; }
@keyframes rise { from { opacity: .6; transform: translateY(.3em); } }

.tin { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; perspective: 1400px; }
.tin__body {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 10px #D9D6CC, 0 0 0 12px #A9A597, 0 0 0 20px #ECE9E1, 0 0 0 21px rgba(0,0,0,.15), 0 40px 60px -30px rgba(20,36,58,.45);
}
.tin__photo { width: 100%; height: 100%; object-fit: cover; }
.tin__lid { position: absolute; inset: -22px; transform-origin: 50% 0; transform-style: preserve-3d; transform: rotateX(-118deg); opacity: .9; }
.lid-svg { width: 100%; height: 100%; filter: drop-shadow(0 18px 18px rgba(20,36,58,.28)); }
.tin__ring {
  position: absolute; top: -40px; left: 50%; width: 84px; height: 56px; margin-left: -42px; padding: 0; border: 0; background: none; cursor: pointer;
  transform-origin: 50% 100%; transform: rotateX(-55deg) translateY(-6px); z-index: 2;
}
.tin__ring svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 4px rgba(0,0,0,.25)); }
html:not(.motion) .tin__ring { display: none; }
html.motion .tin:not(.is-open) .tin__lid { transform: none; opacity: 1; }
html.motion .tin:not(.is-open) .tin__ring { transform: none; }
html.motion .tin .tin__lid { transition: transform 1100ms var(--snap) 650ms, opacity 400ms linear 1350ms; }
html.motion .tin .tin__ring { transition: transform 420ms var(--soft) 250ms; }
html.motion .tin.is-closing .tin__lid, html.motion .tin.is-closing .tin__ring { transition: transform 380ms var(--soft), opacity 0ms; }

@media (max-width: 979px) {
  .hero__in { grid-template-columns: 1fr; }
  .tin { order: -1; width: min(62vw, 360px); margin-block: 34px 8px; }
  .hero__copy { text-align: start; }
}

/* ---------- shelf of lids ---------- */
.shelf { padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 80px); align-items: end; margin-block-end: clamp(32px, 5vw, 64px); }
.sec-head h2 { font-size: var(--t-h2); }
.sec-head .lede { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.band--field .sec-head .lede { color: var(--on-field); }
@media (max-width: 759px) { .sec-head { grid-template-columns: 1fr; } }

.lids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); }
.lid-btn { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: center; }
.lid-btn img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-block-end: 12px;
  box-shadow: 0 0 0 7px #D9D6CC, 0 0 0 9px #A9A597, 0 0 0 13px #ECE9E1, 0 18px 30px -18px rgba(20,36,58,.55);
  transition: transform 380ms var(--snap), box-shadow 200ms;
}
.lid-btn__name { font-family: var(--f-display); font-size: clamp(1.35rem, 1rem + 1vw, 1.9rem); line-height: 1.3; }
.lid-btn__n { font-size: .9375rem; color: var(--ink-soft); }
.lid-btn:active img { transform: scale(.94); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .lid-btn:hover img { transform: translateY(-6px) rotate(-6deg); } }
@media (max-width: 899px) { .lids { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; } }

/* ---------- the gauge (label-yellow band) ---------- */
.gauge { position: relative; }
.gauge::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 14px; background: var(--brand); }
.gauge::after { content: ""; position: absolute; inset-inline: 0; top: 14px; height: 5px; background: var(--c-mf-green, #75B050); }
.gauge__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 56px); align-items: start; }
html:not(.js) .gauge__grid { display: none; }
html.js .catalogue { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick-label { font-weight: 800; font-size: 1rem; margin-block-end: 12px; padding: 0; color: var(--on-field); }
.row-cats, .row-brands, .row-sizes { margin-block-end: 26px; }

.cats { display: flex; flex-wrap: wrap; gap: 10px; }
.cat {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 5px 5px 18px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.55); color: var(--on-field); font: 700 1rem/1.2 var(--f-body); cursor: pointer;
  transition: transform 380ms var(--snap), background 160ms;
}
[dir="ltr"] .cat { padding: 5px 18px 5px 5px; }
.cat img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #D9D6CC; }
.cat[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.cat[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--accent); }
.cat:active { transform: scale(.94); transition-duration: 100ms; }

/* brand flags: the F's slanted arm */
.flags { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.flag-btn {
  min-height: 48px; padding-block: 8px; padding-inline: 22px 34px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); font: 400 1.375rem/1.3 var(--f-display);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%);
  transition: transform 380ms var(--snap), background 160ms;
}
[dir="ltr"] .flag-btn { clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); padding-inline: 34px 22px; }
.flag-btn[aria-pressed="true"] { background: var(--brand); color: #fff; }
.flag-btn:active { transform: scale(.95); transition-duration: 100ms; }

/* size lids drawn to relative scale */
.sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 24px; min-height: 170px; }
.size { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--on-field); }
.size__lid {
  width: var(--d, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--beads), var(--tin-face);
  box-shadow: 0 0 0 5px #D9D6CC, 0 0 0 6px #8E8A7E, 0 12px 18px -10px rgba(20,36,58,.55);
  transition: box-shadow 160ms;
}
.size__g { font-weight: 800; font-size: 1.0625rem; }
.size[aria-pressed="true"] .size__lid { box-shadow: 0 0 0 5px var(--accent), 0 0 0 7px var(--accent-ink), 0 12px 18px -10px rgba(20,36,58,.55); }
html.motion .size { animation: lid-in 520ms var(--snap) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes lid-in { from { opacity: 0; transform: scale(.6); } }

.shot { margin: 0; background: var(--surface); padding: 10px; border-radius: 22px; box-shadow: 0 20px 40px -26px rgba(20,36,58,.6); }
.shot img { width: 100%; border-radius: 14px; aspect-ratio: 3 / 2; object-fit: cover; }
.shot figcaption { padding: 12px 6px 4px; font-weight: 700; color: var(--ink); }
html.motion .shot img.is-new { animation: shot-in 420ms var(--soft) both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(12px); } }

/* the carton: kraft panel */
.carton {
  position: relative; padding: clamp(22px, 3vw, 34px); padding-top: clamp(40px, 4vw, 50px);
  background: var(--corrugate), linear-gradient(180deg, #D3B282, #C9A574);
  color: #1F1A12; border-radius: 6px;
  box-shadow: 0 30px 50px -30px rgba(60,40,10,.7), inset 0 0 0 1px rgba(0,0,0,.1);
}
.carton::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 22px; background: linear-gradient(180deg, rgba(225,31,30,.92), rgba(179,22,26,.92)); box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.carton__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "item step" "unit step"; gap: 2px 16px; align-items: center; }
.carton__item { grid-area: item; margin: 0; font: 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.3 var(--f-display); }
.carton__unit { grid-area: unit; margin: 0; font-size: .9375rem; font-weight: 700; color: #4A3B22; }
.stepper { grid-area: step; display: flex; align-items: center; gap: 4px; background: #FFFDF7; border-radius: 999px; padding: 4px; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); }
.step { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font: 700 1.5rem/1 var(--f-body); cursor: pointer; transition: transform 240ms var(--snap); }
.step:active { transform: scale(.9); transition-duration: 100ms; }
.step__n { min-width: 2.6ch; text-align: center; font: 800 1.5rem/1 var(--f-body); color: var(--ink); }
.boxes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-block: 20px; min-height: 40px; align-content: start; }
.box { aspect-ratio: 1.25; border-radius: 3px; background: var(--corrugate), #A98353; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), inset 0 -4px 0 rgba(0,0,0,.08); position: relative; }
.box::after { content: ""; position: absolute; inset-inline: 0; top: 42%; height: 16%; background: rgba(225,31,30,.85); }
.box--more { display: grid; place-items: center; background: #FFFDF7; font-weight: 800; font-size: .9375rem; color: var(--ink); }
.box--more::after { display: none; }
html.motion .box.is-new { animation: drop 360ms var(--snap) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.9); } }
.pull--add { width: 100%; justify-content: flex-start; background: var(--ink); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.pull--add .pull__ring::after { background: var(--ink); }
.slip-h { margin-block: 26px 10px; font-size: 1.75rem; color: #1F1A12; }
.slip { list-style: none; margin: 0; padding: 0; background: #FFFDF7; border-radius: 4px; }
.slip:empty { display: none; }
.slip li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px dashed rgba(20,36,58,.22); color: var(--ink); }
.slip li:last-child { border-bottom: 0; }
html.motion .slip li.is-new { animation: shot-in 300ms var(--soft) both; }
.slip__what { flex: 1; font-weight: 700; }
.slip__x { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--accent-ink); font: 700 .9375rem/1 var(--f-body); cursor: pointer; text-decoration: underline; }
.slip-empty { margin: 0; color: #4A3B22; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-block: 20px; }
.who label { font-weight: 700; font-size: .9375rem; grid-row: 1; }
.who input { grid-row: 2; width: 100%; min-height: 48px; padding: 8px 14px; border: 0; border-radius: 6px; background: #FFFDF7; color: var(--ink); font: inherit; box-shadow: inset 0 1px 2px rgba(0,0,0,.2); }
.send {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 700 1.1875rem/1.2 var(--f-body); cursor: pointer; transition: transform 240ms var(--snap), opacity 160ms;
}
.send:disabled { background: #8F7A5A; color: #FFFDF7; cursor: not-allowed; }
.send:not(:disabled):active { transform: scale(.97); }
.send__n { min-width: 30px; height: 30px; padding-inline: 6px; border-radius: 999px; background: #FFFDF7; color: var(--ink); display: inline-grid; place-items: center; font-weight: 800; }
html.motion .send__n.is-bump { animation: bump 300ms var(--snap); }
@keyframes bump { 50% { transform: scale(1.12); } }
.carton .small { margin: 12px 0 0; color: #4A3B22; }

@media (max-width: 899px) {
  .gauge__grid { grid-template-columns: 1fr; }
  .sizes { min-height: 0; }
  .boxes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 479px) { .who { grid-template-columns: 1fr; } .who label, .who input { grid-row: auto; } }

.catalogue h3 { margin-block-end: 16px; }
.catalogue ul { columns: 2 16rem; margin: 0 0 28px; padding-inline-start: 1.2em; }
.catalogue li { padding-block: 4px; }

/* ---------- brands (MF blue night band) ---------- */
.brands { background: var(--dark); }
.brands__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.brands__copy { grid-column: 1 / span 5; padding-block-start: 12px; }
.brands__copy h2 { font-size: var(--t-h2); }
.brands__copy .lede { margin-block-start: 20px; }
.brands figure { margin: 0; }
.brands figure img, .brands__row img { width: 100%; border-radius: 18px; object-fit: cover; }
.brands__big { grid-column: 6 / span 7; grid-row: 1 / span 2; }
.brands__big img { aspect-ratio: 3 / 2; }
.brands__row { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: inherit; }
.brands__row li { position: relative; }
.brands__row img { aspect-ratio: 4 / 3; }
.flag {
  position: absolute; inset-block-end: 14px; inset-inline-start: 0;
  padding: 6px 30px 6px 18px; background: var(--accent); color: #fff;
  font: 400 1.5rem/1.3 var(--f-display);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%);
}
[dir="ltr"] .flag { clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); padding: 6px 18px 6px 30px; }
.brands__tea { grid-column: 1 / span 7; }
.brands__tea img { aspect-ratio: 16 / 9; }
.brands__sardine { grid-column: 8 / span 5; }
.brands__sardine img { aspect-ratio: 16 / 9; height: 100%; }
@media (max-width: 899px) {
  .brands__copy, .brands__big, .brands__tea, .brands__sardine { grid-column: 1 / -1; grid-row: auto; }
  .brands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- promise (MF red band) ---------- */
.promise { background: var(--accent); color: #fff; padding-block: clamp(48px, 7vw, 96px); position: relative; }
.promise::before, .promise::after { content: ""; position: absolute; inset-inline: 0; height: 10px; background: var(--tin-rim); }
.promise::before { top: 0; } .promise::after { bottom: 0; }
.promise__in { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.promise__in li { display: grid; gap: 10px; padding-inline: clamp(16px, 3vw, 40px); border-inline-start: 2px solid rgba(255,255,255,.35); }
.promise__in li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.promise__big { font: 400 clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem)/1.3 var(--f-display); }
.promise__small { font-size: 1.125rem; font-weight: 600; }
@media (max-width: 759px) {
  .promise__in { grid-template-columns: 1fr; gap: 26px; }
  .promise__in li { border-inline-start: 0; padding-inline: 0; border-top: 2px solid rgba(255,255,255,.35); padding-top: 22px; }
  .promise__in li:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- contact ---------- */
.contact { padding-block: var(--sec); }
.contact h2 { font-size: var(--t-h2); margin-block-end: clamp(32px, 5vw, 60px); }
.contact__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.big-lid {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 6px;
  width: clamp(240px, 28vw, 340px); aspect-ratio: 1; border-radius: 50%;
  background: var(--beads), var(--tin-face); color: var(--ink); text-decoration: none;
  box-shadow: 0 0 0 10px #D9D6CC, 0 0 0 12px #8E8A7E, 0 0 0 20px var(--c-mf-green, #75B050), 0 40px 60px -30px rgba(20,36,58,.5);
  transition: transform 380ms var(--snap);
}
.big-lid__ring { position: absolute; top: 12%; width: 64px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 8px #BDB9AD, inset 0 0 0 9px #7E7A6E; }
.big-lid__k { font: 400 clamp(2.2rem, 1.4rem + 2vw, 3.2rem)/1.3 var(--f-display); color: var(--accent-ink); margin-top: 30px; }
.big-lid__n { font-weight: 800; font-size: 1.375rem; }
.big-lid:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .big-lid:hover { transform: rotate(-4deg) scale(1.02); } }
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.3; color: var(--brand-ink); }
.facts dd { margin: 0; font-size: 1.1875rem; align-self: center; }
.facts a { color: var(--ink); font-weight: 800; }
@media (max-width: 759px) {
  .contact__grid { grid-template-columns: 1fr; justify-items: center; }
  .facts { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- footer ---------- */
.foot { background: var(--dark); color: var(--on-dark); }
.foot .legal { padding-block: 36px; }
.nivo-credit { display: inline-flex; align-items: center; gap: 10px; color: #E8ECF2; text-decoration: none; }
.nivo-credit__disc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #F3EFE4; }
.nivo-credit__disc img { width: 40px; height: 40px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; align-items: center; }
.lost__mark { width: 96px; margin-block-end: 24px; }
.lost .lede { margin-block: 18px 30px; color: var(--ink-soft); }

/* Badeen Display closes its counters below ~50px (render 2026-11-03): small display roles use Mada 800. */
.mark__name, .lid-btn__name, .flag-btn, .carton__item, .slip-h, .flag, .facts dt, .big-lid__k { font-family: var(--f-body); font-weight: 800; }
.mark__name { font-size: 1.625rem; }
.flag-btn { font-size: 1.1875rem; }
.flag { font-size: 1.25rem; }
.slip-h { font-size: 1.5rem; }
.facts dt { font-size: 1.25rem; }
.hero__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.hero h1 { font-size: min(var(--t-hero), 7.4vw); }
@media (max-width: 979px) { .hero__in { grid-template-columns: 1fr; } .hero h1 { font-size: var(--t-hero); } }
@media (max-width: 979px) { .tin { margin-block-start: clamp(80px, 22vw, 130px); } }

/* cycle 2 (2026-11-03) */
section[id], #order, #slip-title { scroll-margin-top: 92px; }
@media (max-width: 759px) { .sec-head h2, .brands__copy h2, .contact h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 3rem); } }
.bar { display: none; }
@media (max-width: 899px) {
  .bar {
    position: fixed; inset-inline: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 6px 6px 18px;
    border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none;
    box-shadow: 0 14px 30px -12px rgba(20,36,58,.7);
    transform: translateY(160%); transition: transform 360ms var(--snap);
  }
  [dir="ltr"] .bar { padding: 6px 18px 6px 6px; }
  .bar.is-on { transform: none; }
  .bar__go { padding: 10px 18px; border-radius: 999px; background: var(--accent); }
}
[dir="ltr"] .stepper { flex-direction: row-reverse; }
@media (min-width: 760px) and (max-width: 899px) {
  .promise__in { grid-template-columns: 1fr; gap: 26px; }
  .promise__in li { border-inline-start: 0; padding-inline: 0; border-top: 2px solid rgba(255,255,255,.35); padding-top: 22px; }
  .promise__in li:first-child { border-top: 0; padding-top: 0; }
}
/* brand row as rimmed lids (cycle 2) */
.brands__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); padding-block: 18px 8px; }
.brands__row li { display: grid; justify-items: center; }
.brands__row img { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 7px #D9D6CC, 0 0 0 9px #A9A597, 0 0 0 13px #ECE9E1, 0 24px 40px -22px rgba(0,0,0,.7); }
.brands__row .flag { position: static; margin-top: -26px; }
.brands__tea img, .brands__sardine img { aspect-ratio: 16 / 10; height: auto; }
.promise__big { font-size: clamp(2.2rem, 1.1rem + 2.9vw, 3.6rem); white-space: nowrap; }
@media (max-width: 899px) { .promise__big { white-space: normal; } }
@media (max-width: 899px) { .brands__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[dir="ltr"] .promise__big { white-space: normal; }
