/* ============================================================
   CUP it — style1.css
   RTL/LTR · Responsive (mobile / tablet / desktop)
   ============================================================ */

:root {
  --brown:       #4E2E11;
  --brown-900:   #2f1b06;
  --brown-800:   #3a2109;
  --brown-700:   #5a3a1e;
  --teal:        #26A49F;
  --teal-700:    #1A7E7A;
  --teal-500:    #2EB6B0;
  --teal-300:    #8FD3D0;
  --cream:       #FFF8EF;
  --white:       #FFFFFF;

  --surface:     #FFFFFF;
  --on-surface:  #FFF8EF;
  --accent:      var(--teal);
  --accent-ink:  #ffffff;
  --muted:       rgba(255, 248, 239, 0.62);

  --radius-xl:   32px;
  --radius-lg:   22px;
  --radius-md:   14px;

  --shadow-xl: 0 50px 90px -30px rgba(0,0,0,.65),
               0 24px 48px -24px rgba(38,164,159,.25);

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --grid-max:    1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  font-family: "Bricolage Grotesque", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Hide scrollbars (keep scrolling) */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
html[dir="rtl"] body {
  font-family: "Cairo", "Bricolage Grotesque", system-ui, -apple-system, Segoe UI, sans-serif;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

.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;
}

/* ============ AMBIENT BACKGROUND ============ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #FFFFFF;
}
.doodle {
  position: absolute;
  display: block;
  aspect-ratio: 1 / 1;
  background-image: url("assets/menu/cappuccino.png");
  background-size: 400% 200%;
  background-repeat: no-repeat;
  opacity: .32;
  pointer-events: none;
}
.doodle--1  { background-position:   0%    0%; }
.doodle--2  { background-position: 33.33%  0%; }
.doodle--3  { background-position: 66.66%  0%; }
.doodle--4  { background-position: 100%    0%; }
.doodle--5  { background-position:   0%  100%; }
.doodle--6  { background-position: 33.33% 100%; }
.doodle--7  { background-position: 66.66% 100%; }
.doodle--8  { background-position: 100%  100%; }
.doodle--9  { background-position:   0%    0%; }
.doodle--10 { background-position: 66.66%  0%; }
.doodle--11 { background-position: 33.33% 100%; }
.doodle--12 { background-position: 100%  100%; }

.doodle--1  { top:  3%;  left:  2%;   width: 118px; transform: rotate(-14deg); }
.doodle--2  { top: 12%;  left: 72%;   width: 96px;  transform: rotate(18deg);  opacity: .2; }
.doodle--3  { top: 19%;  left: 31%;   width: 108px; transform: rotate(-6deg); }
.doodle--4  { top:  8%;  right: 9%;   width: 124px; transform: rotate(22deg); }
.doodle--5  { top: 33%;  left: 14%;   width: 102px; transform: rotate(9deg);   opacity: .24; }
.doodle--6  { top: 41%;  right: 18%;  width: 130px; transform: rotate(-20deg); }
.doodle--7  { top: 27%;  right: 36%;  width: 88px;  transform: rotate(14deg);  opacity: .22; }
.doodle--8  { top: 58%;  left:  3%;   width: 116px; transform: rotate(-4deg); }
.doodle--9  { top: 64%;  left: 52%;   width: 94px;  transform: rotate(26deg);  opacity: .2; }
.doodle--10 { top: 72%;  right: 7%;   width: 126px; transform: rotate(-11deg); }
.doodle--11 { top: 86%;  left: 22%;   width: 104px; transform: rotate(16deg); }
.doodle--12 { top: 90%;  right: 28%;  width: 110px; transform: rotate(-18deg); opacity: .22; }

@media (max-width: 760px) {
  .doodle { opacity: .22; }
  .doodle--1  { width: 90px; }
  .doodle--2  { width: 100px; }
  .doodle--3  { width: 85px; }
  .doodle--4  { width: 95px; }
  .doodle--5  { width: 100px; }
  .doodle--6  { width: 90px; }
  .doodle--7  { width: 80px; }
  .doodle--8  { width: 90px; }
  .doodle--9, .doodle--10, .doodle--11, .doodle--12 { display: none; }
}

/* ============ TOP BAR ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(47, 27, 6, 0.08);
  overflow: hidden;
}
.topbar__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 40px) 7px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  min-height: 72px;
}

.topbar__logo {
  height: clamp(52px, 5.5vw, 64px);
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(47, 27, 6, 0.18));
  justify-self: start;
}

.topbar__title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 18px);
  font-family: "Aref Ruqaa", "Cairo", serif;
  font-size: clamp(26px, 5.4vw, 44px);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  justify-self: center;
  text-align: center;
  grid-column: 2;
  white-space: nowrap;
  direction: rtl;
}
.topbar__title-come {
  color: var(--brown-900);
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(47, 27, 6, 0.06);
}
.topbar__title-wel {
  position: relative;
  display: inline-block;
  padding: 0 4px 8px;
  isolation: isolate;
}
.topbar__title-word {
  font-family: inherit;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #35c6c0 0%, #1A7E7A 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.9px #1A7E7A;
  color: transparent;
  display: inline-block;
  filter:
    drop-shadow(0 0 0.4px #1A7E7A)
    drop-shadow(0 2px 0 rgba(38, 164, 159, 0.18));
}
.topbar__title-steam {
  position: absolute;
  top: -10px;
  inset-inline-end: 18%;
  width: 20px;
  height: 12px;
  color: var(--accent);
  opacity: .6;
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: title-steam 2.8s var(--ease) infinite;
}
.topbar__title-steam svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}
.topbar__title-swash {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: var(--accent);
  opacity: .7;
  pointer-events: none;
}
.topbar__title-swash svg { width: 92%; height: 10px; margin: 0 auto; display: block; }

@keyframes title-steam {
  0%   { transform: translateY(3px) scale(.92); opacity: 0; }
  30%  { opacity: .65; }
  70%  { transform: translateY(-4px) scale(1.02); opacity: .35; }
  100% { transform: translateY(-8px) scale(1.1);  opacity: 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name { display: flex; align-items: baseline; }
.brand__cup {
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  letter-spacing: 1.5px;
}
.brand__it {
  font-family: "Caveat", cursive;
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
  margin-inline-start: 2px;
}
.brand__tag {
  font-size: 9.5px;
  letter-spacing: 3.2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

.topbar__meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(47, 27, 6, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar__meta span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(38, 164, 159, 0.22);
}

.topbar__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Menu button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(38, 164, 159, 0.65);
  grid-column: 3;
  justify-self: end;
}
.menu-btn:hover { transform: translateY(-2px); background: var(--teal-500); }
.menu-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.menu-btn__label {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.5px;
  text-transform: none;
  line-height: 1;
}
[dir="rtl"] .menu-btn__label {
  font-family: "Cairo", "Tajawal", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.1;
}

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.12);
  font-family: "JetBrains Mono", monospace;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ============ HERO ============ */
.hero {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 40px) clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}

/* ============ QUOTE CARD ============ */
.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 70% at 50% 0%,
      rgba(255, 248, 239, 0.09),
      transparent 60%),
    linear-gradient(180deg, #311b07, #241305);
  border: 1px solid rgba(255, 248, 239, 0.12);
  box-shadow: var(--shadow-xl);
  isolation: isolate;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .2s var(--ease);
}

.card__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}
.eyebrow__wave {
  display: inline-block;
  width: 28px; height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'><path d='M0 4 Q 3.5 -1 7 4 T 14 4 T 21 4 T 28 4' fill='none' stroke='%2326A49F' stroke-width='2.2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
}
.eyebrow__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.eyebrow__time { color: var(--muted); letter-spacing: 1.6px; }
.eyebrow__oracle {
  font-family: "Aref Ruqaa", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(38,164,159,.5);
}
.eyebrow__wave--flip { transform: scaleX(-1); }

.serial {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(38, 164, 159, 0.1);
  border: 1px dashed rgba(38, 164, 159, 0.38);
}
.serial__label { font-size: 13px; margin-inline-end: 4px; opacity: .75; }
.serial__num   { font-size: 22px; letter-spacing: 1px; }
.serial__slash { font-size: 16px; opacity: .55; margin: 0 3px; }
.serial__total { font-size: 16px; opacity: .75; }

.divider {
  position: relative;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(255,248,239,.26) 50%, transparent 0);
  background-size: 10px 1px;
  background-repeat: repeat-x;
  margin: 14px 0;
  z-index: 1;
}
.divider--dots {
  background-image: radial-gradient(circle 1.5px, rgba(255,248,239,.32) 99%, transparent 100%);
  background-size: 8px 3px;
  height: 3px;
}

.quote {
  position: relative;
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: 0;
  padding: 8px 36px 8px;
  min-height: 2em;
  text-align: center;
  transition: opacity .3s var(--ease);
  z-index: 2;
}
.quote.is-loading { opacity: .22; }
.quote::before,
.quote::after {
  position: absolute;
  font-family: "Caveat", cursive;
  font-size: clamp(44px, 5vw, 64px);
  color: var(--accent);
  opacity: .28;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.quote::before {
  content: "\201C";
  inset-inline-start: 4px;
  top: 0;
}
.quote::after {
  content: "\201D";
  inset-inline-end: 4px;
  bottom: 0;
}
.quote__text .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  vertical-align: -0.12em;
  margin-inline-start: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.attribution {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  position: relative;
  z-index: 2;
}
.attribution__line {
  flex: 0 0 44px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
[dir="rtl"] .attribution__line {
  background: linear-gradient(270deg, var(--accent), transparent);
}
.attribution__name {
  font-family: "Caveat", cursive;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.attribution__meta {
  margin-inline-start: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btn {
  position: relative;
  overflow: hidden;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(38, 164, 159, 0.65);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--teal-500); }
.btn--ghost {
  background: rgba(255, 248, 239, 0.08);
  color: var(--on-surface);
  border: 1px solid rgba(255, 248, 239, 0.18);
}
.btn--ghost:hover {
  background: rgba(255, 248, 239, 0.14);
  border-color: rgba(255, 248, 239, 0.34);
}
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.btn.is-loading .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.kbd {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 248, 239, 0.1);
  border: 1px solid rgba(255, 248, 239, 0.18);
  color: var(--muted);
}
.hint {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.share-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 2, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.share-modal__panel {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, rgba(40, 24, 10, 0.98), rgba(24, 14, 5, 0.98));
  border: 1px solid rgba(255, 248, 239, 0.12);
  border-radius: 22px;
  padding: 30px 26px 26px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
  transform: translateY(14px) scale(.97);
  transition: transform .3s var(--ease);
}
.share-modal.is-open .share-modal__panel {
  transform: translateY(0) scale(1);
}
.share-modal__close {
  position: absolute;
  inset-inline-end: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.14);
  display: grid;
  place-items: center;
  color: var(--on-surface);
  transition: background .2s, transform .2s;
}
.share-modal__close:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(90deg);
}
.share-modal__title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0 0 6px;
  text-align: center;
}
.share-modal__sub {
  margin: 0 0 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.share-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  border-radius: 16px;
  background: rgba(255, 248, 239, 0.04);
  border: 1px solid rgba(255, 248, 239, 0.1);
  color: var(--on-surface);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .6px;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.share-card:hover,
.share-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255, 248, 239, 0.07);
  outline: none;
}
.share-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}
.share-card__icon svg { width: 26px; height: 26px; }
.share-card--whatsapp  .share-card__icon { background: #25D366; }
.share-card--facebook  .share-card__icon { background: #1877F2; }
.share-card--instagram .share-card__icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
@media (max-width: 420px) {
  .share-modal__grid { grid-template-columns: 1fr; gap: 8px; }
  .share-card { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px; }
  .share-card__icon { width: 42px; height: 42px; }
}

/* ============ HERO ART ============ */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  perspective: 1200px;
}
.cup-stage {
  position: relative;
  width: min(440px, 92%);
  aspect-ratio: 480 / 540;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  transition: transform .3s var(--ease);
}
.cup-stage svg { width: 100%; height: 100%; }
.orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(38, 164, 159, 0.4);
  opacity: .4;
}
.orbit::after { inset: 8%; border-color: rgba(38, 164, 159, 0.25); }
.slogan {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--accent);
  white-space: nowrap;
}
[dir="rtl"] .slogan { transform: translateX(50%); }
.steam { transform-origin: 50% 100%; animation: steam 3s ease-in-out infinite; }
.steam.s2 { animation-delay: .2s; }
.steam.s3 { animation-delay: .4s; }
@keyframes steam {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: .85; }
  50%      { transform: translateY(-6px) scaleY(1.06); opacity: 1; }
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(47, 27, 6, 0.08);
  border-bottom: 1px solid rgba(47, 27, 6, 0.08);
  background: #FFFFFF;
  padding: 18px 0;
  color: #2f1b06;
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  will-change: transform;
}
[dir="rtl"] .marquee__track { animation-name: scroll-rtl; }
.marquee__item {
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee__item .pip {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============ FOLLOW STRIP ============ */
.follow {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px) clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.follow__deco {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, 78%);
}
.follow__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 27, 6, 0.28), transparent);
}
.follow__bean {
  width: 12px;
  height: 16px;
  border-radius: 50%;
  background: #4E2E11;
  position: relative;
  transform: rotate(-18deg);
  box-shadow: 0 2px 6px rgba(47, 27, 6, 0.25);
}
.follow__bean::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border-left: 1px solid rgba(255, 253, 246, 0.55);
  border-radius: 50%;
  transform: rotate(6deg);
}
.follow__label {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #2f1b06;
}
.follow__lead {
  font-family: "Caveat", cursive;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--brown-900);
}
.follow__sub {
  font-family: "Cairo", sans-serif;
  font-size: 11.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(47, 27, 6, 0.55);
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.socials--center {
  justify-content: center;
  margin-top: 4px;
}
.social {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(47, 27, 6, 0.14);
  color: #2f1b06;
  box-shadow: 0 8px 20px rgba(47, 27, 6, 0.08);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.social svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform .3s var(--ease);
}
.social::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, var(--accent), transparent 72%);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  z-index: 0;
}
.social:hover {
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 14px 28px rgba(38, 164, 159, 0.28);
}
.social:hover::before { transform: translateY(0); }
.social:hover svg { transform: scale(1.08); }
.socials--center .social:nth-child(even):hover { transform: translateY(-4px) rotate(5deg); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  inset-inline-start: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  background: var(--brown-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease);
  z-index: 100;
  border: 1px solid rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
[dir="rtl"] .toast { transform: translate(50%, 18px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .toast.show { transform: translate(50%, 0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ============ MENU MODAL ============ */
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 8, 2, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.menu-modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.menu-modal.is-open { opacity: 1; pointer-events: auto; }

.menu-modal__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px clamp(16px, 3vw, 40px);
  min-height: 72px;
  background: rgba(15, 8, 2, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 248, 239, 0.1);
  z-index: 2;
}
.menu-modal__logo {
  position: absolute;
  inset-inline-start: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: auto;
  max-width: min(160px, 38vw);
  object-fit: contain;
  pointer-events: none;
}
.menu-modal__title {
  font-family: "Cairo", "Archivo Black", sans-serif;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  direction: rtl;
  unicode-bidi: embed;
}
.menu-modal__title em {
  font-family: "Aref Ruqaa", "Caveat", cursive;
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
  margin-inline-end: 8px;
}
.menu-close {
  position: absolute;
  inset-inline-end: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.14);
  display: grid; place-items: center;
  color: var(--on-surface);
  transition: background .2s, transform .2s;
  z-index: 3;
}
.menu-close:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-50%) rotate(90deg); }

.menu-grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}
.menu-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 248, 239, 0.05);
  border: 1px solid rgba(255, 248, 239, 0.1);
  cursor: zoom-in;
  transition: transform .3s var(--ease), border-color .3s;
}
.menu-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.menu-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.menu-item:hover img { transform: scale(1.04); }
.menu-item__label {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  background: rgba(15, 8, 2, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Lightbox (single image viewer) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px rgba(0,0,0,.7);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s;
}
.lightbox__nav:hover { background: var(--accent); }
.lightbox__nav--prev { inset-inline-start: clamp(10px, 2vw, 30px); }
.lightbox__nav--next { inset-inline-end: clamp(10px, 2vw, 30px); }
[dir="rtl"] .lightbox__nav--prev svg,
[dir="rtl"] .lightbox__nav--next svg { transform: scaleX(-1); }
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  inset-inline-end: clamp(12px, 2vw, 24px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s, transform .2s;
}
.lightbox__close:hover { background: var(--accent); transform: rotate(90deg); }
.lightbox__counter {
  position: absolute;
  bottom: clamp(16px, 3vw, 30px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
}
[dir="rtl"] .lightbox__counter { transform: translateX(50%); }

/* ============ RESPONSIVE ============ */

/* ── Large tablet / small desktop ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: clamp(24px, 4vw, 48px);
  }
  .hero__art { order: -1; min-height: 260px; }
  .cup-stage { width: min(300px, 72%); }
  .card {
    max-width: 580px;
    width: 100%;
    margin-inline: auto;
  }
  .socials { justify-content: center; }
}

/* ── Small tablet ── */
@media (max-width: 760px) {
  .topbar__meta { display: none; }
  .topbar__inner { gap: 10px; padding-inline: 16px; }
  .topbar__title { font-size: clamp(26px, 7vw, 38px); }
  .topbar__logo { height: clamp(44px, 5.5vw, 56px); max-width: 32vw; }
}

/* ── Mobile ── */
@media (max-width: 560px) {
  /* Topbar */
  .topbar__inner { min-height: 54px; padding-block: 10px; padding-inline: 14px; gap: 8px; }
  .topbar__logo { height: 44px; max-width: 30vw; }
  .topbar__title { font-size: clamp(22px, 7.5vw, 32px); gap: 6px; }
  .topbar__title-steam { display: none; }
  .menu-btn { padding: 8px 12px; font-size: 11px; letter-spacing: .8px; gap: 6px; }
  .menu-btn svg { width: 18px; height: 18px; }

  /* Hero */
  .hero { padding: 16px 14px 20px; gap: 16px; }
  .hero__art { min-height: 220px; }
  .cup-stage { width: min(260px, 78%); }

  /* Card */
  .card { padding: 18px 16px; border-radius: var(--radius-lg); max-width: 100%; }
  .card__head { gap: 6px; }
  .eyebrow__oracle { font-size: 14px; }

  /* Quote */
  .quote { font-size: 18px; padding: 6px 28px 6px; }
  .quote::before, .quote::after { font-size: 38px; }

  /* Attribution */
  .attribution { margin-top: 10px; gap: 10px; }
  .attribution__name { font-size: 20px; }

  /* Actions */
  .actions { margin-top: 12px; gap: 8px; }
  .actions .btn { padding: 11px 18px; font-size: 12px; }

  /* Marquee */
  .marquee { padding: 12px 0; }
  .marquee__item { font-size: 16px; gap: 16px; }
  .marquee__track { gap: 28px; }

  /* Follow */
  .follow { padding: 16px 14px 36px; gap: 10px; }
  .follow__label { gap: 4px; }
  .follow__lead { font-size: clamp(18px, 5vw, 24px); }
  .social { width: 44px; height: 44px; }
  .social svg { width: 18px; height: 18px; }

  /* Menu modal */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
  .menu-modal__title { font-size: 15px; letter-spacing: 0; }
  .menu-modal__head { padding: 14px 12px; min-height: 60px; }
  .menu-modal__logo { height: 36px; }
  .menu-close { width: 38px; height: 38px; }

  /* Lightbox */
  .lightbox__nav { width: 44px; height: 44px; }
}

/* ── Very small phones ── */
@media (max-width: 380px) {
  .topbar__title { font-size: 20px; }
  .topbar__logo { max-width: 26vw; height: 38px; }
  .menu-btn__label { display: none; }
  .menu-btn { padding: 8px 10px; }
  .cup-stage { width: min(220px, 82%); }
  .quote { font-size: 16px; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
