/* ==========================================================================
   Al Umara Golden — main stylesheet
   Layout uses logical properties so Arabic (RTL) and English (LTR) mirror.
   ========================================================================== */

:root {
  --blue: #011689;
  --blue-700: #01107a;
  --navy: #000b55;
  --navy-900: #00073a;
  --gold: #d0a052;
  --gold-600: #b7883a;
  --gold-200: #ecd3a3;
  --cream: #fff3d6;
  --cream-50: #fffaf0;
  --cream-100: #fbf4e3;
  --white: #ffffff;
  --ink: #0a1450;
  --ink-soft: #3a4478;

  --font-display: 'Lalezar', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --display-lh: 1.12;
  --display-track: 0;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;
  --header-h: 76px;
  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 18px 40px -22px rgba(0, 11, 85, 0.45);
}

html[lang='en'] {
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --display-lh: 0.95;
  --display-track: 0.005em;
}

@media (max-width: 767px) {
  :root { --header-h: 64px; --radius: 20px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html[lang='en'] body { line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; padding-top: var(--header-h); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--display-lh);
  letter-spacing: var(--display-track);
  margin: 0;
}
html[lang='en'] .display, html[lang='en'] .h1, html[lang='en'] .h2, html[lang='en'] .h3 { font-weight: 800; text-transform: uppercase; }
.h1 { font-size: clamp(52px, 8.4vw, 128px); }
.h2 { font-size: clamp(42px, 6.2vw, 96px); }
.h3 { font-size: clamp(30px, 3.4vw, 48px); }
.eyebrow { font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--gold); margin: 0 0 12px; }
html[lang='en'] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; max-width: 46ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); box-shadow: 0 12px 24px -12px rgba(1, 22, 137, .7); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-200); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--cream); }
.btn--ghost { border: 2px solid currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn svg { width: 20px; height: 20px; flex: none; }

.circle-btn {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  border: 2px solid currentColor; color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.circle-btn svg { width: 20px; height: 20px; }
[dir='rtl'] .flip-rtl { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--hdr-bg, var(--blue)); color: var(--hdr-fg, var(--white));
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .3s;
}
.site-header[data-theme='cream'] { --hdr-bg: var(--cream); --hdr-fg: var(--blue); --hdr-btn: rgba(1, 22, 137, .08); --hdr-input: rgba(1, 22, 137, .08); }
.site-header[data-theme='white'] { --hdr-bg: var(--white); --hdr-fg: var(--blue); --hdr-btn: rgba(1, 22, 137, .07); --hdr-input: rgba(1, 22, 137, .07); }
.site-header[data-theme='navy'] { --hdr-bg: var(--navy); --hdr-fg: var(--white); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .5); }
.hdr { height: 100%; display: flex; align-items: center; gap: 20px; max-width: none; padding-inline: clamp(14px, 2.4vw, 32px); }
.hdr__logo { display: block; flex: none; }
.hdr__logo img { height: calc(var(--header-h) - 14px); width: auto; transition: transform .35s var(--ease); }
.hdr__logo:hover img { transform: scale(1.04) rotate(-1.5deg); }
.hdr__nav { display: none; margin-inline: auto; }
.hdr__nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); list-style: none; margin: 0; padding: 0; }
.hdr__nav a { position: relative; font-weight: 700; font-size: 15.5px; padding-block: 8px; white-space: nowrap; }
.hdr__nav a::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current='page']::after { transform: scaleX(1); }
.hdr__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--hdr-btn, rgba(255, 255, 255, .12)); transition: background-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { transform: scale(1.06); background: var(--gold); color: var(--navy); }
.icon-btn svg { width: 21px; height: 21px; }
.lang-btn { width: auto; padding-inline: 16px; border-radius: 999px; font-weight: 700; font-size: 15px; gap: 6px; display: inline-flex; align-items: center; }
.hdr__search {
  display: none; align-items: center; gap: 10px; height: 46px; padding-inline: 18px 8px; width: 210px;
  border-radius: 999px; background: var(--hdr-input, rgba(0, 0, 0, .18)); font-size: 15px; font-weight: 500;
  transition: background-color .25s;
}
.hdr__search:hover { background: var(--hdr-btn, rgba(255, 255, 255, .18)); }
.hdr__search span { flex: 1; text-align: start; opacity: .8; }
.hdr__search svg { width: 19px; height: 19px; }
@media (min-width: 1180px) {
  .hdr__nav { display: block; }
  .hdr__nav + .hdr__actions { margin-inline-start: 0; }
}
@media (min-width: 900px) {
  .hdr__search { display: inline-flex; }
  .hdr__search-icon { display: none; }
}

/* ---------- Drawer menu ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none;
}
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 7, 58, .55); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(520px, 100%);
  background: var(--blue); color: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease-out); overflow-y: auto;
  background-image: radial-gradient(120% 60% at 100% 100%, rgba(208, 160, 82, .22), transparent 60%);
}
[dir='rtl'] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: 20px; flex: none; }
.drawer__top img { height: calc(var(--header-h) - 16px); width: auto; }
.drawer__nav { padding: 18px 32px 8px; flex: 1; }
.drawer__nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: clamp(34px, 7vw, 46px); line-height: 1.25; padding-block: 6px;
  opacity: 0; transform: translateY(14px); transition: color .25s, opacity .5s var(--ease), transform .5s var(--ease);
}
html[lang='en'] .drawer__nav a { font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.drawer__nav a svg { width: 28px; height: 28px; opacity: 0; transition: opacity .25s, transform .25s; }
.drawer__nav a:hover, .drawer__nav a[aria-current='page'] { color: var(--gold); }
.drawer__nav a:hover svg { opacity: 1; }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav li:nth-child(2) a { transition-delay: .05s; }
.drawer.is-open .drawer__nav li:nth-child(3) a { transition-delay: .1s; }
.drawer.is-open .drawer__nav li:nth-child(4) a { transition-delay: .15s; }
.drawer.is-open .drawer__nav li:nth-child(5) a { transition-delay: .2s; }
.drawer.is-open .drawer__nav li:nth-child(6) a { transition-delay: .25s; }
.drawer__foot { padding: 24px 32px 32px; display: grid; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .15); }
.drawer__foot .btn { justify-content: center; }
.drawer__contact { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Search overlay ---------- */
.search {
  position: fixed; inset: 0; z-index: 160; visibility: hidden; pointer-events: none;
}
.search__scrim { position: absolute; inset: 0; background: rgba(0, 7, 58, .6); opacity: 0; transition: opacity .35s; }
.search__panel {
  position: absolute; inset: 0 0 auto 0; background: var(--cream); color: var(--blue);
  padding: 18px var(--gutter) 28px; transform: translateY(-100%); transition: transform .45s var(--ease-out);
  max-height: 92vh; overflow-y: auto; border-radius: 0 0 var(--radius) var(--radius);
}
.search.is-open { visibility: visible; pointer-events: auto; }
.search.is-open .search__scrim { opacity: 1; }
.search.is-open .search__panel { transform: none; }
.search__bar { max-width: 900px; margin-inline: auto; display: flex; gap: 12px; align-items: center; }
.search__field { flex: 1; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 999px; padding-inline: 22px 8px; height: 60px; box-shadow: 0 0 0 2px rgba(1, 22, 137, .12); }
.search__field:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.search__field svg { width: 22px; height: 22px; flex: none; }
.search__field input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 18px; min-width: 0; }
.search__results { max-width: 900px; margin: 22px auto 0; display: grid; gap: 22px; }
.search__group h3 { font-size: 14px; margin: 0 0 10px; color: var(--ink-soft); font-weight: 700; }
.search__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.search__list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; background: var(--white); transition: transform .2s var(--ease), box-shadow .2s; }
.search__list a:hover, .search__list a:focus-visible { transform: translateX(0) scale(1.01); box-shadow: 0 0 0 2px var(--gold); }
.search__list img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--cream-100); flex: none; }
.search__list .is-photo img { object-fit: cover; }
.search__list strong { display: block; font-size: 16px; }
.search__list small { color: var(--ink-soft); font-size: 14px; }
.search__empty { text-align: center; color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- Hero (photo + brand frame) ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy);
  min-height: clamp(540px, 42vw, 800px); display: flex; align-items: center; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.2s var(--ease-out) both; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(270deg, rgba(0, 7, 58, .55) 0%, rgba(0, 7, 58, .2) 30%, rgba(0, 7, 58, 0) 48%);
}
/* The brand outline keeps its true proportions; copy sits inside it. Desktop photo
   compositions keep their open space on the right, so the copy is anchored right in
   both languages. */
.hero__copy {
  position: relative; width: clamp(420px, 38vw, 700px); aspect-ratio: 1228 / 792;
  margin-right: clamp(12px, 2vw, 56px); margin-left: auto;
  display: grid; gap: clamp(8px, .9vw, 16px); justify-items: center; align-content: center; text-align: center;
  padding: 7% 10% 8%;
}
.hero__frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -1;
  pointer-events: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .3));
  animation: frameIn 1.2s .2s var(--ease-out) both;
}
.hero__copy .h1 { font-size: clamp(30px, 2.8vw, 54px); text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero__copy p { margin: 0; font-weight: 600; font-size: clamp(14.5px, 1.1vw, 18px); line-height: 1.55; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); max-width: 34ch; }
.hero__copy .btn { min-height: 48px; padding: 10px 26px; }
.hero__copy .eyebrow { margin: 0; }
.hero__copy > *:not(.hero__frame) { animation: rise .9s var(--ease-out) both; }
.hero__copy > *:nth-child(3) { animation-delay: .2s; }
.hero__copy > *:nth-child(4) { animation-delay: .3s; }
.hero__copy > *:nth-child(5) { animation-delay: .4s; }
@media (min-width: 1200px) {
  /* Show the whole photo height; extend the open right side with navy. */
  .hero__media img { left: 0; right: auto; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .hero--cover .hero__media img { width: 100%; -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  /* Tablet: photo at its native 2:1, outline + copy beneath on brand blue. */
  .hero { display: block; min-height: 0; background: var(--blue); padding-bottom: 96px; }
  .hero::after { display: none; }
  .hero__media { position: relative; aspect-ratio: 2 / 1; }
  .hero__copy { margin: 40px auto 0; width: min(600px, 86vw); }
  .hero__copy .h1 { font-size: clamp(40px, 5.4vw, 60px); }
  .hero__copy p { font-size: 17px; }
}

/* Notch that joins the hero to the next section, with the scroll cue. */
.notch { position: absolute; inset-inline: 0; bottom: -1px; height: 90px; pointer-events: none; z-index: 2; color: var(--notch, var(--blue)); display: flex; align-items: flex-end; }
.notch__fill { flex: 1; height: 57px; background: currentColor; }
.notch svg { flex: none; width: 360px; height: 90px; display: block; margin-inline: -1px; }
@media (max-width: 767px) { .notch { height: 70px; } .notch__fill { height: 44px; } .notch svg { width: 260px; height: 70px; } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 3;
  width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8);
  display: grid; place-items: center; color: var(--white); background: rgba(0, 7, 58, .2);
  backdrop-filter: blur(4px); transition: background-color .3s, transform .3s var(--ease);
}
.scroll-cue:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.scroll-cue svg { width: 30px; height: 30px; animation: bob 2.4s ease-in-out infinite; }

@media (max-width: 767px) {
  .hero { align-items: flex-start; min-height: calc(100svh - var(--header-h)); max-height: 860px; }
  .hero::after { background: linear-gradient(180deg, rgba(0, 7, 58, .55) 0%, rgba(0, 7, 58, .15) 38%, rgba(0, 7, 58, 0) 55%); }
  .hero__media img { object-position: 50% 0%; }
  .hero__copy { width: calc(100% - 24px); margin: 14px auto 0; padding: 7% 12% 8%; gap: 8px; }
  .hero__copy .h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero__copy p { display: none; }
  .hero__copy .btn { min-height: 44px; padding: 8px 22px; font-size: 15px; }
  .scroll-cue { width: 56px; height: 56px; bottom: 6px; }
}

/* Simple colour heroes (story / quality) */
.pattern-hero {
  position: relative; isolation: isolate; text-align: center; overflow: hidden;
  padding: clamp(90px, 12vw, 170px) var(--gutter) clamp(110px, 12vw, 180px);
  min-height: clamp(520px, 78vh, 760px); display: grid; place-items: center;
}
.pattern-hero picture, .pattern-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.pattern-hero--blue { background: var(--blue); color: var(--white); }
.pattern-hero--cream { background: var(--cream); color: var(--blue); }
.pattern-hero__inner { max-width: 820px; display: grid; gap: 22px; justify-items: center; }
.pattern-hero__inner > * { animation: rise .9s var(--ease-out) both; }
.pattern-hero__inner > *:nth-child(2) { animation-delay: .15s; }
.pattern-hero__inner > *:nth-child(3) { animation-delay: .25s; }
.pattern-hero__inner > *:nth-child(4) { animation-delay: .35s; }
.pattern-hero .sub { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 36px); color: var(--gold); margin: 0; line-height: 1.2; }
html[lang='en'] .pattern-hero .sub { font-weight: 700; }
.pattern-hero p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; max-width: 60ch; }
.pattern-hero--cream .sub { color: var(--gold-600); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-cream { background: var(--cream); color: var(--blue); }
.bg-white { background: var(--white); color: var(--ink); }
.bg-white .h2, .bg-white .h3 { color: var(--blue); }
.bg-blue .eyebrow, .bg-navy .eyebrow { color: var(--gold); }
.bg-cream .eyebrow { color: var(--gold-600); }
.bg-cream p { color: var(--ink); }
.bg-blue .h2.gold, .bg-navy .h2.gold { color: var(--gold); }
.with-pattern { background-size: cover; background-position: center; }

/* ---------- Carousel (rail) ---------- */
.carousel { position: relative; }
.carousel__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__nav button {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid currentColor; opacity: .9; transition: background-color .25s, color .25s, opacity .25s, transform .25s var(--ease);
}
.carousel__nav button:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: scale(1.05); }
.carousel__nav button:disabled { opacity: .3; cursor: default; }
.carousel__nav svg { width: 22px; height: 22px; }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-block: 70px 10px; margin-block: -70px 0;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-progress { height: 4px; border-radius: 4px; background: currentColor; opacity: .18; margin: 28px var(--gutter) 0; position: relative; overflow: hidden; }
.rail-progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 20%; border-radius: inherit; background: currentColor; opacity: 1; transition: width .2s, inset-inline-start .2s; }
.rail-progress { opacity: 1; background: rgba(127, 127, 160, .25); }
.bg-blue .rail-progress span, .bg-navy .rail-progress span { background: var(--gold); }
.bg-cream .rail-progress span, .bg-white .rail-progress span { background: var(--blue); }

/* ---------- Feature product card ("Check 'em out") ---------- */
.pcard {
  position: relative; width: clamp(260px, 26vw, 340px); aspect-ratio: 3 / 4.2; border-radius: var(--radius);
  overflow: hidden; color: var(--white); isolation: isolate; display: block;
  background: radial-gradient(85% 60% at 50% 38%, var(--glow, #3355cc) 0%, transparent 70%), var(--navy);
  box-shadow: var(--shadow-card);
}
.pcard::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: url('/assets/img/brand/brand-pattern-blue-mobile.jpg') center / cover;
  mix-blend-mode: screen;
}
.pcard::after { content: ''; position: absolute; inset: 45% 0 0; z-index: 0; background: linear-gradient(180deg, transparent, rgba(0, 7, 58, .92) 70%); }
.pcard__img { position: absolute; inset: 7% 14% 31%; display: grid; place-items: center; z-index: 0; transition: transform .6s var(--ease-out); }
.pcard__img img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .45)); }
.pcard__tag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.pcard__body { position: absolute; inset: auto 0 0; z-index: 1; padding: 20px 22px 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 14px; }
.pcard__title { grid-column: 1; font-family: var(--font-display); font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; color: var(--cream); margin: 0; }
html[lang='en'] .pcard__title { font-weight: 800; }
.pcard__desc { grid-column: 1; margin: 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; opacity: .92; }
.pcard .circle-btn { grid-column: 2; grid-row: 1 / span 2; }
.pcard:hover .pcard__img { transform: translateY(-10px) scale(1.04); }
.pcard:hover .circle-btn { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ---------- Flavour card with pop-out product ("Find your flavor") ---------- */
.flavor {
  position: relative; display: block; width: clamp(250px, 24vw, 320px); height: clamp(330px, 30vw, 400px);
  color: var(--white); isolation: isolate;
}
.flavor__card {
  position: absolute; inset: 26% 0 0; border-radius: var(--radius); overflow: hidden; z-index: -1;
  background: linear-gradient(180deg, var(--glow, var(--blue)) -40%, var(--navy) 85%);
  box-shadow: var(--shadow-card);
}
.flavor__card::before { content: ''; position: absolute; inset: 0; opacity: .35; background: url('/assets/img/brand/brand-pattern-blue-mobile.jpg') center / cover; mix-blend-mode: screen; }
.flavor__img { position: absolute; inset: 0 16% 23%; display: grid; place-items: end center; transition: transform .6s var(--ease-out); }
.flavor__img img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .35)); }
.flavor__body { position: absolute; inset: auto 0 0; padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(180deg, transparent, rgba(0, 7, 58, .85) 55%); border-radius: 0 0 var(--radius) var(--radius); }
.flavor__body h3 { font-family: var(--font-display); font-size: clamp(24px, 2vw, 30px); margin: 0; line-height: 1.1; }
html[lang='en'] .flavor__body h3 { font-weight: 800; text-transform: uppercase; }
.flavor:hover .flavor__img { transform: translateY(-14px) rotate(-2deg); }
.flavor:hover .circle-btn { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ---------- Statement with word-by-word fill on scroll ---------- */
.statement { text-align: center; overflow: hidden; }
.statement__text { font-family: var(--font-display); font-size: clamp(54px, 10vw, 168px); line-height: var(--display-lh); margin: 0; }
html[lang='en'] .statement__text { font-weight: 800; text-transform: uppercase; }
.statement__line { display: block; }
.statement__line--gold { color: var(--gold); }
.statement .w { opacity: .18; transition: opacity .35s linear; }
.statement .w.is-on { opacity: 1; }
.statement__logo { width: clamp(180px, 22vw, 300px); margin: clamp(30px, 4vw, 54px) auto 0; }

/* ---------- Full-bleed photo with brand outline ---------- */
.framed-photo { position: relative; overflow: hidden; color: var(--white); isolation: isolate; min-height: clamp(520px, 90vh, 900px); display: grid; place-items: center; text-align: center; }
.framed-photo > img.bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; will-change: transform; }
.framed-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(0, 7, 58, .55), rgba(0, 7, 58, .2)); }
.framed-photo__inner { position: relative; width: min(780px, 94vw); aspect-ratio: 1228 / 792; padding: 6% 11% 7%; display: grid; gap: clamp(8px, 1.4vw, 18px); justify-items: center; align-content: center; }
.framed-photo__inner .h2 { font-size: clamp(30px, 5vw, 72px); }
@media (max-width: 520px) { .framed-photo__inner p { display: none; } .framed-photo__inner .btn { min-height: 44px; padding: 8px 22px; } }
.framed-photo__inner .outline { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -1; }
.framed-photo__inner p { margin: 0; font-weight: 600; font-size: clamp(16px, 1.4vw, 20px); text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.framed-photo .h2 { text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }

/* ---------- Recipe mosaic ("Make it real good") ---------- */
.mosaic { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; columns: 3; column-gap: clamp(14px, 1.6vw, 22px); }
.mosaic li { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); }
.mosaic li:nth-child(3n+1) .rcard { aspect-ratio: 3 / 4; }
.mosaic li:nth-child(3n+2) .rcard { aspect-ratio: 1; }
.mosaic li:nth-child(3n) .rcard { aspect-ratio: 4 / 5; }
@media (max-width: 767px) {
  .mosaic { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mosaic li { margin: 0; }
  .mosaic li .rcard, .mosaic li:nth-child(n) .rcard { aspect-ratio: 3 / 4; }
  .mosaic li:nth-child(3n) { grid-column: 1 / -1; }
  .mosaic li:nth-child(3n) .rcard { aspect-ratio: 16 / 11; }
}
.rcard {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; isolation: isolate;
  color: var(--white); background: var(--navy); box-shadow: var(--shadow-card);
}
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease-out); }
.rcard::after { content: ''; position: absolute; inset: 40% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(0, 7, 58, .88)); }
.rcard__body { position: absolute; inset: auto 0 0; padding: 18px 20px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.rcard__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; margin: 0; }
html[lang='en'] .rcard__title { font-weight: 800; }
.rcard__meta { display: block; font-size: 13.5px; font-weight: 600; opacity: .9; margin-top: 4px; }
.rcard:hover img { transform: scale(1.06); }
.rcard:hover .circle-btn { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.rcard--slide { width: clamp(250px, 24vw, 320px); }
@media (max-width: 520px) {
  .rcard .circle-btn { width: 34px; height: 34px; border-width: 1.5px; }
  .rcard .circle-btn svg { width: 16px; height: 16px; }
  .rcard__body { padding: 12px; gap: 8px; }
  .rcard__title { font-size: 20px; }
  .rcard__meta { font-size: 12px; }
}

/* ---------- Campaign gallery ---------- */
.campaign { width: clamp(240px, 24vw, 330px); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.campaign img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); transition: transform .6s var(--ease-out); }
.campaign:hover img { transform: scale(1.03); }

/* ---------- Marquee band ---------- */
.marquee { background: var(--gold); color: var(--navy); overflow: hidden; border-block: 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
[dir='rtl'] .marquee__track { animation-name: marquee-rtl; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; flex: none; padding-block: 16px; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(30px, 4vw, 54px); line-height: 1.1; white-space: nowrap; }
html[lang='en'] .marquee__group span { font-weight: 800; text-transform: uppercase; }
.marquee__group img { height: clamp(44px, 5vw, 70px); width: auto; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Story cards ("We're all-in") ---------- */
.scard { position: relative; display: block; width: clamp(270px, 30vw, 400px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: var(--white); isolation: isolate; background: var(--blue); box-shadow: var(--shadow-card); }
.scard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease-out); }
.scard--contain > img { object-fit: contain; padding: 12% 18% 30%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.scard--cream { background: var(--cream); }
.scard::after { content: ''; position: absolute; inset: 45% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(0, 7, 58, .9)); }
.scard__outline { position: absolute; inset: 8% 8% auto; width: 84%; z-index: -1; opacity: .9; pointer-events: none; }
.scard__body { position: absolute; inset: auto 0 0; padding: 20px 22px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.scard__body h3 { font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; margin: 0; }
html[lang='en'] .scard__body h3 { font-weight: 800; text-transform: uppercase; }
.scard__body p { margin: 4px 0 0; font-size: 14.5px; font-weight: 500; opacity: .92; line-height: 1.5; }
.scard:hover > img { transform: scale(1.05); }
.scard:hover .circle-btn { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ---------- CTA with person in the brand outline ---------- */
.cta { overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.cta__visual { position: relative; display: grid; place-items: end center; min-height: 520px; }
.cta__visual .outline { position: absolute; left: 50%; top: 22%; width: min(92%, 520px); transform: translateX(-50%); }
.cta__visual .person { position: relative; width: min(64%, 360px); z-index: 1; }
.cta__copy { display: grid; gap: 20px; justify-items: start; }
.cta__copy p { margin: 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .cta__grid { grid-template-columns: 1fr; }
  .cta__copy { justify-items: center; text-align: center; order: -1; }
  .cta__visual { min-height: 400px; }
  .cta__actions { justify-content: center; }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.split__media--square > img { aspect-ratio: 1; }
.split__media--contain > img { object-fit: contain; box-shadow: none; background: none; }
.split__media .outline { position: absolute; inset: 7% 9%; width: 82%; height: 86%; object-fit: fill; pointer-events: none; }
.split__media .accent { position: absolute; width: 38%; inset-block-end: -10%; inset-inline-end: -6%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .25)); }
.split__copy { display: grid; gap: 20px; justify-items: start; }
.split__copy p { margin: 0; font-size: clamp(16px, 1.3vw, 18.5px); }
.split__copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split__copy li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.split__copy li svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 4px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__copy { justify-items: center; text-align: center; }
  .split__copy li { text-align: start; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.pillar { border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: grid; gap: 12px; justify-items: center; text-align: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.bg-cream .pillar { background: var(--white); border-color: transparent; box-shadow: var(--shadow-card); }
.pillar__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); }
.pillar__icon svg { width: 38px; height: 38px; }
.pillar h3 { font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); margin: 0; line-height: 1.15; }
html[lang='en'] .pillar h3 { font-weight: 800; text-transform: uppercase; }
.pillar p { margin: 0; font-size: 15.5px; opacity: .9; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Photo cards (three ingredient cards) */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.photo-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: grid; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card__body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.photo-card h3 { font-family: var(--font-display); font-size: clamp(24px, 2vw, 30px); margin: 0; color: var(--blue); line-height: 1.15; }
html[lang='en'] .photo-card h3 { font-weight: 800; text-transform: uppercase; }
.photo-card p { margin: 0; font-size: 15.5px; color: var(--ink); }
@media (max-width: 860px) { .photo-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 0; border-top: 2px solid currentColor; }
.accordion details { border-bottom: 2px solid currentColor; }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; font-weight: 700; font-size: clamp(17px, 1.4vw, 20px);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background-color .25s; }
.accordion summary .pm svg { width: 16px; height: 16px; }
.accordion details[open] summary .pm { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--navy); }
.accordion summary:hover .pm { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.accordion .acc-body { padding: 0 4px 22px; overflow: hidden; }
.accordion .acc-body p { margin: 0 0 10px; }
.accordion .acc-body ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: rgba(208, 160, 82, .18); color: var(--ink); font-size: 14.5px; font-weight: 500; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--gold-600); }

/* ---------- Products catalog ---------- */
.catalog-hero { position: relative; isolation: isolate; background: var(--blue); color: var(--white); overflow: hidden; min-height: clamp(420px, 52vw, 640px); display: flex; align-items: center; }
.catalog-hero picture, .catalog-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.catalog-hero picture img { animation: heroZoom 2.2s var(--ease-out) both; }
.catalog-hero__copy { width: min(500px, 33%); margin-right: clamp(16px, 3vw, 90px); margin-left: auto; display: grid; gap: 18px; justify-items: center; text-align: center; padding-block: 48px; }
.catalog-hero__copy > * { animation: rise .9s var(--ease-out) both; }
.catalog-hero__copy > *:nth-child(2) { animation-delay: .15s; }
.catalog-hero__copy > *:nth-child(3) { animation-delay: .25s; }
.catalog-hero__copy .h1 { font-size: clamp(40px, 4.4vw, 80px); }
@media (min-width: 768px) and (max-width: 1199px) {
  .catalog-hero { display: block; min-height: 0; }
  .catalog-hero picture { position: relative; display: block; aspect-ratio: 2 / 1; }
  .catalog-hero__copy { width: min(640px, 90%); margin: 0 auto; padding: 40px 0 56px; }
}
.catalog-hero__copy p { margin: 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; }
@media (max-width: 767px) {
  .catalog-hero { align-items: flex-start; min-height: 0; aspect-ratio: 2 / 3; max-height: 700px; }
  .catalog-hero__copy { width: 100%; margin: 0; padding: 34px 22px; }
  .catalog-hero__copy .h1 { font-size: clamp(40px, 11vw, 56px); }
}

.filters { background: var(--cream); color: var(--blue); padding-block: 28px 40px; position: relative; }
.filters__row { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.filters__label { font-weight: 800; font-size: 16px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-inline: auto; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 700; font-size: 15.5px; border-bottom: 3px solid transparent; transition: border-color .25s, opacity .25s; opacity: .7; }
.tabs button[aria-selected='true'] { border-color: var(--blue); opacity: 1; }
.tabs button:hover { opacity: 1; }
.tabs svg { width: 20px; height: 20px; }
.searchbox { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 999px; padding-inline: 18px 8px; height: 50px; width: min(320px, 100%); box-shadow: 0 0 0 2px rgba(1, 22, 137, .12); }
.searchbox:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.searchbox input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 16px; }
.searchbox svg { width: 20px; height: 20px; flex: none; }
.searchbox button { width: 36px; height: 36px; border-radius: 50%; display: none; place-items: center; }
.searchbox button svg { width: 16px; height: 16px; }
.searchbox.has-value button { display: grid; }
.chips { display: flex; gap: clamp(12px, 2.4vw, 34px); justify-content: center; flex-wrap: nowrap; overflow-x: auto; padding: 26px 4px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: grid; gap: 10px; justify-items: center; flex: none; font-weight: 700; font-size: 15px; color: var(--blue); }
.chip__circle { width: clamp(76px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--blue); display: grid; place-items: center; overflow: hidden; position: relative; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 0 0 0 var(--gold); }
.chip__circle img { height: 118%; width: auto; max-width: none; object-fit: contain; transform: translateY(26%); transition: transform .4s var(--ease-out); }
.chip__circle img.is-logo { height: auto; width: 74%; transform: none; }
.chip:hover .chip__circle { transform: translateY(-4px); }
.chip:hover .chip__circle img:not(.is-logo) { transform: translateY(18%); }
.chip[aria-pressed='true'] .chip__circle { box-shadow: 0 0 0 4px var(--gold); }
.chip[aria-pressed='true'] span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.chips--uses .chip { padding: 12px 22px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 2px rgba(1, 22, 137, .14); transition: background-color .25s, color .25s, box-shadow .25s; }
.chips--uses .chip[aria-pressed='true'] { background: var(--blue); color: var(--white); box-shadow: none; }
.chips--uses .chip[aria-pressed='true'] span { text-decoration: none; }
@media (max-width: 860px) {
  .chips { justify-content: flex-start; padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); }
  .tabs { margin-inline: 0; }
  .searchbox { width: 100%; }
}

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 34px 22px; color: var(--ink-soft); font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.reset-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > li, .packs > li { min-width: 0; }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .grid { gap: 12px; } }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); display: grid; gap: 14px; justify-items: center; }
.empty h3 { color: var(--blue); }

.tile { display: grid; gap: 14px; text-align: center; color: var(--ink); }
.tile__media { position: relative; aspect-ratio: 4 / 4.6; background: var(--cream-100); border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.tile__media::after { content: ''; position: absolute; left: 50%; bottom: 10%; width: 46%; height: 16px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 11, 85, .22), transparent); }
.tile__media img { position: absolute; z-index: 1; inset: 11% 14% 15%; width: 72%; height: 74%; object-fit: contain; transition: transform .55s var(--ease-out); }
.tile__media .circle-btn { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 16px; background: var(--blue); border-color: var(--blue); color: var(--white); width: 46px; height: 46px; }
.tile:hover .tile__media img { transform: translateY(-8px) scale(1.04); }
.tile:hover .circle-btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.tile__brand { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); margin: 0; }
.tile__name { font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.12; color: var(--blue); margin: 0; }
html[lang='en'] .tile__name { font-weight: 800; }
.tile__sizes { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin: 0; }
.tile--slide { width: clamp(220px, 22vw, 290px); }
.tile--photo .tile__media img { inset: 0; height: 100%; width: 100%; object-fit: cover; }
.tile--photo .tile__media::after { display: none; }
@media (max-width: 520px) {
  .tile__media .circle-btn { width: 38px; height: 38px; inset-block-end: 10px; inset-inline-end: 10px; }
  .tile__media .circle-btn svg { width: 16px; height: 16px; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; flex-wrap: wrap; padding-block: 26px 10px; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { opacity: .75; }

/* ---------- Product detail ---------- */
.pdp { background: var(--cream); color: var(--blue); padding-bottom: clamp(56px, 7vw, 110px); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 16px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.gallery__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(60% 55% at 50% 45%, var(--white), var(--cream-100) 70%); display: grid; place-items: center; overflow: hidden; }
.gallery__stage img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 11, 85, .22)); animation: fadeIn .45s var(--ease) both; }
.gallery__stage img.is-photo { inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; background: var(--white); }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.gallery__thumbs button { width: 78px; height: 78px; flex: none; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 2px rgba(1, 22, 137, .1); transition: box-shadow .25s; }
.gallery__thumbs button[aria-pressed='true'] { box-shadow: 0 0 0 3px var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button:first-child img { object-fit: contain; padding: 6px; }
.pdp__info { display: grid; gap: 22px; }
.pdp__brand { font-weight: 800; font-size: 16px; margin: 0; color: var(--gold-600); }
.pdp__info .h1 { font-size: clamp(44px, 5vw, 76px); }
.pdp__short { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; margin: 0; color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.sizes span { padding: 9px 18px; border-radius: 999px; border: 2px solid var(--blue); font-weight: 700; font-size: 15px; }
.sizes span:first-child { background: var(--blue); color: var(--white); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp .accordion { color: var(--blue); }
.pdp .acc-body { color: var(--ink); }
.legacy-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.legacy-strip img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--white); }
@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* ---------- Recipe detail ---------- */
.recipe-head { display: grid; gap: 18px; padding-bottom: 28px; }
.recipe-head__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--blue); color: var(--blue); transition: background-color .25s, color .25s; }
.share-btn:hover { background: var(--blue); color: var(--white); }
.share-btn svg { width: 18px; height: 18px; }
.recipe-head .h1 { color: var(--blue); font-size: clamp(44px, 6vw, 92px); }
.byline { margin: 0; color: var(--ink-soft); font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: 0; border-block: 2px solid var(--cream); }
.stats div { padding: 16px 28px 16px 0; display: grid; gap: 2px; }
[dir='rtl'] .stats div { padding: 16px 0 16px 28px; }
.stats div + div { border-inline-start: 2px solid var(--cream); padding-inline-start: 28px; }
.stats dt { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--font-display); font-size: 28px; color: var(--blue); line-height: 1.2; }
html[lang='en'] .stats dd { font-weight: 800; }
.recipe-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
@media (max-width: 767px) { .recipe-photo { aspect-ratio: 4 / 3; } }
.recipe-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 4vw, 56px); }
.ingredients { background: var(--cream); color: var(--blue); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 20px); }
.ingredients h2, .method h2 { font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); margin: 0 0 18px; line-height: 1.1; color: var(--blue); }
html[lang='en'] .ingredients h2, html[lang='en'] .method h2 { font-weight: 800; text-transform: uppercase; }
.ingredients ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ingredients li { padding: 12px 0; border-bottom: 1px solid rgba(1, 22, 137, .14); color: var(--ink); font-weight: 500; }
.ingredients li:last-child { border-bottom: 0; }
.ingredients li a { display: flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 700; }
.ingredients li a img { width: 40px; height: 52px; object-fit: contain; flex: none; }
.ingredients li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.method ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: step; }
.method li { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; counter-increment: step; }
.method li::before { content: counter(step); width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 800; grid-row: span 2; }
.method li strong { font-weight: 800; color: var(--blue); }
.method li p { margin: 0; grid-column: 2; }
.intro-p { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; margin: 0 0 28px; }
@media (max-width: 900px) {
  .recipe-body { grid-template-columns: 1fr; }
  .ingredients { position: static; }
}

/* Recipe filters */
.recipe-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; background: var(--white); color: var(--blue); box-shadow: 0 0 0 2px rgba(1, 22, 137, .14); transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill[aria-pressed='true'] { background: var(--blue); color: var(--white); box-shadow: none; }
.select { height: 50px; border-radius: 999px; padding-inline: 18px 40px; border: 0; background: var(--white); box-shadow: 0 0 0 2px rgba(1, 22, 137, .14); font-weight: 600; color: var(--blue); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011689' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; }
[dir='rtl'] .select { padding-inline: 18px 40px; background-position: left 14px center; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.ccard { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); display: grid; gap: 10px; justify-items: start; box-shadow: var(--shadow-card); color: var(--ink); transition: transform .35s var(--ease); }
.ccard:hover { transform: translateY(-6px); }
.ccard__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; }
.ccard__icon svg { width: 28px; height: 28px; }
.ccard h3 { font-family: var(--font-display); font-size: 30px; margin: 6px 0 0; color: var(--blue); line-height: 1.15; }
html[lang='en'] .ccard h3 { font-weight: 800; text-transform: uppercase; }
.ccard p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.ccard a.big { font-weight: 800; font-size: 19px; color: var(--blue); direction: ltr; unicode-bidi: isolate; }
.ccard a.big:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 700; font-size: 15.5px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 14px; background: var(--white); color: var(--ink);
  padding: 15px 18px; font-size: 16px; min-height: 56px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 3px var(--gold); }
.field [aria-invalid='true'] { box-shadow: inset 0 0 0 3px #ff8a8a; }
.field .err { color: #ffd1d1; font-size: 14px; font-weight: 600; min-height: 0; }
.bg-cream .field .err { color: #b3261e; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); cursor: pointer; font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s; }
.checks input { accent-color: var(--gold); width: 18px; height: 18px; }
.checks label:has(input:checked) { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.form__send { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__status { grid-column: 1 / -1; margin: 0; font-weight: 700; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .12); display: none; }
.form__status.is-shown { display: block; animation: rise .5s var(--ease-out); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .packs { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); color: var(--blue); border-top: 1px solid rgba(1, 22, 137, .1); }
.footer__top { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 36px; padding-block: clamp(48px, 6vw, 80px) 36px; }
.footer__brand img { width: 170px; height: auto; }
.footer__brand p { margin: 16px 0 0; font-family: var(--font-display); font-size: 26px; color: var(--gold-600); line-height: 1.2; }
html[lang='en'] .footer__brand p { font-weight: 700; }
.footer__col h2 { font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { font-weight: 500; transition: color .2s; }
.footer__col a:hover { color: var(--gold-600); text-decoration: underline; text-underline-offset: 4px; }
.footer__col .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; padding-block: 22px 30px; border-top: 1px solid rgba(1, 22, 137, .12); font-size: 14.5px; }
.footer__bottom p { margin: 0; }
.footer__lang { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 16px; border-radius: 999px; box-shadow: 0 0 0 2px rgba(1, 22, 137, .2); }
.footer__lang:hover { background: var(--cream); }
.footer__lang svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
  .footer__brand p { margin: 0; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: 999px; font-weight: 700; z-index: 300; transition: transform .45s var(--ease-out); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.toast.is-shown { transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='fade'] { transform: none; }
.js [data-reveal='zoom'] { transform: scale(.94); }

/* ---------- Keyframes ---------- */
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes frameIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .framed-photo > img.bg { transform: none !important; }
  .btn:hover, .ccard:hover, .chip:hover .chip__circle, .pill:hover { transform: none; }
}

/* Hide content until the saved language is applied (set by boot.js). */
.i18n-wait body { opacity: 0; }
body { transition: opacity .2s; }

/* ---------- Phone tuning for rails ---------- */
@media (max-width: 520px) {
  .pcard { width: 78vw; }
  .pcard__img { inset: 6% 16% 33%; }
  .flavor { width: 70vw; height: 92vw; }
  .scard { width: 78vw; }
  .campaign { width: 78vw; }
  .rcard--slide { width: 72vw; }
  .tile--slide { width: 62vw; }
  .carousel__head .h2 { font-size: clamp(36px, 10vw, 48px); }
  .carousel__nav button { width: 44px; height: 44px; }
}
/* The enquiry form leads on small screens; the decorative visual is dropped. */
@media (max-width: 860px) { .cta__copy .cta__visual { display: none; } }
