/* Muve — Market and competitor research. Hero: a side-by-side board (you and two example shops) where a changed cell
   lights up and a plain note says what changed. Then a week of watching (a pinned sheet that fills in as you scroll). */

/* ---------- hero: the board ---------- */
.bd { display: grid; gap: 12px; max-width: 610px; margin-inline: auto; padding: 16px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); }
.bd__head { display: grid; gap: 4px; }
.bd__title { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bd__title b { font-weight: 400; font-size: var(--text-lg); letter-spacing: -.01em; color: var(--ink); }
.bd__for { font-size: var(--text-sm); line-height: 1.35; color: var(--ink-2); }
.bd__table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.25; color: var(--ink); }
.bd__table th, .bd__table td { height: 62px; padding: 4px 8px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(11, 27, 51, .1); font-weight: 400; }
.bd__table thead th { height: auto; padding-block: 9px; font: 500 .75rem/1.25 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: rgba(11, 27, 51, .22); }
.bd__table th:first-child { width: 19%; padding-left: 0; color: var(--ink-2); }
.bd__table tbody tr:last-child > * { border-bottom: 0; }
.bd__table .bd__you { background: color-mix(in srgb, var(--orange) 10%, var(--white)); }
.bd__table thead .bd__you { color: var(--orange-ink); border-radius: 6px 6px 0 0; }
.bd__table td:has(.bd__cell) { padding: 4px; }
.bd__cell { display: grid; align-content: center; gap: 1px; width: 100%; min-height: 52px; padding: 5px 8px; border-radius: 6px; text-align: left; font: inherit; color: var(--ink); background: #ffeadb; box-shadow: inset 0 0 0 1px rgba(168, 58, 10, .5); transition: background-color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), translate var(--t-hover) var(--ease-out); }
.bd__cell s { font-size: .75rem; color: var(--ink-2); text-decoration: line-through; }
.bd__cell b { font-weight: 500; color: var(--ink); }
.bd.is-run .bd__cell:not(.is-new) { background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .28); }
.bd.is-run .bd__cell:not(.is-new) s { font-size: inherit; color: var(--ink); text-decoration: none; }
.bd.is-run .bd__cell:not(.is-new) b, .bd.is-run .bd__cell:not(.is-new) .sr-only { display: none; }
.bd__cell[aria-pressed="true"] { background: #ffd8bd; color: var(--ink); box-shadow: inset 0 0 0 2px var(--orange-ink); animation: bd-flash 900ms var(--ease-out); }
.bd__cell[aria-pressed="true"] s { color: var(--ink-2); }
@keyframes bd-flash { 0% { scale: .92; background-color: var(--orange); } 100% { scale: 1; } }
@media (hover: hover) and (pointer: fine) {
  .bd__cell:hover, .bd.is-run .bd__cell:not(.is-new):hover { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); translate: 0 -1px; }
  .bd__cell:hover s, .bd.is-run .bd__cell:not(.is-new):hover s { color: var(--ink-2); }
  .bd__cell[aria-pressed="true"]:hover { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
  .bd__cell[aria-pressed="true"]:hover s { color: var(--ink-2); }
}
.bd__cell:focus-visible, .bd.is-run .bd__cell:not(.is-new):focus-visible, .bd__cell[aria-pressed="true"]:focus-visible { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); translate: 0 -1px; }
.bd__cell:focus-visible s, .bd.is-run .bd__cell:not(.is-new):focus-visible s, .bd__cell[aria-pressed="true"]:focus-visible s { color: var(--ink-2); }
.bd__note { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: baseline; min-height: 4.7em; padding: 12px 14px; border-radius: 8px; background: #fff0e4; color: var(--ink); font-size: .9375rem; line-height: 1.4; box-shadow: inset 0 0 0 1px rgba(168, 58, 10, .35); }
.bd__note svg { fill: var(--orange-ink); }
.bd__note > span { transition: opacity var(--t-hover) var(--ease-out); }
.bd__seen { font-size: var(--text-sm); color: var(--ink-2); }
.bd.is-swap .bd__note > span { opacity: 0; }
@media (min-width: 901px) and (max-height: 820px) { .bd__table th, .bd__table td { height: 54px; } .bd__cell { min-height: 46px; } .bd { gap: 8px; padding-block: 12px; } }
@media (max-width: 560px) {
  .bd { padding: 12px; }
  .bd__table { font-size: .8125rem; }
  .bd__table th, .bd__table td { padding: 4px 5px; height: 70px; }
  .bd__table thead th { letter-spacing: 0; }
  .bd__table th:first-child { width: 20%; }
  .bd__table td:has(.bd__cell) { padding: 3px; }
  .bd__cell { min-height: 62px; padding: 4px 5px; }
}

/* ---------- a week of watching: the pinned sheet fills in step by step (--a is the step) ---------- */
.mk-story { --a: 3; }
.mk-story[data-active="hear"] { --a: 0; } .mk-story[data-active="pick"] { --a: 1; } .mk-story[data-active="look"] { --a: 2; }
.sh__body { --on1: clamp(0, var(--a), 1); --on2: clamp(0, calc(var(--a) - 1), 1); --on3: clamp(0, calc(var(--a) - 2), 1); display: grid; gap: 12px; padding: 16px; border-radius: 8px; background: var(--paper); }
.sh__quote { display: grid; gap: 4px; padding: 12px 14px; border-radius: 8px 8px 8px 0; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .12), var(--sh-1); opacity: calc(1 - .62 * var(--on1)); transition: opacity var(--t-panel) var(--ease-out); }
.sh__quote b { font-weight: 400; font-size: var(--text-base); line-height: 1.35; color: var(--ink); }
.sh__quote span { font-size: var(--text-sm); color: var(--ink-2); }
.sh__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.sh__c { position: relative; display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 6px; font-size: var(--text-sm); line-height: 1.2; color: var(--ink); isolation: isolate; }
.sh__name { min-height: 30px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); opacity: var(--on1); translate: 0 calc((1 - var(--on1)) * 6px); transition: opacity var(--t-panel) var(--ease-out) calc(var(--k) * 140ms), translate var(--t-panel) var(--ease-out) calc(var(--k) * 140ms); }
.sh__f { padding-left: 0; color: var(--ink); }
.sh__v { background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1); }
.sh__v { display: grid; align-items: center; }
.sh__v > * { grid-area: 1 / 1; }
/* before it has looked, each cell says so in words (X 11/20: no empty hatched placeholders) */
.sh__v em { font-style: normal; font-size: .8125rem; color: var(--ink-2); opacity: calc(1 - var(--on2)); transition: opacity 420ms var(--ease-out) calc(var(--k) * 90ms); }
.sh__v::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #ffe3cf; box-shadow: inset 0 0 0 1.5px var(--orange-ink); opacity: 0; transition: opacity 420ms var(--ease-out) calc(var(--k) * 60ms + 150ms); }
.sh__v.is-chg::after { opacity: var(--on3); }
.sh__v b { font-weight: 400; opacity: var(--on2); translate: calc((1 - var(--on2)) * -6px) 0; transition: opacity 420ms var(--ease-out) calc(var(--k) * 90ms + 80ms), translate 420ms var(--ease-out) calc(var(--k) * 90ms + 80ms); }
.sh__pub { font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); opacity: calc(.4 + .6 * var(--on2)); transition: opacity var(--t-panel) var(--ease-out); }
.sh__note { display: grid; gap: 2px; padding: 12px 14px; border-radius: 8px; background: #fff0e4; box-shadow: inset 0 0 0 1px rgba(168, 58, 10, .35); font-size: var(--text-sm); line-height: 1.4; color: var(--ink-2); opacity: var(--on3); translate: 0 calc((1 - var(--on3)) * 10px); transition: opacity var(--t-panel) var(--ease-out) 380ms, translate var(--t-panel) var(--ease-out) 380ms; }
.sh__note b { font-weight: 400; font-size: var(--text-base); color: var(--ink); }
@media (max-width: 900px) {
  .sh__body { padding: 10px; gap: 8px; }
  .sh__quote { display: none; }
  .sh__c { min-height: 30px; padding: 4px 8px; font-size: .8125rem; }
  .sh__name { min-height: 22px; letter-spacing: 0; }
  .sh__grid { gap: 4px; }
  .sh__pub { display: none; }
  .sh__note { padding: 8px 10px; } .sh__note b { font-size: .875rem; }
}

/* ---------- the public-information promise under the list ---------- */
.mk-pub { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(16px, 2vw, 28px); padding: clamp(20px, 3vw, 40px); }
.mk-pub .wash::before { inset: 40% -10% -50% 48%; opacity: .4; }
.mk-pub h3 { grid-column: 1; }
.mk-pub .t-body { grid-column: 1; }
.mk-pub__list { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 8px; }
.mk-pub__list li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 48px; padding: 8px 16px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .12), var(--sh-1); font-size: var(--text-base); color: var(--ink); transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.mk-pub__list i { display: block; width: 12px; height: 12px; background: var(--cyan); box-shadow: 0 0 0 1.5px var(--cyan-ink); animation: mk-see 4.8s var(--ease-io) infinite; }
.mk-pub__list li:nth-child(2) i { animation-delay: .6s; } .mk-pub__list li:nth-child(3) i { animation-delay: 1.2s; } .mk-pub__list li:nth-child(4) i { animation-delay: 1.8s; }
@keyframes mk-see { 0%, 70%, 100% { scale: 1; rotate: 0deg; } 82% { scale: 1.35; rotate: 90deg; } }
@media (hover: hover) and (pointer: fine) { .mk-pub__list li:hover { translate: 6px 0; box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .12), var(--sh-2); } }
@media (max-width: 800px) { .mk-pub { grid-template-columns: minmax(0, 1fr); } .mk-pub__list { grid-column: 1; grid-row: auto; } }

@media (prefers-reduced-motion: reduce) {
  .bd__cell, .bd__note > span, .sh__quote, .sh__name, .sh__v em, .sh__v::after, .sh__v b, .sh__pub, .sh__note, .mk-pub__list li { transition: none; }
  .bd__cell[aria-pressed="true"], .mk-pub__list i { animation: none; }
}

/* ---------- the page skeleton (hero, story, what's included, cost and questions, related, next step) ---------- */
.sv-eg { padding: 4px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.sv-eg i { background: var(--ink-3); }
main .t-h2 { font-size: clamp(1.875rem, 1.25rem + 2.3vw, 3.25rem); line-height: 1.08; }
.sv-after { margin-top: clamp(24px, 3vw, 40px); }

.sv-hero { display: block; min-height: 0; padding-bottom: clamp(48px, 8vw, 120px); }
/* the breadcrumb can sit over the ribbon, so it gets its own opaque pill */
.sv-crumb { display: inline-block; margin-top: clamp(10px, 2vh, 24px); padding: 6px 14px; border-radius: var(--r-pill); background: var(--white); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.sv-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: clamp(12px, 2.6vh, 36px) clamp(12px, 3vh, 40px); }
.sv-hero .phero__h { font-size: clamp(2.125rem, 1.1rem + 2.9vw, 4.25rem); }
.sv-hero .phero__kicker { margin-bottom: clamp(12px, 2vh, 24px); }
.sv-hero .phero__lede { margin-top: clamp(14px, 2.2vh, 24px); }
.sv-hero .phero__cta { margin-top: clamp(18px, 2.8vh, 30px); }
.sv-hero--flip .sv-hero__copy { order: 2; }
.sv-hero--flip .sv-hero__art { order: 1; }
@media (max-width: 900px) {
  .sv-hero { padding-bottom: clamp(56px, 16vw, 110px); }
  .sv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sv-hero--flip .sv-hero__copy { order: 1; } .sv-hero--flip .sv-hero__art { order: 2; }
  .sv-hero .mesh { top: 46%; }
  .sv-hero .phero__cta .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-height: 500px) {
  .sv-crumb { margin-top: 4px; padding-block: 3px; }
  .sv-hero__grid { padding-block: 6px 20px; }
  .sv-hero .phero__kicker { margin-bottom: 8px; padding-block: 5px; }
  .sv-hero .phero__h { font-size: clamp(1.75rem, 9.5vh, 2.75rem); }
  .sv-hero .phero__lede { margin-top: 8px; font-size: 1rem; line-height: 1.4; max-width: 70ch; }
  .sv-hero .phero__cta { margin-top: 12px; }
  .sv-hero .phero__cta .btn { flex: 0 1 auto; }
}

/* the story: steps on one side, this page's pinned visual on the other */
.sv-story .story__step { display: grid; gap: 12px; justify-items: start; }
.sv-story .story__step .label { color: var(--hue-ink); }
.sv-pin { padding: clamp(14px, 2vw, 26px); display: grid; gap: 16px; }
.sv-pin .wash::before { inset: 62% -20% -40% -20%; }
.sv-pin__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-2); }
@media (max-width: 900px) { .sv-pin { gap: 10px; padding: 12px; box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); } }

/* what's included: one card per thing, each with its own small drawing on a tinted square of grid paper */
.sv-inc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.sv-inc { display: grid; grid-template-rows: auto 1fr; overflow: hidden; min-height: 100%; transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.sv-inc__top { padding: clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px) 0; }
.sv-inc p { padding: clamp(16px, 1.8vw, 24px); font-size: var(--text-lg); line-height: 1.4; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .sv-inc:hover { translate: 0 -4px; } }
@keyframes sv-rise { 0% { transform: scaleY(.45); } 100% { transform: scaleY(1); } }
@media (max-width: 1000px) { .sv-inc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sv-inc__grid { grid-template-columns: minmax(0, 1fr); } .sv-inc { grid-template-rows: none; grid-template-columns: auto minmax(0, 1fr); } .sv-inc__top { align-self: center; padding: 16px 0 16px 16px; } .sv-inc p { padding: 16px; align-self: center; font-size: 1rem; } }

/* cost and questions, on a tinted diagonal band */
.sv-ask { --skew-bg: color-mix(in srgb, var(--hue) 9%, var(--white)); }
.sv-ask .label { color: var(--hue-ink); }
.sv-ask__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sv-ask__side { display: grid; gap: 22px; justify-items: start; position: sticky; top: calc(var(--nav-h) + var(--nav-inset) + 32px); }
.sv-cost { padding: clamp(18px, 2.2vw, 28px); display: grid; gap: 14px; justify-items: start; width: 100%; }
.sv-cost .wash::before { opacity: .34; inset: 60% -20% -40% -20%; }
.sv-cost h3 { max-width: 20ch; }
.sv-cost p { font-size: var(--text-base); line-height: 1.55; color: var(--ink-2); }
.sv-lev { display: grid; gap: 10px; width: 100%; padding: 14px; border-radius: 8px; background: var(--paper); }
.sv-lev li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 12px; align-items: center; font-size: var(--text-sm); color: var(--ink); }
.sv-lev i { position: relative; display: block; height: 6px; background: rgba(11, 27, 51, .14); }
.sv-lev i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--hue-ink); transform-origin: 0 50%; transform: scaleX(var(--to, .5)); animation: sv-lev 6s var(--ease-io) calc(var(--n, 0) * .5s) infinite alternate; }
@keyframes sv-lev { 0% { transform: scaleX(var(--from, .2)); } 100% { transform: scaleX(var(--to, .5)); } }
@media (max-width: 900px) { .sv-ask__grid { grid-template-columns: minmax(0, 1fr); } .sv-ask__side { position: static; } .qa__a { padding-right: 0; } }
@media (max-width: 480px) { .sv-lev li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* related: the four sibling pages and the hub */
.sv-rel__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin-top: clamp(24px, 3vw, 40px); }
.sv-rel { display: grid; gap: 8px; align-content: start; padding: 20px; min-height: 100%; overflow: hidden; transition: translate var(--t-panel) var(--ease-out), box-shadow var(--t-panel) var(--ease-out); }
.sv-rel .wash::before { opacity: .3; inset: 58% -20% -40% -20%; }
.sv-rel .ic-tile { margin-bottom: 6px; }
.sv-rel b { font-weight: 400; font-size: var(--text-lg); letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
.sv-rel > span:not(.wash, .ic-tile) { font-size: var(--text-sm); line-height: 1.4; color: var(--ink-2); }
.sv-rel .arrow { margin-top: 6px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { a.sv-rel:hover { translate: 0 -4px; color: var(--ink); background: var(--white); } a.sv-rel:hover .arrow { width: 22px; color: var(--ink); } }
a.sv-rel:focus-visible { translate: 0 -4px; color: var(--ink); background: var(--white); }
a.sv-rel:focus-visible .arrow { width: 22px; color: var(--ink); }
@media (max-width: 1100px) { .sv-rel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sv-rel__grid { grid-template-columns: minmax(0, 1fr); } :is(a, span).sv-rel { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 16px; } .sv-rel .ic-tile { grid-row: span 2; margin: 0; } .sv-rel > span:not(.wash, .ic-tile) { grid-column: 2; } .sv-rel .arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; } }

/* the next step: an opaque card over a soft glow of the page's own colours */
.sv-close__stage { position: relative; isolation: isolate; }
.sv-close__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); }
.sv-close__copy { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 760px) { .sv-close__card { grid-template-columns: minmax(0, 1fr); } .sv-close__ic { order: -1; } .sv-close__copy .btn { width: 100%; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .sv-lev i::before { animation: none; }
  .sv-inc, .sv-rel { transition: none; }
}
.sv-mark { display: inline-block; margin-right: 8px; width: 16px; height: 16px; fill: none; color: var(--hue-ink); stroke-width: 1.5; vertical-align: -1px; }
.sv-cost__g { margin-bottom: 4px; }
.sv-lev i { height: 10px; }
.sv-close__stage { padding-block: clamp(20px, 4vw, 56px); }
.sv-close__card { max-width: 1080px; margin-inline: auto; }


[class$="-close"] { overflow-x: clip; }
/* the tilted card holds working buttons: keep it in its parent's plane, or the half that leans away slips behind it and stops taking clicks */
.sv-hero__art { transform-style: flat; }
.sv-hero__art [data-tilt] { transform-style: flat; }

/* ---------- 11/19 phone pass: no one-word last lines in headings, phone numbers never split, breadcrumb links get a 44px touch target without moving the layout ---------- */
@media (max-width: 760px) { main :is(h1, h2, h3) { text-wrap: balance; } }
main a[href^="tel:"] { white-space: nowrap; }
@media (pointer: coarse) { .crumb a { padding-block: 13px; } }

/* what moves the price: plain bullets (they read as text, not as sliders you can drag) */
.sv-lev__h { font-size: var(--text-sm); font-weight: 500; color: var(--ink); margin-bottom: -4px; }
.sv-lev { gap: 8px; }
.sv-lev li { display: flex; gap: 10px; align-items: baseline; }
.sv-lev li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--hue-ink); translate: 0 -1px; }

/* phones: each thing we check becomes its own row of three labelled cells, so nothing is squeezed into a fifth of the width */
@media (max-width: 480px) {
  .bd__table, .bd__table tbody { display: block; }
  .bd__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bd__table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 10px 0; border-bottom: 1px solid rgba(11, 27, 51, .1); }
  .bd__table tbody tr:last-child { border-bottom: 0; }
  .bd__table tbody th[scope="row"] { grid-column: 1 / -1; width: auto; height: auto; padding: 0 0 2px; border: 0; font-weight: 500; color: var(--ink); }
  .bd__table td { display: grid; align-content: start; gap: 2px; height: auto; padding: 6px; border: 0; border-radius: 6px; }
  .bd__table td::before { content: attr(data-label); font: 400 .75rem/1.25 var(--font); color: var(--ink-2); }
  .bd__table td:has(.bd__cell) { padding: 6px; }
  .bd__cell { min-height: 0; }
}
