/* =========================================================
   EKKERD PRIVATE WEALTH
   Luxury Private Wealth Website
   ========================================================= */

/* ---------- VARIABLES ---------- */

:root{

    --gold:#B89B5E;
    --gold-light:#D5BE89;
    --charcoal:#222222;
    --dark:#141414;
    --light:#F8F8F6;
    --white:#ffffff;
    --grey:#6F6F6F;
    --border:#E7E7E7;

    --max-width:1400px;

    --shadow:0 20px 60px rgba(0,0,0,.08);

    --transition:.35s ease;

}

/* ---------- RESET ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    color:var(--charcoal);

    background:var(--white);

    line-height:1.8;

    overflow-x:hidden;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(92%,var(--max-width));

    margin:auto;

}

/* ---------- TYPOGRAPHY ---------- */

h1,h2,h3,h4{

    font-family:'Playfair Display',serif;

    font-weight:500;

    line-height:1.15;

}

h1{

    font-size:74px;

    color:white;

    margin-bottom:30px;

}

h2{

    font-size:52px;

    margin-bottom:30px;

}

h3{

    font-size:30px;

    margin-bottom:18px;

}

p{

    color:var(--grey);

    font-size:17px;

}

.section-header{

    text-align:center;

    width:min(900px,90%);

    margin:auto auto 90px;

}

.section-subtitle{

    color:var(--gold);

    letter-spacing:4px;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

}

.gold-divider{

    width:90px;

    height:3px;

    background:var(--gold);

    margin:30px auto;

}

/* ---------- BUTTONS ---------- */

.gold-button{

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

    padding:18px 42px;

    background:var(--gold);
    color:#fff;

    border:none;
    outline:none;
    box-shadow:none;

    border-radius:50px;

    cursor:pointer;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    transition:var(--transition);

    font-weight:600;

}

.gold-button:hover{

    background:#a78a4d;
    transform:translateY(-3px);

}

.gold-button:focus,
.gold-button:focus-visible,
.gold-button:active{

    outline:none;
    border:none;
    box-shadow:none;

}

.contact-form button{

    border:none !important;
    outline:none !important;
    box-shadow:none !important;
    appearance:none;
    -webkit-appearance:none;

}

.outline-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 42px;

    border:1px solid rgba(255,255,255,.55);

    color:white;

    border-radius:50px;

    transition:var(--transition);

}

.outline-button:hover{

    background:white;

    color:var(--charcoal);

}

/* ---------- HEADER ---------- */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:180px;

    z-index:999;

    transition:var(--transition);

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

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(255,255,255,.2);

}

header.scrolled{

    height:120px;

    box-shadow:var(--shadow);

}

.nav-container{

    height:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

}

.logo{

    display:flex;

    align-items:center;

    flex-shrink:0;

}

.logo img{
    height:100px;
    width:auto;
    object-fit: contain;
}

header.scrolled .logo img{
    height:90px;
}

nav ul{

    display:flex;

    gap:36px;

}

nav a{

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    transition:var(--transition);

}

nav a:hover{

    color:var(--gold);

}

.nav-button{

    padding:14px 30px;

    background:var(--gold);

    color:white;

    border-radius:40px;

    font-size:13px;

}

/* ---------- HERO ---------- */

.hero{

    position:relative;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

}

.hero-video{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.55));

}

.hero-content{

    position:relative;

    z-index:2;

    width:min(900px,90%);

}

.hero p{

    color:rgba(255,255,255,.85);

    margin:0 auto 40px;

    max-width:700px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* ---------- SCROLL INDICATOR ---------- */

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    width:2px;

    height:70px;

    display:block;

    background:white;

    animation:scroll 2s infinite;

}

@keyframes scroll{

0%{

opacity:0;

transform:translateY(-15px);

}

50%{

opacity:1;

}

100%{

opacity:0;

transform:translateY(15px);

}

}

/* ---------- SECTION SPACING ---------- */

section{

    padding:120px 0;

}
/* =========================================================
   EXPERTISE SECTION
========================================================= */

.expertise-section{
    background:var(--white);
}

.expertise-grid{

    width:min(1400px,92%);
    margin:auto;

    display:grid;

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

    gap:40px;

}

.expertise-card{

    background:#fff;

    padding:50px 40px;

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

    transition:all .35s ease;

    text-align:left;

    position:relative;

    overflow:hidden;

}

.expertise-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:5px;
    height:0;

    background:var(--gold);

    transition:.4s;

}

.expertise-card:hover{

    transform:translateY(-12px);

    box-shadow:var(--shadow);

}

.expertise-card:hover::before{

    height:100%;

}

.expertise-card i{

    font-size:42px;

    color:var(--gold);

    margin-bottom:28px;

}

.expertise-card h3{

    margin-bottom:18px;

}

.expertise-card p{

    margin-bottom:0;

}

/* =========================================================
   STATISTICS
========================================================= */

.statistics {
    background: var(--charcoal);
    color: #ffffff;
    padding: 90px 0;
}

.statistics .container {
    width: min(1450px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 45px;

    text-align: center;
}

.stat {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
}

/* Same main heading size and height for every item */

.stat .stat-heading {
    width: 100%;
    height: 100px;
    min-height: 100px;
    margin: 0 0 16px;

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

    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;

    text-align: center;
    white-space: normal;
}

/* CFP heading */

.stat-cfp .cfp-heading {
    flex-direction: column;
    gap: 5px;
}

.stat-cfp .cfp-mark {
    display: block;

    color: var(--gold);
    font: inherit;

    line-height: 0.9;
    letter-spacing: 0;
    text-transform: none;
}

/* Smaller supporting word below CFP */

.stat-cfp .cfp-professional {
    display: block;

    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Multi-Award Winning heading */

.stat-award .award-heading {
    flex-direction: column;
    gap: 2px;

    font-size: 36px;
    line-height: 0.95;
}

.stat-award .award-heading span {
    display: block;
}

/* Descriptions */

.stat > span {
    display: block;
    width: 100%;
    max-width: 270px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.82);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 2px;

    text-align: center;
    text-transform: uppercase;
}

/* =========================================================
   STATISTICS: TABLET
========================================================= */

@media (max-width: 1100px) {

    .statistics .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 50px;
        row-gap: 60px;
    }

}

/* =========================================================
   STATISTICS: MOBILE
========================================================= */

@media (max-width: 600px) {

    .statistics {
        padding: 70px 0;
    }

    .statistics .container {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .stat .stat-heading {
        height: auto;
        min-height: 75px;
        margin-bottom: 12px;
        font-size: 42px;
    }

    .stat-cfp .cfp-professional {
        font-size: 19px;
    }

    .stat-award .award-heading {
        font-size: 34px;
    }

    .stat > span {
        max-width: 290px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

}

/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy{

    background:var(--light);

}

.philosophy .container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

}

.philosophy-image{

    border-radius:12px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.philosophy-image img{

    width:100%;

    transition:.8s;

}

.philosophy-image:hover img{

    transform:scale(1.06);

}

.philosophy-text{

    max-width:650px;

}

.philosophy-text .gold-divider{

    margin:30px 0;

}

.philosophy-text p{

    margin-bottom:25px;

}

/* =========================================================
   IMAGE EFFECTS
========================================================= */

.about-image img,
.philosophy-image img{

    display:block;

}

.about-image,
.philosophy-image{

    position:relative;

}

.about-image::after,
.philosophy-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(255,255,255,0),
        rgba(0,0,0,.08)
    );

    pointer-events:none;

}

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

.fade-up{

    opacity:0;

    transform:translateY(60px);

    transition:1s ease;

}

.fade-up.active{

    opacity:1;

    transform:translateY(0);

}

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

@media(max-width:1100px){

    .expertise-grid{

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

    }

    .about-section{

        grid-template-columns:1fr;

        gap:60px;

    }

    .philosophy .container{

        grid-template-columns:1fr;

        gap:60px;

    }

    .statistics .container{

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

        row-gap:60px;

    }

}

@media(max-width:768px){

    .expertise-grid{

        grid-template-columns:1fr;

    }

    .statistics .container{

        grid-template-columns:1fr;

        row-gap:55px;

    }

    .stat h2{

        min-height:auto;

        font-size:50px;

    }

    .stat h2 small,
    .stat h2 .cfp-small{

        font-size:12px;

    }

    .about-content,
    .philosophy-text{

        max-width:100%;

    }

}
/* =========================================================
   SERVICES
========================================================= */

.services-section{
    background:var(--white);
}

.service-row{

    width:min(1450px,92%);
    margin:0 auto 100px;

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

}

.service-row.reverse .service-image{
    order:2;
}

.service-row.reverse .service-content{
    order:1;
}

.service-image{

    overflow:hidden;
    border-radius:14px;
    box-shadow:var(--shadow);

}

.service-image img{

    width:100%;
    display:block;
    transition:transform .8s ease;

}

.service-image:hover img{

    transform:scale(1.08);

}

.service-content span{

    display:inline-block;
    color:var(--gold);
    font-size:52px;
    font-family:'Playfair Display',serif;
    margin-bottom:15px;

}

.service-content ul{

    margin-top:25px;

}

.service-content li{

    margin-bottom:14px;
    color:var(--grey);

}

/* =========================================================
   QUOTE
========================================================= */

.quote-section{

    background:var(--charcoal);
    color:white;
    text-align:center;
    padding:120px 0;

}

.quote-section blockquote{

    max-width:900px;
    margin:auto;

    font-family:'Playfair Display',serif;
    font-size:42px;
    line-height:1.4;
    color:white;

}

/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-section {
    background: var(--light);
    overflow: hidden;
}

.testimonial-carousel {
    width: min(1400px, 92%);
    margin: 0 auto;
}

.testimonial-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 0 35px;
}

.testimonial-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 35px;
    width: max-content;
    transition: transform 0.8s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((min(1400px, 92vw) - 70px) / 3) !important;
    min-width: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
    flex-grow: 1;
    margin-bottom: 35px;
    color: var(--grey);
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-card h4 {
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--gold);
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 5px;
}

.testimonial-arrow {
    width: 46px;
    height: 46px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: 0.35s ease;
}

.testimonial-arrow:hover {
    background: var(--gold);
    color: white;
}

.testimonial-arrow:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

.testimonial-status {
    min-width: 65px;
    color: var(--grey);
    font-size: 14px;
    text-align: center;
    letter-spacing: 1px;
}

@media (max-width: 1100px) {
    .testimonial-card {
        flex-basis: calc((92vw - 35px) / 2) !important;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex-basis: 92vw !important;
        padding: 32px;
    }

    .testimonial-slider {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-slider {
        transition: none;
    }
}

/* =========================================================
   INSIGHTS
========================================================= */

.insights-section {
    padding: 120px 0;
    background: #ffffff;
}

.insight-grid {
    width: min(1400px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 35px;
}

/* Individual article card */

.insight-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.insight-card:hover {
    transform: translateY(-10px);
}

/* Article image */

.insight-card img {
    display: block;
    width: 100%;
    height: 260px;
    flex-shrink: 0;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insight-card:hover img {
    transform: scale(1.05);
}

/* Written content */

.insight-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 35px;
}

/* Article category */

.insight-content > span {
    display: block;
    margin: 0;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Article title */

.insight-content h3 {
    margin: 18px 0 10px;
    color: var(--charcoal);
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

/* Publication name */

.insight-source {
    margin: 0 0 22px;
    color: #777777;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Read Article link */

.insight-content a {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.insight-content a:hover {
    color: var(--charcoal);
    transform: translateX(4px);
}

/* =========================================================
   INSIGHTS: TABLET
========================================================= */

@media (max-width: 1100px) {

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

}

/* =========================================================
   INSIGHTS: MOBILE
========================================================= */

@media (max-width: 768px) {

    .insights-section {
        padding: 80px 0;
    }

    .insight-grid {
        width: min(90%, 640px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .insight-card img {
        height: 220px;
    }

    .insight-content {
        padding: 28px 24px;
    }

    .insight-content h3 {
        font-size: 23px;
    }

}

/* Disable hover movement on touch devices */

@media (hover: none) {

    .insight-card:hover {
        transform: none;
    }

    .insight-card:hover img {
        transform: none;
    }

    .insight-content a:hover {
        transform: none;
    }

}

/* =========================================================
   CTA
========================================================= */

.cta-banner{

    background:linear-gradient(135deg,var(--charcoal),#2e2e2e);
    color:white;
    text-align:center;
    padding:130px 0;

}

.cta-banner h2{

    color:white;

}

.cta-banner p{

    color:rgba(255,255,255,.8);
    max-width:700px;
    margin:25px auto 45px;

}

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

.contact-wrapper{

    width:min(1450px,92%);
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;

}

.contact-details{

    background:var(--light);
    padding:55px;
    border-radius:12px;

}

.contact-item{

    display:flex;
    gap:22px;
    margin-top:35px;

}

.contact-item i{

    color:var(--gold);
    font-size:24px;
    margin-top:5px;

}

.contact-item h4{

    margin-bottom:6px;

}

.contact-form{

    background:white;
    padding:55px;
    border-radius:12px;
    box-shadow:var(--shadow);

}

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

    width:100%;
    padding:18px;
    margin-bottom:22px;

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

    font-size:15px;

}

.contact-form textarea{

    resize:vertical;

}

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

    outline:none;
    border-color:var(--gold);

}

/* Hidden honeypot field used by the contact form for spam protection */

.website-field{

    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;

}

/* Contact form submission messages */

.contact-message{

    display:none;
    width:100%;
    margin-top:20px;
    padding:16px 18px;

    border-radius:8px;

    font-family:'Inter',sans-serif;
    font-size:14px;
    font-weight:500;
    line-height:1.6;

}

.contact-message.contact-success{

    display:block;
    color:#245c3a;
    background:#edf8f1;
    border:1px solid #b9ddc5;

}

.contact-message.contact-error{

    display:block;
    color:#7a2525;
    background:#fff0f0;
    border:1px solid #e6bcbc;

}

/* =========================================================
   MAP
========================================================= */

.map-section iframe{

    width:100%;
    height:520px;
    border:0;

}

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

footer{

    background:#171717;
    color:white;

    padding-top:90px;

}

.footer-container{

    width:min(1450px,92%);
    margin:auto;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:60px;

}

.footer-logo{

    width:300px;
    margin-bottom:25px;

}

.footer-column h4{

    color:white;
    margin-bottom:25px;

}

.footer-column p,
.footer-column a{

    color:rgba(255,255,255,.72);
    margin-bottom:12px;
    display:block;

}

.footer-column a:hover{

    color:var(--gold);

}

.social-icons{

    display:flex;
    gap:18px;
    margin-top:20px;

}

.social-icons a{

    width:44px;
    height:44px;

    border:1px solid rgba(255,255,255,.2);

    border-radius:50%;

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

    transition:.35s;

}

.social-icons a:hover{

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

}

.footer-bottom{

    margin-top:80px;
    padding:35px 0;

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

    text-align:center;

}

/* =========================================================
   SCROLL TO TOP
========================================================= */

#scrollTop{

    position:fixed;

    right:35px;
    bottom:35px;

    width:55px;
    height:55px;

    border:none;

    background:var(--gold);
    color:white;

    border-radius:50%;

    cursor:pointer;

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

    box-shadow:var(--shadow);

    transition:.35s;

    opacity:0;
    visibility:hidden;

}

#scrollTop.show{

    opacity:1;
    visibility:visible;

}

#scrollTop:hover{

    transform:translateY(-5px);

}

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

@media(max-width:1100px){

.service-row,
.contact-wrapper,
.footer-container{

grid-template-columns:1fr;

}

.service-row.reverse .service-image,
.service-row.reverse .service-content{

order:unset;

}

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

}

@media(max-width:768px){

h1{

font-size:48px;

}

h2{

font-size:38px;

}

.hero{

padding:0 20px;

}

.section-header{

margin-bottom:60px;

}

.service-row{

gap:40px;
margin-bottom:70px;

}

.contact-details,
.contact-form{

padding:35px;

}

.footer-logo {
    width: 220px;
}

}
.footer-column ul li{margin-bottom:12px;}
.footer-column ul a{color:rgba(255,255,255,.72);display:block;transition:.35s;}
.footer-column ul a:hover {
    color: var(--gold);
}
/* Centred Who We Are section */

.about-section.about-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px;
    text-align: center;
}

.about-heading {
    text-align: center;
    max-width: 900px;
}

.about-heading h2 {
    margin-top: 15px;
}

.about-heading .gold-divider {
    margin: 30px auto 0;
}

.about-centered .about-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-centered .about-image img {
    width: 100%;
    max-width: 750px;
    height: auto;
    object-fit: contain;
}

.about-centered .about-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-centered .about-content p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-centered .about-content .gold-button {
    display: inline-flex;
    margin-top: 15px;
}

/* Mobile layout */

@media (max-width: 768px) {
    .about-section.about-centered {
        gap: 35px;
        padding: 80px 20px;
    }

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

    .about-centered .about-content {
        max-width: 100%;
    }
}

@media (max-width:768px){

    .stat-cfp .cfp-heading small{
        font-size:16px !important;
    }

}


/* =========================================================
   MOBILE AND TABLET OPTIMISATION
========================================================= */

.menu-toggle{
    display:none;
    width:48px;
    height:48px;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    z-index:1002;
}

.menu-toggle span{
    width:24px;
    height:2px;
    background:var(--charcoal);
    transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

body.menu-open{overflow:hidden;}

@media (max-width: 1100px){
    header,
    header.scrolled{
        height:96px;
    }

    .nav-container{
        gap:18px;
    }

    .logo img,
    header.scrolled .logo img{
        height:72px;
    }

    .menu-toggle{
        display:flex;
        margin-left:auto;
    }

    header nav{
        position:fixed;
        top:96px;
        right:0;
        width:min(88vw,390px);
        height:calc(100dvh - 96px);
        padding:28px 26px 40px;
        background:rgba(255,255,255,.99);
        box-shadow:-18px 24px 40px rgba(0,0,0,.14);
        transform:translateX(105%);
        visibility:hidden;
        transition:transform .3s ease, visibility .3s ease;
        overflow-y:auto;
        z-index:1001;
    }

    header nav.open{
        transform:translateX(0);
        visibility:visible;
    }

    header nav ul{
        flex-direction:column;
        align-items:stretch;
        gap:0;
    }

    header nav li{
        border-bottom:1px solid var(--border);
    }

    header nav a{
        display:block;
        padding:18px 4px;
        font-size:14px;
        letter-spacing:1.5px;
    }

    .nav-button{
        display:none;
    }

    section{
        padding:90px 0;
    }

    .hero{
        min-height:680px;
        height:100svh;
        padding-top:96px;
    }

    .hero-content{
        width:min(760px,88%);
    }

    .service-row,
    .contact-wrapper{
        width:min(92%,760px);
    }

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

@media (max-width: 768px){
    .container,
    .expertise-grid,
    .testimonial-carousel,
    .insight-grid,
    .contact-wrapper,
    .service-row,
    .footer-container{
        width:min(90%,640px);
    }

    section{
        padding:72px 0;
    }

    h1{
        font-size:clamp(42px,12vw,56px);
        line-height:1.05;
        margin-bottom:22px;
    }

    h2{
        font-size:clamp(34px,9vw,42px);
        margin-bottom:22px;
    }

    h3{
        font-size:27px;
    }

    p{
        font-size:16px;
        line-height:1.7;
    }

    .section-header{
        width:90%;
        margin-bottom:48px;
    }

    .section-subtitle,
    .subtitle{
        display:inline-block;
        font-size:11px;
        letter-spacing:2.2px;
        line-height:1.5;
    }

    .gold-divider{
        margin:22px auto;
    }

    .hero{
        min-height:640px;
        padding-left:18px;
        padding-right:18px;
    }

    .hero p{
        margin-bottom:30px;
    }

    .hero-buttons,
    .hero-buttons a,
    .gold-button,
    .outline-button{
        width:100%;
    }

    .gold-button,
    .outline-button{
        min-height:52px;
        padding:15px 24px;
    }

    .expertise-card{
        padding:34px 26px;
    }

    .statistics{
        padding:68px 0;
    }

    .statistics .container{
        row-gap:42px;
    }

    .stat h2{
        font-size:44px;
        margin-bottom:12px;
    }

    .stat > span{
        font-size:12px;
        letter-spacing:1.5px;
    }

    .about-section.about-centered{
        width:100%;
        padding:72px 5%;
        gap:30px;
    }

    .philosophy .container{
        gap:38px;
    }

    .service-row{
        gap:28px;
        margin-bottom:64px;
    }

    .service-content span{
        font-size:42px;
    }

    .service-image img,
    .philosophy-image img{
        aspect-ratio:16/11;
        object-fit:cover;
    }

    .quote-section{
        padding:76px 0;
    }

    .quote-section blockquote{
        font-size:clamp(28px,8vw,36px);
        line-height:1.35;
    }

    .testimonial-viewport{
        padding-bottom:24px;
    }

    .testimonial-card{
        flex-basis:90vw !important;
        padding:28px 24px;
    }

    .testimonial-card p{
        font-size:16px;
        margin-bottom:26px;
    }

    .insight-card img{
        height:220px;
    }

    .insight-content{
        padding:28px 24px;
    }

    .cta-banner{
        padding:82px 0;
    }

    .contact-details,
    .contact-form{
        padding:30px 24px;
    }

    .contact-item{
        gap:16px;
        margin-top:28px;
    }

    .contact-item div{
        min-width:0;
    }

    .contact-item a,
    .footer-column p,
    .footer-column a{
        overflow-wrap:anywhere;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select{
        padding:16px;
        margin-bottom:18px;
        font-size:16px;
    }

    .contact-form .gold-button{
        width:100%;
    }

    .map-section iframe{
        height:380px;
    }

    footer{
        padding-top:65px;
    }

    .footer-container{
        grid-template-columns:1fr;
        gap:42px;
    }

    .footer-logo{
        width:min(240px,75vw);
    }

    .footer-bottom{
        margin-top:55px;
        padding:28px 5%;
    }

    #scrollTop{
        right:18px;
        bottom:18px;
        width:48px;
        height:48px;
    }
}

@media (max-width: 420px){
    header,
    header.scrolled{
        height:84px;
    }

    .logo img,
    header.scrolled .logo img{
        height:62px;
    }

    header nav{
        top:84px;
        height:calc(100dvh - 84px);
        width:100%;
    }

    .hero{
        padding-top:84px;
        min-height:600px;
    }

    h1{
        font-size:40px;
    }

    h2{
        font-size:34px;
    }

    .testimonial-card{
        flex-basis:90vw !important;
    }
}

@media (hover:none){
    .expertise-card:hover,
    .insight-card:hover,
    .testimonial-card:hover,
    .gold-button:hover,
    #scrollTop:hover{
        transform:none;
    }
}

@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *,*::before,*::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* Director video popup */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

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

    padding: 30px;
    background: rgba(0, 0, 0, 0.9);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: min(1100px, 95vw);
    transform: scale(0.96);
    transition: transform 0.3s ease;
}

.video-modal.open .video-modal-content {
    transform: scale(1);
}

.director-video {
    display: block;
    width: 100%;
    max-height: 82vh;

    background: #000;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.video-modal-close {
    position: absolute;
    top: -52px;
    right: 0;

    width: 44px;
    height: 44px;

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

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;

    background: transparent;
    color: white;

    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.video-modal-close:hover {
    background: var(--gold);
    border-color: var(--gold);
}

body.video-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-modal {
        padding: 20px;
    }

    .video-modal-content {
        width: 100%;
    }
}