/**
 * About Page Styles - KnockOut Premium
 * Optimized for performance and visual impact
 */

/* ===== VARIABLES (Inherit from main) ===== */
:root {
    --gradient-1: #acd13a;
    --gradient-2: #0bd4f3;
    --neon: #b0d136;
    --neon-glow: rgba(176, 209, 54, 0.3);
}

/* ===== ABOUT HERO SECTION ===== */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://mir-s3-cdn-cf.behance.net/project_modules/fs/90fb1686166791.5d91c4fed40d7.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
    margin: 5px 0;
}

.hero-title .gradient-text {
    font-size: 5rem;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    margin: 30px auto;
    border-radius: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ===== ABOUT INTRO SECTION ===== */
.about-intro {
    padding: 100px 0;
    background: #000;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content {
    padding-right: 40px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 25px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.intro-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.intro-feature:hover {
    transform: translateX(10px);
    background: rgba(176, 209, 54, 0.05);
}

.intro-feature .feature-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.intro-feature .feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.intro-feature .feature-text p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Intro Image */
.intro-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.frame-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at 30% 50%, rgba(176, 209, 54, 0.3), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(20px);
    }

    50% {
        opacity: 0.8;
        filter: blur(25px);
    }
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(176, 209, 54, 0.3);
    text-align: center;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #b0d136;
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(45deg, #0a0a0a, #000);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== VISION SECTION ===== */
.vision-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.vision-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.vision-image:hover img {
    transform: scale(1.02);
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin: 30px 0;
}

.vision-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.vision-feature {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.vision-feature:hover {
    background: rgba(176, 209, 54, 0.05);
    transform: translateY(-5px);
}

.vision-feature .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.vision-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #b0d136;
}

.vision-feature p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 100px 0;
    background: #000;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

.neon-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    margin: 20px auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: #b0d136;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #b0d136;
}

.value-card p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== LEADER SECTION ===== */
.leader-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a, #000);
    position: relative;
    overflow: hidden;
}

.leader-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.leader-image {
    position: relative;
}

.premium-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.frame-neon {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gradient-1), var(--gradient-2), var(--gradient-1));
    border-radius: 22px;
    z-index: -1;
    animation: rotateNeon 4s linear infinite;
}

@keyframes rotateNeon {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.leader-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

.experience-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #b0d136;
    z-index: 2;
}

.experience-tag span {
    color: #b0d136;
    font-weight: 700;
    font-size: 1rem;
}

.leader-name {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.leader-title {
    font-size: 1.2rem;
    color: #b0d136;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.leader-bio p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.leader-achievements {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.achievement {
    text-align: center;
}

.achievement-number {
    font-size: 1.8rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.achievement-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-quote {
    position: relative;
    padding: 20px 0 0 30px;
    margin-top: 30px;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: #b0d136;
    opacity: 0.3;
    font-family: serif;
}

.leader-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #b0d136;
    line-height: 1.6;
}

/* =====================================================
   RESPONSIVE OVERRIDES (TOP SECTIONS)
===================================================== */

/* ── Large tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title .gradient-text {
        font-size: 4rem;
    }

    .intro-grid,
    .vision-grid,
    .leader-grid {
        gap: 40px;
    }

    .intro-content {
        padding-right: 0;
    }

    .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-features {
        gap: 15px;
    }
}

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
    .about-hero {
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-title .gradient-text {
        font-size: 3.2rem;
    }

    .about-intro,
    .vision-section,
    .values-section,
    .leader-section {
        padding: 60px 0;
    }

    .stats-section {
        padding: 40px 0;
    }

    .intro-grid,
    .vision-grid,
    .leader-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vision-image {
        grid-row: 1;
    }

    .leader-image {
        grid-row: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .intro-feature {
        text-align: left;
    }

    .vision-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .leader-achievements {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px;
    }

    .badge-number {
        font-size: 2rem;
    }
}

/* ── Mobile portrait (≤ 480px) ── */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title .gradient-text {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .intro-grid,
    .vision-grid,
    .leader-grid {
        gap: 30px;
    }

    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .leader-name {
        font-size: 2rem;
    }

    .about-intro,
    .vision-section,
    .values-section,
    .leader-section {
        padding: 40px 0;
    }

    .quote-icon {
        font-size: 2rem;
    }

    .leader-quote {
        padding-left: 20px;
    }
}

/**
 * Timeline / Image Ladder Section
 *
 * File:    assets/css/timeline-section.css
 * Theme:   Knockout 2026
 * Enqueue: inc/enqueue-scripts.php
 *
 * Namespace: "tl-"
 *
 * ─── HOW THE LAYOUT WORKS ──────────────────────────────
 *
 * Every .tl-item is a 3-column CSS Grid:
 *
 *   grid-template-columns: 1fr  [--tl-mid]  1fr
 *                          col1    col2      col3
 *
 * ODD  items → col1 = IMAGE,   col2 = NODE, col3 = CONTENT
 * EVEN items → col1 = CONTENT, col2 = NODE, col3 = IMAGE
 *
 * The vertical spine sits dead-centre (left: 50%) inside .tl-track.
 * col2 (--tl-mid) is the gap around the spine; its width equals the
 * space the connector line needs to bridge card → node.
 *
 * ─── CONNECTOR LINE ────────────────────────────────────
 *
 * .tl-connector is a <span> that is the FIRST CHILD of .tl-content.
 * It is absolutely positioned so it escapes the card border into col2,
 * pointing toward the node dot.
 *
 *   ODD  items: content lives in col3 (right side)
 *               → connector goes LEFT  (right: 100%)
 *
 *   EVEN items: content lives in col1 (left side)
 *               → connector goes RIGHT (left: 100%)
 *
 * ─── SCROLL ANIMATIONS ─────────────────────────────────
 *
 * .tl-anim--left  — starts at translateX(-70px), opacity 0
 * .tl-anim--right — starts at translateX(+70px), opacity 0
 * JS (timeline-scroll.js) adds .tl-anim--in when element
 * enters viewport via IntersectionObserver.
 * Content card always gets a 150ms delay vs its image partner.
 *
 * ─── RESPONSIVE ────────────────────────────────────────
 *
 * The 3-column grid is NEVER collapsed to a single column.
 * Layout stays side-by-side at all sizes.
 * --tl-mid shrinks at each breakpoint; font/image sizes scale down.
 *
 * ───────────────────────────────────────────────────────
 *
 * TABLE OF CONTENTS
 *   1.  CSS Custom Properties (variables)
 *   2.  Section wrapper + ambient background
 *   3.  Container
 *   4.  Section header
 *   5.  Timeline track + vertical spine
 *   6.  Timeline item (3-col grid + column assignments)
 *   7.  Node (col 2)
 *   8.  Image block (col 1 or col 3)
 *   9.  Content card (col 1 or col 3)
 *  10.  Connector line
 *  11.  Scroll-reveal animation classes
 *  12.  CTA box (inside item 6 content)
 *  13.  Story CTA section
 *  14.  Shared button styles
 *  15.  Responsive overrides (tablet → mobile)
 *  16.  Reduced-motion override
 */


/* =====================================================
   1. CSS CUSTOM PROPERTIES
===================================================== */
:root {

    /* Brand colours */
    --tl-lime: #B0D136;
    --tl-lime-glow: rgba(176, 209, 54, 0.55);
    --tl-lime-faint: rgba(176, 209, 54, 0.20);
    --tl-cyan: #00D4FF;
    --tl-pink: #FF2ED1;
    --tl-pink-glow: rgba(255, 46, 209, 0.55);
    --tl-pink-faint: rgba(255, 46, 209, 0.20);
    --tl-white: #ffffff;
    --tl-muted: rgba(255, 255, 255, 0.65);
    --tl-card-bg: rgba(255, 255, 255, 0.03);
    --tl-card-border: rgba(176, 209, 54, 0.22);

    /* Typography */
    --tl-font-display: 'Bebas Neue', 'Impact', sans-serif;
    --tl-font-body: 'Barlow Condensed', 'Arial Narrow', sans-serif;

    /* Motion */
    --tl-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --tl-ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
    --tl-dur: 0.85s;
    --tl-delay: 0.15s;
    /* stagger: content after image */

    /*
     * --tl-mid: width of the centre column (col 2).
     * This controls:
     *   a) the grid gap that straddles the spine
     *   b) the width of the connector line
     * Override at each breakpoint.
     */
    --tl-mid: 100px;
}


/* =====================================================
   2. SECTION WRAPPER + AMBIENT BACKGROUND
===================================================== */
.tl-section {
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #0A0A0F 0%, #14142A 50%, #0A0A0F 100%);
    position: relative;
    overflow: hidden;
}

/* Background container — purely decorative */
.tl-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Large blurred colour blobs */
.tl-bg__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.tl-bg__glow--lime {
    width: 700px;
    height: 700px;
    background: var(--tl-lime);
    opacity: 0.055;
    top: -100px;
    left: -200px;
    animation: tlBgDrift 9s ease-in-out infinite alternate;
}

.tl-bg__glow--pink {
    width: 600px;
    height: 600px;
    background: var(--tl-pink);
    opacity: 0.045;
    bottom: -100px;
    right: -150px;
    animation: tlBgDrift 12s ease-in-out infinite alternate-reverse;
}

@keyframes tlBgDrift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(40px, 30px) scale(1.08);
    }
}

/* Dot grid overlay */
.tl-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(176, 209, 54, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 209, 54, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* Soft radial glow centred on the spine */
.tl-bg__spine-glow {
    position: absolute;
    left: 50%;
    top: 180px;
    bottom: 180px;
    width: 200px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(176, 209, 54, 0.06), transparent 70%);
}


/* =====================================================
   3. CONTAINER
===================================================== */
.tl-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* =====================================================
   4. SECTION HEADER
===================================================== */
.tl-header {
    text-align: center;
    margin-bottom: 90px;
}

.tl-header__eyebrow {
    display: block;
    font-family: var(--tl-font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--tl-lime);
    text-shadow: 0 0 20px var(--tl-lime-glow);
    margin-bottom: 1.2rem;
    animation: tlFadeDown 0.9s var(--tl-ease-out) both;
}

.tl-header__title {
    font-family: var(--tl-font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    color: var(--tl-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    animation: tlFadeDown 0.9s 0.15s var(--tl-ease-out) both;
}

/* Gradient text — lime to cyan */
.tl-grad {
    background: linear-gradient(135deg, var(--tl-lime) 0%, var(--tl-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

/* Coloured divider bar */
.tl-header__divider {
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--tl-lime), var(--tl-cyan), var(--tl-pink));
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 0 20px var(--tl-lime-glow);
    animation: tlScaleIn 0.9s 0.3s var(--tl-ease-out) both;
}

@keyframes tlFadeDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes tlScaleIn {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}


/* =====================================================
   5. TIMELINE TRACK + VERTICAL SPINE
===================================================== */
.tl-track {
    position: relative;
    padding: 0 0 60px;
}

/*
 * Vertical spine — a thin gradient bar running dead-centre
 * of .tl-track, behind all items.
 */
.tl-spine {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            transparent 0%,
            var(--tl-lime) 8%,
            var(--tl-cyan) 45%,
            var(--tl-pink) 88%,
            transparent 100%);
    border-radius: 4px;
    box-shadow: 0 0 18px rgba(176, 209, 54, 0.35);
    z-index: 1;
}


/* =====================================================
   6. TIMELINE ITEM  — 3-COLUMN GRID
===================================================== */
.tl-item {
    display: grid;
    grid-template-columns: 1fr var(--tl-mid) 1fr;
    align-items: center;
    margin-bottom: 90px;
    position: relative;
}

.tl-item:last-child {
    margin-bottom: 0;
}

/*
 * ODD  items: IMAGE in col 1, NODE in col 2, CONTENT in col 3
 * EVEN items: CONTENT in col 1, NODE in col 2, IMAGE in col 3
 *
 * We set grid-column explicitly so neither float nor flex-direction
 * tricks are needed — this works identically at all viewport sizes.
 */

/* ODD */
.tl-item--odd .tl-image {
    grid-column: 1;
    grid-row: 1;
}

.tl-item--odd .tl-node-wrap {
    grid-column: 2;
    grid-row: 1;
}

.tl-item--odd .tl-content {
    grid-column: 3;
    grid-row: 1;
}

/* EVEN */
.tl-item--even .tl-content {
    grid-column: 1;
    grid-row: 1;
}

.tl-item--even .tl-node-wrap {
    grid-column: 2;
    grid-row: 1;
}

.tl-item--even .tl-image {
    grid-column: 3;
    grid-row: 1;
}


/* =====================================================
   7. NODE  (lives inside .tl-node-wrap, col 2)
===================================================== */
.tl-node-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

.tl-node {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing centre dot */
.tl-node__dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tl-lime);
    box-shadow: 0 0 10px var(--tl-lime), 0 0 25px var(--tl-lime-glow);
    position: relative;
    z-index: 2;
}

/* Expanding ring pulse */
.tl-node__ring {
    display: block;
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(176, 209, 54, 0.4);
    animation: tlNodeRing 2.5s ease-in-out infinite;
}

@keyframes tlNodeRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* Final node (item 6) — pink theme */
.tl-node--final .tl-node__dot {
    background: var(--tl-pink);
    box-shadow: 0 0 10px var(--tl-pink), 0 0 25px var(--tl-pink-glow);
    width: 14px;
    height: 14px;
}

.tl-node--final .tl-node__ring {
    border-color: rgba(255, 46, 209, 0.4);
}

/* Extra outer pulse ring on final node */
.tl-node__pulse {
    display: block;
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 46, 209, 0.25);
    animation: tlNodeRing 2s ease-in-out infinite 0.5s;
}


/* =====================================================
   8. IMAGE BLOCK
===================================================== */
.tl-image {
    position: relative;
}

/*
 * Inner padding keeps the image frame away from the spine/node.
 * ODD  items: image is col 1 → pad on the RIGHT side.
 * EVEN items: image is col 3 → pad on the LEFT  side.
 */
.tl-item--odd .tl-image {
    padding-right: calc(var(--tl-mid) / 2);
}

.tl-item--even .tl-image {
    padding-left: calc(var(--tl-mid) / 2);
}

/* Image frame */
.tl-image__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(176, 209, 54, 0.15), 0 25px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s var(--tl-ease-out), box-shadow 0.5s ease;
}

.tl-image__frame:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 0 0 1px rgba(176, 209, 54, 0.45), 0 35px 80px rgba(176, 209, 54, 0.2);
}

/* The photo */
.tl-image__frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.5s ease;
    filter: brightness(0.82) saturate(1.2) contrast(1.05);
}

.tl-image__frame:hover img {
    transform: scale(1.07);
    filter: brightness(0.95) saturate(1.4);
}

/* Colour-tint overlay (fades in on hover) */
.tl-image__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(176, 209, 54, 0.12), rgba(0, 212, 255, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tl-image__frame:hover .tl-image__overlay {
    opacity: 1;
}

/* Corner bracket accents */
.tl-image__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 4;
    transition: width 0.3s ease, height 0.3s ease;
}

.tl-image__frame:hover .tl-image__corner {
    width: 30px;
    height: 30px;
}

.tl-image__corner--tl {
    top: 0;
    left: 0;
    border-top: 3px solid var(--tl-lime);
    border-left: 3px solid var(--tl-lime);
    border-radius: 16px 0 0 0;
    filter: drop-shadow(0 0 5px var(--tl-lime));
}

.tl-image__corner--tr {
    top: 0;
    right: 0;
    border-top: 3px solid var(--tl-lime);
    border-right: 3px solid var(--tl-lime);
    border-radius: 0 16px 0 0;
    filter: drop-shadow(0 0 5px var(--tl-lime));
}

.tl-image__corner--bl {
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--tl-lime);
    border-left: 3px solid var(--tl-lime);
    border-radius: 0 0 0 16px;
    filter: drop-shadow(0 0 5px var(--tl-lime));
}

.tl-image__corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid var(--tl-lime);
    border-right: 3px solid var(--tl-lime);
    border-radius: 0 0 16px 0;
    filter: drop-shadow(0 0 5px var(--tl-lime));
}

/* Year badge overlay on image */
.tl-image__year-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    font-family: var(--tl-font-display);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: var(--tl-lime);
    background: rgba(10, 10, 15, 0.82);
    border: 1px solid rgba(176, 209, 54, 0.4);
    padding: 3px 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 14px rgba(176, 209, 54, 0.22);
    text-shadow: 0 0 10px var(--tl-lime-glow);
}

.tl-image__year-badge--pink {
    color: var(--tl-pink);
    border-color: rgba(255, 46, 209, 0.4);
    box-shadow: 0 0 14px rgba(255, 46, 209, 0.22);
    text-shadow: 0 0 10px var(--tl-pink-glow);
}


/* =====================================================
   9. CONTENT CARD
===================================================== */
.tl-content {
    position: relative;
    /* required for .tl-connector absolute positioning */
    overflow: visible;
    /* allow .tl-connector to extend outside card bounds */
    padding: 40px 36px;
    background: var(--tl-card-bg);
    border: 1px solid var(--tl-card-border);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    transition: background 0.4s ease, border-color 0.4s ease,
        transform 0.4s var(--tl-ease-out), box-shadow 0.4s ease;
}

.tl-content:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(176, 209, 54, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(176, 209, 54, 0.15);
}

/*
 * Inner padding keeps text away from the side where the connector exits.
 * ODD  items: content is col 3 (right side) → pad on the LEFT.
 * EVEN items: content is col 1 (left side)  → pad on the RIGHT.
 */
.tl-item--odd .tl-content {
    padding-left: calc(var(--tl-mid) / 2);
}

.tl-item--even .tl-content {
    padding-right: calc(var(--tl-mid) / 2);
}

/* Large ghost year number */
.tl-content__year {
    display: block;
    font-family: var(--tl-font-display);
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--tl-lime) 0%, var(--tl-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(176, 209, 54, 0.25));
    animation: tlYearGlow 3.5s ease-in-out infinite;
}

@keyframes tlYearGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 18px rgba(176, 209, 54, 0.25));
    }

    50% {
        filter: drop-shadow(0 0 36px rgba(176, 209, 54, 0.50));
    }
}

/* Title */
.tl-content__title {
    font-family: var(--tl-font-display);
    font-size: 2.2rem;
    color: var(--tl-white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 14px;
}

/* Underline accent */
.tl-content__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--tl-lime), var(--tl-cyan));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--tl-lime-glow);
}

/* Body text */
.tl-content__body {
    font-family: var(--tl-font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--tl-muted);
    margin: 0;
}


/* =====================================================
   10. CONNECTOR LINE
   ─────────────────────────────────────────────────
   .tl-connector is a <span> that is the FIRST CHILD
   of .tl-content. It is positioned absolute so it
   stretches from the card border to the node dot.

   Width  = --tl-mid / 2  (half the centre column)
   This makes it meet exactly at the node centre.

   ODD  items (content in col 3, right side):
     → connector exits from the LEFT border of the card
       (right: 100%  means its right edge = card's left border)
     → gradient: transparent (node side) → lime (card side)

   EVEN items (content in col 1, left side):
     → connector exits from the RIGHT border of the card
       (left: 100%  means its left edge = card's right border)
     → gradient: lime (card side) → transparent (node side)
===================================================== */
.tl-connector {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: calc(var(--tl-mid) / 2);
    border-radius: 2px;
    pointer-events: none;
    z-index: 5;
}

/* ODD  → exits LEFT  from content card */
.tl-item--odd .tl-connector {
    right: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--tl-lime) 100%);
    box-shadow: 0 0 8px var(--tl-lime-glow);
}

/* EVEN → exits RIGHT from content card */
.tl-item--even .tl-connector {
    left: 100%;
    background: linear-gradient(90deg, var(--tl-lime) 0%, transparent 100%);
    box-shadow: 0 0 8px var(--tl-lime-glow);
}


/* =====================================================
   11. SCROLL-REVEAL ANIMATION CLASSES
   ─────────────────────────────────────────────────
   Initial hidden state set in CSS.
   JS adds .tl-anim--in when element enters viewport.
===================================================== */

/* Hidden initial states */
.tl-anim--left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity var(--tl-dur) var(--tl-ease-snap),
        transform var(--tl-dur) var(--tl-ease-snap);
}

.tl-anim--right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity var(--tl-dur) var(--tl-ease-snap),
        transform var(--tl-dur) var(--tl-ease-snap);
}

/*
 * Content card staggered delay —
 * image reveals first, content follows 150ms later.
 */
.tl-item--odd .tl-content.tl-anim--right,
.tl-item--even .tl-content.tl-anim--left {
    transition-delay: var(--tl-delay);
}

/* Revealed state (added by JS) */
.tl-anim--left.tl-anim--in,
.tl-anim--right.tl-anim--in {
    opacity: 1;
    transform: none;
}


/* =====================================================
   13. STORY CTA SECTION
===================================================== */
.tl-cta-section {
    padding: 80px 0 110px;
    background: linear-gradient(180deg, #0A0A0F 0%, #14142A 60%, #0A0A0F 100%);
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Top border line */
.tl-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tl-lime), var(--tl-cyan), transparent);
    opacity: 0.5;
}

/* Background radial glow */
.tl-cta-section__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(176, 209, 54, 0.07), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* Main card */
.tl-cta-section__card {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(176, 209, 54, 0.22);
    border-radius: 26px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 80px rgba(176, 209, 54, 0.07);
}

/* Corner brackets on card */
.tl-card-corner {
    position: absolute;
    width: 24px;
    height: 24px;
}

.tl-card-corner--tl {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--tl-lime);
    border-left: 3px solid var(--tl-lime);
    border-radius: 26px 0 0 0;
    filter: drop-shadow(0 0 6px var(--tl-lime));
}

.tl-card-corner--tr {
    top: -1px;
    right: -1px;
    border-top: 3px solid var(--tl-lime);
    border-right: 3px solid var(--tl-lime);
    border-radius: 0 26px 0 0;
    filter: drop-shadow(0 0 6px var(--tl-lime));
}

.tl-card-corner--bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 3px solid var(--tl-lime);
    border-left: 3px solid var(--tl-lime);
    border-radius: 0 0 0 26px;
    filter: drop-shadow(0 0 6px var(--tl-lime));
}

.tl-card-corner--br {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--tl-lime);
    border-right: 3px solid var(--tl-lime);
    border-radius: 0 0 26px 0;
    filter: drop-shadow(0 0 6px var(--tl-lime));
}

.tl-cta-section__eyebrow {
    display: block;
    font-family: var(--tl-font-body);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: rgba(176, 209, 54, 0.6);
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.tl-cta-section__title {
    font-family: var(--tl-font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--tl-white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    line-height: 1.1;
}

.tl-cta-section__desc {
    font-family: var(--tl-font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--tl-muted);
    margin: 0 auto 2.5rem;
    max-width: 560px;
}


/* =====================================================
   14. SHARED BUTTON STYLES
===================================================== */
.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.8rem;
    font-family: var(--tl-font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--tl-ease-out);
    cursor: pointer;
    border: none;
}

/* Pink outline style */
.tl-btn--pink {
    background: linear-gradient(135deg,
            rgba(255, 46, 209, 0.12),
            rgba(255, 46, 209, 0.06));
    border: 2px solid var(--tl-pink);
    color: var(--tl-white);
    box-shadow: 0 0 25px rgba(255, 46, 209, 0.35);
}

.tl-btn--pink:hover {
    background: var(--tl-pink);
    color: #0A0A0F;
    box-shadow: 0 0 50px rgba(255, 46, 209, 0.75), 0 0 90px rgba(255, 46, 209, 0.4);
    transform: translateY(-4px) scale(1.02);
}

/* Large modifier */
.tl-btn--lg {
    padding: 1.2rem 3.4rem;
    font-size: 1.05rem;
}

/* Continuous glow pulse */
.tl-btn--pulse {
    animation: tlBtnPulse 2.5s ease-in-out infinite;
}

@keyframes tlBtnPulse {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 46, 209, 0.35);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 46, 209, 0.70), 0 0 80px rgba(255, 46, 209, 0.30);
    }
}


/* =====================================================
   15. RESPONSIVE OVERRIDES
   ─────────────────────────────────────────────────
   The 3-column grid is preserved at ALL breakpoints.
   We only reduce --tl-mid and scale down typography
   and image heights. Nothing stacks.
===================================================== */

/* ── Large tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
    :root {
        --tl-mid: 72px;
    }

    .tl-image__frame img {
        height: 300px;
    }

    .tl-content {
        padding: 32px 28px;
    }

    .tl-item--odd .tl-content {
        padding-left: calc(var(--tl-mid) / 2);
    }

    .tl-item--even .tl-content {
        padding-right: calc(var(--tl-mid) / 2);
    }

    .tl-content__year {
        font-size: 3.8rem;
    }

    .tl-content__title {
        font-size: 1.9rem;
    }
}

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
    :root {
        --tl-mid: 48px;
    }

    .tl-section {
        padding: 70px 0 60px;
    }

    .tl-header {
        margin-bottom: 60px;
    }

    .tl-item {
        margin-bottom: 70px;
    }

    .tl-spine {
        width: 2px;
    }

    .tl-image__frame {
        border-radius: 12px;
    }

    .tl-image__frame img {
        height: 240px;
    }

    .tl-image__corner {
        width: 15px;
        height: 15px;
    }

    .tl-image__frame:hover .tl-image__corner {
        width: 22px;
        height: 22px;
    }

    .tl-image__year-badge {
        font-size: 1rem;
        padding: 2px 10px;
        top: 10px;
        left: 10px;
    }

    .tl-content {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .tl-item--odd .tl-content {
        padding-left: calc(var(--tl-mid) / 2);
    }

    .tl-item--even .tl-content {
        padding-right: calc(var(--tl-mid) / 2);
    }

    .tl-content__year {
        font-size: 2.8rem;
    }

    .tl-content__title {
        font-size: 1.55rem;
        padding-bottom: 12px;
        margin-bottom: 0.9rem;
    }

    .tl-content__body {
        font-size: 0.9rem;
    }

    .tl-node__dot {
        width: 10px;
        height: 10px;
    }

    .tl-node__ring {
        width: 20px;
        height: 20px;
    }

    .tl-cta-box {
        padding: 1.1rem;
    }

    .tl-cta-box__text {
        font-size: 0.82rem;
    }

    .tl-btn {
        padding: 0.75rem 1.6rem;
        font-size: 0.78rem;
    }

    .tl-cta-section__card {
        padding: 40px 28px;
    }

    .tl-cta-section__title {
        font-size: 1.9rem;
    }

    /* Slightly reduce slide travel distance */
    .tl-anim--left {
        transform: translateX(-50px);
    }

    .tl-anim--right {
        transform: translateX(50px);
    }
}

/* ── Mobile portrait (≤ 480px) ── */
@media (max-width: 480px) {
    :root {
        --tl-mid: 32px;
    }

    .tl-container {
        padding: 0 0.8rem;
    }

    .tl-section {
        padding: 50px 0 40px;
    }

    .tl-header {
        margin-bottom: 44px;
    }

    .tl-header__title {
        font-size: 1.9rem;
    }

    .tl-item {
        margin-bottom: 52px;
    }

    .tl-image__frame img {
        height: 170px;
    }

    .tl-image__corner {
        width: 11px;
        height: 11px;
    }

    .tl-image__frame:hover .tl-image__corner {
        width: 16px;
        height: 16px;
    }

    .tl-image__year-badge {
        font-size: 0.75rem;
        padding: 2px 7px;
        top: 7px;
        left: 7px;
    }

    .tl-content {
        padding: 14px 12px;
        border-radius: 10px;
    }

    .tl-item--odd .tl-content {
        padding-left: calc(var(--tl-mid) / 2);
    }

    .tl-item--even .tl-content {
        padding-right: calc(var(--tl-mid) / 2);
    }

    .tl-content__year {
        font-size: 1.9rem;
    }

    .tl-content__title {
        font-size: 1.05rem;
        padding-bottom: 9px;
        margin-bottom: 0.7rem;
        letter-spacing: 0.02em;
    }

    .tl-content__title::after {
        width: 28px;
        height: 2px;
    }

    .tl-content__body {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .tl-node__dot {
        width: 8px;
        height: 8px;
    }

    .tl-node__ring {
        width: 16px;
        height: 16px;
    }

    .tl-node--final .tl-node__dot {
        width: 10px;
        height: 10px;
    }

    /* Connector is hidden at 32px gap — too narrow to show clearly */
    .tl-connector {
        display: none;
    }

    .tl-cta-box {
        padding: 0.9rem;
        border-radius: 9px;
        margin-top: 1rem;
    }

    .tl-cta-box__text {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.7rem;
    }

    .tl-btn {
        padding: 0.55rem 1rem;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .tl-cta-section {
        padding: 48px 0 65px;
    }

    .tl-cta-section__card {
        padding: 28px 16px;
        border-radius: 16px;
    }

    .tl-cta-section__title {
        font-size: 1.6rem;
    }

    .tl-cta-section__desc {
        font-size: 0.92rem;
    }

    .tl-btn--lg {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }

    /* Shorter slide travel on tiny screens */
    .tl-anim--left {
        transform: translateX(-28px);
    }

    .tl-anim--right {
        transform: translateX(28px);
    }
}


/* =====================================================
   16. REDUCED-MOTION OVERRIDE
===================================================== */
@media (prefers-reduced-motion: reduce) {

    /* Reveal elements immediately — no sliding */
    .tl-anim--left,
    .tl-anim--right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Stop all looping animations */
    .tl-content__year,
    .tl-btn--pulse,
    .tl-node__ring,
    .tl-node__pulse,
    .tl-bg__glow--lime,
    .tl-bg__glow--pink {
        animation: none !important;
    }
}