/* ==========================================================================
   Brand face - Bentham, self-hosted (SIL Open Font License, see assets/fonts)
   ========================================================================== */
@font-face {
  font-family: "Bentham";
  src: url("../fonts/Bentham.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   midyeciahmet Menu - frontend styles
   Palette and metrics mirrored from the live midyeciahmet.com/menu page.
   ========================================================================== */

:root {
  --bg: #0a0a08;
  --bg-soft: #111110;
  --surface: #141210;
  --fg: #ededed;
  --fg-dim: #a1a1a1;
  --ember: #ff551c;
  --muted: #726b61;
  --line: rgba(237, 237, 237, 0.10);

  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bentham", "Hoefler Text", Georgia, serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --shell-max: 1152px;
  /* max-w-6xl */
  --nav-max: 1280px;
  /* max-w-7xl */
  --pad-x: 24px;
  --header-h: 72px;
}

@media (min-width: 640px) {
  :root {
    --pad-x: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --pad-x: 64px;
  }
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The `hidden` attribute must always win. Without this, any author rule that
   sets `display` on the same element outranks the UA sheet and the element
   stays visible while JS believes it is closed. */
[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

p {
  margin: 0;
}

/* Arabic / RTL */
html[dir="rtl"] body {
  font-family: var(--font-ar);
}

html[dir="rtl"] .display,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .item-name {
  font-family: var(--font-ar);
  font-weight: 500;
  letter-spacing: 0;
}

.shell {
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(10, 10, 8, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-nav {
  max-width: var(--nav-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px var(--pad-x);
}

/* Logo and the site links share one left-hand group, as on the original. */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 28px;
  width: auto;
}

@media (min-width: 640px) {
  .brand img {
    height: 32px;
  }
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(237, 237, 237, .5);
  white-space: nowrap;
  transition: color .25s ease;
}

.nav-links a:hover {
  color: var(--ember);
}

html[dir="rtl"] .nav-links a {
  letter-spacing: .04em;
  font-size: 12px;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

.nav-mobile {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none;
  }
}

.nav-cart {
  display: flex;
  align-items: center;
  color: rgba(237, 237, 237, .5);
  transition: color .25s ease;
}

.nav-cart:hover {
  color: var(--ember);
}

.btn-visit {
  display: inline-block;
  border: 1px solid rgba(255, 85, 28, .45);
  color: var(--ember);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}

.btn-visit:hover {
  background: var(--ember);
  color: var(--bg);
}

html[dir="rtl"] .btn-visit {
  letter-spacing: .04em;
  font-size: 12px;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 2px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 20px;
  background: var(--fg);
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px var(--pad-x) 22px;
  background: rgba(10, 10, 8, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

/* `display:flex` above would otherwise beat the browser's [hidden] rule
   (same specificity, author sheet wins), leaving the panel permanently open. */
.mobile-menu[hidden] {
  display: none;
}

/* Desktop has the full nav, so the panel must never appear there. */
@media (min-width: 1024px) {

  .mobile-menu,
  .mobile-menu[hidden] {
    display: none;
  }
}

.mobile-menu a {
  padding: 11px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(237, 237, 237, .8);
  border-bottom: 1px solid rgba(237, 237, 237, .05);
}

.mobile-menu a:last-child {
  border-bottom: 0;
  color: var(--ember);
}

html[dir="rtl"] .mobile-menu a {
  letter-spacing: .04em;
  font-size: 13px;
}

/* ==========================================================================
   Centred pill switchers (language + venue)
   ========================================================================== */
.switch-row {
  display: flex;
  justify-content: center;
}

.switch-row--lang {
  padding: 8px 16px 16px;
}

@media (min-width: 640px) {
  .switch-row--lang {
    padding: 12px 16px 20px;
  }
}

.switch-row--loc {
  padding: 20px 16px;
}

@media (min-width: 640px) {
  .switch-row--loc {
    padding: 24px 16px;
  }
}

.pill-group {
  position: relative;
  display: flex;
  gap: 4px;
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(237, 237, 237, .06);
  background: rgba(20, 18, 16, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pill-opt {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 8px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s ease;
}

.pill-opt--sm {
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: none;
}

.pill-opt:hover {
  color: var(--fg-dim);
}

.pill-opt.is-active {
  color: var(--bg);
}

.pill-opt.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ember);
  border-radius: 999px;
}

.pill-opt span {
  position: relative;
  z-index: 1;
}

html[dir="rtl"] .pill-opt:not(.pill-opt--sm) {
  letter-spacing: .04em;
  font-size: 12px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 60vh;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero {
    min-height: 65vh;
  }
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--nav-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad-x) 48px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding-bottom: 80px;
  }
}

.hero-text {
  max-width: 36rem;
}

.hero-clip {
  overflow: hidden;
}

.hero-eyebrow {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: .025em;
  color: var(--ember);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: .85;
  letter-spacing: -.03em;
  color: var(--fg);
}

/* Background photograph */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.08) brightness(.85);
}

/* Keeps the headline legible whatever photo the admin uploads. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 8, .78) 0%, rgba(10, 10, 8, .25) 45%, rgba(10, 10, 8, .1) 100%);
}

.hero-sub {
  margin-top: 26px;
  max-width: 34rem;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(237, 237, 237, .55);
}

html[dir="rtl"] .hero-sub {
  margin-inline-start: 0;
}

/* ==========================================================================
   Sticky category navigation
   ========================================================================== */
.cat-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 10, 8, .9);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid rgba(237, 237, 237, .04);
}

.cat-bar-inner {
  max-width: var(--nav-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 12px;
}

.cat-scroll {
  display: flex;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: all .3s ease;
}

@media (min-width: 640px) {
  .cat-pill {
    padding-block: 8px;
  }
}

.cat-pill:hover {
  color: var(--fg);
  border-color: rgba(255, 85, 28, .3);
}

.cat-pill.is-active {
  background: var(--ember);
  color: var(--bg);
  border-color: var(--ember);
}

html[dir="rtl"] .cat-pill {
  letter-spacing: .04em;
  font-size: 12px;
}

/* ---------- second-level section pills ---------- */
.sub-bar {
  border-top: 1px solid rgba(237, 237, 237, .04);
}

.sub-bar-inner {
  max-width: var(--nav-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sub-scroll {
  display: flex;
  gap: 4px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sub-scroll::-webkit-scrollbar {
  display: none;
}

.sub-pill {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 8px 18px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: all .3s ease;
}

.sub-pill:hover {
  color: var(--fg);
  border-color: rgba(255, 85, 28, .3);
}

.sub-pill.is-active {
  color: var(--ember);
  border-color: rgba(255, 85, 28, .5);
  background: rgba(255, 85, 28, .1);
}

html[dir="rtl"] .sub-pill {
  letter-spacing: .04em;
  font-size: 12px;
}

/* ---------- search ---------- */
.cat-search {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
}

.cat-search-btn {
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px;
  color: var(--muted);
  transition: color .25s ease, border-color .25s ease;
}

.cat-search-btn svg {
  width: 16px;
  height: 16px;
}

.cat-search-btn:hover {
  color: var(--fg);
  border-color: rgba(255, 85, 28, .2);
}

.cat-search-btn.is-open {
  color: var(--ember);
  border-color: rgba(255, 85, 28, .35);
}

.cat-search-input {
  width: clamp(140px, 34vw, 260px);
  border: 1px solid rgba(237, 237, 237, .1);
  border-radius: 999px;
  background: rgba(20, 18, 16, .6);
  color: var(--fg);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
}

.cat-search-input::placeholder {
  color: var(--muted);
}

.cat-search-input:focus {
  outline: none;
  border-color: rgba(255, 85, 28, .45);
}

.cat-search-input::-webkit-search-cancel-button {
  filter: invert(.6);
}

.search-empty {
  padding-block: 80px;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

/* When a search is running, hide the tab chrome and show every match at once. */
body.is-searching .cat-pill {
  opacity: .4;
  pointer-events: none;
}

body.is-searching .section-head {
  display: none;
}

body.is-searching .item-card[hidden] {
  display: none;
}

body.is-searching .menu-section {
  padding-block: 0;
}

body.is-searching .menu-section.is-empty {
  display: none;
}

body.is-searching .menu-section--group {
  display: none;
}

body.is-searching .sub-bar {
  display: none;
}

body.is-searching .menu-section.has-accent {
  background: none;
  color: inherit;
}

body.is-searching .item-feature {
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  body.is-searching .item-feature {
    margin-bottom: 16px;
  }
}

body.is-searching main {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ==========================================================================
   Menu sections
   ========================================================================== */
.menu-section {
  padding-block: 64px;
  scroll-margin-top: 150px;
}

@media (min-width: 640px) {
  .menu-section {
    padding-block: 96px;
  }
}

/* A section can carry its own colour treatment (e.g. Sweet Ending on gold).
   The tint spans the full viewport while the content stays in the shell. */
.menu-section.has-accent {
  background: var(--acc-bg);
  color: var(--acc-fg);
}

.menu-section.has-accent .section-title,
.menu-section.has-accent .item-name {
  color: var(--acc-fg);
}

.menu-section.has-accent .section-desc,
.menu-section.has-accent .item-desc {
  color: color-mix(in srgb, var(--acc-fg) 72%, transparent);
}

.menu-section.has-accent .item-price {
  color: var(--acc-fg);
}

.menu-section.has-accent .item-allergens {
  color: color-mix(in srgb, var(--acc-fg) 60%, transparent);
}

.menu-section.has-accent .item-note {
  color: color-mix(in srgb, var(--acc-fg) 80%, transparent);
}

.menu-section.has-accent .badge-premium {
  background: color-mix(in srgb, var(--acc-fg) 16%, transparent);
  color: var(--acc-fg);
}

.menu-section.has-accent .section-rule {
  background: linear-gradient(to right, var(--acc-fg), transparent 40%);
}

html[dir="rtl"] .menu-section.has-accent .section-rule {
  background: linear-gradient(to left, var(--acc-fg), transparent 40%);
}

.menu-section.has-accent .item-media--empty {
  background: color-mix(in srgb, var(--acc-fg) 8%, transparent);
  border-color: color-mix(in srgb, var(--acc-fg) 20%, transparent);
}

/* Group heading ("The Menu") - no items beneath it, so it needs less room. */
.menu-section--group {
  padding-bottom: 0;
}

.section-head {
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .section-head {
    margin-bottom: 56px;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--fg);
}

.section-desc {
  margin-top: 12px;
  max-width: 32rem;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(237, 237, 237, .45);
}

.section-rule {
  margin-top: 24px;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(to right, var(--ember), transparent 40%);
}

html[dir="rtl"] .section-rule {
  transform-origin: right;
  background: linear-gradient(to left, var(--ember), transparent 40%);
}

/* ---------- item grid ---------- */
.item-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.item-feature {
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .item-feature {
    margin-bottom: 16px;
  }
}

/* ---------- item card ---------- */
.item-card {
  border-radius: 8px;
  overflow: hidden;
}

.item-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
}

@media (min-width: 640px) {
  .item-media {
    aspect-ratio: 4 / 3;
  }
}

.item-feature .item-media {
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .item-feature .item-media {
    aspect-ratio: 16 / 9;
  }
}

.item-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.08) brightness(.88);
  transition: transform 1.4s ease-out;
}

.item-card:hover .item-media img {
  transform: scale(1.03);
}

/* Placeholder shown when an item has no photo yet */
.item-media--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 85, 28, .10), transparent 65%),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.item-media--empty span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: rgba(255, 85, 28, .30);
  letter-spacing: -.02em;
  user-select: none;
}

.item-body {
  padding: 16px 4px 8px;
}

.badge-premium {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(255, 85, 28, .2);
  color: var(--ember);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

html[dir="rtl"] .badge-premium {
  letter-spacing: .05em;
  font-size: 10px;
}

.item-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--fg);
}

.item-desc {
  margin-top: 6px;
  max-width: 24rem;
  font-size: 16px;
  line-height: 1.625;
  color: rgba(237, 237, 237, .6);
}

.item-note {
  margin-top: 6px;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 85, 28, .75);
}

.item-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.item-price {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .025em;
  color: var(--ember);
  white-space: nowrap;
}

.item-allergens {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .025em;
  color: rgba(255, 85, 28, .6);
}

.item-allergens b {
  font-weight: 500;
}

.empty-note {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   Allergen key
   ========================================================================== */
.allergen-key {
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.allergen-key h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: var(--fg);
}

.allergen-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.allergen-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.allergen-code {
  border: 1px solid rgba(255, 85, 28, .3);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 85, 28, .6);
}

.allergen-name {
  font-size: 14px;
  color: rgba(114, 107, 97, .85);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 72px;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-bar-inner {
    padding: 0 128px !important;
  }
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

html[dir="rtl"] .footer-col h4 {
  letter-spacing: .05em;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(237, 237, 237, .55);
}

.footer-col a:hover {
  color: var(--ember);
}

.disclaimer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 46rem;
}

/* ==========================================================================
   Scroll reveal + back to top
   ========================================================================== */
/* Hidden-until-revealed only when JS is running (see the inline head script).
   Without JS, or if the observer never fires, everything stays visible. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(50px);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

.js-reveal .reveal-rule {
  transform: scaleX(0);
}

.js-reveal .reveal-rule.is-visible {
  transform: scaleX(1);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal .reveal,
  .js-reveal .reveal-rule {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .item-media img {
    transition: none;
  }
}

.to-top {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 85, 28, .12);
  color: var(--ember);
  border: 1px solid rgba(255, 85, 28, .3);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background-color .3s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--ember);
  color: var(--bg);
}

/* ---------- image lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 8, .94);
  display: none;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 24px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--fg);
  border: 1px solid var(--line);
}

.lightbox-close:hover {
  color: var(--ember);
  border-color: var(--ember);
}

.item-media.is-zoomable {
  cursor: zoom-in;
}

/* ==========================================================================
   Intro screen - two panels part to reveal the page
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  animation: intro-end 1.65s steps(1, end) forwards;
}

.intro-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #060604;
  will-change: transform;
}

.intro-half--left {
  left: 0;
  animation: intro-part-left 1.6s cubic-bezier(.76, 0, .24, 1) forwards;
}

.intro-half--right {
  right: 0;
  animation: intro-part-right 1.6s cubic-bezier(.76, 0, .24, 1) forwards;
}

.intro-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: intro-word 1.6s ease forwards;
}

.intro-word span {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 14rem);
  line-height: 1;
  color: rgba(237, 237, 237, .9);
}

html[dir="rtl"] .intro-word span {
  font-family: var(--font-ar);
  font-weight: 500;
}

@keyframes intro-part-left {

  0%,
  46% {
    transform: none;
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes intro-part-right {

  0%,
  46% {
    transform: none;
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes intro-word {
  0% {
    opacity: 0;
    transform: scale(.98);
  }

  18% {
    opacity: 1;
    transform: none;
  }

  38% {
    opacity: 1;
    transform: none;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Take the layer out of play entirely once it has finished. */
@keyframes intro-end {

  0%,
  99% {
    visibility: visible;
  }

  100% {
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
}

/* ==========================================================================
   Sticky delivery bar
   ========================================================================== */
.promo-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 46;
  background: rgba(10, 10, 8, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(237, 237, 237, .07);
  transform: translateY(110%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.promo-bar.is-up {
  transform: none;
}

.promo-inner {
  max-width: var(--nav-max);
  margin-inline: auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.promo-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
}

.promo-copy strong {
  color: var(--fg);
  font-weight: 600;
  margin-inline-start: 6px;
}

html[dir="rtl"] .promo-copy {
  letter-spacing: .04em;
  font-size: 12px;
}

.promo-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 85, 28, .45);
  border-radius: 999px;
  padding: 10px 22px;
  color: var(--ember);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}

.promo-cta svg {
  width: 15px;
  height: 15px;
}

.promo-cta:hover {
  background: var(--ember);
  color: var(--bg);
}

html[dir="rtl"] .promo-cta {
  letter-spacing: .04em;
  font-size: 12px;
}

html[dir="rtl"] .promo-cta svg {
  transform: scaleX(-1);
}

/* Keep the back-to-top button clear of the bar. */
.promo-bar.is-up~.to-top {
  bottom: 88px;
}

@media (max-width: 560px) {
  .promo-inner {
    padding-block: 11px;
    gap: 10px;
  }

  .promo-copy {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .promo-cta {
    padding: 9px 14px;
    font-size: 10px;
    letter-spacing: .1em;
  }
}

.nav-links,
.nav-right a {
  display: none;
}

.switch-row.switch-row--loc .pill-group {
  display: none;
}

.nav-mobile,
div#promoBar {
  display: none;
}

/* ==========================================================================
   Smooth scrolling
   ========================================================================== */
/* When the JS easing engine is running it owns the animation, so the native
   behaviour stands down - otherwise the two compound into a sluggish scroll. */
html.has-smooth {
  scroll-behavior: auto;
}

/* The lightbox locks the page; make sure it can never inherit momentum. */
.lightbox.is-open {
  overscroll-behavior: contain;
}

/* ==========================================================================
   Hidden page scrollbar
   --------------------------------------------------------------------------
   The bar is hidden, not disabled: the page still scrolls by wheel, touch,
   keyboard (arrows, space, Page Up/Down, Home/End) and the smooth-scroll
   engine. Only the visual track is removed.
   ========================================================================== */
html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* legacy Edge / IE */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  /* Chrome, Safari, Edge */
}