/* home.css: the home page's parts placed and sized (plan.md, Home), with the tokens of system.css only. The
   components (sheets, strips, the goal box, buttons, the split) are in components.css. */

/* ---------- hero: the blueprint split, one field at a time (kit rotate) ---------- */
.hero { min-height: clamp(36rem, calc(100svh - 4.5rem), 56rem); }
@media (min-width: 900px) {
  /* the panel a whole number of grid cells wide, so the grid over the footage carries on from the panel's */
  .hero { grid-template-columns: round(down, 46vw, var(--grid-cell)) minmax(0, 1fr); }
}
.hero__panel { gap: clamp(1.5rem, 2.6vw, 2.25rem); padding-block: clamp(2rem, 4.2vw, 3.5rem); }
.hero__title { font-size: clamp(2.1rem, 1.15rem + 2.05vw, 3.3rem); color: var(--c-on-ink); }
/* every field's sentence sits in one cell, so the headline keeps the height of its longest and nothing below it moves */
.hero__lines { display: grid; }
.hero__lines > * { grid-area: 1 / 1; }
.hero__sizer { visibility: hidden; }
.hero__live .hero__word { color: var(--c-brand-on-ink); opacity: calc(1 - var(--kit-swap, 0)); text-decoration: underline dashed color-mix(in srgb, var(--c-brand-on-ink) 80%, transparent); text-decoration-thickness: 0.055em; text-underline-offset: 0.16em; }
.hero__lede { max-width: 34rem; margin-top: 1.1rem; font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--c-on-ink) 82%, transparent); }
.hero__goal { max-width: 29rem; }
.hero__stage { min-height: 100%; }

/* the kit's header (kit.md, "The header that changes its field"), as it is */
[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%))); }
[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); }
[data-kit-scene="rotate"] [data-kit-slide] video[data-kit-shown] { clip-path: none; }
[data-kit-scene="rotate"] [data-kit-slide][data-prev] { opacity: clamp(0, (1 - var(--kit-move, 0)) * 1000, 1); }
/* each clip framed so its faces sit on the stage's right */
.hero__slide video { object-position: var(--pos, 50% 50%); }
/* the blueprint over the footage: the panel's grid carried on, one still layer above the slides (white lines vanish on the cards) */
.hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: linear-gradient(var(--c-grid-on-ink) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid-on-ink) 1px, transparent 1px); background-size: var(--grid-cell) var(--grid-cell); }
.hero__card { position: absolute; z-index: 2; left: clamp(1rem, 5%, 3rem); top: clamp(1.25rem, 7%, 3.5rem); width: min(20.5rem, 54%); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 18px)); }
.hero__stop { position: absolute; right: 1rem; bottom: 1rem; z-index: 4; }
/* the HVAC clip framed wider to the right, so its gauges and the unit show: its card a little narrower, clear of his face */
.hero__slide--hvac .hero__card { width: min(19rem, 46%); }
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__panel { gap: 1.5rem; padding: 1.75rem var(--gutter) 2rem; }
  .hero__lede { margin-top: 0.75rem; font-size: 1.0625rem; }
  .hero__goal { max-width: none; }
  .hero__stage { height: clamp(17rem, 78vw, 28rem); min-height: 0; }
  .hero__card { top: 0.75rem; left: 0.75rem; width: min(16.5rem, 62%); padding: 0.55rem 0.75rem 0.65rem; }
  .hero__card .strip { margin-bottom: 0.35rem; padding-bottom: 0.35rem; font-size: 0.75rem; letter-spacing: 0.1em; }
  .hero__card .booking__title { font-size: 1rem; }
  .hero__card .booking__sub { font-size: 0.8125rem; }
  .hero__slide--dental { --pos: 30% 50% !important; }
  .hero__slide--hvac { --pos: 46% 50% !important; }
  /* the stop icon at the panel's foot, right above the footage it holds: on the first screen, clear of every face */
  .hero__panel { padding-bottom: 3.75rem; }
  .hero__stop { right: var(--gutter); bottom: calc(clamp(17rem, 78vw, 28rem) + 0.625rem); }
}
@media (min-width: 900px) and (max-height: 820px) {
  .hero__panel { gap: 1.25rem; padding-block: 1.75rem; }
  .hero__lede { margin-top: 0.75rem; font-size: 1.0625rem; }
}

/* ---------- plan: the free plan tour ---------- */
.tour__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); grid-template-rows: auto 1fr; grid-template-areas: "side stage" "cta stage"; gap: 2rem clamp(2rem, 4vw, 4rem); }
.tour__side { grid-area: side; }
.tour__stage { grid-area: stage; }
.tour__cta { grid-area: cta; align-self: start; }
.tour .head { margin-bottom: 1.75rem; }
.tour__tabs { display: grid; gap: 0.7rem; }
.tour__tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.2rem; width: 100%; padding: 0.95rem 1.15rem 1.3rem; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); text-align: left; cursor: pointer; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.tour__tab:hover { border-color: var(--c-brand); }
.tour__tab[aria-selected="true"] { border-color: var(--c-brand); box-shadow: var(--shadow-m); }
.tour__num { grid-row: span 2; font: 700 1rem/1.5 var(--font-display); font-variant-numeric: tabular-nums; color: var(--c-ink-soft); }
.tour__tab[aria-selected="true"] .tour__num { color: var(--c-brand-text); }
.tour__name { font: 700 1.2rem/1.3 var(--font-display); }
.tour__line { grid-column: 2; font-size: var(--fs-small); line-height: 1.45; color: var(--c-ink-soft); }
.tour__run { position: absolute; left: 1.15rem; right: 1.15rem; bottom: 0.6rem; height: 0; border-top: 2px dashed var(--c-line); }
.tour__run::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--c-brand); transform: scaleX(var(--kit-fill, 0)); transform-origin: left; }
.tour__tab:not([aria-selected="true"]) .tour__run::after { transform: scaleX(0); }
.tour__stage { position: relative; display: grid; min-height: clamp(30rem, 40vw, 34rem); padding: clamp(1rem, 2.4vw, 2rem); overflow: hidden; border-radius: var(--radius-m); background: var(--c-ink); isolation: isolate; }
.tour__stage > video { position: absolute; inset: -1px; z-index: -2; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.tour__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c-ink) 50%, transparent); }
.tour__panel { grid-area: 1 / 1; display: grid; place-items: center; min-width: 0; }
.tour__panel > [data-scene] { width: 100%; }
.tour__stop { position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 2; }
@media (max-width: 1099px) {
  .tour__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "side" "stage" "cta"; }
  .tour__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .tour__tabs { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .tour__tab { padding: 0.8rem 1rem 1.15rem; }
  .tour__line { display: none; }
  .tour__num { grid-row: auto; }
  .tour__stage { min-height: 29rem; padding: 0.75rem; }
}

/* ---------- how: three steps and the route ---------- */
.how__top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.how .head { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.steps__item { padding-top: 0.9rem; border-top: 2px dashed color-mix(in srgb, var(--c-on-ink) 30%, transparent); }
.steps__item:last-child { border-top: 2px solid var(--c-accent-on-ink); }
.steps__num { display: block; margin-bottom: 0.4rem; font: 800 2.1rem/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--c-brand-on-ink); }
.steps__item:last-child .steps__num { color: var(--c-accent-on-ink); }
.steps__item h3 { color: var(--c-on-ink); }
.steps__item p { margin-top: 0.4rem; font-size: 1rem; line-height: 1.5; color: color-mix(in srgb, var(--c-on-ink) 78%, transparent); }
/* the desk under the route, tinted like a blueprint: one still layer */
.route-stage { position: relative; height: clamp(26rem, 36vw, 30rem); overflow: hidden; border: 1px solid color-mix(in srgb, var(--c-on-ink) 16%, transparent); border-radius: var(--radius-m); background: var(--c-brand-dark); isolation: isolate; }
.route-stage > video { position: absolute; inset: -1px; z-index: -2; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.route-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-brand-dark); mix-blend-mode: multiply; }
.route-stage__scene { width: 100%; height: 100%; }
.how__foot { display: flex; justify-content: flex-end; margin-top: 0.75rem; }
@media (max-width: 899px) {
  .how__top { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
}
@media (max-width: 699px) {
  .route-stage { height: 47.5rem; }
}

/* ---------- worth: the calculator, "your year, mapped" ---------- */
.worth .head { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.worth__box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); max-width: 72rem; margin-inline: auto; padding: 0; overflow: hidden; box-shadow: var(--shadow-l);
  --calc-track-size: 4px; --calc-track-radius: 0px; --calc-thumb-size: 26px; --calc-thumb-radius: var(--radius-s); --calc-thumb-edge-size: 3px;
  --calc-value-size: 1.6rem; --calc-total-size: 3.6rem; --calc-figure-size: 2.1rem; --calc-font-figure: var(--font-display); --calc-gap: 1.6rem; }
.worth__controls { display: flex; flex-direction: column; padding: 1.4rem 1.6rem 1.75rem; border-right: 1px solid var(--c-line); background-color: var(--c-paper-alt); background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px); background-size: var(--grid-cell) var(--grid-cell); }
.worth__controls .strip { margin-bottom: 1.25rem; }
.worth .calc-slider__label { font-weight: 500; }
.worth .calc-slider__value { font-family: var(--font-display); font-weight: 700; color: var(--c-brand-text); }
.worth__result { position: relative; display: grid; align-content: start; gap: 0.9rem; padding: 1.4rem 1.6rem 1.5rem; }
.worth__result > .strip { margin-bottom: 0; padding-right: 3rem; }
.worth .calc-total__value { font-weight: 800; letter-spacing: -0.01em; color: var(--c-brand-text); }
.worth .calc-total__label { margin-top: 0.2rem; font: 500 var(--fs-ui)/1.3 var(--font-ui); color: var(--c-ink-soft); }
.worth .calc-figures { padding-top: 0.85rem; border-top: 1px dashed var(--c-line); }
.worth .calc-figure__value { font-weight: 700; }
.worth .calc-figure__label { color: var(--c-ink-soft); }
.worth__stop { position: absolute; top: 0.95rem; right: 1.25rem; }
/* the picture: a plan sheet with its grid, the route ahead dashed, each month drawn solid as it lands */
.year__frame { position: relative; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-s); background: var(--c-paper); }
.year__svg { display: block; width: 100%; height: auto; }
.year__gridline { fill: none; stroke: var(--c-line); stroke-width: 1; opacity: 0.55; }
.year__ahead { fill: none; stroke: var(--c-line); stroke-width: 3; stroke-dasharray: var(--route-dash); stroke-linejoin: round; }
.year__solid { fill: none; stroke: var(--c-brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.year__m[data-kit-on] .year__solid { stroke-dashoffset: calc(100 - var(--kit-in, 1) * 100); }
.year__stop { fill: var(--c-paper); stroke: var(--c-line); stroke-width: 2.5; }
.year__m[data-kit-on] .year__stop { stroke: var(--c-brand); }
.year__dot { fill: var(--c-accent); opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }
.year__m[data-kit-on] .year__dot { opacity: 1; transform: scale(var(--kit-in, 1)); }
.year__dot[data-off] { display: none; }
.year__start { fill: var(--c-brand); }
.year__target path { fill: var(--c-ink-soft); }
.year[data-built] .year__target path { fill: var(--c-accent); }
.year__label { position: absolute; bottom: 0.55rem; font: 600 0.8125rem/1 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-soft); }
.year__label--now { left: 0.75rem; }
.year__label--end { right: 0.75rem; }
.year__key { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.55rem; font: 500 var(--fs-small)/1.3 var(--font-ui); color: var(--c-ink-soft); }
.year__keydot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 400px) {
  /* the value's second mark ($10,000) would touch its end ($50,000) on the narrowest phones */
  .worth .calc-scale__mark + .calc-scale__mark { display: none; }
}
@media (max-width: 859px) {
  .worth__box { grid-template-columns: minmax(0, 1fr); }
  .worth__controls { border-right: 0; border-bottom: 1px solid var(--c-line); padding: 1.2rem 1.1rem 1.4rem; }
  .worth__result { padding: 1.2rem 1.1rem 1.3rem; }
  .worth__box { --calc-total-size: 2.8rem; --calc-figure-size: 1.7rem; --calc-gap: 1.25rem; }
}

/* ---------- outcomes: four clips, each with its scene clear of faces ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.head-row .head { margin-bottom: 0; }
.head-row__stop { flex: none; }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.outcome { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); box-shadow: var(--shadow-m); }
.outcome__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-ink); }
.outcome__clip { position: absolute; inset: 0; overflow: hidden; }
.outcome__clip video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.outcome--answer .outcome__clip video { object-position: 100% 50%; }
.outcome--reviews .outcome__clip video, .outcome--work .outcome__clip video { object-position: 0% 50%; }
.outcome__scene { position: absolute; top: clamp(0.85rem, 4%, 1.5rem); left: clamp(0.85rem, 4%, 1.5rem); width: min(21rem, 56%); }
.outcome--answer .outcome__scene { left: auto; right: clamp(0.85rem, 4%, 1.5rem); width: min(19rem, 46%); }
.outcome__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.4rem 1.4rem; }
.outcome__body .strip { margin-bottom: 0.3rem; }
.outcome__body h3 { font-size: 1.45rem; }
.outcome__body p { color: var(--c-ink-soft); }
.outcome__body .link-arrow { margin-top: auto; padding-top: 0.4rem; }
@media (max-width: 759px) {
  .outcomes { grid-template-columns: minmax(0, 1fr); }
  /* each scene stands on its clip (two thirds of it or more) and the tallest hangs a little onto the card's paper */
  .outcome__media { aspect-ratio: auto; min-height: 22rem; padding: 9.5rem 0.9rem 0; background: var(--c-paper); }
  .outcome__clip { bottom: auto; height: 22rem; }
  /* her face sits high on the right: the rating starts below her chin */
  .outcome--reviews .outcome__media { padding-top: 11rem; }
  .outcome__scene, .outcome--answer .outcome__scene { position: relative; top: auto; left: auto; right: auto; width: 100%; max-width: 22rem; }
}

/* ---------- compare: drag the line (the compare itself is components.css's; here its height, its photos' framing
   and where each side's cards sit for the line resting at 45) ---------- */
.compare { height: clamp(30rem, 46vw, 37rem); }
.after .compare__photo { object-position: 0% 30%; transform: scale(1.2); transform-origin: 0% 30%; }
.before .compare__cards { left: 4%; }
.after .compare__cards { left: 47.5%; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: 2rem; }
.promises li { display: flex; align-items: center; gap: 0.6rem; font: 600 1rem/1.35 var(--font-ui); }
.promises .mark { width: 1.3rem; height: 1.3rem; color: var(--c-accent); }
@media (max-width: 899px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .compare { height: 36rem; }
  .before .compare__photo { object-position: 50% 50%; }
  .after .compare__photo { object-position: 86% 22%; transform: none; }
  /* each side's tag stays inside its own side where the line rests (45%), wrapping to two lines */
  .before .compare__tag { left: 0.6rem; max-width: calc(45% - 1.4rem); }
  .after .compare__tag { right: 0.6rem; max-width: calc(55% - 1.4rem); text-align: right; }
  .before .compare__cards { left: 0.6rem; right: calc(55% + 0.6rem); }
  .after .compare__cards { left: calc(45% + 0.6rem); right: 0.6rem; }
  .promises { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- who: six kinds, one lit at a time (kit sequence, held) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.5rem); }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-paper); color: var(--c-ink); text-decoration: none; box-shadow: var(--shadow-s); transition: border-color var(--dur-med), box-shadow var(--dur-med); }
.tile:hover { border-color: var(--c-brand); }
.tile__top { position: relative; display: block; }
.tile__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-ink); }
.tile__photo img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; filter: saturate(0.8) brightness(0.88); transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.tile__card { position: absolute; left: 0.65rem; right: 0.65rem; bottom: 0.65rem; padding: 0.55rem 0.75rem 0.65rem; opacity: 0; transform: translateY(10px); }
.tile__card .strip { margin-bottom: 0.35rem; padding-bottom: 0.35rem; font-size: 0.75rem; }
.tile__card .booking__title { font-size: 1.05rem; }
.tile__body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem 1.1rem; }
.tile__name { font: 700 1.2rem/1.2 var(--font-display); }
.tile__fields { font-size: var(--fs-small); line-height: 1.45; color: var(--c-ink-soft); }
/* the newest tile lit: its photo brightens and leans in, its booking lands (all from its --kit-in) */
.tiles .tile[data-kit-on]:not(:has(~ .tile[data-kit-on])) { border-color: var(--c-brand); box-shadow: var(--shadow-m); }
.tiles .tile[data-kit-on]:not(:has(~ .tile[data-kit-on])) .tile__photo img { filter: saturate(calc(0.8 + 0.2 * var(--kit-in, 1))) brightness(calc(0.88 + 0.14 * var(--kit-in, 1))); transform: scale(calc(1 + 0.045 * var(--kit-in, 1))); transition: none; }
.tiles .tile[data-kit-on]:not(:has(~ .tile[data-kit-on])) .tile__card { opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.tile--more { grid-column: span 2; flex-direction: row; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; background-color: var(--c-paper-alt); background-image: linear-gradient(var(--c-grid) 1px, transparent 1px), linear-gradient(90deg, var(--c-grid) 1px, transparent 1px); background-size: var(--grid-cell) var(--grid-cell); }
.tile__mark { display: block; flex: none; width: 4rem; height: 4rem; color: var(--c-accent); }
.tile__mark .mark { width: 100%; height: 100%; }
.tile--more .tile__body { padding: 0; }
.tile--more .tile__name { font-size: 1.5rem; }
.tile--more .tile__fields { max-width: 26rem; font-size: 1rem; }
.tile__go { margin-top: 0.4rem; }
@media (max-width: 1099px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--more { grid-column: span 3; }
}
@media (max-width: 639px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .tile--more { grid-column: span 2; padding: 1.2rem; gap: 1rem; }
  .tile__mark { width: 3rem; height: 3rem; }
  .tile__body { padding: 0.7rem 0.75rem 0.85rem; }
  .tile__name { font-size: 1.05rem; }
  .tile__fields { font-size: 0.8125rem; }
  .tile__card { left: 0.4rem; right: 0.4rem; bottom: 0.4rem; padding: 0.45rem 0.55rem 0.5rem; }
  .tile__card .strip { font-size: 0.75rem; letter-spacing: 0.06em; }
  .tile__card .booking__title { font-size: 0.875rem; }
}

/* ---------- faq: the FAQ is components.css's (shared with the other pages) ---------- */

/* ---------- close: the idea's line over the moment a booking lands ---------- */
.close { min-height: clamp(32rem, 44vw, 42rem); }
.close__stage video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 30%; }
.close__stop { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; }
/* the booking that just landed on her phone, on the footage's left part, clear of her face */
.close__card { position: absolute; z-index: 2; left: clamp(1rem, 4.5%, 2.5rem); top: clamp(1rem, 7%, 3rem); width: min(19rem, 39%); }
.close__panel { gap: 1rem; }
.close__title { font-size: clamp(2.2rem, 1.25rem + 2.1vw, 3.4rem); color: var(--c-on-ink); }
.close__title span { display: block; }
.close__title span:last-child { color: var(--c-accent-on-ink); }
.close__line { max-width: 30rem; margin-bottom: 0.75rem; font-size: 1.1875rem; line-height: 1.5; color: color-mix(in srgb, var(--c-on-ink) 82%, transparent); }
@media (max-width: 899px) {
  .close { min-height: 0; }
  .close__stage { height: clamp(16rem, 66vw, 24rem); }
  .close__card { top: 0.75rem; left: 0.75rem; width: min(15rem, 44%); padding: 0.55rem 0.7rem 0.6rem; }
  .close__card .strip { margin-bottom: 0.35rem; padding-bottom: 0.35rem; font-size: 0.75rem; letter-spacing: 0.08em; }
  .close__card .booking__title { font-size: 0.95rem; }
  .close__card .booking__sub { font-size: 0.8125rem; }
  .close__panel { padding: 2rem var(--gutter) 2.5rem; }
  .close__goal { max-width: none; }
}
