/* How it works: plan.md, How it works. One rod through every step's sphere (arsenal thread). */
@import url("../arsenal/thread.css");

.thread { --thread-ink: var(--c-brand); --thread-bg: var(--c-paper); --thread-w: 3px; }
.thread > section { margin-block: 0; }

/* a step's sphere on the rod */
.hstep { --s: 44px; display: grid; place-items: center; position: relative; color: var(--c-paper); font: 900 1.05rem / 1 var(--font-display); transform: scale(calc(.82 + var(--lit, 0) * .18)); box-shadow: 0 0 0 calc(var(--lit-after, 0) * 12px) color-mix(in srgb, var(--c-brand) calc((1 - var(--lit-after, 0)) * 30%), transparent); }
.hstep b { position: relative; }

/* ---------- #hero: the tall clip left, its chat over its right edge, the words right ---------- */
.hhead { padding-block: var(--space-5) var(--space-6); }
.hhead__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-5); align-items: center; }
.hhead__media { position: relative; padding-right: 130px; }
.hhead__clip { position: relative; isolation: isolate; aspect-ratio: 4 / 5; max-height: 660px; width: 100%; overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-l); background: var(--c-ink); }
.hhead__stop { top: 14px; left: 14px; right: auto; }
.hhead__chat { position: absolute; right: 0; bottom: 24px; width: 282px; }
.hhead__title { color: var(--c-teal-head); }
.hhead__cta { display: grid; justify-items: start; gap: 14px; margin-top: var(--space-4); }
.hhead__cta .picker__note { justify-content: flex-start; margin: 0; }
@media (max-width: 899px) {
  .hhead { padding-block: var(--space-4) var(--space-5); }
  .hhead__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .hhead__copy { order: -1; }
  .hhead__media { padding-right: 0; padding-bottom: 150px; }
  .hhead__clip { aspect-ratio: 1 / 1; }
  .hhead__chat { left: 50%; right: auto; bottom: 0; width: min(300px, 88%); transform: translateX(-50%); }
}

/* ---------- #yours: the owner in the middle of the footage, a step on each side of her ---------- */
.yours { min-height: 820px; }
.yours__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--c-purple-deep) 86%, transparent) 0, color-mix(in srgb, var(--c-purple-deep) 40%, transparent) 36%, transparent 50%, color-mix(in srgb, var(--c-purple-deep) 34%, transparent) 68%, color-mix(in srgb, var(--c-purple-deep) 76%, transparent) 100%); }
.yours__in { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 400px); justify-content: space-between; gap: var(--space-5); align-items: end; min-height: 820px; padding-block: var(--space-5); }
.yours__tag { justify-self: start; margin: 0 0 var(--space-3); padding: 6px 14px; border-radius: 999px; background: var(--c-paper); color: var(--c-purple); font: 800 .875rem / 1.2 var(--font-ui); }
.yours__col { display: grid; gap: 10px; }
.yours__col .h2, .yours__col .lede { margin-bottom: 0; }
.ystep { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--c-paper); font: 900 1.2rem / 1.2 var(--font-display); }
.ystep__s { flex: none; }
.yours__scene { position: relative; min-height: 300px; }
@media (max-width: 899px) {
  .yours { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 220px auto auto auto auto 16px; min-height: 0; padding-top: var(--space-5); background: var(--c-purple-deep); }
  .yours__in, .yours__col { display: contents; }
  .yours__col .h2 { grid-row: 1; margin-inline: 20px; }
  .yours__col .lede { grid-row: 2; margin: 8px 20px 0; }
  .yours__tag { grid-row: 3; margin: 12px 20px var(--space-3); }
  .yours__bg { position: relative; inset: auto; grid-row: 4 / -1; grid-column: 1; justify-self: start; margin-left: -1px; width: calc(100% + 2px); height: 100%; object-position: 50% 0; }
  .yours .fband__stop { grid-row: 4; grid-column: 1; top: 10px; right: 10px; }
  .yours__shade { display: none; }
  .ystep { z-index: 1; justify-self: start; margin: 12px 14px 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: color-mix(in srgb, var(--c-purple-deep) 88%, transparent); }
  .yours__col:first-child .ystep { grid-row: 5; grid-column: 1; }
  .yours__scene--goal { grid-row: 6; }
  .yours__col--right .ystep { grid-row: 7; grid-column: 1; }
  .yours__col--right .yours__scene { grid-row: 8; }
  .yours__scene { z-index: 1; grid-column: 1; margin-inline: 14px; }
}

/* ---------- #ours: four rows around the rod in the centre ---------- */
.ours__head { max-width: calc(50% - 60px); margin-bottom: var(--space-3); }
.ours__head .h2, .ours__head .lede { text-align: left; }
.hrow { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; gap: 0; margin-top: var(--space-5); }
.ours__head + .hrow { margin-top: -130px; }
.hhead__clip [data-kit-slide] video { object-position: 66% 50%; }
.hrow__words { grid-column: 1; grid-row: 1; padding-right: var(--space-3); text-align: right; }
.hrow__spine { grid-column: 2; grid-row: 1; display: grid; place-items: center; }
.hrow__media { grid-column: 3; grid-row: 1; min-height: 430px; }
.hrow--flip .hrow__words { grid-column: 3; padding: 0 0 0 var(--space-3); text-align: left; }
.hrow--flip .hrow__media { grid-column: 1; }
.hrow__name { margin: 0; font: 900 var(--fs-h3) / 1.15 var(--font-display); color: var(--c-ink); }
.hrow__line { margin: 6px 0 0; font: 600 1.05rem / 1.4 var(--font-text); color: var(--c-purple); }
.hrow__who { margin: 10px 0 0; font: 700 var(--fs-small) / 1.3 var(--font-ui); color: var(--c-ink-soft); }
.hrow .pframe__stop { left: 16px; right: auto; }
.hrow__bg { object-position: 40% 20%; }
.hrow__bg--garden { object-position: 80% 30%; }
.hrow__bg--dental { object-position: 20% 30%; }
.hrow__bg--glazing { object-position: 100% 30%; } /* the window and the fitter on the left, the card on the plain wall */
.hrow__scene { position: absolute; top: 16px; bottom: 16px; display: flex; align-items: center; width: min(320px, 60%); }
.hrow__scene > [data-scene] { width: 100%; }
.hrow__scene [data-scene="leads"] { --ld-on: var(--c-paper); --ld-soft: color-mix(in srgb, var(--c-paper) 74%, transparent); } /* its board is dark; this site's on-brand ink is dark too */
.hrow__scene [data-scene="leads"] .ld-src { color: var(--c-paper); background: color-mix(in srgb, var(--ld-tone) 62%, transparent); }
.hrow__scene [data-scene="tune"] .tn-plot { display: none; } /* its figure is a cost line this site has no number for: the changes alone say it */
.hrow__scene:has([data-scene="leads"]) { width: min(400px, 72%); }
.hrow__scene [data-scene="leads"] .ld-top span, .hrow__scene [data-scene="leads"] .ld-av, .hrow__scene [data-scene="leads"] .ld-who small { font-size: 14.5px; }
.hrow__scene--right { right: 12px; }
.hrow__scene--left { left: 12px; }
@media (max-width: 899px) {
  .ours__head { max-width: none; }
  .ours__head + .hrow { margin-top: var(--space-4); }
  .hrow { grid-template-columns: 56px minmax(0, 1fr); margin-top: var(--space-4); row-gap: 14px; }
  .hrow__spine { grid-column: 1; grid-row: 1; }
  .hrow__words, .hrow--flip .hrow__words { grid-column: 2; grid-row: 1; padding: 0; text-align: left; }
  .hrow__media, .hrow--flip .hrow__media { grid-column: 1 / -1; grid-row: 2; min-height: 480px; }
  .hrow__scene, .hrow__scene:has([data-scene="leads"]) { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; }
  .hrow__bg { object-position: 40% 0; }
  .hrow__bg--garden { object-position: 80% 0; }
  .hrow__bg--dental { object-position: 20% 0; }
  .hrow__bg--glazing { object-position: 34% 0; transform: scale(1.45); transform-origin: 75% 100%; } /* his face above the card, the window on the left */
  .hstep { --s: 38px; }
}

/* ---------- #inside: the thing itself over the tablet ---------- */
.inside__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 120px; align-items: end; margin-bottom: var(--space-4); }
.inside__head .h2, .inside__head .lede { text-align: left; }
.inside__cta { display: grid; justify-items: start; gap: 12px; }
.inside__cta .picker__note { justify-content: flex-start; margin: 0; }
.inside__shade { background: color-mix(in srgb, var(--c-purple-deep) 14%, transparent); }
.inside__frame { padding: var(--space-3); }
.inside__bg { object-position: 50% 40%; }
/* the real photo itself is the stage: the cards play straight on it */
.inside__frame [data-scene="plancards"] .pc-stage { border: 0; background: transparent; box-shadow: none; }
.inside__frame [data-scene="plancards"] .pc-stage::before { display: none; }
.inside__frame [data-scene="plancards"] .pc-total { color: var(--c-paper); }
.inside__note { margin: 14px 0 0; text-align: center; font: 600 var(--fs-small) / 1.4 var(--font-ui); color: var(--c-ink-soft); }
@media (max-width: 899px) {
  .inside__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .inside__frame { padding: 44px 8px 8px; }
}

/* ---------- #team: the call on the left, the proof on the right, the rod between ---------- */
.team__grid { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; }
.team__frame { min-height: 620px; }
.team__bg { object-position: 50% 10%; }
.team__scene { position: absolute; left: 14px; right: 14px; bottom: 16px; }
.team__spine { display: grid; place-items: center; }
.team__spine .hstep { --s: 26px; }
.team__words .h2, .team__words .lede { text-align: left; }
.team__reviews { display: grid; gap: 14px; margin-block: var(--space-3); }

.team__book { justify-self: start; }
@media (max-width: 899px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .team__spine { display: none; }
  .team__frame { min-height: 480px; }
}

/* ---------- #faq: the rod passes behind the answers ---------- */
.pfaq .faq { position: relative; }
.pfaq .faq__item { position: relative; background: var(--c-paper); }

/* ---------- #close ---------- */
.hclose__bg { object-position: 70% 25%; }
@media (max-width: 899px) { .hclose__bg { object-position: 55% 0; } }
