.live-demos-page {
  --demo-width: 1280px;
  min-height: 65vh;
  padding-top: clamp(110px, 13vw, 172px);
}

.live-demos-page .container {
  max-width: calc(var(--demo-width) + 2 * var(--gut));
  padding-inline: var(--gut);
}

.demos-heading { padding-bottom: clamp(56px, 8vw, 112px); }
.demos-kicker,
.demos-section-heading,
.demo-card-meta {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.demos-kicker { margin-bottom: 20px; color: var(--accent); }
.demos-heading h1 {
  max-width: 13ch;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.075em;
}
.demos-heading h1 span { color: var(--c-teal); }
.demos-heading > p:last-child {
  max-width: 58ch;
  margin-top: clamp(24px, 3vw, 40px);
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.5;
}
.demos-list { padding-bottom: clamp(72px, 10vw, 144px); }
.demos-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.demos-section-heading h2 { font: inherit; letter-spacing: inherit; }
.demos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.demo-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--c-warm); }
.demo-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.demo-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.demo-card-image:hover img { transform: scale(1.025); }
.demo-card-body { padding: clamp(24px, 3vw, 40px); }
.demo-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--accent); }
.demo-card h3 { max-width: 16ch; margin-top: 32px; font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.03; letter-spacing: -.05em; }
.demo-card p { max-width: 44ch; margin-top: 16px; color: var(--ink-soft); line-height: 1.55; }
.demo-card .btn { margin-top: 30px; }

.demo-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: clamp(40px, 6vw, 72px); color: var(--ink-soft); font-size: .875rem; }
.demo-crumb a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.demo-detail-heading { padding-bottom: clamp(20px, 3vw, 40px); }
.demo-detail-heading h1 { max-width: 13ch; font-size: clamp(3.25rem, 7vw, 7rem); }
.demo-detail-page .anpr-demo { margin-top: 0; margin-bottom: clamp(56px, 8vw, 112px); }
.demo-detail-page .anpr-demo-intro .section-eyebrow { display: block; }
.demo-detail-page .anpr-demo-intro h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.demo-detail-page .anpr-demo-stage { background: #e9e7e0; }
.demo-detail-page .anpr-demo-drop { border-color: #aaa79e; background: #f5f4f0; }
.demo-detail-page .anpr-demo-drop.is-dragging { border-color: var(--accent); background: var(--accent-soft); }
.demo-detail-page .anpr-demo-workspace { border-color: var(--line); border-radius: var(--r-md); }
.demo-detail-page .anpr-demo-panel { background: #fff; }
.demo-detail-page .anpr-demo-image-wrap { background: var(--ink); }
.demo-afterword { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px 0; border-top: 1px solid var(--line); }
.demo-afterword span { color: var(--ink-soft); }
.demo-afterword a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .demos-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-card { max-width: 690px; }
}
@media (max-width: 600px) {
  .live-demos-page { padding-top: 112px; }
  .demos-heading { padding-bottom: 56px; }
  .demos-heading h1 { font-size: clamp(3.25rem, 14vw, 5rem); }
  .demo-detail-heading h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .demo-card-meta { display: grid; }
  .demo-card h3 { margin-top: 24px; }
  .demo-afterword { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-card-image img { transition: none; }
  .demo-card-image:hover img { transform: none; }
}
