/* New York Coffee Roastery — global + home styles
   Logical properties (inline-start/end) are used throughout so the Arabic RTL page
   lays out correctly from the same rules. */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/BebasNeue-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("../assets/fonts/BebasNeue-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/Montserrat-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Secondary display font: Amalfi Coast, a script for selected headings and highlighted words only.
   Registered as normal and italic so browsers never fake-slant it. */
@font-face { font-family: "Amalfi Coast"; src: url("../assets/fonts/AmalfiCoast.woff2") format("woff2"), url("../assets/fonts/AmalfiCoast.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Amalfi Coast"; src: url("../assets/fonts/AmalfiCoast.woff2") format("woff2"), url("../assets/fonts/AmalfiCoast.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/Fraunces-Variable-Italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
/* Western digits on the Arabic page (prices, sizes, altitudes match Digidiner and packaging).
   GE SS maps 0-9 to Arabic-Indic glyphs whose "0" is a dot, which also collapses `ch` units. */
@font-face { font-family: "NYC Digits"; src: url("../assets/fonts/Montserrat-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0030-0039, U+0025, U+002E, U+002C; }
@font-face { font-family: "GE SS"; src: url("../assets/fonts/GESS-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "GE SS"; src: url("../assets/fonts/GESS-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GE SS"; src: url("../assets/fonts/GESS-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "GE SS Text"; src: url("../assets/fonts/GESS-TextLight.otf") format("opentype"); font-weight: 300 400; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand primaries (Pantone 187C / 7472C / 143C / 419C) */
  --red: #ac162c;
  --red-deep: #8a1023;
  --teal: #5ab7b2;
  --gold: #f7bd34;
  --charcoal: #222222;
  /* roastery neutrals */
  --cream: #f3ebdf;
  --paper: #faf6ef;
  --sand: #e6d8c5;
  --kraft: #cdb89c;
  --espresso: #24170f;
  --roast: #4b2f1f;
  --ink: #221c18;
  --ink-2: #4a3f37;
  --muted: #6b5d51;
  --line: rgba(34, 28, 24, .14);
  --line-strong: rgba(34, 28, 24, .28);

  --f-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  /* script accents only: short highlighted words and stamps such as "Roasted in Bahrain"; longer italic lines use --f-serif */
  --f-accent: "Amalfi Coast", "Fraunces", Georgia, serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec-y: clamp(72px, 10vw, 148px);
  --radius: 4px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
  --announce-h: 38px;
}

[lang="ar"] {
  --f-display: "NYC Digits", "GE SS", "Noto Kufi Arabic", Tahoma, sans-serif;
  --f-serif: "NYC Digits", "GE SS", "Noto Kufi Arabic", Tahoma, sans-serif;
  --f-accent: "NYC Digits", "GE SS", "Noto Kufi Arabic", Tahoma, sans-serif;
  --f-body: "NYC Digits", "GE SS Text", "GE SS", "Noto Sans Arabic", Tahoma, sans-serif;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[lang="ar"] body { font-size: 17px; line-height: 1.85; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
em { font-style: italic; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-y); position: relative; }

/* ---------------------------------------------------------------- type */
.h-display {
  font: 400 clamp(44px, 6.2vw, 92px)/.92 var(--f-display);
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--ink);
  text-wrap: balance;
}
.h-display em {
  display: block;
  font: italic 380 .62em/1.08 var(--f-accent);
  text-transform: none;
  letter-spacing: -.01em;
  color: var(--roast);
  margin-top: .12em;
}
.h-display--sm { font-size: clamp(36px, 4.4vw, 60px); }
[lang="ar"] .h-display { font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.25; text-transform: none; }
[lang="ar"] .h-display em { font-style: normal; font-weight: 300; font-size: .7em; line-height: 1.5; margin-top: .2em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red); flex-shrink: 0; }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 500; }
.micro { font: 600 11px/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
[lang="ar"] .micro { letter-spacing: 0; font-size: 13px; }
.sec-lede { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; margin-top: 22px; }

.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--split { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 24px clamp(24px, 4vw, 64px); align-items: start; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.sec-head--split .eyebrow { margin: 0; }
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 32px; border-top: 1px solid var(--line-strong); padding-top: 22px; }

/* ---------------------------------------------------------------- buttons + links
   One primary button everywhere (revision notes): charcoal base, NYC red on hover, 250ms colour
   transition, arrow nudges forward, a 1px lift with a soft shadow. No glow, no scaling. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 22px 0 26px;
  background: var(--charcoal); color: #fff;
  border: 1px solid var(--charcoal); border-radius: 999px;
  font: 600 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 0 0 rgba(20, 12, 8, 0);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(138, 16, 35, .55); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; font-weight: 500; padding-inline: 26px 22px; }
.btn .ico-arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow, .link-arrow:hover .ico-arrow, a:hover > .link-arrow .ico-arrow { transform: translateX(4px); }
/* on dark grounds the charcoal fill needs an edge to read */
.btn--on-dark, .finder .btn, .site-footer .btn, .pl .btn, .dark .btn { border-color: rgba(255, 255, 255, .28); }
.pl .btn:hover { background: var(--red-deep); border-color: #fff; }
.btn--sm { min-height: 42px; padding-inline: 18px 16px; font-size: 11.5px; gap: 8px; }
.btn--sm .ico-arrow { width: 15px; height: 15px; }
.btn--lg { min-height: 58px; padding-inline: 30px 26px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow .ico-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow--lg { font-size: 13.5px; }
button.link-arrow { background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 0 0 6px; cursor: pointer; }
.link-arrow--light { color: #fff; }
[lang="ar"] .link-arrow { letter-spacing: 0; font-size: 15px; font-weight: 500; }
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico-arrow, [dir="rtl"] .link-arrow:hover .ico-arrow, [dir="rtl"] a:hover > .link-arrow .ico-arrow { transform: scaleX(-1) translateX(4px); }

.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.round-btn:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.round-btn .ico-arrow { width: 20px; height: 20px; }
.round-btn[data-rail-prev] .ico-arrow { transform: scaleX(-1); }
[dir="rtl"] .round-btn[data-rail-prev] .ico-arrow { transform: none; }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------------------------------------------------------------- announcement */
.announce { background: var(--red); color: #fff; height: var(--announce-h); overflow: hidden; position: relative; z-index: 60; }
.announce__track { display: flex; width: max-content; height: 100%; animation: marquee 38s linear infinite; }
.announce:hover .announce__track { animation-play-state: paused; }
.announce__run { display: flex; align-items: center; height: 100%; }
.announce__run li { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; padding-inline: 26px; }
.announce__run li.sep { padding-inline: 0; color: var(--gold); }
.announce__run li.sep svg { width: 13px; height: 13px; }
[lang="ar"] .announce__run li { letter-spacing: 0; font-size: 14px; font-weight: 500; }
[dir="rtl"] .announce__track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 235, 223, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 246, 239, .94); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; direction: ltr; }
.brand__mark { width: 50px; height: 50px; }
/* official NYC typography logo, used as supplied (never re-set in live text) */
.brand__word { width: clamp(170px, 15vw, 236px); height: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.main-nav a { font: 500 13.5px/1 var(--f-body); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease); }
[dir="rtl"] .main-nav a::after { --origin: right; }
.main-nav a:hover::after { transform: scaleX(1); }
[lang="ar"] .main-nav a { font-size: 15px; }

.header-tools { display: flex; align-items: center; gap: 14px; }
.cur-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.cur-switch button { border: 0; background: none; font: 600 11px/1 var(--f-body); letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; color: var(--muted); }
.cur-switch button[aria-pressed="true"] { background: var(--charcoal); color: #fff; }
.lang-switch { font: 500 14px/1 var(--f-body); text-decoration: none; padding: 8px 4px; }
.lang-switch[lang="ar"] { font-family: "GE SS", Tahoma, sans-serif; font-size: 15px; }
.lang-switch[lang="en"] { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .06em; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: none; place-items: center; }
.menu-btn__bars { display: grid; gap: 6px; width: 18px; }
.menu-btn__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: calc(var(--header-h)) 0 0; top: var(--header-h); background: var(--paper); z-index: 49; padding: 12px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu ul li { border-bottom: 1px solid var(--line); }
.mobile-menu ul a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none; font: 400 34px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.mobile-menu ul a .ico-arrow { width: 22px; color: var(--red); }
[lang="ar"] .mobile-menu ul a { font-size: 24px; font-weight: 500; line-height: 1.4; }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lang-switch--lg { font-size: 18px !important; }
body.menu-open { overflow: hidden; }
body.menu-open .wa { display: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  min-height: calc(100svh - var(--header-h) - var(--announce-h));
  max-width: 1680px; margin-inline: auto;
  position: relative;
}
.hero__copy { position: relative; padding-block: clamp(56px, 7vw, 120px) 0; padding-inline: max(var(--gutter), 4vw) clamp(28px, 5vw, 96px); display: flex; flex-direction: column; }
.hero__eyebrow { font: 600 12px/1.4 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--red); margin-bottom: clamp(20px, 3vw, 36px); display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
[lang="ar"] .hero__eyebrow { letter-spacing: 0; font-size: 15px; font-weight: 500; }
.hero__title { display: flex; flex-direction: column; }
.hero__line--sans { font: 400 clamp(64px, 9.4vw, 158px)/.84 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; color: var(--ink); }
.hero__line--accent { font: italic 340 clamp(40px, 5vw, 84px)/1.2 var(--f-accent); letter-spacing: 0; color: var(--red); margin-top: .18em; padding-inline-start: .3em; }
[lang="ar"] .hero__line--sans { font-weight: 700; font-size: clamp(46px, 6.4vw, 104px); line-height: 1.2; }
[lang="ar"] .hero__line--accent { font-style: normal; font-weight: 300; font-size: clamp(38px, 5.2vw, 84px); line-height: 1.35; color: var(--red); padding-inline-start: 0; }
.hero__lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 40ch; margin-top: clamp(24px, 3vw, 40px); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(28px, 3vw, 40px); }
.hero__facts { margin-top: auto; padding-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
.hero__facts > div:first-child { padding-inline-start: 0; }
.hero__facts > div { border-top: 1px solid var(--line-strong); }
.hero__facts > div { padding: 20px clamp(16px, 2vw, 32px) 26px; border-inline-end: 1px solid var(--line); }
.hero__facts > div:last-child { border-inline-end: 0; }
.hero__facts dt { font: 600 10.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__facts dd { font: 400 30px/1 var(--f-display); letter-spacing: .02em; margin-top: 8px; }
[lang="ar"] .hero__facts dt { letter-spacing: 0; font-size: 13px; }
[lang="ar"] .hero__facts dd { font-weight: 500; font-size: 20px; line-height: 1.3; }

.hero__media { position: relative; padding: 0 0 0 0; }
.hero__frame { position: absolute; inset: 0 0 0 0; border-start-start-radius: clamp(80px, 13vw, 220px); overflow: hidden; background: var(--espresso); }
.hero__video, .hero__frame::before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 8, .45), transparent 40%); pointer-events: none; }
.hero__pause { position: absolute; z-index: 2; inset-inline-end: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(20, 12, 8, .35); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__stamp { position: absolute; z-index: 2; top: 28px; inset-inline-end: 28px; color: #fff; font: 600 11px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.hero__stamp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(172, 22, 44, .7); animation: pulse 2.2s infinite; }
[lang="ar"] .hero__stamp { letter-spacing: 0; font-size: 14px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(172, 22, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(172, 22, 44, 0); } }

.hero__caption { position: absolute; z-index: 2; inset-inline-start: clamp(28px, 4vw, 56px); bottom: 26px; color: rgba(255, 255, 255, .86); font: 400 italic 22px/1 var(--f-accent); }
[lang="ar"] .hero__caption { font-style: normal; font-size: 17px; }

/* ---------------------------------------------------------------- categories */
.tiles { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.tile { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; background: var(--espresso); border-radius: var(--radius); isolation: isolate; }
.tile--a { grid-row: span 2; min-height: 640px; }
.tile--b, .tile--c { min-height: 306px; }
.tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 8, .86) 0%, rgba(20, 12, 8, .35) 50%, rgba(20, 12, 8, 0) 78%); z-index: -1; }
.tile--b::after, .tile--c::after { background: linear-gradient(to top, rgba(20, 12, 8, .9) 0%, rgba(20, 12, 8, .55) 55%, rgba(20, 12, 8, .15) 100%); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr; gap: 4px; align-items: end; }
.tile__name { font: 400 clamp(46px, 5vw, 84px)/.9 var(--f-display); text-transform: uppercase; }
.tile--b .tile__name, .tile--c .tile__name { font-size: clamp(40px, 3.8vw, 60px); }
.tile__line { max-width: 38ch; font-size: 15px; color: rgba(255, 255, 255, .86); margin: 8px 0 18px; line-height: 1.5; }
.tile .link-arrow { justify-self: start; color: #fff; }
[lang="ar"] .tile__name { font-weight: 700; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.25; }
[lang="ar"] .tile--b .tile__name, [lang="ar"] .tile--c .tile__name { font-size: clamp(30px, 2.8vw, 42px); }

/* ---------------------------------------------------------------- best sellers rail */
.bests { background: var(--paper); }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail__track { display: flex; gap: clamp(16px, 1.8vw, 26px); width: max-content; padding-bottom: 8px; }
.rail-ctrl { display: flex; gap: 10px; }
.pcard { width: clamp(272px, 24vw, 330px); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.pcard__stage { position: relative; aspect-ratio: 1 / 1.02; display: grid; place-items: end center; overflow: hidden; background: color-mix(in srgb, var(--tint) 22%, var(--cream)); }
.pcard__stage::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--tint) 55%, var(--cream)); top: 14%; inset-inline-start: 13%; transition: transform .8s var(--ease); }
.pcard:hover .pcard__stage::before { transform: scale(1.08); }
.pcard__img { position: relative; width: 52%; margin-bottom: 4%; filter: drop-shadow(0 22px 22px rgba(36, 23, 15, .28)); transition: transform .6s var(--ease); }
.pcard:hover .pcard__img { transform: translateY(-8px) rotate(-1.5deg); }
/* capsule boxes are landscape: centre them at a realistic size instead of the bag treatment */
.pcard--nespresso .pcard__stage, .pcard--dolce .pcard__stage { place-items: center; }
.pcard--nespresso .pcard__img { width: 80%; margin: 0; filter: drop-shadow(0 18px 18px rgba(36, 23, 15, .24)); }
.pcard--dolce .pcard__img { width: 64%; margin: 0; }
.pcard--nespresso:hover .pcard__img, .pcard--dolce:hover .pcard__img { transform: translateY(-6px); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badges li { font: 600 9.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); }
[lang="ar"] .badges li { letter-spacing: 0; font-size: 12px; font-weight: 500; }
.pcard__name { font: 600 19px/1.25 var(--f-body); letter-spacing: -.005em; }
[lang="ar"] .pcard__name { font-style: normal; font-weight: 500; font-size: 21px; line-height: 1.4; }
.pcard__notes { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.pcard__meta { font: 600 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
[lang="ar"] .pcard__meta { letter-spacing: 0; font-size: 13px; }
.pcard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.price { font: 400 24px/1 var(--f-display); letter-spacing: .03em; white-space: nowrap; }
[lang="ar"] .price { font-family: var(--f-body); font-weight: 400; font-size: 19px; }
.price--xl { font-size: clamp(44px, 3.9vw, 62px); letter-spacing: 0; }
[lang="ar"] .price--xl { font-family: "NYC Digits", "GE SS", sans-serif; font-weight: 700; font-size: clamp(40px, 3.6vw, 56px); }
.pcard--more { justify-content: space-between; padding: 28px; background: var(--charcoal); color: #fff; text-decoration: none; min-height: 100%; }
.pcard--more__n { font: 400 64px/.9 var(--f-display); text-transform: uppercase; }
[lang="ar"] .pcard--more__n { font-weight: 700; font-size: 40px; line-height: 1.3; }
.pcard--more .link-arrow { color: #fff; align-self: start; }

/* ---------------------------------------------------------------- finder */
.finder { background: var(--espresso); color: #f5ede2; }
.finder .h-display { color: #fff; }
.finder .h-display em { color: var(--gold); }
.finder .eyebrow { color: rgba(245, 237, 226, .6); }
.finder .eyebrow::before { background: var(--gold); }
.finder__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(32px, 6vw, 110px); }
.finder__lede { color: rgba(245, 237, 226, .76); margin-top: 22px; max-width: 44ch; }
.finder__form { display: grid; gap: 30px; }
.finder__q legend { font: 600 17px/1.3 var(--f-body); margin-bottom: 14px; color: #fff; }
[lang="ar"] .finder__q legend { font-style: normal; font-weight: 500; font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(245, 237, 226, .3); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: #fff; }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.finder__status { font-size: 13px; color: rgba(245, 237, 226, .6); }
.finder__results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 40px; }
.match { display: grid; grid-template-columns: 120px 1fr; gap: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 18px; animation: rise .6s var(--ease) both; }
.match:nth-child(2) { animation-delay: .08s; }
.match:nth-child(3) { animation-delay: .16s; }
.match__img { background: color-mix(in srgb, var(--tint) 40%, #2f2018); border-radius: 2px; display: grid; place-items: center; padding: 10px; aspect-ratio: 3 / 4; }
.match__img img { max-height: 140px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .35)); }
.match__rank { font: 400 14px/1 var(--f-display); color: var(--gold); letter-spacing: .1em; }
.match h3 { font: 600 18px/1.25 var(--f-body); color: #fff; margin: 6px 0 8px; }
[lang="ar"] .match h3 { font-style: normal; font-weight: 500; font-size: 19px; line-height: 1.4; }
.match p { font-size: 13.5px; color: rgba(245, 237, 226, .75); line-height: 1.5; }
.match__why { color: var(--gold) !important; font-size: 12.5px !important; margin-top: 6px; }
.match__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.match .price { color: #fff; font-size: 21px; }
.match .link-arrow { color: #fff; font-size: 11.5px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------------------------------------------------------------- origin map */
.origins { background: var(--cream); }
.map { position: relative; margin-top: 8px; }
.map__dots { width: 100%; height: auto; opacity: .95; }
.map__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__arcs path { fill: none; stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; opacity: .55; stroke-dashoffset: 0; }
.map:not(.is-in) .map__arcs path { opacity: 0; }
.map.is-in .map__arcs path { animation: arc-in 2.4s var(--ease) both; }
.map__arcs path.is-active { opacity: 1; stroke-width: 1.8; }
@keyframes arc-in { from { opacity: 0; stroke-dashoffset: 300; } to { opacity: .55; stroke-dashoffset: 0; } }
.pin, .map__home { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.pin { border: 0; background: none; padding: 10px; display: block; z-index: 2; }
.pin__dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(172, 22, 44, .18); position: relative; flex-shrink: 0; }
.pin__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--red); animation: ring 2.6s ease-out infinite; }
.pin:nth-of-type(2) .pin__dot::after { animation-delay: .5s; }
.pin:nth-of-type(3) .pin__dot::after { animation-delay: 1s; }
.pin:nth-of-type(4) .pin__dot::after { animation-delay: 1.5s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.pin__label { position: absolute; left: calc(100% - 4px); top: 50%; margin-top: -11px; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; background: var(--paper); padding: 6px 8px; border-radius: 2px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; white-space: nowrap; pointer-events: none; }
.pin--flip .pin__label { left: auto; right: calc(100% - 4px); }
[lang="ar"] .pin__label { letter-spacing: 0; font-size: 13px; }
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin[aria-expanded="true"] .pin__label { opacity: 1; transform: none; }
.pin[aria-expanded="true"] .pin__dot { background: var(--charcoal); }
.map__home { pointer-events: none; z-index: 1; }
.map__home .pin__dot { background: var(--teal); box-shadow: 0 0 0 5px rgba(90, 183, 178, .25); width: 16px; height: 16px; }
.map__home .pin__dot::after { border-color: var(--teal); }
.map__home-label { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font: 600 10.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; background: rgba(250, 246, 239, .9); padding: 5px 7px; }
[lang="ar"] .map__home-label { letter-spacing: 0; font-size: 12px; }
.ocard { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 22px)); width: 260px; background: var(--charcoal); color: #f5ede2; padding: 18px 20px 20px; border-radius: var(--radius); z-index: 5; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5); animation: pop .25s var(--ease); }
.ocard::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: var(--charcoal); transform: translateX(-50%) rotate(45deg); }
.ocard .micro { color: var(--gold); }
.ocard h3 { font: 400 40px/.95 var(--f-display); text-transform: uppercase; color: #fff; margin: 6px 0 10px; }
[lang="ar"] .ocard h3 { font-weight: 700; font-size: 26px; line-height: 1.3; }
.ocard__taste { font-size: 13.5px; line-height: 1.5; color: rgba(245, 237, 226, .82); }
.ocard__roast { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 9px 0; margin: 14px 0 16px; font-size: 13px; font-weight: 600; }
.ocard__roast span { color: rgba(245, 237, 226, .55); font-weight: 500; }
.ocard .link-arrow { color: #fff; font-size: 11.5px; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, calc(-100% - 12px)); } }
.map__list { display: none; }

/* ---------------------------------------------------------------- roast lab */
.roast { background: var(--paper); }
.roast__stage { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); padding: clamp(28px, 4vw, 56px); }
.roast__beans { display: flex; justify-content: center; align-items: center; gap: clamp(6px, 1.6vw, 26px); min-height: clamp(130px, 16vw, 210px); }
.roast__beans svg { width: clamp(52px, 8vw, 116px); height: auto; filter: drop-shadow(0 14px 12px rgba(36, 23, 15, .25)); transition: transform .5s var(--ease); }
.roast__beans svg:nth-child(odd) { transform: rotate(-14deg) translateY(6px); }
.roast__beans svg:nth-child(even) { transform: rotate(10deg) translateY(-6px); }
.roast__beans svg:nth-child(3n) { width: clamp(44px, 6.6vw, 96px); }
.roast__note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; font-style: italic; }
.roast__control { max-width: 880px; margin: 36px auto 0; }
.roast__control input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.roast__control input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #c9a173, #9a663d 33%, #6a4027 66%, #2e1c12); }
[dir="rtl"] .roast__control input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(-90deg, #c9a173, #9a663d 33%, #6a4027 66%, #2e1c12); }
.roast__control input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #c9a173, #9a663d 33%, #6a4027 66%, #2e1c12); }
.roast__control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--charcoal); box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); }
.roast__control input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--charcoal); }
.roast__control input[type="range"]:focus-visible { outline: none; }
.roast__control input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--red); outline-offset: 3px; }
.roast__stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
.roast__stops li { text-align: center; }
.roast__stops li:first-child { text-align: start; }
.roast__stops li:last-child { text-align: end; }
.roast__stops button { border: 0; background: none; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
[lang="ar"] .roast__stops button { letter-spacing: 0; font-size: 14px; }
.roast__stops button.is-on { color: var(--ink); }
.roast__info { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); padding-top: 32px; border-top: 1px solid var(--line); }
.roast__name { font: 400 clamp(52px, 5.4vw, 84px)/.9 var(--f-display); text-transform: uppercase; margin-top: 8px; }
[lang="ar"] .roast__name { font-weight: 700; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.3; }
.roast__desc { color: var(--ink-2); margin-top: 14px; max-width: 36ch; }
.roast__meters { display: grid; gap: 14px; align-content: start; }
.meter { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
.meter dt { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
[lang="ar"] .meter dt { letter-spacing: 0; font-size: 14px; }
.meter__bar { display: block; height: 6px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: calc(var(--v, 3) * 20%); background: var(--roast); border-radius: inherit; transition: width .45s var(--ease); }
.roast__brew p:not(.micro) { font: 600 16px/1.45 var(--f-body); margin-top: 8px; }
[lang="ar"] .roast__brew p:not(.micro) { font-style: normal; font-weight: 300; font-size: 18px; line-height: 1.6; }
.roast__range-h { margin-top: 22px; }
.roast__brew [data-roast-range-list] { font-size: 16px !important; font-style: normal !important; font-family: var(--f-body) !important; color: var(--ink-2); }

/* ---------------------------------------------------------------- made in bahrain */
.mib { background: var(--cream); }
.mib__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.mib__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.mib__photo img { width: 100%; height: 100%; object-fit: cover; }
.mib__photo figcaption { position: absolute; inset-inline-start: 18px; bottom: 16px; color: #fff; font: 600 10.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
[lang="ar"] .mib__photo figcaption { letter-spacing: 0; font-size: 13px; }
.mib__copy > p { color: var(--ink-2); max-width: 54ch; margin-top: 22px; }
.mib__copy .mib__proof { font: 400 italic 22px/1.45 var(--f-serif); color: var(--ink); border-inline-start: 2px solid var(--red); padding-inline-start: 18px; }
[lang="ar"] .mib__copy .mib__proof { font-style: normal; font-weight: 500; font-size: 18px; line-height: 1.8; }
.cert-thumb { display: block; margin-top: 30px; border: 0; background: var(--paper); padding: 14px; width: min(100%, 440px); text-align: start; outline: 1px solid var(--line-strong); outline-offset: -7px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cert-thumb:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 24px 40px -24px rgba(36, 23, 15, .4); }
.cert-thumb:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.cert-thumb img { width: 100%; }
.cert-thumb__cap { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.cert-thumb__cap svg { width: 16px; height: 16px; }
[lang="ar"] .cert-thumb__cap { letter-spacing: 0; font-size: 14px; }
.mib__micro { font: 600 12px/1.4 var(--f-body) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--red) !important; margin-top: 26px !important; }
[lang="ar"] .mib__micro { letter-spacing: 0; font-size: 15px !important; }
.mib__ctas { margin-top: 26px; display: flex; gap: 24px; align-items: center; }

/* ---------------------------------------------------------------- dialogs */
.dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 32px); border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.dialog::backdrop { background: rgba(20, 12, 8, .66); backdrop-filter: blur(4px); }
.dialog[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dialog__bar { display: flex; align-items: center; gap: 20px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.dialog__bar h2 { font: 600 13px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-inline-end: auto; }
[lang="ar"] .dialog__bar h2 { letter-spacing: 0; font-size: 15px; }
.dialog__bar .link-arrow { font-size: 11.5px; }
.dialog__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; flex-shrink: 0; }
.dialog__close svg { width: 18px; height: 18px; }
.dialog--cert img { width: 100%; height: auto; padding: 16px; }

.dialog--arrival { width: min(880px, calc(100vw - 32px)); overflow: hidden; }
.arrival { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 460px; }
.arrival__img { position: relative; }
.arrival__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arrival__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 8, .55), transparent 45%); }
.arrival__stamp { position: absolute; z-index: 1; inset-inline-start: 24px; bottom: 22px; color: #fff; font: 400 italic 26px/1 var(--f-accent); }
[lang="ar"] .arrival__stamp { font-style: normal; font-size: 19px; }
.arrival__body { position: relative; padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.arrival__body .dialog__close { position: absolute; top: 16px; inset-inline-end: 16px; }
.arrival h2 { font: 400 clamp(46px, 5.2vw, 70px)/.9 var(--f-display); text-transform: uppercase; margin: 14px 0 18px; }
.arrival h2 em { display: block; font: italic 380 .6em/1.1 var(--f-accent); text-transform: none; color: var(--red); margin-top: .1em; }
[lang="ar"] .arrival h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.3; }
[lang="ar"] .arrival h2 em { font-style: normal; font-weight: 300; color: var(--red); }
.arrival p:not(.micro) { color: var(--ink-2); margin-bottom: 28px; max-width: 38ch; }

/* ---------------------------------------------------------------- capsules */
.caps { background: var(--paper); }
.caps__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.caps__half { position: relative; display: flex; flex-direction: column; min-height: 640px; text-decoration: none; border-radius: var(--radius); overflow: hidden; padding: clamp(26px, 3vw, 44px); }
.caps__half--n { background: var(--charcoal); color: #f5ede2; }
.caps__half--d { background: var(--sand); color: var(--ink); }
.caps__fit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; border-bottom: 1px solid currentColor; padding-bottom: 18px; }
.caps__fit-k { width: 100%; font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
[lang="ar"] .caps__fit-k { letter-spacing: 0; font-size: 14px; }
.caps__fit-v { font: 400 clamp(48px, 5vw, 80px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .01em; direction: ltr; }
.caps__fit-v sup { font-size: .35em; vertical-align: top; position: relative; top: .3em; }
.caps__fit-s { font: 400 italic 22px/1 var(--f-accent); }
[lang="ar"] .caps__fit-s { font-style: normal; font-family: var(--f-body); font-size: 18px; order: -1; }
.caps__fan { position: relative; flex: none; height: clamp(300px, 28vw, 380px); margin: 24px 0 8px; }
.caps__fan li { position: absolute; width: 60%; left: 20%; top: calc(var(--i) * 9%); transform: rotate(calc(-14deg + var(--i) * 3deg)) translateX(calc(var(--i) * 2%)); transition: transform .7s var(--ease); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .45)); }
.caps__half--n:hover .caps__fan li { transform: rotate(calc(-18deg + var(--i) * 5deg)) translateX(calc(var(--i) * 4% - 6%)); }
.caps__boxes { position: relative; flex: none; height: clamp(300px, 28vw, 380px); margin: 24px 0 8px; }
.caps__box { position: absolute; bottom: 6%; width: 46%; transition: transform .7s var(--ease); filter: drop-shadow(0 18px 18px rgba(36, 23, 15, .3)); }
.caps__box img { width: 100%; }
.caps__box--a { inset-inline-start: 6%; transform: rotate(-3deg); z-index: 2; }
.caps__box--c { inset-inline-end: 6%; bottom: 13%; transform: rotate(3deg); }
.caps__half--d:hover .caps__box--a { transform: rotate(-6deg) translateX(-4%); }
.caps__half--d:hover .caps__box--c { transform: rotate(6deg) translateX(4%) translateY(-3%); }
.caps__copy { margin-top: auto; }
.caps__copy p { max-width: 46ch; font-size: 15px; line-height: 1.6; }
.caps__half--n .caps__copy p { color: rgba(245, 237, 226, .8); }
.caps__range { font: 600 11px/1.7 var(--f-body) !important; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; opacity: .85; }
[lang="ar"] .caps__range { letter-spacing: 0; font-size: 14px !important; }
.caps__from { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; font-size: 13px !important; }
.caps__half--n .price { color: #fff; }
.tm-note { font-size: 11.5px; color: var(--muted); margin-top: 20px; }

/* ---------------------------------------------------------------- subscriptions */
.subs { background: var(--cream); }
.subs__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); }
.subs__choose { font-size: 14.5px; color: var(--ink-2); margin: 18px 0 30px; max-width: 46ch; padding-top: 18px; border-top: 1px solid var(--line); }
.subs__img { margin-top: 44px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.subs__img img { width: 100%; height: 100%; object-fit: cover; }
.subs__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.plan--home-barista { background: var(--charcoal); color: #f5ede2; border-color: var(--charcoal); margin-top: 48px; }
.plan__n { font: 600 12px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
[lang="ar"] .plan__n { letter-spacing: 0; font-size: 14px; }
.plan--home-barista .plan__n { color: var(--gold); }
.plan__name { font: 400 clamp(44px, 3.6vw, 58px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin-top: 12px; }
[lang="ar"] .plan__name { font-style: normal; font-weight: 500; font-size: 30px; line-height: 1.3; }
.plan__bags { margin-top: 12px; font-size: 15px; opacity: .8; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 26px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.plan--home-barista .plan__price { border-color: rgba(255, 255, 255, .15); }
.plan__per { font-size: 13px; opacity: .7; white-space: nowrap; }
.plan__incl li { font-size: 14px; padding: 7px 0 7px 26px; position: relative; }
[dir="rtl"] .plan__incl li { padding: 7px 26px 7px 0; }
.plan__incl li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 14px; height: 7px; border-inline-start: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); }
.plan--home-barista .plan__incl li::before { border-color: var(--gold); }
.plan__incl li:last-child { opacity: .7; }
.plan__tc { grid-column: 1 / -1; font-size: 12px; color: var(--muted); max-width: 70ch; }

/* ---------------------------------------------------------------- guides */
.guides { background: var(--paper); }
.guides__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.guide { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.guide--1 { margin-top: 72px; }
.guide--2 { margin-top: 24px; }
.guide__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; margin-bottom: 10px; }
.guide--0 .guide__img { aspect-ratio: 5 / 6; }
.guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.guide:hover .guide__img img { transform: scale(1.05); }
.guide__title { font: 400 clamp(32px, 2.8vw, 42px)/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .guide__title { font-weight: 700; font-size: 26px; line-height: 1.35; }
.guide__hook { font: 400 italic 19px/1.4 var(--f-serif); color: var(--ink-2); max-width: 32ch; }
[lang="ar"] .guide__hook { font-style: normal; font-family: var(--f-body); font-size: 17px; }
.guide .link-arrow { align-self: start; margin-top: 8px; font-size: 11.5px; }

/* ---------------------------------------------------------------- retail */
.retail { background: var(--paper); }
.retail__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.retail__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.retail__note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.retail__walls { display: grid; gap: 34px; }
.retail__country { display: flex; align-items: center; gap: 14px; font: 600 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.retail__country::after { content: ""; flex: 1; height: 1px; background: var(--line); }
[lang="ar"] .retail__country { letter-spacing: 0; font-size: 14px; }
/* equal cells; each logo sits in the same optical box (max width AND max height) so weight balances
   without stretching or recolouring any supplied artwork */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.logo-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px 18px; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.logo-cell:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.logo-cell img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }

/* ---------------------------------------------------------------- private label */
.pl { display: grid; grid-template-columns: 1fr 1.1fr; padding: 0; background: var(--red); color: #fff; }
.pl__media { position: relative; min-height: 620px; }
.pl__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl__copy { padding: var(--sec-y) var(--gutter) var(--sec-y) clamp(32px, 6vw, 100px); max-width: 780px; }
[dir="rtl"] .pl__copy { padding-inline: clamp(32px, 6vw, 100px) var(--gutter); }
.pl .eyebrow { color: rgba(255, 255, 255, .75); }
.pl .eyebrow::before { background: var(--gold); }
.pl .h-display { color: #fff; }
.pl .h-display em { color: var(--gold); }
.pl .sec-lede { color: rgba(255, 255, 255, .86); }
.pl__services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.pl__services li { border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; }
.pl__steps { display: grid; grid-template-columns: repeat(6, 1fr); margin: 40px 0 40px; border-top: 1px solid rgba(255, 255, 255, .35); }
.pl__steps li { padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; position: relative; }
.pl__steps li::before { content: ""; position: absolute; top: -4px; inset-inline-start: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.step__n { font: 400 30px/1 var(--f-display); color: var(--gold); }

/* ---------------------------------------------------------------- newsletter */
.news { background: var(--sand); padding-block: clamp(56px, 7vw, 96px); }
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 100px); align-items: center; }
.news__grid > div > p { color: var(--ink-2); margin-top: 16px; }
.news__form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.news__form input[type="email"] { min-height: 56px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 0 24px; font: inherit; color: var(--ink); }
[dir="rtl"] .news__form input[type="email"] { text-align: right; }
.news__form input[type="email"]:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.news__form .btn { min-height: 56px; }
.news__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); }
.news__consent input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.form-msg { grid-column: 1 / -1; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-msg.is-ok { color: #1f6b3b; }
.form-msg.is-err { color: var(--red); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--espresso); color: rgba(245, 237, 226, .8); padding-top: clamp(64px, 8vw, 110px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer__mark { width: 72px; height: 72px; }
.footer__word { width: 220px; height: auto; margin-top: 22px; opacity: .95; }
.footer__social-h { margin-top: 30px; }
.footer__social { display: grid; gap: 10px; }
.social { display: flex; align-items: center; gap: 12px; text-decoration: none !important; padding: 8px 16px 8px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; transition: border-color .25s var(--ease), background-color .25s var(--ease); width: max-content; }
[dir="rtl"] .social { padding: 8px 8px 8px 16px; }
.social:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); }
.social svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; flex-shrink: 0; }
.social span { display: flex; flex-direction: column; line-height: 1.25; }
.social b { font-size: 13.5px; font-weight: 600; color: #fff; }
.social small { font-size: 12px; color: rgba(245, 237, 226, .6); }
.footer__line { font: 400 clamp(36px, 3.6vw, 52px)/.95 var(--f-display); text-transform: uppercase; color: #fff; margin: 22px 0 28px; }
.footer__line em { display: block; font: italic 360 .7em/1.1 var(--f-accent); text-transform: none; color: var(--gold); }
[lang="ar"] .footer__line { font-weight: 700; font-size: 30px; line-height: 1.35; }
[lang="ar"] .footer__line em { font-style: normal; font-weight: 300; }
.footer__col h2 { font: 600 11px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 237, 226, .5); margin-bottom: 20px; }
[lang="ar"] .footer__col h2 { letter-spacing: 0; font-size: 14px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.cur-switch--footer { border-color: rgba(255, 255, 255, .25); }
.cur-switch--footer button { color: rgba(245, 237, 226, .7); }
.cur-switch--footer button[aria-pressed="true"] { background: #f5ede2; color: var(--espresso); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 24px 110px; font-size: 13px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
.footer__cur-note { width: 100%; font-size: 11.5px; color: rgba(245, 237, 226, .5); }

/* ---------------------------------------------------------------- whatsapp */
/* stays bottom-right in both languages (brief); direction ltr keeps flex-end on the right */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; direction: ltr; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa__btn:hover { transform: scale(1.06); }
.wa__btn svg { width: 30px; height: 30px; }
[dir="rtl"] .wa__card { direction: rtl; }
.wa__card { width: 300px; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); position: relative; animation: rise .35s var(--ease); }
.wa__img { height: 120px; position: relative; }
.wa__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wa__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(250, 246, 239, .92); display: grid; place-items: center; }
.wa__close svg { width: 16px; height: 16px; }
.wa__body { padding: 18px 20px 20px; }
.wa__title { font: 600 18px/1.3 var(--f-body); }
[lang="ar"] .wa__title { font-style: normal; font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.5; }
.wa__body p:not(.wa__title) { font-size: 14px; color: var(--ink-2); margin: 6px 0 16px; }
.wa .btn { width: 100%; }

/* ---------------------------------------------------------------- reveal motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { 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; }
  .announce__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .announce__run[aria-hidden="true"] { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .header-tools { margin-inline-start: auto; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: 48px var(--gutter) 0 !important; }
  .hero__media { height: 72svh; min-height: 460px; margin-inline-start: var(--gutter); margin-top: 8px; }

  .finder__grid, .mib__grid, .subs__grid, .retail__grid, .news__grid { grid-template-columns: 1fr; }
  .finder__results { grid-template-columns: 1fr; }
  .roast__info { grid-template-columns: 1fr 1fr; }
  .roast__now { grid-column: 1 / -1; }
  .pl { grid-template-columns: 1fr; }
  .pl__media { min-height: 380px; }
  .pl__copy { padding: 64px var(--gutter) !important; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .guides__grid { grid-template-columns: 1fr 1fr; }
  .guide--0 { grid-column: 1 / -1; }
  .guide--0 .guide__img { aspect-ratio: 16 / 10; }
  .guide--1 { margin-top: 0; }
  .guide--2 { margin-top: 48px; }
  .mib__photo { aspect-ratio: 16 / 11; }
  .map .pin__label { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --announce-h: 34px; }
  .announce__run li { font-size: 11px; padding-inline: 18px; }
  .brand { gap: 10px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__word { width: 150px; }
  .header-tools .cur-switch, .header-tools > .lang-switch, .header-shop { display: none; }
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .sec-head--row > .filters__tabs { align-self: stretch; min-width: 0; }
  .rail-ctrl { display: none; }
  .hero__line--accent { padding-inline-start: 0; }
  .hero__ctas .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .hero__facts > div:nth-child(3) { padding-inline-start: 0; }
  .hero__facts > div:nth-child(2) { border-inline-end: 0; }
  .hero__facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__media { height: 58svh; min-height: 380px; margin-inline-start: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile--a { grid-row: auto; min-height: 460px; }
  .tile--b, .tile--c { min-height: 340px; }
  .pcard { width: 78vw; }
  .match { grid-template-columns: 96px 1fr; }
  .map { margin-inline: calc(-1 * var(--gutter)); }
  .map .pin { padding: 8px; }
  .pin__dot { width: 12px; height: 12px; }
  .map__home-label { font-size: 9px; padding: 3px 5px; left: auto; right: calc(100% + 6px); }
  .ocard { position: relative; left: auto; top: auto; transform: none; width: auto; margin: 16px var(--gutter) 0; animation: rise .3s var(--ease); }
  .ocard::after { display: none; }
  .map__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
  .map__list button { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
  .map__list button small { font-weight: 400; color: var(--muted); }
  .map__list button[aria-expanded="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
  .map__list button[aria-expanded="true"] small { color: rgba(255, 255, 255, .7); }
  .roast__stage { padding: 24px 18px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .roast__beans svg:nth-child(n+6) { display: none; }
  .roast__info { grid-template-columns: 1fr; }
  .roast__stops button { font-size: 10px; letter-spacing: .06em; }
  .meter { grid-template-columns: 90px 1fr; }
  .caps__split { grid-template-columns: 1fr; }
  .caps__half { min-height: 560px; }
  .caps__boxes { height: 270px; }
  .caps__box { width: 47%; }
  .subs__plans { grid-template-columns: 1fr; }
  .plan--home-barista { margin-top: 0; }
  .guides__grid { grid-template-columns: 1fr; }
  .guide--2 { margin-top: 0; }
  .guide__img, .guide--0 .guide__img { aspect-ratio: 4 / 3; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-cell { padding: 10px; }
  .logo-cell img { max-height: 46px; }
  .pl__steps { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .news__form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: 100px; }
  .arrival { grid-template-columns: 1fr; min-height: 0; }
  .arrival__img { height: 190px; }
  .dialog--cert img { padding: 8px; }
  .dialog__bar { flex-wrap: wrap; }
  .dialog__bar h2 { width: calc(100% - 60px); }
  .wa { right: 14px; bottom: 14px; }
  .wa__card { width: min(300px, calc(100vw - 28px)); }
}

/* =====================================================================================
   INNER PAGES — same tokens, type and motion as the home page; layouts vary per page.
   ===================================================================================== */
.dark { background: var(--espresso); color: #f5ede2; }
.dark .h-display { color: #fff; }
.dark .h-display em { color: var(--gold); }
.dark .eyebrow { color: rgba(245, 237, 226, .62); }
.dark .eyebrow::before { background: var(--gold); }
.dark .sec-lede { color: rgba(245, 237, 226, .78); }
.dark .micro { color: rgba(245, 237, 226, .6); }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 12px/1.4 var(--f-body); color: var(--muted); margin-bottom: clamp(22px, 3vw, 36px); }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); }
.dark .crumbs ol, .rhero .crumbs ol, .plhero .crumbs ol { color: rgba(245, 237, 226, .65); }
.dark .crumbs [aria-current], .rhero .crumbs [aria-current], .plhero .crumbs [aria-current] { color: #fff; }
[lang="ar"] .crumbs ol { font-size: 14px; }

/* shared display headings for page heroes */
.bhero__title, .chero__title, .thero__title, .shero__title, .rhero__title, .ghero__title, .article__title, .plhero__title, .cohero__title, .phero__title, .legal__title {
  font: 400 clamp(54px, 7.4vw, 124px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance;
}
.bhero__title em, .chero__title em, .thero__title em, .shero__title em, .rhero__title em, .plhero__title em, .cohero__title em, .phero__title em {
  display: block; font: italic 360 .56em/1.3 var(--f-accent); text-transform: none; letter-spacing: 0; color: var(--red); margin-top: .14em;
}
[lang="ar"] :is(.bhero__title, .chero__title, .thero__title, .shero__title, .rhero__title, .ghero__title, .article__title, .plhero__title, .cohero__title, .phero__title, .legal__title) { font-weight: 700; font-size: clamp(38px, 5vw, 76px); line-height: 1.25; text-transform: none; }
[lang="ar"] :is(.bhero__title, .chero__title, .thero__title, .shero__title, .rhero__title, .plhero__title, .cohero__title, .phero__title) em { font-style: normal; font-weight: 300; font-size: .62em; line-height: 1.5; color: var(--red); }

/* generic page hero (where to buy) */
.phero { padding-block: clamp(48px, 7vw, 110px) clamp(40px, 5vw, 72px); }
.phero__copy { display: grid; grid-template-columns: 1fr; }
.phero__copy .crumbs { order: -1; }
.phero__lede { max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); margin-top: 26px; }
.phero--where { background: var(--paper); border-bottom: 1px solid var(--line); }

/* faq */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 32px clamp(32px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font: 600 17px/1.4 var(--f-body); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; inset: 7px 0 auto; height: 1.5px; background: var(--red); transition: transform .3s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover { color: var(--red); }
.faq__a { padding: 0 0 24px; max-width: 64ch; color: var(--ink-2); }
[lang="ar"] .faq__item summary { font-weight: 500; font-size: 18px; }

/* cta band */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(56px, 7vw, 96px); }
.cta-band__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px clamp(32px, 6vw, 100px); align-items: end; }
.cta-band .h-display { color: #fff; }
.cta-band .h-display em { color: var(--gold); }
.cta-band p { color: rgba(255, 255, 255, .86); margin-bottom: 22px; }
.cta-band .btn { border-color: rgba(255, 255, 255, .3); }
.cta-band .btn:hover { background: var(--red-deep); border-color: #fff; }

/* ------------------------------------------------------------------ forms */
.formsec { background: var(--paper); }
.formsec__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 40px clamp(32px, 6vw, 100px); align-items: start; }
.formsec__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.formsec__intro > p { color: var(--ink-2); margin-top: 20px; max-width: 42ch; }
.formsec__alt { font-size: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld--full { grid-column: 1 / -1; }
.fld > label, .fld legend { font: 600 13px/1.3 var(--f-body); color: var(--ink); display: flex; align-items: baseline; gap: 8px; padding: 0; }
[lang="ar"] .fld > label, [lang="ar"] .fld legend { font-size: 15px; font-weight: 500; }
.fld legend { margin-bottom: 10px; }
.req { color: var(--red); }
.opt { font-weight: 400; font-size: 12px; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--paper); width: 100%;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; min-height: 52px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 44px; }
[dir="rtl"] .fld select { background-position: 22px 52%, 16px 52%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--charcoal); background: #fff; box-shadow: 0 0 0 3px rgba(34, 34, 34, .1); }
.fld input[dir="ltr"] { text-align: start; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.fld.is-invalid input, .fld.is-invalid select, .fld.is-invalid textarea { border-color: var(--red); background: #fff7f7; }
.fld__hint { font-size: 12.5px; color: var(--muted); }
.fld__err { font-size: 13px; font-weight: 600; color: var(--red); min-height: 0; }
.fld__err:empty { display: none; }
.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; margin: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; background: var(--paper); }
.seg:hover span { border-color: var(--charcoal); }
.seg input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.fld--seg.is-invalid .seg span { border-color: var(--red); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.consent input, .news__consent input { flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; accent-color: var(--charcoal); }
.consent.is-invalid { color: var(--red); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form__note { font-size: 12.5px; color: var(--muted); }
.form .form-msg { margin-top: 14px; }
.form.is-done > :not(.form__done) { display: none; }
.form__done { text-align: center; padding: clamp(24px, 4vw, 56px) 8px; outline: none; animation: rise .5s var(--ease); }
.form__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; }
.form__tick svg { width: 30px; height: 30px; }
.form__done h3 { font: 400 clamp(38px, 4vw, 56px)/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .form__done h3 { font-weight: 700; font-size: 30px; line-height: 1.4; }
.form__done p { color: var(--ink-2); max-width: 44ch; margin: 14px auto 22px; }
.form[aria-busy="true"] .btn { cursor: progress; }
.news__form .fld__err { grid-column: 1 / -1; }
.news__form.is-invalid input[type="email"], .news__form input[aria-invalid="true"] { border-color: var(--red); }

/* chips on light backgrounds + filter tabs */
.chip--light span { border-color: var(--line-strong); color: var(--ink); min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.chip--light:hover span { border-color: var(--charcoal); }
.chip--light input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip--light input:focus-visible + span { outline-color: var(--red); }
.ftab { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 11px 18px; font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.ftab:hover { border-color: var(--charcoal); color: var(--ink); }
.ftab[aria-pressed="true"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
[lang="ar"] .ftab { letter-spacing: 0; font-size: 14px; font-weight: 500; }

/* ------------------------------------------------------------------ coffee beans */
.bhero { background: linear-gradient(180deg, var(--cream) 0 70%, var(--paper) 70%); padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 96px); overflow: hidden; }
.bhero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.bhero__lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 46ch; margin-top: 28px; }
.bhero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.bhero__facts { display: flex; gap: clamp(20px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-strong); }
.bhero__facts dt { font: 600 10.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bhero__facts dd { font: 400 32px/1 var(--f-display); margin-top: 8px; }
[lang="ar"] .bhero__facts dt { letter-spacing: 0; font-size: 13px; }
[lang="ar"] .bhero__facts dd { font-weight: 500; font-size: 21px; line-height: 1.3; }
.bhero__stack { position: relative; height: clamp(380px, 40vw, 600px); }
.bhero__stack::before { content: ""; position: absolute; inset: 8% 4% 2% 8%; border-radius: 50% 50% 0 0; background: var(--sand); }
.bhero__stack li { position: absolute; bottom: 4%; width: 42%; filter: drop-shadow(0 28px 26px rgba(36, 23, 15, .3)); transition: transform .8s var(--ease); }
.bhero__stack li:nth-child(1) { inset-inline-start: 4%; transform: rotate(-9deg); bottom: 8%; }
.bhero__stack li:nth-child(2) { inset-inline-start: 29%; z-index: 2; width: 46%; }
.bhero__stack li:nth-child(3) { inset-inline-end: 2%; transform: rotate(8deg); bottom: 7%; }
.bhero__stack:hover li:nth-child(1) { transform: rotate(-13deg) translateX(-4%); }
.bhero__stack:hover li:nth-child(3) { transform: rotate(12deg) translateX(4%); }

.catalogue { background: var(--paper); padding-top: clamp(40px, 5vw, 72px); }
.catalogue__count { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
[lang="ar"] .catalogue__count { letter-spacing: 0; font-size: 14px; }
.filters { position: relative; margin: 0 0 32px; padding: 18px 0; border-block: 1px solid var(--line); }
.filters__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; margin-top: 16px; }
.filters__set legend, .filters__sort label { font: 600 10.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
[lang="ar"] .filters__set legend, [lang="ar"] .filters__sort label { letter-spacing: 0; font-size: 13px; }
.filters .chips { gap: 6px; }
.filters__sort select { font: 500 14px var(--f-body); border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 10px 36px 10px 16px; min-height: 40px; appearance: none; color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] .filters__sort select { padding: 10px 16px 10px 36px; background-position: 18px 52%, 13px 52%; }
.filters__toggle { display: none; }
.filters__reset { border: 0; background: none; padding: 0 0 6px; font-size: 11.5px; cursor: pointer; margin-inline-start: auto; }
.filters__empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.filters__empty p { color: var(--ink-2); margin-bottom: 18px; }
.catalogue__note { font-size: 12.5px; color: var(--muted); margin-top: 28px; }

.scards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(16px, 2vw, 26px); }
.scard { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.scard[hidden] { display: none; }
.scard__stage { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: end center; background: color-mix(in srgb, var(--tint) 20%, var(--cream)); overflow: hidden; }
.scard__stage::after { content: ""; position: absolute; inset: auto 14% 10%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 23, 15, .2), transparent); }
.scard__img { position: relative; z-index: 1; width: 44%; margin-bottom: 9%; filter: drop-shadow(0 20px 18px rgba(36, 23, 15, .26)); transition: transform .6s var(--ease); }
.scard:hover .scard__img { transform: translateY(-8px); }
.scard__stage--type { place-items: center; align-content: center; gap: 6px; background: color-mix(in srgb, var(--tint) 30%, var(--cream)); padding: 24px; text-align: center; }
.scard__stage--type span { font: 400 clamp(44px, 4vw, 64px)/.9 var(--f-display); text-transform: uppercase; color: var(--ink); }
.scard__stage--type small { font: 600 10.5px/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
[lang="ar"] .scard__stage--type span { font-weight: 700; font-size: 32px; line-height: 1.3; }
.scard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.scard__name { font: 600 20px/1.25 var(--f-body); }
[lang="ar"] .scard__name { font-weight: 500; font-size: 21px; line-height: 1.4; }
.scard__region { font-size: 13px; color: var(--muted); margin-top: 2px; }
.scard__notes { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.scard__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; margin-top: 16px; }
.scard__specs dt { font: 600 10px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scard__specs dd { font-size: 13.5px; font-weight: 600; margin-top: 4px; }
[lang="ar"] .scard__specs dt { letter-spacing: 0; font-size: 12px; }
.scard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 18px; }
.scard__body > .scard__foot { margin-top: auto; }
.scard__specs + .scard__foot { margin-top: 18px; }

.roast--detailed { background: var(--cream); }
.roast--detailed .roast__stage { background: var(--paper); }
.roast__drum { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; max-width: 40ch; }

.ostories { background: var(--paper); }
.ostories__list { display: grid; gap: clamp(20px, 3vw, 36px); }
.ostory { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 24px clamp(28px, 5vw, 80px); padding: clamp(24px, 3vw, 44px); background: color-mix(in srgb, var(--tint) 14%, var(--cream)); border-radius: var(--radius); }
.ostory--1 { grid-template-columns: 1.3fr 1fr; }
.ostory--1 .ostory__pack { order: 2; }
.ostory__pack { display: grid; place-items: center; }
.ostory__pack img { width: min(240px, 70%); filter: drop-shadow(0 24px 22px rgba(36, 23, 15, .28)); transform: rotate(-4deg); transition: transform .7s var(--ease); }
.ostory--1 .ostory__pack img { transform: rotate(4deg); }
.ostory:hover .ostory__pack img { transform: rotate(0) translateY(-6px); }
.ostory__name { font: 400 clamp(56px, 6vw, 96px)/.88 var(--f-display); text-transform: uppercase; margin: 10px 0 14px; }
[lang="ar"] .ostory__name { font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1.3; }
.ostory__notes { font: 400 italic clamp(20px, 1.8vw, 26px)/1.35 var(--f-serif); color: var(--roast); max-width: 30ch; }
[lang="ar"] .ostory__notes { font-style: normal; font-family: var(--f-body); font-size: 19px; }
.ostory__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 13.5px; color: var(--ink-2); margin: 18px 0 22px; }
.ostory__meta .price { font-size: 20px; }

.fresh { padding-block: clamp(48px, 6vw, 84px); }
.fresh__grid { display: grid; grid-template-columns: 1fr 2fr auto; gap: 28px clamp(28px, 4vw, 64px); align-items: center; }
.fresh__lead { font: 400 clamp(36px, 3.6vw, 54px)/.95 var(--f-display); text-transform: uppercase; color: #fff; }
.fresh__lead em { display: block; font: italic 360 .62em/1.1 var(--f-accent); text-transform: none; color: var(--gold); }
[lang="ar"] .fresh__lead { font-weight: 700; font-size: 30px; line-height: 1.35; }
[lang="ar"] .fresh__lead em { font-style: normal; font-weight: 300; }
.fresh__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fresh__list li { border-inline-start: 1px solid rgba(255, 255, 255, .18); padding-inline-start: 18px; display: grid; gap: 6px; }
.fresh__list b { font: 400 34px/1 var(--f-display); color: var(--gold); letter-spacing: .02em; }
[lang="ar"] .fresh__list b { font-weight: 700; font-size: 22px; line-height: 1.3; }
.fresh__list span { font-size: 14px; color: rgba(245, 237, 226, .76); line-height: 1.5; }

/* ------------------------------------------------------------------ capsules */
.chero { padding-block: clamp(44px, 6vw, 100px); position: relative; overflow: hidden; }
.chero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px clamp(32px, 6vw, 100px); align-items: end; }
.chero__title { color: #fff; }
.chero__title em { color: var(--gold) !important; }
.chero__lede { color: rgba(245, 237, 226, .78); font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; margin-top: 26px; }
.chero__ask { display: grid; gap: 12px; }
.chero__ask-h { font: 400 italic 26px/1.2 var(--f-accent); color: var(--gold); margin-bottom: 6px; }
[lang="ar"] .chero__ask-h { font-style: normal; font-size: 22px; }
.machine { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 20px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); text-decoration: none; color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.machine:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.machine__k { font: 600 10.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 237, 226, .6); grid-column: 1; }
[lang="ar"] .machine__k { letter-spacing: 0; font-size: 13px; }
.machine__v { font: 400 clamp(36px, 3.4vw, 52px)/.95 var(--f-display); text-transform: uppercase; grid-column: 1; margin-top: 6px; }
.machine__v sup { font-size: .38em; vertical-align: top; position: relative; top: .3em; }
.machine__n { font-size: 13.5px; color: rgba(245, 237, 226, .7); grid-column: 1; margin-top: 4px; }
.machine .ico-arrow { grid-column: 2; grid-row: 1 / span 3; width: 30px; height: 30px; color: var(--gold); transition: transform .25s var(--ease); }
.machine:hover .ico-arrow { transform: translateX(6px); }
[dir="rtl"] .machine:hover .ico-arrow { transform: scaleX(-1) translateX(6px); }

.capstabs { background: var(--paper); padding-top: clamp(40px, 5vw, 64px); }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(28px, 4vw, 48px); position: sticky; top: var(--header-h); z-index: 15; background: var(--paper); }
.tabs [role=tab] { flex: 1; border: 0; background: none; padding: 20px 12px 18px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .25s var(--ease); }
.tabs [role=tab] bdi { font: 400 clamp(26px, 2.6vw, 40px)/1 var(--f-display); text-transform: uppercase; }
.tabs [role=tab] bdi sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; }
.tabs [role=tab] > span { font: 600 10.5px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
[lang="ar"] .tabs [role=tab] > span { letter-spacing: 0; font-size: 13px; }
.tabs [role=tab]:hover { color: var(--ink); }
.tabs [role=tab][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tabs--light { position: static; background: none; }
.tabs--light [role=tab] { flex-direction: row; justify-content: center; gap: 10px; font: 400 clamp(28px, 2.8vw, 42px)/1 var(--f-display); text-transform: uppercase; }
.tabs--light [role=tab] span { font: 600 12px/1 var(--f-body); background: var(--sand); border-radius: 999px; padding: 5px 9px; letter-spacing: 0; }
[lang="ar"] .tabs--light [role=tab] { font-weight: 700; font-size: 24px; }
.fitbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; padding: 18px 22px; background: var(--charcoal); color: #fff; border-radius: var(--radius); margin-bottom: clamp(24px, 3vw, 40px); }
.fitbar--d { background: var(--sand); color: var(--ink); }
.fitbar__k { font: 600 10.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.fitbar--d .fitbar__k { color: var(--red); }
.fitbar__v { font: 400 28px/1 var(--f-display); text-transform: uppercase; }
[lang="ar"] .fitbar__v { font-weight: 700; font-size: 19px; line-height: 1.4; }
.fitbar__x { font-size: 13.5px; opacity: .8; display: flex; align-items: baseline; gap: 6px; }
.fitbar__x .price { font-size: 18px; }
.fitbar .price { color: inherit; }

.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.ncard:hover { box-shadow: 0 24px 40px -28px rgba(36, 23, 15, .4); transform: translateY(-3px); }
.ncard--wide { grid-column: span 2; flex-direction: row; }
.ncard__stage { display: grid; place-items: center; padding: 28px; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 50%, #fff) 0 46%, color-mix(in srgb, var(--tint) 18%, var(--paper)) 47%); }
.ncard--wide .ncard__stage { flex: 1.15; aspect-ratio: auto; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.ncard--wide .ncard__img { width: 88%; }
.ncard--wide .ncard__body { flex: 1; }
.ncard__img { width: 82%; filter: drop-shadow(0 16px 16px rgba(36, 23, 15, .22)); transition: transform .6s var(--ease); }
.ncard:hover .ncard__img { transform: translateY(-6px) rotate(-1deg); }
.ncard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ncard__name { font: 600 19px/1.25 var(--f-body); }
[lang="ar"] .ncard__name { font-weight: 500; font-size: 20px; line-height: 1.4; }
.ncard__origin { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ncard__notes { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.ncard__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.ncard__facts dt { font: 600 10px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ncard__facts dd { font-size: 13.5px; font-weight: 600; margin-top: 4px; }
[lang="ar"] .ncard__facts dt { letter-spacing: 0; font-size: 12px; }
.ncard__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.ncard__foot .price { margin-inline-start: auto; }
.ncard__pack { font: 600 10.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
[lang="ar"] .ncard__pack { letter-spacing: 0; font-size: 13px; }
.ncard__facts + .ncard__foot, .ncard__notes + .ncard__foot { margin-top: 18px; }
.ncard__body > .ncard__foot { margin-top: auto; }

.caps-photo { position: relative; margin-top: clamp(28px, 4vw, 56px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1376 / 768; }
.caps-photo--dolce { margin-top: 0; margin-bottom: clamp(20px, 3vw, 32px); }
.caps-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.caps-photo figcaption { position: absolute; inset-inline-start: 24px; bottom: 22px; color: #fff; font: 400 italic clamp(20px, 2vw, 28px)/1.2 var(--f-serif); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); max-width: min(30ch, 42%); }
[lang="ar"] .caps-photo figcaption { font-style: normal; font-size: 19px; }

.dolce-duo { position: relative; height: clamp(260px, 30vw, 440px); background: radial-gradient(ellipse at 50% 85%, rgba(36, 23, 15, .12), transparent 55%), var(--sand); border-radius: var(--radius); margin-bottom: clamp(20px, 3vw, 32px); }
.dolce-duo__box { position: absolute; bottom: 9%; width: min(32%, 300px); filter: drop-shadow(0 26px 24px rgba(36, 23, 15, .3)); transition: transform .7s var(--ease); }
.dolce-duo__box img { width: 100%; }
.dolce-duo__box--a { inset-inline-end: 50%; transform: translateX(8%) rotate(-3deg); z-index: 2; }
.dolce-duo__box--c { inset-inline-start: 50%; bottom: 14%; transform: translateX(-8%) rotate(3deg); }
[dir="rtl"] .dolce-duo__box--a { transform: translateX(-8%) rotate(-3deg); }
[dir="rtl"] .dolce-duo__box--c { transform: translateX(8%) rotate(3deg); }
.dolce-duo:hover .dolce-duo__box--a { transform: translateX(2%) rotate(-6deg); }
.dolce-duo:hover .dolce-duo__box--c { transform: translateX(-2%) rotate(6deg) translateY(-3%); }
.dcards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.dcard { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dcard__stage { display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, var(--tint) 26%, var(--paper)); }
.dcard__img { width: 100%; filter: drop-shadow(0 14px 14px rgba(36, 23, 15, .24)); }
.dcard__body { padding: 22px 24px; display: flex; flex-direction: column; }
.dcard__name { font: 400 40px/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .dcard__name { font-weight: 700; font-size: 24px; line-height: 1.4; }
.dcard__origin { font-size: 13px; color: var(--muted); margin-top: 4px; }
.dcard__notes { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.dcard__pack { display: grid; gap: 10px; margin: 16px 0; padding: 14px 0; border-block: 1px dashed var(--line-strong); }
.dcard__pack dt { font: 600 10px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dcard__pack dd { font-size: 14px; font-weight: 600; margin-top: 4px; }
[lang="ar"] .dcard__pack dt { letter-spacing: 0; font-size: 12px; }
.dcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.machine-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 32px); padding: 22px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.machine-row h3 { font: 600 19px/1.3 var(--f-body); margin: 6px 0 4px; }
.machine-row p:not(.micro) { font-size: 14px; color: var(--ink-2); }
.machine-row__buy { display: flex; align-items: center; gap: 18px; }
.machine-row__img { flex: 0 0 auto; width: 120px; aspect-ratio: 3 / 2; background: #fff; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.machine-row__img img { width: 100%; height: 100%; object-fit: contain; }
.machine-row > div:not(.machine-row__buy) { flex: 1 1 260px; }
/* Brewing tools: capsule machine feature (supplied packshot sits on its own white stage) */
.tmachine { background: var(--cream); }
.tmachine__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.tmachine__stage { margin: 0; background: #fff; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(34, 28, 24, .35); }
.tmachine__stage img { width: 92%; height: auto; transition: transform .6s var(--ease); }
.tmachine__stage:hover img { transform: scale(1.03); }
.tmachine__pts { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.tmachine__pts li { position: relative; padding-inline-start: 22px; font-size: 15px; color: var(--ink-2); }
.tmachine__pts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 10px; height: 2px; background: var(--red); }
.tmachine__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 18px; }
@media (max-width: 900px) { .tmachine__grid { grid-template-columns: 1fr; } }

.compare { background: var(--cream); }
.compare__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px clamp(32px, 6vw, 100px); align-items: start; }
.compare__img { margin-top: 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__table { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; margin-bottom: 26px; min-width: 520px; }
.compare th, .compare td { text-align: start; padding: 18px 14px; border-bottom: 1px solid var(--line-strong); vertical-align: top; font-size: 14.5px; }
.compare thead th { font: 400 24px/1 var(--f-display); text-transform: uppercase; }
[lang="ar"] .compare thead th { font-weight: 700; font-size: 17px; line-height: 1.4; }
.compare tbody th { font: 600 11px/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); width: 22%; }
[lang="ar"] .compare tbody th { letter-spacing: 0; font-size: 13px; }
.compare .price { font-size: 20px; }

/* ------------------------------------------------------------------ brewing tools */
.thero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78svh, 760px); background: var(--cream); }
.thero__media { position: relative; overflow: hidden; border-end-end-radius: clamp(80px, 12vw, 200px); }
[dir="rtl"] .thero__media { border-end-end-radius: 0; border-end-start-radius: 0; border-end-end-radius: clamp(80px, 12vw, 200px); }
.thero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 42%; }
.thero__copy { padding: clamp(40px, 6vw, 100px) var(--gutter) clamp(40px, 5vw, 72px) clamp(32px, 5vw, 88px); display: flex; flex-direction: column; justify-content: center; }
[dir="rtl"] .thero__copy { padding-inline: clamp(32px, 5vw, 88px) var(--gutter); }
.thero__lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 44ch; margin-top: 26px; }
.thero__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.thero__nav a { display: inline-flex; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.thero__nav a:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.tgroup { padding-block: clamp(56px, 7vw, 110px); background: var(--paper); }
.tgroup--1 { background: var(--cream); }
.tgroup__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px clamp(32px, 6vw, 100px); align-items: start; }
.tgroup--1 .tgroup__img { order: 2; }
.tgroup__img { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.tgroup__img img { width: 100%; height: 100%; object-fit: cover; }
.tgroup__img .credit { position: absolute; inset-inline-start: 12px; bottom: 10px; font-size: 10.5px; color: rgba(255, 255, 255, .8); letter-spacing: .1em; text-transform: uppercase; }
.trows { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.trow { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trow h4 { font: 600 16.5px/1.35 var(--f-body); }
[lang="ar"] .trow h4 { font-weight: 500; font-size: 17px; }
.trow p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; max-width: 52ch; line-height: 1.5; }
.trow__buy { display: flex; align-items: center; gap: 16px; }
.trow .price { font-size: 21px; }
.price--ask { font: 600 11px/1.3 var(--f-body) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: normal; max-width: 12ch; text-align: end; }
[lang="ar"] .price--ask { letter-spacing: 0; font-size: 12px !important; }
.kit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 100px); align-items: start; }
.kit__pair-h { margin-top: 36px; }
.kit__pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.kit__pair a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 16px 8px 8px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: border-color .2s; }
.kit__pair a:hover { border-color: rgba(255, 255, 255, .55); }
.kit__pair img { width: 30px; height: auto; }
.kit__card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 20px; }
.kit__list { display: grid; }
.kit__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); cursor: pointer; }
.kit__item input { position: absolute; opacity: 0; }
.kit__box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.kit__item input:checked + .kit__box { background: var(--gold); border-color: var(--gold); }
.kit__item input:checked + .kit__box::after { content: ""; width: 10px; height: 5px; border-inline-start: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); transform: rotate(-45deg) translate(1px, -1px); }
.kit__item input:focus-visible + .kit__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.kit__item input:not(:checked) ~ .kit__name, .kit__item input:not(:checked) ~ .price { opacity: .45; text-decoration: line-through; }
.kit__name { font-size: 14.5px; font-weight: 500; }
.kit__item .price { font-size: 20px; color: #fff; }
.kit__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; }
.kit__total > span:first-child { font: 600 11px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 237, 226, .65); }
.kit__total .price { color: var(--gold); }
[lang="ar"] .kit__total > span:first-child { letter-spacing: 0; font-size: 14px; }
.kit .link-arrow { justify-self: center; }

/* ------------------------------------------------------------------ subscriptions */
.shero { background: var(--cream); padding-block: clamp(40px, 6vw, 96px); }
.shero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px clamp(32px, 6vw, 100px); align-items: center; }
.shero__lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 44ch; margin: 26px 0 34px; }
.shero__img { border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.shero__img img { width: 100%; height: 100%; object-fit: cover; }
.splans { background: var(--paper); }
.splans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-bottom: 24px; }
.splan { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 48px); border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.splan--home-barista { background: var(--charcoal); color: #f5ede2; border-color: var(--charcoal); }
.splan__bags { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.splan--home-barista .splan__bags { color: var(--gold); }
[lang="ar"] .splan__bags { letter-spacing: 0; font-size: 14px; }
.splan__name { font: 400 clamp(54px, 5vw, 84px)/.9 var(--f-display); text-transform: uppercase; margin-top: 12px; }
[lang="ar"] .splan__name { font-weight: 700; font-size: 38px; line-height: 1.3; }
.splan__cal { display: flex; align-items: center; gap: 8px; margin-top: 26px; font: 600 10.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.splan__cal span { margin-inline-end: 6px; }
.splan__cal i { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .5; }
.splan__cal i.on { opacity: 1; border-style: solid; background: var(--red); border-color: var(--red); }
.splan--home-barista .splan__cal i.on { background: var(--gold); border-color: var(--gold); }
.splan__freq { margin-top: 12px; font-size: 15px; }
.splan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 22px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.splan--home-barista .splan__price { border-color: rgba(255, 255, 255, .15); }
.splan__price > span:last-child { font-size: 13px; opacity: .7; }
.splan .plan__incl { margin-bottom: 28px; }
.splan .btn { margin-top: auto; }
.splan--home-barista .btn { border-color: rgba(255, 255, 255, .32); }
.shows { background: var(--cream); }
.shows__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px clamp(32px, 6vw, 100px); align-items: start; }
.shows__steps { display: grid; gap: 0; margin-top: 32px; counter-reset: s; }
.shows__steps li { display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.shows__steps .step__n { grid-row: span 2; color: var(--red); font-size: 34px; }
.shows__steps b { font-size: 16px; }
.shows__steps li > span:last-child { font-size: 14px; color: var(--ink-2); }
.scoffees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.scoffees li { background: color-mix(in srgb, var(--tint) 20%, var(--paper)); border-radius: var(--radius); padding: 18px 14px 16px; text-align: center; display: grid; gap: 4px; }
.scoffees li div { height: 150px; display: grid; place-items: end center; margin-bottom: 10px; }
.scoffees img { max-height: 150px; width: auto; filter: drop-shadow(0 12px 12px rgba(36, 23, 15, .22)); }
.scoffees b { font-size: 14.5px; }
.scoffees span { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ our roastery */
.rhero { position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.rhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rhero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 12, 8, .88) 0%, rgba(20, 12, 8, .45) 45%, rgba(20, 12, 8, .15) 100%); }
.rhero__copy { position: relative; padding-block: 120px clamp(48px, 6vw, 96px); }
.rhero__title { color: #fff; }
.rhero__title em { color: var(--gold) !important; }
.rhero__lede { max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .85); margin-top: 26px; }
.rhero__pause { position: absolute; z-index: 2; inset-inline-end: var(--gutter); bottom: clamp(48px, 6vw, 96px); }
.flow { background: var(--paper); }
.flow__list { display: grid; gap: clamp(28px, 4vw, 56px); counter-reset: f; }
.flow__step { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px clamp(28px, 5vw, 80px); align-items: center; }
.flow__step:nth-child(even) .flow__img { order: 2; }
.flow__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.flow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.flow__step:hover .flow__img img { transform: scale(1.04); }
.flow__n { display: flex; align-items: baseline; gap: 14px; font: 600 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.flow__n span { font: 400 64px/.8 var(--f-display); color: var(--ink); letter-spacing: 0; }
[lang="ar"] .flow__n { letter-spacing: 0; font-size: 15px; }
.flow__txt h3 { font: 400 italic clamp(28px, 2.6vw, 38px)/1.15 var(--f-accent); color: var(--red); margin: 18px 0 12px; }
[lang="ar"] .flow__txt h3 { font-style: normal; font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.4; }
.flow__txt p:last-child { color: var(--ink-2); max-width: 44ch; }
.proof { padding-block: clamp(56px, 7vw, 100px); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof__item { border-inline-start: 1px solid rgba(255, 255, 255, .18); padding-inline-start: 22px; display: grid; gap: 10px; }
.proof__item b { font: 400 clamp(56px, 6vw, 96px)/.85 var(--f-display); color: var(--gold); }
.proof__item span { font-size: 14.5px; color: rgba(245, 237, 226, .78); max-width: 24ch; }
.capline { background: var(--cream); }
.capline__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 100px); align-items: center; }
.capline__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; }
.capline__img img { width: 100%; height: 100%; object-fit: cover; }
.capline .link-arrow { margin-top: 28px; }
.region { background: var(--paper); }
.exports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.exports li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.region__h { margin-bottom: 14px; }
.region__ctas { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 32px; }
.logos--clients { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.logos--clients .logo-cell img { max-height: 58px; }

/* ------------------------------------------------------------------ brew guides */
.ghero { background: var(--cream); padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 88px); }
.ghero__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(32px, 6vw, 100px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.ghero__lede { font: 400 italic clamp(20px, 1.8vw, 26px)/1.4 var(--f-serif); color: var(--roast); max-width: 36ch; }
[lang="ar"] .ghero__lede { font-style: normal; font-family: var(--f-body); font-size: 18px; }
.gfeat { display: grid; grid-template-columns: 1.4fr 1fr; text-decoration: none; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gfeat__img { aspect-ratio: 16 / 10; overflow: hidden; }
.gfeat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gfeat:hover .gfeat__img img { transform: scale(1.04); }
.gfeat__copy { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.gfeat__title { font: 400 clamp(56px, 5.6vw, 92px)/.88 var(--f-display); text-transform: uppercase; }
[lang="ar"] .gfeat__title { font-weight: 700; font-size: 40px; line-height: 1.3; }
.gfeat__hook { font: 400 italic 22px/1.4 var(--f-serif); color: var(--ink-2); max-width: 30ch; margin-bottom: 10px; }
[lang="ar"] .gfeat__hook { font-style: normal; font-family: var(--f-body); font-size: 18px; }
.gfeat .link-arrow { align-self: flex-start; }
.journal { background: var(--paper); }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.jcard { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.jcard[hidden] { display: none; }
.jcard--1 { margin-top: 56px; }
.jcard__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 8px; }
.jcard--2 .jcard__img { aspect-ratio: 1; }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.jcard:hover .jcard__img img { transform: scale(1.05); }
.jcard__title { font: 400 clamp(32px, 2.6vw, 42px)/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .jcard__title { font-weight: 700; font-size: 24px; line-height: 1.35; }
.jcard__hook { color: var(--ink-2); font-size: 15px; }

.article__head { padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 48px); }
.article__title { max-width: 16ch; }
.article__title { margin: 12px 0 18px; }
.article__hook { font: 400 italic clamp(22px, 2.2vw, 32px)/1.3 var(--f-serif); color: var(--roast); max-width: 34ch; }
[lang="ar"] .article__hook { font-style: normal; font-family: var(--f-body); font-size: 21px; }
.article__hero { max-width: 1680px; margin: 0 auto; aspect-ratio: 21 / 8; overflow: hidden; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px clamp(32px, 6vw, 100px); padding-block: clamp(40px, 6vw, 88px); align-items: start; }
.article__intro { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink); max-width: 60ch; }
.article__body h2 { font: 400 clamp(34px, 3vw, 46px)/1 var(--f-display); text-transform: uppercase; margin: 48px 0 20px; }
[lang="ar"] .article__body h2 { font-weight: 700; font-size: 28px; line-height: 1.4; }
.article__steps { counter-reset: st; display: grid; gap: 0; }
.article__steps li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.article__steps li::before { content: counter(st, decimal-leading-zero); font: 400 32px/1 var(--f-display); color: var(--red); }
.article__steps p { color: var(--ink-2); max-width: 60ch; padding-top: 4px; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.glance, .related { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.glance dl { display: grid; gap: 14px; margin-top: 14px; }
.glance dt { font-weight: 600; font-size: 14px; }
.glance dd { font-size: 14px; color: var(--ink-2); }
.mini { display: grid; gap: 10px; margin: 14px 0 16px; }
.mini li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.mini__img { background: color-mix(in srgb, var(--tint) 30%, var(--cream)); border-radius: 4px; display: grid; place-items: center; height: 64px; }
.mini__img img { max-height: 54px; width: auto; }
.mini b { display: block; font-size: 14px; }
.mini .price { font-size: 17px; }
.related__tools { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 16px; display: grid; gap: 8px; }
.related__tools li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.related__tools .price { font-size: 16px; }
.article__next a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center; padding: 32px 0 clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong); text-decoration: none; }
.article__next b { font: 400 clamp(40px, 4vw, 64px)/.95 var(--f-display); text-transform: uppercase; grid-column: 1; }
[lang="ar"] .article__next b { font-weight: 700; font-size: 32px; line-height: 1.35; }
.article__next span:not(.micro) { color: var(--ink-2); grid-column: 1; }
.article__next .ico-arrow { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; color: var(--red); transition: transform .25s var(--ease); }
.article__next a:hover .ico-arrow { transform: translateX(8px); }

/* ------------------------------------------------------------------ where to buy */
.stockists { background: var(--paper); }
.logos--where { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.logo-cell--lg { aspect-ratio: auto; padding: 26px 18px 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 190px; }
.logo-cell--lg img { max-height: 92px; max-width: 80%; margin: auto; }
.logo-cell--lg span { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; }
.stockists__note { font-size: 13.5px; color: var(--muted); margin-top: 24px; max-width: 70ch; }
.online { padding-block: clamp(56px, 7vw, 96px); }
.online__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px clamp(32px, 6vw, 100px); align-items: end; }
.online__side p { color: rgba(245, 237, 226, .8); margin-bottom: 22px; max-width: 44ch; }
.locs { background: var(--cream); }
.locs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.locs--contact .h-display { margin-bottom: clamp(24px, 3vw, 40px); }
.loc { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.loc__img { aspect-ratio: 16 / 8; overflow: hidden; }
.loc__img img { width: 100%; height: 100%; object-fit: cover; }
.loc__body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.loc h3 { font: 400 clamp(32px, 2.8vw, 44px)/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .loc h3 { font-weight: 700; font-size: 24px; line-height: 1.4; }
.loc address { font-style: normal; display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.5; margin-top: 4px; }
.loc address svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); margin-top: 1px; }
.loc__phone { font-size: 14px; }
.loc__phone a { text-decoration: none; }
.loc__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: auto; padding-top: 16px; }
.loc__map { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.loc__map iframe { width: 100%; height: 100%; border: 0; }
.loc__show { border: 0; background: none; cursor: pointer; padding: 0 0 6px; font-size: 11.5px; }

/* ------------------------------------------------------------------ private label */
.plhero { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--red); color: #fff; min-height: min(84svh, 800px); }
.plhero__copy { padding: clamp(40px, 6vw, 100px) clamp(32px, 5vw, 88px) clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
[dir="rtl"] .plhero__copy { padding-inline: var(--gutter) clamp(32px, 5vw, 88px); }
.plhero .eyebrow { color: rgba(255, 255, 255, .78); }
.plhero .eyebrow::before { background: var(--gold); }
.plhero__title em { color: var(--gold) !important; }
.plhero__lede { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .9); max-width: 48ch; margin-top: 26px; }
.plhero__for { font: 400 italic 20px/1.4 var(--f-serif); color: var(--gold); margin: 18px 0 32px; }
[lang="ar"] .plhero__for { font-style: normal; font-family: var(--f-body); font-size: 17px; }
.plhero .btn { border-color: rgba(255, 255, 255, .3); }
.plhero .btn:hover { background: var(--red-deep); border-color: #fff; }
.plhero__media { position: relative; overflow: hidden; }
.plhero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svcs { background: var(--paper); }
.svcs__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-inline-start: 1px solid var(--line-strong); }
.svcs__list li { padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); border-inline-end: 1px solid var(--line-strong); display: grid; gap: 10px; align-content: start; transition: background-color .3s var(--ease); }
.svcs__list li:hover { background: var(--cream); }
.svc__n { font: 400 18px/1 var(--f-display); color: var(--red); letter-spacing: .06em; }
.svcs__list h3 { font: 400 clamp(30px, 2.6vw, 40px)/.95 var(--f-display); text-transform: uppercase; }
[lang="ar"] .svcs__list h3 { font-weight: 700; font-size: 22px; line-height: 1.4; }
.svcs__list p { font-size: 14.5px; color: var(--ink-2); }
.plproc .h-display { margin-bottom: 8px; }
.pl__steps--lg { margin: 40px 0 56px; border-color: rgba(255, 255, 255, .25); }
.pl__steps--lg li { font-size: 15px; }
.pl__steps--lg .step__n { font-size: 44px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .15); }
.trust div { display: grid; gap: 6px; }
.trust b { font: 400 clamp(40px, 4vw, 60px)/.9 var(--f-display); color: var(--gold); }
[lang="ar"] .trust b { font-weight: 700; font-size: 30px; line-height: 1.3; }
.trust span { font-size: 14px; color: rgba(245, 237, 226, .76); }
.plclients { background: var(--cream); }
.formsec--pl { background: var(--paper); }

/* ------------------------------------------------------------------ contact */
.cohero { background: var(--cream); padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); }
.qcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.qc { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease); min-width: 0; }
.qc:hover { border-color: var(--charcoal); transform: translateY(-2px); }
.qc svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--charcoal); color: #fff; flex-shrink: 0; }
.qc span { display: flex; flex-direction: column; min-width: 0; }
.qc small { font: 600 10.5px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
[lang="ar"] .qc small { letter-spacing: 0; font-size: 13px; }
.qc b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ legal */
.legal { padding-block: clamp(40px, 6vw, 96px); max-width: 860px; }
.legal__title { margin-bottom: 14px; }
.legal__body { margin-top: 40px; }
.legal__body h2 { font: 600 19px/1.3 var(--f-body); margin: 34px 0 10px; }
.legal__body p { color: var(--ink-2); }

/* ------------------------------------------------------------------ responsive (inner pages) */
@media (max-width: 1100px) {
  .ncards { grid-template-columns: 1fr 1fr; }
  .dcards { grid-template-columns: 1fr; }
  .qcs { grid-template-columns: 1fr 1fr; }
  .proof__grid, .trust { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 1024px) {
  .bhero__grid, .chero__grid, .shero__grid, .kit__grid, .compare__grid, .capline__grid, .online__grid, .cta-band__inner, .ghero__head { grid-template-columns: 1fr; }
  .bhero__stack { height: 380px; max-width: 560px; }
  .faq__grid, .formsec__grid { grid-template-columns: 1fr; }
  .faq__head, .formsec__intro { position: static; }
  .fresh__grid { grid-template-columns: 1fr; }
  .thero, .plhero { grid-template-columns: 1fr; }
  .thero__media { height: 46svh; min-height: 300px; border-end-end-radius: 0; }
  .plhero__media { height: 46svh; min-height: 300px; }
  .tgroup__grid { grid-template-columns: 1fr; }
  .tgroup--1 .tgroup__img { order: 0; }
  .tgroup__img { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .gfeat { grid-template-columns: 1fr; }
  .journal__grid { grid-template-columns: 1fr 1fr; }
  .jcard--1 { margin-top: 0; }
  .article__grid { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: 1fr 1fr; }
  .svcs__list { grid-template-columns: 1fr 1fr; }
  .flow__step, .flow__step:nth-child(even) { grid-template-columns: 1fr; }
  .flow__step:nth-child(even) .flow__img { order: 0; }
  .ostory, .ostory--1 { grid-template-columns: 1fr; text-align: center; }
  .ostory--1 .ostory__pack { order: 0; }
  .ostory__notes { margin-inline: auto; }
  .ostory__meta { justify-content: center; }
  .ostory__pack img { width: 180px; }
}
@media (max-width: 760px) {
  .form__grid { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .filters { position: relative; top: 0; }
  .filters__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
  [lang="ar"] .filters__toggle { letter-spacing: 0; font-size: 14px; }
  .filters__toggle i { position: relative; width: 12px; height: 12px; }
  .filters__toggle i::before, .filters__toggle i::after { content: ""; position: absolute; inset: 5px 0 auto; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .filters__toggle i::after { transform: rotate(90deg); }
  .filters__toggle[aria-expanded="true"] i::after { transform: none; }
  .filters__more { display: none; }
  .filters.is-open .filters__more { display: flex; }
  .filters__more { gap: 14px; }
  .filters__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .filters__tabs::-webkit-scrollbar { display: none; }
  .ftab { white-space: nowrap; }
  .scard__specs { grid-template-columns: repeat(3, auto); gap: 4px 16px; }
  .bhero__facts { gap: 22px; }
  .bhero__facts dd { font-size: 26px; }
  .fresh__list { grid-template-columns: 1fr; }
  .ncards { grid-template-columns: 1fr; }
  .ncard--wide { grid-column: auto; flex-direction: column; }
  .ncard--wide .ncard__stage { aspect-ratio: 16 / 10; }
  .dcard { grid-template-columns: 1fr; }
  .dcard__stage { aspect-ratio: 16 / 9; }
  .dcard__img { width: auto; max-height: 200px; }
  .dolce-duo__box { width: 40%; }
  .caps-photo { aspect-ratio: 4 / 3; }
  .tabs [role=tab] { padding: 14px 6px 12px; }
  .machine { padding: 18px; }
  .trow { grid-template-columns: 1fr; }
  .trow__buy { justify-content: space-between; }
  .splans__grid, .locs__grid { grid-template-columns: 1fr; }
  .scoffees { grid-template-columns: 1fr 1fr; }
  .scoffees li div { height: 120px; }
  .scoffees img { max-height: 120px; }
  .proof__grid, .trust { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .proof__item { padding-inline-start: 14px; }
  .journal__grid { grid-template-columns: 1fr; }
  .jcard__img, .jcard--2 .jcard__img { aspect-ratio: 4 / 3; }
  .article__hero { aspect-ratio: 4 / 3; }
  .article__aside { grid-template-columns: 1fr; }
  .svcs__list { grid-template-columns: 1fr; }
  .qcs { grid-template-columns: 1fr; }
  .logos--where { grid-template-columns: 1fr 1fr; gap: 10px; }
  .logo-cell--lg { min-height: 150px; padding: 18px 10px 12px; }
  .logo-cell--lg img { max-height: 64px; }
  .logos--clients { grid-template-columns: repeat(3, 1fr); }
  .tabs--light [role=tab] { font-size: 24px; }
  .rhero { min-height: 78svh; }
  .shero__img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .bhero__stack { height: 300px; }
  .footer__social .social { width: 100%; }
  .thero__copy { min-width: 0; }
  .thero__nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .thero__nav a { white-space: nowrap; }
}

/* Active page in menus */
.main-nav a[aria-current] { color: var(--red); font-weight: 700; }
.main-nav a[aria-current]::after { transform: scaleX(1); height: 2px; }
.mobile-menu a[aria-current] { color: var(--red); font-weight: 700; }
.footer__col a[aria-current] { color: var(--gold); font-weight: 700; }

/* Online store: right-side panel, full screen on phones */
.order-open { overflow: hidden; }
.order-drawer { position: fixed; z-index: 1000; inset: 0 0 0 auto; outline: 0; display: flex; flex-direction: column; width: min(460px, 100vw); height: 100dvh; background: var(--paper); color: var(--ink); box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .5); }
[dir="rtl"] .order-drawer { inset: 0 auto 0 0; }
.order-drawer[hidden], .order-shade[hidden] { display: none; }
.order-drawer { animation: orderIn .3s var(--ease); }
[dir="rtl"] .order-drawer { animation-name: orderInRtl; }
.order-shade { position: fixed; inset: 0; z-index: 999; background: rgba(20, 12, 8, .6); }
@keyframes orderIn { from { transform: translateX(100%); } }
@keyframes orderInRtl { from { transform: translateX(-100%); } }
.order-drawer__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); flex: none; }
.order-drawer__bar img { width: 36px; height: 36px; }
.order-drawer__bar h2 { font: 600 15px/1.2 var(--f-body); margin: 0; }
.order-drawer__new { margin-inline-start: auto; font-size: 13px; color: var(--ink-2); }
.order-drawer__bar .dialog__close { position: static; }
.order-drawer__body { position: relative; flex: 1; min-height: 0; background: #fff; }
.order-drawer__load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.order-drawer__load[hidden] { display: none; }
.order-drawer iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
@media (prefers-reduced-motion: reduce) { .order-drawer { animation: none; } }

/* Home hero: keep the headline on two clean lines with the taller script */
html[lang="en"] .hero__line--sans { font-size: clamp(56px, 7vw, 104px); white-space: nowrap; }
html[lang="en"] .hero__line--accent { font-size: clamp(38px, 4vw, 64px); line-height: 1.3; margin-top: .05em; padding-inline-start: 0; white-space: nowrap; }
.bhero__copy { position: relative; z-index: 2; }
main { overflow-x: clip; } /* script swashes must not widen the page on phones */
.hero__copy { min-width: 0; }
@media (max-width: 760px) {
  html[lang="en"] .hero__line--accent { font-size: 30px; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__facts > div { padding-inline: 10px; }
  .hero__facts dd { font-size: 22px; }
}
.order-drawer__blocked { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px; text-align: center; }
.order-drawer__blocked[hidden], .order-drawer iframe[hidden] { display: none; }
/* Brewing Tools header: real box for the picture so the image paints on first load */
.thero__media { min-height: 300px; isolation: isolate; }
.thero__media picture { display: block; position: absolute; inset: 0; }
.order-drawer__bar .dialog__close { margin-inline-start: auto; }
.thero__media { background: var(--sand) url("../assets/photography/brew-chemex.jpg") 53% 42% / cover no-repeat; }
.order-drawer__blocked h3 { font: 600 20px/1.3 var(--f-body); margin: 0; }
.order-drawer__blocked p { max-width: 32ch; color: var(--ink-2); margin: 0; }
.order-drawer__lock svg { width: 40px; height: 40px; color: var(--red); }
