/* home.css: places and sizes the home page's parts, with the tokens of system.css only. */

/* ================= hero: full-bleed footage under a navy shade (kit rotate) ================= */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden;
  min-height: max(660px, min(100svh, 960px)); padding: 124px 0 80px; background: var(--c-ink); color: var(--c-on-ink); --c-focus: var(--c-brand);
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
/* the kit's gentle change, as kit.md gives it */
[data-kit-scene="rotate"] [data-kit-slide] { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: hidden; }
[data-kit-scene="rotate"] [data-kit-slide][data-kit-on] { visibility: visible; z-index: 2; opacity: var(--kit-move, 1); transform: translateX(var(--kit-glide, calc((1 - var(--kit-move, 1)) * 4%))); } /* the kit gives the glide in whole device pixels */
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-prev])) [data-kit-slide][data-kit-on] { transform: none; opacity: 1; }
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { visibility: visible; z-index: 1; }
[data-kit-scene="rotate"] [data-kit-slide] video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-kit-scene="rotate"]:not(:has([data-kit-slide][data-kit-on])) [data-kit-slide]:not([data-kit-slide] ~ [data-kit-slide]) { visibility: visible; }
[data-kit-scene="rotate"] [data-kit-slide] video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; clip-path: inset(2px); } /* each clip reaches 1 px past its frame, so no still picture shows beside it; until it has shown its first frames, its first paint is cut 1 px inside the frame, so the first picture stays the largest paint */
[data-kit-scene="rotate"] [data-kit-slide] video[data-kit-shown] { clip-path: none; } /* the kit marks a clip once it has shown its first frames */
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); } /* the picture that left goes once the new one covers it whole */
[data-kit-scene="rotate"] [data-kit-slide] img.kit-first { inset: -1px !important; width: calc(100% + 2px) !important; height: calc(100% + 2px) !important; max-width: none; } /* the first picture laid like its clip */
/* the first picture, under its clip */
.hero__slide img.kit-first { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* each field framed so its people sit right of the words */
.slide--general video, .slide--general img.kit-first { object-position: 55% 50%; }
.slide--roofing video { object-position: 50% 40%; }
.slide--landscaping video { object-position: 60% 50%; }
.slide--dental video { object-position: 75% 40%; }
.slide--law video { object-position: 70% 45%; }

.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--c-shade), .95) 0%, rgba(var(--c-shade), .9) 30%, rgba(var(--c-shade), .55) 50%, rgba(var(--c-shade), .08) 70%, rgba(var(--c-shade), 0) 80%),
    linear-gradient(180deg, rgba(var(--c-shade), .6) 0%, rgba(var(--c-shade), 0) 20%, rgba(var(--c-shade), 0) 80%, rgba(var(--c-shade), .45) 100%);
}
.hero__in { position: relative; }
.hero__title {
  display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 11.6em; min-height: calc(3 * 1.04em); margin: 0; color: var(--c-on-ink);
  font-size: clamp(2.3rem, 1.1rem + 3.3vw, 3.95rem); font-weight: 700; line-height: 1.04;
}
.hero__word { color: var(--c-brand); opacity: calc(1 - var(--kit-swap, 0) * .85); }
.hero__line { max-width: 33rem; margin: 1.35rem 0 1.9rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: color-mix(in srgb, var(--c-on-ink) 88%, transparent); }
.hero .stop { top: auto; bottom: 22px; right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }

.hero__card {
  position: absolute; right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); display: flex; align-items: center; gap: .85rem; max-width: 21rem;
  padding: .85rem 1.15rem .85rem .85rem; border: 1px solid var(--c-line-on-ink); border-radius: 16px; background: rgba(var(--c-shade), .64); color: var(--c-on-ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: var(--shadow-l);
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 16px));
}
.hero__card--top { top: 23%; }
.hero__card--bottom { bottom: 15%; }
.hero__card b { display: block; font: 700 1rem/1.3 var(--font-ui); }
.hero__card small { display: block; margin-top: .15rem; font-size: .875rem; color: var(--c-soft-on-ink); }
.hero__tick { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }

@media (max-width: 899px) {
  .hero { align-items: flex-start; min-height: 0; padding: 96px 0 236px; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(var(--c-shade), .93) 0%, rgba(var(--c-shade), .9) 58%, rgba(var(--c-shade), .45) 76%, rgba(var(--c-shade), .1) 88%, rgba(var(--c-shade), .25) 100%);
  }
  .hero__title { min-height: calc(3 * 1.04em); font-size: clamp(2.1rem, 1.2rem + 3.8vw, 2.9rem); }
  .hero__line { margin: 1rem 0 1.4rem; }
  .hero__card, .hero__card--top, .hero__card--bottom { top: auto; bottom: 22px; left: var(--gutter); right: auto; max-width: calc(100% - 2 * var(--gutter) - 52px); }
  .hero .stop { bottom: 26px; }
  .slide--general video, .slide--general img.kit-first { object-position: 72% 50%; }
  .slide--roofing video { object-position: 72% 50%; }
  /* on the phone each clip fills the lower part, so what it shows sits in the open band under the picker */
  .hero .hero__slide[data-kit-slide] video, .hero .hero__slide[data-kit-slide] img.kit-first { top: auto; bottom: 1px; height: 64%; }
  /* the owner's face sits high in her clip: a lower band keeps it in the open space under the picker */
  .hero .slide--general[data-kit-slide] video { height: 42%; }
  .hero .slide--general[data-kit-slide] img.kit-first { inset: auto -1px 1px -1px !important; height: 42% !important; }
  /* the kit lays the slide's poster under its whole frame for the edge pixels: here only the band holds a picture */
  .hero .slide--general[data-kit-slide] { background-image: none !important; }
  .hero .slide--general[data-kit-slide] video, .hero .slide--general[data-kit-slide] img.kit-first { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
}
/* the longest field word takes a fourth line on a phone: kept for every word, so nothing below jumps */
@media (max-width: 599px) { .hero__title { min-height: calc(4 * 1.04em); } }

/* ================= plan: the free plan tour ================= */
.plan__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.tour__tabs { margin-top: 2.25rem; border-top: 1px solid var(--c-line); }
.tour__tab {
  position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .9rem; width: 100%; padding: 1.15rem 0 1.25rem;
  border: 0; border-bottom: 1px solid var(--c-line); background: none; color: var(--c-ink-soft); font: inherit; text-align: left; cursor: pointer;
}
.tour__num { padding-top: .2rem; font: 600 .8rem/1.4 var(--font-display); letter-spacing: var(--tracking-caps); color: var(--c-ink-soft); }
.tour__text b { display: block; font: 700 1.2rem/1.25 var(--font-display); letter-spacing: -.02em; color: var(--c-ink); }
.tour__text > span { display: block; margin-top: .25rem; font-size: var(--fs-small); color: var(--c-ink-soft); }
.tour__tab[aria-selected="false"] .tour__text { opacity: .6; }
.tour__tab:hover .tour__text { opacity: 1; }
.tour__tab[aria-selected="true"] .tour__num { color: var(--c-brand-text); }
.tour__bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--c-brand-text); transform: scaleX(0); transform-origin: 0 50%; }
.tour__tab[aria-selected="true"] .tour__bar { transform: scaleX(var(--kit-fill, 1)); }
.tour__stage { position: relative; display: grid; height: clamp(470px, 40vw, 540px); border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); box-shadow: var(--shadow-l); }
/* every clip lies 1 px past its box, so its ground never shows as a line at its foot or side at any screen scale */
.tour__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.tour__tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--c-shade), .1), rgba(var(--c-shade), .38)); }
.tour__panel { position: relative; z-index: 1; grid-area: 1 / 1; display: grid; align-content: center; padding: clamp(1rem, .5rem + 2.5vw, 2.5rem); }
.tour__panel > .scene { width: 100%; }
.tour__panel:focus-visible { outline-offset: -6px; }
.tour__stop { z-index: 3; }
@media (max-width: 899px) {
  .plan__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* on the phone the pictures come first, the tabs under them as their captions */
  .plan__intro { display: contents; }
  .plan__intro > .sec-title { order: 1; }
  .plan__intro > .lede { order: 2; margin-bottom: 1.75rem; }
  .tour__stage { order: 3; height: 480px; }
  .tour__tabs { order: 4; margin-top: 1.25rem; }
  .plan .cta-row { display: none; }
}

/* ================= how: the three steps land over an owner's coffee break (kit chat) ================= */
/* the tour's phone: the scene writes on a navy screen in --c-on-brand, which is navy in this site (green takes navy
   words): ivory inside the phone, navy again on the lit green chip */
#plan [data-scene="yourpart"] .yp-phone { --c-on-brand: var(--c-paper); }
#plan [data-scene="yourpart"] .yp-chips span.is-on, #plan [data-scene="yourpart"] .yp-ok { --c-on-brand: var(--c-ink); }

.coffee { position: relative; overflow: hidden; aspect-ratio: 16 / 8; border: 1px solid var(--c-line-on-ink); border-radius: var(--radius-l); background: var(--c-navy-2); }
.coffee__media { position: absolute; inset: 0; }
.coffee__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 30% 35%; }
.coffee > .stop { top: 14px; right: 14px; z-index: 3; }
.coffee__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(var(--c-shade), .66) 0%, rgba(var(--c-shade), .38) 36%, rgba(var(--c-shade), 0) 58%); pointer-events: none; }
.coffee__cards {
  position: absolute; z-index: 1; inset: 0 clamp(1rem, 3%, 2.5rem) 0 auto; width: min(40%, 390px);
  display: flex; flex-direction: column; justify-content: center; gap: .75rem; opacity: calc(1 - var(--kit-out, 0));
}
/* every card keeps its place from the start, so nothing shifts as they land */
.cup {
  display: grid; gap: .45rem; padding: .95rem 1.1rem; border: 1px solid var(--c-line-on-ink); border-radius: 16px;
  background: rgba(var(--c-shade), .66); color: var(--c-on-ink); box-shadow: var(--shadow-l);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px));
}
.cup[hidden] { visibility: hidden; }
.cup__label { font: 600 .75rem/1 var(--font-display); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--c-brand); }
.cup__ask { font: 700 1.05rem/1.3 var(--font-ui); }
.cup__chips { display: flex; gap: .4rem; }
.cup__chips span {
  display: grid; place-items: center; min-width: 46px; height: 36px; padding: 0 .7rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--c-line-on-ink); font: 700 .9375rem/1 var(--font-display); transition: background-color .25s, color .25s, box-shadow .25s;
}
.cup__chips span[data-kit-on] { background: var(--c-brand); box-shadow: none; color: var(--c-on-brand); }
.cup__big { font-size: .9375rem; color: var(--c-soft-on-ink); }
.cup__big b { display: block; font: 700 2.1rem/1.05 var(--font-display); letter-spacing: -.03em; color: var(--c-on-ink); }
.cup__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 54px; }
.cup__bars i { display: block; height: calc(4px + var(--v) * 50px); border-radius: 3px 3px 1px 1px; background: var(--c-brand); transform: scaleY(var(--kit-in, 1)); transform-origin: 50% 100%; }
.cup__bars i.is-setup { height: 4px; background: var(--c-soft-on-ink); opacity: .5; }
.cup__from { display: flex; justify-content: space-between; gap: .5rem; padding-top: .45rem; border-top: 1px solid var(--c-line-on-ink); font-size: .8125rem; color: var(--c-soft-on-ink); }
.cup__from b { color: var(--c-on-ink); }
.cup--booked { display: flex; align-items: center; gap: .85rem; }
.cup--booked b { display: block; font: 700 1rem/1.3 var(--font-ui); }
.cup--booked small { display: block; margin-top: .15rem; font-size: .875rem; color: var(--c-soft-on-ink); }
.cup__tick { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }

/* the steps, a row of three under the footage, each lit as its card lands */
.steps { margin: 0; padding: 0; list-style: none; }
.steps--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 2vw, 2.5rem); margin: 1.75rem 0 2.25rem; }
.steps__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .9rem; padding-top: 1.1rem; border-top: 2px solid var(--c-line-on-ink); opacity: .78; transition: opacity var(--dur-med) var(--ease-out), border-color var(--dur-med); }
.steps__item[aria-current="step"] { opacity: 1; border-top-color: var(--c-brand); }
.steps__num { font: 700 1.6rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--c-soft-on-ink); transition: color var(--dur-med); }
.steps__item[aria-current="step"] .steps__num { color: var(--c-brand); }
.steps__item h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.steps__item p { margin: .35rem 0 0; color: var(--c-soft-on-ink); }
@media (max-width: 1023px) {
  .coffee { aspect-ratio: 16 / 10; }
  .coffee__cards { width: min(48%, 380px); }
}
@media (max-width: 759px) {
  /* on the phone the clip is a tall crop, his face in its upper part, and the cards stand on its lower part, from just
     under his chin down, so nothing around them moves as they land */
  .coffee { aspect-ratio: auto; overflow: visible; border: 0; background: none; }
  .coffee__media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-l); }
  .coffee__cards { inset: 46% .75rem auto; justify-content: flex-start; }
  .coffee__video { object-position: 34% 50%; }
  .coffee__media::after { background: linear-gradient(180deg, rgba(var(--c-shade), 0) 38%, rgba(var(--c-shade), .62) 100%); }
  .coffee__cards { width: auto; gap: .5rem; }
  .cup { gap: .35rem; padding: .7rem .85rem; }
  .cup__ask { font-size: .95rem; }
  .cup__chips span { min-width: 42px; height: 32px; }
  .cup__big b { font-size: 1.6rem; }
  .cup__bars { height: 36px; }
  .cup__bars i { height: calc(4px + var(--v) * 32px); }
  .cup__from { padding-top: .35rem; }
  .cup__tick { width: 32px; height: 32px; }
  .steps--row { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 1.25rem; }
  .steps__item { padding: 1rem 0; }
}
@media (max-width: 374px) {
  .coffee__media { aspect-ratio: 1 / 2; }
}

/* ================= worth: the calculator, your town filling up ================= */
.worth__card > .stop { top: 10px; right: 10px; z-index: 2; }
.worth__box {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start;
  --calc-ink: var(--c-ink); --calc-ink-soft: var(--c-ink-soft); --calc-track: var(--c-line); --calc-fill: var(--c-brand-dark);
  --calc-thumb: var(--c-card); --calc-thumb-edge: var(--c-ink); --calc-focus: var(--c-ink); --calc-surface: var(--c-paper);
  --calc-font-figure: var(--font-display); --calc-track-size: 8px; --calc-thumb-size: 30px; --calc-track-radius: 4px;
  --calc-value-size: 1.6rem; --calc-total-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); --calc-figure-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem);
  --calc-gap: 1.6rem;
}
.worth__controls { display: grid; gap: 2rem; align-self: center; padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-card); }
.worth .calc-slider__label { font-weight: 600; color: var(--c-body); }
.worth .calc-slider__value { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.worth__figures .calc-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--c-line); }
.worth .calc-figure { margin: 0; }
.worth .calc-figure__value { font-weight: 700; letter-spacing: -.03em; color: var(--c-ink); }
.worth .calc-figure__label { display: block; margin-top: .2rem; font-size: var(--fs-small); color: var(--c-ink-soft); }
.worth .calc-total { margin: 0 0 1rem; }
.worth .calc-total__value { font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--c-ink); }
.worth .calc-total__label { display: block; margin-top: .45rem; font-size: 1.0625rem; color: var(--c-ink-soft); }
.worth__card { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--c-ink); box-shadow: var(--shadow-l); }
.worth__picture { position: relative; aspect-ratio: 900 / 540; }
/* its own layer: drawn once, so 576 dots do not shimmer by a shade between two frames on a phone */
.map { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.map__road { fill: none; stroke: rgba(var(--c-paper-rgb), .26); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__road--major { stroke: rgba(var(--c-paper-rgb), .42); stroke-width: 3; }
.map__dot { fill: var(--c-brand); }
.map__dot.is-new { animation: dot-land .7s var(--ease-out) both; }
.map__halo { fill: none; stroke: var(--c-brand); stroke-width: 1.5; opacity: 0; }
.map__halo.is-new { animation: dot-halo 1.1s var(--ease-out) both; }
@keyframes dot-land { from { transform: scale(0); } 60% { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes dot-halo { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.map__dot, .map__halo { transform-box: fill-box; transform-origin: 50% 50%; }
.worth__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .95rem 1.2rem; border-top: 1px solid var(--c-line-on-ink); font-size: .875rem; color: var(--c-soft-on-ink); }
.worth__key { display: inline-flex; align-items: center; gap: 6px; }
.worth__key i { display: block; border-radius: 50%; background: var(--c-brand); }
.worth__key i:nth-child(1) { width: 6px; height: 6px; }
.worth__key i:nth-child(2) { width: 10px; height: 10px; }
.worth__key i:nth-child(3) { width: 14px; height: 14px; }
.worth__credit { position: absolute; z-index: 1; top: .55rem; left: .6rem; padding: .15rem .5rem; border-radius: 6px; background: rgba(var(--c-shade), .7); font-size: .8125rem; line-height: 1.3; color: var(--c-soft-on-ink); }
.worth .calc-note { margin: 1rem 0 0; font-size: var(--fs-small); color: var(--c-ink-soft); }
@media (max-width: 400px) { .worth .calc-scale__mark { visibility: hidden; } }
@media (max-width: 599px) {
  .worth__box { gap: 1rem; --calc-gap: .8rem; --calc-value-size: 1.3rem; --calc-total-size: 2.3rem; }
  .worth__controls { gap: .8rem; padding: .85rem 1rem; }
  .worth .calc-total { margin-bottom: .55rem; }
  .worth .calc-total__label { margin-top: .2rem; font-size: .9375rem; }
  .worth__figures .calc-figures { margin-bottom: .7rem; padding-bottom: .7rem; }
  .worth .calc-figure__label { margin-top: 0; }
  .worth__picture { aspect-ratio: 900 / 430; }
  .worth__legend { gap: .5rem; padding: .5rem .8rem; font-size: .8125rem; }
  .worth .calc-note { margin-top: .5rem; font-size: .875rem; line-height: 1.4; }
  .worth .sec-head { margin-bottom: 1.5rem; }
}
@media (max-width: 959px) {
  .worth__box { grid-template-columns: minmax(0, 1fr); }
  .worth__result { order: -1; }
  .worth__picture { aspect-ratio: 900 / 560; }
}

/* ================= outcomes: one wide stage, four chapters (kit tabs), a chapter bar that rises ================= */
.chap__stage { position: relative; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--c-line-on-ink); border-radius: var(--radius-l); background: var(--c-navy-2); }
.chap__panel { position: absolute; inset: 0; }
.chap__panel:focus-visible { outline: 3px solid var(--c-brand); outline-offset: -3px; }
.chap__media { position: absolute; inset: 0; }
.chap__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.chap__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--c-shade), .9) 0%, rgba(var(--c-shade), .55) 26%, rgba(var(--c-shade), 0) 50%); pointer-events: none; }
.chap__scene { position: absolute; z-index: 1; top: 7%; width: min(34%, 360px); }
.chap__panel--found .chap__scene, .chap__panel--work .chap__scene { right: 4%; }
.chap__panel--answer .chap__scene, .chap__panel--reviews .chap__scene { left: 4%; }
.chap__panel--reviews [data-scene="out-reviews"] { --oc-star: var(--c-star); }
.chap__panel--found .chap__video { object-position: 35% 50%; }
.chap__panel--answer .chap__video { object-position: 70% 50%; }
.chap__panel--reviews .chap__video { object-position: 80% 40%; }
.chap__panel--work .chap__video { object-position: 30% 50%; }
.chap__text { position: absolute; z-index: 1; left: clamp(1.25rem, 3%, 2.5rem); bottom: clamp(1.1rem, 4%, 2.25rem); max-width: min(46%, 32rem); }
.chap__panel--found .chap__text, .chap__panel--work .chap__text { max-width: min(52%, 34rem); }
.chap__text h3 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 700; color: var(--c-on-ink); }
.chap__text p { margin: .45rem 0 .8rem; color: color-mix(in srgb, var(--c-on-ink) 88%, transparent); }
.chap__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--c-brand); text-decoration: none; }
.chap__link:hover .btn__arrow { transform: translateX(3px); }
.chap__stop { z-index: 3; }

/* the chapter bar: four bars rising like the logo's, each filling as its chapter plays and staying full once passed */
.chap__bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(.6rem, .3rem + 1vw, 1.25rem); margin-top: 1.25rem; }
.chap__tab { display: grid; gap: .6rem; padding: 0; border: 0; background: none; color: var(--c-soft-on-ink); font: 700 1rem/1.2 var(--font-ui); text-align: left; cursor: pointer; transition: color var(--dur-fast); }
.chap__rise { position: relative; display: block; height: calc(var(--rise) * clamp(44px, 5vw, 72px)); overflow: hidden; border-radius: 6px 6px 2px 2px; background: rgba(var(--c-brand-rgb), .18); }
.chap__rise > i { position: absolute; inset: 0; background: var(--c-brand); transform: scaleY(0); transform-origin: 50% 100%; }
.chap__tab[aria-selected="true"] .chap__rise > i { transform: scaleY(var(--kit-fill, 1)); }
.chap__tab:has(~ .chap__tab[aria-selected="true"]) .chap__rise > i { transform: none; }
.chap__tab[aria-selected="true"], .chap__tab:hover { color: var(--c-on-ink); }
.chap__tab:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 1023px) {
  .chap__stage { aspect-ratio: 16 / 10; }
  .chap__scene { width: min(42%, 340px); }
}
@media (max-width: 759px) {
  /* on the phone: the bar first, then the clip as a tall crop with its scene standing on the clip's lower part, the
     words under it */
  .chap { display: flex; flex-direction: column; }
  .chap__bar { order: -1; margin: 0 0 1rem; }
  .chap__tab { font-size: .875rem; }
  .chap__stage { aspect-ratio: auto; overflow: visible; border: 0; background: none; }
  .chap__panel { position: relative; inset: auto; }
  .chap__media { position: relative; inset: auto; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-l); }
  .chap__media::after { background: linear-gradient(180deg, rgba(var(--c-shade), 0) 40%, rgba(var(--c-shade), .55) 100%); }
  .chap__scene, .chap__panel--found .chap__scene, .chap__panel--answer .chap__scene, .chap__panel--reviews .chap__scene, .chap__panel--work .chap__scene {
    top: auto; bottom: .75rem; left: .75rem; right: .75rem; width: auto; margin: 0;
  }
  /* the craftsman bends over his work low in the frame: his chapter's card stands over the windows above him */
  .chap__panel--work .chap__scene { top: 3.5rem; bottom: auto; }
  .chap__text, .chap__panel--found .chap__text, .chap__panel--work .chap__text { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 1.1rem; }
  .chap__stop { top: 10px; right: 10px; }
}
/* the narrowest phones: a taller crop still, so each chapter's card stays under its person's face */
@media (max-width: 374px) {
  .chap__media { aspect-ratio: 1 / 2; }
}

/* ================= compare: drag the line ================= */
.cmp { position: relative; height: clamp(440px, 36vw, 560px); border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); box-shadow: var(--shadow-l); user-select: none; --c-focus: var(--c-brand); }
.cmp__side { position: absolute; inset: 0; }
.cmp__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before .cmp__photo { filter: grayscale(1) contrast(.85) brightness(.82); }
.before::after { content: ""; position: absolute; inset: 0; background: rgba(var(--c-shade), .38); }
.after { clip-path: inset(0 0 0 calc(var(--kit-v, .55) * 100%)); }
.after .cmp__photo { object-position: 30% 35%; }
.cmp__tag, .cmp__cards { position: absolute; z-index: 1; }
.cmp__tag { top: 22px; padding: .45rem .85rem; border-radius: 999px; font: 600 .75rem/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.before .cmp__tag { left: 22px; background: rgba(var(--c-shade), .72); color: var(--c-on-ink); }
.cmp__tag--us { right: 22px; background: var(--c-brand); color: var(--c-on-brand); }
.cmp__cards { display: grid; gap: .65rem; width: min(17rem, 30%); }
.before .cmp__cards { left: 22px; top: 50%; transform: translateY(-42%); }
.after .cmp__cards { right: 22px; bottom: 22px; }
.cmp__card { padding: .75rem .95rem; border-radius: var(--radius-m); background: rgba(var(--c-paper-rgb), .9); color: var(--c-ink); box-shadow: var(--shadow-m); }
.before .cmp__card { background: color-mix(in srgb, var(--c-dull) 92%, transparent); color: var(--c-dull-ink); }
.cmp__card small { display: block; font-size: .8125rem; color: var(--c-ink-soft); }
.before .cmp__card small { color: var(--c-dull-soft); }
.cmp__card b { display: block; font: 700 1.05rem/1.25 var(--font-display); letter-spacing: -.01em; }
.cmp__card--us { background: var(--c-card); }
.cmp__bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: .5rem; }
.cmp__bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 3px 3px 1px 1px; background: var(--c-brand-dark); }
[data-kit-whole] { transition: opacity .2s, visibility 0s; }
[data-kit-under] { opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.cmp input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: calc(var(--kit-v, .55) * 100%); width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, .55), 1 - var(--kit-v, .55)) - .03) * 14), 1); }
.cmp input:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--c-brand); box-shadow: 0 0 0 1px rgba(var(--c-shade), .25); }
.handle__knob { position: absolute; top: 14%; left: -26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); box-shadow: var(--shadow-l); }
.cmp input:focus-visible + .handle .handle__knob { outline: 3px solid var(--c-on-ink); outline-offset: 3px; }
.handle__hint { position: absolute; top: calc(14% + 60px); left: -2.2rem; width: 4.4rem; padding: .25rem 0; border-radius: 999px; background: rgba(var(--c-shade), .78); color: var(--c-on-ink); font: 600 .8125rem/1.2 var(--font-ui); text-align: center; }
.cmp[data-kit-touched] .handle__hint { opacity: 0; transition: opacity .3s; }
.compare__promises { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-weight: 600; color: var(--c-ink); }
.compare__promises li { display: inline-flex; align-items: center; gap: .55rem; }
.compare__promises svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
@media (max-width: 719px) {
  .cmp { height: 520px; }
  .cmp__tag { top: 14px; font-size: .6875rem; letter-spacing: .08em; padding: .4rem .6rem; }
  .before .cmp__tag { left: 12px; max-width: 42%; }
  .cmp__tag--us { right: 12px; max-width: 38%; text-align: right; }
  .cmp__cards { width: calc(55% - 30px); gap: .5rem; }
  .before .cmp__cards { left: 12px; top: auto; bottom: 16px; transform: none; }
  .after .cmp__cards { right: 12px; bottom: 16px; width: calc(45% - 22px); }
  .cmp__card { padding: .55rem .65rem; }
  .cmp__card b { font-size: .9rem; }
  .cmp__card small { font-size: .78rem; }
  .handle__knob { top: 26%; }
  .handle__hint { top: calc(26% + 60px); }
}

/* ================= who: six categories and many more ================= */
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 22rem; overflow: hidden; border-radius: var(--radius-l); color: var(--c-on-ink); text-decoration: none; isolation: isolate; --c-focus: var(--c-ink); }
.tile__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--c-shade), 0) 35%, rgba(var(--c-shade), .88) 100%); }
.tile:hover .tile__photo { transform: scale(1.04); }
.tile--who-health .tile__photo { object-position: 62% 12%; }
.tile__text { display: block; padding: 1.25rem 3.75rem 1.3rem 1.3rem; }
.tile__text b { display: block; font: 700 1.25rem/1.2 var(--font-display); letter-spacing: -.02em; }
.tile__text > span { display: block; margin-top: .35rem; font-size: .9375rem; line-height: 1.4; color: color-mix(in srgb, var(--c-on-ink) 86%, transparent); }
.tile__go { position: absolute; right: 1.1rem; bottom: 1.25rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); }
.tile--more { grid-column: span 2; justify-content: space-between; min-height: 22rem; padding: 1.6rem; background: var(--c-ink); }
.tile--more::before { display: none; }
.tile__mark { display: block; width: 92px; height: auto; }
.tile--more .tile__text { padding: 0; }
.tile--more .tile__text b { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.tile--more .tile__text > span { font-size: 1.0625rem; color: var(--c-soft-on-ink); }
.tile__cta { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; margin-top: 1.25rem; padding: .75rem 1.25rem; border-radius: 999px; background: var(--c-brand); color: var(--c-on-brand); font-weight: 700; }
@media (max-width: 1023px) { .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .who__grid { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 17rem; }
  .tile--more { grid-column: auto; min-height: 0; gap: 1.25rem; }
}

/* ================= owners: owners' own words (member fix, 25 Nov) ================= */
/* navy with the rising step, after who's alternate ivory: the head beside one big quote under a green quote mark, then
   three ivory cards. Each signed with the owner's line of work only: no name, photo or stars. */
.owners__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.owners__top .sec-head { margin-bottom: 0; }
.say { position: relative; margin: 0; }
.say blockquote { margin: 0; }
.say blockquote p { margin: 0; }
.say figcaption { display: flex; align-items: center; gap: .6rem; font: 600 .9375rem/1.3 var(--font-ui); }
.say figcaption::before { content: ""; flex: none; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.say--big { padding-left: clamp(3rem, 2.25rem + 2.4vw, 4.75rem); }
.say--big .say__mark { position: absolute; left: 0; top: -.08em; font: 700 clamp(4.5rem, 3.25rem + 3.6vw, 7rem)/1 var(--font-display); color: var(--c-brand); }
.say--big blockquote p { font: 600 clamp(1.45rem, 1.05rem + 1.45vw, 2.25rem)/1.24 var(--font-display); letter-spacing: -.025em; color: var(--c-on-ink); text-wrap: balance; }
.say--big figcaption { margin-top: 1.1rem; color: var(--c-brand-on-ink); }
.owners__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); }
.say--card { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.35rem, 1rem + 1vw, 1.9rem); border-radius: var(--radius-l); background: var(--c-card); color: var(--c-body); box-shadow: var(--shadow-m); }
.say--card .say__mark { display: block; height: .5em; margin-bottom: .1rem; font: 700 3.25rem/1 var(--font-display); color: var(--c-brand-dark); }
.say--card blockquote { flex: 1; }
.say--card blockquote p { font-size: 1.0625rem; line-height: 1.6; color: var(--c-body); }
.say--card figcaption { color: var(--c-brand-text); }
@media (max-width: 1023px) {
  .owners__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .owners__cards { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }
}

/* ================= faq ================= */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__head { position: sticky; top: 110px; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } .faq-list details > div { padding-right: 0; } }

/* ================= close: footage band with the picker ================= */
.close { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 3rem + 7vw, 9rem); background: var(--c-ink); color: var(--c-on-ink); --c-focus: var(--c-brand); }
.close__bg { position: absolute; inset: 0; z-index: -2; }
.close__video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 60% 45%; }
.close__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--c-shade), .95) 0%, rgba(var(--c-shade), .88) 38%, rgba(var(--c-shade), .3) 66%, rgba(var(--c-shade), .1) 100%); }
.close .stop { top: auto; bottom: 22px; right: max(var(--gutter), calc((100% - var(--max-w)) / 2)); }
.close__title { max-width: 12em; margin: 0; color: var(--c-on-ink); font-size: var(--fs-h1); font-weight: 700; }
.close__line { max-width: 30rem; margin: 1.1rem 0 1.75rem; font-size: 1.125rem; color: color-mix(in srgb, var(--c-on-ink) 88%, transparent); }
@media (max-width: 899px) {
  .close { padding-bottom: 220px; }
  .close__video { object-position: 58% 50%; }
  .close__shade { background: linear-gradient(180deg, rgba(var(--c-shade), .92) 0%, rgba(var(--c-shade), .88) 64%, rgba(var(--c-shade), .2) 86%, rgba(var(--c-shade), .3) 100%); }
}
