
/* ----------------------------------------------------------------------
   view-mode.css — chrome added by publish-to-website.py.
   Only in the public/offerings build. Layers:
     1. The deck (deck-stage, with its built-in thumbnail rail visible)
     2. Click zones (left = back, right = next) + fullscreen button
     3. Compact hint pill (auto-fades, dismisses on first action)
     4. Mobile fallback screen (shown instead of everything else on phones)
   ---------------------------------------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1B262A;
  font-family: 'Calibri', 'Tajawal', 'Manrope', sans-serif;
}

/* When the mobile-block screen is showing, the deck and chrome are hidden
   completely so nothing leaks through behind it. */
body.vm-mobile-block deck-stage,
body.vm-mobile-block .vm-fs-btn,
body.vm-mobile-block .vm-hint { display: none !important; }

/* ====================================================================
   FULLSCREEN BUTTON — top-right, highest z-index so it's always clickable.
   ==================================================================== */
.vm-fs-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2147483700;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 38, 42, 0.78);
  color: #FBF7EE;
  border: 1px solid rgba(251, 247, 238, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.vm-fs-btn:hover {
  background: rgba(197, 106, 65, 0.92);
  transform: scale(1.05);
}
.vm-fs-btn svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
/* Pulsing ring while the hint is active — draws the eye without text. */
.vm-fs-btn--highlight {
  box-shadow: 0 0 0 0 rgba(232, 153, 106, 0.55);
  animation: vm-pulse 1.8s ease-out infinite;
}
@keyframes vm-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(232, 153, 106, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(232, 153, 106, 0); }
  100% { box-shadow: 0 0 0 0   rgba(232, 153, 106, 0); }
}

/* ====================================================================
   CLICK ZONES — RIGHT side = next, LEFT side = back.
   Z-index above the deck's built-in tap zones (2147482000).
   ==================================================================== */
/* No DOM zones — navigation is handled by a document-level click
   listener in view-mode.js that defers to any underlying <a>/<button>
   (Faris 2026-05-16: zones-as-DOM were stealing agenda link clicks
   because they sat on top of the slide, so e.target was always the
   zone instead of the link). */

/* ====================================================================
   HINT PILL — compact, bottom-center, auto-fades after a few seconds.
   Replaces the previous spotlight overlay per Faris's feedback that
   the onboarding should be light and minimal on desktop.
   ==================================================================== */
.vm-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 2147483680;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(15, 22, 25, 0.82);
  border: 1px solid rgba(251, 247, 238, 0.14);
  border-radius: 999px;
  color: rgba(251, 247, 238, 0.92);
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.vm-hint--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.vm-hint__group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vm-hint__keys {
  display: inline-flex;
  gap: 4px;
}
.vm-hint__kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(251, 247, 238, 0.1);
  border: 1px solid rgba(251, 247, 238, 0.22);
  font-size: 13px;
  font-weight: 600;
  color: #FBF7EE;
}
.vm-hint__sep {
  width: 1px;
  height: 18px;
  background: rgba(251, 247, 238, 0.18);
}
.vm-hint__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ====================================================================
   MOBILE BLOCK — full-viewport elegant message. The deck never renders
   on screens narrower than 900px (covers all phones; tablets in
   landscape are fine, tablets in portrait get the block).
   ==================================================================== */
.vm-mobile {
  position: fixed;
  inset: 0;
  z-index: 2147483740;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  background: linear-gradient(160deg, #1B262A 0%, #0F1619 100%);
  color: #FBF7EE;
  text-align: center;
  font-family: 'Calibri', 'Tajawal', 'Manrope', sans-serif;
}
body.vm-mobile-block .vm-mobile { display: flex; }

.vm-mobile__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  opacity: 0.92;
}
.vm-mobile__brand img { width: 44px; height: 44px; object-fit: contain; }
.vm-mobile__brand-name { font-size: 26px; font-weight: 600; }

.vm-mobile__icon {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  color: #E8996A;
  opacity: 0.92;
}
.vm-mobile__icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; }

.vm-mobile__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 14px;
  max-width: 420px;
}
.vm-mobile__body {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.78;
  max-width: 380px;
  margin: 0 0 32px;
}

.vm-mobile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(251, 247, 238, 0.06);
  border: 1px solid rgba(251, 247, 238, 0.2);
  border-radius: 999px;
  color: #FBF7EE;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.vm-mobile__cta:hover {
  background: rgba(251, 247, 238, 0.1);
  border-color: rgba(251, 247, 238, 0.32);
}
