.about-page-container,
.about-content-page-container,
.about-career-page-container,
.about-footer-page-container {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
}

.about-page-section {
    background-color: var(--green);
    min-height: calc(100vh - 40px);
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 120px 30px 50px 30px;
    position: relative;
    flex: 1;
}

.about-hero-copy {
    max-width: 960px;
    position: relative;
    z-index: 2;
}

.about-hero .title-text {
    color: var(--yellow);
}

.about-hero .hero-sub-text {
    color: var(--black);
    max-width: 780px;
}

.about-portrait {
    width: min(150%, 900px);
    align-self: center;
    display: block;
}

@media screen and (max-width: 480px) {
    .about-portrait {
        width: 175%;
        max-width: none;
        transform: translateX(-4%);
    }
}

.about-content-section {
    background-color: var(--white);
    min-height: calc(100vh - 20px);
    height: auto;
    padding: 70px 20px;
}

.about-story-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.about-story-card {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 28px;
    background-color: var(--white);
}

.about-story-card-featured {
    background-color: var(--green);
}

.about-story-card-accent {
    background-color: var(--yellow);
}

.about-kicker {
    display: inline-flex;
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin: 0 0 18px 0;
}

.about-story-card h2,
.about-career-header h2 {
    color: var(--black);
    font-size: 34px;
    line-height: 1.08;
    margin: 0 0 18px 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.about-story-card p,
.about-career-header p,
.career-text-card p,
.career-copy p,
.about-info-grid p {
    color: var(--black);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.78;
}

.about-career-section {
    background-color: var(--green);
    min-height: calc(100vh - 20px);
    height: auto;
    padding: 70px 20px;
}

.about-career-header-card {
    width: 100%;
    box-sizing: border-box;
    padding: 0 28px;
    margin: 0 0 42px 0;
}

.about-career-header {
    max-width: 860px;
    margin: 0;
}

.about-career-header h2 {
    color: var(--yellow);
}

.career-timeline {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.career-text-card {
    width: 100%;
    box-sizing: border-box;
    background-color: var(--white);
    border: 2px solid var(--yellow);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.career-text-card p {
    margin: 0 0 18px 0;
}

.career-text-card p:last-child {
    margin-bottom: 0;
}

.career-item {
    display: grid;
    gap: 12px;
    padding: 28px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.career-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.career-period {
    color: var(--white);
    background-color: var(--black);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    width: fit-content;
}

.career-copy h3,
.about-info-grid h3 {
    color: var(--black);
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.career-company {
    font-weight: 700;
    opacity: 1 !important;
    margin: 0 0 10px 0 !important;
}

.about-info-grid {
    display: grid;
    gap: 20px;
    margin-top: 42px;
}

.about-info-grid article {
    background-color: var(--yellow);
    border-radius: 18px;
    padding: 26px;
}

.about-footer-page-container {
    min-height: 70vh;
}

.about-footer-section {
    background-color: var(--yellow);
    min-height: calc(70vh - 20px);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.about-footer-section .contact-title,
.about-footer-section .contact-info {
    color: var(--black);
}

.about-footer-section .contact-button {
    background-color: var(--green);
    color: var(--black);
    border-radius: 100px;
}

.about-footer-section .contact-button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 768px) {
    .about-hero {
        padding: 150px 40px 70px 40px;
    }

    .about-content-section,
    .about-career-section {
        padding: 90px 40px;
    }

    .about-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .about-story-card {
        padding: 38px;
    }

    .about-story-card h2,
    .about-career-header h2 {
        font-size: 52px;
    }

    .about-story-card p,
    .about-career-header p,
    .career-text-card p,
    .career-copy p,
    .about-info-grid p {
        font-size: 18px;
    }

    .career-text-card {
        padding: 38px;
    }

    .about-career-header-card {
        padding: 0 38px;
    }

    .career-item {
        grid-template-columns: 220px 1fr;
        gap: 40px;
        padding: 34px 0;
    }

    .career-copy h3,
    .about-info-grid h3 {
        font-size: 30px;
    }

    .about-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1099px) {
    .about-story-card h2 {
        font-size: 42px;
    }
}

@media screen and (min-width: 1100px) {
    .about-hero {
        justify-content: center;
        padding-right: 40px;
    }

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

    .about-portrait {
        position: absolute;
        right: -10%;
        bottom: 4%;
        width: 72%;
        max-width: 1120px;
        transform: none;
        z-index: 1;
    }
}
