/* =============================================================================
 * 1891 — product marcom base
 * Shared, palette-driven marketing skeleton for the sign-first product sites:
 * Imagination Town · Heart Space · Game Lab · Visual Quiz.
 *
 * Each page sets its own palette by overriding the --mc-* tokens in an inline
 * :root block, then adds a small <style> for its bespoke hero mock. Structure,
 * type scale, motion and responsive behaviour all live here so the four read
 * as one family. Light theme; serif headlines; captions/keyboard-first ethos.
 *
 * Class names mirror the dinnertable marketing site so /assets/js/marcom.js
 * (nav toggle, scroll-reveal, mock ticker) drives every page unchanged.
 * ========================================================================== */
:root {
  /* neutral defaults — every product page overrides these */
  --mc-bg:      #fbf8f3;
  --mc-bg-2:    #f4eee4;
  --mc-card:    #ffffff;
  --mc-line:    #e7ddcd;
  --mc-ink:     #1d2433;
  --mc-ink-2:   #4a5568;
  --mc-ink-3:   #7b8694;
  --mc-accent:  #2f6fb0;   /* primary action + links */
  --mc-accent-ink: #ffffff;/* text that sits on --mc-accent */
  --mc-accent-2:#e0913a;   /* secondary highlight */
  --mc-ok:      #2f9e6b;
  --mc-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mc-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mc-max: 1080px;
}

* { box-sizing: border-box; }
/* scrollbar-gutter: reserve the scrollbar's space always, so opening a demo
   (body.dm-open sets overflow:hidden) can't shift the page sideways. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--mc-sans);
  color: var(--mc-ink);
  background:
    radial-gradient(1100px 620px at 50% -12%, var(--mc-bg-2) 0%, var(--mc-bg) 60%) fixed;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--mc-serif); line-height: 1.16; font-weight: 600; letter-spacing: -0.01em; }
a { color: var(--mc-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.container { max-width: var(--mc-max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mc-ink-2); }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px;
  font-size: 1rem; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; transition: transform .08s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--mc-accent); color: var(--mc-accent-ink); border-color: var(--mc-accent); }
.btn-outline { background: transparent; color: var(--mc-ink); border-color: var(--mc-line); }
.btn-outline:hover { border-color: var(--mc-accent); }
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--mc-bg) 86%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mc-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--mc-ink); font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--mc-serif); font-size: 1.16rem; }
.brand__kin { color: var(--mc-ink-3); font-weight: 500; font-size: .9rem; font-family: var(--mc-sans); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--mc-ink-2); font-size: .96rem; position: relative; }
.site-nav a:not(.btn):hover { color: var(--mc-ink); text-decoration: none; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--mc-accent); transition: right .25s ease;
}
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--mc-line);
  color: var(--mc-ink); border-radius: 9px; padding: 7px 12px; font-size: .95rem; cursor: pointer; font-family: inherit; }

/* ---- Hero ---- */
.hero { padding: 84px 0 52px; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .15em; font-size: .76rem;
  color: var(--mc-accent); font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.45rem); margin: 0 auto 18px; max-width: 17ch; }
.hero h1 .hl { color: var(--mc-accent); }
.hero__sub { font-size: clamp(1.05rem, 2.3vw, 1.3rem); color: var(--mc-ink-2);
  max-width: 46ch; margin: 0 auto 30px; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 20px; font-size: .9rem; color: var(--mc-ink-3); }

/* ---- The hero / showcase frame (a little device window) ---- */
.mock, .frame {
  background: var(--mc-card); border: 1px solid var(--mc-line);
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(20,30,50,.10);
}
.mock { margin: 48px auto 0; max-width: 540px; text-align: left; }
.frame__bar, .mock__bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-size: .8rem;
  color: var(--mc-ink-3); background: var(--mc-bg-2); border-bottom: 1px solid var(--mc-line);
}
.frame__dot, .mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mc-ok); flex: none;
  box-shadow: 0 0 0 0 rgba(47,158,107,.5); }
/* Settle after load: status dots hold still (was a perpetual mc-pulse ring). */
.mock__body { padding: 20px; }

/* a signed-letter pill, shared across the mocks */
.signpill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px;
  background: color-mix(in srgb, var(--mc-accent) 12%, var(--mc-card));
  border: 1px solid color-mix(in srgb, var(--mc-accent) 40%, var(--mc-line));
  color: var(--mc-ink); font-weight: 600; font-size: .92rem;
}
.signpill__hand { font-size: 1.05rem; }
.signpill__letter { font-family: var(--mc-serif); font-weight: 700; color: var(--mc-accent); }

/* ---- Sections ---- */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 42ch; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 12px; }
.section-head p { color: var(--mc-ink-2); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--mc-card); border: 1px solid var(--mc-line);
  border-radius: 16px; padding: 26px 22px; }
.step__n { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--mc-accent);
  color: var(--mc-accent-ink); font-weight: 700; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--mc-ink-2); }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who__card { background: var(--mc-card); border: 1px solid var(--mc-line);
  border-radius: 14px; padding: 22px; }
.who__card h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--mc-accent); }
.who__card p { margin: 0; color: var(--mc-ink-2); font-size: .97rem; }
.who__card .who__where { display: block; margin-top: 12px; font-size: .82rem; color: var(--mc-ink-3); }

/* ---- Feature showcases (frame beside copy) ---- */
.showcase {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 16px 0;
}
.showcase + .showcase { margin-top: 16px; }
.showcase__demo { min-width: 0; }
.showcase--reverse .showcase__demo { order: 2; }
.showcase__copy h3 { font-size: 1.5rem; margin: 0 0 10px; }
.showcase__copy p { color: var(--mc-ink-2); margin: 0; }
.showcase__demo .frame__body { padding: 18px 18px 22px; }
.tag {
  display: inline-block; margin-top: 16px; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--mc-accent);
  border: 1px solid color-mix(in srgb, var(--mc-accent) 45%, transparent); border-radius: 999px; padding: 4px 12px;
}
.spark { color: var(--mc-accent-2); }

/* ---- Values band ---- */
.band { background: var(--mc-bg-2); border-top: 1px solid var(--mc-line);
  border-bottom: 1px solid var(--mc-line); }
.band .container { max-width: 48ch; }
.band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.band p { color: var(--mc-ink-2); font-size: 1.08rem; }

/* ---- Pricing / engagement ---- */
.toggle { display: inline-flex; gap: 4px; background: var(--mc-bg-2);
  border: 1px solid var(--mc-line); border-radius: 999px; padding: 4px; margin: 0 auto 32px; }
.toggle button { border: none; background: none; color: var(--mc-ink-2); font-family: inherit;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: .95rem; font-weight: 600; }
.toggle button.on { background: var(--mc-accent); color: var(--mc-accent-ink); }
.toggle .save { color: var(--mc-ok); font-size: .8rem; margin-left: 4px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.plans--four { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; background: var(--mc-card); border: 1px solid var(--mc-line);
  border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan--feature { border-color: var(--mc-accent); box-shadow: 0 0 0 1px var(--mc-accent) inset; }
.plan__badge { position: absolute; top: -11px; right: 18px; font-size: .64rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--mc-accent); color: var(--mc-accent-ink); }
.plan__name { font-family: var(--mc-serif); font-size: 1.3rem; margin: 0 0 4px; }
.plan__tag { color: var(--mc-ink-3); font-size: .88rem; margin: 0 0 16px; min-height: 2.4em; }
.plan__price { font-size: 2.2rem; font-weight: 700; font-family: var(--mc-serif); }
.plan__price small { font-size: .95rem; color: var(--mc-ink-2); font-weight: 400; }
.plan__from { font-size: .95rem; font-weight: 400; font-family: var(--mc-sans); color: var(--mc-ink-3); }
.plan__per { color: var(--mc-ink-3); font-size: .84rem; min-height: 1.2em; margin: 2px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--mc-ink-2); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--mc-ok); font-weight: 700; }
.plan .btn { width: 100%; text-align: center; }

/* installation / quote panel (Imagination Town, Heart Space, and the "Bring it
   to your space" panels) */
.quote { max-width: 920px; margin: 0 auto; background: var(--mc-card);
  border: 1px solid var(--mc-line); border-radius: 20px; padding: 36px 32px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.quote__head h3 { font-size: 1.5rem; margin: 0 0 10px; }
.quote__head p { color: var(--mc-ink-2); margin: 0 0 18px; }
.quote__list { list-style: none; padding: 0; margin: 0; }
.quote__list li { padding: 7px 0 7px 28px; position: relative; color: var(--mc-ink-2); }
.quote__list li::before { content: "→"; position: absolute; left: 0; color: var(--mc-accent); font-weight: 700; }
.quote__cta { text-align: center; }
.quote__cta .plan__price { display: block; margin-bottom: 6px; }
.quote__note { color: var(--mc-ink-3); font-size: .85rem; margin-top: 14px; }

/* ---- FAQ ---- */
.faq { max-width: 44rem; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--mc-line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mc-accent); }
.faq summary::after { content: "+"; float: right; color: var(--mc-accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--mc-ink-2); margin: 12px 0 0; }

/* ---- CTA ---- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 22px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--mc-line); padding: 40px 0 48px; margin-top: 30px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--mc-ink-2); margin-right: 18px; font-size: .92rem; transition: color .2s ease; }
.site-footer a:hover { color: var(--mc-ink); }
.site-footer__line { color: var(--mc-ink-3); font-size: .85rem; width: 100%; }
.site-footer__line em { font-style: normal; color: var(--mc-ink-2); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .quote { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .quote__list { display: inline-block; text-align: left; }
}
@media (max-width: 900px) {
  .plans, .plans--four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px;
    background: var(--mc-bg); border-bottom: 1px solid var(--mc-line); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; width: 100%; }
  .site-nav .btn { margin-top: 8px; }
  .steps, .who, .plans, .plans--four { grid-template-columns: 1fr; }
  .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 22px; }
  .showcase--reverse .showcase__demo { order: 0; }
  .showcase__copy { text-align: center; }
  .showcase__demo { width: 100%; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .plans, .plans--four { max-width: 420px; }
}

/* =============================================================================
 * Motion — gated behind html.anim (set inline in <head> only when the visitor
 * hasn't asked for reduced motion). Reduced-motion users get a calm static page.
 * ========================================================================== */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(20,30,50,.10); }

html.anim .btn { transition: transform .14s ease, box-shadow .22s ease, border-color .15s ease, background .15s ease, color .15s ease; }
html.anim .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--mc-accent) 38%, transparent); }
html.anim .btn-outline:hover { transform: translateY(-2px); }
html.anim .btn:active { transform: translateY(0); }

html.anim .step, html.anim .who__card, html.anim .plan {
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease, opacity .6s ease;
}
html.anim .step:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,30,50,.12); border-color: var(--mc-accent); }
html.anim .who__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,30,50,.12); border-color: var(--mc-accent); }
html.anim .plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,30,50,.16); }
html.anim .step__n { transition: transform .25s ease; }
html.anim .step:hover .step__n { transform: scale(1.12) rotate(-5deg); }
html.anim .brand__mark { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
html.anim .brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }

/* Settle after load: the featured plan keeps its static accent ring (base
   .plan--feature) instead of a perpetual mc-breathe glow. */
/* Settle after load: device mockups hold still (was a perpetual mc-float bob);
   the one-time mc-rise entrance below stays. */
html.anim .showcase__demo .frame { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease; }
html.anim .showcase__demo:hover .frame { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(20,30,50,.16); }

/* hero entrance */
html.anim .hero .kicker, html.anim .hero h1, html.anim .hero__sub,
html.anim .hero__ctas, html.anim .hero__note {
  opacity: 0; animation: mc-rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}
html.anim .hero h1 { animation-delay: .05s; }
html.anim .hero__sub { animation-delay: .13s; }
html.anim .hero__ctas { animation-delay: .22s; }
html.anim .hero__note { animation-delay: .3s; }
html.anim .mock { animation: mc-rise .7s cubic-bezier(.2,.7,.2,1) .34s both; } /* one-time entrance only — no perpetual float */
@keyframes mc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* scroll-reveal */
html.anim .section-head, html.anim .step, html.anim .who__card, html.anim .plan,
html.anim .showcase, html.anim .quote, html.anim .band .container,
html.anim .faq details, html.anim .cta .container {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
html.anim .is-in,
html.anim .band .container.is-in,
html.anim .faq details.is-in,
html.anim .cta .container.is-in { opacity: 1; transform: none; }

/* live ticker line in the hero mock (JS swaps rows) */
html.anim .ticker-line.enter { animation: mc-tin .5s cubic-bezier(.2,.7,.2,1); }
html.anim .ticker-line.leave { animation: mc-tout .4s ease forwards; }
@keyframes mc-tin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mc-tout { to { opacity: 0; transform: translateY(-6px); } }

/* =============================================================================
 * Installations — the main event. A clear definition + named venue cards
 * (hospitals / schools / airports / museums) that lift and glow on hover.
 * ========================================================================== */
.install { position: relative; }
.install__def {
  max-width: 980px; margin: 0 auto 36px; background: var(--mc-card);
  border: 1px solid var(--mc-line); border-left: 5px solid var(--mc-accent);
  border-radius: 18px; padding: 28px 30px;
}
.install__def h3 { font-size: 1.4rem; margin: 0 0 10px; }
.install__def p { color: var(--mc-ink-2); margin: 0; font-size: 1.05rem; }
.install__def strong { color: var(--mc-ink); }

.venues { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1040px; margin: 0 auto; }
.venue {
  background: var(--mc-card); border: 1px solid var(--mc-line); border-radius: 16px;
  padding: 24px 20px; text-align: left; position: relative; overflow: hidden;
}
.venue::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--mc-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.venue__icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; border-radius: 14px; margin-bottom: 14px;
  background: color-mix(in srgb, var(--mc-accent) 12%, var(--mc-card));
  border: 1px solid color-mix(in srgb, var(--mc-accent) 30%, var(--mc-line));
}
.venue h3 { font-size: 1.12rem; margin: 0 0 6px; }
.venue p { color: var(--mc-ink-2); font-size: .94rem; margin: 0; }
html.anim .venue { transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .26s ease, border-color .2s ease; }
html.anim .venue:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,30,50,.13); border-color: color-mix(in srgb, var(--mc-accent) 45%, var(--mc-line)); }
html.anim .venue:hover::before { transform: scaleX(1); }
html.anim .venue__icon { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
html.anim .venue:hover .venue__icon { transform: scale(1.12) rotate(-4deg); }

.install__what { max-width: 980px; margin: 34px auto 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
  background: var(--mc-bg-2); border: 1px solid var(--mc-line); border-radius: 18px; padding: 30px 32px; }
.install__what h3 { font-size: 1.3rem; margin: 0 0 14px; }
.install__what ul { list-style: none; padding: 0; margin: 0; }
.install__what li { padding: 6px 0 6px 28px; position: relative; color: var(--mc-ink-2); }
.install__what li::before { content: "→"; position: absolute; left: 0; color: var(--mc-accent); font-weight: 700; }
.install__cta { text-align: center; }
.install__cta .plan__price { display: block; margin-bottom: 6px; }

/* =============================================================================
 * Click-to-start demo embed — the camera NEVER loads until the visitor clicks.
 * Poster state shows a play affordance; JS swaps in the recognizer iframe.
 * ========================================================================== */
.demo-embed { position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--mc-line); background: var(--mc-bg-2); aspect-ratio: 16 / 10; }
/* The card is a clean image tile: cover thumbnail, a centred play circle, and
   the title in a bottom bar over a scrim. No per-card caption — the page intro
   already explains the camera-on-press behaviour. */
.demo-embed__start {
  position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer;
  border: 0; background: transparent; color: #fff; font-family: inherit; padding: 0; display: block;
}
.demo-embed__poster { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(120% 100% at 30% 16%, color-mix(in srgb, var(--mc-accent) 22%, transparent) 0%, transparent 62%),
    var(--mc-bg-2); }
.demo-embed__poster img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; display: block; }
/* a scrim across the bottom so the title + play read on any thumbnail */
.demo-embed__poster::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(12,16,28,.80) 0%, rgba(12,16,28,.14) 42%, rgba(12,16,28,.04) 100%); }
/* clean centred play circle — icon only; the button keeps its aria-label for a11y */
.demo-embed__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; padding: 0; gap: 0; font-size: 0;
  background: rgba(255,255,255,.94); color: var(--mc-accent); box-shadow: 0 6px 22px rgba(0,0,0,.30);
  display: flex; align-items: center; justify-content: center; }
.demo-embed__play::before { content: "▶"; font-size: 1.25rem; line-height: 1; margin-left: 4px; }
.demo-embed__cam { display: none; }
.demo-embed__title { position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 2;
  color: #fff; font-weight: 700; font-size: .98rem; text-align: left; background: none; padding: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.demo-embed__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.demo-embed__close { position: absolute; top: 10px; right: 10px; z-index: 3; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 999px; width: 30px; height: 30px; font-size: 16px; line-height: 1; }
html.anim .demo-embed { transition: transform .2s ease, box-shadow .25s ease; }
html.anim .demo-embed:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,30,50,.18); }
html.anim .demo-embed__play { transition: transform .16s ease, background .16s ease; }
html.anim .demo-embed:hover .demo-embed__play { transform: translate(-50%,-50%) scale(1.1); background: #fff; }

/* ---- Full-screen demo modal (a tile opens the game BIG, not inline) ---- */
.dm-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dm-modal__backdrop { position: absolute; inset: 0; background: rgba(8,10,18,.74); backdrop-filter: blur(3px); }
.dm-modal__panel { position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(1040px, 96vw); height: min(88vh, 820px);
  background: var(--mc-card, #fff); border-radius: 16px; overflow: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,.5); animation: dm-pop .22s cubic-bezier(.2,.7,.2,1); }
@keyframes dm-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.dm-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px 13px 20px; border-bottom: 1px solid var(--mc-line); flex: none; }
.dm-modal__title { font-family: var(--mc-serif); font-weight: 600; font-size: 1.1rem; color: var(--mc-ink); }
.dm-modal__close { flex: none; cursor: pointer; width: 38px; height: 38px; border-radius: 999px;
  background: var(--mc-bg-2); border: 1px solid var(--mc-line); color: var(--mc-ink); font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center; }
.dm-modal__close:hover { background: var(--mc-line); }
.dm-modal__stage { flex: 1; min-height: 0; background: #0a0d18; position: relative; }
.dm-modal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.dm-modal__note { flex: none; margin: 0; padding: 10px 18px 12px; font-size: .8rem; color: var(--mc-ink-3);
  background: var(--mc-card); border-top: 1px solid var(--mc-line); text-align: center; }
body.dm-open { overflow: hidden; }
@media (max-width: 600px) {
  .dm-modal { padding: 0; }
  .dm-modal__panel { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .dm-modal__panel { animation: none; } }

@media (max-width: 900px) { .venues { grid-template-columns: 1fr 1fr; } .install__what { grid-template-columns: 1fr; gap: 22px; text-align: center; } .install__what ul { display: inline-block; text-align: left; } }
@media (max-width: 520px) { .venues { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html.anim .mock, html.anim .plan--feature, html.anim .mock__dot, html.anim .frame__dot { animation: none !important; }
  html.anim .section-head, html.anim .step, html.anim .who__card, html.anim .plan,
  html.anim .showcase, html.anim .quote, html.anim .band .container, html.anim .faq details,
  html.anim .cta .container, html.anim .hero .kicker, html.anim .hero h1, html.anim .hero__sub,
  html.anim .hero__ctas, html.anim .hero__note {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
