/* =====================================================
   XXLSIZE - ABOUT PAGE
   Every rule is scoped under .about-page so no other
   page is affected. Safe to delete without side effects.
===================================================== */

.about-page {
    --ab-black: #111111;
    --ab-white: #ffffff;
    --ab-beige: #f2ece3;
    --ab-sand: #e3d9ca;
    --ab-grey: #5f5a52;
    --ab-line: rgba(17, 17, 17, .14);

    font-family: 'Manrope', Arial, sans-serif;
    color: var(--ab-black);
    background: var(--ab-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Defensive reset so global heading/paragraph styles don't leak in */

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
    margin: 0;
    font-family: inherit;
    text-transform: none;
}

.about-page img {
    display: block;
    max-width: 100%;
}

.about-page a {
    text-decoration: none;
}

.about-page .ab-wrap {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}


/* ---------- Shared type ---------- */

.about-page .ab-eyebrow {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ab-grey);
}

.about-page .ab-eyebrow--light {
    color: rgba(255, 255, 255, .82);
}

.about-page h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -.5px;
}

.about-page .ab-num {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--ab-grey);
}

.about-page .ab-head {
    max-width: 640px;
    margin-bottom: 64px;
}


/* ---------- Buttons ---------- */

.about-page .ab-btn {
    display: inline-block;
    padding: 18px 38px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    border: 1px solid var(--ab-black);
    background: var(--ab-black);
    color: var(--ab-white);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.about-page .ab-btn:hover {
    background: transparent;
    color: var(--ab-black);
}

.about-page .ab-btn--light {
    background: var(--ab-white);
    border-color: var(--ab-white);
    color: var(--ab-black);
}

.about-page .ab-btn--light:hover {
    background: transparent;
    color: var(--ab-white);
    border-color: var(--ab-white);
}


/* =====================================================
   1. HERO
===================================================== */

.about-page .ab-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    background: var(--ab-black);
    overflow: hidden;
}

.about-page .ab-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* flat tint, keeps the headline readable on any photo */
.about-page .ab-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .38);
}

.about-page .ab-hero__content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 clamp(48px, 8vw, 96px);
    color: var(--ab-white);
}

.about-page .ab-hero h1 {
    font-size: clamp(44px, 9vw, 120px);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 26px;
}

.about-page .ab-hero p {
    max-width: 480px;
    margin-bottom: 36px;
    font-size: 17px;
    color: rgba(255, 255, 255, .9);
}


/* =====================================================
   2. STORY + shared split layout
===================================================== */

.about-page .ab-story {
    padding: clamp(70px, 10vw, 140px) 0;
    background: var(--ab-beige);
}

.about-page .ab-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
}

.about-page .ab-split__media {
    overflow: hidden;
    background: var(--ab-sand);
}

.about-page .ab-split__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .9s ease;
}

.about-page .ab-split__media:hover img {
    transform: scale(1.035);
}

.about-page .ab-split__text h2 {
    margin-bottom: 30px;
}

.about-page .ab-split__text p {
    max-width: 480px;
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--ab-grey);
}


/* =====================================================
   3. PHILOSOPHY
===================================================== */

.about-page .ab-philosophy {
    padding: clamp(70px, 10vw, 140px) 0;
    background: var(--ab-white);
}

.about-page .ab-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
    margin-bottom: clamp(60px, 9vw, 120px);
}

.about-page .ab-row:last-child {
    margin-bottom: 0;
}

.about-page .ab-row--reverse .ab-row__media {
    order: 2;
}

.about-page .ab-row__media {
    overflow: hidden;
    background: var(--ab-sand);
}

.about-page .ab-row__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .9s ease;
}

.about-page .ab-row__media:hover img {
    transform: scale(1.035);
}

.about-page .ab-row__text {
    max-width: 440px;
}

.about-page .ab-row__text h3 {
    margin-bottom: 20px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.3px;
}

.about-page .ab-row__text p {
    font-size: 16px;
    color: var(--ab-grey);
}


/* =====================================================
   4. CATEGORIES
===================================================== */

.about-page .ab-categories {
    padding: clamp(70px, 10vw, 140px) 0;
    background: var(--ab-beige);
}

.about-page .ab-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.about-page .ab-cat {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ab-sand);
    color: var(--ab-white);
}

.about-page .ab-cat img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .9s ease;
}

.about-page .ab-cat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .22);
    transition: background .4s ease;
}

.about-page .ab-cat:hover img {
    transform: scale(1.05);
}

.about-page .ab-cat:hover::after {
    background: rgba(0, 0, 0, .42);
}

.about-page .ab-cat__label {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-page .ab-cat__label i {
    transition: transform .3s ease;
}

.about-page .ab-cat:hover .ab-cat__label i {
    transform: translateX(6px);
}


/* =====================================================
   5. WHAT MAKES US DIFFERENT
===================================================== */

.about-page .ab-different {
    padding: clamp(70px, 10vw, 140px) 0;
    background: var(--ab-white);
}

.about-page .ab-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 40px;
}

.about-page .ab-point {
    padding-top: 28px;
    border-top: 1px solid var(--ab-black);
}

.about-page .ab-point h3 {
    margin-bottom: 14px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}

.about-page .ab-point p {
    font-size: 15px;
    color: var(--ab-grey);
}


/* =====================================================
   6. BRAND STATEMENT
===================================================== */

.about-page .ab-statement {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ab-black);
    overflow: hidden;
}

.about-page .ab-statement__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page .ab-statement::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.about-page .ab-statement__content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    color: var(--ab-white);
}

.about-page .ab-statement h2 {
    font-size: clamp(38px, 7vw, 92px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: -1.5px;
}


/* =====================================================
   7. FINAL CTA
===================================================== */

.about-page .ab-final {
    padding: clamp(80px, 11vw, 150px) 0;
    background: var(--ab-black);
    color: var(--ab-white);
    text-align: center;
}

.about-page .ab-final__inner {
    max-width: 720px;
}

.about-page .ab-final h2 {
    margin-bottom: 22px;
}

.about-page .ab-final p {
    margin-bottom: 38px;
    font-size: 16px;
    color: rgba(255, 255, 255, .75);
}


/* =====================================================
   SMOOTH REVEAL (progressive enhancement, CSS only)
   Browsers without support simply show everything.
===================================================== */

.about-page .ab-hero__content > * {
    animation: abRise .9s ease both;
}

.about-page .ab-hero__content > *:nth-child(2) { animation-delay: .12s; }
.about-page .ab-hero__content > *:nth-child(3) { animation-delay: .24s; }
.about-page .ab-hero__content > *:nth-child(4) { animation-delay: .36s; }

@keyframes abRise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {

    .about-page .ab-split__text,
    .about-page .ab-row__text,
    .about-page .ab-point,
    .about-page .ab-head {
        animation: abRise linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 45%;
    }

}

@media (prefers-reduced-motion: reduce) {

    .about-page *,
    .about-page *::before,
    .about-page *::after {
        animation: none !important;
        transition: none !important;
    }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1024px) {

    .about-page .ab-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page .ab-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 40px;
    }

}

@media (max-width: 768px) {

    .about-page .ab-hero {
        min-height: 78vh;
    }

    .about-page .ab-hero h1 {
        letter-spacing: -1px;
    }

    .about-page .ab-split,
    .about-page .ab-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-page .ab-row--reverse .ab-row__media {
        order: 0;
    }

    .about-page .ab-row__text,
    .about-page .ab-split__text p {
        max-width: none;
    }

    .about-page .ab-head {
        margin-bottom: 44px;
    }

    .about-page .ab-statement {
        min-height: 62vh;
    }

}

@media (max-width: 520px) {

    .about-page .ab-cat-grid {
        gap: 10px;
    }

    .about-page .ab-cat__label {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .about-page .ab-points {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-page .ab-btn {
        display: block;
        text-align: center;
        padding: 18px 20px;
    }

}
