body.tangerine-theme .elementor .tc-w-loop,
.tc-w-loop {
  /* about.html OUR METHOD (472) + Proof Loop stages (392) = 864 */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 864px;
  height: 864px;
  max-height: 864px;
  background: #262626;
  color: #fff9f5;
  overflow: visible;
}

@media (min-width: 901px) {
  body.tangerine-theme .elementor .tc-w-loop,
  .tc-w-loop {
    padding: 96px max(48px, calc((100% - 1440px) / 2 + 48px)) 96px !important;
  }
}

.tc-w-loop__kicker {
  margin: 0 0 16px;
  color: #fff9f5;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.tc-w-loop__heading {
  margin: 0 0 24px;
  max-width: 1116px;
  color: #fff9f5;
  font-size: clamp(56px, 7.78vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 400;
}

.tc-w-loop__intro {
  margin: 0 0 48px;
  max-width: 892px;
  color: #fff9f5;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: -0.03em;
}

.tc-w-loop__track {
  position: relative;
  max-width: 1344px;
  overflow: visible;
  /* Stages band starts at y≈472 in Figma (after OUR METHOD block) */
  margin-top: 0;
  padding-top: 48px;
  padding-bottom: 0;
}

.tc-w-loop__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
  padding-top: 8px;
  width: 100%;
}

.tc-w-loop__stage {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
  width: 318px;
  height: 188px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  outline: none;
  cursor: pointer;
  /* Stationary hit area — never translate the stage itself (figma-large-pill). */
  translate: none;
}

.tc-w-loop__next {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 188px;
  margin: 0;
  pointer-events: none;
}

.tc-w-loop__next img,
.tc-w-loop__chev {
  display: block;
  width: 8px;
  height: 15px;
}

/* Chevron is a CSS background (decorative, no <img>). */
.tc-w-loop__chev {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Flat pills — border only, no shadow, no lift (reference PNG). */
.tc-w-loop__art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 24px 16px 16px;
  border: 1.5px solid #fff9f5;
  border-radius: 94px;
  background: transparent;
  background-color: transparent;
  color: #fff9f5;
  text-align: center;
  pointer-events: none;
  box-shadow: none;
  filter: none;
  translate: none;
  transform: none;
  transition: translate 0.25s ease-out, background-color 0.18s, border-color 0.18s, color 0.18s;
}

.tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art,
body.tangerine-theme .elementor .tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art {
  translate: none;
  transform: none;
  box-shadow: none;
  background: #f44349;
  background-color: #f44349;
  border-color: #f44349;
  color: #262626;
}

.tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art *,
body.tangerine-theme .elementor .tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art * {
  color: #262626;
}

/* Odd pills (1, 3, 5…). Same red hover until Odd stage pills sets a color. */
.tc-w-loop__stage--odd:is(:hover, :focus-visible, :active) .tc-w-loop__art,
body.tangerine-theme .elementor .tc-w-loop__stage--odd:is(:hover, :focus-visible, :active) .tc-w-loop__art {
  background: var(--tc-loop-odd-hover-bg, #f44349);
  background-color: var(--tc-loop-odd-hover-bg, #f44349);
  border-color: var(--tc-loop-odd-hover-border, #f44349);
  color: var(--tc-loop-odd-hover-color, #262626);
}

.tc-w-loop__stage--odd:is(:hover, :focus-visible, :active) .tc-w-loop__art *,
body.tangerine-theme .elementor .tc-w-loop__stage--odd:is(:hover, :focus-visible, :active) .tc-w-loop__art * {
  color: var(--tc-loop-odd-hover-color, #262626);
}

.tc-w-loop__num {
  margin: 0 0 4px;
  color: inherit;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.tc-w-loop__title {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(40px, 5.14vw, 74px);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 400;
}

.tc-w-loop__text {
  margin: auto 0 0;
  max-width: 286px;
  color: inherit;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: pre-line;
  font-weight: 400;
}

.tc-w-loop__return {
  position: relative;
  width: min(1034px, 100%);
  margin: 24px auto 0;
  min-height: 48px;
}

.tc-w-loop__return-line {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1034 / 36;
  color: #fff9f5;
}

.tc-w-loop__close {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -40%);
  text-align: center;
  color: #fff9f5;
  font-size: 12px;
  line-height: normal;
  letter-spacing: -0.03em;
  white-space: nowrap;
  background: #262626;
  padding: 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  .tc-w-loop__art {
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
  }

  .tc-w-loop__stage:is(:hover, :focus-visible) .tc-w-loop__art,
  body.tangerine-theme .elementor .tc-w-loop__stage:is(:hover, :focus-visible) .tc-w-loop__art {
    translate: none;
  }
}

/* Desktop pills match the reference: the ring stays put and the artwork lifts 20px. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art,
  body.tangerine-theme .elementor .tc-w-loop__stage:is(:hover, :focus-visible, :active) .tc-w-loop__art {
    translate: 0 -20px;
  }
}

/* Above the stacked pill layout: two rings per row so none run past the right edge. */
@media (min-width: 1035px) and (max-width: 1200px) {
  body.tangerine-theme .elementor .tc-w-loop,
  .tc-w-loop { height: auto; max-height: none; }

  .tc-w-loop__row { flex-wrap: wrap; justify-content: center; gap: 24px; }

  .tc-w-loop__stage { width: calc(50% - 12px); }

  .tc-w-loop__next { display: none; }
}

@media (max-width: 700px) {
  .tc-w-loop {
    min-height: 0;
    height: auto;
  }

  .tc-w-loop__track {
    margin-top: 32px;
    padding-top: 0;
  }

  .tc-w-loop__row {
    flex-wrap: wrap;
    gap: 16px 12px;
    justify-content: center;
    width: 100%;
  }

  .tc-w-loop__stage {
    width: min(318px, 100%);
    height: 168px;
  }

  .tc-w-loop__next {
    display: none !important;
  }

  .tc-w-loop__return {
    display: none !important;
  }

  .tc-w-loop__art {
    border-radius: 84px;
  }
}

@media (max-width: 640px) {
  .tc-w-loop {
    padding: 64px 24px 80px;
  }

  .tc-w-loop__stage {
    width: 100%;
    height: 160px;
  }

  .tc-w-loop__heading {
    font-size: 48px;
  }
}


/* Tablet and mobile layouts for this widget. */
@media (max-width: 1034px) {
  body.tangerine-theme .elementor .tc-w-loop,
  .tc-w-loop { height: auto; max-height: none; min-height: 0; }

  .tc-w-loop__heading { line-height: 0.9; }

  .tc-w-loop__intro { max-width: 700px; margin-bottom: 28px; line-height: 1.25; }

  .tc-w-loop__track { margin: 0; padding: 0; }

  .tc-w-loop__row { width: 100%; flex-direction: column; align-items: center; gap: 28px; }

  .tc-w-loop__stage { width: min(100%, 280px); max-width: 100%; height: 180px; box-sizing: border-box; }

  .tc-w-loop__next { display: none; }

  .tc-w-loop__return { display: block !important; width: auto; min-height: 0; margin: 24px auto 0; text-align: center; }

  .tc-w-loop__return-line { display: none; }

  .tc-w-loop__close { position: static; display: inline-block; transform: none; background: transparent; }

  .tc-w-loop__stage:not(:last-of-type)::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 1px; height: 20px; background: #fff9f5; }
}
/* Phones use Section → Padding (mobile) from Elementor. */
@media (min-width: 768px) and (max-width: 900px) {
  body.tangerine-theme .elementor .tc-w-loop,
  .tc-w-loop { padding: 72px var(--tc-margin) !important; }
}
@media (max-width: 600px) {
  .tc-w-loop__intro { line-height: 1.2; }

  .tc-w-loop__row { gap: 26px; }

  .tc-w-loop__row { width: 100%; max-width: 100%; }

  .tc-w-loop__stage { width: 100%; max-width: 280px; height: 160px; box-sizing: border-box; overflow: visible; }

  .tc-w-loop__art {
    inset: 1px;
    box-sizing: border-box;
    border: 1.5px solid #fff9f5;
    border-radius: 80px;
    /* Sub-pixel borders can drop one side on 1x screens; the inset ring keeps the stroke whole. */
    box-shadow: inset 0 0 0 0.5px #fff9f5;
  }

  .tc-w-loop__art { padding: 24px 12px 16px; }

  .tc-w-loop__return { position: static; top: auto; right: auto; width: 100%; margin: 20px auto 0; }

  .tc-w-loop__close { position: static; padding: 0; writing-mode: horizontal-tb; transform: none; }
}

.tc-w-loop__return-arrow {
  display: none;
}

/* about.html: chevrons between the rings, closing line runs up the right side.
   Offsets: Closing line → top / right (phones) in Elementor. */
@media (max-width: 1034px) {
  .tc-w-loop .tc-w-loop__stage:not(:last-of-type)::after { content: none; }

  .tc-w-loop .tc-w-loop__next {
    display: flex !important;
    width: auto;
    flex: 0 0 auto;
    height: 0;
    margin: -13px 0;
    overflow: visible;
  }

  .tc-w-loop .tc-w-loop__next img,
  .tc-w-loop .tc-w-loop__next .tc-w-loop__chev { transform: rotate(90deg); }

  .tc-w-loop .tc-w-loop__stage {
    flex: 0 0 auto;
    width: min(304px, 100%);
    max-width: 304px;
  }

  .tc-w-loop .tc-w-loop__track {
    display: grid;
    grid-template-columns: max-content;
    justify-content: center;
  }

  .tc-w-loop .tc-w-loop__row,
  .tc-w-loop .tc-w-loop__return {
    grid-area: 1 / 1;
  }

  /* Shrink to the pills. A width:100% chevron was stretching this to the screen. */
  .tc-w-loop .tc-w-loop__row {
    position: relative;
    width: max-content;
    max-width: 100%;
    padding-top: 0;
    overflow: visible;
  }

  .tc-w-loop .tc-w-loop__return {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    overflow: visible;
    pointer-events: none;
    container-type: size;
  }

  /* Same return artwork as desktop, turned so the arrow is at KNOW
     and the rounded hook is at PROVE. The SVG already has both curves. */
  .tc-w-loop .tc-w-loop__return-line {
    display: block;
    position: absolute;
    top: 80px;
    left: 100%;
    width: calc(100cqh - 160px);
    height: 36px;
    max-width: none;
    transform-origin: top left;
    transform: rotate(-90deg) scaleX(-1);
  }

  .tc-w-loop .tc-w-loop__close {
    position: absolute;
    top: 50%;
    left: calc(100% + 16px);
    padding: 0;
    background: transparent;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1034px) {
  .tc-w-loop .tc-w-loop__stage {
    width: 318px;
    max-width: 318px;
    height: 188px;
  }
}
