/* =========================================================
   RP SKY POOL — ABOUT PAGE
   Corporate / Premium About Us Design
   ========================================================= */


/* =========================================================
   01. ABOUT PAGE VARIABLES
   ========================================================= */

.rp-about-page {
    --about-navy: #061f38;
    --about-navy-2: #082b4d;
    --about-blue: #155aa8;
    --about-cyan: #45a9c5;
    --about-gold: #d29a38;
    --about-gold-dark: #bd8428;

    --about-white: #ffffff;
    --about-light: #f5f8fb;
    --about-light-2: #eef3f7;
    --about-border: #dfe7ee;

    --about-text: #26384a;
    --about-muted: #6d7d8d;

    --about-container: 1380px;

    color: var(--about-text);
    background: var(--about-white);
}


/* =========================================================
   02. COMMON CONTAINER
   ========================================================= */

.rp-about-page .rp-container {
    width: min(
        calc(100% - 48px),
        var(--about-container)
    );

    margin-inline: auto;
}


/* =========================================================
   03. ABOUT HERO
   ========================================================= */

.about-hero {
    position: relative;
    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--about-navy);
}


.about-hero-image {
    position: absolute;
    inset: 0;

    z-index: 0;
}


.about-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;

    transform: scale(1.02);
}


.about-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(4, 24, 43, 0.94) 0%,
            rgba(4, 24, 43, 0.80) 42%,
            rgba(4, 24, 43, 0.30) 75%,
            rgba(4, 24, 43, 0.12) 100%
        );
}


.about-hero-container {
    position: relative;

    z-index: 2;

    padding-top: 90px;
    padding-bottom: 90px;
}


.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 80px;

    color: rgba(255,255,255,0.65);

    font-size: 13px;
    font-weight: 600;
}


.about-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;

    transition:
        color 0.25s ease;
}


.about-breadcrumb a:hover {
    color: var(--about-gold);
}


.about-hero-content {
    max-width: 820px;
}


.about-eyebrow,
.about-section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--about-gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.2px;
    text-transform: uppercase;
}


.about-hero h1 {
    margin: 0;

    color: var(--about-white);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: clamp(
        52px,
        6vw,
        86px
    );

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -2px;
}


.about-hero h1 span {
    display: block;

    color: #ffffff;
}


.about-hero-content p {
    max-width: 690px;

    margin: 30px 0 0;

    color: rgba(255,255,255,0.82);

    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   04. WHO WE ARE
   ========================================================= */

.about-who-we-are {
    padding: 130px 0;
}


.about-two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    gap: 110px;

    align-items: center;
}


.about-image-column {
    position: relative;

    padding-right: 45px;
}


.about-main-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1.04;

    background: var(--about-light);
}


.about-main-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(6,31,56,0.16)
        );

    pointer-events: none;
}


.about-main-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2,.7,.2,1);
}


.about-main-image:hover img {
    transform: scale(1.04);
}


.about-image-label {
    position: absolute;

    right: 0;
    bottom: 45px;

    min-width: 240px;

    padding: 22px 25px;

    background: var(--about-navy);

    color: var(--about-white);

    box-shadow:
        0 18px 50px rgba(6,31,56,0.18);
}


.about-image-label span {
    display: block;

    margin-bottom: 7px;

    color: var(--about-gold);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.about-image-label strong {
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.3px;
}


.about-content-column {
    max-width: 650px;
}


.about-content-column h2,
.about-section-heading h2,
.about-capabilities-content h2,
.about-presence-content h2,
.about-final-cta h2 {
    margin: 0;

    color: var(--about-navy);

    font-family: "DM Serif Display", Georgia, serif;

    font-size: clamp(
        40px,
        4.3vw,
        64px
    );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -1.3px;
}


.about-content-column h2 span,
.about-section-heading h2 span,
.about-capabilities-content h2 span,
.about-presence-content h2 span,
.about-final-cta h2 span {
    color: var(--about-blue);
}


.about-content-column .about-lead {
    margin-top: 30px;

    color: var(--about-navy);

    font-size: 20px;
    font-weight: 600;

    line-height: 1.65;
}


.about-content-column p:not(.about-lead) {
    margin: 20px 0 0;

    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.85;
}


.about-text-link,
.about-dark-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 32px;

    color: var(--about-navy);

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.about-text-link span,
.about-dark-link span {
    color: var(--about-gold);

    font-size: 19px;

    transition:
        transform 0.25s ease;
}


.about-text-link:hover,
.about-dark-link:hover {
    color: var(--about-blue);
    gap: 19px;
}


.about-text-link:hover span,
.about-dark-link:hover span {
    transform: translateX(3px);
}


/* =========================================================
   05. PHILOSOPHY
   ========================================================= */

.about-philosophy {
    padding: 125px 0;

    background: var(--about-light);
}


.about-section-heading.centered {
    max-width: 780px;

    margin: 0 auto 65px;

    text-align: center;
}


.about-section-heading.centered .about-section-label {
    margin-bottom: 15px;
}


.about-section-heading.centered p {
    max-width: 650px;

    margin: 24px auto 0;

    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.8;
}


.about-philosophy-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--about-border);
    border-left: 1px solid var(--about-border);
}


.philosophy-card {
    position: relative;

    min-height: 350px;

    padding: 38px 34px;

    background: var(--about-white);

    border-right: 1px solid var(--about-border);
    border-bottom: 1px solid var(--about-border);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.philosophy-card:hover {
    z-index: 2;

    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(6,31,56,0.10);
}


.philosophy-number {
    position: absolute;

    top: 28px;
    right: 28px;

    color: #cbd7e1;

    font-size: 12px;
    font-weight: 800;
}


.philosophy-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 65px;

    border: 1px solid rgba(210,154,56,0.4);

    color: var(--about-gold);

    font-size: 22px;
}


.philosophy-card h3 {
    margin: 0 0 15px;

    color: var(--about-navy);

    font-size: 20px;
    font-weight: 800;
}


.philosophy-card p {
    margin: 0;

    color: var(--about-muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   06. SERVICES
   ========================================================= */

.about-services {
    padding: 130px 0;
}


.about-section-heading:not(.centered) {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.65fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 65px;
}


.about-section-heading > p {
    margin: 0;

    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.8;
}


.about-services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}


.about-service-card {
    position: relative;

    min-height: 300px;

    display: flex;
    flex-direction: column;

    padding: 35px;

    background: var(--about-light);

    border: 1px solid transparent;

    color: inherit;
    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.about-service-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: var(--about-gold);

    transition:
        height 0.35s ease;
}


.about-service-card:hover {
    transform: translateY(-7px);

    background: var(--about-white);

    border-color: var(--about-border);

    box-shadow:
        0 22px 50px rgba(6,31,56,0.09);
}


.about-service-card:hover::before {
    height: 100%;
}


.service-number {
    margin-bottom: 50px;

    color: var(--about-gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}


.about-service-card h3 {
    margin: 0 0 14px;

    color: var(--about-navy);

    font-size: 21px;
    font-weight: 800;
}


.about-service-card p {
    margin: 0;

    color: var(--about-muted);

    font-size: 14px;
    line-height: 1.75;
}


.service-link {
    margin-top: auto;
    padding-top: 25px;

    color: var(--about-navy);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* =========================================================
   07. CAPABILITIES
   ========================================================= */

.about-capabilities {
    padding: 130px 0;

    background: var(--about-navy);
}


.about-capabilities-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1fr);

    gap: 110px;

    align-items: center;
}


.about-capabilities-content .about-section-label {
    color: var(--about-gold);
}


.about-capabilities-content h2 {
    color: var(--about-white);
}


.about-capabilities-content h2 span {
    color: #8fd0e0;
}


.about-capabilities-content p {
    margin: 25px 0 0;

    color: rgba(255,255,255,0.67);

    font-size: 15px;
    line-height: 1.85;
}


.about-dark-link {
    color: var(--about-white);
}


.about-capabilities-list {
    border-top: 1px solid rgba(255,255,255,0.15);
}


.capability-row {
    min-height: 66px;

    display: flex;
    align-items: center;

    gap: 28px;

    border-bottom: 1px solid rgba(255,255,255,0.15);
}


.capability-row span {
    width: 30px;

    color: var(--about-gold);

    font-size: 11px;
    font-weight: 800;
}


.capability-row strong {
    color: rgba(255,255,255,0.92);

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   08. WHY RP SKY POOL
   ========================================================= */

.about-why {
    padding: 130px 0;
}


.about-why-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;

    border-top: 1px solid var(--about-border);
    border-left: 1px solid var(--about-border);
}


.why-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 42px 38px;

    border-right: 1px solid var(--about-border);
    border-bottom: 1px solid var(--about-border);
}


.why-item > span {
    color: var(--about-gold);

    font-size: 12px;
    font-weight: 800;
}


.why-item h3 {
    margin: 0 0 10px;

    color: var(--about-navy);

    font-size: 19px;
    font-weight: 800;
}


.why-item p {
    margin: 0;

    color: var(--about-muted);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   09. PRESENCE
   ========================================================= */

.about-presence {
    padding: 130px 0;

    background: var(--about-light);
}


.about-presence-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    gap: 100px;

    align-items: center;
}


.about-presence-image {
    overflow: hidden;

    aspect-ratio: 1.25 / 1;
}


.about-presence-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2,.7,.2,1);
}


.about-presence-image:hover img {
    transform: scale(1.04);
}


.about-presence-content {
    max-width: 620px;
}


.about-presence-content p {
    margin: 27px 0 0;

    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.85;
}


.presence-location {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 35px;
}


.presence-location-item {
    display: flex;

    gap: 14px;

    padding: 20px;

    background: var(--about-white);

    border: 1px solid var(--about-border);
}


.presence-dot {
    flex: 0 0 auto;

    width: 9px;
    height: 9px;

    margin-top: 6px;

    border-radius: 50%;

    background: var(--about-gold);
}


.presence-location-item strong {
    display: block;

    color: var(--about-navy);

    font-size: 14px;
    font-weight: 800;
}


.presence-location-item small {
    display: block;

    margin-top: 5px;

    color: var(--about-muted);

    font-size: 12px;
}


/* =========================================================
   10. FINAL CTA
   ========================================================= */

.about-final-cta {
    padding: 90px 0;

    background:
        linear-gradient(
            110deg,
            var(--about-navy),
            var(--about-navy-2)
        );
}


.about-final-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;
}


.about-final-cta .about-section-label {
    margin-bottom: 15px;
}


.about-final-cta h2 {
    color: var(--about-white);
}


.about-final-cta h2 span {
    color: #8fd0e0;
}


.about-final-cta p {
    max-width: 650px;

    margin: 20px 0 0;

    color: rgba(255,255,255,0.68);

    font-size: 15px;
    line-height: 1.75;
}


.about-cta-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 18px 25px;

    background: var(--about-gold);

    color: var(--about-white);

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.about-cta-button span {
    font-size: 18px;

    transition:
        transform 0.25s ease;
}


.about-cta-button:hover {
    background: var(--about-gold-dark);

    transform: translateY(-2px);
}


.about-cta-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   11. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .about-two-column,
    .about-capabilities-grid,
    .about-presence-grid {
        gap: 60px;
    }


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


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


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

}


/* =========================================================
   12. TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 850px) {

    .about-hero {
        min-height: 560px;
    }


    .about-hero-container {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    .about-breadcrumb {
        margin-bottom: 55px;
    }


    .about-two-column,
    .about-capabilities-grid,
    .about-presence-grid {
        grid-template-columns: 1fr;
    }


    .about-image-column {
        max-width: 720px;
    }


    .about-content-column,
    .about-presence-content {
        max-width: none;
    }


    .about-section-heading:not(.centered) {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .about-final-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   13. MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .rp-about-page .rp-container {
        width: min(
            calc(100% - 32px),
            var(--about-container)
        );
    }


    .about-hero {
        min-height: 540px;
    }


    .about-hero-container {
        padding-top: 55px;
        padding-bottom: 55px;
    }


    .about-breadcrumb {
        margin-bottom: 45px;

        font-size: 12px;
    }


    .about-hero h1 {
        font-size: 48px;

        letter-spacing: -1.3px;
    }


    .about-hero-content p {
        margin-top: 24px;

        font-size: 15px;

        line-height: 1.7;
    }


    .about-who-we-are,
    .about-philosophy,
    .about-services,
    .about-capabilities,
    .about-why,
    .about-presence {
        padding: 80px 0;
    }


    .about-image-column {
        padding-right: 0;
    }


    .about-main-image {
        aspect-ratio: 1 / 1;
    }


    .about-image-label {
        right: 15px;
        bottom: 15px;

        min-width: auto;

        padding: 17px 18px;
    }


    .about-image-label strong {
        font-size: 12px;
    }


    .about-content-column h2,
    .about-section-heading h2,
    .about-capabilities-content h2,
    .about-presence-content h2,
    .about-final-cta h2 {
        font-size: 42px;

        letter-spacing: -0.8px;
    }


    .about-content-column .about-lead {
        font-size: 18px;
    }


    .about-philosophy-grid,
    .about-services-grid {
        grid-template-columns: 1fr;
    }


    .about-section-heading.centered {
        margin-bottom: 45px;
    }


    .philosophy-card {
        min-height: auto;

        padding: 30px;
    }


    .philosophy-icon {
        margin-bottom: 45px;
    }


    .about-service-card {
        min-height: 280px;

        padding: 30px;
    }


    .about-capabilities-grid {
        gap: 50px;
    }


    .capability-row {
        min-height: 60px;

        gap: 18px;
    }


    .capability-row strong {
        font-size: 13px;
    }


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


    .why-item {
        padding: 30px 25px;
    }


    .about-presence-grid {
        gap: 45px;
    }


    .presence-location {
        grid-template-columns: 1fr;
    }


    .about-final-cta {
        padding: 70px 0;
    }


    .about-final-cta-inner {
        gap: 35px;
    }


    .about-cta-button {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   14. REDUCED MOTION
   ========================================================= */

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

    .about-main-image img,
    .about-presence-image img,
    .about-service-card,
    .philosophy-card,
    .about-text-link,
    .about-dark-link,
    .about-cta-button {
        transition: none;
    }

}