/* x-pitch.css: the demo banner, the hidden website bits and the welcome pop-up (nywc-pitch.js). Loaded last. */
:root { --demo-h: 0px; }

/* ---------- Banner: always at the top, the header sticks just below it ---------- */
.nywc-banner {
  position: sticky; top: 0; z-index: 22;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(6px + env(safe-area-inset-top)) var(--gutter) 6px;
  background: var(--hi); color: #1d1408;
  font: 600 12.5px/1.35 var(--sans); letter-spacing: 0;
}
.nywc-banner p { margin: 0; flex: 1 1 0; min-width: 0; }
@media (min-width: 620px) { .nywc-banner { font-size: 13.5px; } }
.nywc-banner-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.nywc-banner :is(.demo-reset, .demo-back) {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px;
  border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
  font: 700 12.5px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nywc-banner :is(.demo-reset, .demo-back):hover { background: #1d1408; color: var(--hi); border-color: #1d1408; }
.nywc-banner :is(.demo-reset, .demo-back):focus-visible { outline: 2px solid #1d1408; outline-offset: 2px; }
/* "Back office" only where it's needed: the door check-in and the staff portal. */
body[data-area="staff"] .demo-back { display: none; }

.top { top: var(--demo-h); padding-top: 0; min-height: var(--top-h); }
.sticky-tools { top: calc(var(--top-h) + var(--demo-h)); }
.tt-corner, .tt-head { top: calc(var(--top-h) + var(--demo-h) + 48px); }
html { scroll-padding-top: calc(var(--top-h) + var(--demo-h) + 16px); }
@media (min-width: 840px) {
  .cal-layout > .cal-wrap { top: calc(var(--top-h) + var(--demo-h) + 24px); }
}
@media (min-width: 960px) {
  .tabs { top: calc(var(--top-h) + var(--demo-h)); }
  .sticky-tools { top: calc(var(--top-h) + var(--demo-h) + 48px); }
  html:has(body[data-area="staff"]), html:has(body[data-area="team"]) { scroll-padding-top: calc(var(--top-h) + var(--demo-h) + 64px); }
}

/* ---------- Back office only: no website links, no video, no site findings ---------- */
body:is([data-area="staff"], [data-area="door"]) :is(.top-actions, #view) a[href="#/"] { display: none; }
#reel-launch, #before-after { display: none !important; }

/* ---------- Welcome pop-up ---------- */
.nywc-welcome { max-width: 460px; }
.nywc-welcome-logo { display: block; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; }
.nywc-welcome h2 { margin-bottom: 12px; }
.nywc-welcome p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.nywc-welcome .modal-actions { margin-top: 18px; }
@media (max-width: 420px) { .nywc-welcome .modal-actions { grid-template-columns: 1fr; } .nywc-welcome .modal-actions .btn-primary { order: -1; } }
