/* Movedeck live deck player
   Brand: Char / Stage / Linen / Ember / Deep Ember / Amber, Urbanist only.
   One Amber light per screen. */

@font-face { font-family: "Urbanist"; font-weight: 300; font-display: swap; src: url("../assets/fonts/Urbanist-Light.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 400; font-display: swap; src: url("../assets/fonts/Urbanist-Regular.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 600; font-display: swap; src: url("../assets/fonts/Urbanist-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 700; font-display: swap; src: url("../assets/fonts/Urbanist-Bold.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 800; font-display: swap; src: url("../assets/fonts/Urbanist-ExtraBold.woff2") format("woff2"); }

:root {
  --char: #120A07; --stage: #1E100A; --linen: #FFF6EE;
  --ember: #FF6B4A; --deep: #A8381C; --amber: #FFB547;
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --glide: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--char); color: var(--linen); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------------------------------------------ board */
.md-viewport {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 246, 238, .07) 1px, transparent 1.4px) 0 0 / 28px 28px,
    var(--char);
}
.md-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.md-path { position: absolute; left: 0; overflow: visible; pointer-events: none; }
.seg-base { fill: none; stroke: rgba(255, 246, 238, .12); stroke-width: 5; stroke-dasharray: 2 18; stroke-linecap: round; }
.seg-run { fill: none; stroke: var(--ember); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; transition: stroke-dashoffset 1.1s var(--glide) .15s; }
.seg-run.on { stroke-dashoffset: 0; }

.md-slide {
  position: absolute; width: 1920px; height: 1080px; border-radius: 44px; overflow: hidden;
  box-shadow: 0 60px 140px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 246, 238, .06);
  transition: opacity .6s ease, filter .6s ease;
}
.md-inner { position: absolute; inset: 0; }
.md-viewport:not(.is-overview) .md-slide:not(.is-current) { opacity: .38; filter: saturate(.6); }
.is-overview .md-slide { cursor: pointer; }
.is-overview .md-slide:hover { box-shadow: 0 0 0 12px var(--ember); }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* ------------------------------------------------------------------ looks */
.look-spotlight { --bg: var(--stage); --fg: var(--linen); --muted: rgba(255, 246, 238, .66); --faint: rgba(255, 246, 238, .3); --hl: var(--ember); --ink: rgba(255, 246, 238, .86); --accent: var(--ember); --wash: rgba(255, 246, 238, .05); background: var(--bg); color: var(--fg); }
.look-linen { --bg: var(--linen); --fg: var(--char); --muted: rgba(18, 10, 7, .66); --faint: rgba(18, 10, 7, .28); --hl: var(--deep); --ink: var(--char); --accent: var(--ember); --wash: rgba(255, 107, 74, .1); background: var(--bg); color: var(--fg); }
.look-chalk {
  --bg: #1A0F0A; --fg: #F6EDE4; --muted: rgba(246, 237, 228, .7); --faint: rgba(246, 237, 228, .3); --hl: var(--amber); --ink: rgba(246, 237, 228, .9); --accent: var(--amber); --wash: rgba(246, 237, 228, .05);
  color: var(--fg);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .93 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 20%, rgba(255, 246, 238, .05), transparent 60%),
    var(--bg);
}
.look-chalk .ink { filter: url(#chalk); }
.look-chalk .s-title, .look-chalk .list-item { text-shadow: 0 0 1px rgba(246, 237, 228, .5); }

.spot-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 68% -8%, rgba(168, 56, 28, .62), rgba(168, 56, 28, .16) 45%, transparent 72%); }
.spot-glow--center { background: radial-gradient(ellipse 55% 65% at 50% -6%, rgba(168, 56, 28, .7), transparent 70%); }
.look-linen .spot-glow { background: radial-gradient(ellipse 55% 60% at 70% -10%, rgba(255, 181, 71, .22), transparent 70%); }

/* ------------------------------------------------------------------ type */
.s-head { position: absolute; left: 150px; top: 120px; right: 150px; }
.s-count { margin: 0 0 34px; font-size: 22px; font-weight: 700; letter-spacing: .18em; color: var(--hl); display: flex; gap: 26px; align-items: center; }
.s-count--abs { position: absolute; left: 150px; top: 120px; }
.s-eyebrow { color: var(--muted); text-transform: uppercase; }
.s-title { margin: 0; font-size: 96px; line-height: 1.04; font-weight: 700; letter-spacing: -.035em; max-width: 1500px; }
.s-title--xl { font-size: 132px; letter-spacing: -.04em; }
.s-title--md { font-size: 80px; }
.s-sub { margin: 34px 0 0; font-size: 36px; line-height: 1.45; color: var(--muted); max-width: 1160px; }
.hl { font-style: normal; color: var(--hl); }
.s-descriptor { margin: 0 0 40px; font-size: 22px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.s-display { margin: 0; font-size: 150px; line-height: .98; font-weight: 700; letter-spacing: -.045em; max-width: 1240px; }
.s-by { margin: 60px 0 0; font-size: 26px; color: var(--muted); }

.s-beats { position: absolute; right: 150px; top: 132px; display: flex; gap: 10px; }
.s-beats i { width: 14px; height: 6px; border-radius: 3px; background: var(--faint); transition: width .4s var(--glide), background .4s; }
.s-beats i.on { background: var(--hl); }
.s-beats i.on:last-of-type, .s-beats i.on + i:not(.on) { }
.s-beats i.on { width: 34px; }

/* ------------------------------------------------------------------ beats */
[data-step] { transition: opacity .55s ease, transform .7s var(--glide); }
div[data-step], p[data-step], text[data-step], g[data-step], rect[data-step]:not(.grow), line[data-step], circle[data-step], path[data-step]:not(.draw) { opacity: 0; }
div[data-step].on, p[data-step].on, text[data-step].on, g[data-step].on, rect[data-step].on, line[data-step].on, circle[data-step].on, path[data-step].on:not(.draw) { opacity: 1; }
.spot-beam.on { opacity: 1; }
p[data-step]:not(.on), div[data-step]:not(.on) { transform: translateY(18px); }
.pop[data-step] { transform: translateY(26px) scale(.96); transform-box: fill-box; transform-origin: center; }
.pop[data-step].on { transform: none; }
.dim { opacity: .38; transition: opacity .6s ease .35s; }

.ink { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.ink.accent { stroke: var(--accent); }
.ink.faint { stroke: var(--faint); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.55, .1, .3, 1), opacity .3s; }
.draw.on { stroke-dashoffset: 0; }
.draw[data-until]:not(.on) { opacity: 0; }
.wash { fill: var(--wash); }
.wash--solid { fill: var(--wash); }
.wash.accent { fill: rgba(255, 107, 74, .16); }
.sketch-label { font-family: var(--font); font-size: 34px; font-weight: 600; fill: var(--fg); }
.sketch-label.muted { fill: var(--muted); font-weight: 400; }
.sketch-label.accent { fill: var(--accent); font-weight: 700; }
.sketch-label.big { font-size: 64px; font-weight: 700; letter-spacing: -.03em; }

/* title */
.t-title .s-hero { position: absolute; left: 150px; top: 50%; transform: translateY(-50%); }
.s-markwrap { position: absolute; right: 120px; top: 110px; width: 150px; }
.mark { display: block; width: 100%; height: auto; }
.mk-beam { fill: var(--amber); fill-opacity: .3; }
.mk-light { fill: var(--amber); }
.mk-slide { fill: #fff; }
.mk-bar { fill: var(--ember); }
.look-linen .mk-slide { fill: var(--char); }

/* statement spotlight motif */
.spot-beam { fill: var(--amber); fill-opacity: .26; }
.spot-light { fill: var(--amber); }
.spot-card { fill: var(--char); }
.look-spotlight .spot-card { fill: #fff; }
.spot-bar { fill: var(--ember); }
.t-statement .s-head { top: 50%; transform: translateY(-50%); }
.t-statement.has-spot .s-head { right: 700px; }

/* word */
.w-lead { position: absolute; left: 0; right: 0; top: 300px; text-align: center; font-size: 44px; color: var(--muted); margin: 0; }
.w-word { position: absolute; left: 0; right: 0; top: 380px; margin: 0; text-align: center; font-size: 300px; font-weight: 800; letter-spacing: -.05em; line-height: 1; text-transform: lowercase; }
.w-after { position: absolute; left: 0; right: 0; top: 760px; margin: 0; text-align: center; font-size: 52px; font-weight: 700; letter-spacing: -.02em; }

/* number */
.n-big { position: absolute; left: 140px; top: 360px; margin: 0; font-size: 400px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--amber); font-variant-numeric: tabular-nums; }
.n-label { position: absolute; left: 150px; top: 800px; margin: 0; font-size: 44px; font-weight: 600; max-width: 1300px; }

/* charts */
.axis { stroke: var(--faint); stroke-width: 3; }
.axis-label { font-family: var(--font); font-size: 22px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; fill: var(--muted); }
.bar { fill: var(--faint); transform-box: fill-box; transform-origin: center bottom; transition: transform .9s var(--glide), fill .6s ease; }
.bar.grow { transform: scaleY(0); }
.bar.grow.on { transform: scaleY(var(--s)); }
.bar--hl { fill: var(--accent); }
.callout { font-family: var(--font); font-size: 40px; font-weight: 700; fill: var(--accent); letter-spacing: -.01em; }
.marker { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 6 10; }

/* steps */
.step-num { font-family: var(--font); font-size: 22px; font-weight: 700; letter-spacing: .18em; fill: var(--hl); }
.step-title { font-family: var(--font); font-size: 48px; font-weight: 700; letter-spacing: -.02em; fill: var(--fg); }
.step-sub { font-family: var(--font); font-size: 28px; fill: var(--muted); }

/* list */
.list-item { font-family: var(--font); font-size: 60px; font-weight: 600; fill: var(--fg); letter-spacing: -.02em; }
.list-item.dim { opacity: .45; }
.list-dot { fill: var(--accent); }

/* room */
.seat { transition: opacity .6s ease; }
.seat-head { fill: var(--linen); opacity: .82; transition: fill .7s ease, opacity .7s ease; transition-delay: inherit; }
.seat-phone { fill: #CFE3FF; opacity: 0; transition: opacity .5s ease; transition-delay: inherit; }
.seat.is-lost .seat-head { opacity: .16; }
.seat.is-lost .seat-phone { opacity: .9; }
.seat.is-lit .seat-head { fill: var(--amber); opacity: 1; }
.look-linen .seat-head { fill: var(--char); }

/* split + prompter minis */
.mini { fill: var(--wash); stroke: var(--faint); stroke-width: 3; }
.mini--clean { fill: var(--bg); stroke: var(--ink); }
.look-linen .mini--clean { fill: #fff; }
.mini-line { fill: var(--faint); }
.mini-one { fill: var(--accent); }
.mini-n { font-family: var(--font); font-size: 20px; font-weight: 700; letter-spacing: .14em; fill: var(--muted); }
.prompt-line { font-family: var(--font); font-size: 34px; font-weight: 600; fill: var(--muted); }
.prompt-line.is-now { fill: var(--fg); font-weight: 700; }

/* end */
.t-end .e-box { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.e-lockup { display: flex; align-items: center; gap: 36px; }
.mark--lockup { width: 150px; }
.e-word { font-size: 150px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.e-line { margin: 44px 0 64px; font-size: 44px; color: var(--muted); }
.t-end .s-descriptor { margin: 0; }

/* ------------------------------------------------------------------ app UI */
.md-ui { position: fixed; inset: 0; pointer-events: none; z-index: 5; transition: opacity .35s ease; }
.md-ui > * { pointer-events: auto; }
.ui-hidden .md-ui { opacity: 0; }
.ui-hidden .md-ui > * { pointer-events: none; }
.ui-top { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; align-items: center; gap: 12px; }
.ui-brand { color: var(--linen); text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 18px; }
.ui-brand svg { width: 26px; height: 26px; }
.ui-title { color: rgba(255, 246, 238, .55); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ui-spacer { flex: 1; }
.ui-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(30, 16, 10, .86); border: 1px solid rgba(255, 246, 238, .12); backdrop-filter: blur(8px); white-space: nowrap; }
.ui-btn:hover { border-color: rgba(255, 246, 238, .3); }
.ui-btn[aria-pressed="true"] { border-color: var(--ember); color: var(--ember); }
.ui-btn--amber { background: var(--amber); color: var(--char); border-color: var(--amber); }
.ui-btn--amber:hover { border-color: var(--amber); filter: brightness(1.05); }
.ui-bottom { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 999px; background: rgba(30, 16, 10, .86); border: 1px solid rgba(255, 246, 238, .12); backdrop-filter: blur(8px); max-width: calc(100vw - 32px); }
.ui-nav { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.ui-nav:hover { background: rgba(255, 246, 238, .08); }
.ui-rail { display: flex; gap: 6px; align-items: center; overflow: hidden; }
.ui-rail button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 246, 238, .22); transition: width .35s var(--glide), background .3s; padding: 0; }
.ui-rail button.done { background: rgba(255, 107, 74, .5); }
.ui-rail button.now { width: 26px; background: var(--ember); }
.ui-count { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 246, 238, .6); min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.ui-hints { position: absolute; right: 18px; bottom: 22px; font-size: 12px; color: rgba(255, 246, 238, .38); letter-spacing: .04em; }
.ui-hints kbd { font-family: var(--font); font-weight: 700; color: rgba(255, 246, 238, .6); }

.notes { position: absolute; left: 16px; bottom: 76px; width: min(460px, calc(100vw - 32px)); max-height: 46vh; overflow: auto; padding: 18px 20px; border-radius: 20px; background: rgba(30, 16, 10, .94); border: 1px solid rgba(255, 246, 238, .12); font-size: 16px; line-height: 1.55; display: none; }
.notes.open { display: block; }
.notes h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.notes p { margin: 0 0 10px; color: rgba(255, 246, 238, .55); }
.notes p.now { color: var(--linen); }

.pen-layer { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.pen-on .pen-layer { pointer-events: auto; cursor: crosshair; }
.laser { position: fixed; z-index: 6; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 6px rgba(255, 107, 74, .25), 0 0 30px 8px rgba(255, 107, 74, .5); pointer-events: none; display: none; }
.laser-on .laser { display: block; }
.laser-on .md-viewport { cursor: none; }
.blackout { position: fixed; inset: 0; background: #000; z-index: 20; display: none; }
.is-black .blackout { display: block; }

.is-inline .ui-top .ui-btn:not(#btn-overview):not(#btn-full), .is-inline .ui-title, .is-inline .ui-hints { display: none; }
.is-inline .ui-bottom { bottom: 10px; }
@media (max-width: 720px) {
  .ui-title, .ui-hints, .ui-btn .lbl { display: none; }
  .ui-rail { max-width: 46vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
