.tic-hero {
  padding: 118px 0 54px;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(54, 4, 29, 0.96) 0%, rgba(83, 12, 49, 0.88) 54%, rgba(83, 12, 49, 0.7) 100%),
    url("/images/triple-international-competencies/hero-background.svg") center / cover;
}

.tic-page .hero-title {
  margin: 0;
  font-size: 60px;
  line-height: 80px;
}

.tic-hero-intro {
  align-items: start;
  gap: 24px 84px;
}

.tic-intro .lede {
  font-size: 22px;
  line-height: 35px;
}

.tic-intro p {
  color: rgba(255, 255, 255, 0.96);
}

.tic-card-grid {
  margin-top: 56px;
  margin-bottom: -112px;
  max-width: 1100px;
  transform: translateY(112px);
}

.tic-card {
  display: flex;
  min-height: 478px;
  flex-direction: column;
  align-items: flex-start;
  padding: 45px 40px 38px;
  border-radius: 5px;
  background: var(--color-muted);
  color: var(--color-ink);
}

.tic-card img {
  width: auto;
  height: 83px;
  object-fit: contain;
}

.tic-card h2 {
  margin: 18px 0 0;
  font-size: 25px;
  line-height: 42px;
}

.tic-card .section-rule {
  color: var(--color-plum);
  margin: 0 0 12px;
}

.tic-card p {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  line-height: 28px;
}

.tic-card .button {
  min-width: 120px;
  min-height: 40px;
  margin-top: 28px;
  padding: 8px 18px;
  font-size: 15px;
}

.tic-trusted {
  padding: 248px 0 54px;
}

.trusted-copy {
  margin: 0 0 26px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
}

.trusted-copy span {
  color: #e50059;
}

.trusted-logos {
  --logo-gap: clamp(44px, 6vw, 92px);
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trusted-logo-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  min-width: max-content;
  animation: trustedLogoMarquee 500s linear infinite;
}

.trusted-logos img {
  flex: 0 0 auto;
  width: clamp(148px, 14vw, 222px);
  max-height: 80px;
  margin-right: var(--logo-gap);
  object-fit: contain;
}

@keyframes trustedLogoMarquee {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.tic-why {
  position: relative;
  overflow: hidden;
  padding: 132px 0 142px;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.94) 50%, rgba(0, 0, 0, 0.9) 100%),
    url("/images/triple-international-competencies/why-background.svg") center / cover;
}

.tic-why-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 604px);
  gap: 48px 70px;
  align-items: start;
}

.tic-why-copy {
  align-self: start;
  max-width: 505px;
  color: var(--color-white);
}

.tic-why-stage {
  position: relative;
  padding-right: 58px;
}

.tic-why-list {
  position: relative;
}

.tic-why-stack {
  display: grid;
  gap: 19px;
}

.tic-stack-card {
  padding: 42px 46px;
  background: var(--color-white);
  color: var(--color-ink);
}

.tic-stack-card p {
  margin: 0;
  font-size: 18px;
  line-height: 32px;
}

.tic-stack-card p + p {
  margin-top: 16px;
}

.tic-stack-card strong,
.tic-stack-lead,
.tic-stack-card .card-kicker,
.tic-stack-card h3 {
  color: var(--color-plum);
}

.tic-stack-card .card-kicker {
  font-size: 20px;
  font-weight: 600;
}

.tic-stack-card h3 {
  margin: 8px 0 14px;
  font-size: 32px;
  line-height: 1;
  font-family: "Inter", sans-serif;
}

.tic-why-rail {
  position: absolute;
  top: 32px;
  right: 0;
  display: grid;
  gap: 8px;
  width: 7px;
  bottom: 32px;
}

.tic-why-rail span {
  display: block;
  width: 100%;
  min-height: 72px;
  background: var(--color-white);
  opacity: 0.96;
}

.tic-why-rail span.is-active {
  background: #e50059;
  opacity: 1;
}

.tic-why.is-scroll-ready .tic-why-list {
  overflow: hidden;
}

.tic-why.is-scroll-ready .tic-why-stack {
  will-change: transform;
}

.tic-why.is-scroll-ready .tic-stack-card {
  display: grid;
  align-content: center;
  opacity: 0.58;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.tic-why.is-scroll-ready .tic-stack-card.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.tic-why.is-scroll-ready .tic-why-rail {
  top: 0;
  bottom: 0;
  grid-auto-rows: 1fr;
}

.tic-why.is-scroll-ready .tic-why-rail span {
  min-height: 0;
  height: 100%;
}

@media (min-width: 1181px) and (hover: hover) and (pointer: fine) {
  .tic-why.is-scroll-ready {
    padding: 0;
  }

  .tic-why.is-scroll-ready .tic-why-grid {
    min-height: calc(100svh - 78px);
    align-items: center;
  }

  .tic-why.is-scroll-ready .tic-why-copy {
    align-self: center;
  }

  .tic-why.is-scroll-ready .tic-why-list {
    height: min(54vh, 520px);
  }

  .tic-why.is-scroll-ready .tic-stack-card {
    min-height: min(54vh, 520px);
  }
}

@media (max-width: 1180px), (hover: none), (pointer: coarse) {
  .tic-why.is-scroll-ready {
    padding: 0;
  }

  .tic-why.is-scroll-ready .tic-why-grid {
    min-height: calc(100svh - 78px);
    align-content: center;
  }

  .tic-why.is-scroll-ready .tic-why-list,
  .tic-why.is-scroll-ready .tic-stack-card {
    min-height: clamp(360px, 58svh, 520px);
  }

  .tic-why.is-scroll-ready .tic-why-list {
    height: clamp(360px, 58svh, 520px);
  }
}

@media (max-width: 760px) {
  .tic-why.is-scroll-ready {
    padding: 56px 0 40px;
  }

  .tic-why.is-scroll-ready .tic-why-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 28px;
  }

  .tic-why.is-scroll-ready .tic-why-list,
  .tic-why.is-scroll-ready .tic-stack-card {
    min-height: clamp(460px, 76svh, 580px);
  }

  .tic-why.is-scroll-ready .tic-why-list {
    height: clamp(460px, 76svh, 580px);
  }
}

.tic-wma {
  padding: 118px 0 120px;
}

.tic-wma-grid {
  display: grid;
  grid-template-columns: 463px 592px;
  justify-content: space-between;
  gap: 64px;
  align-items: center;
}

.tic-wma-grid img {
  width: 463px;
}

.tic-wma .body-copy p {
  font-size: 22px;
  line-height: 35px;
}

.tic-wma .body-copy p + p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 30px;
}

.tic-wma .button {
  min-width: 281px;
  min-height: 51px;
  margin-top: 28px;
  font-size: 18px;
}

.tic-partners {
  padding: 76px 0 104px;
  background: linear-gradient(180deg, var(--color-plum) 0%, #3e081e 100%);
  color: var(--color-white);
  text-align: center;
}

.tic-partners__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.tic-partners .section-rule {
  margin: 24px auto 44px;
  color: var(--color-white);
}

.tic-partner-grid {
  display: grid;
  gap: 33px;
  max-width: 1128px;
  margin: 0 auto;
}

.tic-partner-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 88px;
  min-height: 176px;
  align-items: start;
  padding: 43px 63px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--color-black) 0%, var(--color-plum) 100%);
  color: var(--color-white);
  text-align: left;
}

.tic-partner-card h3 {
  margin: 0;
  color: var(--color-white);
  font-size: 20px;
  line-height: 32px;
}

.tic-partner-card p {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
}

@media (max-width: 760px), (max-width: 1180px) and (orientation: portrait) {
  .tic-why-grid,
  .tic-wma-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .tic-why-copy {
    position: static;
  }

  .tic-why-stage {
    padding-right: 0;
  }

  .tic-why-rail {
    display: none;
  }

  .tic-why.is-scroll-ready .tic-why-stage {
    padding-right: 24px;
  }

  .tic-why.is-scroll-ready .tic-why-rail {
    display: grid;
    width: 5px;
  }

  .tic-wma-grid {
    justify-items: start;
  }

  .tic-partner-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) and (orientation: portrait) {
  .tic-why-grid,
  .tic-why.is-scroll-ready .tic-why-grid {
    grid-template-columns: minmax(220px, 0.72fr) minmax(400px, 1fr);
    gap: 36px;
  }

  .tic-why-stage {
    padding-right: 40px;
  }

  .tic-why-rail {
    display: grid;
  }

  .tic-stack-card {
    padding-inline: 32px;
  }
}

@media (max-width: 760px), (max-width: 1180px) and (orientation: portrait) {
  .tic-hero {
    padding: 84px 0 48px;
  }

  .trusted-logos {
    --logo-gap: 36px;
  }

  .trusted-logo-track {
    animation-duration: 200s;
  }

  .trusted-logos img {
    width: 136px;
  }

  .tic-why {
    padding: 84px 0 80px;
  }

  .tic-stack-card,
  .tic-partner-card {
    padding: 28px 24px;
  }

  .tic-card {
    min-height: 0;
    padding: 32px 28px;
  }

  .tic-card-grid {
    margin-bottom: -72px;
    transform: translateY(72px);
  }

  .tic-trusted {
    padding-top: 108px;
  }

  .tic-wma-grid img {
    width: 100%;
    max-width: 463px;
  }

  .tic-wma {
    padding: 76px 0 82px;
  }

  .tic-wma .body-copy p {
    font-size: 18px;
    line-height: 30px;
  }

}

@media (max-width: 760px) {
  .tic-page .hero-title {
    max-width: 100%;
    font-size: var(--title-hero-mobile-size);
    line-height: var(--title-hero-mobile-line);
    overflow-wrap: break-word;
  }

  .tic-hero-intro {
    gap: 22px;
  }

  .tic-intro .lede {
    font-size: 20px;
    line-height: 31px;
  }

  .tic-intro p:not(.lede) {
    font-size: 16px;
    line-height: 26px;
  }

  .tic-card-grid {
    gap: 18px;
  }

  .tic-card h2 {
    line-height: 34px;
  }

  .tic-why.is-scroll-ready .tic-why-stage {
    padding-right: 18px;
  }

  .tic-why.is-scroll-ready .tic-stack-card {
    padding: 24px 14px;
  }

  .tic-why.is-scroll-ready .tic-why-rail {
    width: 4px;
  }
}
