/* Always reserve space for the vertical scrollbar so pages don't shift
   horizontally when navigating between pages with/without overflow. */
html {
  scrollbar-gutter: stable;
}

/* Thessia: brand + small utility helpers */

.Thessia-brand-lockup {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.Thessia-brand-logo-shell {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.Thessia-brand-logo {
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
}

.Thessia-brand-logo-shell--nav {
  width: 8.55rem;
}

.Thessia-brand-logo--nav {
  height: 3.12rem;
  transform: translateX(-2rem);
}

@media (min-width: 992px) {
  .Thessia-brand-logo-shell--nav {
    width: 8.95rem;
  }

  .Thessia-brand-logo--nav {
    height: 3.28rem;
    transform: translateX(-2.1rem);
  }
}

.Thessia-brand-logo-shell--footer {
  width: 9.15rem;
}

.Thessia-brand-logo--footer {
  height: 3.35rem;
  transform: translateX(-2.15rem);
}

header .navbar {
  min-height: 4.8rem;
  padding-top: calc(0.6rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.45rem;
}

@media (min-width: 992px) {
  header .navbar {
    min-height: 4.35rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}

.navbar-brand {
  min-height: 2.4rem;
}

@media (max-width: 991.98px) {
  header .navbar {
    padding-top: calc(0.42rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.28rem;
  }

  .navbar-brand {
    min-height: 0;
  }
}

.Thessia-header-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
}

/* Ensure header/nav stays above page content (fix dropdown click/stacking on non-home pages) */
.z-fixed {
  position: relative;
  z-index: 1030 !important;
}

.Thessia-nav {
  --bs-navbar-color: rgba(255, 255, 255, 0.72);
  --bs-navbar-hover-color: #FFE24B;
  --bs-navbar-active-color: #FFE24B;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
  background-color: #050507 !important;
  border-bottom: none;
  box-shadow: none;
  animation: none;
}

.Thessia-nav .nav-link {
  color: var(--bs-navbar-color) !important;
  font-weight: 500;
  text-transform: none !important;
  transition: color 0.22s ease;
}

.Thessia-nav .nav-link:hover,
.Thessia-nav .nav-link:focus {
  color: var(--bs-navbar-hover-color) !important;
}

.Thessia-nav .nav-link.active {
  color: var(--bs-navbar-active-color) !important;
}

.Thessia-nav .dropdown-menu {
  --bs-dropdown-bg: #0a0a0f;
  --bs-dropdown-link-color: rgba(255, 255, 255, 0.72);
  --bs-dropdown-link-hover-color: #FFE24B;
  --bs-dropdown-link-hover-bg: rgba(255, 226, 75, 0.06);
  --bs-dropdown-link-active-color: #FFE24B;
  --bs-dropdown-link-active-bg: rgba(255, 226, 75, 0.10);
  --bs-dropdown-border-color: rgba(255, 226, 75, 0.08);
  border: 1px solid var(--bs-dropdown-border-color);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
  z-index: 1040;
}

.Thessia-nav .dropdown-item {
  text-transform: none !important;
}

.Thessia-nav .dropdown-divider.Thessia-nav__divider {
  border-top-color: rgba(255, 226, 75, 0.12);
  margin: 0.35rem 0;
}

.Thessia-nav__entry-link {
  font-weight: 500;
}

.Thessia-nav .navbar-toggler:focus,
.Thessia-nav .navbar-toggler:hover,
.Thessia-nav .navbar-toggler:focus-visible {
  border-color: rgba(255, 226, 75, 0.3);
  box-shadow: 0 0 0 0.18rem rgba(255, 226, 75, 0.22);
}

@media (max-width: 991.98px) {
  .Thessia-nav .navbar-collapse {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid rgba(255, 226, 75, 0.06);
  }

  .Thessia-nav .nav-link:focus,
  .Thessia-nav .nav-link:focus-visible,
  .Thessia-nav .nav-link.dropdown-toggle.show,
  .Thessia-nav .dropdown-item:focus,
  .Thessia-nav .dropdown-item:focus-visible {
    color: #FFE24B !important;
    outline: none;
    box-shadow: 0 0 0 0.16rem rgba(255, 226, 75, 0.22);
    border-radius: 0.65rem;
  }

  .Thessia-nav .dropdown-item:active,
  .Thessia-nav .dropdown-item.active {
    color: #FFE24B !important;
    background-color: rgba(255, 226, 75, 0.10);
  }
}

.Thessia-nav-cta {
  text-transform: none !important;
}

.Thessia-nav-utility-link {
  line-height: 1;
  min-height: 2rem;
}

.Thessia-site-footer {
  background-color: #050507;
}

.Thessia-footer-social {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.Thessia-footer-social:hover,
.Thessia-footer-social:focus-visible {
  background: #FFE24B;
  border-color: #FFE24B;
  color: #080713;
  transform: translateY(-1px);
}

.Thessia-contact-submit {
  color: #080713;
  border-color: rgba(8, 7, 19, 0.14);
  background: rgba(5, 5, 7, 0.02);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.Thessia-contact-submit:hover,
.Thessia-contact-submit:focus-visible,
.Thessia-contact-submit:focus,
.Thessia-contact-submit:active {
  background: #FFE24B;
  border-color: #FFE24B;
  color: #080713;
  transform: translateY(-1px);
  box-shadow: none;
}

.Thessia-contact-form .form-control:focus,
.Thessia-contact-form .form-select:focus {
  border-color: rgba(255, 226, 75, 0.52);
  box-shadow: 0 0 0 0.16rem rgba(255, 226, 75, 0.18);
}

.Thessia-contact-faq-icon {
  border-radius: 999px;
  background: #FFE24B;
  color: #080713;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.Thessia-contact-aside {
  padding: 1.6rem 1.45rem;
  border: 1px solid rgba(8, 7, 19, 0.08);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1rem 2.25rem rgba(8, 7, 19, 0.05);
}

.Thessia-contact-aside__list {
  display: grid;
  gap: 1rem;
}

.Thessia-contact-aside__list li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(22, 20, 47, 0.8);
  line-height: 1.7;
}

.Thessia-contact-aside__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #FFE24B;
}

@media (max-width: 991.98px) {
  .Thessia-contact-aside {
    margin-top: 0.25rem;
  }
}

.Thessia-about-page {
  overflow-x: clip;
}

.Thessia-about-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 54%, rgba(255, 226, 75, 0.08) 0%, rgba(255, 226, 75, 0.02) 16%, transparent 32%),
    radial-gradient(ellipse at 50% 0%, #0a0a0a 0%, #080812 50%, #050510 100%);
}

.Thessia-about-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 38% 44% at 16% 56%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.02) 20%, transparent 36%);
  pointer-events: none;
}

.Thessia-about-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(31rem, 94vw);
  height: clamp(9.35rem, 25vw, 13.2rem);
  pointer-events: none;
  z-index: 1;
}

.Thessia-about-hero__row {
  min-height: clamp(20rem, calc(100svh - 18rem), 23rem);
  align-items: center !important;
}

.Thessia-about-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.4;
  -webkit-mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.Thessia-about-hero__title {
  max-width: 14ch;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.Thessia-about-hero__lead {
  max-width: 33rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 992px) {
  .Thessia-about-hero__figure-wrap {
    left: max(1.25rem, 3vw);
    bottom: 0;
    width: clamp(40rem, 53vw, 63.5rem);
    height: clamp(12.4rem, 20.1vw, 17.7rem);
  }

  .Thessia-about-hero__figure {
    opacity: 0.56;
    -webkit-mask-image:
      linear-gradient(to right, black 56%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 56%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}

@media (max-width: 991.98px) {
  .Thessia-about-hero__row {
    min-height: clamp(18rem, calc(100svh - 20rem), 21rem);
    align-items: flex-start !important;
  }

  .Thessia-about-hero__figure-wrap {
    left: -0.4rem;
    bottom: 0.35rem;
    width: min(33rem, 98vw);
    height: clamp(9.6rem, 32vw, 12.45rem);
  }

  .Thessia-about-hero__figure {
    opacity: 0.34;
  }

  .Thessia-about-hero__title {
    max-width: 15ch;
    margin-inline: auto;
  }

  .Thessia-about-hero__lead {
    font-size: 1.12rem;
    line-height: 1.6;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .Thessia-about-hero__row {
    min-height: clamp(22rem, calc(100svh - 17rem), 25rem);
    align-items: center !important;
  }

  .Thessia-about-hero__figure-wrap {
    width: min(31rem, 62vw);
    height: clamp(9.75rem, 19vw, 12.25rem);
  }

  .Thessia-about-hero__title {
    max-width: 12ch;
    margin-inline: 0;
    font-size: clamp(2.65rem, 4.9vw, 3.6rem);
  }

  .Thessia-about-hero__lead {
    max-width: 25rem;
    margin-inline: 0;
    font-size: clamp(1.1rem, 1.7vw, 1.24rem);
    line-height: 1.58;
  }
}

.Thessia-compare-panel {
  background: #f7f8fb;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.Thessia-legend {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  flex: 0 0 auto;
}

.Thessia-legend--primary {
  background: rgba(53, 99, 255, 0.12);
  color: #3563ff;
}

.Thessia-legend--neutral {
  background: rgba(31, 37, 51, 0.08);
  color: #1f2533;
}

.Thessia-paper {
  background: #fff7ea;
  border: 1px solid rgba(17, 24, 39, 0.08);
  position: relative;
}

.Thessia-paper--white {
  background: #ffffff;
}

.Thessia-about-manifesto__paper {
  background: #fcfaf4;
}

.Thessia-about-leadership__backdrop {
  background-color: #050507;
}

.Thessia-about-founder-link {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(17, 17, 20, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111114;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.Thessia-about-founder-link:hover,
.Thessia-about-founder-link:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
  transform: translateY(-1px);
}

.Thessia-about-manifesto__copy,
.Thessia-about-manifesto__promise {
  font-size: 1.08rem;
  line-height: 1.78;
}

.Thessia-about-manifesto__beliefs {
  display: grid;
  row-gap: 3rem;
}

.Thessia-about-manifesto__header {
  margin-bottom: 0;
}

.Thessia-about-manifesto__list {
  counter-reset: manifesto;
  display: grid;
  margin-top: 1.45rem;
  gap: 1.7rem;
}

.Thessia-about-manifesto__item {
  counter-increment: manifesto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem 1.15rem;
}

.Thessia-about-manifesto__item::before {
  content: counter(manifesto, decimal-leading-zero);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  color: #8b5e00;
  padding-top: 0.45rem;
}

.Thessia-about-manifesto__item p {
  margin: 0;
}

.Thessia-about-manifesto__term {
  display: inline;
  font-weight: 600;
  color: #12152a;
  white-space: nowrap;
  padding: 0 0.08em;
  border-radius: 0.22em;
  background:
    linear-gradient(transparent 40%, rgba(255, 226, 75, 0.45) 40%, rgba(255, 226, 75, 0.45) 88%, transparent 88%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.Thessia-about-manifesto__closing {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

@media (min-width: 992px) {
  .Thessia-about-manifesto__copy,
  .Thessia-about-manifesto__promise {
    font-size: 1.12rem;
  }

  .Thessia-about-manifesto__beliefs {
    row-gap: 3.25rem;
  }

  .Thessia-about-manifesto__list {
    margin-top: 1.6rem;
    gap: 1.85rem;
  }

  .Thessia-about-manifesto__item {
    gap: 0.95rem 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .Thessia-about-manifesto__beliefs {
    row-gap: 2.05rem;
  }

  .Thessia-about-manifesto__list {
    margin-top: 1.15rem;
  }
}

.Thessia-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.Thessia-paper > * {
  position: relative;
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-white-25 {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

.border-white-10 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white-25 {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Consulting (light, theme-aligned) */

.Thessia-consulting-surface {
  background:
    radial-gradient(1000px 520px at 15% 15%, rgba(var(--bs-primary-rgb), 0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(var(--bs-info-rgb), 0.10), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.Thessia-title-underline {
  width: 5.5rem;
  height: 0.22rem;
  background: var(--bs-primary);
  border-radius: 999px;
}

.Thessia-card-accent {
  position: relative;
  overflow: hidden;
}

.Thessia-card-accent::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.28rem;
  background: var(--bs-primary);
  opacity: 0.9;
}

.Thessia-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: var(--bs-success);
}

/* Consulting step badges */

.Thessia-step-badge {
  position: relative;
  top: -0.9rem;
}

.Thessia-step-number {
  display: inline-block;
}

/* Swiper ticker (Data analytics) */

.Thessia-swiper-ticker {
  height: 3.25rem;
}

@media (min-width: 992px) {
  .Thessia-swiper-ticker {
    height: 3.6rem;
  }
}

.btn.text-none { text-transform: none !important; }

.Thessia-home-hero {
  min-height: calc(100svh - 4rem);
  background:
    radial-gradient(ellipse 56% 72% at 80% 38%, rgba(182, 137, 58, 0.11) 0%, rgba(182, 137, 58, 0.05) 22%, transparent 52%),
    radial-gradient(ellipse 46% 58% at 18% 18%, rgba(18, 18, 26, 0.18) 0%, transparent 62%),
    linear-gradient(180deg, #060608 0%, #090913 58%, #050507 100%);
}

.Thessia-home-hero__glow {
  background:
    radial-gradient(ellipse 48% 34% at 78% 18%, rgba(205, 165, 92, 0.10) 0%, rgba(205, 165, 92, 0.04) 34%, transparent 60%),
    radial-gradient(ellipse 40% 34% at 88% 62%, rgba(149, 108, 37, 0.10) 0%, rgba(149, 108, 37, 0.03) 32%, transparent 56%);
  pointer-events: none;
}

.Thessia-home-hero__veil {
  background:
    linear-gradient(90deg, rgba(5, 5, 10, 0.94) 0%, rgba(5, 5, 10, 0.84) 26%, rgba(5, 5, 10, 0.48) 52%, rgba(5, 5, 10, 0.08) 78%, rgba(5, 5, 10, 0) 100%);
  pointer-events: none;
}

.Thessia-home-hero__shell {
  max-width: none;
  padding-inline: clamp(1rem, 3.2vw, 3.5rem);
}

.Thessia-home-hero__grid {
  min-height: calc(100svh - 4rem);
}

.Thessia-home-hero__content {
  max-width: 42rem;
  margin-inline: auto;
  padding-top: 6.9rem;
  padding-bottom: 1.35rem;
  position: relative;
  z-index: 2;
}

.Thessia-home-hero-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(2.55rem, 8.8vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin-left: auto;
  margin-right: auto;
  white-space: normal;
  text-wrap: balance;
  overflow: visible;
  padding-right: 0.14em;
  position: relative;
  z-index: 2;
}

.Thessia-home-hero-title__line {
  display: block;
}

.Thessia-home-hero-title__line--primary {
  text-align: center;
}

.Thessia-home-hero-title__line--secondary {
  white-space: nowrap;
  text-align: center;
}

.Thessia-home-hero-title__prefix,
.Thessia-home-hero-title__suffix {
  display: inline;
}

.Thessia-home-hero-title__accent {
  display: inline-block;
  white-space: nowrap;
  padding-inline-end: 0.08em;
  color: #ffe06f;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 0.01em rgba(255, 224, 111, 0.18);
}

.Thessia-home-hero-body {
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.08rem, 2.5vw, 1.42rem);
  line-height: 1.56;
  font-weight: 400;
  text-wrap: balance;
}

.Thessia-btn-rise {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  position: relative;
  transition:
    color 0.28s ease,
    border-color 0.24s ease,
    box-shadow 0.28s ease,
    transform 0.3s ease;
}

.Thessia-btn-rise .btn-rise-bg {
  background-color: #FFE24B;
}

.Thessia-sprint-hero-jump {
  border-color: rgba(255, 255, 255, 0.34);
  background-color: transparent;
  color: var(--bs-white);
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.Thessia-sprint-hero-jump:hover:not(:disabled):not(.disabled),
.Thessia-sprint-hero-jump:focus-visible,
.Thessia-sprint-hero-jump:focus:not(:disabled):not(.disabled),
.Thessia-sprint-hero-jump:active:not(:disabled):not(.disabled),
.Thessia-sprint-hero-jump.focus:not(:disabled):not(.disabled),
.Thessia-sprint-hero-jump.active:not(:disabled):not(.disabled) {
  background-color: #FFE24B;
  border-color: #FFE24B;
  color: #050510;
  box-shadow: none;
}

.Thessia-sprints-hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.025) 18%, transparent 36%),
    radial-gradient(ellipse at 50% 0%, #111108 0%, #0a0a11 52%, #050507 100%);
}

.Thessia-sprints-hero__divider {
  inset-inline: -1px;
  width: calc(100% + 2px) !important;
  max-width: none;
  display: block;
  pointer-events: none;
  backface-visibility: hidden;
}

.Thessia-sprints-hero__glow {
  background:
    radial-gradient(ellipse 64% 42% at 78% 18%, rgba(89, 97, 214, 0.12) 0%, transparent 48%),
    radial-gradient(ellipse 42% 32% at 20% 58%, rgba(255, 226, 75, 0.08) 0%, transparent 38%);
  pointer-events: none;
}

.Thessia-sprints-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(24rem, 78vw);
  height: 82%;
  pointer-events: none;
  z-index: 1;
}

.Thessia-sprints-hero__row {
  min-height: clamp(23rem, calc(100svh - 11rem), 30rem);
  align-items: center !important;
  padding-top: 7.35rem;
  padding-bottom: 4rem;
}

.Thessia-sprints-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.4;
  -webkit-mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.Thessia-sprints-hero__title {
  max-width: 42rem;
  margin-inline: auto;
  font-size: clamp(3.15rem, 7.2vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

@media (max-width: 991.98px) {
  .Thessia-sprints-hero__row {
    min-height: clamp(22rem, calc(100svh - 10.5rem), 25.5rem);
    padding-top: 6.85rem;
    padding-bottom: 3.2rem;
    align-items: center !important;
  }

  .Thessia-sprints-hero__title {
    max-width: 12.5ch;
    font-size: clamp(3rem, 10.4vw, 4.25rem);
  }

  .Thessia-sprints-hero__figure-wrap {
    left: 0;
    width: min(25rem, 86vw);
    height: 68%;
  }

  .Thessia-sprints-hero__figure {
    opacity: 0.26;
  }
}

@media (min-width: 992px) {
  .Thessia-sprints-hero__figure-wrap {
    left: max(1rem, 3vw);
    bottom: 0.25rem;
    width: clamp(24rem, 33vw, 39rem);
    height: 98%;
  }

  .Thessia-sprints-hero__figure {
    opacity: 0.54;
    -webkit-mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
  }

  .Thessia-sprints-hero__title {
    margin-inline: 0;
  }
}

.Thessia-sprint-anchor {
  scroll-margin-top: clamp(6.5rem, 12vh, 8.5rem);
}

.Thessia-sprint-card {
  border-radius: 1rem;
  padding-inline: clamp(1.35rem, 2vw, 1.9rem);
  padding-bottom: clamp(1.35rem, 1.8vw, 1.8rem);
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease;
}

.Thessia-sprint-card--highlight {
  animation: ThessiaSprintHighlight 1.25s ease-in-out 2;
  background:
    radial-gradient(circle at top center, rgba(255, 226, 75, 0.14), rgba(255, 226, 75, 0) 62%);
  box-shadow:
    0 0 0 1px rgba(255, 226, 75, 0.22),
    0 1.25rem 2.5rem rgba(5, 5, 16, 0.08);
}

@keyframes ThessiaSprintHighlight {
  0% {
    box-shadow:
      0 0 0 0 rgba(255, 226, 75, 0.36),
      0 1rem 2rem rgba(5, 5, 16, 0.06);
  }

  45% {
    box-shadow:
      0 0 0 14px rgba(255, 226, 75, 0.08),
      0 1.35rem 2.8rem rgba(5, 5, 16, 0.1);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(255, 226, 75, 0),
      0 1.25rem 2.5rem rgba(5, 5, 16, 0.08);
  }
}


.Thessia-btn-rise::after {
  display: none;
}

.Thessia-btn-rise .btn-rise-text {
  color: var(--bs-white);
}

.Thessia-btn-rise:focus-visible,
.Thessia-btn-rise:hover:not(:disabled):not(.disabled),
.Thessia-btn-rise:focus:not(:disabled):not(.disabled),
.Thessia-btn-rise:active:not(:disabled):not(.disabled),
.Thessia-btn-rise.focus:not(:disabled):not(.disabled),
.Thessia-btn-rise.active:not(:disabled):not(.disabled) {
  border-color: #FFE24B;
  box-shadow: none;
}

.Thessia-btn-rise:focus-visible .btn-rise-text,
.Thessia-btn-rise:hover:not(:disabled):not(.disabled) .btn-rise-text,
.Thessia-btn-rise:focus:not(:disabled):not(.disabled) .btn-rise-text,
.Thessia-btn-rise:active:not(:disabled):not(.disabled) .btn-rise-text,
.Thessia-btn-rise.focus:not(:disabled):not(.disabled) .btn-rise-text,
.Thessia-btn-rise.active:not(:disabled):not(.disabled) .btn-rise-text {
  color: var(--bs-dark);
}

/* Hero entrance animations — CSS-only, no AOS dependency (prevents flicker) */
@keyframes ThessiaHeroFadeUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ThessiaHeroFadeLeft {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.Thessia-home-hero-title {
  animation: ThessiaHeroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.Thessia-home-hero-body {
  animation: ThessiaHeroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.075s both;
}

.Thessia-home-hero__cta-motion {
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: ThessiaHeroFadeUp 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.Thessia-home-hero__visual {
  animation: ThessiaHeroFadeLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.125s both;
}

.Thessia-scroll-target {
  scroll-margin-top: 5.75rem;
}

.Thessia-proof-stage {
  position: relative;
}

.Thessia-proof-stage__approach {
  flex: 1 0 auto;
}

@media (min-width: 1200px) {
  .Thessia-proof-stage {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .Thessia-proof-stage__approach {
    display: flex;
    align-items: stretch;
  }

  .Thessia-proof-stage__approach > .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.Thessia-home-hero__visual {
  position: relative;
  min-height: 24.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 1rem;
}

.Thessia-home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 14% 2% 4% auto;
  width: min(34rem, 64vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(205, 165, 92, 0.22) 0%, rgba(205, 165, 92, 0.11) 24%, rgba(205, 165, 92, 0.03) 48%, rgba(5, 5, 10, 0) 72%);
  filter: blur(24px);
  opacity: 0.84;
  pointer-events: none;
}

.Thessia-home-hero__figure {
  position: relative;
  width: min(150vw, 48rem);
  max-width: none;
  height: auto;
  display: block;
  filter: drop-shadow(0 2.25rem 3rem rgba(0, 0, 0, 0.5));
  transform: translateX(12%);
  transform-origin: bottom right;
}

.Thessia-approach-title {
  font-size: clamp(2.3rem, 6.6vw, 3rem);
  line-height: 1.08;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.Thessia-approach-title-line--nowrap {
  white-space: nowrap;
}

.Thessia-story-copy__lead {
  font-size: clamp(1.28rem, 2.2vw, 1.48rem);
  line-height: 1.6;
}

.Thessia-story-copy__body {
  font-size: clamp(1.06rem, 1.35vw, 1.14rem);
  line-height: 1.78;
}

.Thessia-story-copy__closing {
  font-size: clamp(1.02rem, 1.3vw, 1.1rem);
  line-height: 1.68;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(var(--bs-body-color-rgb), 0.84);
  max-width: 30rem;
}

.Thessia-story-title {
  max-width: 14ch;
  text-wrap: pretty;
}

.Thessia-story-copy {
  max-width: 36rem;
}

.Thessia-story-section > .container {
  padding-top: 12.25rem;
}

.Thessia-story-media {
  aspect-ratio: 5 / 7;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.25rem;
}

.Thessia-story-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.Thessia-leadership-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 20, 0.08) 0%, rgba(8, 10, 20, 0.18) 100%);
  opacity: 1;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.Thessia-leadership-card__image {
  filter: grayscale(1) saturate(0.7) contrast(1.02);
  transition: filter 280ms ease, transform 400ms ease;
}

.Thessia-leadership-card:hover .Thessia-leadership-card__image,
.Thessia-leadership-card:focus-visible .Thessia-leadership-card__image,
.Thessia-leadership-card:focus-within .Thessia-leadership-card__image,
.Thessia-leadership-card:active .Thessia-leadership-card__image {
  filter: grayscale(0) saturate(1) contrast(1);
}

.Thessia-leadership-card:hover .Thessia-leadership-card__media::after,
.Thessia-leadership-card:focus-visible .Thessia-leadership-card__media::after,
.Thessia-leadership-card:focus-within .Thessia-leadership-card__media::after,
.Thessia-leadership-card:active .Thessia-leadership-card__media::after {
  opacity: 0;
}

.Thessia-testimonial-brand {
  display: block;
  width: auto;
  max-width: min(10rem, 42vw);
  max-height: 2.35rem;
  filter: none;
  opacity: 1;
  transition: transform 240ms ease;
}

.Thessia-testimonial-brand--inspectavio {
  max-width: min(14rem, 58vw);
  max-height: 3.3rem;
}

.Thessia-testimonial-brand--privacybastion {
  max-width: min(15rem, 62vw);
  max-height: 3.45rem;
}

.Thessia-testimonial-brand-text {
  display: inline-block;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #111114;
}

.Thessia-testimonial-card:hover .Thessia-testimonial-brand,
.Thessia-testimonial-card:focus-within .Thessia-testimonial-brand,
.Thessia-testimonial-card:focus-visible .Thessia-testimonial-brand {
  filter: none;
  opacity: 1;
}

/* ── Testimonial quote block (warm cream on dark) ── */

.Thessia-testimonial-quote {
  isolation: isolate;
  background-color: #1a1a20;
}

.Thessia-testimonial-quote > .Thessia-section-divider {
  height: 50px;
  transform-origin: center;
  will-change: transform;
}

.Thessia-testimonial-quote > .Thessia-section-divider--top {
  transform: rotateZ(180deg) scaleX(1.002) scaleY(1.06) !important;
}

.Thessia-testimonial-quote > .Thessia-section-divider--bottom {
  transform: scaleX(1.002) scaleY(1.06);
}

.Thessia-section-divider {
  display: block;
  left: -1px;
  width: calc(100% + 2px) !important;
  max-width: none;
  pointer-events: none;
  backface-visibility: hidden;
}

.Thessia-section-divider--top {
  top: -1px;
}

.Thessia-section-divider--bottom {
  bottom: -1px;
}

.Thessia-testimonial-quote blockquote p {
  color: #ffffff !important;
}

.Thessia-testimonial-quote figcaption h6 {
  color: #ffffff !important;
}

.Thessia-testimonial-quote figcaption small {
  color: rgba(255, 255, 255, 0.68) !important;
}

.Thessia-proof-strip__logo {
  display: block;
  width: auto;
  max-width: min(18rem, 74vw);
  max-height: 4rem;
  filter: none;
  opacity: 1;
  transition: transform 240ms ease;
}

.Thessia-proof-strip__logo--featured {
  max-width: min(22rem, 84vw);
  max-height: 5rem;
}

.Thessia-proof-strip__logo--inspectavio {
  max-width: min(23rem, 86vw);
  max-height: 5.25rem;
}

.Thessia-proof-strip__logo--vigiloiq {
  max-width: min(17.5rem, 70vw);
  max-height: 3.9rem;
}

.Thessia-proof-strip__logo--praderama {
  max-width: min(18rem, 72vw);
  max-height: 4.05rem;
}

.Thessia-proof-strip__logo--privacybastion {
  max-width: min(17rem, 68vw);
  max-height: 3.8rem;
  transform: translateY(.32rem);
}

.Thessia-proof-stage__strip .swiper-slide:hover .Thessia-proof-strip__logo,
.Thessia-proof-stage__strip .swiper-slide:focus-within .Thessia-proof-strip__logo,
.Thessia-proof-strip__logo:focus-visible {
  filter: none;
  opacity: 1;
}

.Thessia-proof-stage__strip .swiper-slide {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Thessia-proof-stage__strip .Thessia-proof-strip__slide--featured {
  padding-inline: .75rem;
}

.Thessia-proof-stage__strip .Thessia-proof-strip__slide--spaced {
  padding-inline: 1.35rem;
}

.Thessia-proof-stage__strip .Thessia-proof-strip__slide--privacybastion {
  padding-left: 2rem;
}

.Thessia-proof-stage__strip .swiper-slide .img-invert {
  width: auto;
  max-height: 2.9rem;
}

.Thessia-cta-stage {
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 98, 255, 0.18) 0%, rgba(84, 98, 255, 0.08) 18%, rgba(5, 5, 10, 0) 48%),
    #050507;
}

.Thessia-cta-stage__halo {
  width: min(42rem, 78vw);
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(133, 145, 255, 0.26) 0%, rgba(133, 145, 255, 0.08) 42%, rgba(5, 5, 10, 0) 72%);
  filter: blur(34px);
  opacity: 0.78;
  pointer-events: none;
}

.Thessia-brand-mark--cta {
  width: 2.7rem;
  height: auto;
}

.Thessia-cta-stage__content {
  margin-top: clamp(-2.25rem, -3.4vw, -1.25rem);
}

.Thessia-cta-stage__title {
  max-width: 22ch;
  font-size: clamp(1.4rem, 2.7vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.Thessia-cta-stage__image-wrap {
  max-width: 82rem;
  margin-top: 1.75rem;
}

.Thessia-cta-stage__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .Thessia-cta-stage__title {
    max-width: 18ch;
    font-size: clamp(1.65rem, 5.2vw, 2.15rem);
  }
}

.Thessia-sprints-more {
  background-color: var(--bs-tertiary-bg);
}

.Thessia-sprints-more__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2.75rem, 4vw, 3.75rem);
}

.Thessia-sprints-more__buffer {
  height: clamp(8.5rem, 13vw, 11rem);
}

.Thessia-sprints-more__divider {
  color: #050510;
  display: block;
  left: -1px;
  bottom: -1px;
  width: calc(100% + 2px);
  height: clamp(5.75rem, 8.5vw, 6.75rem);
  z-index: 1;
  pointer-events: none;
}

.Thessia-sprints-more__divider--wave4 {
  height: clamp(3.4rem, 5.2vw, 4.25rem);
}

.Thessia-sprints-final-cta {
  position: relative;
  z-index: 2;
  margin-top: -2px;
}

.Thessia-sprints-final-cta .Thessia-cta-stage {
  background:
    radial-gradient(ellipse 34rem 11rem at 16% 0%, rgba(84, 98, 255, 0.16) 0%, rgba(84, 98, 255, 0.06) 34%, rgba(5, 5, 10, 0) 72%),
    radial-gradient(ellipse 34rem 11rem at 84% 0%, rgba(84, 98, 255, 0.16) 0%, rgba(84, 98, 255, 0.06) 34%, rgba(5, 5, 10, 0) 72%),
    linear-gradient(180deg, #050510 0%, #070710 18%, #050507 100%);
}

.Thessia-sprints-final-cta .Thessia-cta-stage__halo {
  top: clamp(2.25rem, 4vw, 3.5rem) !important;
  width: min(46rem, 86vw);
  height: 10rem;
  background: radial-gradient(circle, rgba(133, 145, 255, 0.18) 0%, rgba(133, 145, 255, 0.06) 42%, rgba(5, 5, 10, 0) 72%);
  opacity: 0.62;
}

.Thessia-sprints-final-cta .Thessia-cta-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(6.75rem, 11vw, 8.5rem);
  background:
    radial-gradient(ellipse 30% 92% at 50% 0%, rgba(5, 5, 16, 1) 0%, rgba(5, 5, 16, 0.99) 42%, rgba(5, 5, 16, 0.9) 62%, rgba(5, 5, 16, 0.2) 84%, rgba(5, 5, 16, 0) 100%),
    linear-gradient(180deg, #050510 0%, rgba(5, 5, 16, 0.98) 32%, rgba(5, 5, 16, 0.8) 62%, rgba(5, 5, 16, 0) 100%);
  pointer-events: none;
}

.Thessia-gold-final-cta .Thessia-cta-stage,
.Thessia-ait-final-cta .Thessia-cta-stage {
  background:
    linear-gradient(180deg, #050510 0%, #070710 18%, #050507 100%);
}

.Thessia-gold-final-cta .Thessia-cta-stage__halo,
.Thessia-ait-final-cta .Thessia-cta-stage__halo {
  display: none;
}

.Thessia-gold-final-cta .Thessia-cta-stage::before,
.Thessia-ait-final-cta .Thessia-cta-stage::before {
  background:
    radial-gradient(ellipse 30% 92% at 50% 0%, rgba(5, 5, 16, 1) 0%, rgba(5, 5, 16, 0.99) 42%, rgba(5, 5, 16, 0.9) 62%, rgba(5, 5, 16, 0.2) 84%, rgba(5, 5, 16, 0) 100%),
    linear-gradient(180deg, #050510 0%, rgba(5, 5, 16, 0.98) 32%, rgba(5, 5, 16, 0.8) 62%, rgba(5, 5, 16, 0) 100%);
}

.Thessia-gold-final-cta .Thessia-cta-stage__image-wrap,
.Thessia-ait-final-cta .Thessia-cta-stage__image-wrap {
  position: relative;
}

.Thessia-gold-final-cta .Thessia-cta-stage__image-wrap::before,
.Thessia-ait-final-cta .Thessia-cta-stage__image-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: clamp(-3.25rem, -4.8vw, -2rem);
  transform: translateX(-50%);
  width: min(76rem, 112vw);
  height: clamp(18rem, 28vw, 22rem);
  background:
    radial-gradient(ellipse at 24% 82%, rgba(255, 236, 155, 0.065) 0%, rgba(255, 236, 155, 0.03) 22%, rgba(255, 236, 155, 0) 46%),
    radial-gradient(ellipse at 50% 46%, rgba(255, 236, 155, 0.14) 0%, rgba(255, 236, 155, 0.075) 30%, rgba(255, 236, 155, 0.028) 52%, rgba(255, 236, 155, 0) 76%),
    radial-gradient(ellipse at 76% 82%, rgba(255, 236, 155, 0.065) 0%, rgba(255, 236, 155, 0.03) 22%, rgba(255, 236, 155, 0) 46%);
  filter: blur(42px);
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.Thessia-gold-final-cta .Thessia-cta-stage__image-wrap::after,
.Thessia-ait-final-cta .Thessia-cta-stage__image-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(-0.5rem, 1vw, 0.5rem);
  transform: translateX(-50%);
  width: min(70rem, 104vw);
  height: clamp(11rem, 17vw, 14rem);
  background:
    radial-gradient(ellipse at 24% 52%, rgba(255, 236, 155, 0.045) 0%, rgba(255, 236, 155, 0.022) 34%, rgba(255, 236, 155, 0) 72%),
    radial-gradient(ellipse at 50% 52%, rgba(255, 236, 155, 0.065) 0%, rgba(255, 236, 155, 0.03) 38%, rgba(255, 236, 155, 0) 76%),
    radial-gradient(ellipse at 76% 52%, rgba(255, 236, 155, 0.045) 0%, rgba(255, 236, 155, 0.022) 34%, rgba(255, 236, 155, 0) 72%);
  filter: blur(34px);
  opacity: 0.68;
  pointer-events: none;
  z-index: 0;
}

.Thessia-gold-final-cta .Thessia-cta-stage__image,
.Thessia-ait-final-cta .Thessia-cta-stage__image {
  position: relative;
  z-index: 1;
}

  @media (max-width: 991.98px) {
    .Thessia-home-hero__grid {
      min-height: calc(100svh - 4rem);
      flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .Thessia-home-hero__content {
    padding-bottom: 0.5rem;
  }

  .Thessia-sprints-more__content {
    padding-bottom: 2rem;
  }

  .Thessia-sprints-more__buffer {
    height: 8rem;
  }

  .Thessia-sprints-more__divider {
    height: 5.75rem;
  }

  .Thessia-sprints-more__divider--wave4 {
    height: 3.1rem;
  }

  .Thessia-sprints-final-cta .Thessia-cta-stage::before {
    height: 6.5rem;
  }

  .Thessia-home-hero__visual {
    min-height: 0;
    padding-top: 0.5rem;
    margin-top: auto;
  }

  .Thessia-home-hero {
    background:
      radial-gradient(ellipse 36% 42% at 90% 76%, rgba(182, 137, 58, 0.10) 0%, rgba(182, 137, 58, 0.04) 24%, transparent 50%),
      linear-gradient(180deg, #060608 0%, #090913 58%, #050507 100%);
  }

  .Thessia-home-hero__glow {
    background:
      radial-gradient(ellipse 32% 24% at 90% 72%, rgba(205, 165, 92, 0.08) 0%, rgba(205, 165, 92, 0.03) 28%, transparent 52%);
  }

  .Thessia-home-hero__visual::before {
    inset: 36% -2% 8% auto;
    width: min(17rem, 46vw);
    filter: blur(18px);
    opacity: 0.72;
  }

    .Thessia-home-hero-title {
      font-size: clamp(3.08rem, 11.9vw, 4.2rem);
      line-height: 0.99;
      letter-spacing: -0.035em;
    }

  .Thessia-home-hero-body {
    font-size: clamp(1.18rem, 4.7vw, 1.38rem);
    line-height: 1.62;
  }

  .Thessia-home-hero__figure {
    width: min(178vw, 54rem);
    transform: translateX(24%) translateY(0.35rem);
  }
}

@media (min-width: 992px) {
  .Thessia-home-hero__shell {
    padding-inline: clamp(2rem, 4vw, 4.5rem);
  }

  .Thessia-home-hero__content {
    margin-left: 0;
    padding-top: 8rem;
    padding-bottom: 4rem;
    padding-right: 1.5rem;
  }

  .Thessia-home-hero-title {
    font-size: clamp(4.75rem, 6vw, 5.95rem);
    margin-left: 0;
    margin-right: 0;
    width: auto;
    max-width: none;
    padding-right: 0.28em;
    align-items: flex-start;
  }

  .Thessia-home-hero-title__line--primary,
  .Thessia-home-hero-title__line--secondary {
    text-align: left;
  }

  .Thessia-home-hero-body {
    max-width: 31rem;
    margin-left: 0;
    margin-right: 0;
  }

  .Thessia-home-hero__visual {
    min-height: calc(100svh - 4rem);
    justify-content: flex-end;
    padding-top: 3.25rem;
    padding-bottom: 0;
    overflow: visible;
  }

  .Thessia-home-hero__visual::before {
    inset: 16% 4% 8% auto;
    width: min(40rem, 36vw);
  }

  .Thessia-home-hero__figure {
    width: min(100%, 54rem);
    max-width: none;
    margin-right: -2.5rem;
    margin-bottom: -0.55rem;
    transform: none;
  }

  .Thessia-approach-title {
    font-size: 3.25rem;
  }

  .Thessia-approach-step-number--middle {
    left: 63% !important;
  }

  .Thessia-story-media {
    max-width: 39rem;
  }

  .Thessia-story-section > .container {
    padding-top: 15rem;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .Thessia-approach-title {
    font-size: clamp(2.8rem, 5vw, 3.35rem);
    line-height: 1.06;
  }
}

@media (min-width: 1200px) {
  .Thessia-home-hero__content {
    padding-top: 8.5rem;
    padding-right: 2.25rem;
  }

  .Thessia-home-hero-title {
    font-size: 6rem;
  }

  .Thessia-home-hero__figure {
    width: min(100%, 62rem);
    margin-right: -4rem;
    margin-bottom: -0.8rem;
  }

  .Thessia-story-title {
    margin-left: -7rem;
    max-width: 18.5ch;
  }

  .Thessia-story-copy {
    max-width: 75%;
    margin-left: -4rem;
  }
}

@media (min-width: 1600px) {
  .Thessia-home-hero-title {
    font-size: 6.25rem;
  }

  .Thessia-home-hero__figure {
    width: min(110%, 88rem);
    margin-right: -8rem;
    margin-bottom: -1.1rem;
  }
}

@media (min-width: 1900px) {
  .Thessia-home-hero-title {
    font-size: 6.55rem;
  }

  .Thessia-home-hero__figure {
    width: min(118%, 98rem);
    margin-right: -10rem;
    margin-bottom: -1.35rem;
  }

  .Thessia-sprints-hero .Thessia-aie-hero__figure-wrap {
    width: clamp(32rem, 41vw, 52rem);
    height: 98%;
    bottom: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .Thessia-sprints-hero .Thessia-aie-hero__figure-wrap {
    left: -2.5rem;
    width: min(29.25rem, 91vw);
    height: 74%;
    bottom: 1.95rem;
  }
}

@media (max-width: 575.98px) {
  .Thessia-sprints-hero .Thessia-aie-hero__figure-wrap {
    left: -1.85rem;
    width: min(27.25rem, 88vw);
    height: 69%;
    bottom: 2.15rem;
  }
}

  @media (max-width: 420px) {
  .Thessia-approach-title {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.1;
  }

  .Thessia-approach-title-line--nowrap {
    white-space: normal;
  }

    .Thessia-home-hero-title {
      font-size: clamp(2.55rem, 12.6vw, 3.42rem);
      line-height: 1;
      letter-spacing: -0.028em;
    }

  .Thessia-home-hero-body {
    font-size: 1.15rem;
  }

  .Thessia-home-hero__visual {
    min-height: 0;
  }

  .Thessia-home-hero__figure {
    width: min(186vw, 54rem);
    transform: translateX(28%) translateY(0.4rem);
  }

  .Thessia-home-hero__visual::before {
    inset: 38% -5% 10% auto;
    width: min(14rem, 42vw);
    filter: blur(16px);
    opacity: 0.68;
  }

}

@media (max-width: 575.98px) {
  html[lang="es"] .Thessia-home-hero-title {
    font-size: clamp(2.74rem, 11.95vw, 3.84rem);
    line-height: 0.97;
    letter-spacing: -0.02em;
    padding-right: 0;
  }

  html[lang="es"] .Thessia-home-hero-title__line--secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08em;
    white-space: normal;
  }

  html[lang="es"] .Thessia-home-hero-title__suffix,
  html[lang="es"] .Thessia-home-hero-title__accent {
    display: block;
  }

  html[lang="es"] .Thessia-home-hero-title__accent {
    padding-inline-end: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .Thessia-home-hero-title__accent {
      animation: none;
      background-position: 50% 50%;
  }

  .Thessia-home-hero-title,
  .Thessia-home-hero-body,
  .Thessia-home-hero__cta-motion,
  .Thessia-home-hero__visual {
      animation: none;
      opacity: 1;
  }
}

.Error404-page {
    min-height: 100svh;
    margin: 0;
    color: var(--bs-white);
    background:
      radial-gradient(ellipse 72% 52% at 72% 14%, rgba(99, 102, 241, 0.15) 0%, transparent 56%),
      radial-gradient(ellipse 58% 40% at 28% 100%, rgba(255, 226, 75, 0.06) 0%, transparent 70%),
      linear-gradient(180deg, #07070d 0%, #05050a 100%);
}

.Error404-stage {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
}

.Error404-stage__glow,
.Error404-stage__veil,
.Error404-stage__code {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.Error404-stage__glow {
    background:
      radial-gradient(circle at 78% 20%, rgba(129, 140, 248, 0.14), transparent 28%),
      radial-gradient(circle at 18% 78%, rgba(255, 226, 75, 0.05), transparent 24%);
    z-index: -3;
}

.Error404-stage__veil {
    background:
      linear-gradient(180deg, rgba(5, 5, 10, 0.08) 0%, rgba(5, 5, 10, 0.42) 100%),
      linear-gradient(90deg, rgba(5, 5, 10, 0.92) 0%, rgba(5, 5, 10, 0.66) 36%, rgba(5, 5, 10, 0.3) 100%);
    z-index: -2;
}

.Error404-stage__code {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(11rem, 26vw, 22rem);
    font-weight: 700;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.045);
    user-select: none;
    z-index: -1;
}

.Error404-shell {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(2rem, 7vw, 4rem);
    padding-bottom: clamp(2rem, 7vw, 4rem);
}

.Error404-content {
    position: relative;
    z-index: 1;
    width: min(100%, 42rem);
    text-align: center;
}

.Error404-mark {
    width: 2.5rem;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 0.8rem rgba(255, 226, 75, 0.14));
}

.Error404-eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.Error404-title {
    margin: 0 0 1rem;
    font-size: clamp(2.6rem, 8vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 600;
    color: var(--bs-white);
    text-wrap: balance;
}

.Error404-body {
    max-width: 34rem;
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
}

.Error404-cta {
    min-width: 12rem;
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 1085;
    display: none;
    align-items: flex-end;
    gap: 0.85rem;
    width: min(100% - 2rem, 25rem);
    padding: 0.85rem 0.95rem 0.85rem 1rem;
    border: 1px solid rgba(255, 226, 75, 0.22);
    border-radius: 1rem;
    background: rgba(5, 5, 7, 0.96);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cookie-consent-banner__copy {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.38;
    font-weight: 500;
    color: #ffffff;
}

.cookie-consent-banner__link {
    color: #ffe24b;
    text-decoration: none;
}

.cookie-consent-banner__link:hover,
.cookie-consent-banner__link:focus-visible {
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
}

.cookie-consent-banner__action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.75rem 0.82rem;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cookie-consent-banner__action:not(.cookie-consent-banner__action--secondary) {
    background: #ffe24b;
    color: #050507;
}

.cookie-consent-banner__action:not(.cookie-consent-banner__action--secondary):hover,
.cookie-consent-banner__action:not(.cookie-consent-banner__action--secondary):focus-visible {
    background: #f6d63d;
    color: #050507;
    transform: translateY(-1px);
}

.cookie-consent-banner__action--secondary {
    background: transparent;
    border-color: rgba(255, 226, 75, 0.42);
    color: #ffffff;
}

.cookie-consent-banner__action--secondary:hover,
.cookie-consent-banner__action--secondary:focus-visible {
    background: rgba(255, 226, 75, 0.12);
    border-color: rgba(255, 226, 75, 0.68);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .Error404-stage__code {
        font-size: clamp(7rem, 36vw, 10rem);
        transform: translateY(10%);
    }

    .Error404-mark {
        width: 2.15rem;
        margin-bottom: 1.25rem;
    }

    .Error404-eyebrow {
        margin-bottom: 0.75rem;
    }

    .Error404-body {
        margin-bottom: 1.65rem;
    }

    .cookie-consent-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.85rem 0.9rem;
    }

    .cookie-consent-banner__copy {
        font-size: 0.88rem;
    }

    .cookie-consent-banner__actions {
        width: 100%;
    }

    .cookie-consent-banner__action {
        flex: 1 1 0;
        padding: 0.72rem 0.8rem;
    }
}

.Thessia-text-gradient-gold {
  color: #FFE24B;
  -webkit-text-fill-color: currentColor;
}

.Thessia-text-gradient-gold-dark {
  color: #c99a00;
  -webkit-text-fill-color: currentColor;
}

/* ── Contact hero ── */

.Thessia-contact-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 58%, rgba(255, 226, 75, 0.038) 0%, rgba(255, 226, 75, 0.012) 15%, transparent 25%),
    radial-gradient(circle at 84% 18%, rgba(99, 102, 241, 0.05) 0%, transparent 24%),
    linear-gradient(135deg, #06060b 0%, #050507 54%, #090913 100%);
}

.Thessia-contact-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 66%, rgba(255, 226, 75, 0.072) 0%, rgba(255, 226, 75, 0.018) 18%, transparent 30%),
    radial-gradient(circle at 70% 64%, rgba(255, 226, 75, 0.018) 0%, transparent 22%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 34%);
  pointer-events: none;
}

.Thessia-contact-hero__lead {
  max-width: 33rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.Thessia-contact-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-contact-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(20rem, 68vw);
  height: 70%;
  pointer-events: none;
  z-index: 1;
}

.Thessia-contact-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.34;
  -webkit-mask-image:
    linear-gradient(to right, black 55%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 18%);
  mask-image:
    linear-gradient(to right, black 55%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 18%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 992px) {
  .Thessia-contact-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-contact-hero__figure-wrap {
    left: max(1rem, 4vw);
    bottom: 0.5rem;
    width: clamp(21.5rem, 33vw, 37rem);
    height: 100%;
  }

  .Thessia-contact-hero__figure {
    opacity: 0.72;
    -webkit-mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
  }
}

@media (max-width: 991.98px) {
  .Thessia-contact-hero__row {
    min-height: clamp(28rem, calc(100svh - 8.5rem), 32rem);
  }

  .Thessia-contact-hero__figure-wrap {
    width: min(19rem, 75vw);
    height: 61%;
  }

  .Thessia-contact-hero__lead {
    font-size: 1.12rem;
    line-height: 1.6;
  }
}

@media (max-width: 575.98px) {
  .Thessia-contact-hero__figure-wrap {
    left: -0.35rem;
    bottom: 2rem;
    width: min(21.4rem, 85vw);
    height: 67%;
  }

  .Thessia-contact-hero__figure {
    opacity: 0.38;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .Thessia-contact-hero__lead {
    max-width: 25rem;
    margin-inline: 0;
    font-size: clamp(1.1rem, 1.7vw, 1.24rem);
    line-height: 1.58;
  }
}

/* ── AI hero ── */

.Thessia-ai-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 52%, rgba(255, 226, 75, 0.08) 0%, rgba(255, 226, 75, 0.02) 16%, transparent 32%),
    radial-gradient(ellipse at 50% 0%, #0a0a0a 0%, #080812 50%, #050510 100%);
}

.Thessia-ai-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 38% 44% at 14% 54%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.02) 20%, transparent 36%);
  pointer-events: none;
}

/* ── Figure: mobile-first (bottom-center, behind text) ── */

.Thessia-ai-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(24rem, 76vw);
  height: 68%;
  pointer-events: none;
  z-index: 1;
  animation: ThessiaHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.Thessia-ai-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-ai-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.42;
  -webkit-mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (max-width: 991.98px) {
  .Thessia-ai-hero__figure-wrap {
    left: -0.75rem;
    bottom: 0.95rem;
    width: min(27.5rem, 88vw);
    height: 74%;
  }
}

/* ── Desktop: reposition to left side ── */

@media (min-width: 992px) {
  .Thessia-ai-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-ai-hero__figure-wrap {
    left: max(1rem, 3vw);
    bottom: 1.5rem;
    width: clamp(24rem, 36vw, 44rem);
    height: 94%;
  }

  .Thessia-ai-hero__figure {
    left: 0;
    object-position: left bottom;
    opacity: 0.58;
    -webkit-mask-image:
      linear-gradient(to right, black 56%, transparent 100%),
      linear-gradient(to top,   transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 56%, transparent 100%),
      linear-gradient(to top,   transparent 0%, black 14%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
}

@media (min-width: 1400px) {
  .Thessia-ai-hero__figure-wrap {
    width: clamp(28rem, 38vw, 48rem);
  }

  .Thessia-ai-hero__figure {
    opacity: 0.62;
  }
}

  @media (prefers-reduced-motion: reduce) {
    .Thessia-ai-hero__figure-wrap {
      animation: none;
    }
  }

  /* ── Case studies hero ── */

  .Thessia-case-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 16% 54%, rgba(255, 226, 75, 0.08) 0%, rgba(255, 226, 75, 0.02) 16%, transparent 32%),
      radial-gradient(ellipse at 50% 0%, #0a0a0a 0%, #080812 50%, #050510 100%);
  }

  .Thessia-case-hero__glow {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 38% 44% at 16% 56%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.02) 20%, transparent 36%);
    pointer-events: none;
  }

  .Thessia-case-hero__figure-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(24rem, 76vw);
    height: 68%;
    pointer-events: none;
    z-index: 1;
  }

  .Thessia-case-hero__row {
    min-height: clamp(28rem, calc(100svh - 10rem), 32rem);
    align-items: center !important;
  }

  .Thessia-case-hero__figure {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
    opacity: 0.4;
    -webkit-mask-image:
      linear-gradient(to right, black 68%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 16%);
    mask-image:
      linear-gradient(to right, black 68%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 16%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .Thessia-case-hero__title {
    max-width: 34rem;
    text-wrap: balance;
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .Thessia-case-hero__accent {
    color: #FFE24B;
  }

  .Thessia-case-hero__lead {
    max-width: 33rem;
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
  }

  @media (min-width: 992px) {
    .Thessia-case-hero__figure-wrap {
      left: max(1rem, 3vw);
      bottom: 0.25rem;
      width: clamp(24rem, 34vw, 42rem);
      height: 92%;
    }

    .Thessia-case-hero__figure {
      opacity: 0.56;
      -webkit-mask-image:
        linear-gradient(to right, black 56%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 14%);
      mask-image:
        linear-gradient(to right, black 56%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 14%);
      -webkit-mask-composite: source-in;
      mask-composite: intersect;
    }
  }

  @media (max-width: 991.98px) {
    .Thessia-case-hero__row {
      min-height: clamp(26rem, calc(100svh - 9rem), 30rem);
      align-items: flex-start !important;
    }

    .Thessia-case-hero__figure-wrap {
      left: 0;
      width: min(25rem, 82vw);
      height: 69%;
    }

    .Thessia-case-hero__figure {
      opacity: 0.34;
    }

    .Thessia-case-hero__lead {
      font-size: 1.12rem;
      line-height: 1.6;
    }
  }

  .Thessia-case-story {
    border-color: rgba(14, 14, 18, 0.08);
    background: #fff;
  }

  .Thessia-case-story__brand {
    background: linear-gradient(180deg, #f2f3f7 0%, #eceff4 100%);
  }

  .Thessia-case-story__logo {
    display: block;
    width: min(100%, 16.5rem);
    max-height: 4.25rem;
    height: auto;
    object-fit: contain;
  }

  .Thessia-case-story__name {
    color: #111114;
  }

  .Thessia-case-story__label {
    color: rgba(17, 17, 20, 0.58);
  }

  .Thessia-case-story .card-body,
  .Thessia-case-story .card-body p,
  .Thessia-case-story .card-body h5 {
    color: #111114;
  }

  .Thessia-case-story .card-body small {
    color: rgba(17, 17, 20, 0.68);
  }

  .Thessia-case-story__icon-wrap {
    filter: drop-shadow(0 1rem 2rem rgba(13, 13, 17, 0.10));
  }

  .Thessia-case-story__icon-shape {
    color: #FFE24B;
  }

  .Thessia-case-story__icon {
    color: #111114;
  }

  .Thessia-case-story__link {
    color: var(--bs-dark);
    transition: color 180ms ease;
  }

  .Thessia-case-story__link:hover,
  .Thessia-case-story__link:focus {
    color: #c99a00;
  }

  .Thessia-case-cta {
    background-color: #FFE24B;
    color: #111114;
  }

  .Thessia-case-detail-related {
    background-color: #ffea73;
    color: #111114;
  }

  .Thessia-case-cta__button {
    --bs-btn-color: #fff;
    --bs-btn-bg: #050507;
    --bs-btn-border-color: #050507;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #22222a;
    --bs-btn-hover-border-color: #22222a;
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a1a20;
    --bs-btn-active-border-color: #1a1a20;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #050507;
    --bs-btn-disabled-border-color: #050507;
    --bs-btn-box-shadow: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  }

  .Thessia-case-cta__button:hover,
  .Thessia-case-cta__button:focus-visible,
  .Thessia-case-cta__button:focus {
    color: #fff;
    background-color: #22222a;
    border-color: #22222a;
    box-shadow:
      0 0 0 0.16rem rgba(255, 255, 255, 0.28),
      0 0.9rem 2rem rgba(5, 5, 7, 0.14);
  }

  .Thessia-case-cta__button:active,
  .Thessia-case-cta__button.active {
    color: #fff;
    background-color: #1a1a20;
    border-color: #1a1a20;
    box-shadow:
      0 0 0 0.12rem rgba(255, 255, 255, 0.22),
      0 0.45rem 1rem rgba(5, 5, 7, 0.12);
  }

  .Thessia-case-detail-hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 18%, transparent 42%),
      linear-gradient(135deg, #fff2a6 0%, #ffe24b 44%, #ffd63b 100%);
    color: #111114;
  }

  .Thessia-case-detail-hero__ripple {
    width: 80%;
    height: 80%;
    pointer-events: none;
  }

  .Thessia-case-detail-hero__ripple-layer--outer {
    fill: #d4b123;
    opacity: 0.34;
  }

  .Thessia-case-detail-hero__ripple-layer--middle {
    fill: #e8cb3b;
    opacity: 0.42;
  }

  .Thessia-case-detail-hero__ripple-layer--inner {
    fill: #fff2ad;
    opacity: 0.55;
  }

  .Thessia-case-detail-hero__badge {
    background-color: #111114;
    color: #fff;
    border: 1px solid rgba(17, 17, 20, 0.15);
    box-shadow: 0 0.75rem 1.5rem rgba(17, 17, 20, 0.1);
  }

  .Thessia-case-detail-hero__title {
    color: #111114;
    letter-spacing: -0.04em;
    line-height: 1.04;
    text-wrap: balance;
  }

  .Thessia-case-detail-hero__body {
      max-width: 43rem;
      margin-inline: auto;
      color: rgba(17, 17, 20, 0.74);
      font-size: clamp(1.08rem, 1.7vw, 1.34rem);
      line-height: 1.58;
    }

  .Thessia-case-detail__brand {
      color: #111114;
    }

  .Thessia-case-detail__brand-logo {
      display: block;
      width: min(100%, 16.5rem);
      max-height: 4.25rem;
      height: auto;
      margin-inline: auto;
      object-fit: contain;
    }


  .Thessia-case-detail__surface {
      background-color: #fbfbfd;
    }

  .Thessia-case-detail__icon,
  .Thessia-case-detail__quote-icon {
      color: #111114;
    }

  .Thessia-case-detail__list-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      width: 2rem;
      height: 2rem;
      border-radius: 999px;
      background: #FFE24B;
      color: #080713;
      font-size: 1rem !important;
      line-height: 1;
      margin-top: 0.1rem;
    }

  .Thessia-case-detail__highlights-title {
      color: #111114;
    }

    /* ── Training hero ── */

.Thessia-gws-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 52%, rgba(255, 226, 75, 0.09) 0%, rgba(255, 226, 75, 0.025) 18%, transparent 34%),
    radial-gradient(ellipse at 50% 0%, #0a0a0a 0%, #080812 50%, #050510 100%);
}

.Thessia-gws-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 44% at 15% 52%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.02) 20%, transparent 36%);
  pointer-events: none;
}

.Thessia-gws-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(24rem, 80vw);
  height: 70%;
  pointer-events: none;
  z-index: 1;
  animation: ThessiaHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.Thessia-gws-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-gws-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.46;
  -webkit-mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 992px) {
  .Thessia-gws-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-gws-hero__figure-wrap {
    left: max(1rem, 3vw);
    bottom: 0.75rem;
    width: clamp(30rem, 40vw, 48rem);
    height: 100%;
  }

  .Thessia-gws-hero__figure {
    opacity: 0.7;
    -webkit-mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
  }
}

@media (min-width: 1400px) {
  .Thessia-gws-hero__figure-wrap {
    width: clamp(33rem, 43vw, 54rem);
  }

  .Thessia-gws-hero__figure {
    opacity: 0.74;
  }
}

.Thessia-gws-why__media {
  position: relative;
}

.Thessia-gws-why__image {
  display: inline-block;
  width: min(100%, 38rem);
  height: auto;
  filter: grayscale(1) saturate(0) contrast(0.96) opacity(0.92)
    drop-shadow(0 1.75rem 2.75rem rgba(17, 17, 20, 0.16));
  transition: filter 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.Thessia-gws-why__image:hover,
.Thessia-gws-why__image:focus-visible {
  filter: grayscale(0) saturate(1) contrast(1)
    drop-shadow(0 1.75rem 2.75rem rgba(17, 17, 20, 0.16));
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .Thessia-gws-why__image {
    width: min(100%, 41rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .Thessia-gws-hero__figure-wrap {
    animation: none;
  }
}

/* ── AI Engineering hero (page-specific, AI-like composition) ── */

.Thessia-aie-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 226, 75, 0.10) 0%, rgba(255, 226, 75, 0.025) 18%, transparent 34%),
    radial-gradient(ellipse at 50% 0%, #0a0a0a 0%, #080812 50%, #050510 100%);
}

.Thessia-aie-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 46% at 15% 53%, rgba(255, 226, 75, 0.12) 0%, rgba(255, 226, 75, 0.025) 20%, transparent 38%);
  pointer-events: none;
}

.Thessia-aie-hero__figure-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(28rem, 84vw);
  height: 76%;
  pointer-events: none;
  z-index: 1;
  animation: ThessiaHeroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.Thessia-aie-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-aie-hero__copy {
  animation: ThessiaHeroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.Thessia-aie-hero__figure {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.46;
  -webkit-mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  mask-image:
    linear-gradient(to right, black 68%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 16%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 992px) {
  .Thessia-aie-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-aie-hero__figure-wrap {
    left: max(1rem, 3vw);
    bottom: 0.75rem;
    width: clamp(32rem, 43vw, 54rem);
    height: 100%;
  }

  .Thessia-aie-hero__figure {
    opacity: 0.72;
    -webkit-mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to right, black 58%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
  }
}

@media (min-width: 1400px) {
  .Thessia-aie-hero__figure-wrap {
    width: clamp(35rem, 45vw, 58rem);
  }

  .Thessia-aie-hero__figure {
    opacity: 0.76;
  }
}

@media (max-width: 991.98px) {
  .Thessia-aie-hero__figure-wrap {
    left: -3.75rem;
    width: min(31rem, 95vw);
    height: 81%;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .Thessia-aie-hero__figure-wrap {
    animation: none;
  }
}

/* ── Data Analytics hero ── */

.Thessia-data-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 0%, #12120a 0%, #0d0d1a 50%, #050510 100%);
}

.Thessia-data-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 46%, rgba(255, 226, 75, 0.12) 0%, rgba(255, 226, 75, 0.03) 20%, transparent 38%);
  pointer-events: none;
}

.Thessia-data-hero__figure-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(24rem, 78vw);
  height: 74%;
  pointer-events: none;
  z-index: 1;
}

.Thessia-data-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-data-hero__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.42;
  -webkit-mask-image:
    linear-gradient(to left, black 56%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 18%);
  mask-image:
    linear-gradient(to left, black 56%, transparent 100%),
    linear-gradient(to top, transparent 0%, black 18%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 992px) {
  .Thessia-data-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-data-hero__figure-wrap {
    right: max(1rem, 3vw);
    bottom: 0.75rem;
    width: clamp(25rem, 34vw, 42rem);
    height: 98%;
  }

  .Thessia-data-hero__figure {
    opacity: 0.68;
    -webkit-mask-image:
      linear-gradient(to left, black 54%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
    mask-image:
      linear-gradient(to left, black 54%, transparent 100%),
      linear-gradient(to top, transparent 0%, black 14%);
  }
}

@media (min-width: 1400px) {
  .Thessia-data-hero__figure-wrap {
    width: clamp(28rem, 36vw, 46rem);
  }

  .Thessia-data-hero__figure {
    opacity: 0.72;
  }
}

@media (max-width: 575.98px) {
  .Thessia-data-hero__figure-wrap {
    right: -0.35rem;
    bottom: 1.45rem;
    width: min(24rem, 79vw);
    height: 72%;
  }
}

.Thessia-data-tools {
  background-color: #FFE24B;
}

.Thessia-data-tools__image {
  display: block;
  margin-inline: auto;
  margin-top: -0.4rem;
  filter: grayscale(1) saturate(0) contrast(0.96) opacity(0.92);
  transition: filter 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.Thessia-data-tools__image:hover,
.Thessia-data-tools__image:focus-visible {
  filter: grayscale(0) saturate(1) contrast(1);
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 992px) {
  .Thessia-data-tools__image {
    margin-top: -1.75rem;
  }
}

/* ── AI path chooser ── */

.Thessia-ai-paths {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.Thessia-ai-paths__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 38% at 18% 24%, rgba(212, 168, 0, 0.05) 0%, transparent 54%),
    radial-gradient(ellipse 32% 28% at 80% 70%, rgba(212, 168, 0, 0.03) 0%, transparent 52%);
  pointer-events: none;
}

.Thessia-ai-paths__grid {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.Thessia-ai-paths__lane {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.Thessia-ai-paths__lane::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.5rem;
  height: 2px;
  background: #d4a800;
}

.Thessia-ai-paths__lane--split {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.Thessia-ai-paths__signal {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
  color: var(--bs-secondary-color);
  line-height: 1.6;
}

.Thessia-ai-paths__signal::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #d4a800;
}

/* Gold-accent links (light bg → dark default, gold hover) */
.Thessia-link-dark-gold {
  color: var(--bs-dark);
  transition: color 180ms ease;
}

.Thessia-link-dark-gold:hover,
.Thessia-link-dark-gold:focus {
  color: #d4a800;
}

/* Gold links (dark bg → gold default, white hover) */
.Thessia-link-gold {
  color: #FFE24B !important;
  transition: color 180ms ease;
}

.Thessia-link-gold:hover,
.Thessia-link-gold:focus {
  color: #fff !important;
}

/* Focused sprint accents (dark bg, softer gold hierarchy) */
.Thessia-focused-sprint__kicker {
  color: rgba(233, 216, 145, 0.82);
}

.Thessia-focused-sprint__link {
  color: #d8ba46 !important;
  transition: color 180ms ease;
}

.Thessia-focused-sprint__link:hover,
.Thessia-focused-sprint__link:focus {
  color: #FFE24B !important;
}

@media (min-width: 992px) {
  .Thessia-ai-paths__lane {
    min-height: 100%;
    padding-top: 2.4rem;
    padding-bottom: 0.75rem;
  }

  .Thessia-ai-paths__lane--split {
    border-top: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }
}

/* ── Why you need us card ── */

.Thessia-why-card {
  background: #FFE24B;
  color: #1a1a1a;
}

.Thessia-why-card__points {
  border-left: 2px solid rgba(0, 0, 0, 0.15);
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .Thessia-why-card__points {
    border-left: 0;
    padding-left: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    padding-top: 1.5rem;
  }
}

/* ── AI Transformation hero ── */

.Thessia-ait-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 0%, #12120a 0%, #0d0d1a 50%, #050510 100%);
}

.Thessia-ait-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 48%, rgba(255, 226, 75, 0.14) 0%, rgba(255, 226, 75, 0.03) 20%, transparent 38%);
  pointer-events: none;
}

/* ── AI Transformation hero figure: absolutely positioned on the right ── */

.Thessia-ait-hero__figure-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(25rem, 80vw);
  height: 76%;
  pointer-events: none;
  z-index: 1;
}

.Thessia-ait-hero__row {
  min-height: clamp(28rem, calc(100svh - 8rem), 33rem);
  align-items: flex-start !important;
}

.Thessia-ait-hero__figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 1.5rem 2.5rem rgba(0, 0, 0, 0.45));
  opacity: 0.4;
  -webkit-mask-image:
    linear-gradient(to left, black 55%, transparent 100%),
    linear-gradient(to top,  transparent 0%, black 18%);
  mask-image:
    linear-gradient(to left, black 55%, transparent 100%),
    linear-gradient(to top,  transparent 0%, black 18%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (min-width: 992px) {
  .Thessia-ait-hero__row {
    min-height: clamp(34rem, calc(100svh - 8rem), 39rem);
    align-items: center !important;
  }

  .Thessia-ait-hero__figure-wrap {
    right: max(0.75rem, 2.5vw);
    bottom: 0.75rem;
    width: clamp(34rem, 49vw, 58rem);
    height: 102%;
  }

  .Thessia-ait-hero__figure {
    opacity: 0.78;
    -webkit-mask-image:
      linear-gradient(to left, black 64%, transparent 100%),
      linear-gradient(to top,  transparent 0%, black 10%);
    mask-image:
      linear-gradient(to left, black 64%, transparent 100%),
      linear-gradient(to top,  transparent 0%, black 10%);
  }
}

@media (max-width: 991.98px) {
  .Thessia-ait-hero__figure-wrap {
    right: -0.9rem;
    width: min(31rem, 96vw);
    height: 84%;
    bottom: 1.1rem;
  }
}

@media (min-width: 1400px) {
  .Thessia-ait-hero__figure-wrap {
    width: clamp(38rem, 50vw, 62rem);
  }
}

/* ── Strategy / Execution phases ── */

.Thessia-phase-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: #d4a800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.Thessia-phase-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.Thessia-phase-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  max-width: 52ch;
}

.Thessia-phase-child {
  border-left: 3px solid rgba(212, 168, 0, 0.25);
  padding-left: 1.25rem;
}

.Thessia-phase-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 168, 0, 0.3) 20%, rgba(212, 168, 0, 0.3) 80%, transparent 100%);
  margin: 0;
  opacity: 1;
}

@media (min-width: 992px) {
  .Thessia-phase-child {
    padding-left: 1.5rem;
  }
}
