:root {
    --journey-animate-duration: 0.45s;
    --journey-animate-delay: 0.12s;
    --about-tilt-angle: 16deg;
    --about-tilt-reset-speed: 0.45s;
    --about-glow-color: rgba(164, 255, 0, 0.55);
}

body.about-page .fade-in-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--journey-animate-duration) ease-out, transform var(--journey-animate-duration) ease-out;
    will-change: opacity, transform;
}

body.about-page .fade-in-up.animate-in,
body.about-page .fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section-heading,
.about-highlight-card h3,
.about-section h3,
.about-gallery-section h3,
.about-cta-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.about-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(164, 255, 0, 0.18), rgba(30, 60, 114, 0.28));
    box-shadow: 0 6px 14px rgba(16, 32, 62, 0.18);
    flex-shrink: 0;
}

.about-heading-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-heading-icon--story {
    background: linear-gradient(135deg, rgba(79, 163, 255, 0.2), rgba(30, 60, 114, 0.32));
}

.about-heading-icon--drive {
    background: linear-gradient(135deg, rgba(255, 185, 64, 0.22), rgba(255, 95, 109, 0.32));
}

.about-heading-icon--outlook {
    background: linear-gradient(135deg, rgba(255, 230, 92, 0.24), rgba(164, 255, 0, 0.28));
}

.about-heading-icon--fun {
    background: linear-gradient(135deg, rgba(167, 92, 255, 0.24), rgba(255, 143, 220, 0.34));
}

.about-heading-icon--gallery {
    background: linear-gradient(135deg, rgba(255, 133, 102, 0.24), rgba(255, 92, 152, 0.34));
}

.about-heading-icon--connect {
    background: linear-gradient(135deg, rgba(79, 255, 196, 0.25), rgba(30, 60, 114, 0.3));
}

.about-journey {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(34, 51, 89, 0.08), transparent 65%),
                radial-gradient(circle at bottom, rgba(79, 163, 255, 0.08), transparent 70%);
}

.journey-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
}

.journey-header h2 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    color: var(--primary-black);
    letter-spacing: -0.015em;
}

.journey-subtitle {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(16, 32, 62, 0.7);
    line-height: 1.65;
}

.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 3vw, 1.75rem);
    padding: 0 clamp(2.5rem, 7vw, 4.5rem);
    max-width: min(1200px, 90vw);
    margin: 0 auto;
    perspective: 1400px;
    perspective-origin: center 30%;
    transform-style: preserve-3d;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(79, 163, 255, 0.65) 0%, rgba(34, 51, 89, 0.45) 100%);
    transform: translateX(-50%);
    opacity: 0.75;
}

.timeline-item {
    position: relative;
    display: flex;
    opacity: 0;
    transform: translateY(38px) rotateY(var(--entry-tilt, 0deg)) translateZ(-60px);
    transform-style: preserve-3d;
    transition: opacity calc(var(--journey-animate-duration) + 0.15s) ease-out,
        transform calc(var(--journey-animate-duration) + 0.15s) cubic-bezier(0.22, 1, 0.36, 1);
    --progress: 0%;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0) rotateY(0deg) translateZ(0);
}

.timeline-item[data-status="completed"] .timeline-marker {
    background: linear-gradient(135deg, #4fa3ff 0%, #223359 100%);
}

.timeline-item[data-status="current"] .timeline-marker {
    background: linear-gradient(135deg, #ffd76f 0%, #ff8f66 100%);
    box-shadow: 0 0 0 6px rgba(255, 167, 92, 0.2), 0 18px 38px rgba(16, 32, 62, 0.24);
}

.timeline-item[data-status="upcoming"] .timeline-marker {
    background: linear-gradient(135deg, rgba(111, 196, 255, 0.6) 0%, rgba(34, 51, 89, 0.5) 100%);
    box-shadow: 0 0 0 4px rgba(79, 163, 255, 0.12);
}

.timeline-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(79, 163, 255, 0.12), 0 12px 28px rgba(16, 32, 62, 0.22);
    border: 3px solid #ffffff;
}

.milestone-pulse {
    animation: pulse 2.8s ease-in-out infinite;
}

.timeline-item:nth-child(2n) .milestone-pulse {
    animation-delay: 0.45s;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
    --entry-tilt: -8deg;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    --entry-tilt: 8deg;
}

.timeline-card {
    position: relative;
    padding: clamp(1rem, 2.8vw, 1.55rem) clamp(1.25rem, 3.4vw, 1.9rem);
    max-width: clamp(360px, 44vw, 520px);
    min-height: clamp(110px, 18vw, 150px);
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: clamp(4.25rem, 10vw, 6.5rem);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: clamp(4.25rem, 10vw, 6.5rem);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: clamp(3rem, 8vw, 5.5rem);
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 163, 255, 0.65), rgba(34, 51, 89, 0.15));
}

.timeline-item:nth-child(odd) .timeline-card::before {
    right: calc(-1 * clamp(2.25rem, 6vw, 3.75rem));
}

.timeline-item:nth-child(even) .timeline-card::before {
    left: calc(-1 * clamp(2.25rem, 6vw, 3.75rem));
    transform: scaleX(-1);
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(16, 32, 62, 0.55);
    margin-bottom: 0.65rem;
    gap: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-meta {
    flex-direction: row-reverse;
}

.timeline-card h3 {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    margin-bottom: 0.3rem;
    color: #10203e;
}

.timeline-card p {
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    line-height: 1.4;
    color: rgba(16, 32, 62, 0.68);
    max-width: 32ch;
}

.timeline-progress {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: rgba(16, 32, 62, 0.08);
    overflow: hidden;
}

.timeline-progress span {
    position: absolute;
    inset: 0;
    width: var(--progress);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(79, 163, 255, 0.75) 0%, rgba(34, 51, 89, 0.9) 100%);
    transition: width 0.6s ease-out;
}

.section-reveal {
    opacity: 1;
    transform: none;
    filter: none;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.photo-bounce {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
}

.photo-bounce.is-visible {
    opacity: 1;
    animation: bounceIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.glassmorphism-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(34, 51, 89, 0.08);
    box-shadow: 0 12px 28px rgba(16, 32, 62, 0.15);
    border-radius: 24px;
    overflow: hidden;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --tilt-translate: 0px;
    backdrop-filter: blur(24px) saturate(175%);
    transform: perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--tilt-translate)) translateZ(0);
    transform-style: preserve-3d;
    transition: transform var(--about-tilt-reset-speed) cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    will-change: transform, box-shadow;
}

.glassmorphism-card[data-tilt-active="true"] {
    transition: transform 0.12s ease-out, box-shadow 0.35s ease;
}

.glassmorphism-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.35;
    pointer-events: none;
}

.glassmorphism-card:hover {
    box-shadow: 0 22px 44px rgba(16, 32, 62, 0.2);
}

.glassmorphism-card[data-tilt]:not([data-tilt-active="true"]):hover {
    --tilt-x: -4deg;
    --tilt-y: 6deg;
    --tilt-translate: -6px;
}

body.motion-lite .milestone-pulse,
body.motion-lite .photo-bounce,
body.motion-lite .timeline-item,
body.motion-lite .section-reveal,
body.motion-lite .glassmorphism-card,
body.motion-lite .timeline-progress span {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
}

body.motion-lite .electric-border::after {
    animation: none !important;
}

.electric-border {
    position: relative;
}

.electric-border::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent 0deg, #a4ff00 60deg, #1e3c72 120deg, transparent 180deg, #a4ff00 240deg, transparent 360deg);
    filter: blur(0.75px);
    opacity: 0.55;
    z-index: -1;
    animation: electric-rotate 6s linear infinite;
}

.glassmorphism-card > * {
    position: relative;
    z-index: 1;
}

.about-sidebar .glassmorphism-card,
.about-highlight-card.glassmorphism-card,
.about-cta-card.glassmorphism-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

@media (min-width: 1024px) {
    .timeline-container {
        padding: 0 clamp(3rem, 6vw, 5rem);
    }
}

@media (max-width: 640px) {
    .journey-header {
        text-align: left;
    }

    .timeline-line {
        left: clamp(1rem, 6vw, 1.5rem);
        transform: none;
    }

    .timeline-item {
        justify-content: flex-start;
        padding: 0 0 0 clamp(1.5rem, 6vw, 2.5rem);
        transform: none;
        --entry-tilt: 0deg;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
    }

    .timeline-marker {
        left: clamp(1rem, 6vw, 1.5rem);
        transform: translate(-50%, -50%);
    }

    .timeline-card {
        width: 100%;
        max-width: none;
        margin: 0;
        text-align: left;
        flex: 1 1 100%;
    }

    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin: 0;
    }

    .timeline-card::before {
        display: none;
    }

    .timeline-item.is-visible {
        transform: none;
    }

    .timeline-progress {
        display: none;
    }

    .timeline-item:nth-child(odd) .timeline-meta {
        flex-direction: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    .milestone-pulse,
    .photo-bounce,
    .timeline-item,
    .section-reveal,
    .glassmorphism-card,
    .timeline-progress span {
        transition: none !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
    }

    .glassmorphism-card {
        --tilt-x: 0deg !important;
        --tilt-y: 0deg !important;
        --tilt-translate: 0px !important;
    }

    .electric-border::after {
        animation: none !important;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 163, 255, 0.22);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(79, 163, 255, 0);
    }
}

@keyframes electric-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-8px);
    }
    80% {
        transform: scale(0.98) translateY(4px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}
.about-heading-icon--compass {
    background: linear-gradient(135deg, rgba(164, 255, 0, 0.28), rgba(79, 163, 255, 0.28));
}
