/* Dar Al Nadd, a fictional perfume and oud house in Al Qurum, Muscat. Concept site by Orvo.
   One stylesheet for both directions: logical properties throughout, so the Arabic
   page only swaps fonts and leading. */

:root {
  color-scheme: dark;
  --smoke: #1b1114;
  --smoke-2: #22151a;
  --smoke-3: #2c1b21;
  --raise: linear-gradient(180deg, #2a1a20, #22151a);
  --line: rgba(234, 220, 194, 0.12);
  --line-2: rgba(234, 220, 194, 0.24);
  --parch: #eadcc2;
  --parch-2: #c9b9a0;
  --parch-3: #a39380;
  --brass: #c9a063;
  --loomi: #cdc47a;
  --rose: #dc9fa0;
  --ember: #e39256;
  --open: #a6d69e;
  --soon: #e8c06a;
  --closed: #e4917a;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header: 64px;
  --chrome: 108px;

  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --track-display: -0.022em;
  --lead-display: 1.03;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

:lang(ar) {
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Amiri", "IBM Plex Sans Arabic", serif;
  --track-display: 0;
  --lead-display: 1.3;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--smoke);
  scroll-padding-block-start: var(--header);
  scrollbar-width: thin;
  scrollbar-color: #4d343b var(--smoke);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #4d343b; border-radius: 10px; border: 2px solid var(--smoke); }
::-webkit-scrollbar-thumb:hover { background: #6a4952; }

body {
  margin: 0;
  background: var(--smoke);
  color: var(--parch);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

:lang(ar) body { font-size: 17px; line-height: 1.75; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Disclosure bar + header ---------- */

.demo-bar {
  position: relative;
  z-index: 31;
  padding: 12px var(--gutter);
  font-size: 13px;
  line-height: 1.5;
  color: var(--parch-3);
  text-align: center;
  background: var(--smoke);
  border-block-end: 1px solid var(--line);
}
.demo-bar a { display: inline-block; padding: 12px 6px; margin: -12px -6px; color: var(--parch-2); text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(27, 17, 20, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-block-end: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
:lang(ar) .brand { font-size: 23px; letter-spacing: 0; }
.brand .mark { width: 28px; height: 28px; color: var(--parch); flex: none; }

.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 15px; color: var(--parch-2); text-decoration: none; border-radius: 999px;
  transition: color 200ms ease, background-color 200ms ease;
}
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 14px; margin-inline-start: auto;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 15px; text-decoration: none; color: var(--parch);
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.lang:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang:lang(en) { font-family: "Jost", sans-serif; }
.lang:active { transform: scale(0.97); }
.nav + .lang { margin-inline-start: 8px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--parch); color: var(--smoke); }
.btn-line { border-color: var(--line-2); color: var(--parch); background: rgba(27, 17, 20, 0.35); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn bdi { color: inherit; opacity: 0.8; font-weight: 400; }

@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: #f6ecd9; }
  .btn-line:hover { border-color: var(--parch-3); background: rgba(234, 220, 194, 0.06); }
  .nav a:hover { color: var(--parch); background: rgba(234, 220, 194, 0.06); }
  .lang:hover { border-color: var(--parch-3); }
  .chip:hover { border-color: var(--parch-3); }
}

/* ---------- The ritual: pinned 3D stage + scrolling note steps ---------- */

.ritual { position: relative; }

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 46% 56% at 68% 52%, rgba(90, 47, 58, 0.55), transparent 70%),
    var(--smoke);
}
[dir="rtl"] .stage {
  background:
    radial-gradient(ellipse 46% 56% at 32% 52%, rgba(90, 47, 58, 0.55), transparent 70%),
    var(--smoke);
}

.poster {
  position: absolute;
  top: 50%;
  inset-inline-end: max(3vw, calc((100vw - var(--max)) / 2));
  height: min(72svh, 680px);
  width: auto;
  max-width: none;
  transform: translateY(-50%);
  transition: opacity 900ms ease;
}
[dir="rtl"] .poster { transform: translateY(-50%) scaleX(-1); }

.gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease;
}
.stage.gl-on .gl { opacity: 1; }
.stage.gl-on .poster { opacity: 0; }

.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(27, 17, 20, 0.9) 0%, rgba(27, 17, 20, 0.62) 32%, rgba(27, 17, 20, 0) 56%);
}
[dir="rtl"] .shade {
  background: linear-gradient(270deg, rgba(27, 17, 20, 0.9) 0%, rgba(27, 17, 20, 0.62) 32%, rgba(27, 17, 20, 0) 56%);
}

.steps {
  position: relative;
  z-index: 1;
  margin-block-start: -100vh;
  margin-block-start: -100svh;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header) + 24px) var(--gutter) 56px;
}
.step-hero { min-height: calc(100svh - var(--chrome)); padding-block-start: 32px; }
.step-tail { height: 45vh; height: 45svh; background: linear-gradient(180deg, rgba(27, 17, 20, 0) 0%, var(--smoke) 92%); }

.step-in { max-width: 33rem; will-change: opacity; }
/* Scent haze: warm, layered mist that fills the screen as the camera rises into the plume,
   then clears over the collection. Hidden until scroll drives it (and always without JS). */
.haze {
  position: fixed;
  inset: -6%;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(42% 34% at 50% 40%, rgba(255, 214, 160, 0.85), rgba(255, 214, 160, 0) 72%),
    radial-gradient(38% 30% at 30% 62%, rgba(232, 150, 98, 0.7), rgba(232, 150, 98, 0) 70%),
    radial-gradient(40% 32% at 72% 28%, rgba(240, 178, 126, 0.7), rgba(240, 178, 126, 0) 70%),
    radial-gradient(60% 50% at 60% 78%, rgba(150, 78, 52, 0.6), rgba(150, 78, 52, 0) 75%),
    linear-gradient(180deg, #6b3d2a 0%, #4a2a20 60%, #2e1a17 100%);
  will-change: opacity, transform;
}

.step-hero .step-in { max-width: 39rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 4px 14px 4px 12px;
  margin-block-end: 28px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(27, 17, 20, 0.5);
  font-size: 14px;
  color: var(--parch-2);
}
.status::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--parch-3);
  flex: none;
}
.status[data-state="open"]::before { background: var(--open); box-shadow: 0 0 10px rgba(166, 214, 158, 0.55); }
.status[data-state="soon"]::before { background: var(--soon); }
.status[data-state="closed"]::before { background: var(--closed); }
.status-inline { margin: 0; vertical-align: middle; font-family: var(--font-body); }
.status-inline:empty { display: none; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 1.5rem + 4vw, 4.9rem);
  font-weight: 500;
  line-height: var(--lead-display);
  letter-spacing: var(--track-display);
  font-optical-sizing: auto;
  text-wrap: balance;
}
:lang(ar) h1 { font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem); }

.lede {
  max-width: 36rem;
  margin-block-start: 22px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--parch-2);
  text-wrap: pretty;
}
:lang(ar) .lede { line-height: 1.85; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }

.cue {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: var(--gutter);
  display: none;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--parch-3);
}
.cue-line { position: relative; width: 1px; height: 36px; background: var(--line-2); overflow: hidden; }
.cue-line::after {
  content: "";
  position: absolute; inset-inline: 0; top: 0; height: 12px;
  background: var(--parch);
  animation: cue 2.4s var(--ease-out) infinite;
}
@keyframes cue { from { transform: translateY(-12px); } to { transform: translateY(36px); } }

.step-note[data-note="top"] { --note: var(--loomi); }
.step-note[data-note="heart"] { --note: var(--rose); }
.step-note[data-note="base"] { --note: var(--ember); }

.note-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--note);
}
.note-label .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--note); box-shadow: 0 0 14px var(--note); flex: none; }

.note-line {
  margin-block-start: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
:lang(ar) .note-line { line-height: 1.35; letter-spacing: 0; font-weight: 700; }

.note-p { max-width: 28rem; margin-block-start: 20px; font-size: 17px; color: var(--parch-2); text-wrap: pretty; }

.sig {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-block-start: 30px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--line-2);
}
.sig p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--parch-2); font-size: 15px; }
.sig .price { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--parch); }

@media (min-width: 760px) {
  .cue { display: inline-flex; }
}

/* Phones and portrait tablets: bottle on top, words at the bottom. */
@media (max-aspect-ratio: 5/6) {
  .stage {
    background: radial-gradient(ellipse 80% 42% at 50% 30%, rgba(90, 47, 58, 0.6), transparent 72%), var(--smoke);
  }
  [dir="rtl"] .stage { background: radial-gradient(ellipse 80% 42% at 50% 30%, rgba(90, 47, 58, 0.6), transparent 72%), var(--smoke); }
  .poster {
    top: 3svh;
    inset-inline: 0;
    margin-inline: auto;
    height: 40svh;
    transform: none;
  }
  [dir="rtl"] .poster { transform: scaleX(-1); }
  .shade, [dir="rtl"] .shade {
    background: linear-gradient(0deg, rgba(27, 17, 20, 0.96) 0%, rgba(27, 17, 20, 0.82) 34%, rgba(27, 17, 20, 0) 60%);
  }
  .step { align-items: flex-end; padding-block-end: 40px; }
  .step-hero { padding-block-end: 28px; }
  .status { margin-block-end: 20px; }
  .lede { font-size: 17px; margin-block-start: 16px; }
  .actions { margin-block-start: 24px; }
}

@media (max-width: 440px) {
  .actions { gap: 10px; }
  .actions .btn { flex: 1 1 auto; padding: 0 16px; font-size: 14.5px; }
  .step-hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.4vw, 2.5rem); }
  :lang(ar) .step-hero h1 { font-size: clamp(2rem, 1.1rem + 4.4vw, 2.4rem); }
  .step-hero .lede { font-size: 16px; line-height: 1.6; }
}

/* Short phones (360x640, 375x667): a tighter hero, so the flacon above it gets a usable band. */
@media (max-aspect-ratio: 5/6) and (max-height: 740px) {
  .step-hero { padding-block-end: 18px; }
  .step-hero .status { margin-block-end: 12px; min-height: 30px; font-size: 13px; }
  .step-hero h1 { font-size: clamp(1.75rem, 1rem + 3.6vw, 2.05rem); }
  :lang(ar) .step-hero h1 { font-size: clamp(1.65rem, 0.95rem + 3.6vw, 1.95rem); line-height: 1.4; }
  .step-hero .lede { font-size: 15px; line-height: 1.5; margin-block-start: 10px; }
  :lang(ar) .step-hero .lede { line-height: 1.7; }
  .step-hero .actions { margin-block-start: 16px; }
  .poster { top: 2svh; height: 27svh; }
}

/* Reduced motion on phones: the still scrolls away with the hero instead of staying pinned,
   so the note text (which no longer fades) never sits over the bottle. */
@media (prefers-reduced-motion: reduce) and (max-aspect-ratio: 5/6) {
  .stage { position: relative; }
}

/* ---------- Sections ---------- */

.section { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 128px); background: var(--smoke); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-block-end: 40px; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem);
  line-height: var(--lead-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
:lang(ar) .section h2 { font-weight: 700; }

@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 48px; }
  .section-head .lede { margin: 0; justify-self: end; }
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--parch-2);
  font: 500 14px/1.2 var(--font-body);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--parch); border-color: var(--parch); color: var(--smoke); }
.chip:disabled { opacity: 0.35; cursor: not-allowed; }
.chip:disabled:active { transform: none; }

.filters {
  display: flex;
  gap: 8px;
  margin-block-end: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.filters::-webkit-scrollbar { display: none; }

/* Collection: a snapping rail on phones, a grid from tablet up. */
.scents {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 340px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.scents::-webkit-scrollbar { height: 4px; }
.scents::-webkit-scrollbar-thumb { background: var(--line-2); border: 0; border-radius: 4px; }
.scent { scroll-snap-align: start; }
.scent[hidden] { display: none; }

@media (min-width: 760px) {
  .scents {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
}
@media (min-width: 1100px) {
  .scents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.scent article, .gift article {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--raise);
}

.arch {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-block-end: 18px;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  background: #2a1a20;
}
/* Photos from different shoots, graded as one set: a little warmer, a little darker, the same
   inner vignette and a hairline edge, so a white-background bottle sits beside a dark wood close-up. */
.arch img, .gift-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.16) saturate(0.95) brightness(0.9) contrast(1.04);
}
.arch::after, .gift-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(27, 17, 20, 0.45) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, 0.12), inset 0 0 0 1px rgba(234, 220, 194, 0.1);
  pointer-events: none;
}

.kind { padding-inline: 6px; font-size: 13px; color: var(--parch-3); letter-spacing: 0.01em; }
.scent h3, .gift h3 {
  padding-inline: 6px;
  margin-block-start: 4px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
:lang(ar) .scent h3, :lang(ar) .gift h3 { font-weight: 700; font-size: 27px; line-height: 1.45; letter-spacing: 0; }
.desc { padding-inline: 6px; margin-block-start: 10px; font-size: 15px; line-height: 1.6; color: var(--parch-2); text-wrap: pretty; }

.notes { display: grid; gap: 8px; margin: 18px 6px 0; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.notes div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; }
.notes dt { display: inline-flex; align-items: baseline; gap: 8px; color: var(--parch-3); }
.notes dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; transform: translateY(-1px); background: currentColor; }
.notes .n-top dt::before { background: var(--loomi); }
.notes .n-heart dt::before { background: var(--rose); }
.notes .n-base dt::before { background: var(--ember); }
.notes dd { margin: 0; color: var(--parch); }

.buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: auto;
  padding: 20px 6px 0;
}
.price { font-family: var(--font-display); font-size: 21px; font-weight: 500; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
:lang(ar) .price { font-family: var(--font-body); font-size: 19px; }
.buy .btn { flex: none; }

.tester { max-width: 40rem; margin-block-start: 28px; font-size: 15px; color: var(--parch-3); }

/* ---------- Blending bar ---------- */

.section-blend {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(201, 160, 99, 0.08), transparent 70%),
    var(--smoke-2);
  border-block: 1px solid var(--line);
}
[dir="rtl"] .section-blend { background: radial-gradient(60% 50% at 15% 0%, rgba(201, 160, 99, 0.08), transparent 70%), var(--smoke-2); }

.blend-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 960px) {
  .blend-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: start; }
}

.sequence { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.sequence li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 16px;
  padding-block: 18px;
  border-block-start: 1px solid var(--line);
}
.sequence li::before {
  content: counter(s);
  grid-row: span 2;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  color: var(--brass);
}
.sequence h3 { font-family: var(--font-display); font-size: 25px; line-height: 1.2; }
:lang(ar) .sequence h3 { font-weight: 700; }
.sequence h3 span { margin-inline-start: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--parch-3); }
.sequence p { margin-block-start: 4px; font-size: 16px; color: var(--parch-2); }
.blend-price { margin-block-start: 24px; font-size: 16px; color: var(--parch); }

.booking {
  min-width: 0;
  position: relative;
  padding: 26px clamp(18px, 3vw, 30px) 24px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, #2e1d23, #26171c);
  box-shadow: inset 0 1px 0 rgba(255, 240, 220, 0.06), 0 30px 60px -36px rgba(0, 0, 0, 0.9);
}
@media (min-width: 960px) { .booking { position: sticky; top: calc(var(--header) + 24px); } }
.booking h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin-block-end: 8px; }
:lang(ar) .booking h3 { font-weight: 700; }

.pick { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.pick legend, .pick .legend { display: block; padding: 0; margin-block-end: 10px; font-size: 14px; color: var(--parch-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.rail {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(clamp(18px, 3vw, 30px) * -1);
  padding-inline: clamp(18px, 3vw, 30px);
}
.chips.rail::-webkit-scrollbar { display: none; }
.chip-day { flex-direction: column; min-height: 58px; min-width: 76px; padding: 6px 14px; line-height: 1.25; }
.chip-day small { font-size: 12px; font-weight: 400; opacity: 0.8; }

.guests { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guests .legend { margin: 0; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.stepper output { min-width: 32px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.step-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--parch); font-size: 22px; line-height: 1; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.step-btn:active { transform: scale(0.94); }
.step-btn:disabled { opacity: 0.3; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .step-btn:hover:not(:disabled) { background: rgba(234, 220, 194, 0.08); } }

.book-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 22px 0 16px; padding-block-start: 18px; border-block-start: 1px solid var(--line);
  color: var(--parch-2); font-size: 15px;
}
.book-total strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--parch); }
:lang(ar) .book-total strong { font-family: var(--font-body); font-size: 22px; }
.booking > .btn { margin-block-start: 20px; }
.book-total:not([hidden]) + .btn { margin-block-start: 0; }
.book-note { margin-block-start: 14px; font-size: 14px; color: var(--parch-3); }

/* ---------- Gifts ---------- */

.gifts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .gifts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.gift article { padding: 22px 18px 20px; }
.gift-art {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-block-end: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #2a1a20;
}

/* ---------- Visit ---------- */

.section-visit { border-block-start: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; } }
.address { margin-block-start: 18px; font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3; }
:lang(ar) .address { font-weight: 700; line-height: 1.6; }

.hours h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-family: var(--font-display); font-size: 28px; }
:lang(ar) .hours h3 { font-weight: 700; }
.hours table { width: 100%; margin-block-start: 20px; border-collapse: collapse; font-size: 16px; }
.hours th, .hours td { padding: 16px 0; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.hours th { font-weight: 400; color: var(--parch-2); padding-inline-end: 16px; width: 44%; }
.hours tr[aria-current] th, .hours tr[aria-current] td { color: var(--parch); }
.hours tr[aria-current] th::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 10px; border-radius: 50%; background: var(--brass); vertical-align: middle; }
.hours-note { margin-block-start: 14px; font-size: 14px; color: var(--parch-3); }

/* ---------- Footer ---------- */

.site-footer { position: relative; z-index: 2; padding-block: 48px 64px; border-block-start: 1px solid var(--line); background: var(--smoke); }
.footer-row { display: grid; gap: 10px; color: var(--parch-2); font-size: 15px; }
.footer-row .brand { margin-block-end: 6px; color: var(--parch); }
.footer-row .small { font-size: 13px; color: var(--parch-3); }
body.has-bag .site-footer { padding-block-end: 120px; }

/* ---------- Reservation bar + sheet ---------- */

.bagbar {
  position: fixed;
  z-index: 40;
  inset-inline: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  margin-inline: auto;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 8px 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--parch);
  color: var(--smoke);
  font: 500 15px/1.2 var(--font-body);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  opacity: 0;
  transform: translateY(140%);
  transition: transform 420ms var(--ease-drawer), opacity 200ms ease;
}
:lang(ar) .bagbar { padding: 0 22px 0 8px; }
.bagbar.in { opacity: 1; transform: none; }
.bagbar.in:active { transform: scale(0.97); transition-duration: 160ms; }
.bagbar-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--smoke); color: var(--parch); }

.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  max-height: 88svh;
  margin: auto auto 0;
  padding: 0;
  border: 1px solid var(--line-2);
  border-block-end: 0;
  border-radius: 26px 26px 0 0;
  background: #24161b;
  color: var(--parch);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #4d343b transparent;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 360ms var(--ease-drawer), opacity 220ms ease;
}
.sheet.in { opacity: 1; transform: none; }
.sheet::backdrop { background: rgba(10, 6, 8, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (min-width: 700px) {
  .sheet { margin: auto; border-radius: 26px; border-block-end: 1px solid var(--line-2); transform: translateY(16px) scale(0.98); }
}
.sheet-in { padding: 22px clamp(18px, 4vw, 30px) calc(24px + env(safe-area-inset-bottom)); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 8px; }
.sheet-head h2 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; }
:lang(ar) .sheet-head h2 { font-weight: 700; }
.sheet-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; color: var(--parch); cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.sheet-close:active { transform: scale(0.94); }
.sheet-close svg { width: 18px; height: 18px; }

.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "kind qty";
  align-items: center;
  gap: 2px 12px;
  padding-block: 14px;
  border-block-end: 1px solid var(--line);
}
.bag-name { grid-area: name; font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
:lang(ar) .bag-name { font-weight: 700; }
.bag-kind { grid-area: kind; font-size: 13px; color: var(--parch-3); }
.bag-row .price { grid-area: price; justify-self: end; font-size: 18px; }
.bag-row .stepper { grid-area: qty; justify-self: end; }
.bag-empty { padding-block: 24px; color: var(--parch-2); }

.opts { display: grid; gap: 4px; margin-block-start: 16px; }
.opts fieldset { margin: 8px 0 0; padding: 0; border: 0; min-width: 0; }
.opts legend { padding: 0; margin-block-end: 4px; font-size: 14px; color: var(--parch-3); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 15px; cursor: pointer; }
.opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--brass); }
.field { display: grid; gap: 8px; margin-block-start: 10px; font-size: 14px; color: var(--parch-3); }
.field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--smoke);
  color: var(--parch);
  font: 16px/1.4 var(--font-body);
}
.field input:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.bag-total { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 16px; padding-block-start: 16px; border-block-start: 1px solid var(--line-2); color: var(--parch-2); }
.bag-total strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--parch); }
:lang(ar) .bag-total strong { font-family: var(--font-body); font-size: 23px; }
.bag-note { margin-block-start: 12px; font-size: 13px; color: var(--parch-3); }

.flash { animation: flash 900ms ease; }
@keyframes flash { 0% { background-color: var(--brass); color: var(--smoke); } 100% { } }

/* ---------- Preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .cue-line::after { animation: none; transform: translateY(12px); }
  .btn, .chip, .lang, .step-btn, .sheet-close { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
  .btn:active, .chip:active, .lang:active, .step-btn:active, .sheet-close:active { transform: none; }
  .bagbar, .sheet, [dir] .sheet { transform: none; transition: opacity 200ms ease; }
  .flash { animation: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--smoke); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(234, 220, 194, 0.3); --line-2: rgba(234, 220, 194, 0.5); --parch-2: #e0d2b8; --parch-3: #cbbba4; }
}
