@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Caveat:wght@500;600;700&display=swap);
/* ============================================================
   Mint Source — self-contained theme (fonts + tokens + shared classes)
   Imported by EVERY component so code components carry their own
   variables, button styles, and fonts into Webflow (where the
   site-level globals are not guaranteed to be present).
   Contains NO bare tag selectors (body/a/*) — those are page-level
   and handled by site custom code; see README "Webflow page setup".
   ============================================================ */

:host {
  --ms-teal: #5f9e8f;
  --ms-teal-light: #7db8ab;
  --ms-teal-dark: #4a8577;
  --ms-dark: #092322;
  --ms-dark-2: #0d302e;
  --ms-dark-3: #0a2826;
  --ms-gold: #d4952a;
  --ms-gold-light: #e0a740;
  --ms-olive: #879b3e;
  --ms-burgundy: #9d3235;
  --ms-cream: #f0e4c8;
  --ms-white: #fff;
  --ms-font: "Poppins", sans-serif;
  --ms-hand: "Caveat", cursive;
  --ms-space-16: 64px;
  --ms-space-20: 80px;
  --ms-space-24: 96px;
  --ms-space-30: 120px;
  --ms-radius-md: 12px;
  --ms-radius-lg: 16px;
  --ms-radius-xl: 20px;
  --ms-radius-2xl: 24px;
  --ms-radius-pill: 999px;
  --ms-shadow-gold: 0 12px 32px rgba(212, 149, 42, 0.2);
  --ms-shadow-gold-hover: 0 16px 40px rgba(212, 149, 42, 0.35);
  --ms-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ms-dur-base: 300ms;
  --ms-dur-reveal: 900ms;
  --ms-max-wide: 1200px;
  --ms-max-narrow: 920px;
  --ms-gutter: 40px;
  --ms-gutter-mobile: 20px;
}

/* shared layout + type primitives */
.ms-container {
  max-width: var(--ms-max-wide);
  margin: 0 auto;
  padding: 0 var(--ms-gutter);
}
@media (max-width: 768px) {
  .ms-container {
    padding: 0 var(--ms-gutter-mobile);
  }
}

.pretitle {
  font-family: var(--ms-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ms-teal);
  opacity: 0.85;
  margin-bottom: 20px;
  display: block;
}
.section-heading {
  font-family: var(--ms-font);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 36px;
  }
}
.section-subtitle {
  font-family: var(--ms-font);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* shared buttons — text-decoration:none baked in (no reliance on an `a` reset) */
.btn {
  font-family: var(--ms-font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: var(--ms-radius-md);
  transition: all var(--ms-dur-base) var(--ms-ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ms-gold), var(--ms-gold-light));
  color: #fff;
  box-shadow: var(--ms-shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ms-shadow-gold-hover);
  filter: brightness(1.05);
}
.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* scroll reveal (driven by useReveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--ms-dur-reveal) var(--ms-ease-out),
    transform var(--ms-dur-reveal) var(--ms-ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.timeline {
  padding: var(--ms-space-24) 0;
}
.timeline__head {
  text-align: center;
  margin-bottom: 80px;
}
.tl {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
}
.tl::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(95, 158, 143, 0.5), rgba(95, 158, 143, 0.1));
  transform: translateX(-50%);
}
.tl__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 60px;
}
.tl__row:last-child {
  margin-bottom: 0;
}
.tl__dot {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ms-teal);
  border: 3px solid var(--ms-dark);
  transform: translateX(-50%);
  z-index: 2;
}
.tl__card {
  background: var(--ms-dark-2);
  border: 1px solid rgba(95, 158, 143, 0.12);
  border-radius: var(--ms-radius-xl);
  padding: 30px 32px;
  transition: transform var(--ms-dur-base) var(--ms-ease-out),
    border-color var(--ms-dur-base) var(--ms-ease-out);
}
.tl__card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 158, 143, 0.3);
}
.tl__img {
  align-self: center;
  border-radius: var(--ms-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(95, 158, 143, 0.15);
  background: var(--ms-dark-3);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 380px;
}
.tl__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tl__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px;
}

/* 2023 (child 2): card LEFT, image RIGHT */
.tl__row:nth-child(2) .tl__card {
  grid-column: 1;
  grid-row: 1;
  margin-right: 44px;
}
.tl__row:nth-child(2) .tl__img {
  grid-column: 2;
  grid-row: 1;
  margin-left: 44px;
  justify-self: stretch;
  align-self: center;
  width: auto;
  max-width: none;
  aspect-ratio: auto;
  height: auto;
  background: transparent;
  border: 0;
}
.tl__row:nth-child(2) .tl__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--ms-radius-xl);
}

/* 2024 (child 3): card RIGHT */
.tl__row:nth-child(3) .tl__card {
  grid-column: 2;
  grid-row: 1;
  margin-left: 44px;
}

/* 2025 (child 4): card LEFT */
.tl__row:nth-child(4) .tl__card {
  grid-column: 1;
  grid-row: 1;
  margin-right: 44px;
}

/* 2026 (child 5): card RIGHT, image LEFT */
.tl__row:nth-child(5) .tl__card {
  grid-column: 2;
  grid-row: 1;
  margin-left: 44px;
}
.tl__row:nth-child(5) .tl__img {
  grid-column: 1;
  grid-row: 1;
  margin-right: 44px;
  justify-self: stretch;
  align-self: center;
  width: auto;
  max-width: none;
  aspect-ratio: auto;
  height: auto;
  background: transparent;
  border: 0;
}
.tl__row:nth-child(5) .tl__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--ms-radius-xl);
}
.tl__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.tl__year {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ms-teal);
}
.tl__team {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(95, 158, 143, 0.12);
  border: 1px solid rgba(95, 158, 143, 0.22);
  border-radius: var(--ms-radius-pill);
  padding: 4px 12px;
}
.tl__title {
  font-family: var(--ms-hand);
  font-size: 28px;
  color: #fff;
  margin: 4px 0 14px;
  line-height: 1.1;
}
.tl__quote {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 16px;
}
.tl__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* class-based reset — Webflow strips the global `ul { list-style:none }`
     tag selector, which otherwise leaves a default disc + our custom dot */
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl__list li {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 18px;
  position: relative;
}
.tl__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ms-teal);
}

/* entrance choreography */
.tl__row .tl__card,
.tl__row .tl__img {
  opacity: 0;
  transition: opacity 800ms var(--ms-ease-out), transform 800ms var(--ms-ease-out);
  will-change: opacity, transform;
}
.tl__row:nth-child(2) .tl__card {
  transform: translateX(-40px);
}
.tl__row:nth-child(2) .tl__img {
  transform: translateX(40px) scale(0.97);
}
.tl__row:nth-child(3) .tl__card {
  transform: translateX(40px);
}
.tl__row:nth-child(4) .tl__card {
  transform: translateX(-40px);
}
.tl__row:nth-child(5) .tl__card {
  transform: translateX(40px);
}
.tl__row:nth-child(5) .tl__img {
  transform: translateX(-40px) scale(0.97);
}
.tl__row.in .tl__card,
.tl__row.in .tl__img {
  opacity: 1;
  transform: none;
}
.tl__row.in .tl__img {
  transition-delay: 120ms;
}

/* progress line that fills as you scroll */
.tl__progress {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ms-teal-light), var(--ms-teal));
  transform: translateX(-50%);
  height: 0;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(95, 158, 143, 0.55);
  transition: height 120ms linear;
  pointer-events: none;
  z-index: 1;
}

/* dots light up when the progress line reaches them */
.tl__dot {
  transition: transform 350ms var(--ms-ease-out), background 350ms var(--ms-ease-out),
    box-shadow 350ms var(--ms-ease-out);
}
.tl__dot.active {
  background: var(--ms-gold-light);
  transform: translateX(-50%) scale(1.35);
  box-shadow: 0 0 0 6px rgba(212, 149, 42, 0.18), 0 0 16px rgba(212, 149, 42, 0.55);
}

@media (max-width: 760px) {
  .tl::before {
    left: 8px;
  }
  /* keep the scroll-fill line + dots aligned to the left rail on mobile */
  .tl__progress {
    left: 8px;
  }
  .tl__row {
    grid-template-columns: 1fr;
  }
  .tl__dot {
    left: 8px;
  }
  .tl__row:nth-child(odd) .tl__card,
  .tl__row:nth-child(even) .tl__card {
    grid-column: 1;
    grid-row: auto; /* reset the desktop grid-row:1 so card/image stack instead of overlapping */
    margin: 0 0 0 36px;
  }
  .tl__row:nth-child(odd) .tl__img,
  .tl__row:nth-child(even) .tl__img {
    grid-column: 1;
    grid-row: auto; /* image drops BELOW the card on mobile */
    margin: 14px 0 0 36px;
    max-width: none;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl__row .tl__card,
  .tl__row .tl__img {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tl__progress {
    transition: none;
  }
  .tl__dot {
    transition: none;
  }
}

