/*
 * A cutaway view of an application stack. Four isometric slabs — legacy core,
 * data, architecture, applications — with a delivery conduit running past all
 * of them, sitting beside a list of every service. All seven cards stay on
 * screen; the active one expands and lights the layers it acts on, so the
 * offerings read as one system rather than seven unrelated cards.
 *
 * The whole thing is driven by one custom property: --c, set per slab and per
 * card from the shared brand ramp. Nothing here measures pixels at runtime.
 */

.e1K9ngYAiir0DHpunek8 {
  /* Overridden inline by the theme props. */
  --bg: #ffffff;
  --ink: #000d30;
  --muted: #4e4e4e;
  --line: #e3e8f1;
  --slab: #f4f6fb;
  --radius: 16px;
  --maxw: 85rem;
  --step: 4.6s;

  --dot: 30px;

  box-sizing: border-box;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  /* No padding of its own — the heading and section spacing are built in
     Webflow around this, so the component starts flush with its container. */
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;

  /*
   * Breakpoints below are container queries, not media queries: the component
   * has to collapse when its own column is narrow, which is not the same thing
   * as the viewport being narrow. Dropped into a half-width Webflow container
   * on a desktop screen, a viewport breakpoint would keep the two-column layout
   * and crush the diagram to a few hundred pixels.
   */
  container-type: inline-size;
}

.e1K9ngYAiir0DHpunek8 *,
.e1K9ngYAiir0DHpunek8 *::before,
.e1K9ngYAiir0DHpunek8 *::after {
  box-sizing: border-box;
}

/* ---------- layout ---------- */

/*
 * Cards left, stack right. Nothing scrolls inside the section — the whole set
 * is visible at once and the cycle moves the active card, so the reader never
 * loses sight of the other six.
 */
.WVeUmrqsg9Yr8VW44WoI {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* ---------- service cards ---------- */

.z44X6XSnfMd7jG3sfn8P {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gsHj4WpKXRpn7AlwPsWR {
  --c: #4c00ff;
  /* How far each card tucks under the one below it. Zero on desktop, where the
     cards have a column to themselves; see the deck in the responsive block. */
  --overlap: 0px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.45s ease, background-color 0.45s ease,
    margin-top 0.45s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.45s ease;
}

.gdhRGTLadD6DwxpY_63P {
  border-color: var(--line);
  background: color-mix(in srgb, var(--c) 4%, transparent);
}

.gsHj4WpKXRpn7AlwPsWR:hover {
  background: color-mix(in srgb, var(--c) 6%, transparent);
}

.gsHj4WpKXRpn7AlwPsWR:focus-visible {
  outline: 2px solid var(--c);
  outline-offset: 2px;
}

/* ---------- timer dot and countdown ring ---------- */

/*
 * The wrap is sized for the ring; the dot inside is much smaller and sits at
 * its centre. Nudged up so it reads as centred against the first line of the
 * card head rather than against the whole card.
 */
.I3peG2tuapmZYhT8VldP {
  position: relative;
  flex: none;
  width: var(--dot);
  height: var(--dot);
  margin-top: -3px;
}

.zwwXkRAyTjyz7C9lBBmB {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  transition: border-color 0.45s ease, background-color 0.45s ease;
}

.gdhRGTLadD6DwxpY_63P .zwwXkRAyTjyz7C9lBBmB {
  border-color: var(--c);
  background: var(--c);
}

/*
 * The ring encircles the dot and depletes over one dwell, so the reader can see
 * the cycle coming rather than being surprised by it. It is mounted only while
 * a card is active and keyed on the index, which restarts the animation without
 * needing to reset it by hand.
 */
.SCLMt7nX7vLRiiynhyFj {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--dot);
  height: var(--dot);
  transform: rotate(-90deg);
  overflow: visible;
  pointer-events: none;
}

.bWVcRg29hxlupatMZT1Q {
  fill: none;
  stroke: var(--c);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.75;
  /* 2πr for r=18.5 */
  stroke-dasharray: 116.24;
  stroke-dashoffset: 0;
  animation: rfxeBkk5ykugt49qaye0 var(--step) linear forwards;
}

.QRqAOXmExXH4DL3UHiWH .bWVcRg29hxlupatMZT1Q {
  animation-play-state: paused;
}

@keyframes rfxeBkk5ykugt49qaye0 {
  to {
    stroke-dashoffset: 116.24;
  }
}

/* ---------- card text ---------- */

.THUTKg0gJsTiOYyQGZhA {
  min-width: 0;
  padding-top: 2px;
}

.tnv7R4ojAiQiKeu0_TWc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fa8SAAD7zdTe4zP0o8wB {
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c);
  opacity: 0.75;
  transition: opacity 0.45s ease, border-color 0.45s ease;
}

.gdhRGTLadD6DwxpY_63P .fa8SAAD7zdTe4zP0o8wB {
  opacity: 1;
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
}

.z5GF2rh4z7jlk4WwQTBN {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/*
 * 0fr → 1fr is the animatable stand-in for height: auto. The inner element
 * carries the overflow clip; without it the text spills while collapsed.
 */
.ERtHJYgifyBgEYofZs9k {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.gdhRGTLadD6DwxpY_63P .ERtHJYgifyBgEYofZs9k {
  grid-template-rows: 1fr;
}

.ZAwDMwKxncUKW9FfgwVp {
  overflow: hidden;
}

.RiuDt5IYy1WDlWPePt0y {
  display: block;
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- stack ---------- */

.hX_Sz0Vh_qtfZQ9i3dLA {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.fjAnKgNY4wlxND_OBs3O {
  display: block;
  width: 100%;
  height: auto;
  /* Centres itself once a cap below is narrower than the column. */
  margin-inline: auto;
  overflow: visible;
}

/* ---------- slabs ---------- */

.HSrdJSz_p5sU7Ejbs3es {
  /* Overridden per slab with its own stop on the ramp. */
  --c: #4c00ff;
  /* Smaller slabs in the horizontal arrangement need a smaller lift. */
  --lift: -14px;
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.bgD78Kd55cqRRuAl9Ihj {
  transform: translateY(var(--lift));
}

.Z4_RcnRieGbBz_V3ThLw,
.afZODRtHz0IfzikajGnC,
.wbq_GjCzLW1vxHbKfa0Y {
  stroke: var(--line);
  stroke-width: 1.25;
  stroke-linejoin: round;
  transition: fill 0.5s ease, stroke 0.5s ease, opacity 0.5s ease;
}

.Z4_RcnRieGbBz_V3ThLw {
  fill: var(--slab);
}

/* Side faces are shaded down from the top face so the projection reads as
   solid without needing a gradient per slab. */
.afZODRtHz0IfzikajGnC {
  fill: color-mix(in srgb, var(--slab) 88%, #000000);
}

.wbq_GjCzLW1vxHbKfa0Y {
  fill: color-mix(in srgb, var(--slab) 78%, #000000);
}

.bgD78Kd55cqRRuAl9Ihj .Z4_RcnRieGbBz_V3ThLw {
  fill: color-mix(in srgb, var(--c) 14%, #ffffff);
  stroke: var(--c);
  stroke-width: 1.75;
}

.bgD78Kd55cqRRuAl9Ihj .afZODRtHz0IfzikajGnC {
  fill: color-mix(in srgb, var(--c) 30%, #ffffff);
  stroke: color-mix(in srgb, var(--c) 55%, #ffffff);
}

.bgD78Kd55cqRRuAl9Ihj .wbq_GjCzLW1vxHbKfa0Y {
  fill: color-mix(in srgb, var(--c) 46%, #ffffff);
  stroke: color-mix(in srgb, var(--c) 55%, #ffffff);
}

.LsB2BaJa_Jj1bpLzay3K {
  fill: color-mix(in srgb, var(--slab) 82%, #000000);
  stroke: var(--line);
  stroke-width: 1;
  opacity: 0.75;
  transition: fill 0.5s ease, opacity 0.5s ease;
}

.bgD78Kd55cqRRuAl9Ihj .LsB2BaJa_Jj1bpLzay3K {
  fill: color-mix(in srgb, var(--c) 55%, #ffffff);
  opacity: 1;
}

/*
 * Sizes are viewBox user units, not pixels — see the geometry note in the TSX.
 * At 22 against an 850-wide box these render around 16px on a desktop column.
 *
 * Weight stays at Light in both states, matching the site's own headings; only
 * the colour moves as the cycle advances. A weight change would also reflow the
 * text on every step, since these are end-anchored and would shift left as they
 * got heavier.
 */
.y2RgA_QzsaWJ1DYGZL7l {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.005em;
  fill: var(--muted);
  transition: fill 0.5s ease;
}

.bgD78Kd55cqRRuAl9Ihj .y2RgA_QzsaWJ1DYGZL7l {
  fill: var(--c);
}

.x9CxpoGH_OmnhcBFNHtg {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
  transition: stroke 0.5s ease, opacity 0.5s ease;
}

.bgD78Kd55cqRRuAl9Ihj .x9CxpoGH_OmnhcBFNHtg {
  stroke: color-mix(in srgb, var(--c) 60%, #ffffff);
}

/* ---------- delivery conduit ---------- */

.FaDRPp6oCoybPRK9t7kS {
  --c: #ff00d4;
}

.OUmEBCGyHxtHPpnm_yhQ {
  stroke: var(--line);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke 0.5s ease;
}

/*
 * The flow is a long dash chasing itself up the rail. It is drawn on top of the
 * static line and revealed by opacity, so switching it on costs no relayout.
 */
.NEbUFiQiDliqBxYXl3ga {
  stroke: var(--c);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 26 42;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.uWiEaIdkY3loBX9C4v7O .NEbUFiQiDliqBxYXl3ga {
  opacity: 1;
  animation: n3CxZb8mg0ZBoM3P01JA 1.6s linear infinite;
}

@keyframes n3CxZb8mg0ZBoM3P01JA {
  to {
    stroke-dashoffset: -68;
  }
}

.E2CSRJUfv5wVAKkBE68A {
  fill: var(--bg);
  stroke: var(--line);
  stroke-width: 2.5;
  transition: stroke 0.5s ease;
}

.uWiEaIdkY3loBX9C4v7O .E2CSRJUfv5wVAKkBE68A {
  stroke: var(--c);
}

.qnwOdIW5chFo0a82FilD {
  font-size: 20px;
  font-weight: 300;
  fill: var(--muted);
  transition: fill 0.5s ease;
}

.uWiEaIdkY3loBX9C4v7O .qnwOdIW5chFo0a82FilD {
  fill: var(--c);
}

/* ---------- responsive ---------- */

@container (max-width: 900px) {
  /* Stack goes first so the reader meets the system before the list of ways to
     change it, which is the same order the two-column layout reads in. */
  .WVeUmrqsg9Yr8VW44WoI {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hX_Sz0Vh_qtfZQ9i3dLA {
    order: -1;
  }

  /*
   * Both caps are on width, not height. The diagram's height follows from its
   * width through the viewBox aspect, and so does the rendered size of the
   * layer labels — they are sized in user units, so they scale with the box.
   * Capping the height instead, as this did with 46vh, left the size of the
   * type at the mercy of the viewport: on a landscape phone 46vh squeezed the
   * stacked arrangement into 179px and rendered its labels at under 7px.
   *
   * One cap per arrangement, since they have very different aspects — 1.47:1
   * stacked against 2.73:1 flat — and a single number cannot serve both.
   */

  /* 540 ÷ 1.47 ≈ 368px tall, labels at 14px. */
  .Z90NXjSUk3bF48_A2NCH {
    max-width: 540px;
  }

  /* 480 ÷ 2.73 ≈ 176px tall, labels at 18px. Above the phone-portrait width,
     so it binds only on the landscape screens that opt into this arrangement. */
  .tBfFud7zLgPdQ_TEJFix {
    max-width: 480px;
  }

  /*
   * Below the two-column breakpoint the cards run the full width and the seven
   * of them make a long scroll. So they shingle: each one tucks under the card
   * below it by exactly its own bottom padding, which shortens the list without
   * covering a single word — the hidden strip is padding and the 1px border,
   * and that border peeking out is what reads as a card sitting behind.
   *
   * Occlusion needs opaque cards, so every background below resolves against
   * --bg rather than transparent, and every card carries the border that only
   * the active one wears on desktop.
   */
  .z44X6XSnfMd7jG3sfn8P {
    gap: 0;
  }

  .gsHj4WpKXRpn7AlwPsWR {
    --overlap: 14px;
    border-color: var(--line);
    background: var(--bg);
    /* Cast upward, onto the card being covered. */
    box-shadow: 0 -2px 8px color-mix(in srgb, var(--ink) 5%, transparent);
  }

  .gsHj4WpKXRpn7AlwPsWR + .gsHj4WpKXRpn7AlwPsWR {
    margin-top: calc(-1 * var(--overlap));
  }

  .gsHj4WpKXRpn7AlwPsWR:hover {
    background: color-mix(in srgb, var(--c) 6%, var(--bg));
  }

  .gdhRGTLadD6DwxpY_63P {
    /* Lifts clear of the deck: over the card above, and out from under the one
       below, so an expanded description is never near an overlapping edge. */
    z-index: 1;
    background: color-mix(in srgb, var(--c) 5%, var(--bg));
    border-color: color-mix(in srgb, var(--c) 28%, var(--line));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 10%, transparent);
  }

  /* Must follow the `.card + .card` tuck — same specificity, so order decides. */
  .gdhRGTLadD6DwxpY_63P + .gsHj4WpKXRpn7AlwPsWR {
    margin-top: 6px;
  }
}

/*
 * Keep this threshold in step with HORIZONTAL_MAX in the TSX — below it the
 * slabs run left to right instead of stacking, and the two have to agree or the
 * diagram will be sized for one arrangement while drawn in the other.
 */
@container (max-width: 560px) {
  .gsHj4WpKXRpn7AlwPsWR {
    --overlap: 12px;
    gap: 12px;
    padding: 12px 12px;
  }

  /*
   * On a phone the chip and the title cannot share a flex line, so the chip
   * was taking a whole row of its own above a title that then wrapped anyway —
   * a third of each collapsed card spent on one word. Inline instead: the chip
   * opens the first line and the title flows around and under it.
   */
  .tnv7R4ojAiQiKeu0_TWc {
    display: block;
  }

  .fa8SAAD7zdTe4zP0o8wB {
    display: inline-block;
    margin-right: 9px;
    /* Optical centring against the cap height of the title beside it. */
    vertical-align: 1px;
  }

  .z5GF2rh4z7jlk4WwQTBN {
    display: inline;
  }

  .HSrdJSz_p5sU7Ejbs3es {
    --lift: -8px;
  }
}

/* ---------- reduced motion ---------- */

.W0IQDKQJpCDjiRBvmGZV .HSrdJSz_p5sU7Ejbs3es,
.W0IQDKQJpCDjiRBvmGZV .gsHj4WpKXRpn7AlwPsWR,
.W0IQDKQJpCDjiRBvmGZV .ERtHJYgifyBgEYofZs9k,
.W0IQDKQJpCDjiRBvmGZV .Z4_RcnRieGbBz_V3ThLw,
.W0IQDKQJpCDjiRBvmGZV .afZODRtHz0IfzikajGnC,
.W0IQDKQJpCDjiRBvmGZV .wbq_GjCzLW1vxHbKfa0Y,
.W0IQDKQJpCDjiRBvmGZV .LsB2BaJa_Jj1bpLzay3K,
.W0IQDKQJpCDjiRBvmGZV .NEbUFiQiDliqBxYXl3ga {
  transition-duration: 0.01ms;
}

.W0IQDKQJpCDjiRBvmGZV .uWiEaIdkY3loBX9C4v7O .NEbUFiQiDliqBxYXl3ga {
  animation: none;
}

.W0IQDKQJpCDjiRBvmGZV .bgD78Kd55cqRRuAl9Ihj {
  transform: none;
}

