/* ==========================================================================
   Case-study pages. Loaded after home.css, which supplies the tokens, nav,
   drawer, buttons, labels, reveal animation and particle footer.
   ========================================================================== */

/* ---------- Hero ---------- */
.cs-hero {
  position: relative;
  padding: clamp(120px, 14vw, 168px) 0 clamp(56px, 7vw, 96px);
  color: var(--white);
  background:
    radial-gradient(90% 70% at 85% 30%, rgb(153 204 0 / .14), transparent 60%),
    linear-gradient(180deg, #050606, #14191d);
}
.cs-hero::before { content: ""; position: absolute; inset: 0; background: conic-gradient(rgb(0 0 0 / .22) 25%, transparent 0) 0 0 / 2px 2px; pointer-events: none; }
.cs-hero > * { position: relative; }
.cs-hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cs-hero .label { color: var(--lime); }
.cs-hero__brand { width: 52px; height: auto; margin-bottom: 24px; }
.cs-hero__title {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); line-height: 1;
  font-weight: 300; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--white);
}
.cs-hero__title b { display: block; color: var(--lime); font-weight: 800; }
.cs-hero__lede { max-width: 40ch; font-size: var(--step-1); line-height: 1.55; color: rgb(255 255 255 / .8); }
.cs-hero__media { justify-self: center; }
.cs-hero__media img { filter: drop-shadow(0 40px 50px rgb(0 0 0 / .55)); }
.cs-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; color: rgb(255 255 255 / .7); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cs-back::before { content: "←"; transition: transform .25s var(--ease); }
.cs-back:hover { color: var(--lime); }
.cs-back:hover::before { transform: translateX(-4px); }
@media (max-width: 900px) {
  .cs-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .cs-hero__media { max-width: 420px; }
}

/* Role / timeframe / platform facts */
.cs-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 32px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .14); }
.cs-meta dt { font-family: var(--font-label); font-weight: 700; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.cs-meta dd { margin: 6px 0 0; color: var(--white); line-height: 1.45; }

/* ---------- Outcome numbers ---------- */
.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.cs-stat { padding: 24px 24px 22px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 20px 40px -28px rgb(0 36 100 / .35); }
.cs-stat__num { display: block; margin-bottom: 6px; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cs-stat__num small { font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cs-stat p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.cs-hero .cs-stats { margin-top: clamp(40px, 6vw, 72px); }
.cs-hero .cs-stat { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); box-shadow: none; backdrop-filter: blur(6px); }
.cs-hero .cs-stat__num { color: var(--lime); }
.cs-hero .cs-stat p { color: rgb(255 255 255 / .75); }

/* ---------- Sections ---------- */
.cs-section { padding-block: var(--section); }
.cs-section--band { background: var(--band); }
.cs-section--dark { background: #0d1013; color: #b9bec3; }
.cs-section--dark .title { color: var(--white); }
.cs-section--dark .label { color: var(--lime); }
.cs-section--dark .lede { color: var(--white); }
/* Two white sections in a row share one gap instead of doubling it */
.cs-section:not(.cs-section--band):not(.cs-section--dark) + .cs-section:not(.cs-section--band):not(.cs-section--dark) { padding-top: 0; }

.cs-head { display: grid; grid-template-columns: 5fr 7fr; gap: 16px clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.cs-head:last-child { margin-bottom: 0; }
.cs-head .title { margin-bottom: 0; }
.cs-head__body > :last-child { margin-bottom: 0; }
.cs-head--stack { grid-template-columns: minmax(0, 1fr); max-width: 62ch; }
@media (max-width: 900px) { .cs-head { grid-template-columns: minmax(0, 1fr); } }

.cs-list { display: grid; gap: 10px; margin: 0 0 1em; }
.cs-list li { position: relative; padding-left: 22px; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--lime); }
.cs-list--muted li::before { background: var(--muted); }
.cs-list strong { color: var(--ink); }

/* ---------- Figures ---------- */
.cs-fig { margin: 0; }
.cs-fig img, .cs-fig video { width: 100%; height: auto; border-radius: calc(var(--radius) * .75); }
.cs-fig--card img { background: var(--white); padding: clamp(12px, 2vw, 24px); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 20px 40px -28px rgb(0 36 100 / .35); }
.cs-fig--bare img { border-radius: 0; }
.cs-fig figcaption { margin-top: 12px; font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.cs-fig + .cs-fig { margin-top: clamp(24px, 4vw, 48px); }
.cs-fig--narrow { max-width: 900px; margin-inline: auto; }
.cs-section--dark .cs-fig figcaption { color: #8b9198; }
/* Charcoal row for full-width product screens: lifts dark UI off the page */
.cs-section--screens { background: #292929; color: #c4c4c4; }
.cs-section--screens .cs-fig img { box-shadow: 0 24px 48px -12px rgb(0 0 0 / .6), 0 8px 18px rgb(0 0 0 / .35); }
.cs-section--screens .cs-fig figcaption { color: #9a9a9a; }

.cs-grid { display: grid; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.cs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cs-grid--7-5 { grid-template-columns: 7fr 5fr; }
.cs-grid .cs-fig + .cs-fig { margin-top: 0; }
.cs-grid + .cs-grid, .cs-grid + .cs-fig, .cs-fig + .cs-grid { margin-top: clamp(16px, 2.5vw, 32px); }
@media (max-width: 760px) { .cs-grid--2, .cs-grid--3, .cs-grid--7-5 { grid-template-columns: minmax(0, 1fr); } }

/* Before / after or feature + media rows */
.cs-feature { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cs-feature + .cs-feature { margin-top: var(--section); }
.cs-feature--flip > :first-child { order: 2; }
.cs-feature .title { margin-bottom: 20px; }
.cs-feature__media { justify-self: center; width: 100%; }
.cs-feature__media--phone { max-width: 340px; }
@media (max-width: 900px) {
  .cs-feature { grid-template-columns: minmax(0, 1fr); }
  .cs-feature--flip > :first-child { order: 0; }
}

/* "Problem → Solution → Result" mini-blocks */
.cs-psr { display: grid; gap: 14px; margin: 0; }
.cs-psr dt { font-family: var(--font-label); font-weight: 700; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-psr dd { margin: 2px 0 0; }
.cs-psr .cs-psr__result { padding: 14px 18px; border-left: 3px solid var(--lime); border-radius: 0 10px 10px 0; background: rgb(153 204 0 / .1); color: var(--ink); font-weight: 600; }
.cs-section--dark .cs-psr .cs-psr__result { color: var(--white); }

/* Station icon row */
.cs-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cs-icons img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 0 1px rgb(255 255 255 / .15); }

/* Video wall (animated opens) */
.cs-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.cs-videos figure { margin: 0; }
.cs-videos video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
.cs-videos figcaption { margin-top: 8px; font-size: var(--step--1); color: #8b9198; }
@media (max-width: 600px) { .cs-videos { grid-template-columns: minmax(0, 1fr); } }

/* Quotes */
.cs-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.cs-quote { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 20px 40px -28px rgb(0 36 100 / .35); }
.cs-quote blockquote { margin: 0 0 20px; font-size: var(--step-1); line-height: 1.45; font-weight: 300; color: var(--ink); }
.cs-quote blockquote::before { content: "“"; display: block; height: .55em; font-size: 3em; line-height: 1; font-weight: 800; color: var(--lime); }
.cs-quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .9375rem; line-height: 1.4; }
.cs-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; }
.cs-quote figcaption b { display: block; color: var(--ink); }
@media (max-width: 760px) { .cs-quotes { grid-template-columns: minmax(0, 1fr); } }

/* Pull quote */
.cs-pull { margin: clamp(32px, 5vw, 56px) 0 0; padding-left: 24px; border-left: 3px solid var(--lime); font-size: var(--step-1); line-height: 1.45; font-weight: 300; font-style: italic; color: var(--ink); }

/* Award / note pill */
.cs-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: var(--step--1); font-weight: 600; }
.cs-pill::before { content: "★"; color: var(--lime); }

/* ---------- Next case study ---------- */
.cs-next { display: block; padding-block: clamp(56px, 8vw, 104px); background: var(--lime); color: var(--black); }
.cs-next:hover { background: var(--lime-hover); color: var(--black); }
.cs-next .container { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.cs-next .label { color: rgb(0 0 0 / .6); }
.cs-next__title { font-size: var(--step-3); line-height: 1.05; font-weight: 300; text-transform: uppercase; }
.cs-next__arrow { flex: none; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); transition: transform .3s var(--ease); }
.cs-next:hover .cs-next__arrow { transform: translateX(8px); }

/* Compact footer for case pages */
.footer--compact { padding-top: clamp(56px, 8vw, 96px); }
.footer--compact .legal { margin-top: clamp(40px, 6vw, 64px); }
.footer__cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.footer__cta .title { margin: 0; }
.footer__cta .btn-row { margin-top: 0; }

/* Low-res promo photo stays at its native width beside the TV spot */
.cs-grid--promo { grid-template-columns: 348px 1fr; align-items: center; }
@media (max-width: 760px) { .cs-grid--promo { grid-template-columns: minmax(0, 1fr); } .cs-grid--promo .cs-fig:first-child { max-width: 348px; } }
.cs-feature__media--phone video { max-height: 640px; width: auto; max-width: 100%; margin-inline: auto; display: block; }

/* Live prototype in a phone frame (js/proto.js). Screen is 390 x 844, scaled to the frame. */
.cs-proto { width: min(340px, 80vw); margin-inline: auto; container-type: inline-size; }
.cs-proto > img { display: block; width: 100%; height: auto; }
.cs-proto--live > img { display: none; }
.cs-proto__phone {
  position: relative; aspect-ratio: 414 / 868; border-radius: calc(100cqw * 62 / 414);
  background: #050506;
  box-shadow: inset 0 0 0 calc(100cqw * 1.5 / 414) #3b3d42, inset 0 0 0 calc(100cqw * 5 / 414) #111214, 0 44px 70px -18px rgb(0 0 0 / .75), 0 18px 30px -12px rgb(0 0 0 / .5);
}
.cs-proto__screen {
  position: absolute; inset: calc(100cqw * 12 / 414); overflow: hidden; isolation: isolate;
  border-radius: calc(100cqw * 50 / 414); background: #0c2d5e;
}
.cs-proto__screen iframe {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0;
  transform: scale(var(--scale, 1)); transform-origin: 0 0;
  opacity: 0; transition: opacity .5s;
}
.cs-proto.is-loaded iframe { opacity: 1; }
.cs-proto.is-loaded .cs-proto__screen { background: #fff; }
.cs-proto.is-loaded .cs-proto__loading { display: none; }
.cs-proto__loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: rgb(255 255 255 / .6); }
.cs-proto__hint { margin: 22px 0 0; font-size: 13px; line-height: 1.5; color: rgb(255 255 255 / .62); text-align: center; }
.cs-proto__hint a { color: var(--lime); }
.cs-hero__media .cs-proto--live img { filter: none; }

/* Pilot design: one card per test group */
.cs-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; }
.cs-group { padding: clamp(22px, 2.5vw, 30px); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / .05), 0 20px 40px -28px rgb(0 36 100 / .35); }
.cs-group h3 { margin: 0 0 4px; font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.cs-group > p { margin: 0 0 16px; color: var(--muted); font-size: var(--step--1); }
.cs-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-group li { display: flex; gap: 10px; align-items: baseline; }
.cs-group li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); translate: 0 -1px; }
.cs-group li.is-off { color: #a9b1ba; text-decoration: line-through; }
.cs-group li.is-off::before { background: #d5dade; }
@media (max-width: 860px) { .cs-groups { grid-template-columns: minmax(0, 1fr); } }
.cs-source { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }
/* Stat cards on dark rows: glass style, same as the hero */
.cs-section--dark .cs-stat { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); box-shadow: none; }
.cs-section--dark .cs-stat__num { color: var(--lime); }
.cs-section--dark .cs-stat p { color: rgb(255 255 255 / .75); }
/* Link out to the password-protected PDF case study */
.cs-pdf { margin-top: clamp(32px, 5vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid rgb(31 40 48 / .12); }
.cs-pdf p { margin: 0 0 18px; }
.cs-pdf .btn { margin: 0; }

/* Small column charts (BCJ results). Columns grow from one baseline; value on the cap; hover/focus tooltip. */
.cs-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .cs-charts { grid-template-columns: minmax(0, 1fr); } }
.cs-chart { margin: 0; padding: clamp(20px, 2.5vw, 28px); border-radius: var(--radius); background: var(--white); border: 1px solid #e6e9ec; box-shadow: 0 20px 40px -32px rgb(0 36 100 / .35); }
.cs-chart h3 { margin: 0; font-size: var(--step-0); font-weight: 600; color: var(--ink); }
.cs-chart figcaption p { margin: 2px 0 0; font-size: var(--step--1); color: var(--muted); }
.cs-chart__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink-soft); }
.cs-chart__legend li { display: flex; align-items: center; gap: 6px; }
.cs-chart__legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); }
.cs-chart__legend i.is-ctx { background: #c4ccd4; }
.cs-chart__plot {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end;
  height: 190px; margin: 28px 0 0; padding: 0 0 26px; list-style: none;
  background: linear-gradient(#e3e7eb, #e3e7eb) left calc(100% - 26px) / 100% 1px no-repeat; /* baseline hairline */
}
.cs-chart__col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; cursor: default; }
.cs-chart__stack { position: relative; width: 24px; display: flex; flex-direction: column-reverse; gap: 2px; min-height: 2px; }
.cs-chart__seg { display: block; width: 100%; min-height: 0; background: var(--lime); }
.cs-chart__seg.is-ctx { background: #c4ccd4; }
.cs-chart__stack > .cs-chart__seg:last-child { border-radius: 4px 4px 0 0; } /* rounded data end only */
.cs-chart__val { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; font-size: var(--step--1); font-weight: 700; color: var(--ink); white-space: nowrap; }
.cs-chart__x { position: absolute; bottom: -24px; font-size: var(--step--1); color: var(--muted); }
.cs-chart__col:hover .cs-chart__seg, .cs-chart__col:focus-visible .cs-chart__seg { filter: brightness(.92); }
.cs-chart__col:focus-visible .cs-chart__stack { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.cs-chart__tip {
  position: absolute; z-index: 2; bottom: calc(100% - 4px); left: 50%; translate: -50% 0; width: max-content; max-width: 200px;
  padding: 8px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8125rem; line-height: 1.35; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.cs-chart__tip b { display: block; margin-bottom: 2px; color: var(--lime); font-weight: 700; }
.cs-chart__col:hover .cs-chart__tip, .cs-chart__col:focus-visible .cs-chart__tip { opacity: 1; }
.cs-chart__col:first-child .cs-chart__tip { left: 0; translate: 0 0; }
.cs-chart__col:last-child .cs-chart__tip { left: auto; right: 0; translate: 0 0; }

/* Data table view */
.cs-data { margin-top: 20px; font-size: var(--step--1); }
.cs-data summary { cursor: pointer; color: var(--lime-ink); font-weight: 600; }
.cs-data table { width: 100%; margin-top: 12px; border-collapse: collapse; }
.cs-data th, .cs-data td { padding: 8px 10px; border-bottom: 1px solid #e6e9ec; text-align: right; }
.cs-data th:first-child { text-align: left; }
.cs-data thead th { color: var(--muted); font-weight: 600; }
@media (max-width: 600px) { .cs-data { overflow-x: auto; } .cs-data table { min-width: 520px; } }

/* Charts draw in when scrolled into view (js/case.js adds .is-drawn to each chart). Columns grow from the baseline,
   staggered left to right and chart to chart; each value shows as its column finishes. */
.js .cs-charts .cs-chart__stack {
  clip-path: inset(100% -40px 0 -40px);
  transition: clip-path .9s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--chart, 0) * .18s + var(--col, 0) * .12s + .15s);
}
.js .cs-charts .cs-chart.is-drawn .cs-chart__stack { clip-path: inset(-40px -40px 0 -40px); }
.cs-chart:nth-child(2) { --chart: 1; }
.cs-chart:nth-child(3) { --chart: 2; }
.cs-chart__col:nth-child(2) { --col: 1; }
.cs-chart__col:nth-child(3) { --col: 2; }
@media (prefers-reduced-motion: reduce) {
  .js .cs-charts .cs-chart__stack { clip-path: none; transition: none; }
}

/* Row of phone screens on the dark "screens" band */
.cs-phones { align-items: start; gap: clamp(20px, 3vw, 40px); }
.cs-phone img { width: 100%; max-width: 320px; margin-inline: auto; display: block; }
.cs-section--screens .cs-phone img { box-shadow: none; filter: drop-shadow(0 24px 36px rgb(0 0 0 / .55)); }
.cs-phone figcaption { max-width: 320px; margin: 18px auto 0; font-size: .9375rem; line-height: 1.5; }
.cs-phone figcaption b { color: var(--white); font-weight: 600; }
@media (max-width: 760px) { .cs-phone img, .cs-phone figcaption { max-width: 300px; } }

/* Wide brand logos in the hero (e.g. Amazon Ads), shown in white on the dark hero */
.cs-hero__brand--wide { width: 150px; height: auto; filter: brightness(0) invert(1); opacity: .9; }

/* Numbered blockers (Amazon) */
.cs-blockers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); margin: 0; padding: 0; list-style: none; counter-reset: blk; }
.cs-blockers li { counter-increment: blk; padding-top: 18px; border-top: 2px solid var(--ink); }
.cs-blockers li::before { content: counter(blk); display: block; margin-bottom: 10px; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 300; line-height: 1; color: var(--ink); }
.cs-blockers b { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.cs-blockers span { display: block; font-size: .9375rem; color: var(--muted); }
@media (max-width: 900px) { .cs-blockers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-blockers { grid-template-columns: minmax(0, 1fr); } }

/* Simple data tables (metrics, exit criteria) */
.cs-table { overflow-x: auto; }
.cs-table table { width: 100%; min-width: 520px; border-collapse: collapse; }
.cs-table th, .cs-table td { padding: 16px 14px; border-bottom: 1px solid #e3e7eb; text-align: left; vertical-align: top; }
.cs-table thead th { font-family: var(--font-label); font-weight: 700; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cs-table tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.cs-result { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; font-size: var(--step--1); font-weight: 700; }
.cs-result.is-pass { background: rgb(153 204 0 / .2); color: var(--lime-ink); }
.cs-result.is-fail { background: #fde7e4; color: #b2382a; }

/* Two-up version of the group cards */
.cs-groups--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cs-groups--2 { grid-template-columns: minmax(0, 1fr); } }
/* Tall phone screenshot inside a grid: keep it a sensible size */
.cs-fig--shot { max-width: 300px; margin-inline: auto; }
/* Product videos on the Amazon page */
.cs-fig--video video { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) * .75); background: #0d1013; }
.cs-section--screens .cs-fig--video video { box-shadow: 0 24px 48px -12px rgb(0 0 0 / .6); }
.cs-feature .cs-fig + .cs-fig, .cs-feature p + .cs-fig { margin-top: 24px; }
/* Amazon: the finished video runs the full width of the page */
.cs-fig--spaced { margin-top: var(--section); }
.cs-fig--hero-video { margin-top: clamp(40px, 6vw, 72px); }
.cs-fig--hero-video video { border-radius: var(--radius); }
.cs-fig--hero-video figcaption { text-align: center; }
.cs-grid + .cs-feature { margin-top: var(--section); }
