/*==================================================
    Richard K. Heiser Attorney At Law, LLC
    Version 3.0
==================================================*/
/*==================================================
    PODCASTS
==================================================*/
.video-wrapper{

    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;

    margin:40px 0;

    border-radius:12px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.video-wrapper iframe{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    border:none;

}
/*==================================================
    PODCASTS PAGE
==================================================*/
.page-header.podcasts-header{
    padding:90px 0 10px;
}
.podcast-card{
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    padding-top: 0px;
}
.podcast-card h2{
    max-width: 100%;
    margin: 0 auto;
    font-family:'Cormorant Garamond',serif;

    font-size:32px;

    line-height:1.75;
}
.podcast-card h3{
    max-width: 100%;
    margin: 0 auto;
    font-family:'Cormorant Garamond',serif;

    font-size:40px;

    line-height:1.75;
}
.podcasts-header{
    padding-top:0px;
    padding-bottom:45px;
}

.podcast-page .podcast-hero{
    padding: 10px 0 15px;
}

.podcast-page .podcast-content{
    padding-top: 5px;
}

.podcast-page .podcast-intro{
    margin-bottom: 5px;
}
.podcast-content{
    padding-top:20px;
    padding-bottom:60px;
}

/*
.page-header{
    border-bottom:5px solid red;
}

.podcast-content{
    border-top:5px solid blue;
} */
/*==================================================
    RESET
==================================================*/

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;
    height:auto;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}


/*==================================================
    CSS VARIABLES
==================================================*/

:root{

    --navy:#091526;
    --navy-light:#0B1930;

    --gold:#C8A76B;
    --gold-dark:#B89555;

    --white:#FFFFFF;

    --cream:#F8F7F4;

    --text:#333333;

    --border:#E9E3D7;

    --radius:18px;

    --shadow:0 18px 40px rgba(0,0,0,.12);

    --transition:all .30s ease;

}


/*==================================================
    GLOBAL
==================================================*/

body{

    font-family:'Source Sans 3',sans-serif;

    font-size:18px;

    line-height:1.75;

    color:var(--text);

    background:var(--white);

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

}

main{

    background:url("../images/bg_main.jpg") repeat;

}

.container{

    width:min(92%,1400px);

    margin:0 auto;

}


/*==================================================
    TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4{

    font-family:'Cormorant Garamond',serif;

    color:var(--navy);

    font-weight:600;

    line-height:1.15;

}

h1{

    font-size:4.6rem;

}

h2{

    font-size:3rem;

}

h3{

    font-size:2.2rem;

}

h4{

    font-size:1.4rem;

}

p{

    margin-bottom:24px;

    color:#555;

}


/*==================================================
    SECTION SPACING
==================================================*/

section{

    padding:110px 0;

}

.section-heading{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-heading h2{

    margin-bottom:18px;

}

.section-heading p{

    font-size:1.15rem;

}


/*==================================================
    BUTTONS
==================================================*/

.btn-primary{

    display:inline-block;

    padding:18px 42px;

    background:var(--gold);

    color:var(--navy);

    border:2px solid var(--gold);

    border-radius:10px;

    font-weight:600;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.btn-primary:hover{

    background:var(--gold-dark);

    border-color:var(--gold-dark);

    color:var(--white);

    transform:translateY(-4px);

}

.btn-outline{

    display:inline-block;

    padding:16px 38px;

    border:2px solid var(--gold);

    color:var(--white);

    border-radius:8px;

    transition:var(--transition);

}

.btn-outline:hover{

    background:var(--gold);

    color:var(--navy);

}


/*==================================================
    REUSABLE CARD
==================================================*/

.card{

    background:var(--white);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

}
/*==================================================
    HEADER
==================================================*/

#site-header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    background:linear-gradient(
        to bottom,
        var(--navy-light),
        var(--navy)
    );

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

   /* transition:all .35s ease; */
    transition:box-shadow .35s ease;


}

#site-header .container{

    height:150px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    transition:height .35s ease;

}


/*==================================================
    SHRINK HEADER
==================================================*/

/* #site-header.shrink{

    box-shadow:0 8px 22px rgba(0,0,0,.20);

}

#site-header.shrink .container{

    height:150px;

}

*/
/*==================================================
    LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

}

.logo img{

    display:block;

    max-height:125px;

    width:auto;

    transition:none;

}
/*
#site-header.shrink .logo img{

    max-height:90px;

}
*/

/*==================================================
    DESKTOP NAVIGATION
==================================================*/

/* #main-nav{

    display:flex;

    align-items:center;
    
    height:150px;
} */

#main-nav ul{

    display:flex;

    align-items:center;

    gap:42px;
    
    flex-wrap:nowrap;

}

#main-nav a{

    position:relative;

    color:var(--white);

    font-size:.95rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    transition:var(--transition);

}

#main-nav a:hover{

    color:var(--gold);

}

#main-nav a.active{

    color:var(--gold);

}

#main-nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:width .30s ease;

}

#main-nav a:hover::after,
#main-nav a.active::after{

    width:100%;

}


/*==================================================
    HAMBURGER
==================================================*/

#hamburger{

    display:none;

    width:46px;

    height:46px;

    border:none;

    background:none;

    cursor:pointer;

    padding:0;

}

#hamburger span{

    display:block;

    width:100%;

    height:3px;

    margin:8px 0;

    background:#ffffff;

    border-radius:4px;

    transition:all .35s ease;

}


/*==================================================
    HAMBURGER ANIMATION
==================================================*/

#hamburger.open span:nth-child(1){

    transform:translateY(11px) rotate(45deg);

}

#hamburger.open span:nth-child(2){

    opacity:0;

}

#hamburger.open span:nth-child(3){

    transform:translateY(-11px) rotate(-45deg);

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

/*==================================================
    HERO CAROUSEL
==================================================*/
/*----------------------------------------
    Initial Hero Load Animation
----------------------------------------*/

.hero{

    animation:heroFadeIn .8s ease forwards;

}


@keyframes heroFadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


@keyframes heroTextFade{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero{

    position:relative;
    width:100%;
    height:760px;

    padding:0;          /* ADD THIS */
    margin:0;           /* ADD THIS */

    overflow:hidden;
    background:#091526;
    
    /* margin-top:150px; */

}

.hero-carousel{

    position:relative;

    width:100%;

    height:100%;

}

/*----------------------------------------
    Slides
----------------------------------------*/

.hero-slide{

    position:absolute;

    inset:0;

    opacity:0;

    visibility:hidden;

    transition:opacity 1.2s ease;

}

.hero-slide.active{

    opacity:1;

    visibility:visible;

    z-index:5;

}

/*----------------------------------------
    Images
----------------------------------------*/

.hero-slide picture{

    position:absolute;

    inset:0;

}

.hero-slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center top;

    display:block;

}

/*----------------------------------------
    Overlay
----------------------------------------*/

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(9,21,38,.42);

    z-index:1;

}

/*----------------------------------------
    Content
----------------------------------------*/

.hero .container{

    position:relative;

    height:100%;

    display:flex;

    align-items:center;

    z-index:20;

    padding-top:60px;

}


.hero-content{

    position:relative;

    z-index:25;

    max-width:700px;
    margin-left:75px;

}


.hero-animate{

    position:relative;

    z-index:30;

    max-width:700px;

    opacity:1;

    visibility:visible;

    transform:none;

}
/*==================================================
    SCROLL REVEAL - MEET RICHARD
==================================================*/

.meet-photo.reveal-image{

    opacity:0;

    transition:opacity 1.1s ease;

}


.meet-photo.reveal-image.visible{

    opacity:1;

}
/*==================================================
    SCROLL REVEAL - MEET TEXT
==================================================*/


.meet-content.reveal-text{

    opacity:0;

    transition:
        opacity 1s ease;

}



.meet-content.reveal-text.visible{

    opacity:1;

}
/*==================================================
    MEET RICHARD TEXT DELAY
==================================================*/

.meet-content.reveal-text{

    transition-delay:.35s;

}
/*========================================
   Meet Richard Text Timing
========================================*/

.meet-content.reveal-text.visible h2{

    transition-delay:.15s;

}


.meet-content.reveal-text.visible h3{

    transition-delay:.30s;

}


.meet-content.reveal-text.visible p:nth-of-type(1){

    transition-delay:.45s;

}


.meet-content.reveal-text.visible p:nth-of-type(2){

    transition-delay:.60s;

}


.meet-content.reveal-text.visible p:nth-of-type(3){

    transition-delay:.75s;

}


.meet-content.reveal-text.visible .signature{

    transition-delay:.90s;

}


/*----------------------------------------
    Subtle Content Stagger
----------------------------------------*/


.meet-content.reveal-text h2{

    transition-delay:.15s;

}


.meet-content.reveal-text h3{

    transition-delay:.30s;

}


.meet-content.reveal-text p{

    transition-delay:.45s;

}


.meet-content.reveal-text .signature{

    transition-delay:.60s;

}
/*==================================================
    HERO TEXT DIRECTION ANIMATION
==================================================*/


.hero-animate{

    opacity:1;

}
/* Initial hero slide */

.hero-slide.active:first-child .hero-animate{

    animation:textFromRight .9s ease forwards;

}

.hero-slide.active.slide-right .hero-animate{

    animation:textFromRight .9s ease forwards;

}


.hero-slide.active.slide-left .hero-animate{

    animation:textFromLeft .9s ease forwards;

}



@keyframes textFromRight{

    from{

        opacity:0;

        transform:translateX(25px);

    }


    to{

        opacity:1;

        transform:translateX(0);

    }

}



@keyframes textFromLeft{

    from{

        opacity:0;

        transform:translateX(-25px);

    }


    to{

        opacity:1;

        transform:translateX(0);

    }

}


.hero h1{

    position:relative;

    z-index:30;

    color:#ffffff;

    font-family:'Cormorant Garamond', serif;

    font-size:4.8rem;

    font-weight:600;

    line-height:1.05;

    margin-bottom:25px;

    text-shadow:0 3px 15px rgba(0,0,0,.45);

}


.hero p{

    position:relative;

    z-index:30;

    color:#ffffff;

    font-size:1.35rem;

    line-height:1.7;

    margin-bottom:35px;

    max-width:620px;

    text-shadow:0 2px 10px rgba(0,0,0,.35);

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

.hero .btn{

    display:inline-block;

}

/*----------------------------------------
    Navigation Arrows
----------------------------------------*/

.hero-prev,
.hero-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:56px;
    height:56px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:#ffffff;

    font-size:2rem;

    line-height:56px;

    text-align:center;

    cursor:pointer;

    z-index:100;

    transition:.3s ease;

}

.hero-prev{

    left:30px;

}

.hero-next{

    right:30px;

}

.hero-prev:hover,
.hero-next:hover{

    background:#C8A76B;
    color:#091526;

}

/*----------------------------------------
    Dots
----------------------------------------*/

.hero-dots{

    position:absolute;

    bottom:55px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:14px;

    z-index:50;

}

.dot{

    width:13px;

    height:13px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    cursor:pointer;

    transition:.3s;

}

.dot.active{

    background:#C8A76B;

}

/*----------------------------------------
    Progress Bar
----------------------------------------*/

.hero-progress{

    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:5px;

    background:rgba(255,255,255,.12);

    z-index:100;
}

.hero-progress-bar{

    display:block;

    width:0;
    height:100%;

    background:var(--gold);
}
/*==================================================
    INTRO
==================================================*/

.intro{

    background:transparent;

}

.intro .container{
    display:grid;
    grid-template-columns:1fr !important;
    gap:35px;
}

.intro-text{
    padding-right:0;
}

.intro-photo{
    order:2;
    justify-content:center;
}

.intro-text{
    order:1;
}

.intro h2{

    margin-bottom:18px;

}

.intro h3{

    font-family:'Source Sans 3',sans-serif;

    font-size:1.35rem;

    font-weight:600;

    color:var(--gold);

    margin-bottom:35px;

    letter-spacing:.02em;

}

.intro-text p{

    font-size:1.08rem;

    line-height:1.9;

}

.intro-photo{

    display:flex;

    justify-content:center;

    align-items:center;

}

.intro-photo img{

    width:100%;

    max-width:440px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.intro-photo img:hover{

    transform:translateY(-6px);

}


/*==================================================
    SECTION HEADINGS
==================================================*/

.section-heading{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-heading h2{

    margin-bottom:18px;

}

.section-heading p{

    max-width:700px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:#666;

}


/*==================================================
    THREE GUIDING PRINCIPLES
==================================================*/

.principles{

    background:var(--cream);

}

.principles-grid{

    display:grid;

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

    gap:38px;

}

.principle-card{

    background:var(--white);

    padding:50px 35px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    text-align:center;

    transition:var(--transition);

}

.principle-card:hover{

    transform:translateY(-8px);

}

.principle-icon{

    width:90px;

    height:90px;

    margin:0 auto 28px;

    border-radius:50%;

    background:var(--gold);

    color:var(--white);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2.4rem;

    box-shadow:0 10px 24px rgba(200,167,107,.35);

}

.principle-card h3{

    font-size:2rem;

    margin-bottom:20px;

}

.principle-card p{

    margin-bottom:0;

    color:#555;

    line-height:1.8;

}
/*==================================================
    PRACTICE AREAS
==================================================*/

.practice-areas{

    background:var(--white);

}

/* Desktop & Tablet */
.practice-grid article {
    scroll-margin-top: 95px;
}

/* iPhone */
@media screen and (max-width:767px) {
    .practice-grid article {
        scroll-margin-top: 120px;
    }
}

.practice-card{

    background:#FCFBF8;

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

    border-radius:var(--radius);

    padding:42px 36px;

    text-align:center;

    transition:var(--transition);

}

.practice-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

    box-shadow:var(--shadow);

}

.practice-icon{

    width:82px;

    height:82px;

    margin:0 auto 28px;

    border-radius:50%;

    background:rgba(200,167,107,.14);

    color:var(--gold);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:2rem;

}

.practice-card h3{

    font-size:2rem;

    margin-bottom:18px;

}

.practice-card p{

    margin-bottom:0;

    line-height:1.8;

}

.practice-button{

    text-align:center;

    margin-top:70px;

}


/*==================================================
    REVIEWS
==================================================*/

.reviews{

    background:var(--cream);

}

.reviews-grid{

    display:grid;

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

    gap:25px;

    margin-top:60px;

}

.review-card{
    background:var(--white);
    padding:22px 20px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    text-align:center;
    transition:var(--transition);
    height:100%;
    display:flex;
    flex-direction:column;
}

.review-card:hover{

    transform:translateY(-8px);

}

.stars{
    color:#F5B301;
    font-size:1.2rem;
    letter-spacing:3px;
    margin-bottom:10px;
}
.review-text{
    flex:1;
    font-size:.95rem;
    line-height:1.5;
    color:#555;
    font-style:italic;
    margin-bottom:14px;
}

.review-card h4{
    font-family:'Source Sans 3',sans-serif;
    font-size:1rem;
    font-weight:700;
    color:var(--gold);
    margin-top:8px;
    margin-bottom:0;
}

.reviews-footer{

    text-align:center;

    margin-top:70px;

}

.reviews-footer p{

    max-width:700px;

    margin:0 auto 30px;

    color:#666;

}
/*==================================================
    MEET YOUR ATTORNEY
==================================================*/

.meet-attorney{

    background:var(--white);

}

.meet-grid{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:80px;

    align-items:center;

}

.meet-photo{

    display:flex;

    justify-content:center;

    align-items:center;

}

.meet-photo img{

    width:240px;

    height:auto;

    border-radius:18px;

    box-shadow:0 18px 40px rgba(0,0,0,.18);

    transition:var(--transition);

}

.meet-photo img:hover{

    transform:translateY(-6px);

}

.meet-text h3{

    margin-bottom:8px;

}

.meet-text h4{

    font-family:'Source Sans 3',sans-serif;

    font-size:1.35rem;

    font-weight:600;

    color:var(--gold);

    margin-bottom:32px;

}

.meet-text p{

    font-size:1.08rem;

    line-height:1.9;

    margin-bottom:22px;

}

.signature{

    margin-top:35px;

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    color:var(--gold);

}


/*==================================================
    CALL TO ACTION
==================================================*/

.cta{

    background:var(--cream);

}

.cta-box{

    max-width:1100px;

    margin:0 auto;

    background:linear-gradient(
        135deg,
        #ffffff,
        #f7f4ee
    );

    border:1px solid rgba(200,167,107,.30);

    border-radius:22px;

    padding:75px 70px;

    text-align:center;

    box-shadow:var(--shadow);

}

.cta-box h2{

    margin-bottom:20px;

}

.cta-box p{

    max-width:760px;

    margin:0 auto 40px;

    font-size:1.12rem;

    line-height:1.85;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}

.cta-buttons .btn-primary,
.cta-buttons .btn-outline{

    min-width:220px;

}
/*==================================================
    FOOTER
==================================================*/

#site-footer{

    background:linear-gradient(
        to bottom,
        var(--navy-light),
        var(--navy)
    );

    color:#D8D8D8;

    border-top:3px solid var(--gold);

}


/*--------------------------------------------------
    Footer Grid
--------------------------------------------------*/

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1.2fr;

    gap:70px;

    padding:80px 0;

}


/*--------------------------------------------------
    Logo
--------------------------------------------------*/

.footer-logo{

    width:100%;

    max-width:270px;

    margin-bottom:30px;

}

.footer-column:first-child p{

    max-width:430px;

}


/*--------------------------------------------------
    Headings
--------------------------------------------------*/

.footer-column h4{

    font-size:1.75rem;

    color:var(--gold);

    margin-bottom:26px;

}


/*--------------------------------------------------
    Text
--------------------------------------------------*/

.footer-column p{

    color:#D7D7D7;

    line-height:1.9;

    margin-bottom:16px;

}

.footer-column ul{

    margin:0;

    padding:0;

}

.footer-column li{

    margin-bottom:15px;

}


/*--------------------------------------------------
    Links
--------------------------------------------------*/

.footer-column a{

    color:#D7D7D7;

    transition:var(--transition);

}

.footer-column a:hover{

    color:var(--gold);

    padding-left:6px;

}


/*--------------------------------------------------
    Contact Information
--------------------------------------------------*/

.footer-contact p{

    display:flex;

    align-items:flex-start;

    gap:10px;

    margin-bottom:18px;

}

.footer-contact i{

    color:var(--gold);

    width:18px;

    margin-top:5px;

}


/*--------------------------------------------------
    Bottom Bar
--------------------------------------------------*/

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.12);

    padding:28px 0;

    text-align:center;

    font-size:.95rem;

    color:#BFC7D1;

}

.footer-bottom a{

    color:var(--gold);

}

.footer-bottom a:hover{

    color:#ffffff;

}

/*==================================================
    RESPONSIVE DESIGN
==================================================*/
/*==========================================================
    INTRO TITLES
==========================================================*/

.intro-title-desktop{
    display:block;
}

.intro-title-mobile{
    display:none;
}

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

@media screen and (max-width:1024px){

    section{
        padding:90px 0;
    }

    .container{
        width:92%;
    }

    /*--------------------------
        Header
    --------------------------*/

    #site-header .container{
        height:95px;
        
    }

    .logo img{
        max-height:68px;
    }
    
    /*
    #site-header.shrink .logo img{
    max-height:58px;
}
    #site-header.shrink .container{
    height:75px;
}
*/
    nav ul{
        gap:28px;
    }

    /*--------------------------
        Hero
    --------------------------*/

    .hero{
        height:650px;
    }

    .hero-content{
        width:65%;
    }

    .hero-content h1{
        font-size:3.4rem;
    }

    .hero-content p{
        font-size:1.15rem;
    }

    /*--------------------------
        Introduction
    --------------------------*/

    .intro-grid{
        gap:45px;
    }

    /*--------------------------
        Practice Areas
    --------------------------*/

    .practice-grid{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }

    /*--------------------------
        Reviews
    --------------------------*/

    .reviews-grid{
        grid-template-columns:1fr;
    }

    /*--------------------------
        Meet Richard
    --------------------------*/

    .meet-grid{
        gap:50px;
    }

    .meet-photo img{
        max-width:100%;
    }

    /*--------------------------
        Footer
    --------------------------*/

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
        gap:45px;
    }

}



/*==================================================
    PHONE
==================================================*/

@media screen and (max-width:767px){

    section{
        padding:80px 0;
    }

    .container{
        width:92%;
    }

    /*--------------------------
        Header
    --------------------------*/

    #site-header .container{
        height:90px;
    }
/*
    #site-header.shrink .container{
        height:80px;
    }

    .logo img{
        max-height:55px;
    }
    
    #site-header.shrink .logo img{
    max-height:45px;
}
*/
    /*--------------------------
        Navigation
    --------------------------*/

    /*.nav-toggle{
        display:block;
    } */
    #hamburger{
    display:block;
}
   /* nav{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:var(--navy);
        max-height:0;
        overflow:hidden;
        transition:max-height .35s ease;
    } */
    nav{
    position:fixed;
    top:90px;
    left:0;
    width:100%;
    background:var(--navy);
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    z-index:999;
}
    /* nav.active{
        max-height:500px;
    } */
    nav.active{
    max-height:calc(100vh - 90px);
    overflow-y:auto;
}
    nav ul{
        flex-direction:column;
        padding:20px 0;
        gap:0;
    }

    nav li{
        width:100%;
    }

    nav a{
        display:block;
        padding:16px 30px;
        border-bottom:1px solid rgba(255,255,255,.08);
    }

    /*--------------------------
        Hero
    --------------------------*/

    .hero{
        height:540px;
    }

    .hero-slide{
        justify-content:center;
        text-align:center;
    }

    .hero-content{
        width:90%;
    }

    .hero-content h1{
        font-size:2.7rem;
    }

    .hero-content p{
        font-size:1.05rem;
    }

    .hero-buttons{
        justify-content:center;
    }

    /*--------------------------
        General Grids
    --------------------------*/

    .intro-grid,
    .meet-grid,
    .practice-grid,
    .principles-grid,
    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    /*--------------------------
        Meet Richard
    --------------------------*/

    .meet-text{
        order:2;
    }

    .meet-photo{
        order:1;
        text-align:center;
    }

    .meet-photo img{
        max-width:360px;
        width:100%;
    }

    /*--------------------------
        CTA
    --------------------------*/

    .cta h2{
        font-size:2.2rem;
    }

    /*--------------------------
        Footer
    --------------------------*/

    .footer-grid{
        text-align:center;
    }

    .footer-contact p,
    .footer-contact a{
        justify-content:center;
    }

/*--------------------------
    Hero Dots
--------------------------*/

.hero-dots{
    bottom:15px;
}

}
/*==================================================
    INTERIOR PAGE SYSTEM
==================================================*/
/*==================================================
    PAGE HEADER
==================================================*/

.page-header{

    background:#ffffff;
    padding:90px 0 80px;
    border-bottom:1px solid var(--gold);

}

.page-header .container{

    max-width:1200px;
    margin:0 auto;

}

.page-header h1{

    font-family:'Cormorant Garamond',serif;
    font-size:4rem;
    font-weight:500;
    color:var(--navy);
    margin:0 0 18px;
    line-height:1.1;

}

.page-header h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: var(--gold);
    margin: 18px auto 0;
}

.page-header p{

    max-width:760px;
    font-size:1.2rem;
    line-height:1.8;
    color:#555;
    margin:0;

}

/* Tablet */

@media screen and (max-width:1024px){

    .page-header{

        padding:75px 0 65px;

    }

    .page-header h1{

        font-size:3.4rem;

    }

}

/* Phone */

@media screen and (max-width:767px){

    .page-header{

        padding:55px 0 45px;
        text-align:center;

    }

    .page-header h1{

        font-size:2.8rem;

    }

    .page-header p{

        font-size:1.05rem;

    }

}

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

.page-hero{

    background:#ffffff;

    padding:90px 0 80px;

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

}


.page-hero .container{

    max-width:1200px;

    margin:auto;

}


.page-hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:4rem;

    font-weight:500;

    color:var(--navy);

    margin:0 0 15px;

}


.page-hero .breadcrumb{

    font-size:.95rem;

    letter-spacing:.5px;

    color:#666;

}


.page-hero .breadcrumb a{

    color:var(--gold);

    text-decoration:none;

}


.page-hero .breadcrumb a:hover{

    text-decoration:underline;

}



/*==================================================
    LEGAL CONTENT AREA
==================================================*/


.legal-content{

    background:#ffffff;

    padding:80px 0 90px;

}


.legal-content .container{

    max-width:900px;

    margin:auto;

}


.legal-content > .container > h2:first-child{

    font-family:'Cormorant Garamond',serif;

    font-size:2.8rem;

    font-weight:500;

    color:var(--navy);

    margin-bottom:25px;

}



.legal-content p{

    font-size:1.05rem;

    line-height:1.9;

    color:var(--text);

    margin-bottom:25px;

}



/*==================================================
    LEGAL CARDS
==================================================*/


.legal-card{

    background:#faf9f6;

    border-left:5px solid var(--gold);

    padding:35px 40px;

    margin:40px 0;

    border-radius:8px;

    box-shadow:

        0 10px 30px rgba(0,0,0,.06);

}


.legal-card h2{

    font-family:'Cormorant Garamond',serif;

    font-size:2.35rem;

    font-weight:500;

    color:var(--navy);

    margin:0 0 20px;

    padding-bottom:15px;

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

}



.legal-card p{

    margin-bottom:20px;

}



.legal-card p:last-child{

    margin-bottom:0;

}



/*==================================================
    LEGAL LISTS
==================================================*/


.legal-card ul{

    margin:20px 0;

    padding-left:25px;

}


.legal-card li{

    margin-bottom:12px;

    line-height:1.7;

}



/*==================================================
    INTERIOR CALL TO ACTION
==================================================*/

.legal-cta{

    background:#ffffff;

    color:var(--text);

    padding:70px 20px 85px;

    text-align:center;

    border-top:1px solid var(--gold);

}

.legal-cta .container{

    max-width:850px;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    align-items:center;

}

.legal-cta h2{

    font-family:'Cormorant Garamond',serif;

    font-size:3.2rem;

    font-weight:500;

    color:var(--navy);

    margin:0 0 25px;

    text-align:center;

}


.legal-cta p{

    max-width:650px;

    margin:0 auto 40px;

    font-size:1.1rem;

    line-height:1.8;

    color:var(--text);

    text-align:center;

}
.legal-cta .btn-primary{

    display:inline-block;

    margin:0 auto;

}
/*==================================================
    INTERIOR TABLET
==================================================*/


@media screen and (max-width:1024px){


    .page-hero{

        padding:75px 30px 65px;

    }


    .page-hero h1{

        font-size:3.5rem;

    }


    .legal-content{

        padding:70px 30px;

    }


    .legal-card{

        padding:35px;

    }


}



/*==================================================
    INTERIOR PHONE
==================================================*/


@media screen and (max-width:767px){


    .page-hero{

        padding:55px 20px 45px;

        text-align:center;

    }


    .page-hero h1{

        font-size:3rem;

    }


    .legal-content{

        padding:50px 20px 60px;

    }


    .legal-content .container{

        width:100%;

    }


    .legal-content p{

        font-size:1rem;

        line-height:1.8;

    }


    .legal-card{

        padding:25px;

        margin:35px 0;

    }


    .legal-card h2{

        font-size:2rem;

    }


    .legal-cta{

        padding:55px 20px;

    }


    .legal-cta h2{

        font-size:2.3rem;
        

    }


}
/*==================================================
    FINAL INTERIOR PAGE POLISH
==================================================*/


/*==================================================
    LEGAL CARD DESKTOP ENHANCEMENT
==================================================*/

@media screen and (min-width:1025px){


    .legal-card{

        transition:
            transform .35s ease,
            box-shadow .35s ease;

    }


    .legal-card:hover{

        transform:translateY(-4px);

        box-shadow:

            0 18px 38px rgba(0,0,0,.08);

    }


}



/*==================================================
    INTERIOR PAGE TITLE REFINEMENT
==================================================*/


.page-hero h1{

    letter-spacing:.02em;

}


.page-hero::after{

    content:"";

    display:block;

    width:120px;

    height:2px;

    background:var(--gold);

    margin-top:25px;

}



/*==================================================
    LEGAL INTRO TEXT
==================================================*/


.legal-intro{

    font-size:1.15rem;

    line-height:1.9;

    color:#444;

    margin-bottom:45px;

}



/*==================================================
    MEET RICHARD SCROLL REVEAL
==================================================*/


.reveal-image{

    opacity:0;

    transform:translateY(25px);

    transition:

        opacity 1s ease,

        transform 1s ease;

}


.reveal-image.visible{

    opacity:1;

    transform:translateY(0);

}



.reveal-text{

    opacity:0;

    transform:translateY(25px);

    transition:

        opacity 1s ease,

        transform 1s ease;

}


.reveal-text.visible{

    opacity:1;

    transform:translateY(0);

}



/*==================================================
    INTERIOR BUTTON REFINEMENT
==================================================*/


.legal-cta .btn-primary{

    background:var(--gold);

    color:var(--navy);

    border:2px solid var(--gold);

}


.legal-cta .btn-primary:hover{

    background:var(--navy);

    color:var(--white);

    border-color:var(--navy);

}



/*==================================================
    FINAL PHONE REFINEMENTS
==================================================*/


@media screen and (max-width:767px){
    
/*----------------------------------------------------------
    Mobile Intro Title
----------------------------------------------------------*/

.intro-title-desktop{
    display:none;
}

.intro-title-mobile{
    display:block;
    font-size:2rem;
    line-height:1.2;
    margin-bottom:16px;
}

    .page-hero::after{

        margin-left:auto;

        margin-right:auto;

    }


    .legal-card{

        border-left-width:4px;

    }


    .legal-card h2{

        line-height:1.2;

    }


    .legal-intro{

        font-size:1rem;

    }


}
/*----------------------------------------
    Hero Layout
----------------------------------------*/

.hero .container{
    padding-top:60px;
}

.hero-content{

    margin:0 auto;

    text-align:left;

}

/*----------------------------------------
    Hero Dots
----------------------------------------*/

.hero-dots{
    bottom:25px;
}
/*==================================================
   CTA FINAL OVERRIDE
==================================================*/

.legal-cta .container{

    display:block !important;

    max-width:850px;

    margin:0 auto;

    text-align:center;

}


.legal-cta h2{

    width:100%;

    text-align:center !important;

}


.legal-cta p{

    width:100%;

    max-width:650px;

    margin-left:auto !important;

    margin-right:auto !important;

    text-align:center !important;

}


.legal-cta .btn-primary{

    display:inline-block;

    margin-left:auto;

    margin-right:auto;

}
/*==================================================
    CREDENTIALS
==================================================*/

.credentials {
    padding: 100px 0;
    background: #f8f6f2;
}

.credentials .container {
    max-width: 1200px;
    margin: 0 auto;
}

.credentials h2 {
    text-align: center;
    margin-bottom: 20px;
}

.credentials .section-intro {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.credential-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    text-align: left;
}

.credential-card h3 {
    text-align: left;
    margin-bottom: 20px;
}

.credential-card ul {
    margin: 0;
    padding-left: 20px;
}

.credential-card li {
    margin-bottom: 12px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }
}
/*==================================================
    CONTACT PAGE
==================================================*/

.contact-page{

    padding:80px 0;

}

.contact-grid{

    display:grid;
    grid-template-columns:380px 1fr;
    gap:70px;
    align-items:start;

}
.contact-info hr{

    border:none;
    border-top:2px solid var(--gold);
    opacity:.75;
    margin:35px 0;

}

.contact-info h2{

    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    color:var(--navy);
    margin-bottom:8px;

}

.contact-info h3{

    font-size:1.5rem;
    font-weight:500;
    color:#b99247;

}

.contact-info p{

    margin-bottom:24px;
    line-height:1.8;

}

.contact-info a{

    color:var(--navy);
    text-decoration:none;

}

.contact-info a:hover{

    color:var(--gold);

}

.practice-list{

    list-style:none;
    padding:0;
    margin:0;

}

.practice-list li{

    padding:8px 0;
    border-bottom:1px solid #ececec;

}

/*=========================================
    FORM
=========================================*/

.contact-form{

    background:#fff;
    padding:40px;
    border-radius:10px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.contact-form h2{

    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    color:var(--navy);
    margin-bottom:15px;

}

.contact-form p{

    margin-bottom:30px;

}

.contact-form label{

    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:var(--navy);

}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:14px 16px;
    margin-bottom:22px;

    border:1px solid #d9d9d9;
    border-radius:8px;

    font-size:16px;

    transition:.25s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(194,154,77,.15);

}

.contact-form textarea{

    resize:vertical;

}

.contact-form .btn{

    width:100%;
    margin-top:10px;

}

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

@media (max-width:900px){

    .contact-grid{

        grid-template-columns:1fr;
        gap:50px;

    }

}
/* new addition for contact.php-->
/*==================================================
    CALL TO ACTION
==================================================*/

.cta-section{

    background:var(--navy);

    color:#fff;

    text-align:center;

    padding:80px 20px;

    margin-top:80px;

}

.cta-section h2{

    font-family:'Cormorant Garamond',serif;

    font-size:52px;

    color:#fff;

    margin-bottom:20px;

}

.cta-section h2::after{

    content:"";

    display:block;

    width:90px;

    height:3px;

    background:var(--gold);

    margin:18px auto 0;

}

.cta-section p{

    max-width:700px;

    margin:0 auto 40px;

    color:#ddd;

    line-height:1.8;

    font-size:18px;

}

.cta-section .btn{

    display:inline-block;

}

.contact-photo{

    text-align:center;

    margin:35px 0 50px;

}

.contact-photo img{

    width:180px;
    height:auto;

    display:block;

    margin:0 auto;

    border-radius:50%;

    border:3px solid var(--gold);

    box-shadow:0 10px 28px rgba(0,0,0,.18);

    transition:var(--transition);

}

.contact-photo img:hover{

    transform:translateY(-4px);

}

/*========Phone botton contact page=======*/
.cta-phone{
    display:inline-block;
    margin-top:30px;
    font-size:1.5rem;
    font-weight:600;
    color:var(--navy);
    text-decoration:none;
    transition:.3s;
}

.cta-phone:hover{
    color:var(--gold);
}