﻿
.about-hero {
    position: relative;
    background-color: var(--teal-bright);
    background-image: url('/Frontend/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0 3.5rem;
    overflow: hidden;
}

.about-hero__inner {
    position: relative;
    z-index: 1;
}


.about-hero__desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white-80);
    max-width: 560px;
    margin-bottom: 1.75rem;
}

.about-hero__badge {
    /* Reuses .hero__eyebrow's pill styling; only the margin changes
       since here it sits at the bottom of the stack, not the top. */
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .about-hero {
        padding: 5rem 0;
    }
}

/* ── About story: early life / philosophy + milestones sidebar ── */
.about-story {
    padding: 3.5rem 0 4.5rem;
    background: var(--white);
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-story__block {
    margin-bottom: 3rem;
}

    .about-story__block:last-child {
        margin-bottom: 0;
    }

.about-story__eyebrow {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.6rem;
}

.about-story__heading {
    font-family: "Gotham Cond Black", sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.about-story__photo {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: linear-gradient(155deg, #2b2f31, #17191a);
}

    .about-story__photo img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .about-story__photo figcaption {
        position: absolute;
        right: 20px;
        bottom: 20px;
        padding: 10px;
        background: #000000A3;
        font-family: 'Roboto', sans-serif;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--white);
        width: fit-content;
    }

.about-story__block p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #3E4750;
    margin-bottom: 1.1rem;
}

    .about-story__block p:last-child {
        margin-bottom: 0;
    }

/* ── Sidebar: sticky "Quick Milestones" card ── */
.about-story__sidebar {
    background: var(--navy);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    align-self: start;
}

.about-story__sidebar-eyebrow {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.6rem;
}

.about-story__sidebar-title {
    font-family: "Gotham Cond Black", sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.about-story__milestones {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

    .about-story__milestones li {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
    }

.about-story__milestone-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .about-story__milestone-icon svg {
        width: 17px;
        height: 17px;
        stroke: var(--navy);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.about-story__milestones strong {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.about-story__milestones small {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.65rem;
    line-height: 1.4;
    color: var(--color-white-60);
}

.about-story__sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Roboto', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--teal);
    transition: gap 0.2s;
}

    .about-story__sidebar-link:hover {
        gap: 0.7rem;
    }

    .about-story__sidebar-link svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

@media (min-width: 900px) {
    .about-story__grid {
        grid-template-columns: 1fr 340px;
        align-items: start;
        gap: 3.5rem;
    }

    .about-story__block {
        max-width: 640px;
    }

    .about-story__sidebar {
        position: sticky;
        top: 100px;
    }
}

/* ── Quote carousel ───────────────────────────────────────────── */
.quote-carousel {
    background: var(--navy);
    padding: 4.5rem 0;
    touch-action: pan-y; /* let vertical page scroll through, keep horizontal swipe for the carousel */
}

.quote-carousel__inner {
    max-width: 780px;
}

.quote-carousel__icon {
    display: block;
    color: var(--teal);
    margin-bottom: 1.25rem;
}

    .quote-carousel__icon svg {
        width: 36px;
        height: 36px;
        fill: currentColor;
    }

.quote-carousel__text {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    line-height: 1.35;
    color: var(--white);
    text-align: center;
    margin-bottom: 1.1rem;
    transition: opacity 0.25s ease;
    letter-spacing: -1.6px;
}

.quote-carousel__caption {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--teal);
    text-align: center;
    margin-bottom: 2.25rem;
    transition: opacity 0.25s ease;
}

    .quote-carousel__text.is-fading,
    .quote-carousel__caption.is-fading {
        opacity: 0;
    }

.quote-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.quote-carousel__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

    .quote-carousel__arrow:hover {
        border-color: rgba(255,255,255,0.4);
        background: rgba(255,255,255,0.05);
    }

    .quote-carousel__arrow svg {
        width: 16px;
        height: 16px;
        stroke: var(--white);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.quote-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.5rem;
}

.quote-carousel__dot {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.28);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

    .quote-carousel__dot:hover {
        border-color: rgba(255,255,255,0.55);
    }

    .quote-carousel__dot.is-active {
        background: var(--gold);
        border-color: var(--gold);
    }
