.aboutme-page header,
body:has(.about-hero) header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    background-color: transparent;
    pointer-events: none;
}

.aboutme-page header nav,
body:has(.about-hero) header nav {
    background-color: rgba(255, 255, 255, 0.86);
    pointer-events: auto;
}

.about-hero {
    position: relative;
    display: grid;
    place-items: end center;
    width: 100vw;
    height: 100vh;
    min-height: 44rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(1rem, 3vw, 2rem) 20px clamp(1.5rem, 4vh, 3rem);
    overflow: hidden;
    background-color: #f7f7f3;
    color: var(--primairy-color);
}

.about-hero-copy {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: clamp(0.9rem, 1.4vw, 1.1rem);
    max-width: min(62rem, 78vw);
    text-align: center;
    transform: none;
}

.about-hero-copy > p:first-child {
    position: absolute;
    top: clamp(-7.8rem, -9vw, -5rem);
    z-index: 4;
    font-family: var(--secondairy-font);
    font-size: clamp(0.85rem, 1.2vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.about-hero h1 {
    max-width: 50vw;
    font-family: var(--secondairy-font);
    font-size: clamp(1.9rem, 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0;
    color: #101010;
}

.about-hero-copy > p:last-of-type {
    max-width: 44rem;
    font-family: var(--secondairy-font);
    font-size: clamp(1.05rem, 1.55vw, 1.5rem);
    font-weight: 600;
    line-height: 1.25;
    color: rgba(16, 16, 16, 0.76);
}

.about-hero-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.about-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding-inline: 1.25rem;
    border-radius: 100px;
    background-color: #e8e8e2;
    color: #101010;
    font-family: var(--secondairy-font);
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.about-hero-actions a:first-child {
    background-color: #101010;
    color: var(--secondary-color);
}

.about-hero-actions a:hover {
    background-color: var(--button-color);
    color: #101010;
}

.about-gallery-card {
    position: absolute;
    z-index: 1;
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(1rem, 1.4vw, 1.4rem);
    background-color: #ddd;
    box-shadow: 0 2rem 4.2rem rgba(0, 0, 0, 0.14);
}

.about-gallery-card img,
.about-gallery-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery-card-large {
    z-index: 1;
    top: 5%;
    left: 50%;
    width: clamp(8rem, 14vw, 13rem);
    aspect-ratio: 0.78 / 1.2;
    transform: translateX(-50%);
}

.about-gallery-card-left {
    top: 22%;
    left: clamp(2.5rem, 11vw, 11rem);
    width: clamp(10rem, 18vw, 17.5rem);
    aspect-ratio: 0.88 / 1.12;
    transform: rotate(-18deg);
}

.about-gallery-card-right {
    top: 22%;
    right: clamp(2.5rem, 11vw, 11rem);
    width: clamp(10rem, 18vw, 17.5rem);
    aspect-ratio: 0.88 / 1.12;
    transform: rotate(15deg);
}

.about-gallery-card-bottom-left {
    left: clamp(-2.5rem, -1vw, -0.5rem);
    bottom: clamp(0.4rem, 4vh, 2.4rem);
    width: clamp(8.2rem, 13vw, 12.5rem);
    aspect-ratio: 0.78 / 1.15;
    transform: rotate(12deg);
}

.about-gallery-card-bottom-right {
    right: clamp(-2.5rem, -1vw, -0.5rem);
    bottom: clamp(0.4rem, 4vh, 2.4rem);
    width: clamp(8.2rem, 13vw, 12.5rem);
    aspect-ratio: 0.78 / 1.15;
    transform: rotate(-12deg);
}

.about-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(4rem, 8vw, 7rem) 20px;
}

.about-section-kicker {
    font-family: var(--secondairy-font);
    font-size: clamp(0.72rem, 0.9vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.about-section h2 {
    font-family: var(--secondairy-font);
    font-size: clamp(2.2rem, 5vw, 5.4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0;
}

.about-section h3 {
    font-family: var(--secondairy-font);
    font-size: clamp(1.35rem, 2.2vw, 2.2rem);
    line-height: 1;
}

.about-section p {
    font-family: var(--secondairy-font);
}

.about-story {
    display: grid;
    grid-template-columns: minmax(10rem, 0.45fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    background-color: var(--primairy-color);
    color: var(--secondary-color);
}

.about-story > div {
    display: grid;
    gap: clamp(1rem, 2vw, 1.4rem);
    max-width: 72rem;
}

.about-story p:not(.about-section-kicker) {
    max-width: 54rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    line-height: 1.42;
}

.about-section-heading {
    display: grid;
    gap: 1rem;
    max-width: 68rem;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.about-pillars,
.about-gallery-section,
.about-tools {
    background-color: var(--primairy-color);
    color: var(--secondary-color);
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-card-grid article {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: clamp(18rem, 28vw, 25rem);
    padding: clamp(1.2rem, 2.5vw, 2rem);
    border-radius: 8px;
    background-color: #151515;
}

.about-card-grid span {
    font-family: var(--secondairy-font);
    color: rgba(255, 255, 255, 0.5);
}

.about-card-grid p {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.35;
}

.about-hobbies {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
    gap: 20px;
    align-items: stretch;
    background-color: #f7f7f3;
    color: #101010;
}

.about-hobbies-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    min-height: clamp(24rem, 45vw, 38rem);
    padding: clamp(1.2rem, 3vw, 2.4rem);
    border-radius: 8px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.about-hobbies-copy p:not(.about-section-kicker) {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.35;
}

.about-hobbies figure,
.about-snapshot-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #dedfe2;
}

.about-hobbies figure img,
.about-hobbies figure video,
.about-snapshot-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-snapshot-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: clamp(14rem, 24vw, 22rem);
    gap: 20px;
}

.about-snapshot-grid figure:first-child {
    grid-row: span 2;
}

.about-personal-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 0;
    color: var(--secondary-color);
}

.about-personal-card p:first-child {
    font-family: var(--secondairy-font);
    font-size: clamp(0.72rem, 0.9vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.about-personal-card p:last-child {
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1.15rem, 1.6vw, 1.55rem);
    line-height: 1.35;
}

.about-process {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    background-color: #f7f7f3;
    color: #101010;
}

.about-process ol {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.about-process li {
    display: grid;
    grid-template-columns: minmax(8rem, 0.5fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.about-process li span {
    font-family: var(--secondairy-font);
    font-weight: 800;
}

.about-process li p {
    color: rgba(16, 16, 16, 0.68);
    line-height: 1.35;
}

.about-tools {
    display: grid;
    gap: 1.2rem;
}

.about-tools ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-tools li {
    padding: 0.75rem 1rem;
    border-radius: 100px;
    background-color: #151515;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--secondairy-font);
    font-weight: 700;
}

.about-cta {
    display: grid;
    justify-items: center;
    gap: 1rem;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.about-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding-inline: 1.35rem;
    border-radius: 100px;
    background-color: var(--secondary-color);
    color: var(--primairy-color);
    font-family: var(--secondairy-font);
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.about-cta a:hover {
    background-color: var(--button-color);
    color: #101010;
    transform: translateY(-0.08rem);
}

@media (max-width: 900px) {
    .about-hero {
        min-height: 44rem;
    }

    .about-hero-copy {
        max-width: min(34rem, 84vw);
    }

    .about-gallery-card-large {
        top: 6%;
    }

    .about-gallery-card-left,
    .about-gallery-card-right {
        top: 21%;
    }
}

@media (max-height: 800px) and (min-width: 901px) {
    .about-hero-copy {
        max-width: min(46rem, 52vw);
    }

    .about-hero h1 {
        max-width: 46rem;
        font-size: clamp(2rem, 2.8vw, 3rem);
    }

    .about-gallery-card-large {
        top: -6rem;
        width: clamp(7rem, 12vw, 10rem);
    }

    .about-gallery-card-left {
        top: 9%;
        left: clamp(-1rem, 6vw, 6rem);
        width: clamp(9rem, 14vw, 13rem);
    }

    .about-gallery-card-right {
        top: 9%;
        right: clamp(-1rem, 6vw, 6rem);
        width: clamp(9rem, 14vw, 13rem);
    }
}

@media (max-width: 620px) {
    .about-hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .about-hero-copy {
        align-self: center;
        max-width: 90vw;
    }

    .about-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.65rem);
    }

    .about-gallery-card {
        border-radius: 12px;
    }

    .about-gallery-card-large {
        top: 1rem;
        width: 5.2rem;
    }

    .about-gallery-card-left {
        top: 6.5rem;
        left: -1.8rem;
        width: 6.8rem;
    }

    .about-gallery-card-right {
        top: 6.5rem;
        right: -1.8rem;
        width: 6.8rem;
    }

    .about-gallery-card-bottom-left,
    .about-gallery-card-bottom-right {
        display: none;
    }

    .about-story,
    .about-hobbies,
    .about-process,
    .about-card-grid,
    .about-snapshot-grid {
        grid-template-columns: 1fr;
    }

    .about-snapshot-grid {
        grid-auto-rows: 16rem;
    }

    .about-snapshot-grid figure:first-child {
        grid-row: auto;
    }

    .about-process li {
        grid-template-columns: 1fr;
    }
}
