/* Meridian sections and the Meridian film overlay. Shared by every /lab page; themes restyle through the custom properties
   below and never change the markup (CONTRACT.md). Rebuilt 2026-10-16 from the player before the dock redesign. */
:root {
  --mv-ink: #fff; --mv-paper: #0f1a24; --mv-accent: #a9cdee; --mv-glow: #a9cdee; --mv-radius: 14px;
  --mv-shade: linear-gradient(90deg, rgba(8,14,20,.78) 0%, rgba(8,14,20,.52) 34%, rgba(8,14,20,0) 62%);
  --mv-shade-tall: linear-gradient(0deg, rgba(8,14,20,.86) 0%, rgba(8,14,20,.55) 34%, rgba(8,14,20,0) 60%);
  --mv-font-display: "Lora", Georgia, serif; --mv-font-text: "Inter", system-ui, sans-serif;
  --mv-section-height: 100svh;
}

/* ---------- the section ---------- */
.mv-section { position: relative; min-height: var(--mv-section-height); overflow: hidden; background: var(--mv-paper); color: var(--mv-ink); isolation: isolate; }
.mv-stage { position: absolute; inset: 0; z-index: 0; }
.mv-tone { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-stage::after { content: ""; position: absolute; inset: 0; background: var(--mv-shade); pointer-events: none; z-index: 2; }
/* the glow sits under the shade, so the words over the picture keep their contrast where the item runs under them */
.mv-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: var(--mv-section-height); max-width: min(560px, 42vw); padding: 120px 0 80px clamp(24px, 6vw, 96px); box-sizing: border-box; pointer-events: none; }
.mv-copy > * { pointer-events: auto; }
.mv-eyebrow { font: 600 .74rem/1.2 var(--mv-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--mv-accent); margin: 0 0 18px; }
.mv-copy h1, .mv-copy h2 { font: 400 clamp(2.2rem, 4.2vw, 3.9rem)/1.06 var(--mv-font-display); letter-spacing: -.02em; margin: 0 0 22px; color: var(--mv-ink); text-wrap: balance; }
.mv-lede { font: 400 1.06rem/1.6 var(--mv-font-text); color: color-mix(in srgb, var(--mv-ink) 86%, transparent); margin: 0 0 30px; max-width: 30em; }
.mv-cta { display: inline-flex; align-items: center; gap: 12px; font: 600 .92rem/1 var(--mv-font-text); letter-spacing: .02em; color: var(--mv-paper);
  background: var(--mv-ink); border: 0; border-radius: 999px; padding: 15px 22px 15px 18px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.mv-cta::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mv-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center/16px no-repeat; }
.mv-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* the item's filled light-blue glow, drawn by meridian.js on this canvas over the loop from hotspot.at on */
.mv-glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* the tap target: hotspot.box, shown from hotspot.at on each loop */
.mv-hotspot { position: absolute; z-index: 3; border: 0; padding: 0; background: transparent; border-radius: var(--mv-radius); cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; -webkit-tap-highlight-color: transparent; }
.mv-section.mv-live .mv-hotspot { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.mv-hotspot:focus-visible { outline: 2px solid var(--mv-glow); outline-offset: 4px; }
/* a ring only for a row with no glow (a missing-data case, logged by meridian.js) */
.mv-section:not(.mv-masked) .mv-hotspot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--mv-glow);
  animation: mv-pulse 1.8s ease-out infinite; }
@keyframes mv-pulse { 0% { box-shadow: 0 0 0 0 rgb(169 205 238 / .6); } 70% { box-shadow: 0 0 0 22px rgb(169 205 238 / 0); } 100% { box-shadow: 0 0 0 0 rgb(169 205 238 / 0); } }

/* the hand: one fixed point where the item has landed (--hx, --hy from hotspot.finger), "Interactive" under it; it never moves,
   only taps, with a soft ring at the fingertip */
.mv-finger { position: absolute; left: var(--hx, 50%); top: var(--hy, 50%); width: 62px; margin: -8.4px 0 0 -28.4px; display: flex; flex-direction: column; align-items: center;
  pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.mv-finger svg { position: relative; flex: none; width: 62px; height: 62px; transform-origin: 28.4px 8.4px; filter: drop-shadow(0 6px 12px rgba(5,15,25,.5)); }
.mv-finger::before { content: ""; position: absolute; left: 28.4px; top: 8.4px; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  border: 2px solid var(--mv-glow); opacity: 0; }
.mv-finger b { margin-top: 2px; font: 650 .74rem/1 var(--mv-font-text); color: #0d2236; background: var(--mv-glow); padding: 6px 11px 6px; border-radius: 999px;
  letter-spacing: .05em; box-shadow: 0 6px 18px rgba(5,15,25,.4); white-space: nowrap; }
.mv-section.mv-live .mv-finger { opacity: 1; transition-delay: .25s; }
.mv-section.mv-live .mv-finger svg { animation: mv-tap 1.7s ease-in-out .6s infinite; }
.mv-section.mv-live .mv-finger::before { animation: mv-ripple 1.7s ease-out .6s infinite; }
@keyframes mv-tap { 0%, 100% { transform: none; } 32% { transform: scale(.88); } 50% { transform: none; } }
@keyframes mv-ripple { 0%, 28% { opacity: 0; transform: scale(.3); } 36% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .mv-hotspot::before, .mv-section.mv-live .mv-finger svg, .mv-section.mv-live .mv-finger::before { animation: none; } }

/* tall stage (a phone held upright): the picture at its own shape on top, the copy over its lower part and below it, so the
   item stays clear of the words */
.mv-section.mv-tall { min-height: 0; }
.mv-section.mv-tall .mv-stage { bottom: auto; height: calc(100vw * 1.7333); }
.mv-section.mv-tall .mv-stage::after { background: linear-gradient(180deg, rgba(0,0,0,0) 58%, var(--mv-paper) 99%); }
.mv-section.mv-tall .mv-copy { min-height: 0; max-width: none; justify-content: flex-start; padding: calc(100vw * 1.7333 * .74) 22px 52px; }
.mv-section.mv-tall .mv-copy h1, .mv-section.mv-tall .mv-copy h2 { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 14px; }
.mv-section.mv-tall .mv-lede { font-size: .98rem; margin-bottom: 22px; }

/* the grow from the item to the full screen */
.mv-grow { position: fixed; z-index: 10000; background: #000 center/cover no-repeat; border-radius: var(--mv-radius); pointer-events: none;
  transition: left .62s cubic-bezier(.7,0,.2,1), top .62s cubic-bezier(.7,0,.2,1), width .62s cubic-bezier(.7,0,.2,1), height .62s cubic-bezier(.7,0,.2,1), border-radius .62s ease; }

/* ---------- the film ---------- */
html.mv-open, html.mv-open body { overflow: hidden !important; }
.mv-film { --mv-accent: var(--mv-glow); --mv-navy: #0d2236; --mv-line: rgba(255,255,255,.13);
  --mv-glass-bg: linear-gradient(180deg, rgba(13,30,46,.6), rgba(7,17,28,.74));
  position: fixed; inset: 0; z-index: 9999; background: #05080b; color: #fff; font-family: var(--mv-font-text); -webkit-tap-highlight-color: transparent; }
.mv-film[hidden], .mv-film [hidden] { display: none !important; }
.mv-film button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.mv-glass { position: absolute; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; container: mvframe / size;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.mv-film.turned .mv-glass { left: 50%; top: 50%; width: var(--mv-long); height: var(--mv-short); transform: translate(-50%, -50%) rotate(90deg); }
.mv-media, .mv-answer { position: absolute; inset: 0; overflow: hidden; }
.mv-media { background: #000; }
.mv-answer { pointer-events: none; }
.mv-media > *, .mv-answer > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.mv-media > .on, .mv-answer > .on { opacity: 1; }
.mv-media > .kb { animation: mv-kb var(--kb, 9s) linear both; }
/* the film's one media element: each beat's -av.mp4, picture, voice and music in one file; shots of a live answer film sit above it */
.mv-media > .mv-av { transition-duration: .3s; }
@keyframes mv-kb { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
/* the picture stays clear: a light veil under the title, and a soft fall of shade where the bottom piece sits */
.mv-veil { position: absolute; inset: 0; pointer-events: none; transition: background .4s ease;
  background: linear-gradient(180deg, rgba(4,8,12,.5) 0%, rgba(4,8,12,0) 22%), linear-gradient(0deg, rgba(4,8,12,.62) 0%, rgba(4,8,12,.22) 24%, rgba(4,8,12,0) 40%); }
.mv-film.paused:not(.ended):not(.answering) .mv-veil { background: linear-gradient(180deg, rgba(4,8,12,.55) 0%, rgba(4,8,12,.2) 22%), linear-gradient(0deg, rgba(4,8,12,.66) 0%, rgba(4,8,12,.32) 30%, rgba(4,8,12,.2) 60%); }

/* the top: the chapter and the beat's title, the close */
.mv-head { position: absolute; left: 3.2cqw; top: 4cqh; right: 30cqw; z-index: 3; display: flex; flex-direction: column; gap: 1cqh; pointer-events: none; }
.mv-chapter { font: 600 max(9.5px, .86cqw)/1 var(--mv-font-text); letter-spacing: .22em; text-transform: uppercase; color: var(--mv-accent); }
.mv-title { font: 400 max(17px, 2.5cqw)/1.1 var(--mv-font-display); letter-spacing: -.014em; text-shadow: 0 2px 18px rgba(0,0,0,.5); text-wrap: balance; }
.mv-close { position: absolute; right: 2.6cqw; top: 3.6cqh; z-index: 7; width: max(34px, 2.9cqw); height: max(34px, 2.9cqw); padding: 0; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(10,22,34,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: background .2s; }
.mv-close svg { width: 46%; height: 46%; }
.mv-close:hover { background: rgba(10,22,34,.75); }

/* ---------- the bottom piece ----------
   No subtitles on the picture (his word, 2026-10-17: "the left side, no"). On the left, play/pause and the chapter dashes sit
   straight on the picture with no box behind them; on the right, the learn box (on a beat with a side film) and the appointment
   box, side by side, one height and one baseline. The beat's line is kept only for screen readers (.mv-say). */
.mv-foot {
  --pad: max(10px, 1.1cqw); --gap: max(8px, .95cqw); --r: max(12px, 1cqw);
  --cta-w: clamp(196px, 22.5cqw, 340px); --learn-w: clamp(240px, 25.5cqw, 390px);   /* wider than inside the old panel: the box is now as tall as the appointment box */
  position: absolute; left: 3.2cqw; right: 3.2cqw; bottom: max(10px, 3.6cqh); z-index: 3;
  display: flex; align-items: stretch; gap: var(--gap); pointer-events: none; transition: opacity .45s ease;
}
.mv-foot > * { pointer-events: auto; }
/* while the piece is faded out (the end card, an answer, the ask card) its parts take no taps either */
.mv-film.ended .mv-foot > *, .mv-film.answering .mv-foot > *, .mv-film:has(.mva-card:not([hidden])) .mv-foot > * { pointer-events: none; }
.mv-appt { box-sizing: border-box; border-radius: var(--r); background: var(--mv-glass-bg); border: 1px solid var(--mv-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 46px rgba(0,0,0,.3); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15); }
.mv-say { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* (1) the learn box, beside the appointment box: the side film's muted loop and its name, "Tap to Learn More" pulsing gently */
.mv-learn { position: relative; flex: none; align-self: stretch; width: var(--learn-w); margin: 0; padding: calc(var(--pad) * .55);
  box-sizing: border-box; display: flex; align-items: stretch; gap: calc(var(--pad) * .8); text-align: left; cursor: pointer;
  border-radius: var(--r); border: 1px solid rgb(169 205 238 / .42);
  background: linear-gradient(120deg, rgb(169 205 238 / .18), rgb(169 205 238 / .06) 72%), var(--mv-glass-bg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), 0 18px 46px rgba(0,0,0,.3); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition: background .25s ease, border-color .25s ease, box-shadow .4s ease, transform .2s ease;
  animation: mv-learn-in .5s cubic-bezier(.2,.75,.25,1) both; }
.mv-learn[hidden] { display: none; }
@keyframes mv-learn-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mv-learn:hover { background: linear-gradient(120deg, rgb(169 205 238 / .28), rgb(169 205 238 / .1) 72%), var(--mv-glass-bg); border-color: rgb(169 205 238 / .8); }
.mv-learn:active { transform: scale(.985); }
.mv-learn:focus-visible, .mv-book:focus-visible, .mv-pp:focus-visible, .mv-close:focus-visible, .mv-paused:focus-visible { outline: 2px solid var(--mv-accent); outline-offset: 3px; }
.mv-learn-pic { position: relative; flex: none; height: 100%; aspect-ratio: 4 / 3; border-radius: calc(var(--r) * .48); overflow: hidden; background: #0c1a27;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.mv-learn-pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-learn:not(.has-video) video { display: none; }
.mv-learn-pic i { position: absolute; left: 50%; top: 50%; width: max(22px, 2.1cqw); height: max(22px, 2.1cqw); margin: calc(max(22px, 2.1cqw) / -2) 0 0 calc(max(22px, 2.1cqw) / -2);
  display: grid; place-items: center; border-radius: 50%; background: rgb(13 34 54 / .55); border: 1px solid rgb(169 205 238 / .7); color: var(--mv-accent);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: mv-badge 2.6s ease-in-out infinite; }
.mv-learn-pic i svg { width: 46%; height: 46%; margin-left: 8%; }
.mv-learn-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: .2em .2em .15em 0; }
.mv-learn-head { font: 500 max(12px, 1.12cqw)/1.2 var(--mv-font-display); color: #fff; letter-spacing: -.004em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mv-learn-go { font: 650 max(11px, .98cqw)/1.1 var(--mv-font-text); color: var(--mv-accent); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  animation: mv-breathe 2.6s ease-in-out infinite; }
@keyframes mv-breathe { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
@keyframes mv-badge { 0%, 100% { box-shadow: 0 0 0 0 rgb(169 205 238 / .45); } 50% { box-shadow: 0 0 0 5px rgb(169 205 238 / 0); } }
/* where the voice says "Tap below to learn more": the box lit and the hand on it */
.mv-learn.pointed { border-color: #d6eafb; box-shadow: 0 0 0 1px rgb(169 205 238 / .9), 0 0 30px 4px rgb(169 205 238 / .45); }
.mv-point { position: absolute; left: calc(var(--pad) * .42 + (100% - var(--pad) * .84) * .3); top: 62%; width: max(44px, 3.9cqw); margin: 0; pointer-events: none; z-index: 2;
  transform: translate(-46%, -14%); animation: mv-point-in .5s cubic-bezier(.2,.75,.25,1) both; }
.mv-point svg { display: block; width: 100%; height: auto; transform-origin: 46% 14%; filter: drop-shadow(0 5px 10px rgba(5,15,25,.55)); animation: mv-tap 1.7s ease-in-out .5s infinite; }
@keyframes mv-point-in { from { opacity: 0; transform: translate(-46%, 20%); } to { opacity: 1; transform: translate(-46%, -14%); } }
@media (prefers-reduced-motion: reduce) { .mv-learn-go, .mv-learn-pic i, .mv-point, .mv-point svg, .mv-learn { animation: none; } }

/* (2) the bar: play/pause and the chapter dashes, on the picture at the bottom left, level with the boxes' baseline */
.mv-bar { flex: 1; min-width: 0; align-self: flex-end; display: flex; align-items: center; gap: calc(var(--gap) * 1.1); padding: 0 calc(var(--pad) * .3);
  margin-right: calc(var(--gap) * 1.5); filter: drop-shadow(0 1px 5px rgba(0,0,0,.45)); }
.mv-pp { flex: none; width: max(28px, 2.3cqw); height: max(28px, 2.3cqw); padding: 0; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32); background: rgba(10,22,34,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; transition: background .2s; }
.mv-pp:hover { background: rgba(10,22,34,.7); }
.mv-pp svg { width: 44%; height: 44%; }
.mv-ticks { flex: 1; display: flex; gap: max(4px, .4cqw); }
.mv-ticks i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.24); overflow: hidden; cursor: pointer; position: relative; }
.mv-ticks i::after { content: ""; position: absolute; inset: -8px 0; }   /* a taller touch target */
.mv-ticks i b { position: absolute; inset: 0; width: 0; background: rgba(255,255,255,.85); }
.mv-ticks i.now b { background: var(--mv-accent); }
.mv-ticks i.done b { width: 100%; }

/* (3) the appointment box: its own box, content centered, title case; the headline, the beat's topic, Make an Appointment */
.mv-appt { flex: none; width: var(--cta-w); align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: calc(var(--pad) * .55); padding: calc(var(--pad) * 1.1) calc(var(--pad) * 1.3);
  border-color: rgb(169 205 238 / .26); box-shadow: inset 0 1px 0 rgb(169 205 238 / .22), 0 18px 46px rgba(0,0,0,.3); }
.mv-appt-lead { font: 400 max(13px, 1.3cqw)/1.2 var(--mv-font-display); color: #fff; letter-spacing: -.006em; text-wrap: balance; max-width: 15em; }
.mv-topic { display: grid; width: 100%; font: 600 max(11.5px, 1.04cqw)/1.25 var(--mv-font-text); color: var(--mv-accent); letter-spacing: .01em; overflow: hidden; }
.mv-topic-line { grid-area: 1 / 1; text-wrap: balance; }
.mv-topic-line.in { animation: mv-topic-in .55s cubic-bezier(.2,.75,.25,1) both; }
.mv-topic-line.out { animation: mv-topic-out .4s ease both; }
@keyframes mv-topic-in { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes mv-topic-out { to { opacity: 0; transform: translateY(-70%); } }
.mv-book { margin: calc(var(--pad) * .35) 0 0; padding: .78em 1.4em; border: 0; border-radius: 999px; white-space: nowrap;
  background: var(--mv-accent); color: var(--mv-navy) !important; font: 650 max(11.5px, .98cqw)/1 var(--mv-font-text) !important; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 6px 18px rgb(169 205 238 / .22); transition: background .2s ease, transform .2s ease; }
.mv-book:hover { background: #c4ddf4; transform: translateY(-1px); }

/* paused: the picture held, a quiet play button in the middle */
.mv-paused { position: absolute; left: 50%; top: 43%; z-index: 4; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 1.2cqh;
  padding: 0; border: 0; background: none; cursor: pointer; animation: mv-fade .3s ease both; }
.mv-paused i { display: grid; place-items: center; width: max(58px, 5.6cqw); height: max(58px, 5.6cqw); border-radius: 50%; background: rgba(10,22,34,.5);
  border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.mv-paused i svg { width: 40%; height: 40%; margin-left: 8%; }
.mv-paused span { font: 600 max(10px, .84cqw)/1 var(--mv-font-text); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.82); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
@keyframes mv-fade { from { opacity: 0; } to { opacity: 1; } }

/* full-frame call to action: a side film's end, the main film's end, or the ask hook's showAppointment() */
.mv-end { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; padding: 6cqh 8cqw;
  background: radial-gradient(ellipse at 50% 42%, rgba(16,34,52,.84), rgba(4,8,12,.95)); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.mv-end.on { opacity: 1; pointer-events: auto; }
.mv-film.ended .mv-foot, .mv-film.ended .mv-head, .mv-film.answering .mv-foot, .mv-film.answering .mv-head { opacity: 0; pointer-events: none; }
.mv-head { transition: opacity .45s ease; }
.mv-end .in { display: flex; flex-direction: column; align-items: center; gap: 1.6cqh; max-width: 70cqw; }
.mv-end small { font: 600 max(10px, .9cqw)/1 var(--mv-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--mv-accent); margin-bottom: .6cqh; }
.mv-end h3 { margin: 0; color: #fff; font: 400 max(24px, 3.4cqw)/1.1 var(--mv-font-display); letter-spacing: -.018em; text-wrap: balance; max-width: 16em; }
.mv-end .topic { margin: 0; font: 400 italic max(18px, 2.3cqw)/1.15 var(--mv-font-display); color: var(--mv-accent); text-wrap: balance; }
.mv-end .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2cqw; margin-top: 2.4cqh; }
.mv-end .go, .mv-end .back { display: inline-flex; align-items: center; border-radius: 999px; padding: 1.1em 1.9em; font: 650 max(13px, 1.1cqw)/1 var(--mv-font-text) !important; cursor: pointer; }
.mv-end .go { border: 0; background: var(--mv-accent); color: var(--mv-navy) !important; box-shadow: 0 10px 30px rgb(169 205 238 / .25); }
.mv-end .back { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.04); color: #fff !important; font-weight: 550 !important; }
.mv-end .go:hover { background: #c4ddf4; } .mv-end .back:hover { background: rgba(255,255,255,.12); }

/* the ask hook's layer (Lane 5 draws its UI here, inside the frame, so it turns with it) */
.mv-layer { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.mv-layer > * { pointer-events: auto; }

/* Calendly inside the film */
.mv-cal { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; background: rgba(4,8,12,.72); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mv-cal.on { opacity: 1; pointer-events: auto; }
.mv-cal .box { position: relative; width: min(94vw, 1000px); height: min(90vh, 900px); height: min(90dvh, 900px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.mv-cal iframe { width: 100%; height: 100%; border: 0; }
.mv-cal .x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #10202c; color: #fff; font: 300 20px/1 var(--mv-font-text); cursor: pointer; }

/* How to Read the Bible's sign, its words byte for byte */
.mv-rotate { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(5,8,11,.94); color: #fff; text-align: center; padding: 30px; }
.mv-rotate .ph { width: 44px; height: 74px; border: 3px solid #fff; border-radius: 9px; animation: mv-turn 2.2s ease-in-out infinite; }
@keyframes mv-turn { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
.mv-rotate .t { font: 500 17px/1.35 var(--mv-font-text); max-width: 260px; }
.mv-rotate .s { font: 400 14px/1 var(--mv-font-text); opacity: .7; }

/* a short frame (a phone, turned or held sideways): the same piece, its type kept readable */
@container mvframe (max-height: 520px) {
  .mv-foot { --pad: 8px; --gap: 7px; --r: 11px; --cta-w: clamp(176px, 24cqw, 230px); --learn-w: clamp(236px, 35cqw, 280px);
    left: 2.2cqw; right: 2.2cqw; bottom: 2.6cqh; }
  .mv-head { left: 2.6cqw; top: 4.4cqh; gap: 5px; }
  .mv-chapter { font-size: 9px; }
  .mv-title { font-size: max(15px, 2.2cqw); }
  .mv-close { top: 3.6cqh; right: 2.2cqw; width: 30px; height: 30px; }
  .mv-learn-head { font-size: 11px; line-height: 1.18; }
  .mv-learn-go { font-size: 10.5px; }
  .mv-learn-pic i { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
  .mv-appt { gap: 4px; padding: 7px 9px; }
  .mv-appt-lead { font-size: 12px; line-height: 1.16; }
  .mv-topic { font-size: 11px; line-height: 1.2; }
  .mv-book { font-size: 10.5px !important; padding: .72em 1.15em; margin-top: 2px; }
  .mv-pp { width: 24px; height: 24px; }
  .mv-point { width: 38px; }
  .mv-end h3 { font-size: max(21px, 3.2cqw); }
  .mv-end .topic { font-size: max(16px, 2.2cqw); }
  .mv-end .go, .mv-end .back { padding: .95em 1.5em; font-size: 12px !important; }
}
/* a tall frame (a narrow window that is not turned): the learn box and the appointment box share one row, the bar under them */
@container mvframe (orientation: portrait) {
  .mv-foot { flex-wrap: wrap; --cta-w: auto; --learn-w: 44%; }
  .mv-bar { order: 3; flex: 1 1 100%; margin-right: 0; }
  .mv-appt { flex: 1 1 0; min-width: 0; }
}
