:root {
  --bg: #050912;
  --bg-soft: #070d1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --teal: #27e0a8;
  --teal-dim: #124a3a;
  --blue: #2e7bff;
  --text: #f3f6fb;
  --muted: #8993a8;
  --muted-2: #575f73;
}

/* ####################################### Timeline - Webpage - START ####################################### */
.timeline-webpage {
  margin: 0;
  background: #303030;
  color: #ffffff;
  /* ---------- backdrop texture ---------- */
  /* ---------- scroll progress ---------- */
  /* ---------- floating chapter indicator ---------- */
  /* ---------- hero ---------- */
  /* ---------- stats ---------- */
  /* ---------- section head ---------- */
  /* ---------- editorial timeline ---------- */
  /* .year-col .icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .year-col .icon-badge svg {
    width: 19px;
    height: 19px;
  } */
  /* scroll reveal */
  /* ---------- closing ---------- */
}
.timeline-webpage h6,
.timeline-webpage .h6,
.timeline-webpage h5,
.timeline-webpage .h5,
.timeline-webpage h4,
.timeline-webpage .h4,
.timeline-webpage h3,
.timeline-webpage .h3,
.timeline-webpage h2,
.timeline-webpage .h2,
.timeline-webpage h1,
.timeline-webpage .h1,
.timeline-webpage .h7 {
  color: var(--text);
}
.timeline-webpage img {
  max-width: 100%;
}
.timeline-webpage .grad-text {
  background: linear-gradient(270deg, #56c7f0 0%, #1A8E42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.timeline-webpage .noise-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, black 5%, transparent 70%);
}
.timeline-webpage .progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.06);
}
.timeline-webpage .progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1A8E42, #F89B1F);
  transition: width 0.08s linear;
}
.timeline-webpage .chapter-hud {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 100px;
  background: rgba(9, 14, 25, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.timeline-webpage .chapter-hud.show {
  opacity: 1;
  transform: none;
}
.timeline-webpage .chapter-hud .ring {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(#1A8E42 calc(var(--pct, 0) * 1%), rgba(255, 255, 255, 0.1) 0);
}
.timeline-webpage .chapter-hud .ring::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a1120;
}
.timeline-webpage .chapter-hud .label {
  font-size: 12px;
  line-height: 1.3;
}
.timeline-webpage .chapter-hud .label b {
  display: block;
  font-size: 13px;
}
.timeline-webpage .chapter-hud .label span {
  color: var(--muted);
}
.timeline-webpage .hero {
  position: relative;
  z-index: 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.timeline-webpage .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 50% at 78% 30%, rgba(46, 123, 255, 0.16), transparent 60%), radial-gradient(ellipse 50% 45% at 15% 75%, rgba(39, 224, 168, 0.1), transparent 60%);
}
.timeline-webpage #particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  width: 100%;
  height: 100%;
}
.timeline-webpage .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 16px 8px 12px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.timeline-webpage .pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1A8E42;
  box-shadow: 0 0 10px #1A8E42;
  animation: dotpulse 2.4s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.timeline-webpage .quote {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.24;
  font-weight: 600;
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.timeline-webpage .attribution {
  display: flex;
  align-items: center;
  gap: 16px;
}
.timeline-webpage .attribution .bar {
  width: 3px;
  height: 44px;
  border-radius: 2px;
  background: linear-gradient(#1A8E42, #F89B1F);
}
.timeline-webpage .attribution .name {
  font-weight: 600;
  font-size: 20px;
}
.timeline-webpage .attribution .role {
  font-size: 13px;
  color: var(--muted);
}
.timeline-webpage .hero-photo {
  position: relative;
}
.timeline-webpage .frame {
  position: relative;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--border);
}
.timeline-webpage .frame img {
  background: linear-gradient(155deg, rgba(39, 224, 168, 0.55), rgba(46, 123, 255, 0.25) 55%, rgba(255, 255, 255, 0.05));
  border-radius: 17px;
  width: 100%;
  filter: grayscale(0.12) contrast(1.05);
}
.timeline-webpage .float-card {
  position: absolute;
  left: -18px;
  bottom: -22px;
  z-index: 2;
  background: rgba(9, 14, 25, 0.78);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
}
.timeline-webpage .float-card b {
  display: block;
  font-size: 20px;
}
.timeline-webpage .float-card span {
  font-size: 12px;
  color: var(--muted);
}
.timeline-webpage .scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.timeline-webpage .scroll-cue .stem {
  width: 1px;
  height: 32px;
  background: linear-gradient(#1A8E42, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.9;
  }
}
.timeline-webpage .stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  height: 100%;
}
.timeline-webpage .stat:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 224, 168, 0.35);
  background: var(--surface-2);
}
.timeline-webpage .stat .num {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  display: inline-block;
}
.timeline-webpage .stat .lbl {
  color: var(--white);
  margin-top: 6px;
  line-height: 1.45;
}
.timeline-webpage .section-head {
  max-width: 1200px;
  margin: 120px auto 70px;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}
.timeline-webpage .section-head .pill {
  margin-bottom: 20px;
}
.timeline-webpage .section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 14px;
  max-width: 640px;
  letter-spacing: -0.01em;
}
.timeline-webpage .section-head p {
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.timeline-webpage .timeline {
  position: relative;
  z-index: 1;
}
.timeline-webpage .era-row {
  position: relative;
  display: grid;
  grid-template-columns: 22% 100px 1fr;
  padding-bottom: 90px;
}
.timeline-webpage .era-row:last-child {
  padding-bottom: 20px;
}
.timeline-webpage .year-col {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
  padding-bottom: 6px;
}
.timeline-webpage .year-col .idx {
  color: var(--muted-2);
  font-size: 11.5px;
  display: block;
  margin-bottom: 14px;
}
.timeline-webpage .year-col h3 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.timeline-webpage .spine-col {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-webpage .spine-col .track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--border-soft);
}
.timeline-webpage .spine-col .node {
  position: sticky;
  top: 130px;
  z-index: 2;
  width: var(--dot, 9px);
  height: var(--dot, 9px);
  border-radius: 50%;
  background: #1A8E42;
  box-shadow: 0 0 0 5px rgba(39, 224, 168, 0.1), 0 0 16px rgba(39, 224, 168, 0.55);
  margin-top: 4px;
}
.timeline-webpage .content-col {
  padding-top: 2px;
}
.timeline-webpage .content-col .tag {
  color: #1A8E42;
  font-size: 11.5px;
  display: inline-block;
  margin-bottom: 12px;
}
.timeline-webpage .content-col .card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 26px 28px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.timeline-webpage .content-col .card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--surface-2);
}
.timeline-webpage .content-col h4 {
  font-size: 19px;
  margin: 0 0 14px;
  font-weight: 600;
}
.timeline-webpage .content-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline-webpage .content-col li {
  font-size: 14.5px;
  color: #c6cfde;
  line-height: 1.6;
  padding: 6px 0 6px 20px;
  position: relative;
}
.timeline-webpage .content-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 1.5px;
  background: #F89B1F;
}
.timeline-webpage .photo {
  margin-top: 18px;
  overflow: hidden;
  display: inline-block;
  border-radius: 12px;
}
.timeline-webpage .photo img {
  filter: grayscale(0.1) contrast(1.05);
  transition: transform 0.5s ease;
}
.timeline-webpage .photo:hover img {
  transform: scale(1.035);
}
.timeline-webpage .era-row.milestone .content-col .card {
  border-color: rgba(39, 224, 168, 0.3);
  box-shadow: 0 24px 50px -30px rgba(39, 224, 168, 0.3);
}
.timeline-webpage .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.timeline-webpage .reveal.in {
  opacity: 1;
  transform: none;
}
.timeline-webpage .closing {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 80px 32px 100px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.timeline-webpage .closing h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.timeline-webpage .closing p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 460px;
}
.timeline-webpage .badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.timeline-webpage .badge-row .pill {
  margin: 0;
  padding: 7px 14px;
  font-size: 11px;
}
.timeline-webpage .closing .photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.timeline-webpage .closing .photos img {
  border-radius: 12px;
  filter: grayscale(0.1) contrast(1.05);
  transition: transform 0.5s ease;
}
.timeline-webpage .closing .photos > div {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}
.timeline-webpage .closing .photos > div:hover img {
  transform: scale(1.04);
}
.timeline-webpage .closing .photos .full {
  grid-column: 1/3;
}
.timeline-webpage footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 32px 44px;
  color: var(--muted-2);
  font-size: 11.5px;
  border-top: 1px solid var(--border-soft);
}
@media (max-width: 880px) {
  .timeline-webpage .era-row {
    grid-template-columns: 26px 1fr;
    padding-bottom: 56px;
  }
  .timeline-webpage .era-row .year-col {
    grid-column: 1/3;
    padding-bottom: 16px;
    position: static;
  }
  .timeline-webpage .era-row .year-col h3 {
    margin: 0;
  }
  .timeline-webpage .era-row .year-col .idx {
    display: none;
  }
  .timeline-webpage .era-row .spine-col {
    grid-column: 1;
    grid-row: 2;
  }
  .timeline-webpage .era-row .spine-col .node {
    position: static;
    margin-top: 4px;
  }
  .timeline-webpage .era-row .content-col {
    grid-column: 2;
    grid-row: 2;
  }
  .timeline-webpage .chapter-hud {
    display: none;
  }
}