/* home.css: the home page's own placements and sizes (plan.md, "Home"), with the tokens of system.css only. */

/* ---------- #hero: full-bleed night footage, graded deep, the words over the navy at the left ---------- */
/* The kit's header that changes its field (kit.md), 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(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); }

.hero {
  position: relative; z-index: 2; display: flex; align-items: center; isolation: isolate; overflow: hidden;
  min-height: max(720px, min(100svh, 960px)); padding: 128px var(--gutter) 170px;
  background: radial-gradient(110% 80% at 12% 0%, var(--bg-3) 0%, var(--bg-1) 58%);
}
.hero__stage {
  position: absolute; top: 0; right: 0; bottom: 0; left: 36%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
.hero__slide { --deep-shade: linear-gradient(180deg, rgb(2 8 16 / 0.62) 0%, rgb(2 8 16 / 0) 20%, rgb(2 8 16 / 0) 58%, rgb(5 13 26 / 0.92) 100%); }
.hero__slide > video, .hero__slide > img { object-position: 50% 40%; }
/* A clip shot in a bright room is taken down further, so every field reads as the same deep night. */
.hero__slide--bright { --deep-shade: linear-gradient(180deg, rgb(2 8 16 / 0.72) 0%, rgb(2 8 16 / 0.3) 22%, rgb(2 8 16 / 0.3) 58%, rgb(5 13 26 / 0.94) 100%); }
.hero__slide--bright > video, .hero__slide--bright > img { filter: saturate(0.68) contrast(1.1) brightness(0.6); }
.hero__card { position: absolute; z-index: 2; right: 7%; bottom: 25%; opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 14px)); }
.hero__card--b { bottom: 30%; right: 9%; }
/* The leaving slide plays on under the next one: its card steps out at once, so two cards never overlap. */
[data-kit-scene="rotate"] [data-kit-slide][data-prev] .hero__card { opacity: 0; transition: opacity 0.3s var(--ease-out); }
.hero__card--c { bottom: 21%; right: 6%; }
.hero__sea { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hero__sea .motes { position: absolute; inset: 0; }
.hero__in { position: relative; z-index: 4; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.hero__title { max-width: 11.2em; font-size: clamp(2.375rem, 1.1rem + 3.5vw, 4rem); line-height: 1.04; letter-spacing: var(--track-display); }
.hero__word { display: block; white-space: nowrap; }
.hero__word .lit { display: inline-block; opacity: calc(1 - var(--kit-swap, 0) * 0.9); filter: blur(calc(var(--kit-swap, 0) * 5px)); }
.hero__line { max-width: 34rem; margin-top: 26px; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted); }
.hero__line strong { font-weight: 500; color: var(--text-bright); }
.hero__picker { margin-top: 34px; }
.hero__picker .picker__note { justify-content: flex-start; }
.hero__stop { position: absolute; z-index: 6; top: 96px; right: var(--gutter); }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 5; height: 170px; --w1: rgb(5 13 26 / 0.35); --w2: rgb(5 13 26 / 0.64); --w3: var(--bg-1); }

@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 96px var(--gutter) 0; }
  .hero__in { order: 1; }
  .hero__stage { order: 2; position: relative; inset: auto; left: auto; height: auto; aspect-ratio: 5 / 4.4; margin: 34px calc(var(--gutter) * -1) 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%); }
  .hero__slide > video, .hero__slide > img { object-position: 62% 40%; }
  /* On the phone the card sits high on the footage, so the first screen shows it whole. */
  .hero__card, .hero__card--b, .hero__card--c { right: auto; left: var(--gutter); top: 22%; bottom: auto; max-width: calc(100% - var(--gutter) * 2); }
  .hero__stop { top: 76px; }
  .hero__waves { height: 90px; }
  .hero__br { display: none; }
}
@media (max-width: 420px) {
  .hero__title { font-size: 2.25rem; }
  .hero__line { font-size: 1rem; }
  .hero .picker { padding: 16px; }
  .hero .picker__choices { gap: 6px; }
}

/* ---------- #plan: the tour ---------- */
.plan::before { content: ''; position: absolute; inset: 0 0 auto; height: 70%; pointer-events: none; background: radial-gradient(60% 60% at 50% 0%, rgb(52 152 219 / 0.08), transparent 70%); }
.plan__box { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 2.08fr); gap: 26px; align-items: stretch; }
.plan__tabs { display: grid; gap: 12px; align-content: center; }
.plan__tab {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 22px 22px 24px 20px;
  border: 0; border-radius: var(--radius-m); overflow: hidden; text-align: left; font: inherit; cursor: pointer; color: var(--text-muted);
  background: rgb(10 22 40 / 0.45); box-shadow: inset 0 0 0 1px var(--border);
  transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.plan__tab:hover { background: rgb(15 30 55 / 0.55); }
.plan__tab-num { grid-row: span 2; padding-top: 3px; font: 600 13px/1.4 var(--font-display); letter-spacing: 0.06em; color: var(--text-muted); }
.plan__tab-title { font: 600 1.1875rem/1.25 var(--font-display); color: var(--text); }
.plan__tab-line { margin-top: 6px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted); }
.plan__tab[aria-selected="true"] { background: rgb(15 30 55 / 0.72); box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 var(--edge-light), 0 0 60px -24px var(--glow); }
.plan__tab[aria-selected="true"] .plan__tab-title { color: var(--text-bright); }
.plan__tab[aria-selected="true"] .plan__tab-num { color: var(--accent-bright); }
.plan__tab-fill { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--kit-fill, 0) * 100%); background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); box-shadow: 0 0 12px var(--glow); }
.plan__tab:not([aria-selected="true"]) .plan__tab-fill { width: 0; }
.plan__stage { position: relative; min-height: clamp(470px, 40vw, 540px); border-radius: var(--radius-l); box-shadow: var(--shadow-l); --deep-shade: radial-gradient(75% 70% at 50% 50%, rgb(2 8 16 / 0.42), rgb(2 8 16 / 0.72)); }
.plan__panel { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 30px; }
.plan__scene { width: 100%; max-width: 580px; }
.plan__scene--fillcal { max-width: 680px; }
.plan__stop { position: absolute; z-index: 3; top: 16px; right: 16px; }
@media (max-width: 899px) {
  .plan__box { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plan__tabs { gap: 8px; }
  .plan__tab { padding: 14px 16px 16px; }
  .plan__tab-line { display: none; }
  .plan__tab-num { grid-row: auto; }
  .plan__stage { min-height: 500px; }
  .plan__panel { padding: 18px 12px; }
}

/* ---------- #how: three steps lit by the chat ---------- */
.how__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px 24px; border-radius: var(--radius-m); background: rgb(10 22 40 / 0.38); box-shadow: inset 0 0 0 1px var(--border); transition: background var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.step[aria-current="step"] { background: rgb(15 30 55 / 0.72); box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 var(--edge-light), 0 0 60px -26px var(--glow); }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 600 15px/1 var(--font-display); color: var(--accent-bright); background: rgb(52 152 219 / 0.1); box-shadow: inset 0 0 0 1px rgb(52 152 219 / 0.25); transition: background var(--dur-slow), color var(--dur-slow), box-shadow var(--dur-slow); }
.step[aria-current="step"] .step__num { color: var(--bg-0); background: linear-gradient(135deg, var(--accent-bright), var(--accent)); box-shadow: 0 0 26px -4px var(--glow); }
.step__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1.25rem; line-height: 1.3; color: var(--text); transition: color var(--dur-slow); }
.step[aria-current="step"] .step__title { color: var(--text-bright); }
.step__text { margin-top: 6px; color: var(--text-muted); }
.how__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.how__cta .picker__note { justify-content: flex-start; margin-top: 0; }
.how__stage { position: relative; display: grid; place-items: center; min-height: 640px; padding: 40px 20px; border-radius: var(--radius-l); box-shadow: var(--shadow-l); --deep-shade: radial-gradient(70% 65% at 50% 50%, rgb(2 8 16 / 0.3), rgb(2 8 16 / 0.78)); }
.how__stop { position: absolute; z-index: 3; top: 16px; right: 16px; }
.phone {
  position: relative; z-index: 2; display: flex; flex-direction: column; width: min(340px, 100%); height: 560px; padding: 12px 14px 14px; border-radius: 44px;
  background: rgb(2 8 16 / 0.74); -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 var(--edge-light), 0 50px 100px -30px rgb(0 0 0 / 0.9), 0 0 90px -30px var(--glow);
}
.phone__head { display: flex; align-items: center; gap: 12px; padding: 12px 8px 14px; border-bottom: 1px solid var(--border); }
.phone__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--border-strong); }
.phone__avatar img { width: 30px; height: 30px; object-fit: contain; }
.phone__name { display: block; font: 600 15px/1.2 var(--font-ui); color: var(--text-bright); }
.phone__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.phone__chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 4px 4px; opacity: calc(1 - var(--kit-out, 0)); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font: 400 14px/1.42 var(--font-ui); opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 10px)); }
.msg--in { align-self: flex-start; color: var(--text); background: rgb(15 30 55 / 0.92); box-shadow: inset 0 0 0 1px var(--border); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; color: var(--bg-0); font-weight: 600; background: linear-gradient(105deg, var(--accent-bright), var(--accent)); border-bottom-right-radius: 6px; }
.msg--chips { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; background: none; }
.msg--chips span { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 12px; font: 600 14px/1 var(--font-display); color: var(--text); background: rgb(15 30 55 / 0.92); box-shadow: inset 0 0 0 1px var(--border-strong); transition: background var(--dur-med), color var(--dur-med), box-shadow var(--dur-med); }
.msg--chips span[data-kit-on] { color: var(--bg-0); background: var(--accent-bright); box-shadow: 0 0 20px -4px var(--glow); }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: typing-dot 1.1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg--check { display: grid; gap: 9px; min-width: 76%; }
.msg__bar { display: block; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)) 0 0 / calc(var(--kit-fill, 0) * 100%) 100% no-repeat, rgb(52 152 219 / 0.16); }
.msg--result { display: grid; align-self: stretch; max-width: none; padding: 14px 16px 15px; border-radius: 18px; background: linear-gradient(160deg, rgb(15 30 55 / 0.96), rgb(10 22 40 / 0.96)); box-shadow: inset 0 0 0 1px var(--border-strong), 0 0 40px -18px var(--glow); }
.result__label { font-size: 13px; color: var(--text-muted); }
.result__value { margin-top: 4px; font: 600 1.25rem/1.2 var(--font-display); color: var(--text-bright); }
.result__by { font-size: 13px; color: var(--accent-bright); }
.result__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 54px; margin: 12px 0 10px; }
.result__bars i { height: var(--v); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep)); }
.result__from { padding-top: 9px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .msg--typing i { animation: none; } }
@media (max-width: 899px) {
  .how__in { grid-template-columns: minmax(0, 1fr); }
  .how__stage { min-height: 600px; margin-inline: calc(var(--gutter) * -0.5); }
  .phone { height: 540px; }
}

/* ---------- #worth: the calculator, a rising tide ---------- */
.worth__wrap { position: relative; }
.worth__box {
  --calc-ink: var(--text-bright); --calc-ink-soft: var(--text-muted); --calc-track: rgb(52 152 219 / 0.18); --calc-fill: var(--accent);
  --calc-thumb: var(--text-bright); --calc-thumb-edge: var(--accent-bright); --calc-thumb-shadow: 0 0 0 7px rgb(52 152 219 / 0.16), 0 6px 18px rgb(0 0 0 / 0.55);
  --calc-focus: var(--accent-bright); --calc-surface: var(--bg-2); --calc-font: var(--font-ui); --calc-font-figure: var(--font-display);
  --calc-value-size: 1.375rem; --calc-total-size: clamp(2.75rem, 1.6rem + 3.4vw, 4.5rem); --calc-figure-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); --calc-gap: 34px;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 4vw, 64px); align-items: center;
  padding: clamp(26px, 4vw, 52px); border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgb(15 30 55 / 0.72), rgb(10 22 40 / 0.62)); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 var(--edge-light), 0 50px 120px -50px rgb(0 0 0 / 0.9), 0 0 120px -50px var(--glow);
}
.worth__box .calc-slider__label { color: var(--text); }
.worth__box .calc-slider__value { font-family: var(--font-display); font-weight: 600; }
.worth__box .calc-total__value { font-weight: 600; letter-spacing: var(--track-h); }
.worth__box .calc-total__label { color: var(--text-muted); }
.worth__box .calc-figure__value { font-weight: 600; }
.worth__box .calc-figure__label { color: var(--text-muted); }
.worth__box .calc-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.worth__box .calc-figure { padding: 14px 16px; border-radius: 14px; background: rgb(2 8 16 / 0.35); box-shadow: inset 0 0 0 1px var(--border); }
.worth__box .calc-note { margin-top: 16px; font-size: var(--fs-small); color: var(--text-muted); }
.worth__picture { position: relative; margin-top: 18px; }
.tide { display: block; width: 100%; height: auto; aspect-ratio: 600 / 250; border-radius: 16px; background: linear-gradient(180deg, rgb(2 8 16 / 0.15), rgb(2 8 16 / 0.6)); box-shadow: inset 0 0 0 1px var(--border); }
.tide__depth line { stroke: rgb(52 152 219 / 0.14); stroke-width: 1; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.tide__cols line { stroke: rgb(52 152 219 / 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tide__surface { stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgb(93 173 226 / 0.85)); }
.tide__bubbles circle { fill: rgb(232 244 255 / 0.4); }
.tide__halo { fill: rgb(93 173 226 / 0.22); }
.tide__dot { fill: var(--text-bright); filter: drop-shadow(0 0 6px rgb(93 173 226 / 0.9)); }
.tide__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: 8px; font: 500 13px/1 var(--font-ui); color: var(--text-muted); text-align: center; }
.tide__axis { position: absolute; top: 12px; left: 14px; font: 500 13px/1 var(--font-ui); color: var(--text-muted); }
.worth__stop { position: absolute; z-index: 3; top: -56px; right: 0; }
@media (max-width: 899px) {
  .worth__box { grid-template-columns: minmax(0, 1fr); }
  .worth__result { order: -1; }
  .tide__months span:not(:nth-child(1)):not(:nth-child(3)):not(:nth-child(6)):not(:nth-child(9)):not(:nth-child(12)) { visibility: hidden; }
}
/* On the phone the total and the two figures get sizes their boxes always hold, even at the largest values, so the
   kit's fitting never has to shrink them (shrunk, it re-measures them for ever); the figures lose their cards for room. */
@media (max-width: 599px) {
  .worth__box { padding: 24px 18px; --calc-total-size: clamp(2.125rem, 0.75rem + 7vw, 2.75rem); --calc-figure-size: clamp(1.25rem, 6vw, 1.5rem); }
  .worth__box .calc-figures { gap: 16px; }
  .worth__box .calc-figure { padding: 14px 0 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--border-strong); }
  .worth__box .calc-figure__label { font-size: 13px; }
}
@media (max-width: 359px) { .worth__box .calc-scale__mark:nth-child(3) { display: none; } }

/* ---------- #outcomes: four clips, each with its scene ---------- */
.outcomes__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.outcomes__stop { position: absolute; z-index: 3; top: -56px; right: 0; }
.out {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 580px; padding: 30px; border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  --deep-shade: linear-gradient(180deg, rgb(2 8 16 / 0.3) 0%, rgb(2 8 16 / 0.06) 32%, rgb(2 8 16 / 0.84) 74%, rgb(2 8 16 / 0.95) 100%);
}
.out__scene { position: absolute; z-index: 2; top: 26px; width: min(330px, 56%); }
.out__scene--left { left: 26px; }
.out__scene--right { right: 26px; }
.out__scene--mid { left: 50%; translate: -50% 0; width: min(300px, 50%); }
.out__text { position: relative; z-index: 2; max-width: 30rem; }
.out__title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); letter-spacing: var(--track-h); }
.out__line { margin-top: 10px; color: var(--text); }
.out__link { margin-top: 16px; }
.out--found > video, .out--found > img { object-position: 60% 50%; }
.out--found::before { opacity: 0.62; } /* its clip is lit in violet: taken fully into the blue */
.out--answer > video, .out--answer > img { filter: saturate(0.7) contrast(1.08) brightness(0.62); } /* a bright clinic, taken down to the night of the others */
.out--work > video, .out--work > img { object-position: 50% 50%; }
#outcomes [data-scene="out-reviews"][data-look~="dark"] { --oc-star: var(--gold); }
@media (max-width: 899px) {
  .outcomes__grid { grid-template-columns: minmax(0, 1fr); }
  .out { min-height: 600px; padding: 24px; }
  .out__scene, .out__scene--left, .out__scene--right, .out__scene--mid { left: 50%; right: auto; translate: -50% 0; width: min(330px, calc(100% - 40px)); }
  /* the technician's face is at the top of the reviews clip here: the scene sits lower, the card a little taller */
  .out--reviews { min-height: 660px; }
  .out--reviews .out__scene { top: 136px; }
}

/* ---------- #tiers: the four packages ---------- */
.tiers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tier {
  position: relative; display: flex; flex-direction: column; min-height: 600px; border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-m);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.tier__photo { position: absolute; inset: 0; z-index: -2; }
.tier__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.2s var(--ease-out); }
.tier::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(2 8 16 / 0.15) 0%, rgb(2 8 16 / 0) 26%, rgb(2 8 16 / 0.72) 56%, var(--bg-0) 92%); }
.tier__goal { position: absolute; top: 16px; left: 16px; padding: 11px 14px 12px; border-radius: 14px; background: rgb(2 8 16 / 0.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 var(--edge-light); }
.tier__goal b { display: block; font: 600 1.625rem/1 var(--font-display); color: var(--text-bright); }
.tier__goal span { display: block; max-width: 11em; margin-top: 5px; font-size: 13px; line-height: 1.3; color: var(--text); }
.tier__body { margin-top: auto; padding: 26px 24px 26px; }
.tier__name { font-size: 1.875rem; letter-spacing: var(--track-h); }
.tier__tag { margin-top: 4px; font-weight: 500; color: var(--accent-bright); }
.tier__text { margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; color: var(--text); min-height: 4.8em; }
.tier__go { margin-top: 18px; }
.tier__go::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tier:hover, .tier:focus-within { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgb(93 173 226 / 0.55), 0 40px 90px -36px rgb(0 0 0 / 0.95), 0 0 80px -24px var(--glow); }
.tier:hover .tier__photo img, .tier:focus-within .tier__photo img { transform: scale(1.045); }
@media (hover: hover) { .tiers__row:hover .tier:not(:hover) { filter: brightness(0.62) saturate(0.75); } }
@media (max-width: 1099px) { .tiers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tier { min-height: 540px; } }
@media (max-width: 699px) {
  .tiers__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .tiers__row::-webkit-scrollbar { display: none; }
  .tier { scroll-snap-align: center; min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) { .tier, .tier__photo img { transition: none; } }

/* ---------- #compare: drag the line ---------- */
.cmp { position: relative; height: clamp(460px, 44vw, 560px); border-radius: var(--radius-l); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-l); touch-action: pan-y; }
.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(0.88) brightness(0.6); }
.before::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(24 27 33 / 0.6), rgb(24 27 33 / 0.25)); }
.after { clip-path: inset(0 0 0 calc(var(--kit-v, 0.5) * 100%)); }
.after .cmp__photo { filter: saturate(0.8) brightness(0.74); }
.after::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--accent-deep); mix-blend-mode: color; opacity: 0.4; }
.after::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgb(2 8 16 / 0.65), rgb(2 8 16 / 0.15) 60%); }
.cmp__tag { position: absolute; top: 22px; z-index: 2; padding: 9px 14px; border-radius: var(--radius-pill); font: 600 var(--fs-ui)/1 var(--font-ui); }
.before .cmp__tag { left: 22px; color: #e3e6ea; background: rgb(40 44 52 / 0.82); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.cmp__tag--us { right: 22px; color: var(--bg-0); background: linear-gradient(105deg, var(--accent-bright), var(--accent)); box-shadow: 0 0 30px -6px var(--glow); }
.cmp__cards { position: absolute; z-index: 2; bottom: 24px; display: grid; gap: 10px; width: min(300px, calc(50% - 44px)); }
.before .cmp__cards { left: 22px; }
.after .cmp__cards { right: 22px; }
.cmp__card { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; }
.before .cmp__card { background: rgb(36 40 47 / 0.88); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.before .cmp__k { font-size: 13px; color: #b7bdc6; }
.before .cmp__v { font: 600 1.0625rem/1.25 var(--font-ui); color: #e3e6ea; }
.cmp__card--us { background: rgb(5 13 26 / 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--border-strong), 0 0 40px -20px var(--glow); }
.cmp__card--us .cmp__k { font-size: 13px; color: var(--text-muted); }
.cmp__card--us .cmp__v { font: 600 1.125rem/1.25 var(--font-display); color: var(--text-bright); }
.cmp__bars { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 34px; margin-top: 6px; }
.cmp__bars i { height: var(--v); border-radius: 2px; background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep)); }
[data-kit-whole] { transition: opacity 0.2s, visibility 0s; }
[data-kit-under] { opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0s 0.2s; }
.cmp__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.handle { position: absolute; top: 0; bottom: 0; left: calc(var(--kit-v, 0.5) * 100%); z-index: 4; width: 0; pointer-events: none; opacity: clamp(0, calc((min(var(--kit-v, 0.5), 1 - var(--kit-v, 0.5)) - 0.03) * 14), 1); }
.cmp__range:focus-visible + .handle { opacity: 1; }
.handle__line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(180deg, transparent, var(--accent-bright) 12%, var(--accent-bright) 88%, transparent); box-shadow: 0 0 18px var(--glow); }
.handle__knob { position: absolute; top: 34%; left: -27px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--bg-0); background: linear-gradient(135deg, var(--accent-bright), var(--accent)); box-shadow: 0 0 0 6px rgb(52 152 219 / 0.18), 0 10px 30px rgb(0 0 0 / 0.5); }
.cmp__range:focus-visible + .handle .handle__knob { box-shadow: 0 0 0 3px var(--bg-0), 0 0 0 6px var(--accent-bright); }
.handle__hint { position: absolute; top: calc(34% - 40px); left: 0; translate: -50% 0; padding: 6px 12px; border-radius: var(--radius-pill); font: 600 13px/1 var(--font-ui); color: var(--text-bright); background: rgb(2 8 16 / 0.72); box-shadow: inset 0 0 0 1px var(--border-strong); transition: opacity var(--dur-med); }
.cmp[data-kit-touched] .handle__hint { opacity: 0; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 30px auto 0; padding: 0; list-style: none; }
.promises li { padding: 18px 2px 0; border-top: 1px solid var(--border-strong); color: var(--text-muted); font-size: var(--fs-ui); line-height: 1.45; }
.promises b { display: block; font: 600 1.0625rem/1.3 var(--font-display); color: var(--text-bright); }
@media (max-width: 899px) {
  .cmp { height: 560px; }
  .cmp__cards { width: calc(50% - 30px); bottom: 18px; gap: 8px; }
  .before .cmp__cards { left: 12px; }
  .after .cmp__cards { right: 12px; }
  .cmp__card { padding: 11px 12px; }
  .before .cmp__v, .cmp__card--us .cmp__v { font-size: 0.9375rem; }
  .cmp__tag { top: 14px; font-size: 13px; padding: 8px 11px; }
  .before .cmp__tag { left: 12px; }
  .cmp__tag--us { right: 12px; }
  .handle__knob { top: 22%; }
  .handle__hint { top: calc(22% + 62px); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}

/* ---------- #who: six categories and many more ---------- */
.who__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-radius: var(--radius-l); text-decoration: none; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--border); }
.tile__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) brightness(0.8); transition: transform 2s var(--ease-out); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent-deep); mix-blend-mode: color; opacity: 0.28; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(2 8 16 / 0) 30%, rgb(2 8 16 / 0.86) 100%); }
.tile__text { display: grid; gap: 6px; padding: 22px; }
.tile__name { font: 600 1.375rem/1.15 var(--font-display); color: var(--text-bright); letter-spacing: var(--track-h); }
.tile__fields { font-size: var(--fs-small); line-height: 1.5; color: var(--text); }
.tile:hover .tile__photo, .tile:focus-visible .tile__photo { transform: scale(1.05); }
.tile:hover, .tile:focus-visible { box-shadow: inset 0 0 0 1px rgb(93 173 226 / 0.5), 0 0 60px -24px var(--glow); }
.tile--law { grid-column: span 2; grid-row: span 2; }
.tile--law .tile__name { font-size: 2rem; }
.tile--health { grid-column: span 2; }
.tile--more { grid-column: span 2; background: radial-gradient(90% 120% at 100% 0%, rgb(52 152 219 / 0.22), transparent 60%), linear-gradient(160deg, var(--bg-3), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--border-strong); }
.tile--more::before, .tile--more::after { display: none; }
.tile--more .tile__text { max-width: 30rem; }
.tile__go { margin-top: 8px; }
.tile--law .tile__photo { object-position: 70% 30%; }
.tile--realestate .tile__photo { object-position: 30% 40%; }
@media (max-width: 999px) {
  .who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .tile--law { grid-row: span 1; }
  .tile--law .tile__name { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .who__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
  .tile--law, .tile--health, .tile--more { grid-column: auto; }
  .tile--more { min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) { .tile__photo { transition: none; } }

/* ---------- #faq ---------- */
.faq-part .part__head { margin-bottom: var(--space-5); }

/* ---------- #close: the last push, on the agency's wave ---------- */
.close {
  position: relative; z-index: 1; display: grid; place-items: center; min-height: 640px; padding: 130px var(--gutter); text-align: center;
  --deep-shade: linear-gradient(180deg, var(--bg-1) 0%, rgb(5 13 26 / 0) 22%, rgb(5 13 26 / 0) 76%, color-mix(in srgb, var(--bg-1) 55%, var(--bg-0)) 100%), radial-gradient(55% 60% at 50% 55%, rgb(2 8 16 / 0.74), rgb(2 8 16 / 0.32) 75%);
}
.close > video, .close > img { object-position: 50% 45%; }
.close__in { position: relative; z-index: 2; max-width: 660px; }
.close__title { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: var(--track-display); text-wrap: balance; }
.close__line { margin-top: 18px; font-size: var(--fs-lead); color: var(--text); }
.close__line strong { font-weight: 500; color: var(--text-bright); }
.close__picker { margin: 34px auto 0; text-align: left; }
.close__stop { position: absolute; z-index: 3; top: 22px; right: var(--gutter); }
@media (max-width: 899px) { .close { min-height: 0; padding: 110px var(--gutter) 120px; } }
