.about-page {

    padding-top: 10rem;

    padding-bottom: 8rem;

    position: relative;

    z-index: 2;

}

.about-page-body {
    background-color: var(--asiimov-white);
    color: var(--asiimov-black);
}

.site-header {

    z-index: 10;

}

/* divs */

.section-divider {

    width: 120px;

    position: relative;

    height: 6px;

    background: var(--asiimov-orange);

    margin: 5rem 0;

}

.section-divider::after {

    content: "";

    position: absolute;

    right: -20px;

    top: 0;

    width: 12px;

    height: 6px;

    background: var(--asiimov-black);

}

.initial-divider{
    width: 120px;

    position: relative;

    height: 6px;

    background: var(--asiimov-orange);

    margin: 2rem 0;  
}

.initial-divider::after{
    content: "";

    position: absolute;

    right: -20px;

    top: 0;

    width: 12px;

    height: 6px;

    background: var(--asiimov-black); 
}


/* Hero */

.about-hero {

    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;

    gap: 4rem;

}



.about-title h1 {

    font-size: clamp(5rem, 12vw, 10rem);

    line-height: .85;

    margin: 0;

}

.about-title p {
    font-size: clamp(1.1rem, 2vw, 1.1rem);

    line-height: 1.25;

    margin: 2;

    letter-spacing: -0.03em;
}



.about-image img {

    width: min(100%, 300px);

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 50%;

}




/* Sections */

.content-section {

    margin-top: clamp(2rem, 4vw, 5rem);

}



.content-section h2 {

    font-size: clamp(2em, 5vw, 4rem);

}

.passions-section{
    margin-top: -1rem;
}

/* =========================
   Interest Cards
========================= */

.interest-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

    margin-top: -1rem;

    align-items: start;

}


.interest-card {

    border: 2px solid var(--asiimov-black);

    background: var(--asiimov-white);

    padding: 0;

    position: relative;

    transition: background-color .2s ease;

}

.interest-card:hover {

    background-color: #e8e8e8;
    border-color: var(--asiimov-orange);
    cursor:pointer;

}


/* Header */

.interest-header {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: none;

    border: none;

    padding: 1.5rem 1.5rem;

    cursor: pointer;

    text-align: left;

}


.interest-header h3 {

    margin: 0;

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    text-transform: lowercase;

    font-weight: 700;

}


.expand-icon {

    font-size: 2rem;

    color: var(--asiimov-orange);

    line-height: 1;

}



/* Content collapse */

.interest-body {

    max-height: 0;

    overflow: hidden;

    transition:

        max-height .4s ease,

        padding .4s ease;

    padding: 0 1.5rem;

}


.interest-card.open .interest-body {

    max-height: 1000px;

    padding-bottom: 2rem;

}



/* Main interest list */

.interest-list {

    list-style: none;

    margin: 2rem 0 0 0;

    padding-left: .75rem;


}

.interest-list > li {

    margin-bottom: 1.8rem;

}

.sub-interest-list li {

    margin-bottom: 1.25rem;

}


/* I don't think I want this atp */
/* .interest-card.open .interest-list {

    border-left: 3px solid var(--asiimov-orange);

} */



/* Main bullets */

.interest-title {

    font-size: 1.3rem;

    font-weight: 700;

    position: relative;

}



/* Description text */

.interest-description {

    font-family: "Roboto Mono", monospace;

    margin:

        .3rem 0

        1.2rem

        .75rem;


    font-size: .95rem;

    line-height: 1.5;

    color: #666;

}



/* Nested interests */

.sub-interest-list {

    list-style: none;

    border-left: 3px solid var(--asiimov-orange);

    margin: 1rem 0 1.5rem 1rem;

    padding-left: 1rem;

}


.sub-interest-title {

    font-weight: 700;

    font-size: 1.05rem;

    position: relative;

}


.sub-interest-description {

    font-family: "Roboto Mono", monospace;
    margin:

        .25rem 0

        1rem

        .5rem;


    font-size: .85rem;

    line-height: 1.5;

    color: #666;

}

@media(max-width: 1000px) {

    .interest-grid {

        grid-template-columns: 1fr;

    }

}



/* Orange connector ticks */
/* right now, not convinced I want em */
/* 
.sub-interest-title::before {

    content: "";

    position: absolute;

    left: -1.5rem;

    top: 50%;

    width: 1rem;

    height: 2px;

    background: var(--asiimov-orange);

} */

/* =========================
   Timeline
========================= */

.timeline {


    width: fit-content;
    max-width: 100%;

    display: flex;

    flex-direction: column;

    gap: 4rem;

    margin-top: 3rem;

}


.timeline-item {

    display: grid;

    grid-template-columns:

        100px   /* year */

        auto  /* content */

        120px;  /* optional image */

    column-gap: 2rem;

    align-items: start;

}


.timeline-year {

    font-size: clamp(2.5rem, 4vw, 4rem);

    font-weight: 700;

    color: var(--asiimov-orange);

    line-height: .9;

    text-align: right;

}


.timeline-content {

    width:auto;

    min-width: 0;
    max-width: 600px;

    position: relative;

    padding-left: 1.5rem;

    border-left: 3px solid var(--asiimov-black);

}


.timeline-content h3 {

    margin: 0;

    font-size: 1.6rem;

    font-weight: 700;

}


.timeline-content p {

    margin-top: .75rem;

    margin-bottom: 0;

    font-family: "Roboto Mono", monospace;

    font-size: .9rem;

    line-height: 1.7;

    color: #666;

}

.timeline-media {
    flex-shrink: 0;

    display: inline-block;

    display: flex;
    align-items: center;
    justify-content: center;



}

.timeline-media img {

    width: 100%;

    height: auto;

    object-fit: contain;

    border: 2px solid var(--asiimov-black);


    /* object-fit: cover; */

    display: block;

}

.timeline-media:empty {

    display: none;

}

/* size presets */
.w-160 { width:160px; }
.w-220 { width:220px; }
.w-300 { width:300px; }
.w-380 { width:380px; }


/* shape presets */
.square      { aspect-ratio: 1; }
.landscape   { aspect-ratio: 16 / 9; }
.portrait    { aspect-ratio: 4 / 5; }
.wide         { aspect-ratio: 2 / 1; }

/* Orange milestone square */
/* removed bc ugly looking with new timeline setup */

/* .timeline-content::before {

    content: "";

    position: absolute;

    width: 14px;

    height: 14px;

    background: var(--asiimov-orange);

    left: -8px;

    top: .4rem;

} */

.timeline-year-group {

    display: grid;

    grid-template-columns:
        110px
        auto
        120px;

    gap: 1.5rem;

    margin-bottom: 3rem;

}

.timeline-event {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 0px;

    gap: 1.5rem;

    align-items: start;

    margin-bottom: 2rem;

    position: relative;

    padding-right: 100px;

}

.timeline-event-text {

    min-width: 0;

}


.timeline-event:last-child {

    margin-bottom: 0;

}


/* Responsive */

@media (max-width: 800px) {

    .timeline-item {

        grid-template-columns: 1fr;

        row-gap: .75rem;

    }

    .timeline-year {

        text-align: left;

    }

    .timeline-content {

        padding-left: 1.5rem;

    }

    /* throwing in mo card stuff here bc lazy */
    .about-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .about-card {
        padding: 1.3rem 1.4rem 1.4rem;
    }

}

/* =========================
   MO
========================= */
.mo-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.mo-card {
    position: relative;
    padding: 1.5rem 1.6rem 1.6rem;
    border: 1px solid var(--asiimov-black);
    background: var(--asiimov-white);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.mo-card-label {
    display: block;
    margin-bottom: 1rem;
    font-family: "Roboto Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--asiimov-orange);
}

.mo-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mo-card p {
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    color: var(--asiimov-black);
    max-width: 55ch;
    font-size: 0.95rem;
    letter-spacing: 0px;
    line-height: 1.55;
}

.mo-card::after {
    content: "□ □ □";
    font-weight: bold;
    position: absolute;
    right: 20px;
    bottom: 65px;
    width: 0px;
    height: 3px;
    background: var(--asiimov-orange);
}

/* =========================
   skills
========================= */
.skills {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

}

/* per skill */
.skill {

    display: flex;

    align-items: center;

    gap: .75rem;

    border: 2px solid var(--asiimov-black);

    padding: .75rem 1rem;

    background: var(--asiimov-white);

    transition: background .2s ease;

}

.skill img {

    width: 28px;

    height: 28px;

    object-fit: contain;

    /* best attmpt at orange-scale? */
    filter:
        brightness(0)
        saturate(100%)
        invert(48%)
        sepia(94%)
        saturate(2300%)
        hue-rotate(359deg)
        brightness(102%)
        contrast(105%);

}

/* turn off the orange-scale */
.skill img.custom-color {

    filter: none;

}


.skill span {

    font-family: "Roboto Mono", monospace;

    font-size: .9rem;

}


.skill:hover {

    background: #e8e8e8;

}




/* Decorative blocks */


.page-decoration {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -1;

}



.accent-box {

    position: absolute;

}



.orange {

    background: var(--asiimov-orange);

}



.black {

    background: var(--asiimov-black);

}



.box-one {

    width: 120px;

    height: 120px;

    top: 10rem;

    left: 0;

}



.box-two {

    width: 80px;

    height: 250px;

    right: 0;

    top: 40%;

}



.box-three {

    width: 200px;

    height: 50px;

    bottom: 5rem;

    left: 10%;

}





@media(max-width:700px) {


    .about-hero {

        grid-template-columns: 1fr;

    }


    .about-image {

        order: -1;

    }


    .interest-grid {

        grid-template-columns: 1fr;

    }


    .nav {

        gap: .5rem;

    }


}

/* SQUARES */

/* =========================
   Perimeter Geometry
========================= */


.perimeter-grid {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 0;

}



.geo-square {

    position: absolute;

}



/* Orange */

.geo-square.orange {

    background: var(--asiimov-orange);
    opacity: .25;
}



/* Black */

.geo-square.black {

    background: var(--asiimov-black);
    opacity: .12;

}



/* =========================
   Perimeter Geometry
========================= */


/* Left side */

.square-one {

    width: clamp(50px, 7vw, 120px);

    aspect-ratio: 1;

    top: 12%;

    left: -30px;

}


.square-five {

    width: clamp(30px, 5vw, 90px);

    aspect-ratio: 1;

    top: 70%;

    left: 3%;

}



/* Right side */

.square-two {

    width: clamp(80px, 10vw, 180px);

    aspect-ratio: 1;

    top: 22%;

    right: -50px;

}


.square-six {

    width: clamp(40px, 6vw, 100px);

    aspect-ratio: 1;

    bottom: 18%;

    right: 2%;

}



/* Lower left accent */

.square-three {

    width: clamp(25px, 4vw, 70px);

    aspect-ratio: 1;

    bottom: 8%;

    left: -10px;

}



/* Upper right accent */

.square-four {

    width: clamp(60px, 8vw, 130px);

    aspect-ratio: 1;

    top: 5%;

    right: 12%;

}



/* Bottom right */

.square-seven {

    width: clamp(35px, 5vw, 80px);

    aspect-ratio: 1;

    bottom: 5%;

    right: 18%;

}



/* Remove this one from center */

.square-eight {

    width: clamp(25px, 4vw, 60px);

    aspect-ratio: 1;

    top: 45%;

    left: auto;

    right: 4%;

}