/* RedTeam Case Study — pixel tokens from Figma (1512×982 frames)
   Display face in Figma: FK Screamer Trial Black
   Body face: Satoshi Medium / Regular / Bold
*/

@font-face {
  font-family: "FK Screamer Trial";
  src: url("../../fonts/FKScreamerTrial-Black.woff2") format("woff2"),
    url("../../fonts/FKScreamerTrial-Black.woff") format("woff"),
    url("../../fonts/FKScreamerTrial-Black.ttf") format("truetype"),
    url("../../fonts/FKScreamer-Black.woff2") format("woff2"),
    url("../../fonts/FKScreamer-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FK Screamer";
  src: url("../../fonts/FKScreamer-Black.woff2") format("woff2"),
    url("../../fonts/FKScreamer-Black.woff") format("woff"),
    url("../../fonts/FKScreamer-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.rt-case-page {
  --rt-artboard-w: 1512;
  --rt-artboard-h: 982;
  --rt-red: #f23538;
  --rt-red-mid: #b22a2c;
  --rt-red-deep: #781517;
  --rt-ink: #272425;
  --rt-ink-soft: #2b2b2b;
  --rt-ink-muted: #2f2f2f;
  --rt-gray: #a3a3a3;
  --rt-line: #4c4c4c;
  --rt-display: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  --rt-body: "Satoshi", "Poppins", sans-serif;
  --rt-track: 0.02em;
  background: #000 !important;
}

.rt-case-page html,
html:has(.rt-case-page) {
  background: #000 !important;
}

.rt-case-page,
.rt-case-page #scroll-container,
.rt-case-page .smooth-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}

.rt-case-page .brand-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
}

.rt-case-page .footer-block {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.rt-hero {
  --rt-red: #b22a2c;
  --rt-red-deep: #781517;
  --rt-pill: #272425;
  --rt-divider: #474747;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.rt-hero>.container-fluid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 4vw, 60px);
  padding-right: clamp(16px, 4vw, 60px);
  padding-top: clamp(100px, 12vh, 140px);
  padding-bottom: clamp(40px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.rt-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19.345px;
  width: 100%;
  max-width: min(1188px, 92vw);
  margin: 0 auto;
}

.rt-hero__headline {
  position: relative;
  width: 100%;
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.rt-hero__from {
  display: block;
  font-size: clamp(2rem, 5.07vw, 4.792rem);
  /* Figma 76.677px */
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 0.05em;
}

.rt-hero__mid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.14em;
  font-size: clamp(1.85rem, 8.21vw, 7.762rem);
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.rt-hero__platform {
  position: relative;
  display: inline-block;
  padding: 0.06em 0.1em 0.12em;
  line-height: 1;
}

.rt-hero__platform-text {
  position: relative;
  z-index: 0;
}

.rt-hero__platform-outline {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 106%;
  height: 122%;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  object-fit: fill;
}

.rt-hero__ecosystem {
  display: block;
  font-size: clamp(1.85rem, 8.21vw, 7.762rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--rt-red) 0%, var(--rt-red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-top: 0;
}

.rt-hero__tagline {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(0.85rem, 2.73vw, 2.582rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.rt-hero__brands {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10.915px;
  margin-top: clamp(40px, 8vh, 100px);
  padding: 24.013px 32.745px;
  background: var(--rt-pill);
  border-radius: 74.221px;
}

.rt-hero__brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.rt-hero__brand-logo--redteam {
  width: 75.466px;
  height: 20.488px;
}

.rt-hero__brand-logo--xperience {
  width: 111.214px;
  height: 20.618px;
}

.rt-hero__brand-divider {
  width: 1px;
  height: 29.834px;
  background: var(--rt-divider);
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1199.98px) {

  .rt-hero__mid,
  .rt-hero__ecosystem {
    font-size: clamp(2rem, 7vw, 5rem);
  }

  .rt-hero__tagline {
    white-space: normal;
    max-width: 36rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .rt-hero>.container-fluid {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .rt-hero__content {
    gap: 12px;
    max-width: 100%;
  }

  .rt-hero__from {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }

  .rt-hero__mid {
    font-size: clamp(1.35rem, 7.2vw, 2.4rem);
    gap: .4em;
  }

  .rt-hero__ecosystem {
    font-size: clamp(1.25rem, 6.8vw, 2.2rem);
    white-space: normal;
  }

  .rt-hero__tagline {
    font-size: clamp(0.7rem, 3.2vw, 1rem);
    white-space: normal;
    max-width: 18rem;
  }

  .rt-hero__brands {
    margin-top: 40px;
    padding: 16px 22px;
    gap: 10px;
  }

  .rt-hero__brand-logo--redteam {
    width: 64px;
    height: auto;
  }

  .rt-hero__brand-logo--xperience {
    width: 92px;
    height: auto;
  }

  .rt-hero__brand-divider {
    height: 22px;
  }
}

@media (max-width: 479.98px) {




  .rt-hero__platform-outline {
    width: 118%;
    height: 150%;
  }
}

/* ========== Vision section (Figma 162:875) ========== */

@font-face {
  font-family: "Satoshi";
  src: url("../../fonts/Satoshi-Medium.woff2") format("woff2"),
    url("../../fonts/Satoshi-Medium.woff") format("woff"),
    url("../../fonts/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("../../fonts/Satoshi-Regular.woff2") format("woff2"),
    url("../../fonts/Satoshi-Regular.woff") format("woff"),
    url("../../fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("../../fonts/Satoshi-Bold.woff2") format("woff2"),
    url("../../fonts/Satoshi-Bold.woff") format("woff"),
    url("../../fonts/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

.rt-vision {
  --rt-vision-dark: #272425;
  --rt-vision-red: #f23538;
  position: relative;
  width: 100%;
  min-height: 982px;
  min-height: 100vh;
  overflow: hidden;
  background-color: #f9f6f6;
  background-image: url("../images/redteam-casestudy/reality-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--rt-vision-dark);
  box-sizing: border-box;
}

.rt-vision::before {
  display: none;
}

.rt-vision>.container-fluid {
  position: relative;
  z-index: 2;
  max-width: 1512px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 4rem) clamp(3.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  min-height: inherit;
}

.rt-vision__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.rt-vision__deco img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-vision__deco--papers-tl {
  left: -18%;
  top: -8%;
  width: min(799px, 55vw);
  height: auto;
  aspect-ratio: 799 / 531;
}

.rt-vision__deco--papers-br {
  right: -12%;
  bottom: -4%;
  width: min(480px, 36vw);
  height: auto;
  aspect-ratio: 480 / 319;
  transform: scaleY(-1) rotate(180deg);
  filter: blur(3px);
  opacity: 0.9;
}

.rt-vision__deco--fluid-tr {
  right: -8%;
  top: -12%;
  width: min(509px, 40vw);
  height: auto;
  aspect-ratio: 1;
  transform: rotate(-90deg);
}

.rt-vision__deco--fluid-bl {
  left: -8%;
  bottom: -10%;
  width: min(340px, 28vw);
  height: auto;
  aspect-ratio: 1;
  filter: blur(7px);
}

.rt-vision__headline {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.rt-vision__title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.08em 0.18em;
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 8.3vw, 8.827rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rt-vision__title-dark {
  color: var(--rt-vision-dark);
}

.rt-vision__clear {
  position: relative;
  display: inline-block;
  padding: 0.08em 0.14em;
  color: var(--rt-vision-red);
  line-height: 1;
}

.rt-vision__clear-text {
  position: relative;
  z-index: 0;
}

.rt-vision__clear-outline {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 118%;
  height: 155%;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  object-fit: fill;
}

.rt-vision__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1.72fr) minmax(0, 1.55fr);
  align-items: center;
  /* column-gap: clamp(1.5rem, 4vw, 4rem); */
  width: 100%;

  @media(max-width:786px) {

    grid-template-columns: 1fr;
    row-gap: 0;
    justify-items: center;

  }
}

.rt-vision__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 2.4vw, 2.3rem);

  justify-self: start;
  padding-left: 9rem;

  @media(max-width:600px) {
    padding-left: 4.5rem;
  }
}

.rt-vision__play {
  display: block;
  width: clamp(120px, 10.2vw, 155px);
  height: clamp(120px, 10.2vw, 155px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.rt-vision__play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rt-vision__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.93vw, 1.828rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--rt-vision-dark);
  text-align: left;
}

.rt-vision__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: end;
  /* width: 100%; */

}



.rt-vision__caption {
  margin: 1.1rem 0 0;
  max-width: 494px;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.123rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--rt-vision-dark);
}

@media (max-width: 991.98px) {
  .rt-vision {
    min-height: auto;
  }

  .rt-vision>.container-fluid {
    min-height: 0;
    gap: 2.5rem;
    padding: 4rem 1.5rem 3.5rem;
  }



  .rt-vision__left {
    max-width: 100%;
    align-items: center;
    text-align: center;
    /* padding-left: 0; */
    gap: 1.25rem;
  }

  .rt-vision__list {
    align-items: center;
    text-align: center;
  }

  .rt-vision__media {
    justify-self: center;
    margin: 0 auto;
  }

  .rt-vision__deco--papers-tl,
  .rt-vision__deco--papers-br {
    opacity: 0.55;
  }

  .rt-vision__deco--fluid-tr,
  .rt-vision__deco--fluid-bl {
    opacity: 0.7;
  }
}

@media (max-width: 767.98px) {
  .rt-vision>.container-fluid {
    padding: 2.5rem 1.25rem 3rem;
    gap: 2rem;
  }

  .rt-vision__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .rt-vision__play {
    width: 120px;
    height: 120px;
  }

  .rt-vision__list {
    gap: 0.75rem;
    font-size: 1.1rem;
  }

  .rt-vision__caption {
    margin-top: 0rem;
  }

  .rt-vision__deco--papers-tl {
    left: -30%;
    top: -6%;
    width: 70vw;
  }

  .rt-vision__deco--papers-br {
    right: -20%;
    width: 50vw;
  }

  .rt-vision__deco--fluid-tr {
    width: 45vw;
    right: -15%;
  }

  .rt-vision__deco--fluid-bl {
    width: 35vw;
    left: -15%;
  }
}

/* ========== Ecosystem video section (Figma 162:910) ========== */

.rt-ecosystem {
  position: relative;
  width: 100%;
  min-height: 982px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.rt-ecosystem>.container-fluid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 8vh, 120px) clamp(20px, 4vw, 48px);
}

.rt-ecosystem__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vh, 56px);
  width: 100%;
}

.rt-ecosystem__video {
  position: relative;
  display: block;
  width: 100%;
  max-width: 975px;
  aspect-ratio: 975 / 620;
  padding: 0;
  border: 0;
  border-radius: 108px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.rt-ecosystem__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.rt-ecosystem__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 105px;
  height: 105px;
  pointer-events: none;
}

.rt-ecosystem__play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rt-ecosystem__text {
  margin: 0;
  max-width: 1038px;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.93vw, 1.828rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
}

@media (max-width: 991.98px) {
  .rt-ecosystem {
    min-height: auto;
  }

  .rt-ecosystem__video {
    border-radius: 64px;
  }

  .rt-ecosystem__play {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 767.98px) {
  .rt-ecosystem>.container-fluid {
    padding: 56px 20px;
  }

  .rt-ecosystem__video {
    border-radius: 36px;
  }

  .rt-ecosystem__play {
    width: 64px;
    height: 64px;
  }

  .rt-ecosystem__text {
    font-size: 1.05rem;
  }
}

@media (max-width: 479.98px) {
  .rt-ecosystem__video {
    border-radius: 24px;
  }
}

/* ========== The Reality section (Figma 162:957) ========== */

.rt-reality {
  --rt-reality-red: #f23538;
  --rt-reality-text: #2f2f2f;
  position: relative;
  width: 100%;

  overflow: hidden;
  background-color: #f9f6f6;
  background-image: url("../images/redteam-casestudy/reality-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--rt-reality-text);
  box-sizing: border-box;
}

.rt-reality::before {
  display: none;
}

.rt-reality>.container-fluid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(89px, 8vh, 100px) clamp(20px, 5vw, 80px);
}

.rt-reality__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.rt-reality__deco img {
  display: block;
  width: 100%;
  height: auto;
}

.rt-reality__deco--tl {
  left: -12%;
  top: -8%;
  width: min(489px, 38vw);
}

.rt-reality__deco--br {
  right: -10%;
  bottom: -6%;
  width: min(422px, 34vw);
  transform: rotate(15deg);
  filter: blur(5px);
  opacity: 0.95;
}

.rt-reality__row {
  position: relative;
  z-index: 2;
  min-height: min(70vh, 700px);
}

.rt-reality__copy {
  max-width: 591px;
  padding-right: clamp(0px, 2vw, 24px);
}

.rt-reality__title {
  margin: 0 0 clamp(64px, 22vh, 140px);
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: 158.847px;
  line-height: 97%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rt-reality-red);
}

.rt-reality__text {
  margin: 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 2.188rem);
  /* Figma 35.015px */
  line-height: 1.52;
  letter-spacing: 0.02em;
  color: var(--rt-reality-text);
}

.rt-reality__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}



@media (max-width: 991.98px) {
  .rt-reality {
    min-height: auto;
  }

  .rt-reality__row {
    min-height: 0;
    row-gap: 40px;
  }

  .rt-reality__copy {
    max-width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .rt-reality__title {
    margin-bottom: 25px;
  }
}

@media (max-width: 767.98px) {
  .rt-reality>.container-fluid {
    padding: 40px 20px;
  }

  .rt-reality__title {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .rt-reality__text {
    font-size: 1.15rem;
  }

  .rt-reality__x {
    max-width: 360px;
  }

  .rt-reality__deco--tl {
    left: -20%;
    width: 55vw;
  }

  .rt-reality__deco--br {
    right: -18%;
    width: 48vw;
  }
}

/* ========== Scattered systems section (Figma 162:965) ========== */

.rt-scatter {
  position: relative;
  width: 100%;

  overflow: hidden;
  background-color: #f9f6f6;
  background-image: url("../images/redteam-casestudy/reality-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.rt-scatter::before {
  display: none;
}

.rt-scatter>.container-fluid {
  position: relative;
  z-index: 1;
  max-width: 1512px;
  margin: 0 auto;
  padding: clamp(40px, 5vh, 72px) clamp(16px, 3vw, 40px);
}

.rt-scatter__stage {
  position: relative;
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  aspect-ratio: 1512 / 982;
  min-height: 640px;
}

.rt-scatter__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(1100px, 94%);
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 4.55vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #272425;
}

.rt-scatter__line {
  display: block;
}

.rt-scatter__accent {
  background: linear-gradient(90deg, #f23538 0%, #b22a2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.rt-scatter__card {
  position: absolute;
  z-index: 3;
  width: clamp(110px, 10.75vw, 167.557px);
  height: clamp(110px, 10.75vw, 162.557px);
  border-radius: 13.737px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 16.4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  scale: 0.88;
}

.rt-scatter__card.is-in {
  animation: rt-scatter-card-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--rt-scatter-delay, 0s);
}

@keyframes rt-scatter-card-in {
  from {
    opacity: 0;
    scale: 0.88;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

.rt-scatter__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: top;
}

.rt-scatter__card span {
  position: relative;
  z-index: 1;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 1.72vw, 1.625rem);
  line-height: 1.44;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #2b2b2b;
}

.rt-scatter__card--light span {
  color: #fff;
}

.rt-scatter__card--dim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 0;
}

/* Positions mapped from Figma 1512x982 */
.rt-scatter__card--exams {
  left: 7.8%;
  top: 15.4%;
  transform: rotate(14.69deg);
}

.rt-scatter__card--labs {
  left: 50%;
  top: 20.5%;
  transform: translateX(-50%) rotate(-17.57deg);

  @media(max-width:430px) {
    left: 51%;
    top: 17.5%;
  }
}

.rt-scatter__card--admin {
  left: 68.1%;
  top: 10.4%;
  transform: rotate(-15deg);
}

.rt-scatter__card--courses {
  left: 6.1%;
  top: 64.2%;
  transform: rotate(-8.54deg);

  @media(max-width:430px) {
    left: 6.1%;
    top: 54.2%;
  }
}

.rt-scatter__card--crm {
  left: 43.8%;
  top: 62.2%;
  transform: rotate(9.71deg);

  @media(max-width:430px) {
    left: 43.8%;
    top: 55.2%;
  }
}

.rt-scatter__card--finance {
  left: 74.1%;
  top: 58%;
  transform: rotate(-9.35deg);
}

@media (max-width: 991.98px) {
  .rt-scatter {
    min-height: auto;
  }

  .rt-scatter__stage {
    aspect-ratio: auto;
    min-height: 720px;
  }

  .rt-scatter__title {
    width: 90%;
    font-size: clamp(1.35rem, 4.2vw, 2.6rem);
  }
}

@media (min-width: 768px) {
  .rt-scatter__line {
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .rt-scatter>.container-fluid {
    padding: 28px 16px 26px;
  }

  .rt-scatter__stage {
    min-height: 560px;
  }

  .rt-scatter__card {
    width: 96px;
    height: 96px;
    border-radius: 10px;
  }

  .rt-scatter__card span {
    font-size: 0.85rem;
  }

  .rt-scatter__title {
    width: 92%;
    font-size: clamp(1.1rem, 5.2vw, 1.75rem);
  }
}

@media (max-width: 479.98px) {
  .rt-scatter__stage {
    min-height: 400px;
  }

  .rt-scatter__card {
    width: 78px;
    height: 78px;
  }

  .rt-scatter__card span {
    font-size: 0.72rem;
  }

  .rt-scatter__title {
    width: 96%;
    font-size: clamp(1rem, 5.6vw, 1.4rem);
  }
}

/* ========== Building the Foundation (Figma 162:986) ========== */

.rt-foundation {
  position: relative;
  width: 100%;
  min-height: 982px;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-sizing: border-box;
}

.rt-foundation>.container-fluid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6.8rem 0 6.6rem;
}

.rt-foundation__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.rt-foundation__deco img {
  display: block;
  width: 100%;
  height: auto;
}

.rt-foundation__deco--tr {
  right: -11%;
  top: -17%;
  width: min(509px, 40vw);
  transform: rotate(-90deg);
}

.rt-foundation__deco--bl {
  left: -8%;
  bottom: -16%;
  width: min(360px, 30vw);
  filter: blur(7px);
}

.rt-foundation__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.rt-foundation__challenge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-width: 710px;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 33.9779px;
  line-height: 143%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;


  @media(max-width:500px) {
    font-size: 20px;
  }
}

.rt-foundation__media {
  width: 100%;
  max-width: 692px;
  aspect-ratio: 696 / 608;
  margin: -35px auto;
}

.rt-foundation__laptop {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-foundation__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 832px;
  width: 100%;
}

.rt-foundation__title {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.77vw, 4.512rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.rt-foundation__text {
  margin: 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 300;
  font-size: 29px;
  line-height: 1.52;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
}

@media (max-width: 997.98px) {
  .rt-foundation__media {
    margin: -5px auto;
  }
}

@media (max-width: 991.98px) {
  .rt-foundation {
    min-height: auto;
  }

  .rt-foundation__deco--tr,
  .rt-foundation__deco--bl {
    opacity: 0.75;
  }
}

@media (max-width: 767.98px) {
  .rt-foundation>.container-fluid {
    padding: 3rem 0;
  }

  .rt-foundation__copy {
    gap: 16px;
  }



  .rt-foundation__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .rt-foundation__text {
    font-size: 1.05rem;
  }
}



.rt-lifecycle {
  position: relative;
  width: 100%;
  min-height: 982px;
  /* min-height: 100vh; */
  overflow: hidden;
  background-color: #f9f6f6;
  background-image: url("../images/redteam-casestudy/reality-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;

  @media(max-width:1550px) {
    min-height: 100vh;
  }

  @media(max-width:1030px) {
    min-height: 0;
    display: flex;
    flex-direction: column !important;
  }
}

.rt-lifecycle::before {
  display: none;
}


.rt-lifecycle__visual {
  position: absolute;
  right: -137px;
  bottom: 0;
  top: 16%;
  left: auto;
  width: min(960px, 54vw);
  aspect-ratio: 1;
  height: auto;
  /* max-height: 110%; */
  z-index: 1;
  pointer-events: none;
}

.rt-lifecycle__people {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.rt-lifecycle>.container-fluid {
  position: relative;
  z-index: 2;
  /* max-width: 1512px; */
  margin: 0 auto;
  padding: clamp(48px, 6vh, 100px) clamp(24px, 9.1vw, 138px);
  display: flex;
  align-items: center;
  min-height: inherit;
  box-sizing: border-box;
}

.rt-lifecycle__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 52px;
  max-width: min(558px, 42vw);
  width: 100%;
}

.rt-lifecycle__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rt-lifecycle__list img {
  flex-shrink: 0;
  width: 37px;
  height: 30px;
  margin-top: 0.15em;
  object-fit: contain;
}

.rt-lifecycle__list span {
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: 29px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

@media (max-width: 1199.98px) {
  .rt-lifecycle__visual {
    width: min(820px, 52vw);
  }

  .rt-lifecycle__list {
    max-width: min(520px, 44vw);
  }
}

@media (max-width: 991.98px) {


  .rt-lifecycle__visual {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    width: min(520px, 88vw);
    max-height: none;
    aspect-ratio: auto;
    margin: 0 auto;
  }

  .rt-lifecycle__people {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .rt-lifecycle>.container-fluid {
    order: 1;
    min-height: 0;
    padding: 40px 24px 0;
    align-items: flex-start;
  }

  .rt-lifecycle__list {
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .rt-lifecycle>.container-fluid {
    padding: 36px 20px 0;
  }

  .rt-lifecycle__list {
    gap: 28px;
  }

  .rt-lifecycle__list span {
    font-size: 1.1rem;
  }

  .rt-lifecycle__list img {
    width: 28px;
    height: 23px;
  }

  .rt-lifecycle__visual {
    width: min(420px, 92vw);
    margin-top: -8px;
  }
}

/* ========== Ecosystem we built (Figma 162:1017) ========== */

.rt-built {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-sizing: border-box;
}

.rt-built>.container-fluid {
  position: relative;
  z-index: 1;
  max-width: 1700px;
  margin: 0 auto;
  padding: 4rem 2rem;


}

.rt-built__title {
  margin: 0 0 65px;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.77vw, 4.512rem);
  /* Figma 72.187px */
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.rt-built__list {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: 100%;
  position: relative;
}

.rt-built__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #272626;
  min-height: 125px;
  position: relative;
  z-index: 1;
}



/* .rt-built__item--featured {
  grid-template-columns: minmax(160px, 280px) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
} */

.rt-built__label {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.rt-built__media {
  /* width: 166px;
  height: 152px; */
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  position: absolute;
  top: 9%;
  left: 35%;
  z-index: 5;
}

@media (max-width: 1300px) {
  .rt-built__media {
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    position: absolute;
    top: 9%;
    left: 30%;
    z-index: 5;
  }
}

@media(max-width:786px) {
  /* .rt-built__media {
    top: 25.5%;
    left: 60%;
  } */
}

.rt-built__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;


}

@media(max-width:786px) {
  .rt-built__media img {
    width: 90%;
    height: 70%;
  }
}



.rt-built__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 784px;
}

.rt-built__heading {
  margin: 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.8125rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #fff;
}

.rt-built__desc {
  margin: 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.32vw, 1.25rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #a3a3a3;
}

@media (max-width: 991.98px) {

  .rt-built__item,
  .rt-built__item--featured {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    min-height: 0;
    padding-top: 28px;
  }

  .rt-built__media {
    width: 90px;
    height: 90px;
    top: 17%;
    left: 76%;
  }

  .rt-built__label {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .rt-built>.container-fluid {
    padding: 48px 20px 56px;
  }

  .rt-built__list {
    gap: 25px;
  }

  .rt-built__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 32px;
  }
}

/* ========== Today section (Figma 162:1064) ========== */

.rt-today {
  --rt-today-red: #f23538;
  --rt-today-title: #272425;
  --rt-today-caption: #2b2b2b;
  position: relative;
  width: 100%;
  min-height: 982px;
  min-height: 100vh;
  overflow: hidden;
  background-color: #f9f6f6;
  background-image: url("../images/redteam-casestudy/reality-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--rt-today-caption);
  box-sizing: border-box;
}

.rt-today::before {
  display: none;
}

.rt-today>.container-fluid {
  position: relative;
  z-index: 2;

  padding: 12rem 2rem 15rem;
  display: flex;
  align-items: center;
  min-height: inherit;
  box-sizing: border-box;
}


.rt-today__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.rt-today__deco img {
  display: block;
  width: 100%;
  height: auto;
}

.rt-today__deco--tr {
  right: -11%;
  top: -1%;
  width: min(866px, 58vw);
}

.rt-today__deco--bl {
  left: -14%;
  bottom: -5%;
  width: min(632px, 42vw);
  transform: rotate(180deg);
}


.rt-today__heading {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -52%);
  z-index: 2;
  width: min(374px, 78vw);
  text-align: center;
  text-transform: uppercase;
}

.rt-today__eyebrow {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.4vw, 2.212rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--rt-today-red);
}

.rt-today__title {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.35rem, 2.2vw, 2.066rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  color: var(--rt-today-title);
}

.rt-today__inner {
  width: 100%;
  max-width: min(1200px, 100%);
  margin: 0 auto;
}

.rt-today__visual-wrap {
  width: 100%;
}

.rt-today__visual {
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
  overflow: visible;
}

.rt-today__perspective {
  --rt-panel-w: 670px;
  --rt-panel-h: 398px;

  position: relative;
  width: min(1100px, 100vw);
  height: calc(var(--rt-panel-h) + 52px);
  margin: 0 auto;
  perspective: 1600px;
  -webkit-perspective: 1600px;
  perspective-origin: 50% 50%;
  overflow: visible;
}

.rt-today__carousel {
  width: var(--rt-panel-w);
  height: var(--rt-panel-h);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  margin-left: calc(var(--rt-panel-w) / -2);
  margin-top: calc(var(--rt-panel-h) / -2);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.rt-today__carousel figure {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rt-panel-w);
  height: var(--rt-panel-h);
  margin: 0;
  padding: 0;
  background: transparent;
  opacity: 0.75;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: opacity 0.25s linear;
  -webkit-transition: opacity 0.25s linear;
}

.rt-today__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rt-today__face--back {
  transform: rotateY(180deg);
}

.rt-today__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .rt-today__perspective {
    --rt-panel-w: min(420px, 72vw);
    --rt-panel-h: calc(var(--rt-panel-w) * 398 / 670);
    width: 100vw;
    perspective: 1200px;
    -webkit-perspective: 1200px;
  }

  .rt-today__visual {
    padding: clamp(2rem, 6vw, 3.5rem) 0;
  }
}

@media (max-width: 576px) {
  .rt-today__perspective {
    --rt-panel-w: min(280px, 78vw);
    --rt-panel-h: calc(var(--rt-panel-w) * 398 / 670);
    height: calc(var(--rt-panel-h) + 40px);
    perspective: 900px;
    -webkit-perspective: 900px;
  }

  .rt-today__visual {
    padding: 2rem 0 2.5rem;
  }
}

@media (max-width: 380px) {
  .rt-today__perspective {
    --rt-panel-w: min(240px, 82vw);
    --rt-panel-h: calc(var(--rt-panel-w) * 398 / 670);
    perspective: 800px;
    -webkit-perspective: 800px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rt-today__carousel figure {
    transition: none;
    -webkit-transition: none;
  }
}

.rt-today__caption {
  margin: clamp(18px, 2.8vh, 30px) 0 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--rt-today-caption);
  text-align: center;
}

@media (max-width: 991.98px) {
  .rt-today__deco--tr {
    width: min(520px, 55vw);
    right: -16%;
  }

  .rt-today__deco--bl {
    width: min(420px, 48vw);
    left: -18%;
  }


}

@media (max-width: 767.98px) {
  .rt-today {
    min-height: 0;
  }

  .rt-today>.container-fluid {
    padding: 56px 16px 48px;
  }

  .rt-today__deco--tr,
  .rt-today__deco--bl {
    opacity: 0.85;
  }

  .rt-today__deco--tr {
    width: 70vw;
    right: -28%;
    top: -2%;
  }

  .rt-today__deco--bl {
    width: 58vw;
    left: -30%;
    bottom: -4%;
  }



  .rt-today__heading {
    width: min(280px, 86vw);
  }

  .rt-today__eyebrow {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .rt-today__title {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }
}

/* ========== Connected experience section (Figma 162:918) ========== */

.rt-connected {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 982px;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-sizing: border-box;
}

.rt-connected__bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1749px, 130%);
  aspect-ratio: 1749 / 1088;
  transform: translate(-50%, -50%);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.rt-connected__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-connected__deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.rt-connected__deco img {
  display: block;
  width: 100%;
  height: auto;
}

.rt-connected__deco--tl {
  left: -7%;
  top: -10%;
  width: min(340px, 28vw);
  filter: blur(6.9px);
}

.rt-connected__deco--br {
  right: -10.7%;
  bottom: -32.9%;
  width: min(509px, 42vw);

  transform: translate3d(0px, -59.849px, 0px) rotate(-131.62deg) !important;
}

.rt-connected>.container-fluid {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 160px) clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  box-sizing: border-box;
}

.rt-connected__title {
  margin: 0;
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 6.8vw, 6.429rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.rt-connected__line {
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 25px);
}

@media(max-width:786px) {
  .rt-connected__line {
    flex-wrap: wrap;
  }
}

.rt-connected__text {
  display: block;
  white-space: nowrap;
}

.rt-connected__pill {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: clamp(72px, 13.7vw, 207px);
  height: clamp(28px, 5.4vw, 82px);
  border-radius: 999px;
  overflow: hidden;
}

.rt-connected__pill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-connected__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(242, 53, 56, 0.66);
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .rt-connected__deco--tl {
    left: -14%;
    top: -33%;
    width: min(260px, 32vw);
  }

  .rt-connected__deco--br {
    right: -27%;
    bottom: -72%;
    width: min(380px, 48vw);
  }

  .rt-connected__text {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .rt-connected {
    min-height: 0;
  }

  .rt-connected>.container-fluid {
    padding: 2rem;
  }

  .rt-connected__title {
    font-size: clamp(1.75rem, 9.5vw, 2rem);
    gap: 12px;
  }

  .rt-connected__line {
    gap: 10px;
  }

  .rt-connected__pill {
    width: 72px;
    height: 28px;
  }

  .rt-connected__deco--tl {
    filter: blur(4px);
    opacity: 0.9;
  }

  .rt-connected__deco--br {
    opacity: 0.9;
  }
}

/* ========== And our role section (Figma 162:1075) ========== */

.rt-role {
  --rt-role-red: #f23538;
  --rt-role-title: #272425;
  --rt-role-text: #2b2b2b;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 982px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9f6f6 0%, #eeebeb 100%);
  color: var(--rt-role-text);
  box-sizing: border-box;
  background-image: url(../images/redteam-casestudy/reality-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rt-role::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 160%;
  min-width: 1600px;
  min-height: 1800px;
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0.22;
  background: url("../images/redteam-casestudy/role-bg-texture.png") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.rt-role>.container-fluid {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(64px, 9vh, 120px) clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  box-sizing: border-box;
}

.rt-role__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
}

.rt-role__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.rt-role__heading {

  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rt-role__eyebrow {
  margin: 0;
  max-width: 496px;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.1vw, 2.934rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rt-role-red);
}

.rt-role__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.95vw, 4.675rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rt-role-title);
}

.rt-role__title-line {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.rt-role__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 280px;

  display: flex;
  flex-direction: column;
  gap: 33px;
}

.rt-role__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.rt-role__list img {
  flex-shrink: 0;
  width: 30px;
  height: 24px;
  margin-top: 2px;
}

.rt-role__list span {
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.55vw, 1.47rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--rt-role-text);
}

.rt-role__cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
  width: 100%;
}

.rt-role__media {
  flex: 1 1 280px;
  max-width: 515px;
  height: 249px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.rt-role__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rt-role__quote {
  flex: 1.23 1 320px;
  max-width: 635px;
  min-height: 249px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 30px);
  border-radius: 24px;
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  box-sizing: border-box;
}

.rt-role__quote p {
  margin: 0;
  max-width: 574px;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.9vw, 1.779rem);
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media (max-width: 991.98px) {
  .rt-role {
    min-height: 0;
  }

  .rt-role__inner {
    align-items: stretch;
  }

  .rt-role__top {
    align-items: flex-start;
    justify-content: center;
  }

  .rt-role__list {
    max-width: 100%;
  }

  .rt-role__media,
  .rt-role__quote {
    max-width: none;
    flex: 1 1 100%;
  }

  .rt-role__media {
    height: auto;
    aspect-ratio: 515 / 249;
  }
}

@media (max-width: 767.98px) {
  .rt-role>.container-fluid {
    padding: 56px 20px 64px;
  }

  .rt-role__inner {
    gap: 36px;
  }

  .rt-role__title {
    font-size: clamp(1.65rem, 8vw, 2.5rem);
  }

  .rt-role__title-line {
    white-space: normal;
  }

  .rt-role__list {
    gap: 22px;
  }

  .rt-role__media,
  .rt-role__quote {
    border-radius: 18px;
  }

  .rt-role__quote {
    min-height: 0;
  }
}

/* ========== Ongoing section (Figma 162:936) ========== */

.rt-ongoing {
  --rt-ongoing-red: #f23538;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 982px;

  overflow: hidden;
  background-color: #000;

  color: #fff;
  box-sizing: border-box;
}

.rt-ongoing__bg {
  display: none;
}

.rt-ongoing>.container-fluid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 9vh, 120px) clamp(16px, 3vw, 40px) clamp(48px, 7vh, 80px);
  display: flex;
  align-items: center;
  min-height: inherit;
  box-sizing: border-box;
}

.rt-ongoing__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.rt-ongoing__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: 100%;
  max-width: 902px;
  text-align: center;
}

.rt-ongoing__eyebrow {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 3.1vw, 2.934rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rt-ongoing-red);
}

.rt-ongoing__text {
  margin: 0 0 10px;
  max-width: 750px;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #fff;
}

.rt-ongoing__media {
  width: min(474px, 72vw);
  filter: drop-shadow(16px 11px 45.7px rgba(0, 0, 0, 0.16));
}

.rt-ongoing__media img {
  display: block;
  width: 100%;
  height: auto;
}

.rt-ongoing__tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.rt-ongoing__tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rt-ongoing__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: var(--rt-ongoing-red);
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(1.05rem, 3.2vw, 3.026rem);
  /* Figma 48.409px */
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.rt-ongoing__x {
  display: block;
  width: clamp(40px, 4.8vw, 72px);
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .rt-ongoing {
    min-height: 0;
  }

  .rt-ongoing__tag {
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .rt-ongoing>.container-fluid {
    padding: 46px 16px 34px;
  }

  .rt-ongoing__inner {
    gap: 5px;
  }

  .rt-ongoing__tag {
    padding: 10px 14px;
    font-size: clamp(0.95rem, 5.5vw, 1.35rem);
  }

  .rt-ongoing__x {
    width: 40px;
  }
}

/* ========== Next generation section (Figma 162:1098) ========== */

.rt-nextgen {
  --rt-nextgen-red: #f23538;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #2b2b2b;
  color: #fff;
  box-sizing: border-box;
}

.rt-nextgen__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.rt-nextgen__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.54;
}

.rt-nextgen__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.rt-nextgen>.container-fluid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(104px, 10vh, 160px) clamp(20px, 0vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  box-sizing: border-box;
}

.rt-nextgen__inner {
  width: 100%;
  max-width: 1019px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 5vh, 58px);
  text-align: center;
}

.rt-nextgen__logo {
  display: block;
  width: clamp(88px, 10vw, 155px);
  height: auto;
}

.rt-nextgen__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.rt-nextgen__title {
  margin: 0;
  font-family: "FK Screamer Trial", "FK Screamer", Anton, "Impact", "Arial Narrow", sans-serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 4.95vw, 4.675rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.rt-nextgen__title span {
  color: var(--rt-nextgen-red);
}

.rt-nextgen__rule {
  display: block;
  width: min(680px, 78%);
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.rt-nextgen__text {
  margin: 0;
  font-family: "Satoshi", "Poppins", sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: #fff;
}

@media (max-width: 767.98px) {
  .rt-nextgen {
    min-height: 0;
  }

  .rt-nextgen>.container-fluid {
    padding: 72px 20px 80px;
  }

  .rt-nextgen__inner {
    gap: 28px;
  }

  .rt-nextgen__title {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }
}

@media(max-width:430px){
  .rt-nextgen > .container-fluid {
  padding: 20px 20px 40px;
  }
}

/* ========== Animation performance (GSAP) ========== */

.rt-case-page .rt-scatter__card,
.rt-case-page .rt-built__item,
.rt-case-page .rt-role__media,
.rt-case-page .rt-role__quote,
.rt-case-page .rt-ongoing__tag,
.rt-case-page .rt-ongoing__media,
.rt-case-page .rt-vision__play,
.rt-case-page .rt-ecosystem__play,
.rt-case-page .rt-connected__pill,
.rt-case-page .rt-nextgen__logo {
  will-change: transform;
  backface-visibility: hidden;
}

.rt-case-page .rt-scatter__stage,
.rt-case-page .rt-role__cards,
.rt-case-page .rt-built__list {
  perspective: 1200px;
}

@media (prefers-reduced-motion: reduce) {

  .rt-case-page .rt-scatter__card,
  .rt-case-page .rt-built__item,
  .rt-case-page .rt-role__media,
  .rt-case-page .rt-role__quote,
  .rt-case-page .rt-ongoing__tag,
  .rt-case-page .rt-ongoing__media,
  .rt-case-page .rt-vision__play,
  .rt-case-page .rt-ecosystem__play,
  .rt-case-page .rt-connected__pill,
  .rt-case-page .rt-nextgen__logo {
    will-change: auto;
  }

  .rt-scatter__card {
    opacity: 1;
    scale: 1;
    animation: none;
  }
}