.reveal .slides section.spartan-ai-slide {
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 54%, rgba(190, 91, 43, 0.2), transparent 34%),
    radial-gradient(circle at 80% 54%, rgba(101, 185, 231, 0.16), transparent 34%),
    linear-gradient(108deg, #160c0a 0%, #0a0e15 47.5%, #0a1119 52.5%, #07131e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.reveal .slides section.spartan-ai-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(222, 164, 81, 0.22) 49.96%, rgba(101, 185, 231, 0.2) 50.04%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0 5.7rem, rgba(222, 164, 81, 0.025) 5.75rem 5.85rem);
}

.reveal .slides section.spartan-ai-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-top: 0.22rem solid rgba(222, 164, 81, 0.2);
  border-bottom: 0.22rem solid rgba(101, 185, 231, 0.2);
}

.reveal .spartan-ai-slide h2 {
  position: absolute;
  top: 5.1%;
  left: 6%;
  z-index: 5;
  width: 88%;
  margin: 0;
  color: #f7f9fc;
  font-size: 2.35em;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0.18em 0.6em rgba(0, 0, 0, 0.55);
}

.reveal .spartan-accent {
  color: #e2aa58;
}

.reveal .spartan-subtitle {
  position: absolute;
  top: 15.3%;
  left: 10%;
  z-index: 5;
  width: 80%;
  margin: 0;
  color: rgba(247, 249, 252, 0.7);
  font-size: 0.72em;
  font-weight: 550;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.reveal .spartan-stage {
  position: absolute;
  inset: 0;
  margin: 0;
}

.reveal .spartan-half {
  position: absolute;
  top: 21%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 43%;
  height: 61%;
  margin: 0;
  text-align: center;
}

.reveal .sparta-half {
  left: 4.5%;
  color: #e2aa58;
}

.reveal .ai-half {
  right: 4.5%;
  color: #65b9e7;
}

.reveal .spartan-half > p:not([class]) {
  display: contents;
}

.reveal .spartan-kicker {
  padding-bottom: 0.25em;
  font-size: 0.5em;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid currentColor;
}

.reveal .spartan-heading {
  margin-top: 0.2em;
  color: #f7f9fc;
  font-family: var(--r-heading-font);
  font-size: 1.2em;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 0 0.8em currentColor;
}

.reveal .spartan-description {
  margin-top: 0.34em;
  color: rgba(247, 249, 252, 0.72);
  font-size: 0.5em;
  line-height: 1.2;
}

.reveal .spartan-figure {
  position: absolute;
  top: 18%;
  left: 7%;
  width: 86%;
  height: 61%;
  margin: 0;
  pointer-events: none;
}

.reveal .spartan-figure .quarto-figure,
.reveal .spartan-figure figure,
.reveal .spartan-figure figure > p {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 0;
}

.reveal .spartan-figure figcaption {
  display: none;
}

.reveal .spartan-figure-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.45rem rgba(0, 0, 0, 0.48));
}

.reveal .spartan-consequence {
  position: absolute;
  bottom: 7.5%;
  width: 90%;
  margin: 0;
  color: rgba(247, 249, 252, 0.74);
  font-size: 0.5em;
  line-height: 1.2;
}

.reveal .spartan-consequence strong {
  color: #f7f9fc;
  font-size: 1.08em;
}

.reveal .spartan-consequence span {
  letter-spacing: 0.025em;
}

.reveal .spartan-result {
  position: absolute;
  bottom: -1.5%;
  width: 96%;
  margin: 0;
  font-family: var(--r-heading-font);
  font-size: 0.77em;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 0.75em currentColor;
}

.reveal .spartan-divider {
  position: absolute;
  top: 49.5%;
  left: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 4.15rem;
  height: 4.15rem;
  margin: 0;
  color: #f7f9fc;
  font-family: var(--r-heading-font);
  font-size: 0.52rem;
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: linear-gradient(135deg, #7a321d 0 49%, #244e6a 51% 100%);
  box-shadow: 0 0 1.25rem rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
}

.reveal .spartan-divider p {
  margin: 0;
}

.reveal .spartan-takeaway {
  position: absolute;
  bottom: 8.4%;
  left: 16%;
  z-index: 5;
  width: 68%;
  margin: 0;
  color: rgba(247, 249, 252, 0.78);
  font-size: 0.76em;
  letter-spacing: 0.03em;
  text-align: center;
}

.reveal .spartan-takeaway p {
  margin: 0;
}

.reveal .spartan-takeaway strong {
  color: #f7f9fc;
  font-weight: 850;
}

.reveal .spartan-definition {
  position: absolute;
  bottom: 4.5%;
  left: 18%;
  z-index: 5;
  width: 64%;
  margin: 0;
  color: rgba(247, 249, 252, 0.56);
  font-size: 0.38em;
  line-height: 1.2;
  text-align: center;
}

.reveal .spartan-definition strong {
  color: #e9c785;
}

.reveal .spartan-source {
  position: absolute;
  bottom: 1.35%;
  left: 16%;
  z-index: 5;
  width: 68%;
  margin: 0;
  color: rgba(247, 249, 252, 0.38);
  font-size: 0.23em;
  line-height: 1.15;
  text-align: center;
}

.reveal .spartan-source em {
  color: rgba(247, 249, 252, 0.5);
}

@media (max-width: 1100px) {
  .reveal .spartan-ai-slide h2 {
    font-size: 2em;
  }

  .reveal .spartan-half {
    top: 22%;
    width: 44%;
  }

  .reveal .sparta-half {
    left: 3.5%;
  }

  .reveal .ai-half {
    right: 3.5%;
  }

  .reveal .spartan-figure {
    top: 19%;
    height: 58%;
  }
}
