/* ============================================================================
   DAKO'TAH v4 — Master Design System
   3 Themes: NOIR · BLAZE · BONE  —  Nike × Apple × Street Food
   ============================================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   THEME: NOIR  —  Black luxury editorial
   Fonts: Bebas Neue (display) + Montserrat (body)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root, [data-theme="noir"] {
  --bg:        #090909;
  --bg-2:      #111;
  --bg-3:      #1c1c1c;
  --surf:      #161616;
  --surf-2:    #222;
  --surf-3:    #2e2e2e;
  --fg:        #f8f7f4;
  --fg-2:      #a8a49e;
  --fg-3:      #5a5852;
  --hi:        #f5c518;   /* primary accent — amber */
  --hi-2:      #e8392a;   /* hot red */
  --hi-3:      #22c55e;   /* green */
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.14);
  --glass:     rgba(9,9,9,.8);
  --glass-2:   rgba(255,255,255,.04);
  --glow:      0 0 80px rgba(245,197,24,.18);
  --shadow:    0 40px 100px rgba(0,0,0,.8);

  --f-disp:    'Bebas Neue', 'Impact', sans-serif;
  --f-body:    'Montserrat', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-ar:      'Noto Kufi Arabic', 'Cairo', system-ui, sans-serif;

  --disp-transform: uppercase;
  --disp-style:     normal;
  --disp-weight:    400;
  --disp-track:     0.05em;

  color-scheme: dark;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   THEME: BLAZE  —  American street heat
   Fonts: Anton (display) + Barlow Condensed (body)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[data-theme="blaze"] {
  --bg:        #0d0400;
  --bg-2:      #180800;
  --bg-3:      #241204;
  --surf:      #1e0c04;
  --surf-2:    #2c1408;
  --surf-3:    #3a1c0c;
  --fg:        #fff7ed;
  --fg-2:      #c4a882;
  --fg-3:      #7a6045;
  --hi:        #ff4b1c;
  --hi-2:      #ffb800;
  --hi-3:      #00e5a0;
  --line:      rgba(255,160,60,.08);
  --line-2:    rgba(255,160,60,.18);
  --glass:     rgba(13,4,0,.82);
  --glass-2:   rgba(255,80,30,.06);
  --glow:      0 0 80px rgba(255,75,28,.22);
  --shadow:    0 40px 100px rgba(180,30,0,.45);

  --f-disp:    'Anton', 'Impact', sans-serif;
  --f-body:    'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-ar:      'Noto Kufi Arabic', 'Cairo', system-ui, sans-serif;

  --disp-transform: uppercase;
  --disp-style:     normal;
  --disp-weight:    400;
  --disp-track:     0.02em;

  color-scheme: dark;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   THEME: BONE  —  Editorial luxury light
   Fonts: Cormorant Garamond (display) + DM Sans (body)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
[data-theme="bone"] {
  --bg:        #f3ede3;
  --bg-2:      #ece5da;
  --bg-3:      #e4dcd1;
  --surf:      #ffffff;
  --surf-2:    #f8f3ec;
  --surf-3:    #ede8e0;
  --fg:        #0e0c0a;
  --fg-2:      #504840;
  --fg-3:      #8a7d70;
  --hi:        #0e0c0a;
  --hi-2:      #c24b1a;
  --hi-3:      #2d6a4f;
  --line:      rgba(14,12,10,.10);
  --line-2:    rgba(14,12,10,.20);
  --glass:     rgba(243,237,227,.88);
  --glass-2:   rgba(0,0,0,.03);
  --glow:      0 0 60px rgba(194,75,26,.12);
  --shadow:    0 40px 100px rgba(0,0,0,.12);

  --f-disp:    'Cormorant Garamond', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;
  --f-ar:      'Noto Kufi Arabic', 'Cairo', system-ui, sans-serif;

  --disp-transform: none;
  --disp-style:     italic;
  --disp-weight:    600;
  --disp-track:     -0.02em;

  color-scheme: light;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Global tokens
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-circ:    cubic-bezier(0, 0, 0.2, 1);

  --w:            1400px;
  --r-sm:         8px;
  --r-md:         16px;
  --r-lg:         24px;
  --r-xl:         36px;
  --hdr:          72px;
}
@media (min-width: 768px) { :root { --hdr: 84px; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Reset
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background .5s var(--ease-out), color .5s var(--ease-out);
}
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--hi); color: var(--bg); }
html[lang="ar"] body { font-family: var(--f-ar); }
html[dir="rtl"] { direction: rtl; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Background atmosphere
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.atmo {
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  overflow: hidden;
}
.atmo-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  opacity: .55; animation: orbFloat 20s ease-in-out infinite alternate;
}
.atmo-orb:nth-child(1) {
  width: 70vw; height: 70vw; top: -20%; left: -20%;
  background: color-mix(in srgb, var(--hi) 18%, transparent);
  animation-delay: 0s;
}
.atmo-orb:nth-child(2) {
  width: 50vw; height: 50vw; bottom: -15%; right: -15%;
  background: color-mix(in srgb, var(--hi-2) 14%, transparent);
  animation-delay: -7s;
}
.atmo-orb:nth-child(3) {
  width: 30vw; height: 30vw; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: color-mix(in srgb, var(--hi) 8%, transparent);
  animation-delay: -14s;
}
@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(3%, 4%) scale(1.05); }
}
/* Noise grain overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="bone"] .grain { opacity: .25; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Layout
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wrap {
  width: 100%; max-width: var(--w);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px)  { .wrap { padding-inline: 48px; } }
@media (min-width: 1200px) { .wrap { padding-inline: 80px; } }

.section { padding-block: clamp(80px, 14vw, 200px); position: relative; }
.section--dense { padding-block: clamp(48px, 8vw, 120px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Typography
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.D {
  font-family: var(--f-disp);
  font-weight: var(--disp-weight);
  font-style: var(--disp-style);
  text-transform: var(--disp-transform);
  letter-spacing: var(--disp-track);
  line-height: .92;
  transition: font-family .4s, font-weight .4s;
}
.overline {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--hi);
  display: flex;
  align-items: center;
  gap: 10px;
}
.overline::before {
  content: '';
  display: inline-block;
  width: 30px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Buttons
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: currentColor; opacity: 0;
  transition: opacity .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { opacity: .06; }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--hi {
  background: var(--hi); color: var(--bg);
  box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--hi) 50%, transparent);
}
.btn--hi:hover { box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--hi) 60%, transparent); }

.btn--hot {
  background: var(--hi-2); color: #fff;
  box-shadow: 0 8px 28px -8px color-mix(in srgb, var(--hi-2) 50%, transparent);
}

.btn--ghost {
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: var(--surf-2); border-color: var(--fg); }

.btn--lg { padding: 20px 36px; font-size: 14px; }
.btn--xl { padding: 24px 48px; font-size: 15px; letter-spacing: .08em; }

/* Arrow animation */
.btn .arr { display: inline-block; transition: transform .35s var(--ease-spring); }
.btn:hover .arr { transform: translateX(5px); }
html[dir="rtl"] .btn:hover .arr { transform: translateX(-5px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Header
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--line);
}

.hdr-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  width: 100%;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.logo svg, .logo img {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--hi) 35%, transparent));
}
.logo-wordmark {
  font-family: var(--f-disp);
  font-size: 26px;
  font-weight: var(--disp-weight);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  line-height: 1;
}
[data-theme="bone"] .logo-wordmark { font-size: 22px; font-style: italic; }

/* Nav */
.nav-links {
  display: none;
  gap: 40px; align-items: center;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 13px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--fg-2);
  position: relative; padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--hi);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
html[dir="rtl"] .nav-links a::after { transform-origin: left; }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
html[dir="rtl"] .nav-links a:hover::after { transform-origin: right; }

/* Header tools */
.hdr-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-2); transition: background .25s, color .25s;
}
.icon-btn:hover { background: var(--glass-2); color: var(--fg); }
.icon-btn svg { width: 19px; height: 19px; }

/* Theme switcher dots */
.theme-switcher {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
}
.theme-dot {
  width: 14px; height: 14px; border-radius: 50%;
  cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
  border: 1.5px solid transparent;
}
.theme-dot[data-t="noir"]  { background: #090909; border-color: #f5c518; }
.theme-dot[data-t="blaze"] { background: #ff4b1c; border-color: #ffb800; }
.theme-dot[data-t="bone"]  { background: #f3ede3; border-color: #c24b1a; }
.theme-dot:hover, .theme-dot.active { transform: scale(1.25); box-shadow: 0 0 10px var(--hi); }

/* Lang pill */
.lang-pill {
  display: flex; gap: 6px; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11px;
  font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer;
  transition: border-color .25s, background .25s;
}
.lang-pill:hover { border-color: var(--fg); background: var(--glass-2); }
.lang-pill .act { color: var(--hi); }
.lang-pill .sep { opacity: .3; }

/* Mobile toggle */
.mob-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; justify-content: center; align-items: center;
  border-radius: 50%; transition: background .25s;
}
.mob-toggle:hover { background: var(--glass-2); }
.mob-toggle .b {
  display: block; width: 20px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s, width .3s;
}
.mob-toggle.open .b:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mob-toggle.open .b:nth-child(2) { opacity: 0; width: 0; }
.mob-toggle.open .b:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .mob-toggle { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: calc(var(--hdr) + 32px) 32px 48px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .6s var(--ease-out);
  overflow-y: auto;
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }

.drawer-link {
  font-family: var(--f-disp);
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .3s, padding-left .3s;
}
.drawer-link:hover { color: var(--hi); padding-left: 16px; }
html[dir="rtl"] .drawer-link:hover { padding-left: 0; padding-right: 16px; }
.drawer-link svg { width: 24px; height: 24px; opacity: .4; }

.drawer-foot {
  margin-top: auto; padding-top: 40px;
  display: flex; flex-direction: column; gap: 12px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Hero
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: grid;
  overflow: hidden;
}

/* Rotating photo stack */
.hero-photos {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft);
}
.hero-photo.active { opacity: 1; }
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(var(--bg-rgb, 9,9,9), .92) 0%,
    rgba(var(--bg-rgb, 9,9,9), .6) 45%,
    rgba(var(--bg-rgb, 9,9,9), .15) 100%
  );
}
[data-theme="bone"] .hero-photo::after {
  background: linear-gradient(
    to right,
    rgba(243,237,227, .95) 0%,
    rgba(243,237,227, .7) 45%,
    rgba(243,237,227, .2) 100%
  );
}

/* Photo progress dots */
.hero-dots {
  position: absolute; bottom: 40px; right: 48px;
  z-index: 5;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-3); cursor: pointer;
  transition: background .3s, transform .3s var(--ease-spring), width .4s var(--ease-out);
}
.hero-dot.active { background: var(--hi); width: 24px; border-radius: 3px; }

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hdr) + 40px) 0 80px;
  min-height: 100vh; min-height: 100dvh;
}

.hero-eyebrow { margin-bottom: 20px; }

.hero-title {
  font-size: clamp(64px, 16vw, 240px);
  line-height: .85;
  margin-bottom: 32px;
}
.hero-title .accent { color: var(--hi); }
.hero-title .hot   { color: var(--hi-2); }

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--fg-2); max-width: 44ch;
  line-height: 1.65; margin-bottom: 40px;
}
html[data-theme="bone"] .hero-sub { max-width: 52ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero stats strip */
.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex; overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero-stat {
  flex: 1; padding: 20px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .n {
  font-family: var(--f-disp);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--hi);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  line-height: 1;
}
.hero-stat .l {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Marquee ticker
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.ticker {
  background: var(--hi);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  user-select: none;
}
.ticker-track {
  display: flex; gap: 0;
  animation: tickerRun 24s linear infinite;
  white-space: nowrap;
  width: max-content;
}
[data-theme="blaze"]  .ticker-track { animation-direction: reverse; }
html[dir="rtl"]       .ticker-track { animation-direction: reverse; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--f-disp);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: var(--disp-weight);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  color: var(--bg);
  padding-right: 40px;
}
.ticker-sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bg); opacity: .4;
  display: inline-block; flex-shrink: 0;
}
@keyframes tickerRun { to { transform: translateX(-50%); } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Section header
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.s-head {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: clamp(48px, 8vw, 96px);
}
@media (min-width: 1024px) {
  .s-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 60px; }
}
.s-title {
  font-size: clamp(44px, 8vw, 120px);
  color: var(--fg);
}
.s-title .hi { color: var(--hi); }
.s-lead { font-size: 16px; color: var(--fg-2); max-width: 40ch; line-height: 1.7; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Reels — Bidirectional infinite scroll
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reels-wrap {
  display: flex; flex-direction: column; gap: 20px;
  overflow: hidden;
  margin-inline: calc(-1 * clamp(20px, 5vw, 80px));
}

.reel-row {
  display: flex; gap: 20px;
  width: max-content;
}
.reel-row--ltr { animation: rowLTR 32s linear infinite; }
.reel-row--rtl { animation: rowRTL 28s linear infinite; }
.reel-row:hover { animation-play-state: paused; }

@keyframes rowLTR { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes rowRTL { from { transform: translateX(-50%); } to { transform: translateX(0);    } }

/* Reel card */
.reel-card {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 9/16;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  isolation: isolate;
  background: var(--surf);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.reel-card:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), var(--glow);
  z-index: 2;
}
.reel-card video,
.reel-card iframe,
.reel-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border: 0;
}
.reel-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85));
  pointer-events: none;
}
.reel-play {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--glass); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  transition: background .3s, transform .3s var(--ease-spring);
}
.reel-card:hover .reel-play { background: var(--hi); transform: scale(1.1); }
.reel-play svg { width: 14px; height: 14px; color: var(--fg); }
.reel-card:hover .reel-play svg { color: var(--bg); }
.reel-meta {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3;
  font-size: 12px; line-height: 1.4;
}
.reel-meta b { display: block; font-weight: 600; }
.reel-meta span { color: var(--fg-2); font-size: 10px; }

/* Sound indicator */
.sound-badge {
  position: fixed; top: calc(var(--hdr) + 20px); left: 50%; z-index: 200;
  transform: translateX(-50%) translateY(-120px);
  background: var(--surf-2); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  transition: transform .5s var(--ease-spring);
  pointer-events: none;
}
.sound-badge.show { transform: translateX(-50%) translateY(0); }
.sound-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hi); animation: pulse 1.5s ease-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Menu (carta)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.menu-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vw, 80px);
}
.tab {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--f-mono); font-size: 11px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-2);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-spring);
}
.tab:hover { color: var(--fg); border-color: var(--fg); }
.tab.active {
  background: var(--hi); color: var(--bg);
  border-color: var(--hi);
  transform: scale(1.05);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.menu-card {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; isolation: isolate;
  background: var(--surf);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  cursor: default;
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.card-img {
  position: relative; aspect-ratio: 4/3;
  background: var(--surf-2); overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.menu-card:hover .card-img img { transform: scale(1.08); }
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 50%);
  pointer-events: none;
}

.card-tags {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.ctag {
  font-family: var(--f-mono); font-size: 9px;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(10px);
}
.ctag--new  { background: var(--hi-3); color: var(--bg); }
.ctag--sig  { background: var(--hi);   color: var(--bg); }
.ctag--hot  { background: var(--hi-2); color: #fff; }

.card-body {
  padding: 22px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.card-name {
  font-family: var(--f-disp);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: var(--disp-weight);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  line-height: 1;
}
.card-name-ar {
  font-family: var(--f-ar);
  font-size: 14px; color: var(--fg-2);
  direction: rtl; display: block;
}
html[lang="ar"] .card-name-ar { display: none; }
.card-desc { font-size: 13px; color: var(--fg-2); line-height: 1.55; flex: 1; }

.card-foot {
  margin-top: 12px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-wrap: wrap;
}
.card-price {
  font-family: var(--f-disp);
  font-size: 28px; color: var(--hi);
  letter-spacing: var(--disp-track);
  text-transform: var(--disp-transform);
  line-height: 1;
}
.card-sizes { display: flex; gap: 6px; }
.sz {
  font-family: var(--f-mono); font-size: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--surf-2); border: 1px solid var(--line);
  color: var(--fg-2);
}
.sz b { color: var(--fg); }

.glovo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #ffd500; color: #00a082;
  font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  transition: transform .3s var(--ease-spring);
}
.glovo-btn:hover { transform: scale(1.06); }
.glovo-btn svg { width: 12px; height: 12px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Story / Manifesto
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.story {
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1fr; gap: 100px; } }

.story-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.story-photos img {
  border-radius: var(--r-md);
  aspect-ratio: 3/4; width: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.story-photos img:first-child { margin-top: 10%; }
.story-photos img:hover { transform: scale(1.03) rotate(-0.5deg); }

.story-text { max-width: 520px; }
.story-title {
  font-size: clamp(40px, 6vw, 80px);
  margin: 20px 0 28px;
}
.story-p { font-size: 16px; color: var(--fg-2); line-height: 1.8; margin-bottom: 18px; }
.story-p b { color: var(--fg); font-weight: 600; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Blog
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  display: flex; flex-direction: column; gap: 18px;
  cursor: pointer; transition: transform .4s var(--ease-out);
}
.blog-card:hover { transform: translateY(-6px); }
.blog-thumb {
  aspect-ratio: 16/9; border-radius: var(--r-md);
  overflow: hidden; background: var(--surf); position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono); font-size: 9px;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--hi); color: var(--bg);
}
.blog-meta { display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); letter-spacing: .08em; text-transform: uppercase; }
.blog-sep  { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.blog-title { font-family: var(--f-disp); font-size: clamp(20px, 3vw, 26px); letter-spacing: var(--disp-track); text-transform: var(--disp-transform); line-height: 1.05; }
[data-theme="bone"] .blog-title { font-size: clamp(18px, 2.5vw, 22px); font-style: italic; }
.blog-excerpt { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.blog-more { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--hi); }
.blog-more-arr { transition: transform .35s var(--ease-spring); }
.blog-card:hover .blog-more-arr { transform: translateX(6px); }

/* Blog modal */
.modal-bg {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; justify-content: center; align-items: flex-start;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal-box {
  width: 100%; max-width: 780px;
  margin: 40px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transform: translateY(40px) scale(.97);
  transition: transform .6s var(--ease-out);
}
.modal-bg.open .modal-box { transform: none; }
.modal-cover { aspect-ratio: 16/9; background: var(--surf); overflow: hidden; }
.modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.modal-inner { padding: clamp(28px, 5vw, 60px); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.modal-close:hover { background: var(--surf-2); }
.modal-close svg { width: 18px; height: 18px; }
.modal-post-title { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 24px; }
.modal-body-text { font-size: 17px; line-height: 1.8; color: var(--fg-2); white-space: pre-wrap; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Visit + Map
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.visit-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; align-items: stretch;
}
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.visit-card {
  background: var(--surf); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 28px;
}
.visit-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 4px; }
.visit-row { display: flex; gap: 16px; align-items: flex-start; }
.visit-row .ico { color: var(--hi); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.visit-row .k { font-family: var(--f-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.visit-row .v { font-size: 15px; font-weight: 500; line-height: 1.5; }
.visit-map {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); min-height: 400px;
  background: var(--surf);
}
.visit-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; filter: invert(1) hue-rotate(180deg) saturate(.6); }
[data-theme="bone"] .visit-map iframe { filter: none; opacity: .9; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Reservation form
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rsv-form {
  max-width: 760px; margin-inline: auto;
  background: var(--surf); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 60px);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 14px 18px;
  font-size: 15px; line-height: 1.5;
  width: 100%; font-family: var(--f-body);
  transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--hi);
  background: var(--surf-2);
}
.field-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .field-2 { grid-template-columns: 1fr 1fr; } }
.field-2 .field { margin-bottom: 0; }

.party-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pp {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); font-weight: 700; font-size: 15px;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-spring);
}
.pp:hover { transform: scale(1.1); border-color: var(--fg-2); }
.pp.on { background: var(--hi); color: var(--bg); border-color: var(--hi); }

.form-msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--hi-3); }
.form-msg.err { color: var(--hi-2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Glovo FAB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.glovo-fab {
  position: fixed; bottom: 24px;
  inset-inline-end: 24px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  background: #ffd500; color: #00a082;
  border-radius: 999px; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-spring);
}
.glovo-fab.vis { opacity: 1; transform: none; }
.glovo-fab:hover { transform: translateY(-3px) scale(1.04); }
.glovo-fab svg { width: 20px; height: 20px; }
.glovo-fab .txt { display: none; }
@media (min-width: 480px) { .glovo-fab .txt { display: inline; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Footer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(60px, 10vw, 120px) 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; margin-bottom: 60px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand-name {
  font-family: var(--f-disp); font-size: 42px;
  letter-spacing: var(--disp-track); text-transform: var(--disp-transform);
  font-weight: var(--disp-weight); line-height: 1;
  color: var(--hi);
}
.footer-tag { font-size: 14px; color: var(--fg-2); margin-top: 12px; max-width: 34ch; line-height: 1.65; }
.footer-col h5 { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-2); transition: color .25s; }
.footer-col a:hover { color: var(--hi); }
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Reveal animations
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rv {
  opacity: 0; transform: translateY(50px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.rv.in { opacity: 1; transform: none; }
.rv-l  { transition-duration: .8s, .9s; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }

.rv-scale {
  opacity: 0; transform: scale(.92);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-spring);
}
.rv-scale.in { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed; top: calc(var(--hdr) + 12px);
  inset-inline-end: 24px; z-index: 400;
  background: var(--surf-2); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 14px 20px;
  font-size: 14px; max-width: 340px;
  transform: translateX(120%);
  transition: transform .5s var(--ease-spring);
  box-shadow: var(--shadow);
}
.toast.show { transform: none; }
.toast.ok  { border-left: 3px solid var(--hi-3); }
.toast.err { border-left: 3px solid var(--hi-2); }
html[dir="rtl"] .toast { transform: translateX(-120%); }
html[dir="rtl"] .toast.show { transform: none; }

/* Focus */
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; border-radius: 4px; }

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