.sxtp-section,
.sxtp-section * {
  box-sizing: border-box;
}

.sxtp-section {
  --sxtp-bg: #fbfafa;
  --sxtp-heading: #111111;
  --sxtp-body: #1c1c1c;
  --sxtp-item-title: #111111;
  width: 100%;
  overflow: hidden;
  background: var(--sxtp-bg);
  color: var(--sxtp-body);
  position: relative;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.sxtp-inner {
  width: min(100%, 2048px);
  margin: 0 auto;
  padding: 88px 28px 150px;
}

.sxtp-header {
  width: min(1120px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.sxtp-heading {
  margin: 0;
  color: var(--sxtp-heading);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(42px, 2.72vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-transform: uppercase;
}

/* Intentionally fixed/non-editable to match the requested reference detail. */
.sxtp-divider {
  display: block;
  width: 86px;
  height: 3px;
  margin: 31px auto 27px;
  background: #f1c40f;
  border-radius: 999px;
}

.sxtp-intro {
  width: min(1060px, 100%);
  margin: 0 auto;
  color: var(--sxtp-body);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.12vw, 22px);
  line-height: 1.46;
  font-weight: 400;
}

.sxtp-process {
  width: min(1540px, 100%);
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(20px, 2vw, 42px);
}

.sxtp-item {
  --circle-size: 238px;
  --shift-y: 0px;
  min-width: 0;
  text-align: center;
  transform: translate3d(0, var(--shift-y), 0);
}

.sxtp-item-1 { --shift-y: 148px; }
.sxtp-item-2 { --shift-y: 112px; }
.sxtp-item-3 { --circle-size: 338px; --shift-y: 0px; }
.sxtp-item-4 { --shift-y: 58px; }

.sxtp-circle-shell {
  width: var(--circle-size);
  height: var(--circle-size);
  margin: 0 auto;
  padding: 11px;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 50%;
  position: relative;
  background: transparent;
  transform: translateZ(0);
}

.sxtp-circle-media {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #ececec;
  position: relative;
}

.sxtp-circle-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.02);
  pointer-events: none;
}

.sxtp-circle-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01) translateZ(0);
  transition: transform 900ms cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}

.sxtp-item:hover .sxtp-circle-media img {
  transform: scale(1.055) translateZ(0);
}

.sxtp-number {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%) rotate(-4deg);
  color: #ffffff;
  font-family: "Permanent Marker", "Brush Script MT", "Segoe Print", cursive;
  font-size: calc(var(--circle-size) * .26);
  line-height: 1;
  font-weight: 400;
  text-shadow: 0 2px 7px rgba(0,0,0,.08);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.sxtp-item-copy {
  width: min(100%, 285px);
  margin: 33px auto 0;
}

.sxtp-item-3 .sxtp-item-copy {
  margin-top: 34px;
}

.sxtp-item-title {
  margin: 0;
  color: var(--sxtp-item-title);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(19px, 1.15vw, 23px);
  line-height: 1.22;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.sxtp-item-text {
  margin: 13px auto 0;
  color: var(--sxtp-body);
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: clamp(15px, .9vw, 18px);
  line-height: 1.5;
  font-weight: 400;
}

/* Premium reveal without adding scroll-jank or heavy libraries. */
.sxtp-section.sxtp-ready .sxtp-reveal {
  opacity: 0;
  transition:
    opacity 700ms cubic-bezier(.2,.7,.2,1),
    transform 900ms cubic-bezier(.18,.72,.22,1);
}

.sxtp-section.sxtp-ready .sxtp-header.sxtp-reveal {
  transform: translate3d(0, 24px, 0);
}

.sxtp-section.sxtp-ready .sxtp-item.sxtp-reveal {
  transform: translate3d(0, calc(var(--shift-y) + 28px), 0);
  transition-delay: var(--sxtp-delay, 0ms);
}

.sxtp-section.sxtp-ready .sxtp-reveal.sxtp-visible {
  opacity: 1;
}

.sxtp-section.sxtp-ready .sxtp-header.sxtp-visible {
  transform: translate3d(0, 0, 0);
}

.sxtp-section.sxtp-ready .sxtp-item.sxtp-visible {
  transform: translate3d(0, var(--shift-y), 0);
}

@media (max-width: 1600px) {
  .sxtp-inner {
    padding-top: 84px;
    padding-bottom: 136px;
  }

  .sxtp-process {
    width: min(1260px, 100%);
    margin-top: 80px;
    gap: 26px;
  }

  .sxtp-item { --circle-size: 212px; }
  .sxtp-item-1 { --shift-y: 112px; }
  .sxtp-item-2 { --shift-y: 82px; }
  .sxtp-item-3 { --circle-size: 296px; --shift-y: 0px; }
  .sxtp-item-4 { --shift-y: 45px; }
}

@media (max-width: 1366px) {
  .sxtp-inner {
    padding: 74px 24px 126px;
  }

  .sxtp-header {
    width: min(950px, 92vw);
  }

  .sxtp-heading {
    font-size: clamp(38px, 3.25vw, 46px);
  }

  .sxtp-divider {
    margin-top: 25px;
    margin-bottom: 23px;
    width: 76px;
  }

  .sxtp-intro {
    width: min(900px, 100%);
    font-size: 18px;
  }

  .sxtp-process {
    width: min(1120px, 100%);
    margin-top: 72px;
    gap: 18px;
  }

  .sxtp-item { --circle-size: 188px; }
  .sxtp-item-1 { --shift-y: 92px; }
  .sxtp-item-2 { --shift-y: 66px; }
  .sxtp-item-3 { --circle-size: 258px; --shift-y: 0px; }
  .sxtp-item-4 { --shift-y: 38px; }

  .sxtp-circle-shell { padding: 9px; }
  .sxtp-item-copy { margin-top: 27px; width: min(100%, 250px); }
  .sxtp-item-title { font-size: 19px; }
  .sxtp-item-text { font-size: 15px; margin-top: 10px; }
}

/* Xtrail's process switches to a stacked layout at tablet width; keep the same responsive behaviour. */
@media (max-width: 1024px) {
  .sxtp-inner {
    padding: 66px 24px 90px;
  }

  .sxtp-header {
    width: min(760px, 100%);
  }

  .sxtp-heading {
    font-size: clamp(36px, 6vw, 50px);
  }

  .sxtp-intro {
    width: min(700px, 100%);
    font-size: 18px;
  }

  .sxtp-process {
    width: min(520px, 100%);
    margin-top: 68px;
    display: flex;
    flex-direction: column;
    gap: 68px;
  }

  .sxtp-item,
  .sxtp-item-1,
  .sxtp-item-2,
  .sxtp-item-3,
  .sxtp-item-4 {
    --shift-y: 0px;
    --circle-size: 236px;
    transform: none;
  }

  .sxtp-item-3 { --circle-size: 286px; }

  .sxtp-item-copy {
    width: min(390px, 100%);
    margin-top: 28px;
  }

  .sxtp-item-title { font-size: 22px; }
  .sxtp-item-text { font-size: 17px; }

  .sxtp-section.sxtp-ready .sxtp-item.sxtp-reveal {
    transform: translate3d(0, 28px, 0);
  }

  .sxtp-section.sxtp-ready .sxtp-item.sxtp-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 600px) {
  .sxtp-inner {
    padding: 56px 18px 74px;
  }

  .sxtp-heading {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.12;
  }

  .sxtp-divider {
    width: 70px;
    margin: 23px auto 21px;
  }

  .sxtp-intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .sxtp-process {
    margin-top: 56px;
    gap: 58px;
  }

  .sxtp-item,
  .sxtp-item-1,
  .sxtp-item-2,
  .sxtp-item-4 {
    --circle-size: min(205px, 67vw);
  }

  .sxtp-item-3 {
    --circle-size: min(238px, 76vw);
  }

  .sxtp-circle-shell {
    padding: 8px;
  }

  .sxtp-item-copy {
    margin-top: 24px;
  }

  .sxtp-item-title {
    font-size: 20px;
  }

  .sxtp-item-text {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sxtp-section.sxtp-ready .sxtp-reveal,
  .sxtp-circle-media img,
  .sxtp-item:hover .sxtp-circle-media img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
