/* Homepage-only stylesheet: the price-steps widget and the video facade. Kept out
   of the shared render-blocking styles.css (skill widget rule, 2026-09-26);
   index.html links it with media="print" + onload swap, so it never blocks first paint. */
/* ---------- homepage widget: price steps (2026-09-26) ----------
   The five-step job process, made steppable: each step shows what the client holds by then and how firm
   the price is. Words live on the <li> data attributes; main.js only moves between them. */
.nw-head { max-width: 62ch; margin-bottom: 1.6rem; }
.nw-steps { align-items: start; }
.nw-list .nw-step { all: unset; cursor: pointer; font: inherit; color: inherit; border-radius: var(--r-sm); }
.nw-list .nw-step:hover { color: var(--c-forest); text-decoration: underline; text-underline-offset: 3px; }
.nw-list .nw-step:focus-visible { outline: 2px solid var(--c-forest); outline-offset: 3px; }
.nw-list li { transition: opacity var(--dur) var(--ease); }
.nw-live .nw-list li:not(.is-on) { opacity: .62; }
.nw-live .nw-list li.is-on::before { background: var(--c-ox); }
.nw-card { background: var(--c-field); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: clamp(1rem, 2.4vw, 1.6rem); }
@media (min-width: 880px) { .nw-card { position: sticky; top: calc(var(--hdr-h) + 1.5rem); } }
.nw-vis { position: relative; aspect-ratio: 4 / 3; background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line-2); }
.nw-v { position: absolute; inset: 0; display: none; }
.nw-v.is-on { display: block; }
.nw-v svg, .nw-v img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.nw-v svg { padding: 6%; box-sizing: border-box; }
.nv-line { fill: none; stroke: var(--c-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.nv-fill { fill: var(--c-raise); stroke: var(--c-ink-2); stroke-width: 2; }
.nv-paper { fill: #FFFDF8; stroke: var(--c-line); stroke-width: 3; }
.nv-pencil { fill: none; stroke: var(--c-ink-2); stroke-width: 3; stroke-linecap: round; }
.nv-ox { fill: none; stroke: var(--c-ox); stroke-width: 4; stroke-linecap: round; }
.nv-dash { fill: none; stroke: var(--c-forest); stroke-width: 3; stroke-dasharray: 10 8; stroke-linejoin: round; }
.nv-flag { fill: var(--c-ox); }
.nv-tree { fill: var(--c-forest-l); opacity: .75; }
.nv-wall { fill: none; stroke: var(--c-forest); stroke-width: 7; stroke-linecap: square; }
.nv-dashw { fill: none; stroke: var(--c-maple); stroke-width: 3; stroke-dasharray: 6 6; }
.nw-out { display: block; margin-top: 1rem; }
.nw-tag { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-2); }
.nw-tag b { background: var(--c-forest); color: #fff; border-radius: 999px; padding: .15rem .7rem; letter-spacing: .04em; }
.nw-tag b.paid { background: var(--c-ox); }
.nw-hold { display: block; margin-top: .45rem; font-family: var(--ff-display); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--c-ink); }
.nw-meter-l { display: block; margin-top: .9rem; font-size: .92rem; color: var(--c-ink-2); }
.nw-meter-l b { color: var(--c-ink); }
.nw-meter { display: flex; justify-content: center; margin-top: .45rem; height: 14px; border-radius: 999px; background: var(--c-line-2); }
.nw-meter i { display: block; height: 100%; min-width: 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(2,73,48,.25), var(--c-forest), rgba(2,73,48,.25)); transition: width .4s var(--ease); }
.nw-meter-k { display: flex; justify-content: space-between; font-size: .78rem; color: var(--c-ink-2); margin-top: .25rem; }
.nw-ctl { margin-top: 1rem; display: grid; gap: .2rem; }
.nw-ctl label { font-weight: 700; font-size: .95rem; }
.nw-range { width: 100%; height: 44px; margin: 0; accent-color: var(--c-forest); cursor: pointer; }
.nw-card .btn-row { margin-top: .8rem; }
@media (max-width: 879px) { .nw-steps .nw-card { order: -1; } }
@media (prefers-reduced-motion: reduce) { .nw-meter i, .nw-list li { transition: none; } }

/* ---------- homepage video: click-to-load facade (2026-09-28) ---------- */
.yt-wrap { max-width: 960px; }
.yt-facade, .yt-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: var(--r-lg); overflow: hidden; background: #0b1f16;
  box-shadow: var(--sh-2);
}
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease); }
.yt-facade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,30,20,0) 55%, rgba(1,30,20,.45) 100%);
}
.yt-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--c-ox); display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.35); transition: transform 220ms var(--ease);
}
.yt-play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.yt-facade:hover img { transform: scale(1.02); }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: scale(1.08); }
.yt-facade:focus-visible { outline: 3px solid var(--c-forest); outline-offset: 3px; }
.yt-len {
  position: absolute; right: .8rem; bottom: .7rem; z-index: 1; color: #fff; font-size: .82rem; font-weight: 600;
  background: rgba(0,0,0,.6); border-radius: 4px; padding: .15rem .45rem;
}
@media (prefers-reduced-motion: reduce) { .yt-facade img, .yt-play { transition: none; } }
