/* =============================================================================
   Hope RBC · Mission & Vision. Styles. (v4: bright classical dawn)
   Everything is scoped under .mv so it can sit inside the Astro/Tailwind site.
   Type: Clash Display 600 for headlines, the red bars, card and tab titles;
         General Sans 500 for body, 600 for headings and buttons. Sentence case.
   ============================================================================= */
.mv, .mv *, .mv *::before, .mv *::after { box-sizing: border-box; }
.mv {
  --mv-red: #C61717; --mv-red-deep: #A91010; --mv-red-bright: #D92A1F;
  --mv-ink: #2b1d1b; --mv-ink-soft: #5e4a43; --mv-cream: #FBF1DC;
  --mv-white: #fff;
  --mv-gold: #C99A3E; --mv-gold-d: #8f6a1e; --mv-gold-l: #F3D58E; --mv-gold-soft: #FFE7A8;
  --mv-hair: rgba(196,154,72,.6);                       /* the fine gold hairline on every panel */
  --mv-panel: rgba(255,250,238,.84);                    /* warm ivory, translucent */
  --mv-panel-solid: #fffaf0;
  --mv-shadow: 0 14px 34px rgba(110,80,40,.2), 0 2px 6px rgba(110,80,40,.08);
  --mv-inset: inset 0 0 0 1px rgba(255,255,255,.65), inset 0 1px 0 #fff;
  --mv-display: "Hope Clash Display", ClashDisplay, "Clash Display", "Switzer", system-ui, sans-serif;
  --mv-body: "Hope General Sans", "General Sans", "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mv-serif: var(--mv-body);
  --mv-pad: clamp(16px, 3vw, 44px);
  --mv-f: .5; --mv-h: .5; --mv-hair-pad: 14px;
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: min(560px, 100svh); overflow: hidden;
  background: #cfd8e6; color: var(--mv-ink);
  font-family: var(--mv-body); font-weight: 500; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(.mv) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:where(.mv) a { color: inherit; }
:where(.mv) ul, :where(.mv) ol { list-style: none; margin: 0; padding: 0; }
:where(.mv) p, :where(.mv) h1, :where(.mv) h2, :where(.mv) h3 { margin: 0; }
.mv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mv-ico { width: 1.05em; height: 1.05em; flex: none; }

/* focus: always visible, warm gold-and-red */
.mv :focus-visible { outline: 3px solid var(--mv-red); outline-offset: 3px; border-radius: 8px; box-shadow: 0 0 0 6px rgba(255,236,186,.9); }
.mv [data-focus]:focus { outline: none; }

/* ---------------------------------------------------------------- stage */
.mv-stage { position: absolute; inset: 0; overflow: hidden; }
.mv-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.mv-lay { position: absolute; left: -15%; top: -15%; width: 130%; height: 130%; display: block; transform-origin: 0 0; pointer-events: none; }
.mv-shade { position: absolute; inset: 0; pointer-events: none; transition: opacity .8s ease, background .8s ease;
  background: linear-gradient(180deg, rgba(40,55,105,.22) 0, rgba(40,55,105,0) 140px); }
/* once we are in the page, a warm cream veil at the top keeps the red-brown headings readable on any sky */
.mv[data-view="sub"] .mv-shade, .mv[data-view="vision"] .mv-shade { background:
  linear-gradient(180deg, rgba(255,246,226,.9) 0, rgba(255,246,226,.62) 120px, rgba(255,246,226,0) 270px),
  linear-gradient(0deg, rgba(255,246,226,.28) 0, rgba(255,246,226,0) 30%); }
.mv::after { /* a soft, warm vignette (like the edge of a canvas) */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 85% 80% at 50% 44%, rgba(70,45,20,0) 58%, rgba(70,45,20,.26) 100%); }

/* (no page frame: the gilded border was removed at Tom's request) */

/* --------------------------------------------------------------- header */
.mv-header { position: absolute; z-index: 6; top: 0; left: 0; right: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 20px calc(var(--mv-pad) + 16px) 0; gap: 12px; pointer-events: none; }
.mv-header > * { pointer-events: auto; }
.mv-brand { justify-self: start; min-width: 0; max-width: 100%; } /* stay in the left cell; the pill stays centred */
.mv-tools { justify-self: end; }
.mv-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; text-shadow: 0 1px 14px rgba(40,60,110,.6); transition: color .4s; }
.mv-brand__mark { width: 44px; height: auto; fill: #fff; flex: none; transition: fill .4s; }
.mv-brand__text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; overflow: hidden; }
.mv-brand__name { font-family: var(--mv-body); font-weight: 600; font-size: 1.06rem; letter-spacing: -.025em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-brand__page { font-weight: 500; font-size: .8rem; color: #fff2d0; margin-top: 2px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv[data-view="sub"] .mv-brand, .mv[data-view="vision"] .mv-brand { color: #6b1a16; text-shadow: 0 0 12px rgba(255,248,230,.95); }
.mv[data-view="sub"] .mv-brand__mark, .mv[data-view="vision"] .mv-brand__mark { fill: var(--mv-red); }
.mv[data-view="sub"] .mv-brand__page, .mv[data-view="vision"] .mv-brand__page { color: var(--mv-gold-d); }
.mv-tools { display: flex; gap: 8px; }
.mv-tool { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--mv-ink);
  background: rgba(255,250,238,.74); border: 1px solid var(--mv-hair); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 6px 18px rgba(110,80,40,.12); transition: background .2s, border-color .2s, color .2s; }
.mv-tool[hidden] { display: none; }
.mv-tool--icon { width: 42px; height: 42px; padding: 0; justify-content: center; }
/* Firefox paints live SVG turbulence on the CPU. A tiled image stands in for the paper grain. */
.mv.is-ff .mv-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='4'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px; }
.mv-tool:hover, .mv-tool[aria-expanded="true"], .mv-tool[aria-pressed="true"] { background: var(--mv-red); border-color: #ecc888; color: #fff; }
.mv-dot { position: absolute; top: 6px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mv-gold); box-shadow: 0 0 0 2px #fffaf0; }

/* ------------------------------------------------------- section nav (top) */
.mv-nav { justify-self: center; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,250,238,.74); border: 1px solid var(--mv-hair); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 8px 24px rgba(110,80,40,.14); pointer-events: auto; }
.mv-navb { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 18px; border-radius: 999px; font-size: .9rem; font-weight: 500; line-height: 1; color: var(--mv-ink); opacity: .85; transition: background .2s, color .2s; white-space: nowrap; }
.mv-navb:hover { background: rgba(198,23,23,.1); opacity: 1; }
.mv-navb[aria-current="page"] { background: var(--mv-red); color: #fff; opacity: 1; font-weight: 600; box-shadow: 0 2px 10px rgba(198,23,23,.35); }

/* ---------------------------------------------------------------- layers */
.mv-main { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mv-main > * { pointer-events: auto; }

/* ------------------------------------------- the OPENING VIEW (words in the sky) */
.mv-intro { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--mv-h) * 100%); padding: max(92px, 11vh) var(--mv-pad) 24px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; color: #fffaf0; transition: opacity .55s ease, transform .8s cubic-bezier(.2,.7,.2,1), visibility 0s linear .6s; pointer-events: none; }
.mv-intro > * { pointer-events: auto; }
.mv-main.is-started .mv-intro { opacity: 0; transform: translateY(-34px); visibility: hidden; pointer-events: none; }
.mv-main.is-started .mv-intro > * { pointer-events: none; }
.mv-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: .9rem; font-weight: 600; letter-spacing: .01em; color: #fffaf0; }
.mv-eyebrow__line { width: 56px; height: 12px; display: inline-block; flex: none; position: relative; color: var(--mv-gold-soft); filter: drop-shadow(0 1px 3px rgba(50,55,100,.55)); }
.mv-eyebrow__line::before { content: ""; position: absolute; left: 0; right: 8px; top: 5.5px; height: 1.2px; background: linear-gradient(90deg, rgba(255,231,168,0), currentColor); }
.mv-eyebrow__line::after { content: ""; position: absolute; right: 0; top: 1.5px; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg) scale(.78); }
.mv-eyebrow__line:last-child { transform: scaleX(-1); }
.mv-eyebrow--sky { font-size: clamp(1rem, 1.5vw, 1.3rem); margin-bottom: clamp(8px, 1.6vh, 18px); text-shadow: 0 1px 3px rgba(50,55,100,.55), 0 0 18px rgba(40,60,110,.6); }
.mv-h1 { font-family: var(--mv-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.02; color: #fffaf0; font-size: clamp(2.3rem, min(6.1vw, 11vh), 5.9rem); text-shadow: 0 2px 26px rgba(38,52,100,.72), 0 1px 3px rgba(60,45,80,.5), 0 0 60px rgba(60,70,120,.35); text-wrap: balance; }
.mv-h1__l { display: inline-block; }
.mv-btn--big { margin-top: clamp(18px, 3vh, 34px); padding: 15px 30px 15px 32px; font-size: 1.04rem; gap: 12px; letter-spacing: -.005em; border-color: #efcf8c; box-shadow: 0 0 0 5px rgba(255,244,214,.34), 0 12px 30px rgba(150,30,20,.34), inset 0 1px 0 rgba(255,255,255,.3); }
.mv-btn--big .mv-ico { width: 1.2em; height: 1.2em; }
.mv-btn--pulse .mv-ico { animation: mv-bob 2.4s ease-in-out infinite; }
@keyframes mv-bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.mv-introbtn { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* --------------------------------------------- the scrolling screens */
.mv-app { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; padding-top: 70px; transition: opacity .6s ease .15s, transform .9s cubic-bezier(.2,.7,.2,1) .1s; }
.mv-main:not(.is-started) .mv-app { opacity: 0; transform: translateY(46px); pointer-events: none; visibility: hidden; }
.mv-top { flex: none; }
.mv-app.is-vision { padding-top: 76px; }
.mv-mhead, .mv-detail__in, .mv-vwrap { width: min(1180px, calc(100% - 2 * var(--mv-pad) - 20px)); margin-inline: auto; }

/* ---- the persistent mission header */
.mv-mhead { flex: none; }
.mv-mtitle { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--mv-body); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: -.005em; color: #6b1a16; text-shadow: 0 0 14px rgba(255,248,230,.95), 0 0 3px rgba(255,248,230,.8); padding: 2px 0 10px; }
.mv-mtitle .mv-eyebrow__line { width: 70px; color: var(--mv-gold); filter: none; }
.mv-mtitle .mv-eyebrow__line::before { background: linear-gradient(90deg, rgba(201,154,62,0), currentColor); }
.mv-groups { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.mv-group { min-width: 0; }
.mv-part { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #d42020, #C61717 62%, #ae1212); border: 1px solid #ecc888; box-shadow: inset 0 0 0 3px #C61717, inset 0 0 0 4px rgba(244,214,150,.55), 0 10px 26px rgba(140,30,20,.24); }
.mv-part__t { font-family: var(--mv-display); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.6rem); letter-spacing: -.02em; }
.mv-conn { display: block; position: relative; height: 22px; }
.mv-conn::before { content: ""; position: absolute; left: 25%; right: 25%; top: 10px; border-top: 2px solid rgba(201,154,62,.9); }
.mv-conn::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 50% 0 / 2px 11px no-repeat,
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 25% 10px / 2px 12px no-repeat,
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 75% 10px / 2px 12px no-repeat; }
.mv-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.mv-subtab, .mv-gtab, .mv-card, .mv-vcol { background: var(--mv-panel); border: 1px solid var(--mv-hair); backdrop-filter: blur(16px) saturate(1.08); -webkit-backdrop-filter: blur(16px) saturate(1.08); box-shadow: var(--mv-inset), var(--mv-shadow); color: var(--mv-ink); }
.mv-subtab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; padding: 10px 12px; border-radius: 14px; text-align: center; transition: background .25s, border-color .25s, transform .25s; }
button.mv-subtab:hover { background: #fffdf6; border-color: var(--mv-gold); transform: translateY(-2px); }
button.mv-subtab.is-open:hover { background: linear-gradient(180deg, #d42020, #C61717 70%, #ae1212); color: #fff; border-color: #ecc888; transform: none; }
.mv-subtab__t { font-family: var(--mv-display); font-weight: 600; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.12; letter-spacing: -.015em; }
.mv-subtab__cue { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .005em; color: var(--mv-gold-d); }
.mv-subtab__cue .mv-chev { width: 1.2em; height: 1.2em; animation: mv-bob 2.6s ease-in-out infinite; }
/* the open one: red, and it joins the card below it */
.mv-subtab.is-open { background: linear-gradient(180deg, #d42020, #C61717 70%, #ae1212); color: #fff; border-color: #ecc888; border-bottom-color: rgba(244,214,150,.7); border-radius: 14px 14px 0 0; box-shadow: 0 -4px 26px rgba(198,23,23,.28), inset 0 1px 0 rgba(255,255,255,.25); transform: none; z-index: 2; margin-bottom: -1px; padding-bottom: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mv-subtab.is-open .mv-subtab__t { font-size: clamp(1.05rem, 1.5vw, 1.32rem); }

/* ---- vision mode: the same header, smaller, pinned at the top */
.mv-mhead.is-compact .mv-mtitle { display: none; }
.mv-mhead.is-compact .mv-groups { column-gap: 12px; }
.mv-mhead.is-compact .mv-part { width: 100%; height: 34px; border-radius: 11px; transition: filter .2s; box-shadow: inset 0 0 0 2px #C61717, inset 0 0 0 3px rgba(244,214,150,.5), 0 6px 18px rgba(140,30,20,.22); }
.mv-mhead.is-compact button.mv-part:hover { filter: brightness(1.12); }
.mv-mhead.is-compact .mv-part__t { font-size: .98rem; }
.mv-mhead.is-compact .mv-conn { height: 10px; }
.mv-mhead.is-compact .mv-conn::before { top: 4px; }
.mv-mhead.is-compact .mv-conn::after { background:
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 50% 0 / 2px 5px no-repeat,
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 25% 4px / 2px 6px no-repeat,
  linear-gradient(rgba(201,154,62,.9), rgba(201,154,62,.9)) 75% 4px / 2px 6px no-repeat; }
.mv-mhead.is-compact .mv-pair { column-gap: 12px; }
.mv-mhead.is-compact .mv-subtab { min-height: 38px; padding: 4px 8px; border-radius: 11px; box-shadow: var(--mv-inset), 0 6px 18px rgba(110,80,40,.16); }
.mv-mhead.is-compact .mv-subtab__t { font-size: .9rem; }
.mv-mhead.is-compact .mv-subtab__cue { display: none; }
.mv-mhead.is-compact .mv-subtab.is-last { border-color: var(--mv-gold); box-shadow: var(--mv-inset), 0 0 0 3px rgba(243,213,142,.5), 0 6px 18px rgba(110,80,40,.16); }

/* ---- the detail area: the expanded card + the "on the ground" stack */
.mv-detail { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(143,106,30,.45) transparent; padding-bottom: 96px; }
.mv-detail__in { position: relative; }
.mv-dw { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
.mv-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.mv-line { fill: none; stroke: #d9a53a; stroke-width: 2.6; stroke-dasharray: 1 7; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255,248,230,.9)); }
.mv-dotc { fill: #e3b54c; stroke: #fffaf0; stroke-width: 2; }
.mv-card { position: relative; padding: 18px 20px 20px; border-radius: 0 0 14px 14px; border-top: 0; box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.45), var(--mv-shadow); border-color: rgba(205,160,70,.95); background: linear-gradient(180deg, rgba(255,250,238,.9), rgba(255,247,230,.86)); }
.mv-col { grid-row: 1; position: relative; z-index: 2; min-width: 0; }
.mv-dw--0 .mv-col { grid-column: 1; } .mv-dw--1 .mv-col { grid-column: 2; } .mv-dw--2 .mv-col { grid-column: 3; } .mv-dw--3 .mv-col { grid-column: 4; }
.mv-nw { white-space: nowrap; }
.mv-add { font-size: 1rem; line-height: 1; font-weight: 700; }
.mv-card__title { display: none; }
.mv-card__tag { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.mv-tagline { font-family: var(--mv-body); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; color: #8e1a14; line-height: 1.2; }
.mv-card__stmt { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--mv-ink); }
.mv-card__stmt .mv-bible { display: inline-flex; vertical-align: -7px; margin-left: 6px; }
.mv-card__ground { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(176,132,56,.3); font-size: .84rem; font-weight: 600; letter-spacing: -.005em; color: var(--mv-gold-d); }
.mv-gdot { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(#ffe29a, #d9a53a); box-shadow: 0 0 0 3px rgba(217,165,58,.25); flex: none; }

.mv-ground { grid-row: 1; position: relative; z-index: 2; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mv-dw--0 .mv-ground { grid-column: 2 / span 2; padding-left: 78px; }
.mv-dw--1 .mv-ground { grid-column: 3 / span 2; padding-left: 78px; }
.mv-dw--2 .mv-ground { grid-column: 1 / span 2; padding-right: 78px; align-items: flex-end; }
.mv-dw--3 .mv-ground { grid-column: 2 / span 2; padding-right: 78px; align-items: flex-end; }
.mv-gtabs { display: flex; flex-direction: column; gap: 10px; width: min(100%, 430px); }
.mv-gtab { border-radius: 14px; transition: border-color .25s, background .25s; }
.mv-gtab__row { display: flex; align-items: center; gap: 8px; padding-right: 10px; }
.mv-gtab__btn { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 8px 8px 18px; border-radius: 14px; }
.mv-gtab__t { font-family: var(--mv-display); font-weight: 600; font-size: 1.06rem; letter-spacing: -.015em; }
.mv-gtab__btn .mv-chev { width: 1.3em; height: 1.3em; color: var(--mv-gold-d); transition: transform .3s; }
.mv-gtab.is-open .mv-gtab__btn .mv-chev { transform: rotate(180deg); }
button.mv-gtab__btn:hover { background: rgba(243,213,142,.22); }
button.mv-gtab__btn:hover .mv-chev { color: var(--mv-red); }
.mv-gtab.is-open { border-color: rgba(205,160,70,.95); background: linear-gradient(180deg, rgba(255,250,238,.92), rgba(255,247,230,.88)); box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.45), var(--mv-shadow); }
.mv-gtab.is-open .mv-gtab__row { border-bottom: 1px solid rgba(180,140,60,.25); background: linear-gradient(90deg, rgba(243,213,142,.28), rgba(255,255,255,0)); border-radius: 14px 14px 0 0; }
.mv-gtab.is-open .mv-gtab__t { font-size: 1.18rem; }
.mv-gtab__body { padding: 4px 20px 18px; }
.mv-bul { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.mv-bul li { position: relative; padding-left: 20px; }
.mv-bul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--mv-red); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(90deg); }
.mv-bul__row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.mv-bul__t { font-size: 1rem; line-height: 1.4; color: var(--mv-ink); }
.mv-bul--sub { margin-top: 5px; gap: 4px; padding-left: 2px; }
.mv-bul--sub li::before { background: var(--mv-gold); width: 6px; height: 6px; top: .68em; border-radius: 50%; clip-path: none; transform: none; }
.mv-bul--sub .mv-bul__t { font-size: .92rem; color: var(--mv-ink-soft); }
.mv-bul .mv-bible { width: 24px; height: 24px; }
.mv-bul .mv-book { width: 15px; height: 15px; }
.mv-empty { color: var(--mv-ink-soft); font-size: .95rem; }
.mv-in { animation: mv-grow .55s cubic-bezier(.2,.8,.2,1) both; transform-origin: top center; }
@keyframes mv-grow { from { opacity: 0; transform: translateY(-14px) scaleY(.92); } to { opacity: 1; transform: none; } }
/* the floating “See the Vision” button: a pill that hovers at the bottom while you read a sub-point */
.mv-seebar { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px 0 26px; max-width: calc(100% - 32px); white-space: nowrap; border-radius: 999px; color: #fff6e2; background: linear-gradient(180deg, #cf1d1d, #a51213 60%, #8a0f11); border: 1px solid #ecc888; box-shadow: inset 0 0 0 2px rgba(165,18,19,.9), inset 0 0 0 3px rgba(244,214,150,.45), 0 14px 34px rgba(110,20,20,.34), 0 3px 8px rgba(80,20,10,.22); transition: filter .25s, transform .25s, box-shadow .25s; }
.mv-seebar__t { font-family: var(--mv-body); font-weight: 600; font-size: 1.08rem; letter-spacing: -.015em; }
.mv-seebar__s { font-weight: 500; font-size: .98rem; color: #ffe6ae; }
.mv-seebar__t + .mv-seebar__s::before { content: "·"; margin-right: 10px; opacity: .7; }
.mv-seebar .mv-ico { width: 1.3em; height: 1.3em; color: #ffe6ae; animation: mv-bob 2.4s ease-in-out infinite; }
button.mv-seebar:hover { filter: brightness(1.1); transform: translateX(-50%) translateY(-2px); box-shadow: inset 0 0 0 2px rgba(165,18,19,.9), inset 0 0 0 3px rgba(244,214,150,.45), 0 18px 40px rgba(110,20,20,.38), 0 4px 10px rgba(80,20,10,.24); }
.mv-seebar.is-edit { position: relative; left: auto; bottom: auto; transform: none; white-space: normal; z-index: 1; margin: 26px auto 0; height: auto; padding: 10px 20px; width: min(720px, 100%); border: 1px solid #ecc888; border-radius: 14px; flex-wrap: wrap; box-shadow: 0 10px 26px rgba(140,30,20,.24); }

/* ---- buttons / calls to action */
.mv-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .94rem; letter-spacing: -.005em; text-decoration: none; background: linear-gradient(180deg, #d62020, #C61717); color: #fff; box-shadow: 0 4px 12px rgba(198,23,23,.28), inset 0 1px 0 rgba(255,255,255,.28); border: 1px solid #ecc888; transition: filter .2s, transform .2s, border-color .2s; }
.mv-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.mv-btn--ghost { background: rgba(255,252,244,.88); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); border: 1px solid rgba(205,160,70,.85); color: var(--mv-ink); }
.mv-btn--ghost:hover { background: #fff; filter: none; border-color: var(--mv-red); color: var(--mv-red); }
.mv-btn .mv-ext { width: .85em; height: .85em; }
.mv-btn--off { background: rgba(255,250,238,.6); border: 1px dashed rgba(143,106,30,.55); box-shadow: none; color: var(--mv-ink-soft); cursor: not-allowed; }
.mv-btn--off:hover { background: rgba(255,250,238,.6); transform: none; filter: none; color: var(--mv-ink-soft); border-color: rgba(143,106,30,.55); }
.mv-btn--off em { font-style: normal; color: var(--mv-gold-d); }
.mv-btns--sub { margin-top: 14px; }
.mv-btns--tab { margin-top: 14px; }
.mv-ph { color: #7a5416; background: rgba(243,213,142,.45); border-bottom: 1px dashed rgba(143,106,30,.75); border-radius: 3px; padding: 0 3px; }
.no-draft-markers .mv-ph { color: inherit; background: none; border: 0; padding: 0; }
.mv-draft { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: #7a5416; border: 1px dashed rgba(143,106,30,.75); background: rgba(243,213,142,.4); cursor: help; }
.mv-gtab__body > .mv-draft { margin: 4px 0 4px; }

/* ----------------------------------------------------------- the VISION section */
.mv-visionpane { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; display: flex; scrollbar-width: thin; scrollbar-color: rgba(143,106,30,.45) transparent; padding: 10px 0 40px; }
.mv-visionpane > .mv-vwrap { margin-block: 0 auto; padding-top: clamp(4px, 2vh, 20px); }
.mv-vwrap .mv-vcols { margin-top: var(--mv-vgap, 0px); }
.mv-vwrap { text-align: center; }
.mv-vwrap .mv-eyebrow--sky { color: #6b1a16; text-shadow: 0 0 14px rgba(255,248,230,.95), 0 0 3px rgba(255,248,230,.8); }
.mv-vwrap .mv-eyebrow__line { color: var(--mv-gold); filter: none; }
.mv-vwrap .mv-eyebrow__line::before { background: linear-gradient(90deg, rgba(201,154,62,0), currentColor); }
.mv-vtitle { font-family: var(--mv-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.025em; line-height: 1.05; color: #8e1a14; text-shadow: 0 0 22px rgba(255,246,226,.95), 0 0 6px rgba(255,246,226,.9); margin-bottom: clamp(14px, 2.6vh, 28px); }
.mv-vtitle:focus, .mv-vtitle:focus-visible { outline: none; box-shadow: none; }
.mv-vcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; align-items: start; }
.mv-vcol { display: flex; flex-direction: column; border-radius: 14px; transition: border-color .25s, box-shadow .25s; }
.mv-vcol__h { font: inherit; }
.mv-vcol__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; border-radius: 14px; text-align: left; transition: background .2s; }
div.mv-vcol__head { display: block; padding: 18px 20px 4px; }
.mv-vcol__ht { display: flex; flex-direction: column; min-width: 0; }
button.mv-vcol__head:hover { background: rgba(243,213,142,.22); }
.mv-vcol__head .mv-chev { width: 1.35em; height: 1.35em; flex: none; color: var(--mv-gold-d); transition: transform .3s; }
button.mv-vcol__head:hover .mv-chev { color: var(--mv-red); }
.mv-vcol.is-open { border-color: rgba(205,160,70,.95); box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.45), var(--mv-shadow); }
.mv-vcol.is-open .mv-vcol__head .mv-chev { transform: rotate(180deg); }
.mv-vcol__t { font-family: var(--mv-display); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.14; letter-spacing: -.02em; }
.mv-vcol .mv-tagline { margin-top: 5px; font-size: 1.02rem; }
.mv-vbox { display: flex; flex-direction: column; margin: 0 16px 16px; padding: 12px 14px 14px; border-radius: 12px; background: rgba(255,255,255,.55); border: 1px dashed rgba(143,106,30,.5); }
.is-editing .mv-vbox { margin-top: 12px; }
.mv-in-soft { animation: mv-soft .45s cubic-bezier(.2,.8,.2,1) both; }
.mv-in-soft .mv-vbox { animation: mv-grow .45s cubic-bezier(.2,.8,.2,1) both; transform-origin: top center; }
@keyframes mv-soft { from { box-shadow: var(--mv-inset), var(--mv-shadow); } }
.mv-vbox__p { flex: 1; display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.mv-vbox__t { font-size: .98rem; line-height: 1.5; color: var(--mv-ink); }
.mv-prayer { text-wrap: balance; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: clamp(18px, 3.4vh, 34px); font-family: var(--mv-display); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.3rem, 2.2vw, 2rem); color: #6b1a16; text-shadow: 0 0 18px rgba(255,248,230,.98), 0 0 4px rgba(255,248,230,.9); }
.mv-closing { position: relative; margin: clamp(14px, 2.4vh, 26px) auto 0; max-width: 760px; padding: 18px 26px 20px; border-radius: 14px; background: var(--mv-panel); border: 1px solid var(--mv-hair); box-shadow: var(--mv-inset), var(--mv-shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: center; }
.mv-closing h3 { text-wrap: balance; font-family: var(--mv-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.mv-closing p { margin-top: 6px; color: var(--mv-ink); }
.mv-closing .mv-btns { justify-content: center; }
.mv-closing .mv-draft { position: absolute; top: 12px; right: 14px; }
.mv-btns--vision { margin-top: 12px; }

/* ---------------------------------------------------- the Bible icon + verse bubble */
.mv-bible { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--mv-gold-d); background: linear-gradient(#fff8e2, #f3e0b0); border: 1px solid #cfa550; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.mv-book { width: 18px; height: 18px; }
.mv-bible:hover, .mv-bible[aria-expanded="true"] { background: var(--mv-red); color: #fff; border-color: #ecc888; transform: scale(1.08); }
.mv-bible.is-empty { border-style: dashed; opacity: .45; }   /* edit mode only: “add a verse here” */
.mv-bible.is-empty:hover, .mv-bible.is-empty:focus-visible, .mv-bible.is-empty[aria-expanded="true"] { opacity: 1; }
.mv-verse { position: fixed; z-index: 12; width: min(320px, calc(100vw - 24px)); max-height: min(70dvh, calc(100dvh - 24px)); overflow-y: auto; padding: 16px 18px 16px; border-radius: 14px; background: rgba(255,250,238,.96); border: 1px solid rgba(205,160,70,.95); box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.5), 0 18px 44px rgba(90,60,30,.32); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--mv-ink); }
.mv-verse[hidden] { display: none; }
.mv-verse__text { font-family: var(--mv-body); font-weight: 500; font-size: 1.04rem; line-height: 1.45; color: var(--mv-ink); }
.mv-verse__ref { margin-top: 8px; font-size: .9rem; font-weight: 600; letter-spacing: -.005em; color: #8e1a14; }
.mv-verse__empty { color: var(--mv-ink-soft); }
.mv-verse__open { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--mv-gold-d); text-underline-offset: 3px; }
.mv-verse__open:hover { color: var(--mv-red); }
.mv-verse__open .mv-ext { width: .85em; height: .85em; }
.mv-star { color: var(--mv-gold-d); font-weight: 700; margin-left: 3px; cursor: help; }
.mv-verse__lab { margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--mv-gold-d); }
.mv-verse__lab:first-child { margin-top: 0; }
.mv-verse__row { display: flex; gap: 8px; margin-top: 12px; }

/* ---------------------------------------------------------- note + live */
.mv-note { position: absolute; z-index: 9; top: 74px; right: calc(var(--mv-pad) + 14px); width: min(400px, calc(100% - 2 * var(--mv-pad) - 28px)); max-height: calc(100% - 104px); overflow-y: auto; padding: 22px; border-radius: 14px; background: rgba(255,250,238,.96); border: 1px solid rgba(205,160,70,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.5), 0 24px 60px rgba(90,60,30,.34); color: var(--mv-ink); }
.mv-note[hidden] { display: none; }
.mv-note__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mv-note__head h2 { font-family: var(--mv-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.mv-note p { margin-top: 12px; color: var(--mv-ink); font-size: .97rem; }
.mv-x { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff8e2; border: 1px solid #cfa550; color: var(--mv-gold-d); }
.mv-x:hover { background: var(--mv-red); color: #fff; }
.mv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.mv-chips--left { justify-content: flex-start; }
.mv-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600; text-decoration: none; background: #fff8e2; border: 1px solid #cfa550; color: var(--mv-gold-d); }
a.mv-chip:hover { background: var(--mv-red); color: #fff; }
.mv-chip .mv-ext { width: .8em; height: .8em; opacity: .7; }
.mv-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- EDIT MODE */
.mv-ed { cursor: text; outline: 1.5px dashed rgba(143,106,30,.7); outline-offset: 3px; border-radius: 4px; min-width: 3ch; }
.mv-ed:hover { outline-color: var(--mv-red); background: rgba(243,213,142,.28); }
.mv-ed:focus { outline: 2px solid var(--mv-red); background: rgba(243,213,142,.34); }
.mv-ed:empty::before { content: attr(data-ph); color: rgba(94,74,67,.6); font-style: normal; font-weight: 500; font-family: var(--mv-body); letter-spacing: 0; text-transform: none; }
.mv-intro .mv-ed { outline-color: rgba(255,250,240,.85); }
.mv-intro .mv-ed:hover, .mv-intro .mv-ed:focus { background: rgba(255,250,240,.18); outline-color: #fff; }
.mv-intro .mv-ed:empty::before { color: rgba(255,250,240,.7); }
.mv-ed--inline { display: inline-block; min-width: 8ch; }
h1 .mv-ed, .mv-phrase__title.mv-ed { display: inline-block; }
.mv-edtools { margin-top: 20px; padding-top: 14px; border-top: 1px dashed rgba(143,106,30,.45); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mv-edrow { flex: 1 0 100%; font-size: .82rem; color: var(--mv-ink-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.mv-edcheck { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--mv-ink-soft); cursor: pointer; }
.mv-edcheck input { accent-color: var(--mv-red); }
.mv-mini { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #fff8e2; border: 1px solid #cfa550; color: var(--mv-ink); transition: background .2s, color .2s; white-space: nowrap; }
.mv-mini:hover { background: var(--mv-red); border-color: #ecc888; color: #fff; }
.mv-mini--go { background: linear-gradient(180deg, #d62020, #C61717); border-color: #ecc888; color: #fff; }
.mv-mini--danger { border-color: rgba(198,23,23,.6); color: var(--mv-red); }
.mv-subtab.is-open .mv-mini { background: rgba(255,255,255,.9); color: var(--mv-red); }
.mv-subtab.is-open .mv-mini--go { background: #fff; color: var(--mv-red); }
.mv-rm { flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff8e2; color: var(--mv-red); border: 1px solid rgba(198,23,23,.55); margin-top: 3px; }
.mv-rm .mv-ico { width: 12px; height: 12px; }
.mv-rm:hover { background: var(--mv-red); color: #fff; }
.mv-add { color: var(--mv-gold-d); border-color: #cfa550; }
.mv-add:hover { background: var(--mv-red); color: #fff; }
.mv-linkedit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; width: 100%; padding: 8px 10px; border-radius: 12px; background: rgba(255,250,238,.93); border: 1px solid var(--mv-hair); color: var(--mv-ink); }
.mv-linkedit__l { font-size: .76rem; font-weight: 600; color: var(--mv-gold-d); }
.is-editing .mv-kid { transform: none !important; }
.mv-edbar { position: absolute; z-index: 11; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(980px, calc(100% - 52px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 14px 10px 18px; border-radius: 16px; background: rgba(255,250,238,.97); border: 1px solid rgba(205,160,70,.95); box-shadow: var(--mv-inset), 0 0 0 3px rgba(255,236,186,.5), 0 18px 44px rgba(90,60,30,.34); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--mv-ink); }
.mv-edbar[hidden] { display: none; }
.mv-edbar__msg { display: flex; flex-direction: column; font-size: .84rem; color: var(--mv-ink-soft); min-width: 0; flex: 1 1 320px; }
.mv-edbar__msg strong { color: #8e1a14; font-size: .9rem; font-weight: 600; }
.mv-edbar__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-modal { position: absolute; z-index: 20; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(60,40,25,.5); }
.mv-modal[hidden] { display: none; }
.mv-modal__card { width: min(720px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 14px; background: #fffaf0; border: 1px solid rgba(205,160,70,.95); box-shadow: 0 0 0 3px rgba(255,236,186,.5), 0 24px 60px rgba(90,60,30,.4); color: var(--mv-ink); }
.mv-modal__card h2 { font-family: var(--mv-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.mv-modal__card textarea { width: 100%; height: 40vh; padding: 12px; border-radius: 10px; background: #fff; color: #222; border: 1px solid #cfa550; font: .8rem/1.4 ui-monospace, Menlo, Consolas, monospace; }

/* ------------------------------------------------- extra edit-mode bits */
.mv-ed--url { min-width: 18ch; font-size: .82rem; }
.is-editing .mv-subtab { cursor: default; }
.is-editing .mv-subtab .mv-mini { margin-top: 4px; padding: 3px 11px; font-size: .7rem; }
.is-editing .mv-subtab__t.mv-ed { display: inline-block; }
.is-editing .mv-subtab.is-open .mv-ed { outline-color: rgba(255,250,240,.85); }
.is-editing .mv-subtab.is-open .mv-ed:empty::before { color: rgba(255,250,240,.7); }
.is-editing .mv-gtab__btn { cursor: default; }
.is-editing .mv-gtab__btn .mv-mini { margin-left: auto; }
.is-editing .mv-visionpane { padding-bottom: 130px; }
.is-editing .mv-detail { padding-bottom: 150px !important; }
.is-editing .mv-gtab__t { flex: 1; }
.mv-edtools--tight { margin: 4px 0 0; padding: 0; border: 0; }
.mv-gtab__body .mv-edtools { margin-top: 12px; }
.is-editing .mv-btns { align-items: stretch; }
.mv-linkedit { flex: 1 1 100%; }
.mv-ed-white { color: #fff; }

/* --------------------------------------------------------------- tablets */
@media (max-width: 1100px) and (min-width: 761px) {
  .mv-brand__page { display: none; }
  .mv-dw--0 .mv-ground, .mv-dw--1 .mv-ground { padding-left: 60px; }
  .mv-dw--2 .mv-ground, .mv-dw--3 .mv-ground { padding-right: 60px; }
  .mv-card__stmt { font-size: .96rem; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .mv-app { padding-top: 62px; }
  .mv-subtab { min-height: 58px; }
  .mv-part { height: 46px; }
  .mv-mtitle { padding-bottom: 6px; }
  .mv-intro { padding-top: 78px; }
}

/* ----------------------------------------------------------- small screens */
@media (max-width: 760px), ((max-height: 520px) and (max-width: 980px)) {
  .mv-header { padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); gap: 6px; }
  .mv-brand__mark { width: 34px; }
  .mv-brand__text { display: none; }
  .mv-tool span { display: none; }
  .mv-tool { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .mv-nav { padding: 3px; }
  .mv-navb { height: 32px; padding: 0 clamp(8px, 2.4vw, 12px); font-size: clamp(.74rem, .66rem + .45vw, .82rem); }
  .mv-tool--icon { width: 38px; height: 38px; }
  .mv-intro { padding: calc(74px + env(safe-area-inset-top, 0px)) 22px 20px; }
  .mv-h1 { font-size: clamp(1.85rem, 0.4rem + 8.6vw, 3.2rem); text-wrap: wrap; }
  .mv-h1__l { display: block; white-space: nowrap; }
  .mv-btn--big { max-width: 100%; padding: 12px 16px; font-size: clamp(.84rem, .7rem + .7vw, .98rem); gap: 8px; }
  .mv-btn--big > span { white-space: nowrap; }
  .mv-app { padding-top: calc(58px + env(safe-area-inset-top, 0px)); }
  .mv-app.is-vision { padding-top: calc(60px + env(safe-area-inset-top, 0px)); }
  .mv-mhead, .mv-detail__in, .mv-vwrap { width: calc(100% - 30px); }
  .mv-mtitle { padding: 2px 0 6px; font-size: .86rem; }
  .mv-mtitle .mv-eyebrow__line { width: 36px; }
  .mv-groups { column-gap: 8px; }
  .mv-part { height: 40px; border-radius: 12px; }
  .mv-part__t { font-size: 1rem; }
  .mv-conn { height: 8px; }
  .mv-conn::before, .mv-conn::after { display: none; }
  .mv-pair { grid-template-columns: 1fr; row-gap: 6px; }
  .mv-subtab { min-height: 64px; padding: 6px 8px; border-radius: 12px; }
  .mv-subtab__t { font-size: .92rem; }
  .mv-subtab__cue { font-size: .7rem; }
  .mv-subtab.is-open { border-bottom-color: #ecc888; border-radius: 12px; margin-bottom: 0; padding-bottom: 6px; box-shadow: 0 0 0 3px rgba(243,213,142,.4); }
  .mv-detail { padding-bottom: 18px; margin-top: 10px; }
  .mv-dw { display: block; }
  .mv-lines { display: none; }
  .mv-card { padding: 14px 16px 14px; border-radius: 14px; border-top: 1px solid rgba(205,160,70,.95); }
  .mv-card__title { display: block; font-family: var(--mv-display); font-weight: 600; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 4px; }
  .mv-card__ground { margin-top: 12px; }
  .mv-ground { margin-top: 22px; padding: 0 0 0 24px !important; align-items: stretch !important; gap: 8px; }
  .mv-ground::before { content: ""; position: absolute; left: 7px; top: -22px; bottom: 28px; border-left: 2px dotted rgba(201,154,62,.9); }
  .mv-gtabs { width: 100%; gap: 8px; }
  .mv-gtab { position: relative; }
  .mv-gtab::before { content: ""; position: absolute; left: -17px; top: 24px; width: 17px; border-top: 2px dotted rgba(201,154,62,.9); }
  .mv-gtab__btn { min-height: 46px; padding-left: 14px; }
  .mv-gtab__body { padding: 2px 14px 14px; }
  .mv-visionpane { padding: 8px 0 calc(28px + env(safe-area-inset-bottom, 0px)); display: block; }
  .mv-mhead.is-compact .mv-part { height: 30px; border-radius: 10px; }
  .mv-mhead.is-compact .mv-part__t { font-size: .88rem; }
  .mv-mhead.is-compact .mv-groups { column-gap: 6px; }
  .mv-mhead.is-compact .mv-conn { display: none; }
  .mv-mhead.is-compact .mv-pair { grid-template-columns: 1fr; row-gap: 6px; margin-top: 5px; }
  .mv-mhead.is-compact .mv-subtab { min-height: 34px; min-width: 0; padding: 3px 4px; border-radius: 10px; }
  .mv-mhead.is-compact .mv-subtab__t { width: 100%; min-width: 0; font-size: .72rem; line-height: 1.05; white-space: normal; overflow-wrap: break-word; }
  .mv-seebar { position: static; left: auto; bottom: auto; transform: none; flex: none; align-self: center; flex-wrap: wrap; justify-content: center; width: min(calc(100% - 20px), max-content); max-width: calc(100% - 20px); height: auto; min-height: 48px; margin: 6px auto calc(10px + env(safe-area-inset-bottom, 0px)); padding: 8px 16px; gap: 0 8px; white-space: normal; }
  button.mv-seebar:hover { transform: none; }
  .mv-seebar__t, .mv-seebar__s { white-space: nowrap; }
  .mv-seebar__t { font-size: clamp(.9rem, .78rem + .5vw, 1rem); }
  .mv-seebar__s { font-size: clamp(.78rem, .7rem + .4vw, .9rem); }
  .mv-seebar__t + .mv-seebar__s::before { margin-right: 8px; }
  .mv-detail { padding-bottom: 18px !important; }
  .mv-vcols { grid-template-columns: 1fr; gap: 14px; }
  .mv-vcols { gap: 10px; }
  .mv-vcol__head { padding: 13px 14px 13px 16px; }
  .mv-vcol__t { font-size: 1.12rem; }
  .mv-vcol .mv-tagline { font-size: .95rem; }
  .mv-vbox { margin: 0 12px 12px; }
  .mv-closing { padding: 18px 18px 20px; }
  .mv-note { top: calc(62px + env(safe-area-inset-top, 0px)); right: 18px; left: 18px; width: auto; max-height: calc(100svh - 62px - 96px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
  .mv-edbar { bottom: 14px; width: calc(100% - 28px); border-radius: 14px; padding: 8px 10px; gap: 4px 8px; }
  .mv-edbar__msg { flex-basis: 100%; }
  .mv-edbar__msg span { display: none; }
  .mv-edbar__btns { gap: 6px; }
  .mv-edbar .mv-mini { padding: 5px 11px; font-size: .74rem; }
  .mv-tool--icon, .mv-x, .mv-bible { position: relative; }
  .mv-tool--icon::after, .mv-x::after, .mv-bible::after { content: ""; position: absolute; inset: min(0px, calc((100% - 44px) / 2)); }
}
/* A short landscape phone is wide enough to miss the block above, and too short for the 560px floor. */
@media (max-height: 520px) and (max-width: 980px) {
  .mv-pair { grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .mv-mtitle { display: none; }
  .mv-app { padding-top: calc(50px + env(safe-area-inset-top, 0px)); }
  .mv-conn { height: 6px; }
  .mv-subtab { min-height: 44px; }
  .mv-part { height: 32px; }
  .mv-h1 { font-size: clamp(1.55rem, 7vh, 2.5rem); }
  .mv-intro { padding-top: calc(62px + env(safe-area-inset-top, 0px)); }
}
/* The full vision line does not fit on the narrowest phones, so the subtitle takes the next line whole. */
@media (max-width: 360px) {
  .mv-seebar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; width: calc(100% - 20px); justify-items: center; text-align: center; }
  .mv-seebar__t { grid-column: 1; grid-row: 1; }
  .mv-seebar__s { grid-column: 1; grid-row: 2; }
  .mv-seebar .mv-ico { grid-column: 2; grid-row: 1 / span 2; }
  .mv-seebar__t + .mv-seebar__s::before { content: none; margin: 0; }
}
/* Taps must not leave a hover colour stuck. An open sub-point stays red with white type. */
@media (hover: none), (pointer: coarse) {
  button.mv-subtab:hover:not(.is-open) { background: var(--mv-panel); border-color: var(--mv-hair); transform: none; }
  button.mv-subtab.is-open:hover { background: linear-gradient(180deg, #d42020, #C61717 70%, #ae1212); color: #fff; border-color: #ecc888; transform: none; }
  .mv-navb:hover:not([aria-current="page"]) { background: transparent; opacity: .85; }
  .mv-tool:hover:not([aria-expanded="true"]):not([aria-pressed="true"]) { background: rgba(255,250,238,.74); border-color: var(--mv-hair); color: var(--mv-ink); }
  .mv-mhead.is-compact button.mv-part:hover { filter: none; }
  button.mv-gtab__btn:hover, button.mv-vcol__head:hover { background: transparent; }
  button.mv-gtab__btn:hover .mv-chev, button.mv-vcol__head:hover .mv-chev { color: var(--mv-gold-d); }
  .mv-btn:hover { filter: none; transform: none; }
  .mv-btn--ghost:hover { background: rgba(255,252,244,.88); filter: none; border-color: rgba(205,160,70,.85); color: var(--mv-ink); }
  button.mv-seebar:hover { filter: none; transform: none; }
  .mv-bible:hover:not([aria-expanded="true"]) { background: linear-gradient(#fff8e2, #f3e0b0); color: var(--mv-gold-d); border-color: #cfa550; transform: none; }
  .mv-x:hover, a.mv-chip:hover, .mv-mini:hover { background: #fff8e2; color: var(--mv-gold-d); border-color: #cfa550; }
  .mv-mini--go:hover { background: linear-gradient(180deg, #d62020, #C61717); border-color: #ecc888; color: #fff; }
}
@media (hover: none), (pointer: coarse) {
  button.mv-subtab:active:not(.is-open), button.mv-gtab__btn:active, button.mv-vcol__head:active { background: rgba(243,213,142,.28); }
  .mv-navb:active:not([aria-current="page"]) { background: rgba(198,23,23,.12); opacity: 1; }
  .mv-btn:active, .mv-seebar:active { filter: brightness(1.08); }
}

/* ------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mv *, .mv *::before, .mv *::after { animation: none !important; transition-duration: .01ms !important; }
}
.mv.is-reduced .mv-twinkle, .mv.is-reduced .mv-cloud { animation: none; }

/* behind the cards, the sun is a quiet presence, so the red rays do not fight the panels */
.mv-lay[data-l="sun"], .mv-lay[data-l="halo"] { transition: opacity .9s ease; }
.mv[data-view="sub"] .mv-lay[data-l="sun"] { opacity: .55; }
.mv[data-view="vision"] .mv-lay[data-l="sun"] { opacity: .8; }
