/* Scenario demonstrations, scoped to the industries section. */
.industry-video-showcase {
  --iv-gold: #f5a623;
  --iv-ink: #0d1321;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, .11);
  min-width: 0;
}
.industry-video-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.industry-video-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  color: var(--iv-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.industry-video-kicker span {
  width: 22px;
  height: 1px;
  background: currentColor;
}
.industry-video-heading h3 {
  max-width: 700px;
  color: #fff;
  font-size: clamp(25px, 3.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 800;
}
.industry-video-heading p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.6;
}
.industry-video-runtime {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(245, 166, 35, .29);
  border-radius: 3px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.industry-video-runtime span { color: var(--iv-gold); padding: 0 4px; }
.industry-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.industry-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  transition: border-color .24s ease, transform .24s ease, background-color .24s ease;
}
.industry-video-card:hover,
.industry-video-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(245, 166, 35, .55);
  background-color: rgba(255, 255, 255, .035);
}
.industry-video-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(245,166,35,.08), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 9px),
    #10192a;
}
.industry-video-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.industry-video-shade {
  position: absolute;
  z-index: 2;
  inset: 35% 0 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(8,13,23,.58), transparent);
  opacity: 1;
  transition: opacity .25s ease;
}
.industry-video-placeholder {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.industry-video-placeholder-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(245,166,35,.65);
  color: var(--iv-gold);
  font-size: 10px;
  letter-spacing: .05em;
}
.industry-video-overlay-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 50%;
  background: rgba(13,19,33,.72);
  color: var(--iv-gold);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
  backdrop-filter: blur(6px);
}
.industry-video-overlay-play[hidden] { display: none; }
.industry-video-overlay-play:hover,
.industry-video-overlay-play:focus-visible {
  border-color: var(--iv-gold);
  background: rgba(13,19,33,.94);
}
.industry-video-overlay-play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}
.industry-video-card.is-playing .industry-video-overlay-play { opacity: 0; pointer-events: none; }
.industry-video-card.is-playing .industry-video-shade { opacity: 0; }
.industry-video-error {
  position: absolute;
  z-index: 5;
  inset: auto 10px 10px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(245,166,35,.5);
  border-radius: 5px;
  background: rgba(13,19,33,.94);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
}
.industry-video-copy { padding: 16px 17px 17px; }
.industry-video-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.industry-video-index,
.industry-video-duration {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  letter-spacing: .1em;
}
.industry-video-index { color: var(--iv-gold); font-weight: 700; }
.industry-video-duration { color: rgba(255,255,255,.44); }
.industry-video-copy h4 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 750;
}
.industry-video-copy p {
  min-height: 61px;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.62;
}
.industry-video-action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 6px 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(245,166,35,.38);
  background: transparent;
  color: #f5c36e;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.industry-video-action:hover { color: #fff; border-color: var(--iv-gold); }
.industry-video-action span { color: var(--iv-gold); font-size: 15px; transition: transform .2s ease; }
.industry-video-action:hover span { transform: translateX(3px); }
.industry-video-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 940px;
  margin: 22px 0 0;
  padding: 13px 15px;
  border-left: 2px solid var(--iv-gold);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.67);
  font-size: 12px;
  line-height: 1.65;
}
.industry-video-disclosure > span {
  flex: 0 0 auto;
  display: grid;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  place-items: center;
  border: 1px solid rgba(245,166,35,.65);
  border-radius: 50%;
  color: var(--iv-gold);
  font: 700 10px/1 sans-serif;
}
.industry-video-card button:focus-visible {
  outline: 2px solid var(--iv-gold);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .industry-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 600px) {
  .industry-video-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .industry-video-heading h3 { font-size: 27px; }
  .industry-video-runtime { padding: 7px 10px; }
  .industry-video-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .industry-video-copy p { min-height: 0; }
  .industry-video-copy { padding: 14px 15px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-video-card,
  .industry-video-shade,
  .industry-video-overlay-play,
  .industry-video-action,
  .industry-video-action span { transition: none; }
  .industry-video-card:hover,
  .industry-video-card:focus-within { transform: none; }
}
