/* home.css: the home page's parts, placed and sized with the tokens. F2 (the client's round): white grounds and
   hairline rules, graphite dark bands, azure only as the accent; a smaller header whose height never changes. */

/* ---------- hero: words and the picker on white over fine grid lines, the clip framed on the right ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 85% at 100% 0%, rgba(143, 174, 236, 0.22), transparent 72%), var(--c-paper); isolation: isolate; border-bottom: 1px solid var(--c-line); }
.hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 56px 56px; background-position: center -1px; -webkit-mask-image: radial-gradient(ellipse 120% 125% at 62% 30%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 120% 125% at 62% 30%, #000 45%, transparent 100%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(28px, 4.5vw, 72px); max-width: var(--max-w); margin: 0 auto; padding: clamp(28px, 5vh, 60px) var(--gutter) clamp(28px, 4.5vh, 52px); }
.hero__words { max-width: 520px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__eyebrow, .hero__line, .hero__group b { text-shadow: var(--grid-halo); }
/* three lines, always: "Your next", the changing word on a line of its own, "booked." So the picker under it never moves
   when the word changes (the client: the widgets bounced below the fold) */
.hero__title { font-size: var(--fs-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.042em; color: var(--c-ink); text-wrap: initial; }
.hero__wline { display: inline-block; white-space: nowrap; }
.hero__word { color: var(--c-brand); opacity: calc(1 - var(--kit-swap, 0) * 0.75); filter: blur(calc(var(--kit-swap, 0) * 3px)); }
.hero__line { margin: 18px 0 24px; max-width: 520px; font-size: 1.0625rem; line-height: 1.55; color: var(--c-ink-soft); } /* the client's longer line (6 Nov): the whole width of the words */
.hero__picker { max-width: 470px; }

/* the stage: a framed clip, the booking ticket lifted past its left edge */
.hero__stage { position: relative; z-index: 1; aspect-ratio: 5 / 4; max-height: min(520px, calc(100svh - 160px)); width: 100%; justify-self: end; }
.hero__frame { position: absolute; inset: 0; border-radius: var(--radius-l); border: 1px solid var(--c-line); background: var(--c-paper-alt); box-shadow: var(--shadow-l); pointer-events: none; }
.hero__stop { position: absolute; top: 14px; right: 14px; z-index: 7; }
.hero__slide { background-image: none !important; overflow: visible !important; } /* the kit paints a slide's poster on the slide; here the clip holds the picture, and the ticket may leave the frame */
.hero__clip { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-l); background: var(--c-night-2); }
.hero__clip video { object-position: var(--pos, 50% 50%); }
.hero__card { position: absolute; z-index: 6; left: clamp(-36px, -2.4vw, -16px); bottom: 26px; margin: 0; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)); }

/* who it is for: home services first, professional services beside them */
.hero__strip { display: grid; gap: 10px; max-width: var(--max-w); margin: 0 auto; padding: 16px var(--gutter) 18px; border-top: 1px solid var(--c-line); }
.hero__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.hero__group b { min-width: 200px; margin-right: 4px; font: 500 0.8125rem/1.2 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink); }
.hero__group li { padding: 5px 11px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper); font: 400 0.875rem/1.2 var(--font-ui); color: var(--c-ink-soft); }

/* the booking ticket: when, then what and where from */
.ticket { display: flex; align-items: stretch; min-width: 270px; max-width: 340px; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-l); }
.ticket__when { display: grid; place-content: center; justify-items: center; gap: 3px; min-width: 70px; padding: 11px 10px; background: var(--c-paper-alt); border-right: 1px solid var(--c-line); color: var(--c-ink); }
.ticket__when small { font: 500 0.75rem/1 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-soft); }
.ticket__when b { font: 500 1.1875rem/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ticket__what { display: grid; gap: 2px; padding: 10px 15px 11px; }
.ticket__what em { display: inline-flex; align-items: center; gap: 6px; font: 500 0.75rem/1 var(--font-ui); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand-text); }
.ticket__what em::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-mint); }
.ticket__what b { font: 600 0.9688rem/1.25 var(--font-ui); }
.ticket__what small { font: 400 0.8438rem/1.3 var(--font-ui); color: var(--c-ink-soft); }

/* the kit's header rotation, 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 ticket keeps its place while a slide glides in (only the picture moves) */
.hero__slide .hero__card { visibility: inherit; }

/* laptop windows up to 720 px tall (a 1366 x 768 screen): the client's longer line (6 Nov) takes a little less room,
   so the whole picker stays above the fold */
/* (member fix, 13 Nov: with the larger type, these windows' header is a little tighter again, so the picker keeps above the
   fold: padding 22/24 to 16/18 and 18/22 to 12/14 px, the headline at most 7.9vh and 6vh, was 6.6vh) */
@media (min-width: 901px) and (max-height: 720px) {
  .hero__in { padding-block: 16px 18px; }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: min(var(--fs-display), 7.9vh); }
  .hero__line { margin: 12px 0 16px; font-size: 1rem; line-height: 1.45; }
}
/* short laptop windows (about 600 px tall): the header tightens so the picker and its button still sit above the fold */
@media (min-width: 901px) and (max-height: 640px) {
  .hero__in { padding-block: 12px 14px; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: min(var(--fs-display), 6vh); }
  .hero__line { margin: 12px 0 16px; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px var(--gutter) 24px; }
  .hero__words { max-width: none; }
  .hero__eyebrow { margin-bottom: 12px; font-size: 0.75rem; }
  .hero__line { margin: 14px 0 18px; max-width: none; font-size: 1rem; }
  .hero__picker { max-width: none; }
  .hero__stage { aspect-ratio: 4 / 3; max-height: none; justify-self: stretch; }
  .hero__card { left: 12px; bottom: 12px; }
  .ticket { min-width: 0; max-width: calc(100% - 24px); }
  .hero__group b { min-width: 0; width: 100%; font-size: 0.75rem; }
  .hero__strip { gap: 10px; padding-block: 14px 18px; }
}
@media (max-width: 420px) {
  .ticket__when { min-width: 60px; }
  .ticket__what { padding: 9px 12px; }
  .picker { padding: 16px 14px 12px; }
  .picker__choice span { min-height: 46px; }
}

/* ---------- plan: the results-first tour over the area footage ---------- */
.plan { background: var(--c-paper); }
.tour__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tour__tab { position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); text-align: left; cursor: pointer; font: inherit; transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med); }
.tour__tab:hover { border-color: #C9CED6; }
.tour__tab b { display: block; font: 500 1rem/1.25 var(--font-ui); }
.tour__tab small { display: block; margin-top: 2px; font-size: 0.875rem; line-height: 1.35; color: var(--c-ink-soft); }
.tour__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-paper-alt); font: 500 0.9375rem/1 var(--font-display); color: var(--c-ink-soft); }
.tour__tab[aria-selected="true"] { border-color: var(--c-ink); box-shadow: var(--shadow-s); }
.tour__tab[aria-selected="true"] .tour__n { border-color: var(--c-ink); background: var(--c-ink); color: #FFFFFF; }
.tour__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--kit-fill, 0) * 100%); background: var(--c-brand); opacity: 0; }
[data-kit-tabs][data-kit-on] .tour__tab[aria-selected="true"] .tour__bar { opacity: 1; }
.tour__tab:focus-visible { outline: 2px solid var(--c-brand-text); outline-offset: 3px; }
.tour__stage { position: relative; height: clamp(480px, 42vw, 560px); overflow: hidden; border-radius: var(--radius-l); background: var(--c-night); }
.tour__media { position: absolute; inset: 0; }
.tour__media video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; } /* 1 px past its box, so no line of the ground shows at any zoom */
.tour__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 18, 0.34), rgba(11, 13, 18, 0.56)); }
.tour__panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px clamp(16px, 4vw, 48px); }
.tour__panel:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -6px; }
.tour__panel .scene { width: 100%; }
/* yourpart's phone is drawn on the ink with --c-on-brand as its text; this palette's on-brand is the ink (for azure
   fills), so inside the phone it is set back to white, and its chosen chip keeps ink text on azure */
#plan-p2 .yp-phone { --c-on-brand: #FFFFFF; }
#plan-p2 .yp-phone .yp-chips span.is-on { color: var(--c-ink); }
.tour__stop { position: absolute; top: 14px; right: 14px; z-index: 5; }
/* the client's two-beat headlines (6 Nov): one beat per line where the width allows, never a break inside a beat */
@media (min-width: 640px) { .hline { display: block; } }
/* the client's line under the tour (6 Nov) */
.plan__under { max-width: 640px; margin: clamp(1.25rem, 1rem + 0.8vw, 1.75rem) auto 0; font-size: 1.0625rem; line-height: 1.55; text-align: center; color: var(--c-ink-soft); }
.plan__under + .cta-row { margin-top: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
@media (max-width: 760px) {
  .tour__tabs { grid-template-columns: 1fr; gap: 8px; }
  .tour__tab { padding: 11px 14px; }
  .tour__tab small { display: none; }
  .tour__stage { height: auto; min-height: 470px; }
  .tour__panel { padding: 56px 12px 22px; }
}

/* ---------- how: three steps lit by the chat, on graphite over hands on a phone ---------- */
.how { overflow: hidden; }
.how__media { position: absolute; inset: 0; }
.how__media video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.how__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 18, 0.96) 0%, rgba(11, 13, 18, 0.88) 50%, rgba(11, 13, 18, 0.66) 100%); }
.how__stop { position: absolute; top: 20px; right: 20px; z-index: 5; }
.how__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.how__words h2 { font-size: var(--fs-h2); color: #FFFFFF; }
.how__lead { margin: 14px 0 28px; font-size: 1.0625rem; }
.steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.steps__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius-m); background: rgba(255, 255, 255, 0.025); transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; font: 500 1.0625rem/1 var(--font-display); color: #FFFFFF; transition: background-color var(--dur-med), color var(--dur-med); }
.steps__item h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 1.125rem; color: #FFFFFF; }
.steps__item p { margin: 6px 0 0; font-size: 0.9688rem; line-height: 1.5; }
.steps__item .chip { border: 1px solid rgba(255, 255, 255, 0.16); color: var(--c-ink-on-night-soft); }
.steps__item[aria-current="step"] { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.06); }
.steps__item[aria-current="step"] .steps__n { border-color: #FFFFFF; background: #FFFFFF; color: var(--c-ink); }
.steps__item[aria-current="step"] .chip { border-color: rgba(77, 178, 255, 0.5); color: var(--c-brand-on-ink); }

.phone { justify-self: center; width: min(100%, 340px); padding: 10px; border-radius: 42px; background: #050608; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.phone__top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-radius: 32px 32px 0 0; background: var(--c-paper); border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.phone__top img { width: 34px; height: 34px; border-radius: 9px; background: var(--c-paper-alt); border: 1px solid var(--c-line); padding: 3px; }
.phone__top b { display: block; font: 600 0.9375rem/1.2 var(--font-ui); }
.phone__top small { display: block; font-size: 0.8125rem; color: var(--c-ink-soft); }
.phone__chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 420px; overflow: hidden; padding: 14px; border-radius: 0 0 32px 32px; background: var(--c-paper-alt); color: var(--c-ink); opacity: calc(1 - var(--kit-out, 0)); }
.msg { flex: none; margin: 0; max-width: 84%; padding: 9px 13px; border-radius: 14px; font: 400 0.9063rem/1.4 var(--font-ui); opacity: var(--kit-in, 0); transform: translateY(calc((1 - var(--kit-in, 0)) * 10px)); }
.how .msg--bot, .how .msg--check { align-self: flex-start; background: var(--c-paper); color: var(--c-ink); border: 1px solid var(--c-line); border-bottom-left-radius: 5px; }
.how .msg--me { color: var(--c-on-button); }
.how .msg--result small { color: var(--c-ink-on-night-soft); }
.msg--me { align-self: flex-end; background: var(--c-button); color: var(--c-on-button); font-weight: 500; border-bottom-right-radius: 5px; }
.msg--chips { display: flex; gap: 6px; padding: 0; background: none; }
.msg--chips span { padding: 7px 13px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper); font: 500 0.9063rem/1 var(--font-display); }
.msg--chips span[data-kit-on] { border-color: var(--c-ink); background: var(--c-ink); color: #FFFFFF; }
.msg--typing { display: flex; gap: 5px; padding: 13px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ink-soft); animation: dots 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }
.msg--check { display: grid; gap: 8px; min-width: 70%; font-weight: 500; }
.msg__bar { display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c-brand) calc(var(--kit-fill, 0) * 100%), var(--c-line) 0); }
.msg--result { align-self: stretch; max-width: none; display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--c-night); color: #FFFFFF; }
.msg--result small { font-size: 0.8125rem; color: var(--c-ink-on-night-soft); }
.msg--result b { font: 500 1.3125rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.msg__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 4px; height: 46px; margin: 4px 0 2px; }
.msg__bars i { display: block; height: calc(4px + var(--v) * 42px); border-radius: 2px 2px 1px 1px; background: var(--c-brand); }
.msg__bars i:first-child { background: rgba(255, 255, 255, 0.18); height: 4px; }
@media (max-width: 900px) {
  .how__in { grid-template-columns: 1fr; }
  .how__media::after { background: rgba(11, 13, 18, 0.9); }
  .phone__chat { height: 400px; }
}

/* ---------- worth: the calculator on a light band, the year of jobs on graphite ---------- */
.worth__in { display: grid; }
.worth__stop { position: absolute; top: -8px; right: var(--gutter); }
.worth__head h2 { color: var(--c-ink); }
.worth__box { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-l); box-shadow: var(--shadow-m); --calc-thumb-size: 26px; --calc-value-size: 1.375rem; }
.worth__controls { display: grid; align-content: center; gap: 28px; padding: clamp(24px, 3.2vw, 40px); background: var(--c-paper); --calc-gap: 28px; --calc-label-size: 1rem; --calc-font: var(--font-ui); }
.worth__controls .calc-slider__label { font-weight: 500; }
.worth__controls .calc-slider__value { font-family: var(--font-display); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.worth__result { display: grid; align-content: start; gap: 18px; padding: clamp(24px, 3.2vw, 40px); background: var(--c-night); color: #FFFFFF; --calc-ink: #FFFFFF; --calc-ink-soft: var(--c-ink-on-night-soft); --calc-total-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.5rem); --calc-figure-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.worth__result .calc-total { font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.worth__result .calc-note { font-size: 0.8438rem; color: var(--c-ink-on-night-soft); margin: 0; }

.jobs { display: grid; gap: 10px; }
.jobs__cap { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 0.8438rem/1.2 var(--font-ui); color: var(--c-ink-on-night-soft); }
.jobs__key { width: 12px; height: 8px; border-radius: 2px; background: var(--c-brand); }
.jobs__rows { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.jobs__row { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; opacity: 0.18; transition: opacity var(--dur-med) var(--ease-out); }
.jobs__row[data-kit-on] { opacity: 1; }
.jobs__m { font: 500 0.8125rem/1 var(--font-ui); color: var(--c-ink-on-night-soft); text-align: right; font-variant-numeric: tabular-nums; }
.jobs__track { position: relative; display: block; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, 0.05); }
.jobs__fill { position: absolute; left: 0; top: 0; bottom: 0; display: flex; gap: 2px; width: var(--len, 50%); transform-origin: 0 50%; transform: scaleX(var(--grow, 1)); }
.jobs__fill b { flex: 1 1 0; min-width: 1px; border-radius: 1.5px; background: var(--c-brand); }
.jobs__row[data-new] .jobs__fill b { background: #7CC6FF; }
.jobs__axis { display: flex; justify-content: space-between; margin: 0; padding-left: 34px; font: 400 0.8125rem/1.2 var(--font-ui); color: var(--c-ink-on-night-soft); }
@media (max-width: 900px) {
  .worth__box { grid-template-columns: 1fr; }
  .worth__stop { top: auto; bottom: calc(100% + 8px); }
}
@media (prefers-reduced-motion: reduce) { .jobs__row { transition: none; } }

/* ---------- outcomes: four white cards, each with its footage, one interface and a small colored mark ---------- */
.outcomes { background: var(--c-paper); }
.outcomes__head { display: grid; max-width: 860px; }
.nw { white-space: nowrap; }
.outcomes__stop { position: absolute; top: 0; right: var(--gutter); }
.outcomes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.outcome { --tone: var(--c-brand); position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-l); background: var(--c-paper); }
.outcome--sun { --tone: var(--c-sun); }
.outcome--coral { --tone: var(--c-coral); }
.outcome--mint { --tone: var(--c-mint); }
.outcome__top { position: relative; z-index: 2; }
.outcome__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-night-2); }
.outcome__media video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.outcome__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--tone); }
/* the interface is lifted past the footage's lower edge into the white body, clear of the faces above it */
.outcome__scene { position: absolute; z-index: 2; left: 20px; bottom: -64px; width: min(360px, calc(100% - 40px)); }
.outcome__body { padding: 86px 24px 24px; background: var(--c-paper); }
.outcome__body h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h3); color: var(--c-ink); }
.outcome__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.outcome__body p { margin: 8px 0 12px; font-size: 0.9688rem; color: var(--c-ink-soft); }
.outcome__link { display: inline-flex; align-items: center; gap: 8px; font: 500 0.9375rem/1.2 var(--font-ui); color: var(--c-ink); text-decoration: none; }
.outcome__link .button__arrow { width: 15px; height: 15px; }
.outcome__link[data-planned] { opacity: 0.8; }
.outcome__link:focus-visible { outline: 2px solid var(--c-brand-text); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 860px) {
  .outcomes__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .outcome__scene { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px -8px; }
  .outcome__top { background: var(--c-paper); }
  .outcome__body { padding-top: 22px; }
}

/* ---------- compare: the usual agency against ProBeacon, dragged by hand ---------- */
.compare-part { background: var(--c-paper-alt); border-block: 1px solid var(--c-line); }
.compare { position: relative; height: clamp(520px, 44vw, 580px); overflow: hidden; border-radius: var(--radius-l); background: var(--c-night); --kit-v: 0.5; }
.compare .before, .compare .after { position: absolute; inset: 0; }
.compare .after { clip-path: inset(0 0 0 calc(var(--kit-v) * 100%)); }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.before .compare__img { filter: grayscale(1) contrast(0.9) brightness(0.82); }
.before::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 44, 52, 0.62), rgba(40, 44, 52, 0.25)); }
.after::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(11, 13, 18, 0.5), rgba(11, 13, 18, 0) 60%); }
.compare__side { position: absolute; z-index: 2; top: 28px; bottom: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; width: min(300px, 40%); }
.compare__side--before { left: 32px; }
.compare__side--after { right: 32px; }
.compare__tag { align-self: flex-start; margin: 0 0 4px; padding: 6px 12px; border-radius: 999px; font: 500 0.875rem/1 var(--font-ui); background: #3A3F48; color: #FFFFFF; }
.compare__tag--us { background: #FFFFFF; color: var(--c-ink); }
.compare__tag--us::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--c-brand); vertical-align: 1px; }
.compare__card { display: grid; gap: 3px; padding: 13px 15px; border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); box-shadow: var(--shadow-m); }
.compare__side--before .compare__card { background: #EDEEF0; color: #2B2F36; }
.compare__card small { font: 500 0.8125rem/1.2 var(--font-ui); color: var(--c-ink-soft); }
.compare__side--before .compare__card small { color: #555B66; }
.compare__card b { font: 500 1.125rem/1.2 var(--font-display); letter-spacing: -0.015em; }
.compare__bad { font: 500 0.8438rem/1.2 var(--font-ui); color: #A3271A; }
.compare__good { font: 500 0.8438rem/1.2 var(--font-ui); color: #08734F; }
.compare__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 4px; height: 52px; margin-top: 4px; }
.compare__bars i { height: calc(3px + var(--v) * 49px); border-radius: 2px 2px 1px 1px; background: var(--c-brand); }
.compare__bars i:first-child { background: var(--c-line); }
[data-kit-whole] { transition: opacity 0.2s, visibility 0s; }
[data-kit-under] { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.compare 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) * 100%); width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v), 1 - var(--kit-v)) - 0.03) * 14), 1); }
.compare input:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #FFFFFF; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
.handle__knob { position: absolute; left: -24px; top: 24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #FFFFFF; color: var(--c-ink); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.55); }
.handle__knob svg { width: 22px; height: 22px; }
.handle__hint { position: absolute; left: -36px; top: 82px; width: 72px; text-align: center; font: 500 0.8438rem/1 var(--font-ui); color: #FFFFFF; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.compare[data-kit-touched] .handle__hint { opacity: 0; }
.compare input:focus-visible ~ .handle .handle__knob { box-shadow: 0 0 0 3px var(--c-brand-text); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.promises li { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); font: 500 0.9375rem/1.3 var(--font-ui); }
.promises svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--c-brand-light); color: var(--c-brand-text); }
@media (max-width: 860px) {
  .compare { height: 660px; }
  .compare__side { top: auto; bottom: 18px; width: calc(50% - 26px); gap: 8px; }
  .compare__side--before { left: 10px; }
  .compare__side--after { right: 10px; }
  .compare__tag { font-size: 0.8125rem; padding: 6px 10px; }
  .compare__card { padding: 10px 11px; }
  .compare__card b { font-size: 0.9375rem; }
  .compare__card small, .compare__bad, .compare__good { font-size: 0.8125rem; }
  .compare__bars { height: 36px; gap: 2px; }
  .handle__knob { top: 22px; }
  .handle__hint { top: 80px; }
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .promises { grid-template-columns: 1fr; }
}

/* ---------- who: the categories as tabs that turn by themselves, each a photo, its fields and a booked job ---------- */
.who__tabs { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.who__list { display: grid; align-content: start; gap: 6px; }
.who__group { margin: 10px 0 2px; font: 500 0.75rem/1.2 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-soft); }
.who__group:first-child { margin-top: 0; }
.who__tab { position: relative; display: flex; align-items: center; overflow: hidden; min-height: 50px; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); font: 500 1rem/1.25 var(--font-ui); text-align: left; cursor: pointer; transition: background-color var(--dur-med) var(--ease-out), border-color var(--dur-med); }
.who__tab:hover { border-color: #C9CED6; }
.who__tab[aria-selected="true"] { border-color: var(--c-ink); background: var(--c-ink); color: #FFFFFF; }
.who__tab:focus-visible { outline: 2px solid var(--c-brand-text); outline-offset: 3px; }
.who__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--kit-fill, 0) * 100%); background: var(--c-brand); opacity: 0; }
[data-kit-tabs][data-kit-on] .who__tab[aria-selected="true"] .who__bar { opacity: 1; }
.who__stage { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-l); background: var(--c-night); }
.who__panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.who__panel:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -6px; }
.who__photo { position: relative; overflow: hidden; }
.who__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.who__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 13, 18, 0) 70%, var(--c-night) 100%); }
.who__words { position: relative; display: grid; align-content: center; justify-items: start; gap: 14px; padding: 36px clamp(22px, 2.6vw, 40px); color: #FFFFFF; }
.who__words h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.025em; color: #FFFFFF; }
.who__words > p:not(.ticket) { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--c-ink-on-night-soft); }
.who__words .who__ticket { color: var(--c-ink); min-width: 0; max-width: none; width: 100%; margin: 4px 0 6px; }
.who__panel--more { grid-template-columns: 1fr; background: radial-gradient(120% 90% at 85% 10%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 60%), var(--c-night); }
.who__panel--more .who__words { max-width: 640px; padding-inline: clamp(24px, 5vw, 64px); }
.who__panel--more h3 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.who__more { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; }
.who__more li { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.04); font: 400 0.9375rem/1.2 var(--font-ui); color: #FFFFFF; }
.who__stop { position: absolute; top: 14px; right: 14px; z-index: 5; }
@media (max-width: 1100px) {
  .who__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .who__tabs { grid-template-columns: minmax(0, 1fr); }
  /* the tabs become one row of chips that scrolls sideways, inside the page's width */
  .who__list { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .who__list::-webkit-scrollbar { display: none; }
  .who__group { display: none; }
  .who__tab { flex: none; min-height: 42px; padding: 9px 15px; border-radius: 999px; font-size: 0.9375rem; white-space: nowrap; }
  .who__stage { min-height: 0; }
  .who__panel { position: relative; inset: auto; grid-template-columns: minmax(0, 1fr); }
  .who__panel[hidden] { display: none; }
  .who__photo { height: clamp(220px, 56vw, 340px); }
  .who__photo::after { background: linear-gradient(180deg, rgba(11, 13, 18, 0) 65%, var(--c-night) 100%); }
  .who__words { padding: 18px 18px 24px; gap: 12px; }
  .who__words .button { width: 100%; justify-content: center; }
  .who__panel--more .who__words { padding: 56px 18px 26px; }
}

/* ---------- faq ---------- */
.faq { background: var(--c-paper-alt); border-top: 1px solid var(--c-line); }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.qa { border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); transition: border-color var(--dur-fast); }
.qa[open] { border-color: #C9CED6; box-shadow: var(--shadow-s); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 500 1.0625rem/1.35 var(--font-ui); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--c-ink-soft); border-bottom: 1.5px solid var(--c-ink-soft); transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-med) var(--ease-out); }
.qa[open] summary::after { transform: translateY(2px) rotate(225deg); }
.qa summary:focus-visible { outline: 2px solid var(--c-brand-text); outline-offset: 2px; border-radius: var(--radius-m); }
.qa p { margin: 0; padding: 0 20px 20px; color: var(--c-ink-soft); }
/* an answer as a list, one item per line, and a link after an answer (the client's copy handoff of 6 Nov) */
.qa__list { display: grid; gap: 6px; margin: 0; padding: 0 20px 20px 40px; color: var(--c-ink-soft); }
.qa__list li::marker { color: var(--c-brand); }
.qa__link { font-weight: 500; color: var(--c-brand-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* ---------- close: the last push, graphite over dusk ---------- */
.close { overflow: hidden; text-align: center; }
.close__media { position: absolute; inset: 0; }
.close__media video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.close__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(11, 13, 18, 0.62), rgba(11, 13, 18, 0.92) 75%); }
.close__stop { position: absolute; top: 20px; right: 20px; z-index: 5; }
.close__in { display: grid; justify-items: center; }
.close__in h2 { max-width: 780px; font-size: var(--fs-h2); color: #FFFFFF; }
.close__line { margin: 14px 0 28px; font-size: 1.0625rem; }
.close__picker { width: min(100%, 520px); text-align: left; }

/* F1: the ProBeacon side is live (new jobs keep coming in, base scene newclients); on a phone, where a side is too
   narrow for it, the month bars and the booked job stand in */
.compare__live { height: 330px; } /* the card at its fullest: a two-line title and four rows and a half */
.compare__live .scene { height: 100%; }
.compare__card--phone { display: none; }
.compare__stop { position: absolute; top: 14px; right: 14px; z-index: 6; }
@media (max-width: 860px) {
  .compare__live { display: none; }
  .compare__card--phone { display: grid; }
}
