/* ===========================
   About Page Specific Styles
   =========================== */

/* ── Active Nav Link ── */
.nav-link.active {
    color: var(--accent-blue);
}

.nav-link.active::after {
    width: 100%;
}

/* ===========================
   About Hero
   =========================== */

.about-hero {
    padding: calc(var(--spacing-xxl) + var(--spacing-md)) 0 var(--spacing-xl);
    border-bottom: 1px solid var(--border-subtle);
}

.about-hero-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.page-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-charcoal);
}

/* Hero two-column layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #E8E6E3;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--spacing-sm);
}

.hero-photo-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ===========================
   Shared Section Structure
   =========================== */

.about-section {
    padding: var(--spacing-xxl) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.about-section:last-of-type {
    border-bottom: none;
}

/* Two-column layout: label left, body right */
.about-section-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.about-section-label {
    position: sticky;
    top: 110px;
}

/* .section-number removed */

.about-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--text-charcoal);
}

.about-section-body p {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.about-section-body p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Section 2: Ladder
   =========================== */

.ladder-section {
    background-color: white;
}

.ladder-header {
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
}

.ladder-header .section-number {
    margin-bottom: 0.5rem;
}

.ladder-header .about-section-title {
    margin-bottom: var(--spacing-sm);
}

.ladder-intro {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* Ladder intro text — sits in the sticky left label column */
.ladder-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* The ladder itself */
.ladder {
    display: flex;
    flex-direction: column;
}

.ladder-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--spacing-md);
    position: relative;
}

.ladder-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.ladder-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.ladder-step-number--accent {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

/* Vertical connector line */
.ladder-connector {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--border-subtle), transparent);
    margin: 4px 0;
}

.ladder-step-content {
    padding-bottom: var(--spacing-lg);
}

.ladder-step--last .ladder-step-content {
    padding-bottom: 0;
}

.ladder-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-charcoal);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    margin-top: 0.625rem;
    /* align vertically with circle center */
}

.ladder-step-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Hover state on each step */
.ladder-step:hover .ladder-step-number:not(.ladder-step-number--accent) {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(74, 110, 143, 0.06);
}

.ladder-step:hover .ladder-step-title {
    color: var(--accent-blue);
}

/* ===========================
   Section 3: Experience Timeline
   =========================== */

.experience-timeline {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-subtle);
}

.exp-item {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.exp-item:last-child {
    border-bottom: none;
}

.exp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.375rem;
}

.exp-company {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.exp-period {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.exp-role {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-charcoal);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.exp-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.exp-desc:empty {
    display: none;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-photo-placeholder {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }

    .about-section-inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-section-label {
        position: static;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: calc(var(--spacing-xl) + var(--spacing-md)) 0 var(--spacing-lg);
    }

    .about-section {
        padding: var(--spacing-xl) 0;
    }

    .ladder-step {
        grid-template-columns: 52px 1fr;
        gap: var(--spacing-sm);
    }

    .ladder-step-number {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .ladder-step-title {
        font-size: 1.125rem;
    }

    .exp-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
}

@media (max-width: 480px) {
    .ladder-step-content {
        padding-bottom: var(--spacing-md);
    }
}