/*! AIV Robotics Timeline — WordPress scoped */
/* Design tokens — aligned with src/styles/theme.css :root (light tokens used by UI) */
.aiv-timeline-root {
  --background: #0a0a0a;
  --foreground: #e5e5e5;
  --primary: #00ff9c;
  --border-soft: rgba(255, 255, 255, 0.1);
  --font-size: 16px;
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground);
  display: block;
  width: 100%;
}

.aiv-timeline-root *,
.aiv-timeline-root *::before,
.aiv-timeline-root *::after {
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Tailwind `animate-pulse`와 동일 */
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Tailwind `animate-ping`과 동일 (리플이 링 위에서 보이도록 레이어만 별도 조정) */
@keyframes ping-ring {
  0% {
    transform: scale(1);
    opacity: 0.2;
  }
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.aiv-timeline-root .glow-text {
  text-shadow:
    0 0 20px rgba(0, 255, 156, 0.5),
    0 0 40px rgba(0, 255, 156, 0.3);
}

@keyframes page-bg-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}

/* —— Page shell —— */
.aiv-timeline-root .page {
  min-height: 100vh;
  background: var(--background);
  position: relative;
  /* 타임라인 ping(scale 2)이 잘리지 않도록 hidden 대신 가로만 제한 */
  overflow-x: hidden;
  overflow-y: auto;
}

.aiv-timeline-root .page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  animation: page-bg-fade-in 1s ease-out forwards;
}

.aiv-timeline-root .page-bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 156, 0.03), transparent 50%);
}

.aiv-timeline-root .page-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.aiv-timeline-root .page-content {
  position: relative;
  z-index: 10;
}

/* —— Hero —— */
.aiv-timeline-root .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .hero {
    padding: 0 3rem;
  }
}

.aiv-timeline-root .hero-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.5), transparent);
  opacity: 0.5;
}

.aiv-timeline-root .hero-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.aiv-timeline-root .hero-badge-wrap {
  margin-bottom: 4rem;
}

.aiv-timeline-root .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0, 255, 156, 0.2);
  border-radius: 9999px;
  background: rgba(0, 255, 156, 0.05);
  backdrop-filter: blur(4px);
}

.aiv-timeline-root .hero-badge-dot {
  flex-shrink: 0;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #00ff9c;
  box-shadow: 0 0 10px #00ff9c;
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.aiv-timeline-root .hero-badge-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.2em;
  color: #00ff9c;
  text-transform: uppercase;
}

.aiv-timeline-root .hero-title {
  margin: 0;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 300;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .aiv-timeline-root .hero-title {
    font-size: 6rem;
  }
}

.aiv-timeline-root .hero-title-line {
  display: block;
}

.aiv-timeline-root .hero-title-line--muted {
  color: rgba(255, 255, 255, 0.9);
}

.aiv-timeline-root .hero-title-line + .hero-title-line {
  margin-top: 0.5rem;
}

.aiv-timeline-root .hero-title-gradient {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(to right, #ffffff, #00ff9c, #ffffff);
}

.aiv-timeline-root .hero-title-glow {
  color: #00ff9c;
  text-shadow:
    0 0 20px rgba(0, 255, 156, 0.5),
    0 0 40px rgba(0, 255, 156, 0.3);
}

.aiv-timeline-root .hero-subtitle {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75;
  letter-spacing: 0.025em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .aiv-timeline-root .hero-subtitle {
    font-size: 1.25rem;
  }
}

.aiv-timeline-root .hero-deco-lines {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.aiv-timeline-root .hero-deco-line {
  height: 1px;
  width: 6rem;
}

.aiv-timeline-root .hero-deco-line--r {
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.5));
}

.aiv-timeline-root .hero-deco-line--l {
  background: linear-gradient(to left, transparent, rgba(0, 255, 156, 0.5));
}

/* —— Section indicators —— */
.aiv-timeline-root .section-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-indicator--timeline,
.aiv-timeline-root .section-indicator--summary {
  margin-bottom: 5rem;
}

.aiv-timeline-root .section-indicator--center {
  justify-content: center;
  margin-bottom: 5rem;
}

.aiv-timeline-root .section-indicator-line {
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 255, 156, 0.5), transparent);
}

.aiv-timeline-root .section-indicator-line--to-green {
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.5));
}

.aiv-timeline-root .section-indicator-line--from-green {
  background: linear-gradient(to left, transparent, rgba(0, 255, 156, 0.5));
}

.aiv-timeline-root .section-indicator-label {
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.3em;
  color: #00ff9c;
  text-transform: uppercase;
}

/* —— Intro —— */
.aiv-timeline-root .intro {
  position: relative;
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .intro {
    padding: 8rem 3rem;
  }
}

.aiv-timeline-root .intro-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.aiv-timeline-root .intro-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.aiv-timeline-root .intro-heading {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .aiv-timeline-root .intro-heading {
    font-size: 3rem;
  }
}

.aiv-timeline-root .intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.aiv-timeline-root .intro-text p {
  margin: 0;
}

.aiv-timeline-root .intro-bottom-line {
  margin-top: 4rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.3), transparent);
}

/* —— Timeline section —— */
.aiv-timeline-root .timeline-section {
  position: relative;
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-section {
    padding: 8rem 3rem;
  }
}

.aiv-timeline-root .timeline-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.aiv-timeline-root .phase-tagline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.aiv-timeline-root .phase-tagline + .phase-tagline {
  margin-top: 0.15rem;
}

.aiv-timeline-root .timeline-wrap {
  position: relative;
}

.aiv-timeline-root .timeline-vline {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0, 255, 156, 0.5), rgba(0, 255, 156, 0.2), transparent);
  box-shadow: 0 0 10px rgba(0, 255, 156, 0.3);
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-vline {
    left: 50%;
    transform: translateX(-50%);
  }
}

.aiv-timeline-root .phases {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.aiv-timeline-root .phase {
  position: relative;
}

.aiv-timeline-root .phase-header-row {
  position: relative;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .phase-header-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

.aiv-timeline-root .phase-dot-wrap {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .aiv-timeline-root .phase-dot-wrap {
    left: 50%;
    transform: translateX(-50%);
  }
}

.aiv-timeline-root .phase-dot-outer {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  overflow: visible;
}

.aiv-timeline-root .phase-dot {
  position: relative;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 2px solid #00ff9c;
  background: var(--background);
  box-shadow:
    0 0 20px rgba(0, 255, 156, 0.6),
    0 0 40px rgba(0, 255, 156, 0.3);
}

/* React와 같이 펄스 레이어가 타임라인 링 위에 그려져야 리플이 보임 */
.aiv-timeline-root .phase-dot-ping {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #00ff9c;
  opacity: 0.2;
  pointer-events: none;
  transform-origin: center;
  animation: ping-ring 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.aiv-timeline-root .phase-info {
  padding-left: 3rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .phase-info {
    padding-left: 0;
  }

  .aiv-timeline-root .phase-info--start-1 {
    grid-column: 1 / span 2;
  }

  .aiv-timeline-root .phase-info--start-2 {
    grid-column: 2 / span 2;
  }
}

.aiv-timeline-root .phase-chip {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 255, 156, 0.3);
  background: rgba(0, 255, 156, 0.05);
  margin-bottom: 1rem;
}

.aiv-timeline-root .phase-chip-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #00ff9c;
}

.aiv-timeline-root .phase-title {
  margin: 0 0 0.75rem;
  font-size: 1.875rem;
  font-weight: 300;
  color: #fff;
}

@media (min-width: 768px) {
  .aiv-timeline-root .phase-title {
    font-size: 2.25rem;
  }
}

.aiv-timeline-root .phase-period {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 255, 156, 0.8);
}

.aiv-timeline-root .phase-desc {
  margin: 0;
  max-width: 36rem;
  line-height: 1.625;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.aiv-timeline-root .phase-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 3rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .phase-items {
    padding-left: 0;
  }
}

.aiv-timeline-root .timeline-item {
  position: relative;
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

.aiv-timeline-root .timeline-item-dot-wrap {
  position: absolute;
  left: 0;
  top: 0.5rem;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-item-dot-wrap {
    left: 50%;
    transform: translateX(-50%);
  }
}

.aiv-timeline-root .item-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 255, 156, 0.5);
  background: var(--background);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.aiv-timeline-root .timeline-item:hover .item-dot {
  border-color: #00ff9c;
  box-shadow: 0 0 10px #00ff9c;
}

.aiv-timeline-root .timeline-item-body {
  position: relative;
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-item--side-b .timeline-item-body {
    grid-column-start: 2;
    text-align: left;
  }

  .aiv-timeline-root .timeline-item--side-a .timeline-item-body {
    grid-column-start: 1;
    text-align: right;
  }
}

.aiv-timeline-root .timeline-item-inner {
  display: inline-block;
  transition: transform 0.3s;
}

.aiv-timeline-root .timeline-item:hover .timeline-item-inner {
  transform: translateX(4px);
}

.aiv-timeline-root .timeline-item-year-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-item-body--right .timeline-item-year-row {
    justify-content: flex-end;
  }
}

.aiv-timeline-root .timeline-year {
  font-size: clamp(0.8125rem, 2.4vw, 1.125rem);
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #00ff9c;
  word-break: keep-all;
}

.aiv-timeline-root .timeline-year-line {
  height: 1px;
  width: 2rem;
  background: rgba(0, 255, 156, 0.3);
  transition: width 0.3s;
}

.aiv-timeline-root .timeline-item:hover .timeline-year-line {
  width: 3rem;
}

.aiv-timeline-root .timeline-copy {
  margin: 0;
  max-width: 28rem;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aiv-timeline-root .timeline-item-body--right .timeline-copy {
    margin-left: auto;
  }
}

/* —— Phase summary —— */
.aiv-timeline-root .summary {
  position: relative;
  padding: 8rem 1.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .summary {
    padding: 8rem 3rem;
  }
}

.aiv-timeline-root .summary-bg-accent {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 255, 156, 0.05), transparent);
  pointer-events: none;
}

.aiv-timeline-root .summary-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.aiv-timeline-root .summary-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.aiv-timeline-root .summary-card {
  position: relative;
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 255, 156, 0.2);
  background: linear-gradient(to bottom, rgba(0, 255, 156, 0.05), transparent);
  backdrop-filter: blur(4px);
  transition:
    border-color 0.3s,
    background 0.3s;
}

.aiv-timeline-root .summary-card:hover {
  border-color: rgba(0, 255, 156, 0.4);
}

.aiv-timeline-root .summary-card-top-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.5), transparent);
}

.aiv-timeline-root .summary-card-num {
  margin-bottom: 1.5rem;
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 200;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(0, 255, 156, 0.2);
  transition: color 0.3s;
}

.aiv-timeline-root .summary-card:hover .summary-card-num {
  color: rgba(0, 255, 156, 0.3);
}

.aiv-timeline-root .summary-card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.aiv-timeline-root .summary-card-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: #fff;
}

.aiv-timeline-root .summary-card-period {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00ff9c;
}

.aiv-timeline-root .summary-card-desc {
  margin: 0;
  line-height: 1.625;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.aiv-timeline-root .summary-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 255, 156, 0.1);
}

.aiv-timeline-root .summary-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.aiv-timeline-root .summary-metric-label {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.aiv-timeline-root .summary-metric-value {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #00ff9c;
}

.aiv-timeline-root .summary-card-bottom-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.aiv-timeline-root .summary-card:hover .summary-card-bottom-glow {
  opacity: 1;
}

/* —— Future —— */
.aiv-timeline-root .future {
  position: relative;
  padding: 10rem 1.5rem;
}

@media (min-width: 768px) {
  .aiv-timeline-root .future {
    padding: 10rem 3rem;
  }
}

.aiv-timeline-root .future-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.aiv-timeline-root .future-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.aiv-timeline-root .future-heading {
  margin: 0 auto;
  max-width: 48rem;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .aiv-timeline-root .future-heading {
    font-size: 3.75rem;
  }
}

.aiv-timeline-root .future-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.625;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .aiv-timeline-root .future-lead {
    font-size: 1.25rem;
  }
}

.aiv-timeline-root .future-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .aiv-timeline-root .future-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aiv-timeline-root .future-point {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aiv-timeline-root .future-point-dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #00ff9c;
  margin: 0 auto;
  box-shadow: 0 0 10px #00ff9c;
}

.aiv-timeline-root .future-point-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.aiv-timeline-root .future-point-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
}

.aiv-timeline-root .future-footer-deco {
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.aiv-timeline-root .future-footer-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 255, 156, 0.3), transparent);
}

.aiv-timeline-root .future-footer-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.aiv-timeline-root .future-footer-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
}

.aiv-timeline-root .future-footer-dot--a {
  background: rgba(0, 255, 156, 0.5);
}

.aiv-timeline-root .future-footer-dot--b {
  background: rgba(0, 255, 156, 0.3);
}

.aiv-timeline-root .future-footer-dot--c {
  background: rgba(0, 255, 156, 0.1);
}

.aiv-timeline-root .future-foot {
  margin-top: 5rem;
  padding-bottom: 3rem;
}

.aiv-timeline-root .future-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}

/* —— 스크롤 시 등장 (IntersectionObserver + .is-visible) */
.aiv-timeline-root .scroll-reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.aiv-timeline-root .scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.aiv-timeline-root .phase .timeline-item {
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.aiv-timeline-root .phase .timeline-item.is-visible {
  opacity: 1;
}

.aiv-timeline-root .phase.scroll-reveal:not(.is-visible) .timeline-item {
  opacity: 0;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .aiv-timeline-root .page-bg {
    animation: none;
    opacity: 0.3;
  }

  .scroll-reveal,
  .aiv-timeline-root .phase .timeline-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
