.about-page {
    min-height: calc(100vh - 70px);
    overflow-x: hidden;
    color: #f5f5f5;
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        #080808;
    background-size: 48px 48px;
}

.about-hero {
    position: relative;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.about-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -300px;
    right: -80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    filter: blur(90px);
    pointer-events: none;
}

.about-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: end;
}

.about-hero-copy {
    max-width: 720px;
}

.about-kicker,
.about-card-label {
    color: #d4af37;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-kicker {
    margin: 0 0 1.25rem;
}

.about-hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 3.6vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.about-hero h1 span {
    color: #d4af37;
}

.about-hero-copy > p:not(.about-kicker) {
    max-width: 650px;
    margin: 1rem 0 0;
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-hero-copy .about-lead {
    margin-top: 2rem;
    color: #ededed;
    font-size: 1.05rem;
    font-weight: 650;
}

.about-hero-note {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.4rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    background: rgba(12, 12, 12, 0.78);
}

.about-hero-note span {
    color: #878787;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-hero-note strong {
    font-size: 1.05rem;
}

.about-hero-note small {
    color: #d4af37;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
}

.about-details {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: rgba(10, 10, 10, 0.9);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.about-card {
    min-height: 210px;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(18, 18, 18, 0.88);
}

.about-card-label {
    margin: 0 0 1.15rem;
}

.about-card h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.about-card > p:not(.about-card-label) {
    max-width: 560px;
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.65;
}

.about-card-learning {
    grid-column: span 7;
}

.about-card-location {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
}

.about-card-location strong {
    margin-top: auto;
    color: #f1f1f1;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.about-card-location span {
    margin-top: 0.6rem;
    color: #8f8f8f;
    font-size: 0.88rem;
}

.about-card-flow {
    grid-column: span 5;
}

.about-code-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2.5rem;
    color: #d4af37;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.86rem;
}

.about-code-flow i {
    color: #666;
    font-style: normal;
}

.about-card-project {
    grid-column: span 7;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.09), transparent 60%),
        rgba(18, 18, 18, 0.9);
}

.about-card-next {
    grid-column: span 12;
    min-height: auto;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

@media (max-width: 800px) {
    .about-hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-hero-note {
        max-width: 360px;
    }

    .about-card-learning,
    .about-card-location,
    .about-card-flow,
    .about-card-project {
        grid-column: span 6;
    }
}

@media (max-width: 560px) {
    .about-hero {
        padding: 3.75rem 0;
    }

    .about-hero h1 {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .about-card-learning,
    .about-card-location,
    .about-card-flow,
    .about-card-project,
    .about-card-next {
        grid-column: 1 / -1;
    }

    .about-card {
        min-height: auto;
    }

    .about-code-flow {
        margin-top: 1.8rem;
    }

    .about-actions {
        flex-direction: column;
    }

    .about-actions .btn-primary,
    .about-actions .btn-secondary {
        width: 100%;
    }
}
