/* Greater Zion showcase. 435 Locals palette: cream, deep teal, one gold accent. */
@font-face { font-family: 'Open Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/open-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/open-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-display: swap; src: url(fonts/open-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-display: swap; src: url(fonts/open-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 800; font-display: swap; src: url(fonts/open-sans-latin-800-normal.woff2) format('woff2'); }

:root {
  --bg: #F5F3EE;
  --ink: #173C40;
  --teal: #245C61;
  --night: #102D30;
  --gold: #FFC83D;
  --gold-ink: #6B4E00;
  --wash: #E3EFED;
  --line: #DCE6E4;
  --card: #FFFFFF;
  --muted: #55696B;
  --shadow: 0 0.6rem 1.6rem rgba(23, 60, 64, 0.12), 0 0.1rem 0.3rem rgba(23, 60, 64, 0.08);
  --r: 1.3rem;
  --pad: clamp(1rem, 4vw, 2.2rem);
  --top-h: 4.1rem;
  --chips-h: 3.3rem;
  color-scheme: light;
}
/* Big type on the kiosk, normal type on a laptop. 1080x1920 → 24px, 862x740 → 15px, 1440x900 → ~20px. */
html { font-size: clamp(15px, calc(0.9vw + 0.75vh), 24px); scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + var(--chips-h)); }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.4; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bar + chip rail ---------- */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad); background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 0.6rem; background: none; border: 0; padding: 0.3rem 0; }
.brand-logo { height: 2.4rem; width: auto; display: block; }
.pager { display: flex; align-items: center; gap: 0.5rem; }
.pager-label { font-weight: 700; color: var(--muted); font-size: 0.9rem; margin-right: 0.3rem; white-space: nowrap; }
.round {
  width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 0; background: var(--teal); color: #fff;
  font-size: 1.7rem; line-height: 1; display: grid; place-items: center; padding-bottom: 0.2rem;
  box-shadow: var(--shadow);
}
.round:active { transform: scale(0.95); }
.chips {
  position: sticky; top: var(--top-h); z-index: 29; height: var(--chips-h);
  display: flex; gap: 0.5rem; align-items: center; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--pad) 0.5rem; background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 2px solid var(--line); background: #fff; color: var(--teal);
  font-weight: 700; font-size: 0.95rem; padding: 0.45rem 1rem; border-radius: 999px; white-space: nowrap;
}
.chip.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- sections ---------- */
main { padding-bottom: 4rem; }
.ch {
  min-height: calc(100svh - var(--top-h) - var(--chips-h));
  padding: 1.6rem var(--pad) 2.6rem; scroll-snap-align: start;
  max-width: 1500px; margin: 0 auto;
}
.ch + .ch { border-top: 1px solid var(--line); }
.eyebrow { font-weight: 800; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem; }
.dark-eyebrow { color: var(--teal); }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 7.4vw, 5rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
.accent { display: inline-block; position: relative; color: var(--gold); }
.accent::after {
  content: ''; position: absolute; left: 0; right: 4%; bottom: -0.12em; height: 0.12em;
  background: var(--gold); border-radius: 0.1em; transform: rotate(-1.2deg);
}
.on-cream .accent { color: var(--teal); }
.on-cream .accent::after { background: var(--gold); }
.sub { font-size: 1.15rem; max-width: 36ch; margin: 1rem 0 0; }

/* chapter hero: a photo band with the headline on it */
.hero {
  position: relative; display: block; width: 100%; border: 0; padding: 0; text-align: left;
  border-radius: 1.6rem; overflow: hidden; height: clamp(18rem, 40vh, 44rem);
  background: var(--night); color: #fff; box-shadow: var(--shadow);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.kiosk > img, .hero.desk > img { object-position: top center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,45,48,0) 30%, rgba(16,45,48,0.55) 58%, rgba(16,45,48,0.92) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.7rem 1.7rem; z-index: 1; }
.hero .sub { color: #F2F5F4; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr)); gap: 0.9rem; margin: 1.3rem 0 0; }
.stat {
  border: 0; text-align: left; background: #fff; border-radius: var(--r); padding: 1rem 1.15rem 1.05rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.25rem; min-height: 6.4rem;
}
.stat b { font-size: clamp(2rem, 4.8vw, 3rem); font-weight: 800; line-height: 1; color: var(--teal); letter-spacing: -0.02em; }
.stat span { font-size: 0.95rem; font-weight: 600; color: var(--muted); line-height: 1.25; }

/* example cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.card {
  border: 0; padding: 0; text-align: left; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.card:active { transform: scale(0.985); }
.pic { position: relative; aspect-ratio: 4 / 3; background: var(--wash); overflow: hidden; }
.pic > img { width: 100%; height: 100%; object-fit: cover; }
/* screenshots peek up out of a teal panel, like a phone held up */
.pic.shot, .pic.kiosk { background: linear-gradient(160deg, var(--teal), var(--night)); }
.pic.shot > img { width: 58%; height: auto; margin: 9% auto 0; border-radius: 0.9rem 0.9rem 0 0; box-shadow: 0 0.5rem 1.6rem rgba(0,0,0,0.35); border: 0.3rem solid #0b1d1f; border-bottom: 0; }
.pic.kiosk > img { width: 62%; height: auto; margin: 7% auto 0; border-radius: 0.6rem 0.6rem 0 0; box-shadow: 0 0.5rem 1.6rem rgba(0,0,0,0.35); border: 0.35rem solid #0b1d1f; border-bottom: 0; }
.pic.desk > img { object-position: top center; }
.pic.print { background: linear-gradient(160deg, #EDE6D8, #D9CFBC); }
.pic.print > img { width: auto; height: 86%; margin: 7% auto 0; box-shadow: 0 0.6rem 1.4rem rgba(0,0,0,0.25); border-radius: 0.2rem; }
.tag {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px;
  background: #fff; color: var(--teal); box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.15);
}
.tag.live { background: var(--teal); color: #fff; }
.tag.live::before { content: ''; display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: #7CE0B5; margin-right: 0.4em; vertical-align: 0.08em; }
.tag.next, .tag.soon { background: var(--gold); color: var(--ink); }
.badge360 { position: absolute; right: 0.8rem; top: 0.8rem; z-index: 2; background: rgba(16,45,48,0.85); color: #fff; font-weight: 800; font-size: 0.78rem; padding: 0.3rem 0.6rem; border-radius: 999px; }
.card-body { padding: 0.95rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.3rem; }
.card-title { font-size: 1.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.card-line { font-size: 0.95rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- home ---------- */
.home-hero { height: clamp(26rem, 58vh, 70rem); }
.home-hero .fade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 30s infinite; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1.04); } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; } }
.home-hero .hero-text { padding: 2rem 1.9rem 2rem; }
.home-hero .sub { font-size: 1.3rem; max-width: 30ch; }
.lockup { position: absolute; z-index: 2; top: 1.4rem; left: 1.6rem; display: flex; align-items: center; gap: 0.7rem; background: rgba(245,243,238,0.94); padding: 0.55rem 0.95rem; border-radius: 999px; box-shadow: var(--shadow); }
.lockup img { height: 2.1rem; }
.lockup span { font-weight: 800; color: var(--teal); }
.prepared { position: absolute; z-index: 2; top: 1.6rem; right: 1.6rem; color: #fff; font-weight: 700; font-size: 0.85rem; text-align: right; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; align-items: center; }
.btn {
  text-decoration: none; display: inline-block; text-align: center;
  border: 0; border-radius: 999px; padding: 0.95rem 1.6rem; font-weight: 800; font-size: 1.1rem;
  background: var(--gold); color: var(--ink); box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.2);
}
.btn.ghost { background: rgba(255,255,255,0.16); color: #fff; box-shadow: none; border: 2px solid rgba(255,255,255,0.5); }
.btn.teal { background: var(--teal); color: #fff; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1.2rem; }
.numbers .stat { min-height: 7.2rem; }
.section-label { font-weight: 800; font-size: 1.35rem; margin: 2rem 0 0; letter-spacing: -0.01em; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 0.9rem; }
.door { position: relative; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: var(--night); color: #fff; text-align: left; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door.shot img, .door.kiosk img, .door.desk img { object-position: top center; }
.door::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,45,48,0) 35%, rgba(16,45,48,0.88)); }
.door span { position: absolute; left: 1rem; bottom: 0.85rem; z-index: 1; font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.door small { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }

/* ---------- the web ---------- */
.intro { padding: 0.4rem 0 0; }
.web-stage { position: relative; width: min(100%, 64rem); aspect-ratio: 1 / 1; margin: 1.2rem auto 0; }
.web-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.web-line { stroke: var(--teal); stroke-opacity: 0.25; stroke-width: 0.45; fill: none; }
.web-flow { stroke: var(--gold); stroke-width: 0.7; fill: none; stroke-linecap: round; stroke-dasharray: 1.2 3.2; animation: flow 2.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -8.8; } }
.web-center { position: absolute; left: 50%; top: 50%; width: 19%; transform: translate(-50%, -50%); border: 0; padding: 0; background: none; z-index: 3; }
.web-phone { width: 100%; aspect-ratio: 9 / 16; border-radius: 1.4rem; overflow: hidden; border: 0.4rem solid #0b1d1f; box-shadow: 0 1rem 2.4rem rgba(0,0,0,0.3); background: #fff; }
.web-phone img { width: 100%; }
.web-center-label { display: block; margin-top: 0.5rem; font-weight: 800; font-size: 0.95rem; text-align: center; }
.node { position: absolute; width: 21%; transform: translate(-50%, -50%); border: 0; padding: 0; background: none; text-align: center; z-index: 2; }
.node .ring { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 0.3rem solid #fff; box-shadow: var(--shadow); background: var(--wash); }
.node .ring img { width: 100%; height: 100%; object-fit: cover; }
.node .ring.shot img { object-position: top center; }
.node b { display: inline-block; margin-top: 0.45rem; background: var(--teal); color: #fff; font-weight: 800; font-size: 0.95rem; padding: 0.3rem 0.8rem; border-radius: 999px; white-space: nowrap; }
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; counter-reset: step; }
.step { position: relative; border: 0; padding: 0; text-align: left; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.step .pic { aspect-ratio: 4 / 3; }
.step .pic img { object-position: top center; }
.step-n { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.2); }
.step .card-body { padding: 0.75rem 0.9rem 0.95rem; }
.step .card-title { font-size: 1.1rem; }

/* ---------- next: Las Vegas ---------- */
.corridor { margin-top: 1.4rem; background: linear-gradient(165deg, var(--teal), var(--night)); border-radius: 1.6rem; padding: 1.4rem; box-shadow: var(--shadow); color: #fff; }
.corridor svg { width: 100%; height: auto; display: block; }
.corridor .town { fill: #fff; font-weight: 800; font-family: inherit; }
.corridor .small { fill: #CFE3E0; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }

/* ---------- partner ---------- */
.partner-panel { background: linear-gradient(165deg, var(--teal), var(--night)); color: #fff; border-radius: 1.6rem; padding: 2rem 1.8rem; box-shadow: var(--shadow); }
.partner-panel .sub { color: #E8F0EE; max-width: 40ch; font-size: 1.3rem; }
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ask .pic { aspect-ratio: 3 / 4; }
.ask .card-line { -webkit-line-clamp: unset; display: block; }
/* Websites chapter: a laptop and a phone instead of one screenshot */
.hero.devices { background: radial-gradient(120% 90% at 70% 10%, #2F6E73, var(--night)); }
.hero.devices::after { background: linear-gradient(180deg, rgba(16,45,48,0) 45%, rgba(16,45,48,0.85) 78%); }
.dev-stage { position: absolute; left: 7%; right: 7%; top: 7%; height: 54%; }
.dev-desk { position: absolute; left: 0; top: 0; width: 82%; aspect-ratio: 16 / 8.6; border-radius: 0.8rem; overflow: hidden; border: 0.45rem solid #0b1d1f; border-bottom-width: 1rem; box-shadow: 0 1rem 2.4rem rgba(0,0,0,0.4); background: #fff; }
.dev-desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev-phone { position: absolute; right: 0; top: 18%; width: 25%; aspect-ratio: 390 / 844; border-radius: 1.2rem; overflow: hidden; border: 0.35rem solid #0b1d1f; box-shadow: 0 1rem 2.4rem rgba(0,0,0,0.45); background: #fff; }
.dev-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ask .pic img { object-position: top center; }
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: var(--ink); color: #fff; text-align: center; padding: 0.55rem 0.4rem 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.ribbon b { color: var(--gold); font-weight: 800; }
.closing { margin: 1.8rem 0 0; font-size: 1.45rem; font-weight: 700; line-height: 1.3; max-width: 40ch; }
.contact { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; background: #fff; border-radius: var(--r); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.contact .qr { width: 7.5rem; flex: none; }
.contact b { font-size: 1.25rem; display: block; }

/* ---------- detail sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10, 26, 28, 0.62); animation: fadeIn 0.2s ease; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 94svh; background: var(--bg);
  border-radius: 1.8rem 1.8rem 0 0; display: flex; flex-direction: column; overflow: hidden;
  animation: rise 0.28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -1rem 3rem rgba(0,0,0,0.3);
}
@keyframes rise { from { transform: translateY(8%); opacity: 0.4; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--pad) 0.6rem; }
.sheet-head .tag { position: static; box-shadow: none; }
.sheet-count { font-weight: 700; color: var(--muted); font-size: 0.95rem; margin-right: auto; margin-left: 0.6rem; }
.close { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 2rem; line-height: 1; display: grid; place-items: center; padding-bottom: 0.25rem; flex: none; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--pad) 1.2rem; display: grid; gap: 1.2rem; align-content: start; }
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.4rem 0 0.8rem; scrollbar-width: thin; }
.media { flex: none; scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; border: 0; padding: 0; background: none; }
.media figcaption { font-size: 0.95rem; font-weight: 600; color: var(--muted); text-align: center; max-width: 30ch; }
.frame-shot { height: clamp(22rem, 46svh, 52rem); aspect-ratio: 390 / 844; border-radius: 2rem; overflow: hidden; border: 0.45rem solid #0b1d1f; background: #fff; box-shadow: var(--shadow); }
.frame-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame-kiosk { height: clamp(22rem, 46svh, 52rem); aspect-ratio: 9 / 16; border-radius: 0.9rem; overflow: hidden; border: 0.6rem solid #0b1d1f; box-shadow: var(--shadow); background: #000; }
.frame-kiosk img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame-desk { height: clamp(15rem, 30svh, 34rem); aspect-ratio: 16 / 10; border-radius: 0.9rem; overflow: hidden; border: 0.45rem solid #0b1d1f; border-bottom-width: 1.1rem; box-shadow: var(--shadow); background: #fff; }
.frame-desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame-photo, .frame-map, .frame-pano { position: relative; height: clamp(15rem, 34svh, 38rem); max-width: 86vw; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--wash); }
.frame-photo img, .frame-map img, .frame-pano img { height: 100%; width: auto; max-width: none; }
.frame-photo { aspect-ratio: 4 / 3; } .frame-photo img { width: 100%; object-fit: cover; }
.frame-map img { width: auto; }
.frame-pano { aspect-ratio: 2 / 1; } .frame-pano img { width: 100%; object-fit: cover; }
.frame-print { height: clamp(18rem, 40svh, 44rem); border-radius: 0.3rem; overflow: hidden; box-shadow: 0 0.8rem 2rem rgba(0,0,0,0.25); background: #fff; }
.frame-print img { height: 100%; width: auto; }
.hint-chip { position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%); background: rgba(16,45,48,0.88); color: #fff; font-weight: 800; font-size: 0.9rem; padding: 0.5rem 1rem; border-radius: 999px; white-space: nowrap; }
.sheet-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin: 0; line-height: 1.05; letter-spacing: -0.02em; }
.sheet-line { font-size: 1.25rem; margin: 0.5rem 0 0; max-width: 46ch; }
.facts { list-style: none; padding: 0; margin: 0.2rem 0 0; display: grid; gap: 0.55rem; }
.facts li { position: relative; padding-left: 2rem; font-size: 1.1rem; font-weight: 600; }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23173C40' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.take { display: flex; gap: 1.2rem; align-items: center; background: #fff; border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.take .qr { width: clamp(7rem, 15vw, 10.5rem); flex: none; }
.qr svg { width: 100%; height: auto; display: block; }
.take-text { display: grid; gap: 0.35rem; min-width: 0; }
.take-text b { font-size: 1.25rem; }
.take-url { font-size: 0.9rem; color: var(--muted); word-break: break-all; }
.take .btn { justify-self: start; margin-top: 0.3rem; padding: 0.75rem 1.3rem; font-size: 1rem; }
.sheet-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 0.8rem var(--pad) calc(0.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.navbtn { border: 0; border-radius: 1rem; background: #fff; box-shadow: var(--shadow); padding: 0.75rem 1rem; text-align: left; display: grid; gap: 0.1rem; min-height: 4.2rem; }
.navbtn.next { text-align: right; background: var(--teal); color: #fff; }
.navbtn small { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.navbtn span { font-weight: 800; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note { background: var(--wash); border-radius: var(--r); padding: 1.1rem 1.2rem; font-size: 1.1rem; }
.note b { display: block; font-size: 2.6rem; color: var(--teal); line-height: 1; margin-bottom: 0.4rem; }

/* ---------- full-screen viewers ---------- */
.viewer { position: fixed; inset: 0; z-index: 70; background: #050d0e; color: #fff; }
.viewer[hidden] { display: none; }
.pano-stage { position: absolute; inset: 0; }
.viewer-top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--pad); background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0)); z-index: 3; pointer-events: none; }
.viewer-top > * { pointer-events: auto; }
.viewer .close { background: #fff; color: var(--ink); }
.viewer-cap { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 0.7rem; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.badge-360 { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0.2rem 0.6rem; font-size: 0.85rem; text-shadow: none; }
.viewer-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; background: rgba(0,0,0,0.55); padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 800; pointer-events: none; transition: opacity 0.6s; }
.pano-thumbs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 0.7rem; overflow-x: auto; padding: 1rem var(--pad) calc(1rem + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0,0,0,0.65), rgba(0,0,0,0)); }
.pano-thumbs button { flex: none; width: 10rem; border: 3px solid transparent; border-radius: 0.8rem; overflow: hidden; padding: 0; background: #000; }
.pano-thumbs button.on { border-color: var(--gold); }
.pano-thumbs img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.pano-thumbs span { display: block; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.4rem; color: #fff; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-scroll { position: absolute; inset: 0; overflow: auto; cursor: grab; display: grid; place-items: start center; }
.map-scroll img { max-width: none; user-select: none; -webkit-user-drag: none; }
.zoom { position: absolute; right: var(--pad); bottom: calc(1.4rem + env(safe-area-inset-bottom)); z-index: 3; display: grid; gap: 0.6rem; }
.zoom button { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 2rem; font-weight: 700; box-shadow: var(--shadow); }
.pnlm-load-box { background: rgba(0,0,0,0.6) !important; border-radius: 1rem !important; }

/* ---------- wide screens (laptop, desktop) ---------- */
/* ---------- live page inside the showcase ---------- */
.live-view { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--bg); animation: fadeIn 0.18s ease; }
.live-view[hidden] { display: none; }
.live-bar { flex: none; height: var(--top-h); display: flex; align-items: center; gap: 1rem; padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 0.3rem 1rem rgba(23, 60, 64, 0.1); position: relative; z-index: 3; }
.live-bar .close { width: 2.9rem; height: 2.9rem; }
.live-title { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 0.7rem; white-space: nowrap; }
.live-title .tag { position: static; flex: none; }
.live-title b { flex: 0 0 auto; max-width: 62%; font-size: 1.15rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.live-url { flex: 0 1 auto; min-width: 0; color: var(--muted); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; }
.live-out { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--ink); border: 2px solid var(--line); text-decoration: none; font-size: 1.35rem; font-weight: 800; }
.live-body { position: relative; flex: 1; min-height: 0; background: #fff; }
.live-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.live-wait { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--night); overflow: hidden; transition: opacity 0.35s ease; }
.live-wait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(0.55); transform: scale(1.08); }
.live-wait-msg { position: relative; display: flex; align-items: center; gap: 0.9rem; max-width: 86%; color: #fff; font-size: 1.15rem; background: rgba(16, 45, 48, 0.75); padding: 0.9rem 1.4rem; border-radius: 999px; }
.live-wait.done { opacity: 0; pointer-events: none; }
.spinner { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 700px) { .live-url { display: none; } .live-title { justify-content: flex-start; } }

/* ---------- the device in the pop-up: a big phone, a kiosk, or a browser ---------- */
.lv-stage { position: absolute; inset: 0; display: flex; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; background: radial-gradient(120% 90% at 50% 0%, #2F6E73, var(--night)); }
.lv-stage::-webkit-scrollbar { display: none; }
.lv-stage.desk { background: #fff; }
.lv-frame { position: relative; flex: none; margin: auto; overflow: hidden; background: #fff; }
.lv-stage.phone .lv-frame { border-radius: 2.4rem; box-shadow: 0 0 0 0.75rem #0b1d1f, 0 1.6rem 3rem rgba(0, 0, 0, 0.45); }
.lv-stage.kiosk .lv-frame { border-radius: 0.6rem; box-shadow: 0 0 0 0.8rem #0b1d1f, 0 1.6rem 3rem rgba(0, 0, 0, 0.45); }
.lv-view { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.live-view[data-mode="cap"] iframe { display: none; }
.live-view[data-mode="live"] .cap-pic { display: none; }
.cap-pic { position: absolute; inset: 0; }
.cap-scroll { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; }
.cap-scroll::-webkit-scrollbar { display: none; }
.cap-scroll img { display: block; width: 100%; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.cap-band { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; z-index: 2; }
.cap-band.top { top: 0; }
.cap-band.bottom { bottom: 0; }
.cap-hint { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; white-space: nowrap; background: rgba(16, 45, 48, 0.88); color: #fff; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 999px; pointer-events: none; animation: hintOut 3.4s ease forwards; }
.live-zoom { flex: none; display: flex; gap: 0.5rem; }
.live-zoom button { width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 2px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.7rem; font-weight: 800; line-height: 1; display: grid; place-items: center; padding-bottom: 0.15rem; }
.live-zoom button:disabled { opacity: 0.35; }
.live-view[data-mode="cap"][data-dev="desk"] .live-zoom { visibility: hidden; }
@keyframes hintOut { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

@media (min-aspect-ratio: 1/1) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero { height: clamp(18rem, 50vh, 40rem); }
  .home-hero { height: clamp(24rem, 70vh, 52rem); }
  .web-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: center; }
  .web-stage { margin-top: 0; }
  .vegas-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: 2rem; align-items: center; }
  .vegas-wrap .corridor { margin-top: 0; }
  .dev-stage { left: 46%; right: 4%; top: 8%; height: 84%; }
  .dev-desk { top: 6%; }
  .hero.devices .hero-text { right: 50%; }
  .hero.devices::after { background: linear-gradient(90deg, rgba(16,45,48,0.9) 0%, rgba(16,45,48,0.5) 48%, rgba(16,45,48,0) 60%); }
  .sheet-panel { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: min(96vw, 1400px); height: min(92svh, 900px); border-radius: 1.8rem; animation: fadeIn 0.2s ease; }
  .sheet-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; column-gap: 2rem; }
  .sheet-body .rail { grid-row: span 4; }
  .frame-shot, .frame-kiosk { height: min(64svh, 40rem); }
  .frame-photo, .frame-map, .frame-pano, .frame-desk { height: min(46svh, 26rem); }
  .frame-print { height: min(60svh, 34rem); }
}
@media (max-width: 700px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asks, .plans { grid-template-columns: 1fr; }
  .pager-label { display: none; }
  .web-center { width: 28%; }
  .node { width: 23%; }
  .node b { font-size: 0.75rem; padding: 0.2rem 0.55rem; }
  .take { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-hero .fade { animation: none; opacity: 0; }
  .home-hero .fade:first-of-type { opacity: 1; }
  .web-flow { animation: none; }
}
