/* About Page Specific Styles */
/* Note: Global variables and resets are inherited from base.css */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-left {
    padding: 160px 64px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--orange-primary, #ff8051);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp .7s forwards .3s;
}

.hero-name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(52px, 5.5vw, 80px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    opacity: 0;
    animation: fadeUp .9s forwards .5s;
}

.hero-name .line2 {
    color: var(--primary-orange, #ff8051);
    display: block;
}

.hero-tagline {
    margin-top: 32px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 400px;
    opacity: 0;
    animation: fadeUp .9s forwards .8s;
}

.hero-tagline strong {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-scroll-hint {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp .7s forwards 1.1s;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background: var(--primary-orange, #ff8051);
}

.hero-right {
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeLeft 1.2s forwards .4s;
}

.hero-img-wrap {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1a1010 0%, #0d0805 50%, #111 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 40% 50%, rgba(255, 102, 46, 0.18) 0%, transparent 65%);
}

.hero-big-initial {
    font-family: 'Syne', sans-serif;
    font-size: 280px;
    font-weight: 800;
    color: rgba(255, 102, 46, 0.06);
    letter-spacing: -20px;
    line-height: 1;
    user-select: none;
}

.hero-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 102, 46, 0.9);
    color: #fff;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: .5px;
    backdrop-filter: blur(10px);
}

.hero-year {
    position: absolute;
    top: 40px;
    right: 40px;
    color: rgba(255, 255, 255, 0.15);
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* STATS */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-cell {
    padding: 48px 64px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.stat-cell.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-orange, #ff8051);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-suffix {
    font-size: 28px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* STORY */
.story {
    padding: 120px 64px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    position: relative;
}

.story-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.blueprint-container {
    margin-top: 60px;
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    background: rgba(255, 102, 46, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s 0.5s, transform 1s 0.5s;
}

.blueprint-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.blueprint-grid-subtle {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 102, 46, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

.blueprint-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-orange);
    opacity: 0.5;
}

.blueprint-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.sidebar-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-orange, #ff8051);
    margin-bottom: 20px;
}

.sidebar-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.sidebar-line {
    width: 40px;
    height: 2px;
    background: var(--primary-orange, #ff8051);
    margin-top: 24px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s .3s;
}

.sidebar-line.visible {
    transform: scaleX(1);
}

.story-body p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s, transform .9s;
}

.story-body p.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight {
    color: var(--primary-orange);
    font-weight: 600;
}

.story-pull-quote {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    /* Increased size */
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    border-left: 4px solid var(--primary-orange, #ff8051);
    padding-left: 32px;
    margin: 64px 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s, transform 1s;
}

.story-pull-quote.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- STICKY HORIZONTAL SCROLL EXPERTISE --- */
.horizontal-scroll-wrapper {
    height: 400vh;
    /* Defines how long the user scrolls horizontally */
    position: relative;
    background: #080808;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.expertise-header {
    padding: 0 64px;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.expertise-title {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-orange);
    opacity: 0.6;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.4;
}

.indicator-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.indicator-line {
    width: 40px;
    height: 1px;
    background: currentColor;
}

.scroll-content {
    display: flex;
    gap: 40px;
    padding: 0 100px;
    will-change: transform;
}

.expertise-card {
    flex: 0 0 420px;
    height: 520px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 102, 46, 0.1);
    border-radius: 32px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.expertise-card:hover {
    border-color: rgba(255, 102, 46, 0.3);
    background: rgba(255, 102, 46, 0.03);
    transform: translateY(-5px);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 102, 46, 0.05) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.expertise-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px rgba(255, 102, 46, 0.2));
}

.card-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.card-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: auto;
}

.card-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card-tags span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .horizontal-scroll-wrapper {
        height: auto;
    }

    .sticky-container {
        position: relative;
        height: auto;
        padding: 80px 0;
    }

    .scroll-content {
        flex-direction: column;
        padding: 0 24px;
    }

    .expertise-card {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .expertise-header {
        padding: 0 24px;
    }
}

/* TESTIMONIALS */
.testimonials {
    padding: 120px 64px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.testimonials-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-orange, #ff8051);
    text-align: center;
    margin-bottom: 64px;
    opacity: 0;
    transition: opacity .8s;
}

.testimonials-label.visible {
    opacity: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s, border-color .3s;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: rgba(255, 102, 46, 0.25);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: 'Syne', sans-serif;
    font-size: 120px;
    font-weight: 800;
    color: rgba(255, 102, 46, 0.06);
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff662e 0%, #7a2d12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    color: white;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* --- JOURNEY TIMELINE --- */
.journey-section {
    padding: 42px 0;
    position: relative;
    background: #080808;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -1.5px;
}

.timeline-container {
    position: relative;
    padding: 24px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* Animated with JS */
    background: linear-gradient(to bottom, var(--primary-orange), transparent);
    box-shadow: 0 0 15px var(--primary-orange);
    transition: height 0.1s ease-out;
}

/* 1. Reset State (Semua kartu sembunyi) */
.journey-card {
    position: relative;
    width: 50%;
    padding: 20px 60px;
    margin-bottom: 60px;
    opacity: 0;
    /* Awalnya transparan */
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* 2. Initial Position (Kiri geser ke kiri, Kanan geser ke kanan) */
.journey-card.left {
    left: 0;
    text-align: right;
    transform: translateX(-100px);
    /* Jarak lebih jauh biar animasinya berasa */
}

.journey-card.right {
    left: 50%;
    text-align: left;
    transform: translateX(100px);
}

/* 3. Reveal State (PAKAI !important atau selektor lebih spesifik agar menang) */
.journey-card.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.timeline-node {
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    background: #080808;
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 4px rgba(255, 102, 46, 0.1);
}

.journey-card.left .timeline-node {
    right: -8px;
}

.journey-card.right .timeline-node {
    left: -8px;
}

.journey-card.visible .timeline-node {
    background: var(--primary-orange);
    opacity: 1;
    box-shadow: 0 0 15px var(--primary-orange);
}

.card-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 102, 46, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.card-content:hover {
    border-color: var(--primary-orange);
    background: rgba(255, 102, 46, 0.03);
    transform: scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.journey-card.left .card-header {
    justify-content: flex-end;
}

.role-title {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.company-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-orange);
    margin-bottom: 8px;
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-bottom: 16px;
}

.journey-card.left .location-tag {
    justify-content: flex-end;
}

.accomplishments {
    list-style: none;
    padding: 0;
}

.accomplishments li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
    position: relative;
}

.journey-card.right .accomplishments li {
    padding-left: 20px;
}

.journey-card.right .accomplishments li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.journey-card.left .accomplishments li {
    padding-right: 20px;
}

.journey-card.left .accomplishments li::after {
    content: '←';
    position: absolute;
    right: 0;
    color: var(--primary-orange);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .timeline-line {
        left: 24px;
    }

    .journey-card {
        width: 100%;
        left: 0 !important;
        padding: 20px 0 20px 60px;
        text-align: left !important;
        transform: translateX(20px) !important;
    }

    .timeline-node {
        left: 16px !important;
    }

    .card-header,
    .location-tag {
        justify-content: flex-start !important;
    }

    .accomplishments li {
        padding-right: 0 !important;
        padding-left: 20px !important;
    }

    .accomplishments li::after {
        display: none;
    }

    .accomplishments li::before {
        display: block !important;
        left: 0 !important;
    }
}

.beyond-images.visible {
    opacity: 1;
    transform: translateX(0);
}

.beyond-img-card {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
}

.beyond-img-card:first-child {
    margin-top: 40px;
}

.beyond-img-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(8, 8, 8, 0.7));
}

.img-caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 1;
    letter-spacing: .5px;
}

/* CONNECT CTA */
.connect-cta {
    padding: 120px 64px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.connect-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 102, 46, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.connect-cta h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s, transform .9s;
}

.connect-cta h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.connect-cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition: opacity .9s .2s;
}

.connect-cta p.visible {
    opacity: 1;
}

.cta-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s;
}

.cta-btn.primary {
    background: var(--primary-orange, #ff8051);
    color: #fff;
}

.cta-btn.primary:hover {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(255, 102, 46, 0.35);
}

.cta-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cta-btn.secondary:hover {
    border-color: var(--primary-orange, #ff8051);
    background: rgba(255, 102, 46, 0.08);
}

/* BG GRID */
/* Note: Moved to global base.css */

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(36px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {

    .hero,
    .story,
    .beyond {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        padding-top: 120px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero-right {
        height: 400px;
    }

    .story-sidebar {
        position: static;
        margin-bottom: 24px;
    }

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

    .stat-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .skill-tile.wide {
        grid-column: span 2;
    }
}