:root {
  --demo-bg: #efe5d2;
  --demo-card: #fffaf1;
  --demo-ink: #1f2630;
  --demo-muted: #655b50;
  --demo-line: #d3c4ac;
  --demo-accent: #824d12;
  --demo-accent-soft: #efe0c0;
  --demo-shadow: 0 18px 42px rgba(58, 38, 15, 0.08);
}

.demo-hub {
  margin-top: 1.4rem;
}

.demo-intro {
  max-width: 52rem;
  color: var(--demo-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.demo-card {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(245, 234, 213, 0.98));
  border: 1px solid var(--demo-line);
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: var(--demo-shadow);
}

.demo-card h2 {
  margin: 0.35rem 0 0.7rem;
}

.demo-card p {
  margin: 0 0 1rem;
  color: var(--demo-muted);
  line-height: 1.65;
}

.demo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--demo-accent-soft);
  color: #69471d;
  font-size: 0.84rem;
}

.demo-link {
  color: var(--demo-accent);
  text-decoration: none;
  font-weight: 600;
}

.demo-link:hover {
  text-decoration: underline;
}

.standup-page {
  --standup-paper: #fff8ea;
  --standup-ink: #251a12;
  --standup-muted: #6f5a45;
  --standup-rule: #d7c29f;
  color: var(--standup-ink);
}

.standup-page .harlequin-backlink {
  max-width: 58rem;
  margin: 1rem auto;
}

.standup-page .harlequin-backlink a {
  color: var(--demo-accent);
  text-decoration: none;
}

.standup-page .harlequin-backlink a:hover {
  text-decoration: underline;
}

.standup-hero {
  max-width: 58rem;
  margin: 1.4rem auto 2rem;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--standup-rule);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(130, 77, 18, 0.16), transparent 34%),
    linear-gradient(135deg, #fff8ea, #f1dfbf);
  box-shadow: var(--demo-shadow);
}

.standup-kicker {
  color: var(--demo-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.standup-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.standup-credit {
  max-width: 48rem;
  color: var(--standup-muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.7;
}

.standup-feature {
  max-width: 58rem;
  margin: 0 auto 2rem;
}

.standup-feature img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--standup-rule);
  border-radius: 28px;
  box-shadow: 0 24px 68px rgba(58, 38, 15, 0.16);
}

.standup-feature figcaption {
  max-width: 46rem;
  margin: 0.75rem auto 0;
  color: var(--standup-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.standup-story {
  max-width: 48rem;
  margin: 0 auto 4rem;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(215, 194, 159, 0.9);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(130, 77, 18, 0.055) 1px, transparent 1px),
    var(--standup-paper);
  background-size: 22px 22px;
  box-shadow: 0 24px 68px rgba(58, 38, 15, 0.12);
}

.standup-story h2 {
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.standup-story p {
  margin: 0 0 1.05rem;
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
  line-height: 1.78;
}

.standup-story p:first-of-type::first-letter {
  float: left;
  margin: 0.12rem 0.42rem 0 0;
  color: var(--demo-accent);
  font-size: 4.2rem;
  line-height: 0.82;
  font-weight: 700;
}

.standup-beat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 2.35rem 0 1.1rem;
  color: var(--demo-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.standup-beat::before,
.standup-beat::after {
  content: "";
  height: 1px;
  background: var(--standup-rule);
  flex: 1;
}

@media (max-width: 640px) {
  .standup-hero,
  .standup-feature img,
  .standup-story {
    border-radius: 20px;
  }

  .standup-story {
    padding: 1.15rem;
  }

  .standup-story p {
    line-height: 1.72;
  }
}
