/* ---------------------------------------------------------------------------- */
/*  Reech Theme Blocks Functions
/* 
/*  Uses Bootstrap functions that are needed to compile block styles, i.e. breakpoints.
/*  This saves compiling all BS files into each individual block CSS file.
/*
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Hex Code Background with Opacity - Use @include rgba-background(#000000, 0.5);
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Link Hover Transition
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Heading Style (uppercase and letter spacing)
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Letter Spacing
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Flex Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Controller
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Text Column Flex
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Font Awesome Styles
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Primary Animation Controllers
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Aspect Ratio Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Border Bottom's
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Line Clamp
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Clamp min/max bounds
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme section base
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme image defaults
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme full height area
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Full height browser/window dependant
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme transitions
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Spacing top inset
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Columns
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
/* ---------------------------------------------------------------------------- */
.interactive-timeline-showcase {
  background-color: var(--bg);
  color: var(--text);
  --highlight: var(--color-primary-subtle);
  --btn-text: var(--text);
  --btn-highlight: var(--text);
  --btn-accent: var(--color-primary);
  padding-block: 0;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__scroller {
  height: calc(230vh + (var(--timeline-count) - 1) * 19vh);
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__scroller {
    height: calc(264vh + (var(--timeline-count) - 1) * 24vh);
  }
}
.interactive-timeline-showcase__stage {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  padding-block: var(--spacing-12);
  padding-inline: var(--timeline-inset);
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__stage {
  display: block;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
}
.interactive-timeline-showcase__line {
  display: none;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__line {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1000px;
  height: 2px;
  margin-top: -1px;
  background-color: var(--text);
  transform: translate3d(calc(var(--line-start, 0) * 1px), 0, 0) scaleX(calc(var(--line-length, 0) / 1000));
  transform-origin: left center;
  will-change: transform;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__line {
    top: 0;
    left: 50%;
    width: 2px;
    height: 1000px;
    margin: 0 0 0 -1px;
    transform: translate3d(0, calc(var(--line-start, 0) * 1px), 0) scaleY(calc(var(--line-length, 0) / 1000));
    transform-origin: center top;
  }
}
.interactive-timeline-showcase__node {
  display: none;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__node {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background-color: color-mix(in srgb, var(--text) calc(var(--node-opacity, 1) * 100%), var(--bg));
  transform: translate3d(calc(var(--pos, 0) * 1px), 0, 0);
  will-change: transform;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__node {
    top: 0;
    left: 50%;
    margin: -8px 0 0 -8px;
    transform: translate3d(0, calc(var(--pos, 0) * 1px), 0);
  }
}
.interactive-timeline-showcase__label {
  margin: 0;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__label {
  position: absolute;
  top: 50%;
  left: 0;
  max-width: 44%;
  transform: translate3d(calc(var(--pos, 0) * 1px), -50%, 0);
  will-change: transform;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__label {
    top: 0;
    width: 100%;
    max-width: none;
    padding-inline: var(--timeline-inset);
    text-align: center;
    transform: translate3d(0, calc(var(--pos, 0) * 1px), 0);
  }
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__label--intro {
    transform: translate3d(0, calc(var(--pos, 0) * 1px), 0) translateY(-50%);
  }
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__label--outro {
  text-align: right;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__label--outro {
    text-align: center;
  }
}
.interactive-timeline-showcase__cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__cards {
  display: block;
  position: absolute;
  inset: 0;
  perspective: 1800px;
}
.interactive-timeline-showcase__card {
  flex: 0 1 min(100%, 320px);
}
.interactive-timeline-showcase__card:nth-child(7n+1) {
  --card-rot: -3.2;
  --card-offset: 0.6;
}
.interactive-timeline-showcase__card:nth-child(7n+2) {
  --card-rot: 2.1;
  --card-offset: -1.4;
}
.interactive-timeline-showcase__card:nth-child(7n+3) {
  --card-rot: -1.2;
  --card-offset: 0.4;
}
.interactive-timeline-showcase__card:nth-child(7n+4) {
  --card-rot: 2.8;
  --card-offset: -0.8;
}
.interactive-timeline-showcase__card:nth-child(7n+5) {
  --card-rot: -0.8;
  --card-offset: 1.2;
}
.interactive-timeline-showcase__card:nth-child(7n+6) {
  --card-rot: 1.6;
  --card-offset: -0.4;
}
.interactive-timeline-showcase__card:nth-child(7n+7) {
  --card-rot: -2.4;
  --card-offset: 0.8;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__card {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: calc(10 + var(--card-index, 0));
  height: min(52vh, 36vw);
  aspect-ratio: 340/450;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px -24px color-mix(in srgb, var(--text) 35%, transparent);
  visibility: hidden;
  overflow: hidden;
  backface-visibility: hidden;
  clip-path: inset(calc((1 - var(--mask, 0)) * 50%) round var(--border-radius-md));
  transform: translate3d(calc(var(--x, 0) * 1px), calc(var(--y, 0) * 1px + var(--card-offset) * 1vh), 0) rotateY(calc(var(--tilt, 0) * 1deg)) rotateZ(calc(var(--card-rot) * var(--rot-scale, 0) * 1deg)) scale(var(--scale, 1));
  will-change: transform, clip-path;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__card {
    top: 0;
    height: min(40vh, 105vw);
    transform: translate3d(calc(var(--x, 0) * 1px + var(--card-offset) * 1vw), calc(var(--y, 0) * 1px), 0) rotateX(calc(var(--tilt, 0) * -1deg)) rotateZ(calc(var(--card-rot) * var(--rot-scale, 0) * 1deg)) scale(var(--scale, 1));
  }
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__card.is-visible {
  visibility: visible;
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__card-media {
  position: absolute;
  inset: -8%;
  transform: translate3d(calc(var(--img-shift, 0) * 1%), 0, 0) scale(var(--img-scale, 1));
  will-change: transform;
}
@media (max-width: 991.98px) {
  .interactive-timeline-showcase.is-ready .interactive-timeline-showcase__card-media {
    transform: translate3d(0, calc(var(--img-shift, 0) * 1%), 0) scale(var(--img-scale, 1));
  }
}
.interactive-timeline-showcase__image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
}
.interactive-timeline-showcase.is-ready .interactive-timeline-showcase__image {
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}