/* Moving to the new Blume (/moving): the guide's own parts, over site.css
   and platform.css. Every class is its own (mv-), so nothing here touches
   another page. The tokens, the faces and the buttons are the site's. */

.mv-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mv-hero, .mv-head { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 88px) 8px; }
.mv-hero::before, .mv-head::before { content: ""; position: absolute; z-index: -1; left: 30%; top: -140px; width: 900px; height: 640px; max-width: 120vw; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }
.mv-hero h1 { max-width: 18ch; margin-top: 14px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
.mv-head h1 { max-width: 22ch; margin-top: 12px; font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
.mv-hero .lede, .mv-head .lede, .mv-how .lede { margin-top: 18px; max-width: 62ch; text-align: left; margin-inline: 0; }
.mv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mv-section { padding-top: clamp(48px, 7vw, 80px); }
.mv-section.tight { padding-top: 36px; }
.mv-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.mv-lede { margin-top: 10px; color: var(--muted); max-width: 62ch; }
main > :last-child.mv-section, main > .mv-how { padding-bottom: clamp(64px, 9vw, 112px); }

/* Who is reading: what only a team's admins do is left out for everyone else. */
.mv-who { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 16px; background: var(--sunk); }
.mv-who button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.mv-who button[aria-pressed="true"] { background: var(--raised); color: var(--accent); box-shadow: var(--shadow); }
[data-mv-who="everyone"] [data-who="admins"] { display: none; }

.mv-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: var(--wash); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mv-tag.done { background: var(--success-wash); color: var(--success); }
.mv-tag[hidden] { display: none; }

/* Cards */
.mv-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.mv-card { display: block; height: 100%; overflow: hidden; background: var(--raised); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mv-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--lift); }
.mv-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--line); background: #F6F8FC; }
.mv-card-body { display: block; padding: 18px 20px 22px; }
.mv-card-body .eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mv-card-body b { display: block; margin-top: 8px; font-size: 1.08rem; line-height: 1.35; }
.mv-card-body > span:last-child:not(.eyebrow) { display: block; margin-top: 6px; color: var(--muted); font-size: .96rem; }

/* The film */
.mv-film { margin: 24px 0 0; }
.mv-film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--lift); background: #F6F8FC; }
.mv-film figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.mv-transcript { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); }
.mv-transcript summary { padding: 14px 20px; font-weight: 700; color: var(--accent); cursor: pointer; }
.mv-transcript ol { margin: 0; padding: 0 24px 20px 44px; display: grid; gap: 10px; max-width: 80ch; }

/* What has changed */
.mv-changes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.mv-change { padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--raised); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.mv-change h3 { font-size: 1.2rem; line-height: 1.3; }
.mv-change dl { margin: 0; display: grid; gap: 12px; flex: 1; align-content: start; }
.mv-change dl div { padding: 12px 14px; border-radius: 14px; background: var(--sunk); }
.mv-change dl .now { background: var(--wash); }
.mv-change dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mv-change .now dt { color: var(--accent); }
.mv-change dd { margin: 4px 0 0; font-size: .98rem; }
.mv-change dl div:not(.now) dd { color: var(--muted); }
.mv-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.mv-more:hover { text-decoration: underline; }
.mv-same { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.mv-same li { display: flex; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--success-wash); }
.mv-same .ico { color: var(--success); margin-top: 5px; font-size: 1.15rem; }
.mv-band { padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: var(--wash); }
.mv-band p { margin-top: 12px; max-width: 70ch; }

/* Tables, and the search over one */
.mv-table { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--raised); box-shadow: var(--shadow); }
.mv-table table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.mv-table th, .mv-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.mv-table tbody tr:last-child td { border-bottom: 0; }
.mv-table th { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--sunk); white-space: nowrap; }
.mv-table td:first-child { color: var(--muted); }
.mv-moved td { min-width: 200px; }
.mv-moved tr[hidden] { display: none; }
.mv-search { display: flex; align-items: center; gap: 10px; margin-top: 24px; max-width: 560px; padding: 0 18px; min-height: 56px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--raised); color: var(--muted); }
.mv-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.mv-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.mv-count { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.mv-empty { margin-top: 24px; color: var(--muted); }
.mv-meter { margin-top: 10px; max-width: 320px; height: 6px; border-radius: 999px; background: var(--sunk); overflow: hidden; }
.mv-meter span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); }
.mv-meter[hidden], .mv-count[hidden] { display: none; }

/* One how-to */
.mv-how { position: relative; isolation: isolate; padding-top: clamp(32px, 5vw, 56px); }
.mv-how .wrap { max-width: 920px; }
.mv-how h1 { margin-top: 10px; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -.015em; }
.mv-before { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: var(--sunk); color: var(--muted); }
.mv-before .mv-tag { background: var(--raised); color: var(--muted); margin-top: 3px; }
.mv-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 40px; }
.mv-step-text { display: flex; gap: 16px; align-items: flex-start; }
.mv-step-text p { font-size: 1.1rem; padding-top: 4px; max-width: 64ch; }
.mv-number { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.mv-step figure { margin: 26px 0 0 54px; }
.mv-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #F6F8FC; box-shadow: var(--lift); cursor: zoom-in; }
.mv-zoom img { display: block; width: 100%; height: auto; }
/* A phone's picture is tall: drawn at a phone's width, with a phone's corners. */
.mv-step figure.phone { max-width: 300px; }
.mv-step figure.phone .mv-zoom { border-radius: 32px; border-width: 6px; border-color: #1C1C1F; }
@media (max-width: 640px) { .mv-step figure { margin-left: 0; } .mv-step figure.phone { margin-inline: auto; } }
.mv-notes { margin-top: 44px; padding: 24px 28px; border-radius: 20px; background: var(--wash); }
.mv-notes h2 { font-size: 1.25rem; }
.mv-notes ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.mv-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.mv-pager .mv-card-body { padding: 18px 20px; }
.mv-pager .next { text-align: right; }
.mv-pager .next .eyebrow { justify-content: flex-end; }
@media (max-width: 640px) { .mv-pager { grid-template-columns: 1fr; } .mv-pager .next { text-align: left; } .mv-pager .next .eyebrow { justify-content: flex-start; } }

/* The picture, larger */
.mv-lightbox { width: min(96vw, 1400px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: #F6F8FC; box-shadow: var(--lift); overflow: auto; }
.mv-lightbox::backdrop { background: rgba(10, 8, 14, .72); }
.mv-lightbox img { display: block; width: 100%; height: auto; }
.mv-lightbox.phone { width: min(92vw, 430px); border-radius: 32px; }
.mv-close { position: sticky; top: 12px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 12px 12px -52px auto; border: 1px solid #D6D6D6; border-radius: 999px; background: #FFFFFF; color: #2F2F2F; cursor: pointer; }
