/* about.css: the About page (plan.md, "About"): the header that changes its picture (kit\kit.md, its CSS as given
   there) with place-card over the sky, who we are over a framed photo, the operator's seam (the kit's compare), the
   method's V over a framed photo, the values on the designed ground, the close. */

/* Header: two stretches of the valley from the air at sunrise, graded from the left; the words at the left, the place
   card in glass over the sky at the right. */
.ab-hero { box-sizing: border-box; min-height: min(46rem, 88vh); display: grid; align-content: center; padding-block: clamp(5rem, 3rem + 5vw, 8rem); }
.ab-hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ab-hero__slides::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c-ink) 84%, transparent) 0%, color-mix(in srgb, var(--c-ink) 62%, transparent) 42%, color-mix(in srgb, var(--c-ink) 30%, transparent) 72%, color-mix(in srgb, var(--c-ink) 38%, transparent) 100%), linear-gradient(180deg, color-mix(in srgb, var(--c-ink) 30%, transparent) 0%, transparent 30%, transparent 62%, var(--c-ink) 100%); }
[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); }
.ab-hero__slides video, .ab-hero__slides img { filter: brightness(0.82) saturate(0.9); }
.ab-hero__in { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.ab-hero__copy { display: grid; justify-items: start; gap: var(--space-4); }
.ab-hero__title { max-width: 17ch; font-size: var(--fs-display); }
.ab-hero__copy .lead { max-width: 36rem; }
.ab-hero__scene { position: relative; justify-self: end; align-self: start; width: min(100%, 23.75rem); margin-top: 1.5rem; }
.ab-hero__stop { top: -3rem; right: 0; bottom: auto; left: auto; }

/* Who we are: the words above; the owner at her café table at the right of the frame, Keith's answer in glass at
   its left. */
.ab-who__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: end; margin-bottom: var(--space-6); }
.ab-who__intro .sec-head { margin: 0; text-align: left; justify-items: start; }
.ab-who__intro .sec-head__title { max-width: 16ch; }
.ab-who__text { display: grid; justify-items: start; gap: var(--space-4); }
.ab-who__text p { margin: 0; color: var(--c-muted); font-size: var(--fs-lead); line-height: 1.6; }
.ab-who__badge { width: 8.5rem; height: auto; }
.ab-who__stage { --ps-h: 36rem; --ps-x: 1.5rem; --ps-w: 40rem; --pos: 50% 40%; --pos-n: 72% 30%; --ps-top-n: 15rem; --ps-media-n: 36rem; --ps-w-n: 28.75rem;
  --veil: linear-gradient(90deg, color-mix(in srgb, var(--c-ink) 55%, transparent) 0%, color-mix(in srgb, var(--c-ink) 28%, transparent) 50%, transparent 68%); }
.ab-who__scene > [data-scene] { height: 29rem; }
.ab-who__stage > .stop { left: var(--space-3); right: auto; }

/* What makes us different: the operator's seam. One owner's week, five leads: left of the line five separate tools
   (a lead in each, two gone cold, a report of views and clicks), right of it one system (each answered, booked and
   counted); each column, and its point under it, turns as the line passes its middle. */
.od { --kit-v: 0.4; position: relative; margin-top: var(--space-6); padding: 4.5rem 1.25rem 1.5rem; border-radius: var(--radius-l); border: 1px solid var(--c-line-strong); overflow: hidden; isolation: isolate; box-shadow: var(--shadow-l); }
.od-side { position: absolute; inset: 0; }
.od-side--v { background: linear-gradient(180deg, color-mix(in srgb, #7d8aa0 12%, var(--c-ink-soft)) 0%, var(--c-ink-soft) 100%); }
.od-side--o { background: radial-gradient(ellipse 70% 70% at 72% 45%, var(--c-glow-soft), transparent 72%), var(--c-ink-2); clip-path: inset(0 0 0 calc(var(--kit-v) * 100%)); }
.od-label { position: absolute; top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-full); font: 600 0.875rem/1 var(--font-text); white-space: nowrap; }
.od-side--v .od-label { left: 1.25rem; background: color-mix(in srgb, var(--c-paper) 7%, transparent); border: 1px solid var(--c-line-strong); color: var(--c-muted); }
.od-side--o .od-label { right: 1.25rem; background: color-mix(in srgb, var(--c-brand) 24%, var(--c-ink-3)); border: 1px solid color-mix(in srgb, var(--c-brand) 60%, transparent); color: var(--c-paper); }
.od-label__v { width: 14px; height: 14px; fill: var(--c-accent); }
.od-cols { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; pointer-events: none; }
.od-col { --on: clamp(0, (var(--x) - var(--kit-v)) * 30 + 0.5, 1); position: relative; display: grid; padding: 0 0.4rem; }
.od-col::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; z-index: -1; height: 2px; background: var(--c-brand); box-shadow: 0 0 10px var(--c-glow); opacity: var(--on); }
.od-card { grid-area: 1 / 1; display: grid; align-content: start; gap: 0.6rem; padding: 0.85rem 0.85rem 0.95rem; border-radius: var(--radius-m); color: var(--c-paper); }
.od-card--v { background: color-mix(in srgb, #7d8aa0 9%, var(--c-ink-3)); border: 1px solid var(--c-line-strong); opacity: calc(1 - var(--on)); transform: translateY(var(--dy, 0px)) rotate(calc((1 - var(--on)) * var(--tilt, 0deg))); }
.od-col:nth-child(1) .od-card--v { --tilt: -1.4deg; }
.od-col:nth-child(2) .od-card--v { --tilt: 1deg; --dy: 10px; }
.od-col:nth-child(3) .od-card--v { --tilt: -0.6deg; --dy: -4px; }
.od-col:nth-child(4) .od-card--v { --tilt: 1.5deg; --dy: 8px; }
.od-col:nth-child(5) .od-card--v { --tilt: -1deg; --dy: 2px; }
.od-card--o { background: var(--c-glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid color-mix(in srgb, var(--c-brand) 55%, var(--c-line-strong)); box-shadow: 0 0 26px -10px var(--c-glow); opacity: var(--on); transform: translateY(calc((1 - var(--on)) * 8px)); }
.od-bar { display: flex; align-items: center; gap: 4px; min-width: 0; padding-bottom: 0.55rem; border-bottom: 1px solid var(--c-line); font: 600 13px/1 var(--font-text); color: var(--c-muted); }
.od-bar i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--c-paper) 25%, transparent); }
.od-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-lead { display: flex; align-items: flex-start; gap: 0.55rem; }
.od-av { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font: 700 13px/1 var(--font-display); }
.od-card--v .od-av { background: var(--c-ink-2); border: 1px solid var(--c-line-strong); color: var(--c-muted); }
.od-card--o .od-av { background: var(--grad-brand); color: var(--c-on-brand); }
.od-who { display: grid; gap: 2px; min-width: 0; }
.od-who b { font: 600 14px/1.2 var(--font-text); }
.od-who span { font: 400 13px/1.35 var(--font-text); color: var(--c-muted); }
.od-state { justify-self: start; padding: 0.3rem 0.55rem; border-radius: var(--radius-full); font: 600 13px/1.15 var(--font-text); color: var(--c-muted); background: color-mix(in srgb, var(--c-paper) 7%, transparent); border: 1px solid var(--c-line-strong); }
.od-state--cold { color: #c3cfde; background: color-mix(in srgb, #7fa3c8 15%, transparent); border-color: color-mix(in srgb, #7fa3c8 45%, transparent); }
.od-foot { padding-top: 0.5rem; border-top: 1px dashed var(--c-line); font: 500 13px/1.25 var(--font-text); color: var(--c-muted); }
.od-card--o .od-foot { color: var(--c-brand-on-ink); border-top-color: color-mix(in srgb, var(--c-brand) 40%, transparent); }
.od-src { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 0.3rem 0.6rem; border-radius: var(--radius-full); font: 600 13px/1.1 var(--font-text); background: color-mix(in srgb, var(--c-brand) 18%, var(--c-ink-3)); border: 1px solid color-mix(in srgb, var(--c-brand) 50%, transparent); white-space: nowrap; }
.od-src__v { width: 12px; height: 12px; fill: var(--c-accent); }
.od-tick { display: flex; align-items: center; gap: 0.4rem; font: 600 13px/1.25 var(--font-text); }
.od-tick svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--c-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.od-points { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.5rem 0 0; padding: 1.15rem 0 0; list-style: none; border-top: 1px solid var(--c-line); pointer-events: none; }
.od-points li { --on: clamp(0, (var(--x) - var(--kit-v)) * 30 + 0.5, 1); display: flex; align-items: flex-start; gap: 0.5rem; padding: 0 0.6rem; font: 600 0.9375rem/1.4 var(--font-text); color: color-mix(in srgb, var(--c-paper) calc(62% + var(--on) * 38%), var(--c-ink-soft)); }
.od-points svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: color-mix(in srgb, var(--c-accent) calc(var(--on) * 100%), var(--c-muted)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: calc(0.4 + var(--on) * 0.6); transform: scale(calc(0.8 + var(--on) * 0.2)); }
.od-range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.od-handle { position: absolute; z-index: 5; top: 0; bottom: 0; left: calc(var(--kit-v) * 100%); width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent 0%, var(--c-accent) 10%, var(--c-accent) 90%, transparent 100%); box-shadow: 0 0 14px var(--c-glow); pointer-events: none; }
.od-knob { position: absolute; left: 50%; top: 44%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--c-ink); border: 2px solid var(--c-accent); box-shadow: 0 0 22px -4px var(--c-glow); }
.od-knob svg { width: 20px; height: 20px; fill: none; stroke: var(--c-paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.od-range:focus-visible ~ .od-handle .od-knob { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.od-track { display: none; }

/* Our method: the plan on the whiteboard, darkly graded; the five stations down the V and up again in glass. */
.ab-method__stage { --ps-h: 34rem; --ps-x: 1.5rem; --ps-w: calc(100% - 3rem); --pos: 50% 35%; --ps-top-n: 12rem; --ps-media-n: 34rem;
  --veil: radial-gradient(ellipse 60% 70% at 50% 55%, color-mix(in srgb, var(--c-ink) 70%, transparent) 0%, color-mix(in srgb, var(--c-ink) 55%, transparent) 100%); }
.ab-route > [data-scene] { height: 29rem; }

/* Brand values: the five words as the picture, on the designed ground. */
.ab-values__stage { position: relative; margin-top: var(--space-6); }
.ab-values__stop { top: -3rem; right: 0; bottom: auto; left: auto; }

/* Close: the deli owner checking her shelves at the right; the words at the left. */
.ab-close { --pos: 70% 40%; --pos-n: 80% 25%; --close-top-n: 15rem; }

@media (max-width: 1279px) and (min-width: 1024px) {
  .ab-who__stage { --ps-w: 27rem; --ps-h: 42rem; }
  .ab-who__scene > [data-scene] { height: 38rem; }
}
@media (max-width: 1023px) {
  .ab-hero__in { grid-template-columns: minmax(0, 1fr); }
  .ab-hero__slides::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c-ink) 62%, transparent) 0%, color-mix(in srgb, var(--c-ink) 72%, transparent) 55%, var(--c-ink) 100%); }
  .ab-hero__scene { justify-self: start; margin-top: 0.5rem; }
  .ab-who__intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ab-who__scene > [data-scene] { height: 37.5rem; }
  .ab-who__stage > .stop { left: auto; right: var(--space-3); }
  .ab-route > [data-scene] { height: auto; }
}
@media (max-width: 899px) {
  /* the phone's seam: the leads stacked, each turning as the knob on the track passes its mark */
  .od { padding: 1rem 0.75rem 1rem; }
  .od-label { display: none; }
  .od-side--o { clip-path: none; background: none; }
  .od-cols { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .od-col { padding: 0; }
  .od-col::after { display: none; }
  .od-card { padding: 0.75rem 0.85rem; gap: 0.45rem; }
  .od-card--v { --tilt: 0deg !important; --dy: 0px !important; }
  .od-bar, .od-src, .od-foot { display: none; }
  .od-points { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; margin-top: 1.25rem; padding-top: 1rem; }
  .od-points li { padding: 0; }
  .od-track { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-full); background: var(--c-ink-3); border: 1px solid var(--c-line-strong); font: 600 13px/1 var(--font-text); color: var(--c-muted); }
  .od-range { inset: auto 0 0 0; height: 5.5rem; }
  .od-handle { top: auto; bottom: calc(1rem + 22px); width: 0; height: 0; margin: 0; left: calc(1.75rem + var(--kit-v) * (100% - 3.5rem)); background: none; box-shadow: none; }
  .od-knob { top: 0; }
}
@media (max-width: 599px) {
  .ab-hero { min-height: 0; }
}
