/*
 * =========================================================
 * REMOTE MADAM — ABOUT PAGE
 * New Professional About Page Design
 * Brand Color: #A62290
 * Loaded on: templates/page-about.php
 * =========================================================
 */

/* =========================================================
   BRAND VARIABLES
   ========================================================= */

:root {
    --rm-brand: #A62290;
    --rm-brand-dark: #7D1A6E;
    --rm-brand-light: #C52BB0;
    --rm-brand-soft: rgba(166, 34, 144, 0.10);
    --rm-brand-border: rgba(166, 34, 144, 0.28);
    --rm-brand-glow: rgba(166, 34, 144, 0.22);

    --rm-black: #080808;
    --rm-dark: #101010;
    --rm-dark-2: #151515;

    --rm-white: #FFFFFF;
    --rm-off-white: #FAF9FB;
    --rm-light: #F7F3F7;
    --rm-light-2: #F1EAF1;

    --rm-text-dark: #171117;
    --rm-muted-dark: #686168;

    --rm-text-light: rgba(255, 255, 255, 0.72);
    --rm-border-dark: rgba(255, 255, 255, 0.09);
    --rm-border-light: rgba(32, 18, 32, 0.10);
}


/* =========================================================
   PAGE BASE
   ========================================================= */

.about-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--rm-white);
    color: var(--rm-text-dark);
    overflow: hidden;
}

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

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

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

.about-page p {
    margin-top: 0;
}

.about-page__section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 7px 13px;
    border: 1px solid var(--rm-brand-border);
    border-radius: 999px;
    background: var(--rm-brand-soft);
    color: var(--rm-brand);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-page__section-title {
    margin: 14px 0 0;
    color: var(--rm-text-dark);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
}


/* =========================================================
   HERO
   ========================================================= */

.about-page__hero {
    position: relative;
    min-height: 650px;
    padding: 72px 0 78px;
    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(166, 34, 144, 0.18) 0%,
            rgba(166, 34, 144, 0.07) 24%,
            transparent 48%
        ),
        linear-gradient(135deg, #080808 0%, #050505 100%);
    color: var(--rm-white);
    overflow: hidden;
}

.about-page__hero::before {
    content: '';
    position: absolute;
    width: 580px;
    height: 580px;
    top: 50%;
    right: -170px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(166, 34, 144, 0.18) 0%,
        transparent 68%
    );
    filter: blur(10px);
    pointer-events: none;
}

.about-page__hero::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    top: -180px;
    left: -160px;
    border-radius: 50%;
    background: rgba(166, 34, 144, 0.06);
    filter: blur(50px);
    pointer-events: none;
}

.about-page__hero-container {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.about-page__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.about-page__hero-content {
    min-width: 0;
    animation: rmAboutFadeLeft 0.75s ease-out both;
}

.about-page__hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(166, 34, 144, 0.45);
    border-radius: 999px;
    background: rgba(166, 34, 144, 0.10);
    color: #D96BC8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1;
}

.about-page__hero-title {
    max-width: 700px;
    margin: 0;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.about-page__hero-title span {
    display: block;
}

.about-page__hero-title-accent {
    color: var(--rm-brand);
}

.about-page__hero-story {
    max-width: 600px;
    margin-top: 24px;
}

.about-page__hero-story-paragraph {
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    line-height: 1.7;
}

.about-page__hero-buttons,
.about-page__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.about-page__hero-buttons .btn,
.about-page__cta-buttons .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 19px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.about-page__hero-buttons .btn--primary,
.about-page__cta-buttons .btn--primary {
    background: var(--rm-brand);
    color: #FFFFFF;
    border: 1px solid var(--rm-brand);
    box-shadow: 0 9px 24px rgba(166, 34, 144, 0.24);
}

.about-page__hero-buttons .btn--primary:hover,
.about-page__cta-buttons .btn--primary:hover {
    background: var(--rm-brand-light);
    border-color: var(--rm-brand-light);
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(166, 34, 144, 0.32);
}

.about-page__hero-buttons .btn--outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.about-page__hero-buttons .btn--outline:hover {
    color: #FFFFFF;
    border-color: var(--rm-brand);
    background: rgba(166, 34, 144, 0.12);
    transform: translateY(-2px);
}

.about-page__hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: rmAboutFadeRight 0.8s ease-out 0.12s both;
}

.about-page__glow--pink {
    position: absolute;
    width: 470px;
    height: 470px;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(166, 34, 144, 0.27) 0%,
        rgba(166, 34, 144, 0.10) 38%,
        transparent 72%
    );
    filter: blur(28px);
    pointer-events: none;
}

.about-page__image-wrapper {
    position: relative;
    z-index: 2;
    width: min(100%, 455px);
    height: 545px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.about-page__image-wrapper::before {
    content: '';
    position: absolute;
    width: 310px;
    height: 310px;
    right: -15px;
    top: 80px;
    border-radius: 50%;
    background: var(--rm-brand);
    opacity: 0.92;
    filter: blur(0);
    z-index: -1;
}

.about-page__image-wrapper::after {
    content: '';
    position: absolute;
    width: 245px;
    height: 245px;
    left: 12px;
    bottom: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(166, 34, 144, 0.07);
    z-index: -1;
}

.about-page__hero-image {
    width: 120%;
    height: 120%;
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.42));
}


/* =========================================================
   FOUNDER STORY — WHITE SECTION
   ========================================================= */

.about-page__founder-story {
    position: relative;
    padding: 150px 0;
    background: #FFFFFF;
    color: var(--rm-text-dark);
    overflow: hidden;
}

.about-page__founder-story-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.about-page__founder-story-header {
    max-width: 650px;
    margin-bottom: 34px;
}

.about-page__founder-story-content {
    position: relative;
    width: min(100%, 790px);
    padding-right: 0;
}

.about-page__founder-story-content::after {
    content: '';
    position: absolute;
    right: -360px;
	top: -90px;
	width: 560px;
	height: 620px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 100%
        ),
        url('https://remotemadam.com/wp-content/uploads/2026/07/founder1.png.png')
        center bottom / contain no-repeat;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.about-page__founder-story-content p {
    max-width: 760px;
    margin: 0 0 18px;
    color: #686168;
    font-size: 14px;
    line-height: 1.75;
}

.about-page__founder-story-content p:last-child {
    margin-bottom: 0;
    color: #332C33;
    font-weight: 600;
}


/* =========================================================
   JOURNEY — DARK SECTION
   ========================================================= */

.about-page__journey {
    position: relative;
    padding: 92px 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(166, 34, 144, 0.08) 0%,
            transparent 42%
        ),
        #090909;
    color: #FFFFFF;
}

.about-page__journey-container,
.about-page__why-container,
.about-page__impact-container,
.about-page__values-container,
.about-page__quote-container,
.about-page__cta-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.about-page__journey-header,
.about-page__impact-header,
.about-page__values-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-page__journey-header .about-page__section-label,
.about-page__impact-header .about-page__section-label,
.about-page__values-header .about-page__section-label {
    margin-inline: auto;
}

.about-page__journey .about-page__section-title,
.about-page__impact .about-page__section-title {
    color: #FFFFFF;
}

.about-page__journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
}

.about-page__journey-timeline::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(166, 34, 144, 0.65),
        transparent
    );
}

.about-page__milestone-card {
    position: relative;
    min-height: 245px;
    padding: 0 13px;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    box-shadow: none;
    overflow: visible;
    animation: rmAboutFadeUp 0.65s ease-out both;
    transition: transform 0.25s ease;
}

.about-page__milestone-card::before {
    display: none;
}

.about-page__milestone-card:hover {
    transform: translateY(-4px);
}

.about-page__milestone-number {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border: 2px solid var(--rm-brand);
    border-radius: 50%;
    background: #111111;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 0 0 7px #090909;
}

.about-page__milestone-title {
    position: relative;
    z-index: 1;
    margin: 0 0 9px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.about-page__milestone-description {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   WHY REMOTE MADAM — WHITE SECTION
   ========================================================= */

.about-page__why {
    padding: 92px 0;
    background: #FFFFFF;
    color: var(--rm-text-dark);
}

.about-page__why-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
}

.about-page__why-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-page__why-content .about-page__section-label {
    margin-inline: auto;
}

.about-page__why-content .about-page__section-title {
    margin-top: 12px;
}

.about-page__why-story {
    margin-top: 18px;
}

.about-page__why-story-paragraph {
    margin: 0 0 10px;
    color: #6C646C;
    font-size: 14px;
    line-height: 1.65;
}

.about-page__why-story-paragraph:last-child {
    margin-bottom: 0;
    color: #332C33;
    font-weight: 600;
}

.about-page__why-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-page__why-card {
    position: relative;
    min-height: 170px;
    padding: 28px 24px;
    border: 1px solid var(--rm-border-light);
    border-radius: 17px;
    background: #FFFFFF;
    box-shadow: 0 10px 35px rgba(44, 22, 44, 0.06);
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.about-page__why-card::before {
    content: '';
    width: 38px;
    height: 38px;
    display: block;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--rm-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(166, 34, 144, 0.10);
}

.about-page__why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 34, 144, 0.28);
    box-shadow: 0 18px 45px rgba(44, 22, 44, 0.10);
}

.about-page__why-card-title {
    margin: 0 0 8px;
    color: #201A20;
    font-size: 16px;
    font-weight: 800;
}

.about-page__why-card-description {
    margin: 0;
    color: #746D74;
    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   IMPACT — DARK SECTION
   ========================================================= */

.about-page__impact {
    padding: 92px 0;
    background: #090909;
    color: #FFFFFF;
}

.about-page__impact-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.about-page__impact-card {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #111111;
    text-align: center;
}

.about-page__impact-number {
    color: var(--rm-brand);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.about-page__impact-label {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   VALUES — WHITE SECTION
   ========================================================= */

.about-page__values {
    padding: 92px 0;
    background: #FFFFFF;
}

.about-page__values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-page__value-card {
    position: relative;
    min-height: 145px;
    padding: 25px 22px;
    border: 1px solid var(--rm-border-light);
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 9px 30px rgba(44, 22, 44, 0.05);
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.about-page__value-card::before {
    content: '';
    width: 38px;
    height: 38px;
    display: block;
    margin: 0 auto 12px;
    border-radius: 11px;
    background: var(--rm-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(166, 34, 144, 0.10);
}

.about-page__value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 34, 144, 0.28);
    box-shadow: 0 15px 38px rgba(44, 22, 44, 0.09);
}

.about-page__value-title {
    margin: 0 0 7px;
    color: #201A20;
    font-size: 15px;
    font-weight: 800;
}

.about-page__value-description {
    max-width: 220px;
    margin: 0 auto;
    color: #746D74;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   FOUNDER QUOTE — DARK SECTION
   ========================================================= */

.about-page__quote {
    position: relative;
    padding: 78px 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(166, 34, 144, 0.17) 0%,
            transparent 35%
        ),
        #0A0A0A;
    color: #FFFFFF;
    overflow: hidden;
}

.about-page__quote-container {
    max-width: 1050px;
}

.about-page__quote-container::before {
    content: '';
    position: absolute;
    width: 290px;
    height: 290px;
    margin-top: -20px;
    margin-left: -30px;
    border-radius: 50%;
    background:
        url('https://remotemadam.com/wp-content/uploads/2026/07/founder1.png.png')
        center bottom / contain no-repeat;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
    opacity: 0.96;
}

.about-page__quote-mark {
    height: 52px;
    margin-left: 320px;
    color: var(--rm-brand);
    font-family: Georgia, serif;
    font-size: 82px;
    font-weight: 700;
    line-height: 0.8;
}

.about-page__quote-text {
    max-width: 690px;
    margin: 15px 0 0 320px;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 3vw, 31px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.4;
}

.about-page__quote-author {
    display: block;
    margin: 17px 0 0 320px;
    color: #D56AC4;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}


/* =========================================================
   FINAL CTA — LIGHT PINK SECTION
   ========================================================= */

.about-page__cta {
    padding: 72px 0;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(166, 34, 144, 0.13) 0%,
            transparent 55%
        ),
        #F9EAF7;
}

.about-page__cta-container {
    max-width: 1050px;
}

.about-page__cta-inner {
    padding: 48px 45px;
    border: 1px solid rgba(166, 34, 144, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    text-align: center;
    box-shadow: 0 12px 40px rgba(82, 28, 72, 0.05);
}

.about-page__cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-page__cta-title {
    margin: 0 0 12px;
    color: #211A21;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.12;
}

.about-page__cta-description {
    margin: 0 auto 5px;
    color: #716871;
    font-size: 13px;
    line-height: 1.6;
}

.about-page__cta-buttons {
    justify-content: center;
    margin-top: 22px;
}

.about-page__cta-buttons .btn--primary {
    min-width: 150px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes rmAboutFadeLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rmAboutFadeRight {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rmAboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .about-page__hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
        gap: 35px;
    }

    .about-page__hero-title {
        font-size: clamp(39px, 5vw, 56px);
    }

    .about-page__hero-visual {
        min-height: 470px;
    }

    .about-page__image-wrapper {
        height: 485px;
    }

    .about-page__journey-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 42px;
    }

    .about-page__journey-timeline::before {
        display: none;
    }

    .about-page__founder-story-content::after {
        right: -250px;
        width: 240px;
        height: 300px;
    }

    .about-page__quote-container::before {
        width: 230px;
        height: 230px;
    }

    .about-page__quote-mark,
    .about-page__quote-text,
    .about-page__quote-author {
        margin-left: 270px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .about-page__hero-container,
    .about-page__founder-story-container,
    .about-page__journey-container,
    .about-page__why-container,
    .about-page__impact-container,
    .about-page__values-container,
    .about-page__quote-container,
    .about-page__cta-container {
        width: min(100% - 32px, 600px);
    }

    .about-page__hero {
        min-height: auto;
        padding: 55px 0 55px;
    }

    .about-page__hero-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-page__hero-title {
        font-size: clamp(37px, 10vw, 49px);
        line-height: 1.04;
    }

    .about-page__hero-story {
        margin-top: 20px;
    }

    .about-page__hero-story-paragraph {
        font-size: 13px;
        line-height: 1.65;
    }

    .about-page__hero-buttons {
        gap: 9px;
        margin-top: 23px;
    }

    .about-page__hero-buttons .btn {
        width: auto;
        flex: 1 1 auto;
    }

    .about-page__hero-visual {
        min-height: 360px;
        margin-top: 5px;
    }

    .about-page__image-wrapper {
        width: min(100%, 330px);
        height: 375px;
    }

    .about-page__image-wrapper::before {
        width: 240px;
        height: 240px;
        right: 0;
        top: 65px;
    }

    .about-page__glow--pink {
        width: 350px;
        height: 350px;
    }

    .about-page__founder-story {
        padding: 65px 0 72px;
    }

    .about-page__founder-story-header {
        margin-bottom: 25px;
    }

    .about-page__founder-story-content {
        padding-bottom: 300px;
    }

    .about-page__founder-story-content::after {
        right: 50%;
        top: auto;
        bottom: 0;
        width: 260px;
        height: 290px;
        transform: translateX(50%);
    }

    .about-page__founder-story-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .about-page__journey,
    .about-page__why,
    .about-page__impact,
    .about-page__values {
        padding: 68px 0;
    }

    .about-page__journey-header,
    .about-page__impact-header,
    .about-page__values-header {
        margin-bottom: 35px;
    }

    .about-page__section-title {
        font-size: 30px;
    }

    .about-page__journey-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-page__milestone-card {
        min-height: auto;
        padding: 23px 22px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 14px;
        background: #111111;
        text-align: left;
    }

    .about-page__milestone-number {
        margin: 0 0 16px;
        width: 39px;
        height: 39px;
        box-shadow: none;
    }

    .about-page__milestone-title {
        font-size: 15px;
    }

    .about-page__milestone-description {
        font-size: 12px;
    }

    .about-page__why-inner {
        gap: 30px;
    }

    .about-page__why-story-paragraph {
        font-size: 13px;
    }

    .about-page__why-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-page__why-card {
        min-height: 145px;
    }

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

    .about-page__impact-card {
        min-height: 112px;
        padding: 17px 8px;
    }

    .about-page__impact-number {
        font-size: 25px;
    }

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

    .about-page__value-card {
        min-height: 135px;
        padding: 20px 13px;
    }

    .about-page__value-title {
        font-size: 14px;
    }

    .about-page__value-description {
        font-size: 10px;
    }

    .about-page__quote {
        padding: 70px 0 65px;
    }

    .about-page__quote-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-page__quote-container::before {
        position: relative;
        width: 170px;
        height: 170px;
        margin: 0 auto 12px;
    }

    .about-page__quote-mark,
    .about-page__quote-text,
    .about-page__quote-author {
        margin-left: 0;
    }

    .about-page__quote-mark {
        height: 40px;
        font-size: 68px;
    }

    .about-page__quote-text {
        margin-top: 8px;
        font-size: 22px;
        line-height: 1.4;
    }

    .about-page__quote-author {
        margin-top: 14px;
    }

    .about-page__cta {
        padding: 55px 0;
    }

    .about-page__cta-inner {
        padding: 38px 20px;
        border-radius: 17px;
    }

    .about-page__cta-title {
        font-size: 30px;
    }

    .about-page__cta-description {
        font-size: 12px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .about-page__hero-buttons {
        flex-direction: column;
    }

    .about-page__hero-buttons .btn {
        width: 100%;
    }

    .about-page__impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-page__values-grid {
        grid-template-columns: 1fr;
    }

    .about-page__hero-title {
        font-size: 36px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

    .about-page__hero-content,
    .about-page__hero-visual,
    .about-page__milestone-card {
        animation: none;
    }

    .about-page__milestone-card,
    .about-page__why-card,
    .about-page__value-card,
    .about-page__hero-buttons .btn,
    .about-page__cta-buttons .btn {
        transition: none;
    }
}

/* =========================================================
   REMOTE MADAM ABOUT PAGE — TARGETED FINAL FIXES
   Fixes: card icons, founder-story image, founder quote layout.
   ========================================================= */

/* Mission cards: remove pale placeholder circles and show clear brand icons. */
.about-page__why-card::before {
    content: '';
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-shadow: none;
}

.about-page__why-card:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M24 13v12l8 5'/%3E%3Cpath d='M8 8l5 5M40 8l-5 5'/%3E%3C/svg%3E");
}
.about-page__why-card:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l15 6v11c0 10-6 16-15 21C15 38 9 32 9 22V11z'/%3E%3Cpath d='M16 24l5 5 11-12'/%3E%3C/svg%3E");
}
.about-page__why-card:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M7 24h34M24 7c5 5 7 11 7 17s-2 12-7 17c-5-5-7-11-7-17s2-12 7-17z'/%3E%3C/svg%3E");
}

/* Core values: remove pale placeholder squares and show matching line icons. */
.about-page__value-card::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-shadow: none;
}
.about-page__value-card:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 38h34M12 32V21h7v11M22 32V12h7v20M32 32V17h5v15'/%3E%3C/svg%3E");
}
.about-page__value-card:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l15 6v11c0 10-6 16-15 21C15 38 9 32 9 22V11z'/%3E%3Cpath d='M16 24l5 5 11-12'/%3E%3C/svg%3E");
}
.about-page__value-card:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M16 25l5 5 11-12'/%3E%3C/svg%3E");
}
.about-page__value-card:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5l4.5 12.5L42 22l-13.5 4.5L24 40l-4.5-13.5L6 22l13.5-4.5z'/%3E%3Cpath d='M36 5v8M32 9h8'/%3E%3C/svg%3E");
}
.about-page__value-card:nth-child(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='17' cy='17' r='6'/%3E%3Ccircle cx='32' cy='19' r='5'/%3E%3Cpath d='M5 39c0-7 5-12 12-12s12 5 12 12M27 29c7-3 14 2 15 9'/%3E%3C/svg%3E");
}
.about-page__value-card:nth-child(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23A62290' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 6l5 10 11 2-8 8 2 11-10-5-10 5 2-11-8-8 11-2z'/%3E%3C/svg%3E");
}

/* Founder story: give the image more room on desktop without covering the copy. */
.about-page__founder-story-content {
    width: min(100%, 790px);
    padding-right: 0;
}
.about-page__founder-story-content::after {
    right: -395px;
    top: -90px;
    width: 460px;
    height: 520px;
    background: url('https://remotemadam.com/wp-content/uploads/2026/07/founder1.png.png') center bottom / contain no-repeat;
}

/* Quote: anchor the founder image to the left and keep quote text in its own column. */
.about-page__quote-container {
    position: relative;
    min-height: 290px;
    padding-left: 300px;
}
.about-page__quote-container::before {
    position: absolute;
    left: 0;
    top: 50%;
    width: 270px;
    height: 290px;
    margin: 0;
    transform: translateY(-50%);
    background: url('https://remotemadam.com/wp-content/uploads/2026/07/founder1.png.png') center bottom / contain no-repeat;
}
.about-page__quote-mark,
.about-page__quote-text,
.about-page__quote-author {
    margin-left: 0;
}
.about-page__quote-mark {
    height: 52px;
}
.about-page__quote-text {
    max-width: 690px;
    margin-top: 15px;
}
.about-page__quote-author {
    margin-top: 17px;
}

@media (max-width: 1100px) and (min-width: 768px) {
    .about-page__founder-story {
        padding: 100px 0;
    }
    .about-page__founder-story-content::after {
        right: -270px;
        top: -45px;
        width: 245px;
        height: 310px;
    }
    .about-page__quote-container {
        padding-left: 245px;
    }
    .about-page__quote-container::before {
        width: 220px;
        height: 250px;
    }
}

@media (max-width: 767px) {
    .about-page__founder-story {
        padding: 65px 0 72px;
    }
    .about-page__founder-story-content {
        padding-bottom: 320px;
    }
    .about-page__founder-story-content::after {
        right: 50%;
        top: auto;
        bottom: 0;
        width: 290px;
        height: 310px;
        transform: translateX(50%);
    }
    .about-page__quote-container {
        min-height: 0;
        padding-left: 0;
    }
    .about-page__quote-container::before {
        position: relative;
        left: auto;
        top: auto;
        width: 170px;
        height: 170px;
        margin: 0 auto 12px;
        transform: none;
    }
    .about-page__quote-mark {
        height: 40px;
        text-align: center;
        font-size: 68px;
    }
    .about-page__quote-text,
    .about-page__quote-author {
        margin-left: 0;
        text-align: center;
    }
    .about-page__quote-text {
        margin-top: 8px;
        font-size: 22px;
    }
}

/* END REMOTE MADAM ABOUT PAGE — TARGETED FINAL FIXES */

