/* ==========================================================================
   Solavita Foods — public site styles
   Direction: editorial Mediterranean pantry. Mobile-first, logical properties
   (inline/block) so the same rules serve RTL and LTR.
   ========================================================================== */

/* Brand palette (Solavita Foods guidelines): deep teal + heritage gold for the company,
   Velveto red reserved for product accents. Old token names kept so every rule follows. */
:root {
  --paper: #FFFFFF;
  --cream: #F5F2E9;            /* Solavita cream */
  --cream-2: #E8E2CF;
  --line: #E3DDCB;
  --ink: #1E2633;
  --ink-2: #455062;
  --ink-3: #5B6676;            /* ≥4.5:1 on paper and cream */
  --focus: #034744;
  --field-border: #7A8290;     /* form control boundary: ≥3:1 */
  --olive-950: #012423;        /* darkest teal: footer */
  --olive-900: #023A38;
  --olive-800: #034744;        /* Solavita Deep Teal */
  --olive-600: #2B6B66;
  --olive-100: #E3EEEC;
  --tomato: #CF0223;           /* Velveto Field Red: product accents and primary buttons */
  --tomato-700: #93010E;       /* Velveto Deep Red */
  --tomato-100: #FCE3E6;
  --gold: #B0A578;             /* Solavita Heritage Gold: decorative and on dark only */
  --gold-100: #EFEBDD;
  --success: #2F6B3A;
  --danger: #B42318;

  --font-display: 'Raleway', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;
  --shadow-s: 0 1px 2px rgba(20, 40, 30, .06), 0 2px 8px rgba(20, 40, 30, .05);
  --shadow-m: 0 10px 30px -12px rgba(20, 40, 30, .25);
  --shadow-l: 0 30px 60px -24px rgba(20, 40, 30, .35);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .45s;
}

:lang(ar) {
  --font-display: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

/* Brand logo (header, drawer, footer): the full-colour artwork is used on light and dark alike. */
.brand-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img { display: block; width: auto; height: 54px; }
.brand-logo--footer img { height: 84px; }
.site-footer__legal { margin: 4px 0 0; font-size: .8rem; opacity: .8; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
:lang(ar) body, body:lang(ar) { line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
:lang(ar) :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:is(.site-footer, .section--dark, .cta-band, .contact-card, .drawer__backdrop) :focus-visible { outline-color: var(--gold); }
/* Keep focused elements clear of the sticky header and floating buttons (WCAG 2.4.11) */
html { scroll-padding-block: 96px; }
main:focus { outline: none; }
::selection { background: var(--gold-100); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--olive-900); color: #fff; border-radius: var(--radius-s); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* ---------- Type ---------- */
.display { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); font-weight: 600; }
.display em, .display-em em { font-style: italic; color: var(--tomato); font-weight: 500; }
:lang(ar) .display em, :lang(ar) .display-em em { font-style: normal; }
.h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.h4 { font-size: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.body-lg { font-size: 1.1rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-600);
}
:lang(ar) :is(.eyebrow, .kicker) { letter-spacing: 0; font-size: .9rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--light { color: var(--gold); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--olive-800); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em;
  border: 1.5px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--dir { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon--dir { transform: scaleX(-1) translateX(3px); }
.btn--primary { --bg: var(--tomato); }
.btn--primary:hover { --bg: var(--tomato-700); }
.btn--outline { --bg: transparent; --fg: var(--olive-900); --bd: var(--olive-900); }
.btn--outline:hover { --bg: var(--olive-900); --fg: #fff; }
.btn--soft { --bg: var(--olive-100); --fg: var(--olive-900); }
.btn--soft:hover { --bg: var(--olive-800); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--olive-900); --bd: var(--line); }
.btn--light { --bg: #fff; --fg: var(--olive-900); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--outline-light:hover { --bd: #fff; --bg: rgba(255,255,255,.08); }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; color: var(--olive-800); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-block: 2px;
}
.link-arrow .icon { transition: transform .2s var(--ease); width: 1.1em; height: 1.1em; }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer; }

/* ---------- Tags & badges ---------- */
.tag {
  display: inline-flex; align-items: center; gap: .4em; width: fit-content;
  padding: .3em .8em; border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.tag--placeholder { background: var(--gold-100); color: #6B4A0E; border: 1px dashed #C99A3B; }
.tag--placeholder::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C99A3B; }
.badge { display: inline-block; padding: .15em .6em; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.badge--sample { background: var(--gold-100); color: #6B4A0E; }
.tbc { color: var(--ink-3); font-style: italic; }

/* ---------- Preview bar ---------- */
.preview-bar {
  display: flex; align-items: center; justify-content: center; gap: .6em;
  padding: 7px var(--gutter); background: var(--olive-950); color: #E9E2CF;
  font-size: .8rem; text-align: center;
}
.preview-bar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,40,30,.4); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .35em; text-decoration: none; color: var(--olive-900); }
.wordmark__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.wordmark__sub { font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--tomato); }
.wordmark--light { color: #fff; }
.main-nav { display: none; margin-inline: auto; }
.main-nav__list { display: flex; gap: 4px; }
.main-nav__link { position: relative; display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.main-nav__link:hover { color: var(--olive-900); background: var(--cream); }
.main-nav__link[aria-current="page"] { color: var(--olive-900); }
.main-nav__link[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--tomato); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--olive-900); transition: background-color .2s; }
.lang-switch:hover { background: var(--cream); }
.lang-switch span:lang(ar) { font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif; }
.lang-switch span:lang(en) { font-family: 'Raleway', 'Segoe UI', sans-serif; }
.site-header__cta { display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
[dir="rtl"] .menu-toggle .icon { transform: scaleX(-1); }

.lang-switch__short { display: none; }
/* Small laptops / landscape tablets: full nav + quote list + language + CTA must fit */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header__inner { gap: 14px; }
  .main-nav__link { padding: 10px 9px; font-size: .9rem; }
  .main-nav__link[aria-current="page"]::after { inset-inline: 9px; }
  .site-header__actions { gap: 6px; }
}
/* Phones: short language label so logo, quote list, language and menu always fit on one line */
@media (max-width: 479px) {
  .lang-switch__long { display: none; }
  .lang-switch__short { display: inline; }
  .site-header__actions { gap: 6px; }
}
/* Very small phones (320–389px): keep logo, language and menu on one line */
@media (max-width: 389px) {
  .site-header__inner { gap: 8px; }
  .wordmark__name { font-size: 1.3rem; }
  .wordmark__sub { letter-spacing: .18em; }
  .site-header__actions { gap: 6px; }
  .lang-switch { padding: 0 8px; }
  .lang-switch .icon { display: none; }
  .quote-badge, .menu-toggle { width: 40px; height: 40px; }
}

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .site-header__cta { display: inline-flex; }
  .site-header__actions { margin-inline-start: 0; }
}

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 29, 21, .5); animation: fade .25s; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(88vw, 380px);
  display: flex; flex-direction: column; gap: 24px; padding: 20px;
  background: var(--paper); box-shadow: var(--shadow-l); animation: slide-in .3s var(--ease); overflow-y: auto;
}
[dir="rtl"] .drawer__panel { animation-name: slide-in-rtl; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; }
.drawer__list a[aria-current="page"] { color: var(--tomato); }
.drawer__foot { display: grid; gap: 10px; margin-top: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
body.has-drawer { overflow: hidden; }

/* ---------- Illustrative can (rotating label) ---------- */
.can {
  --w: 120px;
  --h: calc(var(--w) * 1.36);
  --lid: calc(var(--w) * .22);
  position: relative; width: var(--w); height: var(--h);
}
/* Static soft shadow (a gradient, not a filter, so the spinning label never forces a blur repaint) */
.can::after {
  content: ""; position: absolute; inset-inline: -8%; bottom: calc(var(--w) * -.1); height: calc(var(--w) * .3); z-index: -1;
  background: radial-gradient(closest-side, rgba(20, 40, 30, .32), transparent);
}
.can--md { --w: 112px; }
.can--lg { --w: 150px; }
.can--xl { --w: 200px; }
.can__body {
  position: absolute; inset: calc(var(--lid) / 2) 0 0; overflow: hidden;
  background: linear-gradient(90deg, #7D848B, #D9DEE2 18%, #F4F6F7 32%, #B9C0C6 60%, #6A7076);
  border-radius: 0 0 50% 50% / 0 0 calc(var(--lid) / 2) calc(var(--lid) / 2);
}
.can__label {
  --label-h: calc((var(--h) - var(--lid) / 2) * .72);
  --tile: calc(var(--label-h) * 2.6667);
  position: absolute; inset-inline: 0; top: 13%; height: var(--label-h); overflow: hidden;
  background: var(--accent);
  border-radius: 0 0 50% 50% / 0 0 calc(var(--lid) / 2) calc(var(--lid) / 2);
}
/* Two label tiles side by side; spinning = sliding this layer by one tile with transform (GPU, no repaint) */
.can__label::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--tile) * 2);
  background: var(--label) repeat-x 0 0 / var(--tile) 100%;
}
.can__label::before { /* curves the label's top edge like a cylinder seen from above */
  content: ""; position: absolute; z-index: 1; inset-inline: 0; top: calc(var(--lid) / -2); height: var(--lid); border-radius: 50%;
  background: linear-gradient(90deg, #7D848B, #D9DEE2 18%, #F4F6F7 32%, #B9C0C6 60%, #6A7076);
}
.can--spin .can__label::after { animation: can-spin 14s linear infinite; will-change: transform; }
@keyframes can-spin { to { transform: translateX(calc(var(--tile) * -1)); } }
[dir="rtl"] .can--spin .can__label::after { animation-direction: reverse; }
.can__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.36), rgba(255,255,255,.26) 20%, rgba(255,255,255,.04) 36%, rgba(0,0,0,.05) 68%, rgba(0,0,0,.42));
}
.can__lid {
  position: absolute; inset-inline: 0; top: 0; height: var(--lid); border-radius: 50%;
  background: linear-gradient(160deg, #F7F8F9, #C2C8CD 55%, #8D9399);
  box-shadow: inset 0 0 0 calc(var(--w) * .04) #D5DADE, inset 0 0 0 calc(var(--w) * .052) #9AA0A6, inset 0 -3px 6px rgba(0,0,0,.2);
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 72px) clamp(48px, 6vw, 88px); overflow: hidden; }
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 50% at 85% 40%, #fff, transparent 70%), radial-gradient(40% 40% at 10% 90%, var(--cream-2), transparent 70%); opacity: .9; pointer-events: none; }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__range { display: grid; gap: 10px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; }
.hero__range-label { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.hero__range ul { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__range a {
  display: inline-flex; align-items: center; gap: .45em; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
[dir="rtl"] .hero__range a { padding: 6px 8px 6px 14px; }
.hero__range a:hover { border-color: var(--accent); transform: translateY(-2px); }
.hero__range svg { width: 24px; height: 24px; }

.hero__stage { position: relative; aspect-ratio: 1; width: min(100%, 560px); margin-inline: auto; perspective: 1000px; --mx: 0; --my: 0; }
.hero__disc { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, var(--cream-2) 72%); box-shadow: inset 0 -30px 60px rgba(30, 58, 43, .12); }
.hero__ring { position: absolute; inset: 3%; border-radius: 50%; border: 1.5px dashed rgba(61, 107, 79, .35); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__cans {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18%;
  transform: rotateY(calc(var(--mx) * 8deg)) rotateX(calc(var(--my) * -6deg)); transform-style: preserve-3d; transition: transform .6s var(--ease);
}
.hero__can { position: relative; }
.hero__can--0, .hero__can--2 { margin-bottom: 6%; z-index: 1; }
.hero__can--0 { margin-inline-end: -10%; transform: rotate(-6deg); }
.hero__can--2 { margin-inline-start: -10%; transform: rotate(6deg); }
.hero__can--1 { z-index: 2; }
.hero__stage .can--lg { --w: clamp(96px, 22vw, 150px); }
.hero__stage .can--xl { --w: clamp(132px, 31vw, 210px); }
.float { position: absolute; width: 14%; height: 14%; translate: calc(var(--mx) * var(--d, 1) * 14px) calc(var(--my) * var(--d, 1) * 14px); transition: translate .6s var(--ease); animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(20,40,30,.18)); }
.float--1 { top: 8%; inset-inline-start: 12%; width: 17%; height: 17%; --d: 1.4; }
.float--2 { top: 14%; inset-inline-end: 8%; width: 15%; height: 15%; --d: 1.1; animation-delay: -2s; }
.float--3 { top: 46%; inset-inline-start: 3%; width: 8%; height: 8%; --d: 1.8; animation-delay: -4s; }
.float--4 { bottom: 12%; inset-inline-end: 6%; width: 10%; height: 10%; --d: 1.2; animation-delay: -1s; }
.float--5 { top: 36%; inset-inline-end: 4%; width: 7%; height: 7%; --d: 2; animation-delay: -3s; }
.float--6 { bottom: 9%; inset-inline-start: 10%; width: 10%; height: 10%; --d: .9; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }
.hero__tag { position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; }
[dir="rtl"] .hero__tag { transform: translateX(50%); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.facts li { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: .9rem; color: var(--olive-800); }
.facts .icon { width: 1.15em; height: 1.15em; color: var(--tomato); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #168040; color: #fff; box-shadow: 0 0 0 3px #fff, 0 12px 28px -8px rgba(20, 90, 50, .55);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float__tip {
  position: absolute; inset-inline-end: calc(100% + 10px); white-space: nowrap; padding: 8px 12px; border-radius: 10px;
  background: var(--olive-950); color: #fff; font-size: .82rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .2s, transform .2s;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }
.wa-float--tbc { background: #4F7F5E; }
.wa-float--tbc::after { content: ""; position: absolute; top: 2px; inset-inline-end: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; }
.btn--whatsapp { --bg: #168040; }
.btn--whatsapp:hover { --bg: #0F6B33; }
.btn.is-tbc { border-style: dashed; }
.badge--main { margin-inline-start: 6px; background: var(--tomato); color: #fff; letter-spacing: 0; text-transform: none; }

.consent {
  position: fixed; inset-inline: 16px; inset-block-end: 16px; z-index: 70; max-width: 560px;
  display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--radius-m);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); font-size: .92rem;
}
.consent[hidden] { display: none; }
.product-photo { width: 100%; height: 100%; max-height: 420px; object-fit: contain; position: relative; }

/* Pause control for decorative motion (WCAG 2.2.2) */
.motion-toggle {
  position: absolute; top: 0; inset-inline-end: 0; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.9);
  font-size: .8rem; font-weight: 700; color: var(--olive-900); cursor: pointer;
}
.motion-toggle__icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon { border: 0; width: 0; height: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; }
[dir="rtl"] .motion-toggle[aria-pressed="true"] .motion-toggle__icon { transform: scaleX(-1); }
.motion-paused :is(.marquee__track, .hero__ring, .float, .preview-bar__dot) { animation-play-state: paused !important; }
.motion-paused .can__label::after { animation-play-state: paused !important; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--cream); padding-block: 16px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); color: var(--olive-800); white-space: nowrap; }
.marquee__group svg { width: 34px; height: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--cream); }
.section--dark { background: var(--olive-900); color: #EDE8DB; }
.section--dark .h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { display: grid; gap: 12px; }
.section-head--stack { display: grid; gap: 14px; justify-content: start; max-width: 720px; }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.section-head--center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Product cards / bento ---------- */
.bento { display: grid; gap: 20px; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.25fr 1fr 1fr; }
  .bento .product-card--featured { grid-row: span 2; }
  .bento > :nth-child(4) { grid-column: 2 / span 2; }
  .bento > :nth-child(4) { flex-direction: row; }
  .bento > :nth-child(4) .product-card__media { flex: 0 0 44%; min-height: 0; }
}
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: transparent; }
.product-card__media {
  position: relative; display: grid; place-items: center; min-height: 240px; padding: 32px 16px 26px;
  background: radial-gradient(circle at 50% 40%, #fff, var(--tint) 70%); overflow: hidden;
}
.product-card--featured .product-card__media { min-height: 380px; flex: 1; }
.product-card__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.product-card .can { transition: transform .5s var(--ease); }
.product-card:hover .can { transform: translateY(-6px) rotate(-3deg); }
.product-card:hover .can__label::after { animation: can-spin 6s linear infinite; }
[dir="rtl"] .product-card:hover .can__label::after { animation-direction: reverse; }
.product-card__ing { position: absolute; width: 56px; height: 56px; transition: transform .5s var(--ease); }
.product-card__ing--a { top: 14%; inset-inline-start: 12%; transform: rotate(-20deg); }
.product-card__ing--b { bottom: 12%; inset-inline-end: 12%; width: 40px; height: 40px; transform: rotate(30deg); }
.product-card:hover .product-card__ing--a { transform: translate(-6px, -6px) rotate(-35deg); }
.product-card:hover .product-card__ing--b { transform: translate(6px, 4px) rotate(50deg); }
.product-card__body { display: grid; gap: 10px; padding: 22px 24px 24px; align-content: start; }
.product-card__brand { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 55%, #000); }
.product-card__title { font-size: 1.55rem; }
.product-card__title a { text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product-card__text { color: var(--ink-2); }
.product-card__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chips li { padding: .25em .75em; border-radius: 999px; background: var(--tint, var(--cream)); color: var(--ink); font-weight: 700; font-size: .85rem; }
.size-tbc { font-size: .88rem; color: var(--ink-3); font-style: italic; }

/* ---------- Split feature & art frame ---------- */
.split-feature__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split-feature__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.split-feature__copy { display: grid; gap: 20px; justify-items: start; }
.art-frame { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: visible; }
.art-frame > .scene { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); }
.art-frame__card {
  position: absolute; bottom: -22px; inset-inline-end: 22px; display: grid; gap: 2px; max-width: 250px;
  padding: 16px 20px; border-radius: var(--radius-m); background: #fff; box-shadow: var(--shadow-m); font-size: .85rem; color: var(--ink-2);
}
.art-frame__brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--olive-900); }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: var(--olive-600); transform: translateY(-3px); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--olive-100); color: var(--olive-800); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature p { color: var(--ink-2); }

/* ---------- Why (dark) ---------- */
.why { display: grid; gap: 40px; }
@media (min-width: 900px) { .why { grid-template-columns: .9fr 1.4fr; gap: 72px; align-items: start; } .why__head { position: sticky; top: 120px; } }
.why__head { display: grid; gap: 14px; }
.why__list { display: grid; gap: 0; counter-reset: why; }
.why__list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.why__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.why__num { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); font-weight: 500; }
.why__list h3 { color: #fff; margin-bottom: 6px; }
.why__list p { color: #C9C5B6; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 28px; position: relative; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before { content: ""; position: absolute; top: 36px; inset-inline: 12%; border-top: 2px dashed var(--line); }
}
.step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding-inline: 8px; }
.step__badge { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--paper); border: 2px solid var(--olive-800); color: var(--olive-800); }
.step__badge .icon { width: 28px; height: 28px; }
.step__n { position: absolute; top: -4px; inset-inline-end: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tomato); color: #fff; font-size: .8rem; font-weight: 800; }
.step p { color: var(--ink-2); max-width: 24em; }

/* ---------- Posts ---------- */
.post-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.post-card__media { position: relative; display: grid; place-items: center; height: 170px; background: linear-gradient(135deg, var(--cream), var(--cream-2)); overflow: hidden; }
.post-card__media svg { width: 92px; height: 92px; position: relative; transition: transform .5s var(--ease); }
.post-card__media .post-card__echo { position: absolute; width: 220px; height: 220px; inset-inline-end: -50px; bottom: -70px; opacity: .18; }
.post-card:hover .post-card__media svg:first-child { transform: scale(1.08) rotate(-8deg); }
.post-card__body { display: grid; gap: 10px; padding: 22px 24px 26px; align-content: start; flex: 1; }
.post-card__body h3 a { text-decoration: none; }
.post-card__body h3 a:hover { color: var(--tomato); }
.post-card__body > p:not(.post-card__meta) { color: var(--ink-2); }
.post-card__body .link-arrow { margin-top: auto; justify-self: start; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(24px, 4vw, 48px) var(--section); }
.cta-band__inner {
  position: relative; display: grid; gap: 28px; padding: clamp(36px, 6vw, 72px); overflow: hidden;
  border-radius: var(--radius-xl); background: radial-gradient(120% 120% at 0% 0%, var(--olive-600), var(--olive-900) 60%); color: #EDE8DB;
}
.cta-band__copy { position: relative; display: grid; gap: 12px; max-width: 640px; }
.cta-band__copy .h2 { color: #fff; }
.cta-band .btn-row { position: relative; }
/* Real tomato photo behind the band; the olive wash is solid under the text and opens up toward the far side */
.cta-band__media { position: absolute; inset: 0; pointer-events: none; }
.cta-band__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--olive-900) 0%, rgba(2, 58, 56, .93) 45%, rgba(2, 58, 56, .55) 100%); }
[dir="rtl"] .cta-band__media::after { background: linear-gradient(to left, var(--olive-900) 0%, rgba(2, 58, 56, .93) 45%, rgba(2, 58, 56, .55) 100%); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; align-items: end; } }
@media (max-width: 899px) { .cta-band__media::after { background: rgba(2, 58, 56, .88); } }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); overflow: hidden; }
.page-head__inner { position: relative; display: grid; gap: 16px; max-width: 760px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-3); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--tomato); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-950); color: #C9C5B6; padding-block: 64px 28px; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__brand { display: grid; gap: 14px; align-content: start; max-width: 340px; }
.site-footer__note { font-size: .85rem; color: #8F9A8C; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
:lang(ar) .site-footer h2 { letter-spacing: 0; font-size: .95rem; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { color: var(--gold); }
.site-footer .tbc { color: #8F9A8C; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.site-footer__preview-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__preview-links a { color: var(--gold); text-decoration: underline; }

/* ---------- Above-the-fold entrance (CSS only, never hides content without JS) ---------- */
.rise { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: .01; transform: translateY(18px); } }
.display.rise, .lead.rise { animation-name: rise-lcp; animation-delay: 0s; }
@keyframes rise-lcp { from { transform: translateY(14px); } }
.hero__stage { animation: stage-in 1.1s var(--ease) both .15s; }
@keyframes stage-in { from { opacity: 0; transform: scale(.94) translateY(20px); } }

/* ---------- Reveal-on-scroll (progressive: only when JS is running) ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- Quote list badge (header) ---------- */
.quote-badge { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--olive-900); background: var(--olive-100); text-decoration: none; }
.quote-badge[hidden] { display: none; }
.quote-badge .icon { width: 22px; height: 22px; }
.quote-badge__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--tomato); color: #fff; font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; }
.feature__links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-weight: 700; font-size: .9rem; }
.feature__links a { color: var(--olive-800); }
.site-footer__sub { margin-top: 22px; }
.site-footer__brand .btn { justify-self: start; }

/* ==========================================================================
   Photography (real photos replace the illustrated cans and scenes)
   ========================================================================== */

/* Hero: editorial photo collage with floating fact cards */
.hero__media { position: relative; width: min(100%, 600px); margin-inline: auto; aspect-ratio: 1 / 1.02; animation: stage-in 1.1s var(--ease) both .15s; }
.hero__photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); background: var(--cream-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo--main { inset-block-start: 0; inset-inline-end: 0; width: 82%; height: 78%; }
.hero__photo--side { inset-block-end: 4%; inset-inline-start: 0; width: 44%; height: 38%; border: 6px solid var(--paper); }
.hero__card {
  position: absolute; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: var(--shadow-m); color: var(--ink); text-decoration: none;
}
.hero__card--product { inset-block-end: 14%; inset-inline-end: 4%; max-width: 250px; transition: transform .3s var(--ease); }
.hero__card--product:hover { transform: translateY(-3px); }
.hero__card--product strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.hero__card-kicker { font-size: .72rem; font-weight: 800; color: var(--tomato); }
.hero__card-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hero__card-sizes span { padding: 2px 10px; border-radius: 999px; background: var(--tomato-100); font-weight: 700; font-size: .82rem; }
.hero__card--facts { inset-block-start: 6%; inset-inline-start: 0; gap: 8px; font-weight: 700; font-size: .85rem; }
.hero__card--facts span { display: flex; align-items: center; gap: 6px; }
.hero__card--facts .icon { color: var(--olive-600); width: 1.1em; height: 1.1em; }
.hero__media .hero__tag { bottom: -6px; }
.hero__media .motion-toggle { top: auto; bottom: -6px; inset-inline-end: 0; }
@media (max-width: 520px) {
  .hero__card--facts { inset-block-start: auto; inset-block-end: 46%; font-size: .78rem; padding: 10px 12px; }
  .hero__card--product { max-width: 200px; padding: 12px; }
  .hero__media .hero__tag { inset-inline-start: 0; transform: none; bottom: -34px; white-space: normal; }
  .hero__media .motion-toggle { bottom: -36px; }
  .hero__media { margin-bottom: 36px; }
}

/* Product cards and product page with a real photo */
.product-card__media:has(> .product-photo) { padding: 0; min-height: 0; aspect-ratio: 4 / 3; background: var(--cream-2); }
.product-card--featured .product-card__media:has(> .product-photo) { aspect-ratio: auto; min-height: 320px; }
.product-card__media > .product-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media > .product-photo { transform: scale(1.05); }
.pd__photo { margin: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); background: var(--cream-2); }
.pd__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Other photo slots */
.art-frame > .art-frame__photo { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); display: block; }
.about-hero__art .about-hero__photo { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; display: block; }
.post-card__media .post-card__photo { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.post-card__media:has(.post-card__photo) { height: 190px; }
.post-card:hover .post-card__photo { transform: scale(1.05); transition: transform .6s var(--ease); }

.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tomato); flex: none; }
.marquee__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); flex: none; display: inline-block; }
/* Phones: one clean photo, the product card overlapping its bottom edge, then label + motion control in flow */
@media (max-width: 600px) {
  .hero__media { aspect-ratio: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 0; }
  .hero__photo--main { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .hero__photo--side, .hero__card--facts { display: none; }
  .hero__card--product { position: relative; inset: auto; width: calc(100% - 28px); max-width: none; margin: -64px 14px 0; padding: 14px 16px; }
  .hero__media .hero__tag, .hero__media .motion-toggle { position: static; transform: none; white-space: normal; }
  .hero__media .hero__tag { flex: 1 1 200px; }
}
