/* About Us Page Styles */

/* Base styles scoped to section classes (no body wrapper needed) */
.about-hero,
.about-intro,
.about-origin,
.about-timeline-section,
.about-thrill,
.about-ahead {
    color: #2f3532;
    font-family: "Montserrat", "Poppins", sans-serif;
}

.about-hero img,
.about-intro img,
.about-origin img,
.about-timeline-section img,
.about-thrill img,
.about-ahead img {
    display: block;
    max-width: 100%;
}

.about-intro p,
.about-origin p,
.about-timeline-section p,
.about-thrill p,
.about-ahead p {
    margin: 0 0 16px;
    color: #2f3532;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.58;
}

.about-intro strong,
.about-origin strong,
.about-thrill strong,
.about-ahead strong {
    color: #182f22;
    font-weight: 700;
}

.about-intro h1,
.about-intro h2,
.about-origin h2,
.about-thrill h2,
.about-thrill h3,
.about-ahead h2,
.about-timeline-section h2,
.about-event h3,
.about-event h4 {
    margin: 0;
    color: #182f22;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0;
}

.about-hero {
    margin-top: 100px;
    height: clamp(280px, 32vw, 430px);
    overflow: hidden;
    background: #dfe7e2;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-intro,
.about-origin,
.about-thrill,
.about-ahead {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}

.about-copy {
    max-width: 680px;
}

.about-intro h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.12;
}

.about-intro h2 {
    margin-bottom: 24px;
    color: #407e43;
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 800;
    line-height: 1.25;
}

.about-product-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 24px;
    box-shadow: 0 20px 24px -4px rgba(0, 0, 0, 0.14), 0 8px 8px -4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #eef2f0;
}

.about-product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-origin {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    padding: 0 0 clamp(56px, 7vw, 88px);
}

.about-origin > img,
.about-thrill > img,
.about-ahead > img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 24px -4px rgba(0, 0, 0, 0.14), 0 8px 8px -4px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.about-origin > img {
    aspect-ratio: 4 / 5;
}

.about-origin h2,
.about-thrill h2,
.about-ahead h2,
.about-timeline-section > h2 {
    margin-bottom: 18px;
    color: #407e43;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.about-timeline-section {
    padding: clamp(64px, 8vw, 96px) 32px;
    background: #ffffff;
}

.about-timeline-section > h2,
.about-timeline-section > .about-lead {
    text-align: center;
}

.about-timeline-section > .about-lead {
    display: block;
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto clamp(48px, 5vw, 68px);
    color: #505050;
    text-align: center;
}

.about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 72px minmax(280px, 1fr);
    align-items: start;
    row-gap: 46px;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.about-timeline-spine {
    position: relative;
    grid-column: 2;
    grid-row: 3 / 9;
    justify-self: center;
    align-self: stretch;
    width: 4px;
    min-height: 100%;
    border-radius: 999px;
    background: #6cb55f;
}

.about-timeline-spine::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6cb55f;
    transform: translateX(-50%);
}

.about-event {
    position: relative;
    --branch-y: 22px;
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: center;
}

.about-event.center {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: min(680px, 100%);
}

.about-event.left {
    grid-column: 1;
    justify-self: end;
}

.about-event.right {
    grid-column: 3;
    justify-self: start;
}

.about-event.left::before,
.about-event.right::before {
    content: "";
    position: absolute;
    top: var(--branch-y);
    width: calc(100% - 18px);
    height: 4px;
    border-radius: 999px;
    background: #6cb55f;
    z-index: 0;
}

.about-event.left::before {
    right: calc(-72px + 36px);
}

.about-event.right::before {
    left: calc(-72px + 36px);
}

.about-event h3 {
    position: relative;
    z-index: 1;
    display: table;
    margin: 0 auto;
    padding: 0 8px;
    background: #ffffff;
    color: #182f22;
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    line-height: 1;
}

.about-event h4 {
    position: relative;
    z-index: 1;
    display: table;
    margin: 4px auto 8px;
    padding: 0 8px;
    background: #ffffff;
    color: #182f22;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.about-event p {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto 24px;
    font-size: 17px;
    line-height: 1.45;
}

.about-event-desc {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto 24px;
}

.about-event-desc p {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto 8px;
    font-size: 17px;
    line-height: 1.45;
}

.about-event img {
    position: relative;
    z-index: 1;
    width: min(100%, 330px);
    height: 250px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 18px -10px rgba(0, 0, 0, 0.34);
}

.founder img {
    width: min(100%, 420px);
    height: 310px;
}

.founder::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -54px;
    width: 4px;
    height: 52px;
    border-radius: 999px;
    background: #6cb55f;
    transform: translateX(-50%);
}

.founder::after,
.e2000::after {
    content: "";
    position: absolute;
    left: 50%;
    border-radius: 50%;
    background: #6cb55f;
    transform: translateX(-50%);
}

.founder::after {
    bottom: -12px;
    width: 18px;
    height: 18px;
}

.about-event.e2000 {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: min(900px, 100%);
    padding-top: 10px;
}

.about-event.e2000::before {
    display: none;
}

.about-event.e2000::after {
    bottom: -54px;
    width: 4px;
    height: 52px;
    border-radius: 999px;
}

.about-event.e2000 h3 {
    font-size: clamp(36px, 4vw, 52px);
}

.about-event.e2000 p {
    max-width: 920px;
    margin-bottom: 0;
}

.about-event.e2000 .about-event-desc {
    margin-bottom: 0;
}

.about-event.e2000 .about-event-desc p {
    max-width: 920px;
    margin-bottom: 0;
}

.e2003 { grid-row: 3; width: 440px; --branch-y: 36px; }
.e2005 { grid-row: 3; width: 440px; padding-top: 90px; --branch-y: 118px; }
.e2007 { grid-row: 4; width: 440px; --branch-y: 18px; }
.e2008 { grid-row: 4; width: 440px; padding-top: 80px; --branch-y: 112px; }
.e2012 { grid-row: 5; width: 410px; --branch-y: 30px; }
.e2013cert { grid-row: 5; width: 440px; padding-top: 80px; --branch-y: 102px; }
.e2013comm { grid-row: 6; width: 440px; --branch-y: 44px; }
.e2019 { grid-row: 6; width: 440px; padding-top: 80px; --branch-y: 120px; }
.e2020 { grid-row: 7; width: 440px; --branch-y: 54px; }
.e2024 { grid-row: 8; width: 440px; padding-top: 80px; --branch-y: 110px; }

.about-thrill {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
}

.about-thrill h3 {
    margin: 0 0 6px;
    color: #407e43;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.about-thrill p {
    margin-bottom: 18px;
}

.about-thrill > img {
    aspect-ratio: 4 / 5;
}

.about-ahead {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    padding: 0 0 clamp(72px, 8vw, 104px);
}

.about-ahead > img {
    aspect-ratio: 4 / 3;
}

@media (max-width: 991.98px) {
    .about-hero {
        margin-top: 76px;
        height: 320px;
    }

    .about-intro,
    .about-origin,
    .about-thrill,
    .about-ahead {
        width: min(720px, calc(100% - 48px));
    }

    .about-intro,
    .about-origin,
    .about-thrill,
    .about-ahead {
        grid-template-columns: 1fr;
    }

    .about-product-card,
    .about-origin > img,
    .about-thrill > img,
    .about-ahead > img {
        max-width: 520px;
        margin: 0 auto;
    }

    .about-timeline {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        row-gap: 42px;
        max-width: 640px;
        min-height: auto;
        padding-left: 0;
    }

    .about-timeline-spine {
        grid-column: 1;
        grid-row: 2 / 13;
        justify-self: center;
        width: 3px;
        min-height: 100%;
    }

    .about-event,
    .about-event.center,
    .about-event.left,
    .about-event.right {
        --branch-y: 22px;
        grid-column: 2;
        grid-row: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-top: 0;
        text-align: left;
    }

    .about-event.center,
    .about-event.e2000 {
        grid-column: 2;
    }

    .about-event.left::before,
    .about-event.right::before {
        left: -34px;
        right: auto;
        width: 26px;
    }

    .about-event.center::before {
        display: none;
    }

    .founder::after,
    .about-event.e2000::after {
        display: none;
    }

    .about-event p,
    .about-event img {
        margin-left: 0;
        margin-right: 0;
    }

    .about-event h3,
    .about-event h4 {
        margin-left: 0;
        margin-right: 0;
    }

}

@media (max-width: 767.98px) {
    .about-hero {
        height: 240px;
    }

    .about-intro p,
    .about-origin p,
    .about-thrill p,
    .about-ahead p {
        font-size: 15px;
    }

    .about-intro,
    .about-origin,
    .about-thrill,
    .about-ahead {
        width: min(100%, calc(100% - 40px));
    }

    .about-intro {
        padding-top: 48px;
    }

    .about-timeline-section {
        padding: 56px 20px;
    }

    .about-timeline {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .about-event h3 {
        font-size: 28px;
    }

    .about-event h4 {
        font-size: 15px;
    }

    .about-event p {
        font-size: 14px;
    }
}
