/* visuals.css — the visual-first blocks shared by /venues, /get-started,
   /solutions and every solution page (founder 2026-10-24: "text-heavy at
   the top; needs way more visuals and examples").

   Every screen used here is a REAL app capture, de-identified: the pitch
   screens are cut by apps/gatekeeper-ui/scripts/build-pitch-screens.py and
   the gatekeeper capture's guest name and order code are painted over with
   the same SCREEN_REDACTIONS the PDFs use. No mockups, no device chrome
   drawn around a fake UI. */

/* ---------- hero: copy left, real screens right ---------- */
.vx-hero { padding-bottom: clamp(40px, 6vw, 80px); }
.vx-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.vx-hero-copy .lede { max-width: 54ch; }
.vx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vx-hero-actions .btn { min-height: 52px; }
.vx-hero-note { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.vx-hero-note a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; margin: -12px 0; }

/* The stack of screens. Fixed aspect boxes so nothing shifts while the
   images decode. */
.vx-stack { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; width: 100%; }
.vx-shot {
  position: absolute; margin: 0; overflow: hidden; background: #000;
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(29, 185, 84, 0.08);
}
.vx-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Captions are read by screen readers; the visible legend sits under the
   stack so no label ever covers the UI it names. */
.vx-shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vx-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.vx-legend li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font: 600 12.5px/1.2 var(--font-body); }
.vx-legend li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.vx-shot--phone { left: 0; top: 4%; width: 40%; aspect-ratio: 780 / 1670; border-radius: 28px; z-index: 2; }
.vx-shot--scan { right: 0; top: 0; width: 56%; aspect-ratio: 900 / 806; z-index: 1; }
.vx-shot--queue { right: 2%; bottom: 4%; width: 70%; aspect-ratio: 900 / 225; z-index: 3; }

/* ---------- the Friday-night swim lanes ---------- */
.vx-flow { margin-top: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vx-lane { display: grid; grid-template-columns: 150px repeat(5, minmax(0, 1fr)); gap: 10px; padding: 14px; align-items: center; }
.vx-lane:nth-child(odd) { background: var(--bg-raise); }
.vx-lane-who strong { display: block; font: 700 15px/1.25 var(--font-body); color: var(--ink); }
.vx-lane-who span { color: var(--muted); font-size: 13px; }
.vx-step {
  border: 1px solid rgba(29, 185, 84, 0.55); border-radius: 12px; padding: 10px 12px;
  background: var(--bg); font-size: 13.5px; line-height: 1.45; color: var(--ink);
}
.vx-step time { display: block; font: 700 12px/1 var(--font-mono); color: var(--green); margin-bottom: 6px; }
.vx-flow-note { margin-top: 12px; color: var(--muted); font-size: 13.5px; }

/* ---------- persona gallery ---------- */
.vx-personas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.vx-persona {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raise); overflow: hidden;
}
.vx-persona-shot { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #000; border-bottom: 1px solid var(--line); }
.vx-persona-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.vx-persona-body { padding: 16px 18px 20px; }
.vx-persona-body .eyebrow { margin-bottom: 8px; }
.vx-persona-body h3 { font: 700 19px/1.25 var(--font-display); margin: 0 0 8px; }
.vx-persona-body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ---------- before / after ---------- */
.vx-compare { margin-top: 30px; border-top: 1px solid var(--line); }
.vx-compare-row { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.vx-compare-row.head { padding: 12px 0; font: 700 12px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.vx-compare-row.head span:last-child { color: var(--green); }
.vx-compare-row strong { font-size: 15.5px; }
.vx-compare-row .before { color: var(--muted); }
.vx-compare-row .after { color: var(--ink); }

/* ---------- path cards (/get-started, solution hub) ---------- */
.vx-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 30px; }
.vx-path {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-raise);
}
.vx-path.is-primary { border-color: rgba(29, 185, 84, 0.6); box-shadow: 0 0 0 1px rgba(29, 185, 84, 0.25), 0 30px 60px -40px var(--green-glow); }
.vx-path h3 { font: 700 22px/1.2 var(--font-display); margin: 0; }
.vx-path p { color: var(--muted); margin: 0; line-height: 1.55; }
.vx-path ul { margin: 0; padding-left: 18px; color: var(--ink); line-height: 1.7; font-size: 14.5px; }
.vx-path .btn { margin-top: auto; align-self: flex-start; min-height: 52px; }
.vx-path-tag { font: 700 11px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.vx-path-img { margin: -24px -24px 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: #000; }
.vx-path-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- numbered steps ---------- */
.vx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 28px; counter-reset: vx; }
.vx-steps li { list-style: none; position: relative; padding: 20px 20px 20px 66px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.vx-steps li::before {
  counter-increment: vx; content: counter(vx); position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #04140a; font: 800 16px/1 "Sofia Sans", var(--font-display);
}
.vx-steps strong { display: block; margin-bottom: 4px; }
.vx-steps span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- use cases with photos ---------- */
.vx-usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 30px; }
.vx-usecase { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-raise); }
.vx-usecase figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.vx-usecase figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-usecase div { padding: 16px 18px 20px; }
.vx-usecase h3 { font: 700 18px/1.25 var(--font-display); margin: 0 0 6px; }
.vx-usecase p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- solution hub cards ---------- */
.vx-solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 34px; }
.vx-solution {
  display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-raise); color: inherit; text-decoration: none; min-height: 48px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.vx-solution:hover { border-color: var(--green); transform: translateY(-2px); }
.vx-solution figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.vx-solution figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-solution div { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.vx-solution h2, .vx-solution h3 { font: 700 21px/1.2 var(--font-display); margin: 0; }
.vx-solution .vx-price { font: 800 15px/1.2 "Sofia Sans", var(--font-display); color: var(--green); }
.vx-solution p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.vx-solution .vx-more { margin-top: 8px; color: var(--green); font-weight: 600; font-size: 14.5px; }

@media (max-width: 1100px) {
  .vx-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .vx-hero-grid { grid-template-columns: 1fr; }
  .vx-stack { max-width: 460px; }
  /* Swim lanes become one timeline per lane on a phone. */
  .vx-lane { grid-template-columns: 1fr; }
  .vx-lane .vx-gap { display: none; }
}
@media (max-width: 640px) {
  .vx-personas { grid-template-columns: 1fr; }
  .vx-persona-shot { aspect-ratio: 16 / 11; }
  .vx-compare-row { grid-template-columns: 1fr; gap: 6px; }
  .vx-compare-row.head { display: none; }
  .vx-compare-row .before::before { content: "Today: "; font-weight: 700; }
  .vx-compare-row .after::before { content: "With DrinkLync: "; font-weight: 700; color: var(--green); }
  .vx-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- intake form heading ---------- */
.intake-form-title { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--font-display); margin: 0 0 8px; }

/* ---------- solution hero: a real photo of the room + the guest's pass ---------- */
.vx-hero-photo { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: visible; }
.vx-hero-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.vx-hero-phone {
  position: absolute; right: -10px; bottom: -28px; width: 26%; aspect-ratio: 780 / 1260; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line-strong); background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.vx-hero-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 640px) { .vx-hero-phone { right: 8px; bottom: -18px; width: 34%; } }

/* ---------- /pricing hero: rotating real drink stills ---------- */
.hero-art.dr-rotator { position: relative; }
.hero-art.dr-rotator .dr-slide { transition: opacity 0.9s ease; }
.hero-art.dr-rotator .dr-slide + .dr-slide { position: absolute; inset: 0; opacity: 0; }
.hero-art.dr-rotator .dr-slide:first-child:not(.is-on) { opacity: 0; }
.hero-art.dr-rotator .dr-slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-art.dr-rotator .dr-slide { transition: none; }
  .hero-art.dr-rotator .dr-slide:first-child { opacity: 1; }
  .hero-art.dr-rotator .dr-slide + .dr-slide { display: none; }
}

/* Landscape and square captures (pickup iPad, manager view) are shown whole
   rather than cropped into a portrait box. */
.vx-persona-shot.is-contain { display: grid; place-items: center; background: #0b0f0c; padding: 12px; }
.vx-persona-shot.is-contain img { object-fit: contain; height: auto; max-height: 100%; border-radius: 10px; }

/* ---------- /advertisers: "See your numbers" calculator (2026-10-24) ----------
   Mobile-first: one column, chips that wrap, a 48px thumb on every control.
   Real radio inputs and a native range, so labels and keyboard just work. */
.adc-section { padding-top: clamp(24px, 4vw, 48px); }
.adc {
  display: grid; gap: 22px; padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(29, 185, 84, 0.45); border-radius: var(--radius);
  background: var(--bg-raise); box-shadow: 0 30px 70px -45px var(--green-glow);
}
.adc-head .lede { margin-top: 8px; }
.adc-form { display: grid; gap: 18px; align-content: start; }
.adc-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.adc-field legend, .adc-field > label { display: block; font: 700 15px/1.3 var(--font-body); color: var(--ink); margin-bottom: 10px; padding: 0; }
.adc-field output { color: var(--green); font-family: "Sofia Sans", var(--font-display); font-weight: 800; }
.adc-help { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.adc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adc-chip { position: relative; }
.adc-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.adc-chip span {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font: 600 14.5px/1.2 var(--font-body);
}
.adc-chip span small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; }
.adc-chip input:checked + span { background: var(--green); border-color: var(--green); color: #04140a; }
.adc-chip input:checked + span small { color: #04140a; }
.adc-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.adc-field input[type="range"] { width: 100%; height: 48px; accent-color: var(--green); cursor: pointer; }
.adc-result { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.adc-kicker { margin: 0; font: 700 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.adc-big { margin: 0; font: 800 clamp(52px, 12vw, 96px)/0.95 "Sofia Sans", var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.adc-range { margin: 0; color: var(--muted); font-size: 14.5px; }
.adc-price { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.adc-price > div { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); display: grid; gap: 2px; }
.adc-price small { color: var(--muted); font-size: 13px; }
.adc-price strong { font: 800 26px/1.15 "Sofia Sans", var(--font-display); color: var(--green); }
.adc-get { margin: 4px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.adc-cta { justify-self: start; min-height: 52px; padding-inline: 28px; font-weight: 700; }
.adc-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (min-width: 900px) {
  .adc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); }
  .adc-head { grid-column: 1 / -1; }
  .adc-result { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 44px); align-content: start; }
}
@media (max-width: 640px) { .adc-cta { justify-self: stretch; justify-content: center; } }
