/*
 * A rolodex of heading-plus-paragraph cards. One card holds focus; the rest
 * sit behind it, blurred and receding, showing their heading only.
 *
 * Every card occupies the same grid cell, so the stage is as tall as the
 * longest card and never resizes as the stack turns. Depth is a single
 * number per card, --d, counted from the front; the transform, the blur and
 * the fade are all derived from it, so adding a card needs no other change.
 *
 * One step up the stack is one heading line box
 * (--hsize * --hlead * --gap) rather than a fixed pixel offset. That is what
 * keeps the stacked headings from colliding when the heading size changes or
 * the component lands in a narrower column.
 *
 * Sizing is container-relative, not viewport-relative: in Webflow this sits
 * in a column routinely much narrower than the window. --hsize uses cqi,
 * which resolves against this element for every descendant that reads it.
 *
 * --mq is the one token the Designer props never write. Props arrive as
 * inline styles on the root, which outrank every rule in this file, so the
 * narrow-container step-down has to ride a separate multiplier — and it is
 * set on .inner rather than on .rolodex, because an element cannot match a
 * container query against itself.
 */

.irDsZ9uSZbg6K1dijncx {
  /* Overridden by the theme variant below. */
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.18);
  --btn: rgba(255, 255, 255, 0.05);
  --surface: #001727;
  --accent: #4c00ff;

  --hfont: Figtree, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --bfont: Figtree, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --hsize: clamp(2.2rem, 5.5cqi, 4.25rem);
  --bsize: clamp(1rem, 1.5cqi, 1.15rem);
  --hweight: 700;
  --bweight: 400;
  --htrack: -0.025em;
  --btrack: 0em;
  --hlead: 1.05;
  --blead: 1.6;
  --hcase: none;
  --bwidth: 62ch;

  --width: 760px;
  --gap: 1.3;
  --step: calc(var(--hsize) * var(--hlead) * var(--gap));
  --z: 90px;
  --blur: 3;
  --fade: 0.26;
  --tilt: 7deg;
  --speed: 780ms;
  --behind: 3;
  --padY: 0px;

  --mq: 1;

  box-sizing: border-box;
  display: block;
  /* The stack sizes itself against the width it actually gets. width:100% is
     load-bearing: inline-size containment makes this element contribute
     nothing to intrinsic width, so a parent that shrink-wraps its child
     collapses it to zero. */
  container-type: inline-size;
  width: 100%;
  /* The outgoing card is thrown 160px toward the viewer, and perspective
     scales it up as it comes: it paints about 6% wider than this element
     and hangs past both edges. Full-bleed on a page that is already at the
     viewport's width, that overhang is a horizontal scrollbar. Clip it on
     the x axis only — `clip` rather than `hidden`, so the y axis stays
     visible and the cards stacked above are not cut off or turned into a
     scroll container. */
  overflow-x: clip;
  color: var(--fg);
  /* Transparent and unpadded by default: the Webflow section behind this
     supplies the backdrop, and the spacing divs above it own the rhythm.
     Both are opt-in, for the case where the component is the section. */
  background: transparent;
  padding: var(--padY) 0;
  font-family: var(--bfont);
}

.iJfJmcfyHj3KLlyLDWsJ {
  --fg: #001727;
  --muted: #4a5661;
  --line: rgba(0, 23, 39, 0.16);
  --btn: rgba(0, 23, 39, 0.035);
  --surface: #ffffff;
}

.uTdbwqRjb32f6vNSpXXr {
  background: var(--surface);
}

.irDsZ9uSZbg6K1dijncx *,
.irDsZ9uSZbg6K1dijncx *::before,
.irDsZ9uSZbg6K1dijncx *::after {
  box-sizing: inherit;
}

.s725alPNtq37NuEtOrHr {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.irDsZ9uSZbg6K1dijncx.lEMWi3eT635d4NwRoXRV .s725alPNtq37NuEtOrHr {
  text-align: left;
}

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

.jeFFhe5tJIZwFTrNE55G {
  position: relative;
  display: grid;
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  /* The room the stacked cards translate up into. */
  padding-top: calc(var(--stackTop, calc(var(--step) * var(--behind))) + 4px);
  padding-bottom: calc(var(--step) * 0.15);
}

.irDsZ9uSZbg6K1dijncx.lEMWi3eT635d4NwRoXRV .jeFFhe5tJIZwFTrNE55G {
  margin: 0;
}

.QrEaMMyweRYrV9rl67eP {
  grid-area: 1 / 1;
  align-self: start;
  backface-visibility: hidden;
  transform: translate3d(
      0,
      calc(var(--y, calc(var(--step) * var(--d))) * -1),
      calc(var(--z) * var(--mq) * var(--d) * -1)
    )
    rotateX(var(--tilt));
  opacity: calc(1 - var(--fade) * var(--d));
  transition:
    transform var(--speed) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity var(--speed) ease;
}

/* The blur rides an inner plate, never the 3D-transformed card itself. filter
   is a grouping property: applied to a transformed element it flattens the 3D
   rendering context, and iOS WebKit then drops the filter outright once those
   promoted layers have been recycled — which is why the stack came back sharp
   after one full turn. The card owns the transform, the plate owns the blur,
   and neither has to be both. */
.eYBHaCIsWwCmJbNCjYcG {
  filter: blur(calc(var(--blur) * var(--mq) * var(--d) * 1px));
  transition: filter var(--speed) ease;
}

.RglvLvKp3QqzwkBdd8hC {
  transform: translate3d(0, 0, 0) rotateX(0deg);
  opacity: 1;
}

.RglvLvKp3QqzwkBdd8hC .eYBHaCIsWwCmJbNCjYcG {
  filter: none;
}

/* The card that just left: forward, past the viewer, and gone. It clears at
   half the turn speed — held any longer, its paragraph ghosts over the
   incoming one for most of the transition. */
.NiIijzkbG55aarZLzhQp {
  transform: translate3d(0, calc(var(--step) * 0.7), 160px) rotateX(-26deg);
  opacity: 0;
  transition:
    transform var(--speed) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity calc(var(--speed) * 0.5) ease;
}

.NiIijzkbG55aarZLzhQp .eYBHaCIsWwCmJbNCjYcG {
  filter: blur(calc(var(--blur) * var(--mq) * 2.4 * 1px));
  transition: filter calc(var(--speed) * 0.5) ease;
}

.fNFnikvdANThjghsqCbw {
  opacity: 0;
}

/* Blurred cards are decoration — they never take a click or a caret. */
.QrEaMMyweRYrV9rl67eP:not(.RglvLvKp3QqzwkBdd8hC) {
  pointer-events: none;
  user-select: none;
}

.Bj3dXClslGAUIGGgQauP {
  margin: 0;
  font-family: var(--hfont);
  font-size: var(--hsize);
  font-weight: var(--hweight);
  line-height: var(--hlead);
  letter-spacing: var(--htrack);
  text-transform: var(--hcase);
  color: var(--fg);
  text-wrap: balance;
}

.MPoG1tqoNRrAi72GJl_l {
  margin: 1.2rem auto 0;
  max-width: var(--bwidth);
  font-family: var(--bfont);
  font-size: var(--bsize);
  font-weight: var(--bweight);
  line-height: var(--blead);
  letter-spacing: var(--btrack);
  color: var(--muted);
  text-wrap: pretty;
  transition: opacity var(--speed) ease;
}

.irDsZ9uSZbg6K1dijncx.lEMWi3eT635d4NwRoXRV .MPoG1tqoNRrAi72GJl_l {
  margin-left: 0;
}

/* Only the card in focus carries its paragraph. The others keep theirs in
   the DOM — faded, never removed — so the section keeps its indexable body
   copy while the stack stays a stack of headings. */
.QrEaMMyweRYrV9rl67eP:not(.RglvLvKp3QqzwkBdd8hC) .MPoG1tqoNRrAi72GJl_l {
  opacity: 0;
}

/* ---- progress ---------------------------------------------------- */

.YjWLS85yFe5wUL4RDttp {
  width: 100%;
  max-width: var(--width);
  height: 2px;
  margin: 1.6rem auto 0;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.irDsZ9uSZbg6K1dijncx.lEMWi3eT635d4NwRoXRV .YjWLS85yFe5wUL4RDttp {
  margin-left: 0;
}

.m3w60kQEHnXCaXUkTEuW {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  background: var(--accent);
  animation-name: XWfeBktrdZxqJlLwLZeA;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes XWfeBktrdZxqJlLwLZeA {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* ---- controls ---------------------------------------------------- */

.xJisdUQSiJhegjLJZHtA {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.irDsZ9uSZbg6K1dijncx.lEMWi3eT635d4NwRoXRV .xJisdUQSiJhegjLJZHtA {
  justify-content: flex-start;
}

.Hug7olQUSYcDyrllcdUK {
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--btn);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.Hug7olQUSYcDyrllcdUK:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.Hug7olQUSYcDyrllcdUK svg {
  width: 16px;
  height: 16px;
  display: block;
}

.c7FCgWs8Ma1oC8AIe5b8 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.rR_VCbKyQZeuz4hBPW5V {
  appearance: none;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition:
    width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.35s ease;
}

.rR_VCbKyQZeuz4hBPW5V:hover {
  background: var(--muted);
}

.rR_VCbKyQZeuz4hBPW5V.WFzqvN8iGuX_ll1If5Ej {
  width: 26px;
  background: var(--accent);
}

.jdRg6xitZY5q487voVcG {
  font-family: var(--bfont);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.Hug7olQUSYcDyrllcdUK:focus-visible,
.rR_VCbKyQZeuz4hBPW5V:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- narrow containers ------------------------------------------- */

@container (max-width: 767px) {
  /* Set on .inner, not .rolodex: an element cannot match a container query
     against itself. The vertical step is relative to the heading and shrinks
     on its own, so --mq only scales the two fixed-pixel tokens. */
  .s725alPNtq37NuEtOrHr {
    --mq: 0.72;
    padding: 0 20px;
  }

  .Hug7olQUSYcDyrllcdUK {
    width: 40px;
    height: 40px;
  }

  .xJisdUQSiJhegjLJZHtA {
    gap: 1rem;
    margin-top: 1.25rem;
  }
}

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

.irDsZ9uSZbg6K1dijncx.kuFJTTDgH7Ml31kndno5 *,
.irDsZ9uSZbg6K1dijncx.kuFJTTDgH7Ml31kndno5 *::before,
.irDsZ9uSZbg6K1dijncx.kuFJTTDgH7Ml31kndno5 *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .irDsZ9uSZbg6K1dijncx *,
  .irDsZ9uSZbg6K1dijncx *::before,
  .irDsZ9uSZbg6K1dijncx *::after {
    animation: none !important;
    transition: none !important;
  }
}

