/* =========================================================================
 * EasyAI Video — landing page and /workshop/
 *
 * DESIGN NOTE — "the review bench"
 * A colourist grades in a neutral grey room so the surround never skews
 * colour judgement. That is this page: a calibrated graphite room, with true
 * black wells where media sits. It inverts the usual dark-background /
 * lighter-card pattern, so footage is the only saturated thing on screen.
 *
 * White is the accent — on graphite, white reads as light, which is the
 * medium being sold. Red appears in exactly one role: marking a generation
 * that failed. It is never decoration.
 *
 * One typeface. Archivo's width axis does the work a second family usually
 * does: 118% width for display, 100% for text.
 * ====================================================================== */

/* Self-hosted so the CSP stays `default-src 'self'` and no third party sees
   a request. Archivo is OFL-1.1 — see fonts/Archivo-OFL.txt. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  /* the room */
  --room: #26262a;
  --room-deep: #1e1e21;
  --room-raised: #2e2e33;
  --well: #000000;

  --edge: rgba(255, 255, 255, 0.11);
  --edge-strong: rgba(255, 255, 255, 0.24);

  --ink: #ececea;
  --ink-quiet: #a3a3a0;
  --ink-faint: #77776f;

  --light: #ffffff;
  --reject: #e5484d;

  --face: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --measure: 1180px;

  --sticky-h: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--room);
  color: var(--ink);
  font-family: var(--face);
  font-size: 17px;
  font-stretch: 100%;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-stretch: 118%;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
}

::selection {
  background: var(--light);
  color: var(--room);
}

.vv-skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--light);
  color: var(--room);
  font-weight: 700;
}

.vv-skip:focus {
  left: 12px;
  top: 12px;
}

.vv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------- type scale */

.vv-display {
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 0.97;
  letter-spacing: -0.034em;
}

.vv-h2 {
  font-size: clamp(29px, 4.2vw, 54px);
  line-height: 1.0;
  max-width: 19ch;
}

.vv-h3 {
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.08;
}

.vv-lede {
  max-width: 58ch;
  margin-top: 20px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.5;
  color: var(--ink-quiet);
}

.vv-small {
  font-size: 15px;
  color: var(--ink-quiet);
}

.vv-micro {
  font-size: 13.5px;
  letter-spacing: 0.005em;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------------- header */

.vv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px var(--gutter);
  border-bottom: 1px solid var(--edge);
  background: color-mix(in srgb, var(--room) 88%, transparent);
  backdrop-filter: blur(18px);
}

.vv-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-stretch: 118%;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.vv-brand-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: cover;
  border-radius: 2px;
}

.vv-brand-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  background: var(--well);
  border: 1px solid var(--edge);
  font-size: 11px;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-quiet);
}

.vv-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 15px;
  color: var(--ink-quiet);
}

.vv-nav a:hover {
  color: var(--ink);
}

.vv-nav-hide {
  display: none;
}

@media (min-width: 760px) {
  .vv-nav-hide {
    display: inline;
  }
}

/* --------------------------------------------------------------- sections */

.vv-section {
  padding: clamp(60px, 9vw, 140px) var(--gutter);
}

.vv-section + .vv-section {
  border-top: 1px solid var(--edge);
}

.vv-section-sunken {
  background: var(--room-deep);
}

.vv-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

/* Section openers: a heading and, where it earns its place, one line that
   says what the section is for. No label chrome above every heading. */
.vv-open {
  max-width: var(--measure);
  margin: 0 auto clamp(36px, 5vw, 64px);
}

/* --------------------------------------------------------------- buttons */

.vv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  font-stretch: 105%;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.vv-btn-primary {
  background: var(--light);
  color: #17171a;
}

.vv-btn-primary:hover {
  background: #d7d7d2;
}

.vv-btn-ghost {
  border-color: var(--edge-strong);
  color: var(--ink);
}

.vv-btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.vv-btn-block {
  width: 100%;
}

.vv-textlink {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--edge-strong);
  font-size: 15px;
  color: var(--ink-quiet);
}

.vv-textlink:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Buttons in a row share one width, set by the widest label rather than by
   the container: `fit-content` sizes the grid to its largest max-content and
   the equal `1fr` tracks then match each other. */
.vv-actions {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  margin-top: 32px;
}

/* Labels stay on one line; the equal tracks are sized from them. */
.vv-actions .vv-btn {
  white-space: nowrap;
}

@media (max-width: 580px) {
  .vv-actions {
    display: grid;
    grid-auto-flow: row;
    width: 100%;
  }

  .vv-actions .vv-btn {
    white-space: normal;
  }
}

/* ------------------------------------------------------------------ hero */

.vv-hero {
  position: relative;
  padding: clamp(44px, 5.5vw, 76px) var(--gutter) clamp(48px, 5.5vw, 84px);
  overflow: hidden;
}

.vv-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  max-width: var(--measure);
  margin: 0 auto;
}

@media (min-width: 1000px) {
  .vv-hero-inner {
    grid-template-columns: 1.06fr 0.94fr;
  }
}

.vv-hero h1 {
  max-width: 14ch;
}

.vv-hero-lede {
  max-width: 50ch;
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-quiet);
}

/* Optional footage layer. Absent by default — the page is designed to look
   finished with no video at all, and simply gains depth when clips land. */
.vv-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--room) center / cover no-repeat;
}

.vv-hero-media:empty {
  display: none;
}

.vv-hero-media video,
.vv-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.vv-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--room) 8%,
    color-mix(in srgb, var(--room) 82%, transparent) 52%,
    color-mix(in srgb, var(--room) 94%, transparent) 100%
  );
}

.vv-hero-support {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.vv-hero-support li {
  padding: 7px 13px;
  border: 1px solid var(--edge);
  font-size: 13.5px;
  color: var(--ink-quiet);
}

/* ------------------------------------------------- the price spread (hero) */

.vv-spread {
  display: grid;
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

@media (min-width: 480px) {
  .vv-spread {
    grid-template-columns: 1fr 1fr;
  }
}

.vv-spread > div {
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--well);
}

.vv-spread-figure {
  display: block;
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.vv-spread-unit {
  font-size: 0.4em;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -0.01em;
  color: var(--ink-quiet);
}

.vv-spread dt {
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink-quiet);
}

.vv-spread dd {
  margin: 0;
}

.vv-spread-note {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}

.vv-spread-caption {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------- contact sheet (hero) */

.vv-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vv-sheet-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--well);
  border: 1px solid var(--edge);
  overflow: hidden;
}

.vv-sheet-frame img,
.vv-sheet-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-sheet-frame::after {
  content: attr(data-take);
  position: absolute;
  left: 7px;
  bottom: 6px;
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* The one place red is allowed: a take that failed. */
.vv-sheet-frame[data-state='reject'] {
  border-color: color-mix(in srgb, var(--reject) 60%, transparent);
}

.vv-sheet-frame[data-state='reject']::before {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  background: var(--reject);
}

.vv-sheet-caption {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* -------------------------------------------------------------- rack rows */

/* Tools and models: one horizontal line each, read like labelled plates on
   a rack rather than a wall of vendor logos (which would need licensing). */
.vv-rack {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.vv-rack ul {
  display: flex;
  gap: 8px;
  width: max-content;
  padding: 2px var(--gutter);
}

.vv-rack li {
  display: flex;
  flex-direction: column;
  width: 134px;
  min-height: 124px;
  padding: 14px 14px 13px;
  background: var(--well);
  border: 1px solid var(--edge);
}

.vv-rack-mark {
  display: block;
  font-stretch: 118%;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.vv-rack-name {
  display: block;
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--ink-quiet);
}

.vv-rack-note {
  display: block;
  margin-top: auto;
  padding-top: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------- key/value */

.vv-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.vv-meta > div {
  padding: 17px 19px;
  background: var(--room);
}

.vv-meta dt {
  font-size: 13.5px;
  color: var(--ink-faint);
}

.vv-meta dd {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.015em;
}

.vv-meta dd small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-quiet);
}

.vv-price-was {
  margin-right: 9px;
  color: var(--ink-faint);
  font-weight: 400;
  text-decoration: line-through;
}

/* ---------------------------------------------------------------- panels */

.vv-split {
  display: grid;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

@media (min-width: 940px) {
  .vv-split {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.vv-panel {
  padding: clamp(24px, 3vw, 36px);
  background: var(--room-raised);
  border: 1px solid var(--edge);
}

.vv-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--edge);
  color: var(--ink-quiet);
  font-size: 16px;
  line-height: 1.45;
}

.vv-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* -------------------------------------------------------------- pipeline */

/* A real sequence, so it is drawn as one: a single line, left to right. */
.vv-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
  margin-top: 36px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.vv-pipeline li {
  flex: 1 1 132px;
  padding: 18px 16px 20px;
  background: var(--well);
  font-size: 15.5px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.012em;
}

.vv-pipeline li:last-child {
  background: var(--light);
  color: #17171a;
}

.vv-statement {
  max-width: 30ch;
  margin: clamp(38px, 5vw, 60px) 0 0;
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: -0.032em;
  line-height: 1.06;
}

/* ---------------------------------------------------------------- tracks */

.vv-tracks {
  display: grid;
  gap: 16px;
}

@media (min-width: 980px) {
  .vv-tracks {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Not numbered: the three tracks are parallel choices, not a sequence.
   Each card's fixture describes its own track instead. */
.vv-track {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--room-raised);
  border: 1px solid var(--edge);
  scroll-margin-top: 100px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.vv-track[data-selected='true'] {
  border-color: var(--light);
  background: #34343a;
}

.vv-track-fixture {
  height: 76px;
  margin-bottom: 22px;
  background: var(--well);
  border: 1px solid var(--edge);
  position: relative;
  overflow: hidden;
}

/* starter — an empty slate waiting for a first frame */
.vv-track-fixture[data-fixture='starter']::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px dashed var(--edge-strong);
}

/* builder — a code gutter */
.vv-track-fixture[data-fixture='builder'] {
  background: var(--well)
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 13px
    );
  background-size: 42% 100%;
  background-repeat: no-repeat;
  background-position: 16px 16px;
}

/* production lab — a take marked rejected */
.vv-track-fixture[data-fixture='production-lab']::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 11px;
  height: 11px;
  background: var(--reject);
}

.vv-track-fixture[data-fixture='production-lab']::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--reject) 55%, transparent);
}

.vv-track h3 {
  font-size: clamp(22px, 2.2vw, 27px);
}

.vv-track-label {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-quiet);
}

.vv-track-statement {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  font-size: 17px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.vv-track-outcome {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-quiet);
}

.vv-track-topics {
  margin: 20px 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  columns: 2;
  column-gap: 18px;
}

.vv-track-topics li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-quiet);
  break-inside: avoid;
}

.vv-track .vv-btn {
  margin-top: 24px;
}

.vv-track-flag {
  display: none;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink);
}

.vv-track[data-selected='true'] .vv-track-flag {
  display: block;
}

/* ---------------------------------------------------------------- agenda */

/* Genuinely a timeline, so it keeps its clock. */
.vv-agenda {
  border-top: 1px solid var(--edge);
}

.vv-agenda li {
  display: grid;
  gap: 3px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
}

@media (min-width: 700px) {
  .vv-agenda li {
    grid-template-columns: 132px 1fr;
    align-items: baseline;
  }
}

.vv-agenda-time {
  font-size: 15px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  color: var(--ink-faint);
}

.vv-agenda-title {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.018em;
  line-height: 1.2;
}

/* ----------------------------------------------------------- case studies */

.vv-case + .vv-case {
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--edge);
}

.vv-case-title {
  font-size: clamp(20px, 2.2vw, 27px);
  max-width: 30ch;
}

.vv-case-summary {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-quiet);
}

.vv-case-stages {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .vv-case-stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .vv-case-stages {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vv-stage {
  display: flex;
  flex-direction: column;
}

.vv-stage-label {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 11px;
  font-size: 14px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.vv-stage-label span {
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* Stage two is the failure. It is the only stage that carries the mark. */
.vv-stage[data-stage='generated'] .vv-stage-label::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--reject);
  align-self: center;
}

.vv-stage-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--well);
  border: 1px solid var(--edge);
  overflow: hidden;
}

.vv-stage[data-stage='generated'] .vv-stage-media {
  border-color: color-mix(in srgb, var(--reject) 45%, transparent);
}

.vv-stage-media video,
.vv-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-stage-empty {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

.vv-stage-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  color: var(--light);
  cursor: pointer;
}

.vv-stage-play span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--light);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  font-size: 14px;
}

.vv-stage-play[hidden] {
  display: none;
}

.vv-stage-text {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-quiet);
}

/* ------------------------------------------------------------ instructor */

.vv-instructor {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

@media (min-width: 800px) {
  .vv-instructor {
    grid-template-columns: 188px 1fr;
  }
}

/* Capped small and cropped to the face: the source is 800px square, so a
   wide column would upscale it into softness. */
.vv-portrait-well {
  max-width: 188px;
  background: var(--well);
  border: 1px solid var(--edge);
}

.vv-portrait-well img {
  width: 100%;
  /* the markup carries width/height attributes for layout stability, and an
     explicit height would otherwise win over aspect-ratio */
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
}

.vv-portrait-caption {
  margin: 0;
  padding: 10px 12px 11px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-faint);
  border-top: 1px solid var(--edge);
}

.vv-credentials {
  margin-top: 26px;
  border-top: 1px solid var(--edge);
}

.vv-credentials li {
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-quiet);
}

.vv-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.vv-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid var(--edge-strong);
  font-size: 14.5px;
  color: var(--ink);
}

[data-render='social'] a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vv-social-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.vv-social-icon[data-icon='instagram'] { --social-icon: url('/assets/icons/instagram.svg'); }
.vv-social-icon[data-icon='youtube'] { --social-icon: url('/assets/icons/youtube.svg'); }
.vv-social-icon[data-icon='linkedin'] { --social-icon: url('/assets/icons/linkedin.svg'); }
.vv-social-icon[data-icon='github'] { --social-icon: url('/assets/icons/github.svg'); }
.vv-social-icon[data-icon='meetup'] { --social-icon: url('/assets/icons/meetup.svg'); }
.vv-social-icon[data-icon='luma'] { --social-icon: url('/assets/icons/luma.svg'); }

.vv-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ink);
}

/* -------------------------------------------------------- self selection */

.vv-selfselect {
  display: grid;
  gap: 1px;
  margin-top: 8px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.vv-selfselect button {
  display: grid;
  gap: 6px 24px;
  padding: 24px;
  border: 0;
  background: var(--room-raised);
  color: var(--ink);
  font: inherit;
  font-size: 17.5px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

@media (min-width: 780px) {
  .vv-selfselect button {
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }
}

.vv-selfselect button:hover {
  background: #34343a;
}

.vv-selfselect button[aria-pressed='true'] {
  background: var(--light);
  color: #17171a;
}

.vv-answer-out {
  font-size: 14.5px;
  font-weight: 700;
  font-stretch: 108%;
  color: var(--ink-faint);
}

.vv-selfselect button[aria-pressed='true'] .vv-answer-out {
  color: #17171a;
}

/* -------------------------------------------------------------- waitlist */

.vv-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 620px) {
  .vv-form {
    grid-template-columns: 1fr 1fr;
  }

  .vv-form-full {
    grid-column: 1 / -1;
  }
}

.vv-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-quiet);
}

.vv-form input,
.vv-form textarea {
  padding: 13px 14px;
  background: var(--well);
  border: 1px solid var(--edge-strong);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.vv-form textarea {
  min-height: 168px;
  resize: vertical;
}

.vv-form input:focus,
.vv-form textarea:focus {
  border-color: var(--light);
  outline: none;
}

.vv-form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-quiet);
}

.vv-form-status[data-tone='error'] {
  color: #ff9b90;
}

.vv-form-status[data-tone='success'] {
  color: #9fe3bd;
}

/* ------------------------------------------------------------- final cta */

.vv-final h2 {
  font-size: clamp(32px, 6vw, 72px);
  max-width: 15ch;
  line-height: 0.98;
}

/* ---------------------------------------------------------------- footer */

.vv-footer {
  padding: 44px var(--gutter) calc(44px + var(--sticky-h));
  border-top: 1px solid var(--edge);
  font-size: 14.5px;
  color: var(--ink-faint);
}

.vv-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  justify-content: space-between;
  max-width: var(--measure);
  margin: 0 auto;
}

.vv-footer a:hover {
  color: var(--ink);
}

.vv-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

/* ----------------------------------------------------------- sticky rail */

.vv-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge-strong);
  background: color-mix(in srgb, var(--room-deep) 95%, transparent);
  backdrop-filter: blur(16px);
  transform: translateY(calc(100% + var(--sticky-offset, 0px)));
  transition: transform 0.24s ease;
  will-change: transform;
}

.vv-sticky[data-visible='true'] {
  transform: translateY(0);
}

.vv-sticky .vv-btn {
  flex: 1;
  min-height: 48px;
  padding: 12px 20px;
}

.vv-sticky-note {
  display: none;
  font-size: 13.5px;
  color: var(--ink-faint);
}

@media (min-width: 780px) {
  .vv-sticky {
    --sticky-offset: 30px;
    left: auto;
    right: 22px;
    bottom: 22px;
    padding: 12px 14px;
    border: 1px solid var(--edge-strong);
  }

  .vv-sticky-note {
    display: block;
  }

  .vv-sticky .vv-btn {
    flex: 0 0 auto;
  }
}

/* --------------------------------------------------------- accessibility */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (forced-colors: active) {
  .vv-btn,
  .vv-panel,
  .vv-track,
  .vv-stage-media,
  .vv-rack li {
    border: 1px solid CanvasText;
  }
}

/* =========================================================================
 * Components added for /workshop/
 * ====================================================================== */

/* A kicker names the offer ("Free practical 1-hour webinar"), which is real
   information, unlike a decorative label above every heading. */
.vv-kicker {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  color: var(--ink-quiet);
}

.vv-question {
  max-width: 24ch;
  margin: 24px 0;
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 30px);
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
}

/* ---------------------------------------------------------- top nav (v2) */

.vv-nav-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--edge-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.vv-nav-cta {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 15px;
}

@media (max-width: 899px) {
  .vv-header {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .vv-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--edge);
  }

  .vv-nav[data-open='true'] {
    display: flex;
  }

  .vv-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--edge);
    font-size: 16px;
  }

  .vv-nav .vv-nav-cta {
    margin-top: 14px;
    border-bottom: 0;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .vv-nav-toggle {
    display: none;
  }
}

/* ------------------------------------------------------- cost comparison */

.vv-cost {
  border: 1px solid var(--edge);
}

.vv-cost-row {
  display: grid;
  /* Each row is its own grid, so an `auto` price column would size to its own
     content and the longest value would start further left than the rest. A
     fixed width keeps every price on the same left edge across rows. */
  grid-template-columns: 1fr 82px;
  grid-template-areas:
    'service price'
    'model model';
  gap: 4px 18px;
  align-items: baseline;
  padding: 15px 18px;
  border-bottom: 1px solid var(--edge);
  background: var(--well);
}

@media (min-width: 520px) {
  .vv-cost-row {
    grid-template-columns: 1fr 1fr 82px;
    grid-template-areas: 'service model price';
    gap: 2px 18px;
  }
}

.vv-cost-service {
  grid-area: service;
}

.vv-cost-model {
  grid-area: model;
}

.vv-cost-price {
  grid-area: price;
}

.vv-cost-row:last-child {
  border-bottom: 0;
}

.vv-cost-service {
  font-size: 16px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.012em;
}

.vv-cost-model {
  font-size: 14px;
  color: var(--ink-faint);
}

.vv-cost-price {
  /* Left-aligned so the decimal points line up: every value has one digit
     before the point, so this is what makes the magnitudes comparable at a
     glance. Aligning right lined up the last digit instead, which made
     $0.075 read as the widest number in the column. */
  justify-self: start;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.02em;
}

/* The withheld row is the reason to attend, so it is the loudest thing here.
   Its real figure is deliberately not in the page source. */
.vv-cost-masked {
  background: var(--light);
  color: #17171a;
}

.vv-cost-masked .vv-cost-service {
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.vv-cost-masked .vv-cost-model {
  color: #4a4a4e;
}

.vv-cost-caption {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ flow */

.vv-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.vv-flow li {
  padding: 7px 12px;
  border: 1px solid var(--edge);
  background: var(--well);
  font-size: 13.5px;
  color: var(--ink-quiet);
}

.vv-flow-strong {
  margin: 20px 0;
}

.vv-flow-strong li {
  font-size: 15px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.vv-flow-strong li:last-child {
  background: var(--light);
  color: #17171a;
  border-color: var(--light);
}

.vv-flow-fine {
  margin-top: -8px;
  margin-bottom: 20px;
}

.vv-flow-fine li {
  padding: 5px 9px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ------------------------------------------------- webinar agenda (v2)   */

.vv-agenda li .vv-agenda-title {
  display: block;
}

.vv-agenda-detail {
  margin: 6px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--ink-quiet);
}

/* --------------------------------------------------- participant picker  */

.vv-picker {
  display: grid;
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

@media (min-width: 900px) {
  .vv-picker {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vv-picker button {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  border: 0;
  background: var(--room-raised);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.vv-picker button:hover {
  background: #34343a;
}

.vv-picker button[aria-pressed='true'] {
  background: var(--light);
  color: #17171a;
}

.vv-picker h3 {
  font-size: clamp(19px, 2vw, 23px);
}

.vv-picker p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-quiet);
}

.vv-picker button[aria-pressed='true'] p {
  color: #3a3a3f;
}

.vv-picker-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14.5px;
  font-weight: 700;
  font-stretch: 108%;
}

/* -------------------------------------------------------- tracks (v2)    */

.vv-tracks {
  gap: 18px;
}

.vv-track-eyebrow {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.vv-track-tagline {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.vv-track-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
  font-size: 14.5px;
  color: var(--ink-quiet);
}

.vv-track-subhead {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
  font-size: 15px;
  font-stretch: 108%;
}

.vv-track-topics {
  margin: 14px 0 auto;
  padding-top: 0;
  border-top: 0;
  columns: 2;
  column-gap: 18px;
}

.vv-track-topics-rich {
  columns: 1;
}

.vv-track-topic-rich {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--edge);
}

.vv-track-topic-rich strong {
  display: block;
  font-size: 15px;
  font-stretch: 108%;
  color: var(--ink);
}

.vv-track-topic-rich span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: var(--ink-quiet);
}

.vv-track-outcome {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--well);
  border: 1px solid var(--edge);
  font-size: 16px;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.vv-track-outcome span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ FAQ  */

.vv-faq {
  border-top: 1px solid var(--edge);
}

.vv-faq details {
  border-bottom: 1px solid var(--edge);
}

.vv-faq summary {
  padding: 20px 40px 20px 0;
  position: relative;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.018em;
  cursor: pointer;
  list-style: none;
}

.vv-faq summary::-webkit-details-marker {
  display: none;
}

.vv-faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 13px;
  height: 1px;
  background: var(--ink-quiet);
}

.vv-faq summary::before {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 1px;
  height: 13px;
  margin-top: -6px;
  background: var(--ink-quiet);
  transition: opacity 0.15s ease;
}

.vv-faq details[open] summary::before {
  opacity: 0;
}

.vv-faq details p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 70ch;
  font-size: 16px;
  color: var(--ink-quiet);
}

/* ------------------------------------------------------------- contact   */

.vv-contact-topic label {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 700;
  font-stretch: 108%;
}

.vv-contact-topic input {
  width: 100%;
  padding: 14px 15px;
  background: var(--well);
  border: 1px solid var(--edge-strong);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.vv-contact-topic input:focus {
  border-color: var(--light);
  outline: none;
}

.vv-contact-heading {
  margin: 28px 0 14px;
  font-size: 15px;
  font-stretch: 108%;
}

.vv-contact-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 520px) {
  .vv-contact-grid {
    grid-template-columns: 1fr;
  }
}

.vv-contact-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 96px;
  padding: 18px 16px;
  background: var(--well);
  border: 1px solid var(--edge-strong);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.vv-contact-card:hover {
  border-color: var(--light);
  background: #0b0b0d;
}

.vv-contact-name {
  font-size: 17px;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.018em;
}

.vv-contact-action {
  font-size: 13.5px;
  color: var(--ink-quiet);
}

.vv-contact-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--ink-quiet);
}

.vv-contact-status[data-tone='error'] {
  color: #ff9b90;
}

.vv-contact-status[data-tone='success'] {
  color: #9fe3bd;
}


/* ------------------------------------------------------- waitlist fields */

.vv-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.vv-fieldset legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--ink-quiet);
}

.vv-form .vv-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.vv-form .vv-choice input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--light);
}

/* Tool names are short, so they read better as a wrapping row than a column. */
.vv-fieldset:has(.vv-choice-inline) {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
}

.vv-fieldset:has(.vv-choice-inline) legend {
  width: 100%;
}

.vv-form .vv-choice-inline {
  padding: 7px 0;
  font-size: 14.5px;
}

.vv-form [aria-invalid='true'] {
  border-color: var(--reject);
}

/* Turnstile paints its own widget; just give it room. */
[data-turnstile]:not(:empty) {
  margin-top: 4px;
}

/* The waitlist form is taller than a phone screen, so the outcome is repeated
   above the fields. Both nodes carry the same text; the empty one is hidden so
   it leaves no gap. */
.vv-form-status-top {
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--edge-strong);
  background: var(--room-raised);
  font-size: 15px;
}
.vv-form-status-top[data-tone='success'] { border-color: #4f7a52; }
.vv-form-status-top[data-tone='error'] { border-color: var(--light); }
