/* ==========================================================================
   Ø³ÙØ± Ø§Ù„ÙƒÙŽÙ‡Ø±ÙŽÙ…Ø§Ù† â€” AMBER SECRET
   Bespoke Art Direction: Milky White (#FAF6F0) Ã— Roasted Cocoa Black (#252525)
   Typography: Authentic Montserrat Arabic & Montserrat (100% Local Self-Hosted)
   Full Dual-Direction Support: Arabic (RTL) & English (LTR)
   ========================================================================== */

/* ---------- 1. SELF-HOSTED MONTSERRAT ARABIC ---------- */
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Arabic';
  src: url('/assets/fonts/MontserratArabic-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. SELF-HOSTED MONTSERRAT (LATIN) ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 3. MILKY WHITE Ã— EXACT #252525 TOKENS ---------- */
:root {
  /* Milky White Surfaces (Ø£Ø¨ÙŠØ¶ Ø­Ù„ÙŠØ¨ÙŠ) */
  --bg-light: #faf6f0;
  --bg-light-alt: #f3ede3;
  --bg-light-plinth: #efe7db;
  --bg-light-elev: #fffdf9;

  /* Exact Charcoal Black Surfaces (#252525) */
  --bg-dark: #252525;
  --bg-dark-deep: #1b1b1b;
  --bg-dark-elev: #2f2f2f;

  /* Typography & Hairlines on #252525 Dark */
  --ink-on-dark: #faf6f0;
  --ink-muted-dark: rgba(250, 246, 240, 0.68);
  --ink-faint-dark: rgba(250, 246, 240, 0.28);
  --line-dark: rgba(250, 246, 240, 0.14);

  /* Typography & Hairlines on Milky White */
  --ink-on-light: #252525;
  --ink-muted-light: rgba(37, 37, 37, 0.65);
  --ink-faint-light: rgba(37, 37, 37, 0.25);
  --line-light: rgba(37, 37, 37, 0.12);

  /* Refined Architectural Accents */
  --charcoal-solid: #252525;
  --accent-taupe: #888480;
  --accent-latte: #c5b49f;
  --accent-cream: #eadecd;
  --cocoa-mocha: #252525;
  --cocoa-latte: #c5b49f;
  --cocoa-cream: #eadecd;
  --cocoa-rich: #1b1b1b;

  /* Unified Montserrat Font Stacks */
  --font-ar: 'Montserrat Arabic', 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-en: 'Montserrat', 'Montserrat Arabic', system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --container-max: 1380px;
}

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

html {
  scroll-behavior: auto;
  background-color: var(--bg-light);
  color: var(--ink-on-light);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html[lang='en'] {
  font-family: var(--font-en);
}

/* CRITICAL: Zero positive letter-spacing on Arabic script */
body {
  background-color: transparent;
  color: var(--ink-on-light);
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.65;
  overflow-x: clip;
}

html[lang='en'] body {
  line-height: 1.6;
}

body.is-loading {
  overflow: hidden;
}

.en {
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.ar-inline {
  font-family: var(--font-ar);
  letter-spacing: 0 !important;
  direction: rtl;
  unicode-bidi: isolate;
}

html[lang='en'] .niche-slide__en.ar-inline,
html[lang='en'] .som-card__en.ar-inline,
html[lang='en'] .qm-en.ar-inline {
  text-align: left;
}

@media (max-width: 720px) {
  html[lang='en'] .niche-slide__en.ar-inline {
    text-align: center;
  }
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
  letter-spacing: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

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

.container {
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
}

/* ==========================================================================
   FIXED WEBGL OPTICAL SHADER & SCROLL PROGRESS
   ========================================================================== */
#studio-gl,
#ambient-particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: block;
}

#ambient-particles {
  z-index: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cocoa-mocha), var(--ink-on-light));
}

body[data-stage-theme='dark'] .scroll-progress__bar {
  background: linear-gradient(90deg, var(--cocoa-latte), var(--ink-on-dark));
}

html[dir='ltr'] .scroll-progress__bar {
  transform-origin: left center;
}

/* ==========================================================================
   PRELOADER CURTAIN (VELVET COCOA BLACK Ã— MILKY WHITE)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-dark-deep);
  color: var(--ink-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--ease-out-expo), opacity 0.6s ease;
}

.preloader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__inner {
  width: min(440px, 84vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.preloader__ar {
  font-family: var(--font-ar);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  letter-spacing: 0;
}

.preloader__logo {
  width: min(270px, 68vw);
  height: auto;
  filter: brightness(0) invert(0.97) sepia(0.08) saturate(0.4);
  opacity: 0.95;
}

.preloader__line-wrap {
  width: 100%;
  height: 1px;
  background: rgba(250, 246, 240, 0.16);
  overflow: hidden;
  margin-top: 4px;
}

.preloader__line {
  width: 100%;
  height: 100%;
  background: var(--ink-on-dark);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.15s linear;
}

.preloader__meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(250, 246, 240, 0.6);
}

/* ==========================================================================
   FLOATING ARCHITECTURAL HEADER (ADAPTS TO MILKY WHITE & COCOA BLACK)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 20px 0;
  color: var(--ink-on-light);
  transition: background-color 0.45s ease, border-color 0.45s ease, padding 0.35s ease, color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 13px 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(250, 246, 240, 0.86);
  border-bottom-color: var(--line-light);
}

body[data-stage-theme='dark'] .site-header {
  color: var(--ink-on-dark);
}

body[data-stage-theme='dark'] .site-header.is-scrolled {
  background: rgba(37, 37, 37, 0.84);
  border-bottom-color: var(--line-dark);
}

.site-header__inner {
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-ar {
  font-family: var(--font-ar);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-sep {
  width: 1px;
  height: 16px;
  background: currentColor;
  opacity: 0.26;
}

.brand-wordmark {
  height: 16px;
  width: auto;
  /* Tinted Cocoa Black on Milky White */
  filter: brightness(0) saturate(100%) invert(7%) sepia(25%) saturate(1350%) hue-rotate(344deg) brightness(93%) contrast(96%);
  transition: filter 0.45s ease, opacity 0.3s ease;
}

body[data-stage-theme='dark'] .brand-wordmark {
  /* Tinted Milky White on Cocoa Black */
  filter: brightness(0) invert(0.97) sepia(0.08) saturate(0.35);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  opacity: 0.74;
  transition: opacity 0.25s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.nav-link .en {
  font-size: 0.68rem;
  opacity: 0.52;
  letter-spacing: 0.08em;
}

.nav-link:hover {
  opacity: 1;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding-inline: 14px;
  border: 1px solid var(--line-light);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body[data-stage-theme='dark'] .lang-switch {
  border-color: var(--line-dark);
}

.lang-switch:hover {
  background: var(--ink-on-light);
  color: var(--bg-light);
  border-color: var(--ink-on-light);
}

body[data-stage-theme='dark'] .lang-switch:hover {
  background: var(--ink-on-dark);
  color: var(--bg-dark);
  border-color: var(--ink-on-dark);
}

.bag-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding-inline: 15px;
  border: 1px solid var(--line-light);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

body[data-stage-theme='dark'] .bag-trigger {
  border-color: var(--line-dark);
}

.bag-trigger:hover {
  background: rgba(37, 37, 37, 0.06);
}

body[data-stage-theme='dark'] .bag-trigger:hover {
  background: rgba(250, 246, 240, 0.08);
}

.bag-trigger__count {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--ink-on-light);
  color: var(--bg-light);
  transition: background-color 0.35s ease, color 0.35s ease;
}

body[data-stage-theme='dark'] .bag-trigger__count {
  background: var(--ink-on-dark);
  color: var(--bg-dark);
}

/* ==========================================================================
   SHARED BUTTONS & EDITORIAL LABELS
   ========================================================================== */
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cocoa-mocha);
  box-shadow: 0 0 12px rgba(122, 81, 58, 0.45);
}

.eyebrow-en {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted-light);
}

.chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted-dark);
  margin-bottom: 14px;
}

.chapter-tag .en {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--cocoa-latte);
}

.chapter-tag--dark {
  color: var(--ink-muted-light);
}

.chapter-tag--dark .en {
  color: var(--cocoa-mocha);
}

/* Milky White Button (for Cocoa Black Dark Stages) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  background: var(--bg-light);
  color: var(--ink-on-light);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.35s var(--ease-out-expo), background-color 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--cocoa-cream);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid rgba(250, 246, 240, 0.28);
  color: var(--ink-on-dark);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--ink-on-dark);
  background: rgba(250, 246, 240, 0.06);
}

/* Cocoa Black Button (for Milky White Light Stages) */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--ink-on-light);
  color: var(--bg-light);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.btn-dark:hover {
  background: var(--cocoa-rich);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid rgba(37, 37, 37, 0.26);
  color: var(--ink-on-light);
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.btn-outline-dark:hover {
  border-color: var(--ink-on-light);
  background: rgba(37, 37, 37, 0.05);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   ACT I â€” MONOLITH HERO STAGE (MILKY WHITE Ã— COCOA BLACK)
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 96px;
  overflow: hidden;
  color: var(--ink-on-light);
}

.hero-stage__bg-word {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(5.5rem, 18vw, 21rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 0.85;
  color: rgba(37, 37, 37, 0.038);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  will-change: transform;
}

.hero-stage__grid {
  position: relative;
  z-index: 2;
  width: min(var(--container-max), 92vw);
  margin: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.55fr;
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  padding-block: 24px 36px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.26;
  margin-bottom: 22px;
  color: var(--ink-on-light);
}

html[lang='en'] .hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.95rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.reveal-line {
  display: block;
}

.hero-title--muted {
  color: var(--cocoa-mocha);
  font-weight: 400;
}

.hero-lead {
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  color: var(--ink-muted-light);
  max-width: 48ch;
  line-height: 1.85;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero-lead strong {
  color: var(--ink-on-light);
  font-weight: 700;
}

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

/* Sculptural Centerpiece Flacon on Milky White */
.hero-stage__sculpture {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.flacon-rig {
  position: relative;
  width: min(340px, 68vw);
  height: clamp(390px, 56vh, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.flacon-aura {
  position: absolute;
  width: 320px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 81, 58, 0.22) 0%, rgba(214, 188, 159, 0.24) 48%, transparent 74%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.mist-canvas {
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  pointer-events: none;
  z-index: 1;
}

.flacon-img--hero {
  position: relative;
  z-index: 2;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(37, 37, 37, 0.28)) drop-shadow(0 6px 14px rgba(37, 37, 37, 0.14));
  will-change: transform;
}

.flacon-shadow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 37, 37, 0.36) 0%, rgba(37, 37, 37, 0) 75%);
  z-index: 1;
}

.flacon-reflection {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  height: 34%;
  width: auto;
  transform: translateX(-50%) scaleY(-1);
  opacity: 0.16;
  filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 52%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 52%);
  pointer-events: none;
  z-index: 0;
}

.mist-trigger {
  position: relative;
  z-index: 4;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(37, 37, 37, 0.2);
  background: rgba(255, 253, 249, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted-light);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.mist-trigger:hover {
  color: var(--ink-on-light);
  border-color: var(--ink-on-light);
  background: var(--bg-light-elev);
}

.mist-trigger__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cocoa-mocha);
  box-shadow: 0 0 0 0 rgba(122, 81, 58, 0.65);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(122, 81, 58, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(122, 81, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 81, 58, 0); }
}

/* Hero Spec Column */
.hero-stage__specs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-inline-start: 1px solid var(--line-light);
  padding-inline-start: 26px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.spec-item__num {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink-on-light);
  line-height: 1.05;
}

.spec-item__label {
  font-size: 0.8rem;
  color: var(--ink-muted-light);
  font-weight: 400;
}

/* Bottom Architectural Telemetry Bar */
.hero-telemetry {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-light);
  background: rgba(255, 253, 249, 0.55);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-telemetry__cell {
  padding: 18px 28px;
  border-inline-end: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-telemetry__cell:last-child {
  border-inline-end: none;
}

.hero-telemetry__cell .en {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cocoa-mocha);
}

.hero-telemetry__cell strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-on-light);
}

.hero-telemetry__scroll {
  justify-content: center;
  align-items: flex-end;
}

.scroll-cue-line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-on-light));
  margin-top: 6px;
}

/* ==========================================================================
   ACT II â€” PINNED SCROLL-SCRUBBED ANATOMY OF AN EXTRAIT (COCOA BLACK STAGE)
   ========================================================================== */
.craft-runway {
  position: relative;
  height: 360vh;
  background: rgba(37, 37, 37, 0.94);
  color: var(--ink-on-dark);
  border-top: 1px solid var(--line-dark);
}

.craft-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 92px 0 36px;
}

.craft-topbar {
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.craft-progress-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.c-step {
  color: rgba(250, 246, 240, 0.34);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.c-step.is-active {
  color: var(--ink-on-dark);
  border-bottom-color: var(--cocoa-latte);
}

.craft-stage {
  width: min(var(--container-max), 92vw);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  height: 100%;
  max-height: 680px;
}

.craft-bottle-viewport {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.craft-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.1);
  pointer-events: none;
}

.craft-ring--outer {
  width: min(460px, 72vw);
  height: min(460px, 72vw);
  border-style: dashed;
}

.craft-ring--inner {
  width: min(330px, 54vw);
  height: min(330px, 54vw);
  border-color: rgba(214, 188, 159, 0.25);
}

.craft-bottle-rig {
  position: relative;
  height: min(470px, 60vh);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.craft-bottle-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 38px rgba(214, 188, 159, 0.18));
}

.callout-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-on-dark);
  box-shadow: 0 0 0 6px rgba(214, 188, 159, 0.34), 0 0 22px var(--cocoa-latte);
  opacity: 0.25;
  transform: scale(0.75);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.callout-node.is-lit {
  opacity: 1;
  transform: scale(1.15);
}

.callout-node--1 { top: 21%; left: 50%; translate: -50% -50%; }
.callout-node--2 { top: 52%; left: 50%; translate: -50% -50%; }
.callout-node--3 { top: 83%; left: 50%; translate: -50% -50%; }

/* Dissection Panels */
.craft-panels {
  position: relative;
  min-height: 340px;
  display: grid;
}

.craft-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo), visibility 0.55s;
  pointer-events: none;
}

.craft-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cocoa-latte);
  margin-bottom: 14px;
}

.panel-heading {
  font-size: clamp(1.95rem, 3.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.panel-body {
  font-size: 1rem;
  color: var(--ink-muted-dark);
  line-height: 1.9;
  max-width: 50ch;
  font-weight: 400;
  margin-bottom: 30px;
}

.panel-metrics {
  display: flex;
  gap: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.p-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.p-metric__val {
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink-on-dark);
}

.p-metric__lbl {
  font-size: 0.82rem;
  color: var(--ink-muted-dark);
}

/* Density Bars */
.density-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.density-row__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 7px;
  color: var(--ink-muted-dark);
}

.density-row--featured .density-row__head {
  color: var(--ink-on-dark);
}

.density-track {
  height: 4px;
  background: rgba(250, 246, 240, 0.12);
  overflow: hidden;
}

.density-fill {
  height: 100%;
  background: rgba(250, 246, 240, 0.3);
}

.density-fill--amber {
  width: 100%;
  background: linear-gradient(90deg, var(--cocoa-mocha), var(--cocoa-latte), var(--ink-on-dark));
  transform-origin: right center;
}

html[dir='ltr'] .density-fill--amber {
  transform-origin: left center;
}

/* Maceration Dial Counter */
.maceration-dial-row {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.maceration-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.maceration-counter__num {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-on-dark);
}

.maceration-counter__unit {
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--ink-muted-dark);
}

.maceration-divider {
  width: 1px;
  height: 52px;
  background: var(--line-dark);
}

/* ==========================================================================
   ACT III â€” ARCHITECTURAL VOLUMES & PHYSICAL PLINTH LINEUP (MILKY WHITE)
   ========================================================================== */
.volumes-section {
  position: relative;
  background: var(--bg-light);
  color: var(--ink-on-light);
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink-on-light);
}

html[lang='en'] .section-title {
  letter-spacing: -0.02em;
}

.section-sub {
  max-width: 44ch;
  font-size: 0.94rem;
  color: var(--ink-muted-light);
  line-height: 1.85;
  font-weight: 400;
}

.volume-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 52px;
}

.vol-tab {
  padding: 22px 20px;
  text-align: start;
  border-inline-end: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: background-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.vol-tab:last-child {
  border-inline-end: none;
}

.vol-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--ink-on-light);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.vol-tab.is-active {
  background: rgba(37, 37, 37, 0.04);
}

.vol-tab.is-active::after {
  transform: scaleX(1);
}

.vol-tab__size {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vol-tab__name {
  font-size: 0.84rem;
  color: var(--ink-muted-light);
}

/* Museum Plinth Lineup (3 Bespoke 50ml Sculptures) */
.plinth-stage {
  position: relative;
  background: var(--bg-light-plinth);
  border: 1px solid var(--line-light);
  padding: clamp(36px, 5vw, 68px) clamp(20px, 4vw, 56px) 36px;
  overflow: hidden;
}

.plinth-glow {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 180, 159, 0.22) 0%, transparent 72%);
  filter: blur(35px);
  pointer-events: none;
  transition: background 0.6s ease;
}

.plinth-lineup {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  gap: clamp(20px, 4vw, 56px);
  min-height: 360px;
  padding-bottom: 24px;
}

.lineup-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  opacity: 0.45;
  filter: saturate(0.8);
  transform: translateY(0) scale(0.96);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), filter 0.5s ease;
}

.lineup-unit:hover {
  opacity: 0.88;
}

.lineup-unit.is-focused {
  opacity: 1;
  filter: saturate(1.08);
  transform: translateY(-12px) scale(1.04);
}

.lineup-bottle-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 290px;
}

.lineup-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 28px rgba(37, 37, 37, 0.26));
}

.lineup-floor-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 37, 37, 0.35) 0%, transparent 72%);
  z-index: 1;
}

.lineup-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
  color: var(--ink-muted-light);
  text-align: center;
}

.lineup-caption strong {
  font-size: 0.88rem;
  color: var(--ink-on-light);
  letter-spacing: 0.04em;
}

.plinth-ruler {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 37, 37, 0.26) 15%, rgba(37, 37, 37, 0.26) 85%, transparent);
  margin-bottom: 28px;
}

.volume-readout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--bg-light-elev);
  border: 1px solid var(--line-light);
  padding: 26px 32px;
}

.volume-readout__badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--cocoa-mocha);
  font-weight: 700;
  margin-bottom: 6px;
}

.volume-readout__title {
  font-size: 1.42rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.volume-readout__desc {
  font-size: 0.9rem;
  color: var(--ink-muted-light);
  font-weight: 400;
}

.volume-readout__meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.vr-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vr-stat__lbl {
  font-size: 0.74rem;
  color: var(--ink-muted-light);
}

.vr-price {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink-on-light);
}

/* ==========================================================================
   ACT IV â€” PINNED HORIZONTAL GALLERY: NICHE RESERVE (COCOA BLACK STAGE)
   ========================================================================== */
.niche-runway {
  position: relative;
  height: 460vh;
  background: rgba(37, 37, 37, 0.95);
  color: var(--ink-on-dark);
}

.niche-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 92px 0 32px;
}

.niche-topbar,
.niche-bottombar {
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.niche-counter {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-on-dark);
}

.niche-counter__sep {
  opacity: 0.35;
  margin-inline: 6px;
}

.hscroll-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  overflow: hidden;
}

/* RTL Horizontal Track (Arabic default) */
.hscroll-track {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  direction: rtl;
  padding-inline: 9vw;
  gap: 6vw;
  will-change: transform;
}

/* LTR Horizontal Track (English version) */
html[dir='ltr'] .hscroll-track {
  left: 0;
  right: auto;
  direction: ltr;
}

.niche-slide {
  width: 82vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-inline: 3vw;
  border-inline-end: 1px solid var(--line-dark);
}

.niche-slide:last-child {
  border-inline-end: none;
}

.niche-slide__bg-en {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(4.2rem, 13vw, 15rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(250, 246, 240, 0.036);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.niche-slide__inner {
  position: relative;
  z-index: 2;
  width: min(1160px, 90vw);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.niche-slide__house {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cocoa-latte);
  margin-bottom: 10px;
  display: block;
}

.niche-slide__ar {
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
}

.niche-slide__en {
  font-family: var(--font-en);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(250, 246, 240, 0.64);
  margin-bottom: 24px;
  display: block;
}

html[lang='en'] .niche-slide__en {
  font-family: var(--font-ar);
  font-style: normal;
  letter-spacing: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.niche-pyramid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.niche-note {
  padding: 7px 15px;
  border: 1px solid rgba(250, 246, 240, 0.18);
  font-size: 0.83rem;
  color: rgba(250, 246, 240, 0.88);
  background: rgba(250, 246, 240, 0.04);
}

.niche-slide__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.niche-slide__price-from {
  font-size: 0.85rem;
  color: var(--ink-muted-dark);
}

.niche-slide__price-from strong {
  color: var(--ink-on-dark);
  font-weight: 700;
}

.niche-slide__visual {
  position: relative;
  height: min(430px, 52vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-slide__glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 188, 159, 0.34) 0%, transparent 72%);
  filter: blur(36px);
  pointer-events: none;
}

.niche-slide__bottle {
  position: relative;
  z-index: 2;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.82));
  transition: transform 0.6s var(--ease-out-expo);
}

.niche-slide:hover .niche-slide__bottle {
  transform: translateY(-8px) scale(1.03);
}

.niche-hint {
  font-size: 0.8rem;
  color: var(--ink-muted-dark);
}

.niche-progress {
  width: min(260px, 42vw);
  height: 2px;
  background: rgba(250, 246, 240, 0.16);
  overflow: hidden;
}

.niche-progress__fill {
  height: 100%;
  width: 100%;
  background: var(--cocoa-latte);
  transform-origin: right center;
  transform: scaleX(0.16);
}

html[dir='ltr'] .niche-progress__fill {
  transform-origin: left center;
}

/* ==========================================================================
   ACT V â€” OLFACTORY SOMMELIER (WARM MILKY CREAM)
   ========================================================================== */
.sommelier-section {
  background: var(--bg-light-alt);
  color: var(--ink-on-light);
  padding: clamp(88px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line-light);
}

.sommelier-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.mood-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--bg-light-elev);
  border: 1px solid var(--line-light);
  font-size: 0.86rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mood-pill__idx {
  font-size: 0.72rem;
  opacity: 0.55;
}

.mood-pill.is-active {
  background: var(--ink-on-light);
  color: var(--bg-light);
  border-color: var(--ink-on-light);
}

.gender-switch {
  display: inline-flex;
  border: 1px solid var(--line-light);
  background: var(--bg-light-elev);
}

.g-btn {
  padding: 11px 18px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-muted-light);
  border-inline-end: 1px solid var(--line-light);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.g-btn:last-child {
  border-inline-end: none;
}

.g-btn.is-active {
  background: var(--ink-on-light);
  color: var(--bg-light);
}

.sommelier-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-inline-start: 1px solid var(--line-light);
  background: var(--bg-light);
}

.som-card {
  padding: 36px 28px 30px;
  border-inline-end: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: background-color 0.35s ease;
}

.som-card:hover {
  background: var(--bg-light-elev);
}

.som-card__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.som-card__num {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-muted-light);
}

.som-card__char {
  font-size: 0.76rem;
  color: var(--cocoa-mocha);
  font-weight: 600;
}

.som-card__visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.som-card__bottle {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(37, 37, 37, 0.2));
  transition: transform 0.5s var(--ease-out-expo);
}

.som-card:hover .som-card__bottle {
  transform: translateY(-8px) scale(1.04);
}

.som-card__ar {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.som-card__en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--ink-muted-light);
  margin-bottom: 12px;
  display: block;
}

html[lang='en'] .som-card__en {
  font-family: var(--font-ar);
  font-style: normal;
  letter-spacing: 0;
}

.som-card__notes {
  font-size: 0.83rem;
  color: var(--ink-muted-light);
  margin-bottom: 18px;
}

.som-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.som-card__btn {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-on-light);
  border-bottom: 1px solid var(--ink-on-light);
  padding-bottom: 2px;
}

/* ==========================================================================
   ACT VI â€” THE HOUSE ARCHIVE (MILKY WHITE + STICKY PEDESTAL)
   ========================================================================== */
.archive-section {
  background: var(--bg-light);
  color: var(--ink-on-light);
  padding: clamp(88px, 11vw, 150px) 0;
}

.archive-search-wrap {
  width: min(390px, 100%);
}

.archive-search {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-light-elev);
  border: 1px solid var(--line-light);
  font-size: 0.86rem;
  color: var(--ink-on-light);
  outline: none;
  transition: border-color 0.25s ease;
}

.archive-search:focus {
  border-color: var(--ink-on-light);
}

.collection-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-light);
}

.col-tab {
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink-muted-light);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.col-tab.is-active {
  background: var(--ink-on-light);
  color: var(--bg-light);
  border-color: var(--ink-on-light);
}

.col-tab__count {
  font-size: 0.72rem;
  opacity: 0.68;
}

.archive-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.archive-pedestal {
  position: sticky;
  top: 84px;
}

.pedestal-card {
  background: var(--bg-light-elev);
  border: 1px solid var(--line-light);
  padding: 22px 24px;
}

.pedestal-card__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink-muted-light);
  margin-bottom: 10px;
}

.pedestal-visual {
  position: relative;
  height: clamp(175px, 23vh, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light-plinth);
  margin-bottom: 18px;
  overflow: hidden;
}

.pedestal-aura {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 81, 58, 0.2) 0%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.pedestal-bottle {
  position: relative;
  z-index: 2;
  max-height: 84%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(37, 37, 37, 0.24));
  transition: transform 0.45s var(--ease-out-expo), opacity 0.25s ease;
}

.pedestal-shadow {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 37, 37, 0.3) 0%, transparent 75%);
}

.pedestal-titles {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pedestal-ar {
  font-size: 1.42rem;
  font-weight: 700;
}

.pedestal-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-muted-light);
}

html[lang='en'] .pedestal-en {
  font-family: var(--font-ar);
  font-style: normal;
  letter-spacing: 0;
}

.pedestal-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.pedestal-size-badge,
.qm-size-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-light-alt);
  border: 1px solid var(--line-light);
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.pedestal-size-badge strong,
.qm-size-badge strong {
  font-weight: 700;
  color: var(--ink-on-light);
}

.pedestal-size-badge span,
.qm-size-badge span {
  font-size: 0.78rem;
  color: var(--ink-muted-light);
}

.pedestal-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-light);
  margin-bottom: 20px;
}

.p-size-btn {
  padding: 10px 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border-inline-end: 1px solid var(--line-light);
  color: var(--ink-muted-light);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.p-size-btn:last-child {
  border-inline-end: none;
}

.p-size-btn.is-active {
  background: var(--ink-on-light);
  color: var(--bg-light);
  font-weight: 700;
}

.pedestal-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  flex-wrap: wrap;
}

.pedestal-price-wrap {
  display: flex;
  flex-direction: column;
}

.pedestal-price-lbl {
  font-size: 0.72rem;
  color: var(--ink-muted-light);
}

.pedestal-price {
  font-size: 1.22rem;
  font-weight: 700;
}

.pedestal-actions {
  display: flex;
  gap: 8px;
}

.pedestal-actions .btn-dark,
.pedestal-actions .btn-outline-dark {
  padding: 11px 16px;
  font-size: 0.8rem;
}

/* Editorial Index Rows */
.archive-index {
  border-top: 1px solid var(--line-light);
}

.archive-row {
  display: grid;
  grid-template-columns: 44px 52px 1.2fr 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.archive-row:hover,
.archive-row.is-selected {
  background: var(--bg-light-elev);
}

.archive-row.is-selected {
  border-inline-start: 3px solid var(--ink-on-light);
}

.ar-num {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-faint-light);
  letter-spacing: 0.1em;
}

.ar-thumb-wrap {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-thumb {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(37, 37, 37, 0.18));
}

.ar-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ar-names__ar {
  font-size: 1.02rem;
  font-weight: 700;
}

.ar-names__en {
  font-size: 0.76rem;
  color: var(--ink-muted-light);
  letter-spacing: 0.03em;
}

.ar-notes {
  font-size: 0.82rem;
  color: var(--ink-muted-light);
  font-weight: 400;
}

.ar-cta {
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.archive-row:hover .ar-cta {
  background: var(--ink-on-light);
  color: var(--bg-light);
  border-color: var(--ink-on-light);
}

/* ==========================================================================
   ACT VII â€” ROYAL GUARANTEE & MONUMENTAL FOOTER (COCOA BLACK STAGE)
   ========================================================================== */
.guarantee-section {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding-top: clamp(92px, 11vw, 150px);
}

.guarantee-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-bottom: clamp(64px, 8vw, 110px);
  border-bottom: 1px solid var(--line-dark);
}

.guarantee-title {
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.24;
  margin-bottom: 24px;
}

.guarantee-title--accent {
  color: var(--cocoa-latte);
}

.guarantee-lead {
  font-size: 1.02rem;
  color: var(--ink-muted-dark);
  max-width: 48ch;
  line-height: 1.9;
  font-weight: 400;
  margin-bottom: 34px;
}

.guarantee-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.duo-sculpture {
  position: relative;
  height: 410px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.duo-bottle {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  position: relative;
}

.duo-bottle--back {
  height: 82%;
  margin-inline-end: -38px;
  opacity: 0.9;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.85));
  z-index: 1;
}

.duo-bottle--front {
  height: 98%;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 36px rgba(214, 188, 159, 0.22));
  z-index: 2;
}

.duo-shadow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.92) 0%, transparent 74%);
}

.guarantee-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.g-pillar {
  padding: 44px 32px;
  border-inline-end: 1px solid var(--line-dark);
}

.g-pillar:last-child {
  border-inline-end: none;
}

.g-pillar__num {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cocoa-latte);
  margin-bottom: 16px;
}

.g-pillar__title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.g-pillar__desc {
  font-size: 0.9rem;
  color: var(--ink-muted-dark);
  font-weight: 400;
  line-height: 1.8;
}

/* ==========================================================================
   MONUMENTAL HAUTE PARFUMERIE HOUSE FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(37, 37, 37, 0.96) 0%, #1c1b1a 100%);
  color: var(--ink-on-dark);
  padding: 0 0 42px;
  overflow: hidden;
}

/* Infinite Architectural Marquee Ribbon */
.footer-marquee {
  border-bottom: 1px solid var(--line-dark);
  background: rgba(214, 188, 159, 0.04);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
}

.footer-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(250, 246, 240, 0.78);
  animation: footerMarqueeScroll 36s linear infinite;
}

.fm-dot {
  color: var(--cocoa-latte);
  font-size: 0.7rem;
}

@keyframes footerMarqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* 4-Column Architectural Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.75fr 1.15fr;
  gap: clamp(28px, 3.8vw, 52px);
  padding: clamp(56px, 7vw, 92px) 0 clamp(52px, 6vw, 80px);
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}

.footer-crest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cocoa-latte);
  margin-bottom: 14px;
}

.footer-crest__diamond {
  font-size: 0.65rem;
}

.footer-house-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  font-weight: 700;
  color: var(--ink-on-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-house-title__en {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cocoa-latte);
}

.footer-manifesto {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink-muted-dark);
  max-width: 42ch;
  margin-bottom: 22px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(214, 188, 159, 0.07);
  border: 1px solid rgba(214, 188, 159, 0.24);
  font-size: 0.76rem;
  color: var(--ink-on-dark);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6bc9f;
  box-shadow: 0 0 0 4px rgba(214, 188, 159, 0.22);
}

.footer-col__heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cocoa-latte);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.74);
  border-bottom: 1px dashed rgba(250, 246, 240, 0.08);
  transition: color 0.25s ease, padding-inline-start 0.25s ease;
}

.footer-link:hover {
  color: var(--ink-on-dark);
  padding-inline-start: 6px;
}

.footer-link__badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border: 1px solid rgba(214, 188, 159, 0.28);
  color: var(--cocoa-latte);
  background: rgba(214, 188, 159, 0.06);
}

/* Royal Concierge Box */
.footer-concierge-card {
  background: rgba(250, 246, 240, 0.03);
  border: 1px solid rgba(214, 188, 159, 0.26);
  padding: 24px 22px;
  position: relative;
}

.footer-concierge__tag {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cocoa-latte);
  margin-bottom: 6px;
}

.footer-concierge__title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  margin-bottom: 16px;
}

.footer-concierge__specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  padding-block: 12px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.fc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-muted-dark);
}

.fc-row strong {
  color: var(--ink-on-dark);
  font-weight: 600;
}

.footer-concierge__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-ig-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 1px solid var(--line-dark);
  color: var(--ink-on-dark);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer-ig-btn:hover {
  background: rgba(250, 246, 240, 0.07);
  border-color: var(--cocoa-latte);
}

/* Monumental Centerpiece Wordmark Seal */
.site-footer__monolith {
  position: relative;
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.footer-monolith__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3.6rem, 12vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(250, 246, 240, 0.025);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.footer-monolith__seal-line {
  position: relative;
  z-index: 2;
  width: min(680px, 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.seal-line__wing {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 188, 159, 0.45), transparent);
}

.seal-line__emblem {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cocoa-latte);
  white-space: nowrap;
}

.footer-monolith__brand-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-ar-brand {
  font-family: var(--font-ar);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink-on-dark);
  letter-spacing: 0;
}

.footer-wordmark {
  width: min(720px, 84vw);
  height: auto;
  filter: brightness(0) invert(0.97) sepia(0.08) saturate(0.35);
  opacity: 0.94;
}

/* Bottom Bar */
.site-footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.6);
}

.footer-bottom__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom__copy strong {
  color: var(--ink-on-dark);
}

.footer-coords {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(214, 188, 159, 0.65);
}

.footer-bottom__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-lang-link,
.footer-top-btn {
  padding: 9px 15px;
  border: 1px solid var(--line-dark);
  color: var(--ink-on-dark);
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 246, 240, 0.03);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.footer-lang-link:hover,
.footer-top-btn:hover {
  background: var(--ink-on-dark);
  color: var(--bg-dark);
  border-color: var(--ink-on-dark);
}

/* ==========================================================================
   QUICK CONFIGURE MODAL & CONCIERGE BAG DRAWER
   ========================================================================== */
.modal-backdrop,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(19, 11, 8, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden],
.drawer-backdrop[hidden] {
  display: none !important;
}

.quick-sheet {
  position: relative;
  width: min(760px, 95vw);
  background: var(--bg-light);
  color: var(--ink-on-light);
  border: 1px solid var(--line-light);
  padding: 36px;
}

.sheet-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink-on-light);
  background: var(--bg-light-elev);
}

.quick-sheet__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}

.quick-sheet__visual {
  position: relative;
  height: 320px;
  background: var(--bg-light-plinth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qm-aura {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 81, 58, 0.24) 0%, transparent 72%);
  filter: blur(26px);
}

.qm-bottle {
  position: relative;
  z-index: 2;
  max-height: 84%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(37, 37, 37, 0.26));
  transition: transform 0.4s var(--ease-out-expo);
}

.qm-house {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cocoa-mocha);
  font-weight: 700;
}

.qm-ar {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 4px;
}

.qm-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.04rem;
  color: var(--ink-muted-light);
  margin-bottom: 14px;
}

html[lang='en'] .qm-en {
  font-family: var(--font-ar);
  font-style: normal;
  letter-spacing: 0;
}

.qm-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.qm-size-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted-light);
  margin-bottom: 8px;
}

.qm-sizes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.qm-size-btn {
  padding: 11px 14px;
  border: 1px solid var(--line-light);
  background: var(--bg-light-elev);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.qm-size-btn.is-active {
  background: var(--ink-on-light);
  color: var(--bg-light);
  border-color: var(--ink-on-light);
}

.qm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Concierge Bag Drawer */
.drawer-backdrop {
  justify-content: flex-end;
  padding: 0;
}

.bag-panel {
  position: relative;
  width: min(460px, 100vw);
  height: 100vh;
  background: var(--bg-light);
  color: var(--ink-on-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-inline-start: 1px solid var(--line-light);
}

.bag-panel__head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bag-panel__head .sheet-close {
  position: static;
}

.bag-panel__title {
  font-size: 1.22rem;
  font-weight: 700;
}

.bag-panel__sub {
  font-size: 0.78rem;
  color: var(--ink-muted-light);
}

.bag-panel__items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bag-empty {
  margin: auto;
  text-align: center;
  color: var(--ink-muted-light);
  font-size: 0.9rem;
}

.bag-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-light-elev);
  border: 1px solid var(--line-light);
}

.bag-item__img {
  height: 62px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}

.bag-item__name {
  font-weight: 700;
  font-size: 0.94rem;
}

.bag-item__meta {
  font-size: 0.78rem;
  color: var(--ink-muted-light);
  margin-top: 2px;
}

.bag-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-light);
  margin-top: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.qty-val {
  padding-inline: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.bag-checkout-view {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bag-checkout-view[hidden],
.bag-receipt[hidden] {
  display: none !important;
}

.bag-panel__footer {
  padding: 16px 28px 24px;
  background: var(--bg-light-elev);
  border-top: 1px solid var(--line-light);
}

.bag-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.bag-input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line-light);
  background: var(--bg-light);
  font-size: 0.84rem;
  outline: none;
}

.bag-input:focus {
  border-color: var(--ink-on-light);
  background: var(--bg-light-elev);
}

.bag-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.bag-total-row strong {
  font-size: 1.22rem;
}

.bag-receipt {
  flex: 1;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.bag-receipt__seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink-on-light);
  color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.bag-receipt__code {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--cocoa-mocha);
  font-weight: 700;
}

.bag-receipt__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.bag-receipt__desc {
  font-size: 0.88rem;
  color: var(--ink-muted-light);
  line-height: 1.85;
  max-width: 34ch;
}

.bag-receipt__total {
  font-size: 1.02rem;
  font-weight: 700;
  padding: 10px 20px;
  border: 1px solid var(--line-light);
  background: var(--bg-light-elev);
  margin-block: 8px 12px;
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  z-index: 220;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 12px 24px;
  font-size: 0.84rem;
  font-weight: 500;
  border: 1px solid var(--line-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1120px) {
  .site-header__nav {
    display: none;
  }
}

@media (max-width: 1060px) {
  .hero-stage__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-stage__specs {
    flex-direction: row;
    justify-content: center;
    border-inline-start: none;
    border-top: 1px solid var(--line-light);
    padding-inline-start: 0;
    padding-top: 24px;
  }

  .spec-item {
    align-items: center;
  }

  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-stage {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .craft-bottle-rig {
    height: min(300px, 36vh);
  }

  .plinth-lineup {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .sommelier-stage {
    grid-template-columns: 1fr;
  }

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .archive-pedestal {
    display: none;
  }

  .guarantee-hero {
    grid-template-columns: 1fr;
  }

  .guarantee-pillars {
    grid-template-columns: 1fr;
  }

  .g-pillar {
    border-inline-end: none;
    border-bottom: 1px solid var(--line-dark);
  }
}

.ar-price-mob,
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* ------------------------------------------------------------------
     1. MOBILE SECTION ORDERING (HERO -> 38 PERFUMES -> 50ML -> NICHE -> COMPASS -> CRAFT -> GUARANTEE)
     ------------------------------------------------------------------ */
  #smooth-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 62px;
  }

  #hero,
  #archive,
  #volumes,
  #niche-runway,
  #sommelier,
  #craft-runway,
  #guarantee {
    scroll-margin-top: 66px;
  }

  #hero { order: 1; }
  #archive { order: 2; }
  #volumes { order: 3; }
  #niche-runway { order: 4; }
  #sommelier { order: 5; }
  #craft-runway { order: 6; }
  #guarantee { order: 7; }

  /* ------------------------------------------------------------------
     2. COMPACT MOBILE HEADER
     ------------------------------------------------------------------ */
  .brand-sep,
  .brand-wordmark {
    display: none;
  }

  .site-header {
    height: 58px;
  }

  .site-header__inner {
    padding-inline: 4vw;
  }

  .brand-ar {
    font-size: 1.08rem;
  }

  .header-cta {
    padding: 7px 11px;
    font-size: 0.76rem;
    gap: 6px;
  }

  .lang-switch {
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  /* ------------------------------------------------------------------
     3. ACT I — COMPACT SINGLE-SCREEN MOBILE HERO
     ------------------------------------------------------------------ */
  .hero-stage {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-stage__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-block: 14px 20px;
    text-align: center;
  }

  /* Put Bottle Visual right below Headline or keep Copy compact + Bottle prominent */
  .hero-stage__copy {
    order: 1;
  }

  .eyebrow-row {
    justify-content: center;
    margin-bottom: 8px;
  }

  .eyebrow-en {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.24;
    margin-bottom: 10px;
  }

  html[lang='en'] .hero-title {
    font-size: 1.75rem;
  }

  .hero-lead {
    font-size: 0.84rem;
    line-height: 1.68;
    margin-bottom: 14px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .hero-cta-row .btn-dark,
  .hero-cta-row .btn-outline-dark {
    padding: 12px 10px;
    font-size: 0.78rem;
    width: 100%;
  }

  .hero-stage__sculpture {
    order: 2;
    margin-block: 2px;
  }

  .flacon-rig {
    width: 100%;
    height: 215px;
  }

  .flacon-aura {
    width: 190px;
    height: 190px;
  }

  .flacon-reflection {
    display: none;
  }

  .mist-trigger {
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 0.72rem;
  }

  .hero-stage__specs {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--line-light);
    padding-top: 14px;
  }

  .spec-item {
    align-items: center;
    text-align: center;
  }

  .spec-item__num {
    font-size: 1.32rem;
  }

  .spec-item__label {
    font-size: 0.7rem;
  }

  .hero-telemetry {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-telemetry__cell {
    padding: 11px 14px;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-telemetry__cell strong {
    font-size: 0.75rem;
  }

  .hero-telemetry__scroll {
    display: none;
  }

  /* ------------------------------------------------------------------
     4. ACT VI (ORDER 2 ON MOBILE) — 2-COLUMN LUXURY PERFUME BOUTIQUE GRID
     ------------------------------------------------------------------ */
  .archive-section {
    padding: 44px 0 52px;
    border-top: 1px solid var(--line-light);
  }

  .section-header--split {
    gap: 14px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.62rem;
  }

  .section-sub {
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .archive-search-wrap {
    width: 100%;
  }

  .archive-search {
    padding: 11px 14px;
    font-size: 0.84rem;
  }

  /* Symmetrical 2x2 Category Filter Grid */
  .collection-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .col-tab {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  /* 2-Column Perfume Product Cards */
  .archive-index {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border-top: none;
  }

  .archive-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 6px;
    padding: 12px 10px;
    background: var(--bg-light-elev);
    border: 1px solid var(--line-light);
    position: relative;
  }

  .archive-row.is-selected {
    border-inline-start: 1px solid var(--ink-on-light);
    border-color: var(--ink-on-light);
  }

  .ar-num {
    position: absolute;
    top: 8px;
    inset-inline-start: 9px;
    font-size: 0.66rem;
    z-index: 3;
  }

  .ar-thumb-wrap {
    width: 100%;
    height: 132px;
    background: var(--bg-light-plinth);
    padding: 10px 6px;
    margin-bottom: 2px;
  }

  .ar-thumb {
    max-height: 112px;
    filter: drop-shadow(0 10px 14px rgba(37, 37, 37, 0.22));
  }

  .ar-names {
    width: 100%;
    align-items: center;
    gap: 2px;
  }

  .ar-names__ar {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .ar-names__en {
    font-size: 0.68rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ar-notes {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.7rem;
    color: var(--ink-muted-light);
    width: 100%;
  }

  .ar-price-mob {
    display: block;
    font-size: 0.75rem;
    color: var(--cocoa-mocha);
    margin-top: 2px;
  }

  .ar-price-mob strong {
    color: var(--ink-on-light);
    font-weight: 700;
  }

  .ar-cta {
    width: 100%;
    padding: 9px 10px;
    background: var(--ink-on-light);
    color: var(--bg-light);
    border-color: var(--ink-on-light);
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 4px;
  }

  /* ------------------------------------------------------------------
     5. ACT III (ORDER 3 ON MOBILE) — 3-EDITION 50ML PLINTH
     ------------------------------------------------------------------ */
  .volumes-section {
    padding: 48px 0;
    border-top: 1px solid var(--line-light);
  }

  .volume-tabs {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 22px;
  }

  .vol-tab {
    padding: 12px 6px;
    align-items: center;
    text-align: center;
  }

  .vol-tab__size {
    font-size: 0.88rem;
  }

  .vol-tab__name {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .plinth-stage {
    padding: 24px 12px 18px;
  }

  .plinth-lineup {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    min-height: 190px;
    padding-bottom: 14px;
  }

  .lineup-bottle-wrap {
    height: 140px;
  }

  .lineup-caption {
    font-size: 0.68rem;
  }

  .lineup-caption strong {
    font-size: 0.74rem;
  }

  .volume-readout {
    padding: 18px 16px;
    gap: 14px;
  }

  .volume-readout__title {
    font-size: 1.15rem;
  }

  .volume-readout__desc {
    font-size: 0.82rem;
  }

  .volume-readout__meta {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .volume-readout__meta .btn-dark {
    width: 100%;
    padding: 12px;
  }

  /* ------------------------------------------------------------------
     6. ACT IV (ORDER 4 ON MOBILE) — TOUCH HORIZONTAL SWIPE NICHE GALLERY
     ------------------------------------------------------------------ */
  .niche-runway {
    height: auto !important;
    padding: 48px 0;
  }

  .niche-sticky {
    position: relative;
    height: auto;
    padding: 0;
    gap: 20px;
  }

  .hscroll-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .hscroll-viewport::-webkit-scrollbar {
    display: none;
  }

  .hscroll-track {
    position: relative;
    height: auto;
    padding-inline: 4vw;
    gap: 12px;
    transform: none !important;
    width: max-content;
  }

  .niche-slide {
    width: 84vw;
    height: auto;
    scroll-snap-align: center;
    border: 1px solid var(--line-dark);
    background: rgba(250, 246, 240, 0.03);
    padding: 22px 16px;
  }

  .niche-slide__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
    width: 100%;
  }

  .niche-slide__visual {
    order: -1;
    height: 185px;
  }

  .niche-slide__ar {
    font-size: 1.55rem;
  }

  .niche-pyramid,
  .niche-slide__actions {
    justify-content: center;
  }

  .niche-pyramid {
    margin-bottom: 18px;
    gap: 6px;
  }

  .niche-note {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  /* ------------------------------------------------------------------
     7. ACT V (ORDER 5 ON MOBILE) — OLFACTORY SOMMELIER
     ------------------------------------------------------------------ */
  .sommelier-section {
    padding: 48px 0;
  }

  .sommelier-controls {
    gap: 12px;
    margin-bottom: 22px;
  }

  .mood-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .mood-pill {
    padding: 11px 10px;
    font-size: 0.76rem;
    gap: 6px;
  }

  .gender-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .g-btn {
    text-align: center;
    padding: 10px 8px;
  }

  .som-card {
    padding: 22px 18px;
    gap: 14px;
  }

  .som-card__visual {
    height: 165px;
  }

  /* ------------------------------------------------------------------
     8. ACT II (ORDER 6 ON MOBILE) — VERTICAL DISSECTION CARDS (NO SCROLL LOCK)
     ------------------------------------------------------------------ */
  .craft-runway {
    height: auto !important;
    padding: 48px 0;
  }

  .craft-sticky {
    position: relative;
    height: auto;
    padding: 0;
    gap: 20px;
  }

  .craft-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .craft-progress-steps {
    gap: 14px;
    font-size: 0.66rem;
  }

  .craft-stage {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    gap: 20px;
  }

  .craft-bottle-viewport {
    height: 220px;
  }

  .craft-bottle-rig {
    height: 200px;
  }

  .craft-panels {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
  }

  .craft-panel {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 20px 16px;
    border: 1px solid var(--line-dark);
    background: rgba(250, 246, 240, 0.03);
  }

  .panel-heading {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .panel-body {
    font-size: 0.86rem;
    margin-bottom: 18px;
  }

  /* ------------------------------------------------------------------
     9. ACT VII (ORDER 7 ON MOBILE) — GUARANTEE & MONUMENTAL FOOTER
     ------------------------------------------------------------------ */
  .guarantee-section {
    padding-top: 48px;
  }

  .guarantee-title {
    font-size: 1.75rem;
  }

  .duo-sculpture {
    height: 230px;
  }

  .g-pillar {
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
    padding: 36px 0 32px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    order: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-house-title {
    align-items: center;
  }

  .footer-manifesto {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .footer-status-pill {
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .footer-col--concierge {
    grid-column: 1 / -1;
    order: 2;
  }

  .footer-concierge-card {
    padding: 18px 16px;
  }

  .footer-grid > .footer-col:not(.footer-col--brand):not(.footer-col--concierge) {
    order: 3;
  }

  .footer-link {
    font-size: 0.76rem;
    padding: 5px 0;
  }

  .site-footer__monolith {
    padding: 32px 0 28px;
    gap: 14px;
  }

  .seal-line__emblem {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }

  .footer-bottom__copy {
    align-items: center;
    font-size: 0.75rem;
  }

  .footer-bottom__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .footer-lang-link {
    justify-content: center;
  }

  /* ------------------------------------------------------------------
     10. MODALS & FIXED MOBILE THUMB NAVIGATION BAR
     ------------------------------------------------------------------ */
  .quick-sheet {
    padding: 20px 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .quick-sheet__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quick-sheet__visual {
    height: 175px;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 150;
    height: 60px;
    background: rgba(37, 37, 37, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(250, 246, 240, 0.14);
  }

  .mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(250, 246, 240, 0.62);
    border-inline-end: 1px solid rgba(250, 246, 240, 0.08);
    font-size: 0.68rem;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .mob-nav-item:last-child {
    border-inline-end: none;
  }

  .mob-nav-item.is-active {
    color: var(--ink-on-dark);
    background: rgba(214, 188, 159, 0.12);
  }

  .mob-nav-idx {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cocoa-latte);
  }

  .mob-nav-bag {
    background: rgba(214, 188, 159, 0.16);
    color: var(--ink-on-dark);
  }
}

/* ==========================================================================
   TOP-RIGHT 3-LINE BURGER BUTTON & ROYAL NAVIGATION DRAWER
   ========================================================================== */
.site-header__leading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.nav-drawer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line-light);
  height: 38px;
  padding-inline: 12px;
  cursor: pointer;
  color: inherit;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

body[data-stage-theme='dark'] .nav-drawer-toggle {
  border-color: var(--line-dark);
}

.nav-drawer-toggle:hover {
  background: rgba(37, 37, 37, 0.06);
}

body[data-stage-theme='dark'] .nav-drawer-toggle:hover {
  background: rgba(250, 246, 240, 0.08);
}

.nav-burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 12px;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.25s ease;
}

.nav-burger-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}

@media (max-width: 540px) {
  .nav-burger-text {
    display: none;
  }
  .nav-drawer-toggle {
    padding-inline: 10px;
  }
}

/* SLIDE-IN OFF-CANVAS DRAWER */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(390px, 88vw);
  background: #1e1e1e;
  color: #FAF6F0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

html[dir='rtl'] .nav-drawer__panel {
  right: 0;
  transform: translateX(100%);
  border-inline-start: 1px solid rgba(214, 188, 159, 0.22);
}

html[dir='ltr'] .nav-drawer__panel {
  left: 0;
  transform: translateX(-100%);
  border-inline-end: 1px solid rgba(214, 188, 159, 0.22);
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
}

.drawer-brand-ar {
  display: block;
  font-family: var(--font-ar);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAF6F0;
  line-height: 1.2;
}

.drawer-brand-sub {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: #D6BC9F;
  margin-top: 2px;
}

.nav-drawer__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 246, 240, 0.18);
  color: #FAF6F0;
  font-size: 1.1rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-drawer__close:hover {
  background: rgba(250, 246, 240, 0.12);
  border-color: #D6BC9F;
}

.nav-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D6BC9F;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(214, 188, 159, 0.2);
}

.drawer-group__num {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 10px;
  color: rgba(250, 246, 240, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, padding-inline 0.25s ease;
  border-radius: 2px;
  text-align: inherit;
  width: 100%;
}

.drawer-link:hover {
  background: rgba(250, 246, 240, 0.06);
  color: #FAF6F0;
  padding-inline-start: 16px;
}

.drawer-link__title {
  font-family: inherit;
}

.drawer-link__meta {
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 0.04em;
}

.drawer-badge {
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: #D6BC9F;
  color: #252525;
}

.drawer-link--wa {
  border: 1px dashed rgba(214, 188, 159, 0.4);
  background: rgba(214, 188, 159, 0.05);
  margin-top: 6px;
}

.drawer-link--wa:hover {
  background: rgba(214, 188, 159, 0.12);
  border-color: #D6BC9F;
}

.nav-drawer__footer {
  padding: 18px 24px;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #181818;
}

.drawer-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-lang-label {
  font-size: 0.78rem;
  opacity: 0.7;
}

.drawer-lang-pills {
  display: flex;
  gap: 6px;
}

.drawer-pill {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(250, 246, 240, 0.2);
  color: rgba(250, 246, 240, 0.8);
  transition: all 0.25s ease;
}

.drawer-pill.is-active,
.drawer-pill:hover {
  background: #FAF6F0;
  color: #252525;
  border-color: #FAF6F0;
}

.drawer-legal-en {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.45;
  text-align: center;
}

/* SERVER GATEWAY CONFIGURATION MODAL */
.server-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.server-modal[hidden] {
  display: none;
}

.server-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.server-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 92vw);
  background: var(--bg-light);
  color: var(--ink-on-light);
  border: 1px solid var(--line-light);
  padding: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.server-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
}

.server-modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.server-modal__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 18px;
}

.server-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.server-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.server-status-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-light);
  background: rgba(37, 37, 37, 0.03);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.server-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
}

.server-status-indicator.is-online {
  background: #2e7d32;
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.6);
}

.server-status-indicator.is-offline {
  background: #c62828;
}

.server-actions {
  display: flex;
  gap: 10px;
}

.server-actions button {
  flex: 1;
}

.receipt-wa-btn {
  margin-top: 12px;
  background: #252525 !important;
  color: #FAF6F0 !important;
  border: 1px solid #D6BC9F !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.receipt-wa-btn:hover {
  background: #181818 !important;
  border-color: #FAF6F0 !important;
}



