/* Bespoke additions on top of the mirrored site (see site.js).
   Values are taken from the site's own text sections so the additions read
   as native: Ano-web, the lime eyebrow colour, white at 60% for body copy. */

/* ---------- Timeline strip ---------- */
.bspk-has-timeline .col2,
.bspk-has-timeline .col1 + * ul { display: none; }
.bspk-has-timeline { display: block !important; }

.bspk-timeline {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.bspk-timeline__item { position: relative; margin: 0; padding: 0; }
.bspk-timeline__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}
.bspk-timeline__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.bspk-timeline__item:hover .bspk-timeline__thumb img { transform: scale(1.04); }
.bspk-timeline__mark {
  display: block;
  position: relative;
  height: 9px;
  margin-bottom: 20px;
}
/* the rule runs from each dot across the gap to the next one */
.bspk-timeline__item:not(:last-child) .bspk-timeline__mark::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: calc(100% + 24px);
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.bspk-timeline__dot {
  position: absolute;
  left: 0; top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgb(235, 255, 191);
}
.bspk-timeline__year {
  display: block;
  font-size: 24px;
  line-height: 32px;
  color: rgb(254, 254, 254);
  margin-bottom: 8px;
}
.bspk-timeline__text {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* tablet and phone: the strip scrolls sideways */
@media (max-width: 1100px) {
  .bspk-timeline {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 42vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .bspk-timeline::-webkit-scrollbar { display: none; }
  .bspk-timeline__item { scroll-snap-align: start; }
}
