/* ── About Hero (mirrors category hero) ── */
.about-hero {
    display: flex;
    align-items: stretch;
    background: #f8f6f2;
    min-height: 340px;
}
.about-hero-img {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.about-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-hero-content {
    padding: 40px 48px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-hero--full .about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.about-hero-content h1 {
    font-size: 32px;
    margin: 0 0 8px;
}
.about-hero-content .accent-bar {
    margin-bottom: 16px;
}
.about-hero--full .accent-bar {
    margin-left: auto;
    margin-right: auto;
}
.about-hero-tagline {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-top: 12px;
    max-width: 70ch;
}

/* ── About / Our Company ── */
.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

/* ── Body content ── */
.about-body {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}
.about-body > *:first-child {
    margin-top: 0;
}
.about-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.about-body .wp-video,
.about-body iframe,
.about-body video {
    max-width: 100%;
    margin: 24px 0;
    border-radius: 10px;
}

/* ── Our Story Timeline ── */
.story {
    margin-top: 56px;
}
.story h2 {
    font-size: 26px;
    margin: 0 0 10px;
}
.story .accent-bar {
    margin-bottom: 40px;
}
.story-timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}
.story-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: #ece8de;
    border-radius: 2px;
}
.story-line-progress {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: #8fc740;
    border-radius: 2px;
    transition: height 0.15s linear;
}
.story-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.story-item {
    position: relative;
    width: 50%;
    padding-right: 48px;
    margin-bottom: 40px;
}
.story-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 48px;
}
.story-item:last-child {
    margin-bottom: 0;
}
.story-dot {
    position: absolute;
    top: 22px;
    right: -10px;
    width: 17px;
    height: 17px;
    background: #48a43e;
    border: 3px solid #fff;
    border-radius: 50% 3px 50% 50%;
    transform: rotate(45deg);
    z-index: 2;
}
.story-item:nth-child(even) .story-dot {
    right: auto;
    left: -10px;
}
.story-card {
    background: #f8f6f2;
    border-radius: 14px;
    padding: 22px 26px;
}
.story-year {
    display: inline-block;
    background: #8fc740;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    padding: 3px 14px;
    border-radius: 50px;
}
.story-headline {
    font-size: 19px;
    margin: 12px 0 6px;
}
.story-text {
    font-size: 15px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}
.story-photo {
    margin-top: 16px;
}
.story-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}
/* JS adds .reveal, then .is-in as each milestone scrolls into view.
   No-JS visitors never get .reveal, so everything stays visible. */
.story-item.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.story-item.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ── Our Team ── */
.team {
    margin-top: 56px;
}
.team h2 {
    font-size: 26px;
    margin: 0 0 10px;
}
.team .accent-bar {
    margin-bottom: 32px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px;
}

.team-member {
    text-align: center;
    background: #f8f6f2;
    border-radius: 14px;
    padding: 28px 20px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.team-member__photo {
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #8fc740;
}
.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-member__name {
    font-size: 19px;
    margin: 0 0 4px;
}
.team-member__title {
    font-size: 14px;
    font-weight: 600;
    color: #48a43e;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
    }
    .about-hero-img {
        width: 100%;
        max-height: 200px;
    }
    .about-hero-img img {
        min-height: 200px;
    }
    .about-hero-content {
        padding: 24px;
        text-align: center;
    }
    .about-hero-content .accent-bar {
        margin-left: auto;
        margin-right: auto;
    }
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px 20px;
    }
    .story-line {
        left: 8px;
        transform: none;
    }
    .story-item,
    .story-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 0 40px;
        margin-bottom: 28px;
    }
    .story-item:last-child {
        margin-bottom: 0;
    }
    .story-dot,
    .story-item:nth-child(even) .story-dot {
        right: auto;
        left: 0;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-member__photo {
        width: 120px;
        height: 120px;
    }
}
