#scenarios {
  padding-block: clamp(64px, 7vw, 100px);
}
.scenario-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}
.scenario-head h2 {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 550;
  line-height: 1.18;
}
.scenario-head p {
  max-width: 400px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
#scenario-showcase { margin-top: clamp(25px, 3vw, 40px); }
.scenario-tabs {
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  padding: 5px;
  border-radius: 99px;
  background: #f5f7f8;
}
.scenario-tabs button {
  min-width: 78px;
  min-height: 40px;
  padding: 7px 18px;
  border-radius: 99px;
  background: transparent;
  color: #5e6974;
  font-size: 14px;
  font-weight: 540;
  line-height: 1.35;
}
.scenario-tabs button:hover { color: var(--ink); }
.scenario-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 8px #24303c12;
}
#scene-card {
  margin-top: clamp(24px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.scene-pane {
  display: grid;
  grid-template-columns: minmax(245px, 30.2%) minmax(0, 1fr);
}
.scene-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(28px, 3vw, 44px);
}
.scene-copy h3 {
  font-size: clamp(23px, 2.15vw, 32px);
  font-weight: 590;
  line-height: 1.38;
  text-wrap: balance;
}
.scene-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.scene-art {
  --scene-base: #f0f8f4;
  --scene-tint: #d8efe5;
  --scene-corner: #e3f2ec;
  display: grid;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: clamp(23px, 3vw, 43px);
  background:
    radial-gradient(ellipse at 8% 2%, #fffc, transparent 65%),
    radial-gradient(ellipse at 83% 8%, var(--scene-tint), transparent 60%),
    radial-gradient(ellipse at 15% 100%, var(--scene-corner), transparent 64%),
    var(--scene-base);
}
.scene-pane[data-scene="evidence"] .scene-art {
  --scene-base: #f6f4fa;
  --scene-tint: #e0d9f4;
  --scene-corner: #ebe2f3;
}
.scene-pane[data-scene="follow"] .scene-art {
  --scene-base: #f2f6fc;
  --scene-tint: #d5e3f6;
  --scene-corner: #e0ebf4;
}
.scene-image-link {
  display: block;
  overflow: hidden;
  border: 1px solid #d9dfe3;
  border-radius: clamp(6px, .7vw, 11px);
  background: white;
  box-shadow: 0 14px 38px -19px #33425d4d;
  cursor: zoom-in;
}
.scene-image-link img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 800px) {
  .scenario-head { display: block; }
  .scenario-head p { max-width: 40rem; margin-top: 12px; }
  .scenario-tabs { display: flex; width: fit-content; margin-inline: auto; }
  .scene-pane { grid-template-columns: minmax(0, 1fr); }
  .scene-copy { padding: 26px; }
  .scene-copy p { margin-top: 9px; }
  .scene-art { padding: clamp(14px, 3vw, 24px); }
}
@media (max-width: 480px) {
  #scenarios { padding-block: 56px; }
  #scene-card { border-radius: 16px; }
  .scenario-tabs button { min-width: 62px; min-height: 38px; padding-inline: 12px; }
  .scene-copy { padding: 22px; }
  .scene-copy p { font-size: 14px; }
}
