/*
 * Radiant Perspectives
 * Homepage
 */


 /* =========================================================
   PAGE SHELL
   ========================================================= */

body.home .entry-header,
body.page-id-body.page-id-1588 .entry-header {
    display: none;
}

body.home .site-content,
body.page-id-page-id-1588 .site-content {
    padding: 0;
}

body.home .inside-article,
body.page-id-page-id-1588 .inside-article {
    padding: 0;
    background: transparent;
}

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

.rp-home-hero {
    padding: 68px 0 56px;
}

.rp-home-hero__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: var(--rp-column-gap);

    align-items: center;
}


.rp-home-hero__title {
    max-width: 650px;

    margin: 0 0 22px;

    font-size: var(--rp-h1);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -0.04em;
}


.rp-home-hero__lede {
    max-width: 610px;

    margin: 0;

    font-size: var(--rp-text-lg);
    line-height: 1.6;
}


.rp-home-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}


.rp-home-hero__image {
    display: block;

    width: 100%;
    max-width: 680px;
    height: auto;

    margin-inline: auto;

    opacity: .9;
}



/* =========================================================
   ENGINEERING / IP LITIGATION PATHS
   ========================================================= */

.rp-home-paths {
    padding: 0 0 var(--rp-section-space);
}

.rp-home-paths__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);

    gap: 18px;
}


.rp-path-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 290px;

    padding: 32px;

    background: var(--rp-white);

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


.rp-path-card--engineering {
    border-top: 3px solid var(--rp-teal);
}


.rp-path-card--litigation {
    border-top: 3px solid var(--rp-rust);
}


.rp-path-card h2 {
    margin: 0 0 18px;

    font-size: 28px;
    font-weight: 600;
    line-height: 1.16;
}


.rp-path-card p {
    margin: 0 0 28px;

    color: var(--rp-muted);

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


.rp-path-card .rp-text-link {
    margin-top: auto;
}



/* =========================================================
   TECHNICAL DEPTH
   ========================================================= */

.rp-home-depth {
    padding: var(--rp-section-space) 0;

    background: var(--rp-dark);
    color: var(--rp-dark-text);
}


.rp-home-depth__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.7fr)
        minmax(0, 1.3fr);

    gap: 80px;
}


.rp-home-depth__intro h2 {
    margin: 0 0 18px;

    color: var(--rp-dark-text);

    font-size: 38px;
    font-weight: 600;
    line-height: 1.08;
}


.rp-home-depth__intro p {
    margin: 0;

    color: var(--rp-dark-muted);

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


.rp-home-depth__areas {
    border-top: 1px solid var(--rp-dark-border);
}


.rp-depth-row {
    display: grid;

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

    gap: 28px;

    padding: 18px 0;

    border-bottom: 1px solid var(--rp-dark-border);
}


.rp-depth-row h3 {
    margin: 0;

    color: var(--rp-dark-text);

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}


.rp-depth-row p {
    margin: 0;

    color: var(--rp-dark-muted);

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


/* =========================================================
   WHY THE BREADTH MATTERS
   ========================================================= */

.rp-home-breadth {
    padding: var(--rp-section-space) 0;
}

.rp-home-breadth h2 {
    max-width: 500px;

    margin: 0;

    font-family: var(--rp-font-serif);
    font-size: var(--rp-h2);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.025em;
}


.rp-home-breadth__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.78fr)
        minmax(0, 1.22fr);

    gap: 80px;
}





.rp-home-breadth__copy p {
    margin: 0 0 18px;

    color: var(--rp-muted);

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



/* =========================================================
   ABOUT
   ========================================================= */

.rp-home-about {
    padding: 80px 0;

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


.rp-home-about__layout {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.65fr)
        minmax(0, 1.35fr);

    gap: 64px;

    align-items: center;
}


.rp-home-about__media {
    min-height: 320px;
}


.rp-home-about__content h2 {
    margin: 0 0 22px;

    color: var(--rp-ink);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.08;
}


.rp-home-about__content p {
    max-width: 700px;

    margin: 0 0 18px;

    color: var(--rp-muted);

    font-size: 17px;
    line-height: 1.72;
}


.rp-home-about__content .rp-link-group {
    margin-top: 26px;
}



/* =========================================================
CONTACT
========================================================= */

.rp-home-contact {
    padding: 72px 0 80px;

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

.rp-home-contact__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: clamp(64px, 8vw, 110px);

    align-items: start;
}


/* CONTACT INTRO */

.rp-home-contact__intro {
    max-width: 600px;
}

.rp-home-contact__intro h2 {
    max-width: 600px;

    margin: 0 0 18px;

    color: var(--rp-ink);

    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.rp-home-contact__intro > p:last-child {
    max-width: 500px;

    margin: 0;

    color: var(--rp-muted);

    font-size: 17px;
    line-height: 1.65;
}


/* CONTACT PATHS */

.rp-home-contact__paths {
    border-top: 1px solid var(--rp-border);
}

.rp-home-contact__path {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    padding: 24px 0;

    color: var(--rp-ink);

    border-bottom: 1px solid var(--rp-border);

    text-decoration: none;
}

.rp-home-contact__path > span:first-child {
    display: flex;
    flex-direction: column;

    gap: 5px;

    min-width: 0;
}

.rp-home-contact__path strong {
    color: var(--rp-ink);

    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.rp-home-contact__path small {
    max-width: 470px;

    color: var(--rp-muted);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.rp-home-contact__path > span:last-child {
    flex: 0 0 auto;

    color: var(--rp-ink);

    font-size: 20px;
    line-height: 1;
}

.rp-home-contact__path:hover,
.rp-home-contact__path:focus {
    color: var(--rp-teal);
}

.rp-home-contact__path:hover strong,
.rp-home-contact__path:focus strong,
.rp-home-contact__path:hover > span:last-child,
.rp-home-contact__path:focus > span:last-child {
    color: var(--rp-teal);
}


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

@media (max-width: 900px) {

    .rp-home-hero__layout,
    .rp-home-paths__grid,
    .rp-home-depth__layout,
    .rp-home-breadth__layout,
    .rp-home-about__layout,
    .rp-home-contact__layout {
        grid-template-columns: 1fr;
    }


    /* HERO */

    .rp-home-hero__layout {
        gap: 40px;
    }

    .rp-home-hero__content {
        max-width: 680px;
    }

    .rp-home-hero__visual {
        max-width: 680px;
    }


    /* PATH CARDS */

    .rp-home-paths__grid {
        gap: 18px;
    }

    .rp-path-card {
        min-height: 0;
    }


    /* TECHNICAL DEPTH */

    .rp-home-depth__layout {
        gap: 42px;
    }


    /* BREADTH */

    .rp-home-breadth__layout {
        gap: 32px;
    }

    .rp-home-breadth h2 {
        max-width: 620px;
    }


    /* ABOUT */

    .rp-home-about__layout {
        gap: 42px;
    }

    .rp-home-about__image {
        max-width: 380px;
    }


/* CONTACT */

.rp-home-contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
}

.rp-home-contact__intro {
    max-width: 650px;
}

.rp-home-contact__paths {
    max-width: 720px;
}
}


@media (max-width: 600px) {

    /* GENERAL */

    .rp-inner {
        width: calc(100% - 40px);
    }


    /* HERO */

    .rp-home-hero {
        padding: 48px 0 44px;
    }

    .rp-home-hero__title {
        font-size: clamp(42px, 12vw, 54px);
        line-height: .98;
    }

    .rp-home-hero__lede {
        font-size: 17px;
    }

    .rp-home-hero__layout {
        gap: 30px;
    }

    .rp-home-hero__image {
        max-width: 100%;
    }


    /* PATHS */

    .rp-home-paths {
        padding-bottom: 60px;
    }

    .rp-path-card {
        padding: 26px;
    }

    .rp-path-card h2 {
        font-size: 26px;
    }


    /* TECHNICAL DEPTH */

    .rp-home-depth {
        padding: 56px 0;
    }

    .rp-home-depth__intro h2 {
        font-size: 34px;
    }

    .rp-depth-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px 0;
    }


    /* BREADTH */

    .rp-home-breadth {
        padding: 60px 0;
    }

    .rp-home-breadth h2 {
        font-size: 34px;
    }

    .rp-home-breadth__copy p {
        font-size: 17px;
    }


    /* ABOUT */

    .rp-home-about {
        padding: 60px 0;
    }

    .rp-home-about__image {
        width: min(100%, 360px);
    }

    .rp-home-about__content h2 {
        font-size: 34px;
    }


/* CONTACT */

.rp-home-contact {
    padding: 52px 0 60px;
}

.rp-home-contact__layout {
    gap: 32px;
}

.rp-home-contact__intro h2 {
    font-size: 34px;
}

.rp-home-contact__intro > p:last-child {
    font-size: 16px;
}

.rp-home-contact__path {
    gap: 20px;

    padding: 20px 0;
}

.rp-home-contact__path strong {
    font-size: 16px;
}

.rp-home-contact__path small {
    font-size: 13px;
}

.rp-home-contact__path > span:last-child {
    font-size: 18px;
}
}