/* =============================================
   OM OS — Timeline teaser
   ============================================= */

.tl-teaser {
    padding-block: var(--space-20);
    background: var(--color-navy);
    color: var(--color-white);
    overflow: hidden;
}

/* ── Header text ─────────────────────────────── */

.tl-teaser__head {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: var(--space-16);
}

.tl-teaser__label {
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--space-3);
}

.tl-teaser__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: var(--space-5);
}

.tl-teaser__sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.60);
    line-height: 1.7;
}

/* ── Horizontal strip wrapper (scrollable) ─── */

.tl-strip-wrap {
    overflow-x: auto;
    padding-bottom: 60px;
    padding-top: var(--space-6);
    /* hide scrollbar but keep scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tl-strip-wrap::-webkit-scrollbar {
    display: none;
}

/* ── Strip ───────────────────────────────────── */

.tl-strip {
    list-style: none;
    display: flex;
    align-items: stretch;
    min-width: max-content;
    padding-inline: var(--space-6);
    position: relative;
    height: 160px;
}

/* The horizontal center line */
.tl-strip::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255,255,255,0.20);
    transform: translateY(-50%);
}

/* ── Entry ───────────────────────────────────── */

.tl-strip__entry {
    position: relative;
    width: 160px;
    flex-shrink: 0;
}

/* Dot — always pinned to the center line */
.tl-strip__entry::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 2px solid var(--color-navy);
    box-shadow: 0 0 0 2px var(--color-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Vertical connector line */
.tl-strip__entry::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    background: rgba(255,255,255,0.20);
    transform: translateX(-50%);
}

/* ── Top entries — body above the line ──────── */

.tl-strip__entry--top::after {
    bottom: 50%;
    height: 20px;
    top: auto;
}

.tl-strip__entry--top .tl-strip__body {
    position: absolute;
    bottom: calc(50% + 28px);
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

/* ── Bottom entries — body below the line ───── */

.tl-strip__entry--bottom::after {
    top: 50%;
    height: 20px;
    bottom: auto;
}

.tl-strip__entry--bottom .tl-strip__body {
    position: absolute;
    top: calc(50% + 28px);
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

/* ── Body (year + text) ──────────────────────── */

.tl-strip__body {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 140px;
}

.tl-strip__year {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.tl-strip__text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}

/* ── Footer CTA ──────────────────────────────── */

.tl-teaser__foot {
    text-align: center;
    margin-top: var(--space-14);
}
