/* =====================================================
   MORTELMANS SECURITY DIVISION
   MILITARY FOREST WEBSITE
===================================================== */

/* =====================================================
   01. COLOUR PALETTE AND GLOBAL SETTINGS
===================================================== */

:root{
    --forest-950:#1B2A1F;
    --forest-900:#2E3B2A;
    --forest-700:#51623E;
    --olive-500:#7A855E;
    --sand-300:#BBAE85;
    --ivory-100:#F2F0E6;
    --about-bg:#51623E;
    --sage-card:#E8EADF;
    --white:#FFFFFF;
    --ink:#1D251C;
    --muted:#596252;
    --danger:#7C332B;
    --shadow:0 26px 72px rgba(27,42,31,.16);
    --nav-height:108px;
}

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    scroll-behavior:smooth;
    scroll-padding-top:84px;
}

body{
    width:100%;
    min-width:320px;
    max-width:100%;
    overflow-x:hidden;
    color:var(--ink);
    background:var(--ivory-100);
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.5;
}

body.menu-open{
    overflow:hidden;
}

img,
video,
svg,
iframe{
    display:block;
    max-width:100%;
}

button,
input,
select,
textarea{
    font:inherit;
}

a{
    color:inherit;
}

section{
    scroll-margin-top:82px;
}

.section-kicker{
    display:block;
    margin-bottom:18px;
    color:var(--forest-700);
    font-size:12px;
    font-weight:900;
    letter-spacing:4px;
}

.primary-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:54px;
    padding:16px 29px;
    border:1px solid var(--forest-900);
    border-radius:7px;
    color:var(--ivory-100);
    background:var(--forest-900);
    box-shadow:0 15px 35px rgba(27,42,31,.23);
    text-decoration:none;
    font-size:12px;
    font-weight:900;
    letter-spacing:1.5px;
    cursor:pointer;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.primary-button:hover{
    background:var(--forest-950);
    transform:translateY(-3px);
    box-shadow:0 20px 44px rgba(27,42,31,.31);
}

/* =====================================================
   02. FIXED NAVIGATION
===================================================== */

.site-nav{
    position:fixed;
    top:0;
    left:0;
    z-index:2000;
    width:100%;
    min-height:var(--nav-height);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:14px 4.5vw;
    background:transparent;
    border-bottom:1px solid transparent;
    transition:
        min-height .35s ease,
        padding .35s ease,
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        backdrop-filter .35s ease;
}

.site-nav.is-solid{
    min-height:76px;
    padding-top:8px;
    padding-bottom:8px;
    background:rgba(242,240,230,.94);
    border-color:rgba(46,59,42,.14);
    box-shadow:0 12px 35px rgba(27,42,31,.10);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.logo{
    display:flex;
    align-items:center;
    gap:13px;
    min-width:0;
    text-decoration:none;
}

.logo img{
    width:auto;
    height:80px;
    object-fit:contain;
    transition:height .35s ease;
}

.site-nav.is-solid .logo img{
    height:56px;
}

.logo-text{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.logo-text strong{
    color:var(--forest-950);
    font-size:28px;
    line-height:1;
    letter-spacing:2px;
    white-space:nowrap;
}

.logo-text small{
    margin-top:7px;
    color:var(--forest-700);
    font-size:9px;
    font-weight:900;
    letter-spacing:4px;
    white-space:nowrap;
}

.site-nav ul{
    display:flex;
    align-items:center;
    gap:27px;
    list-style:none;
}

.site-nav ul a{
    position:relative;
    display:block;
    padding:12px 0;
    color:var(--forest-950);
    text-decoration:none;
    font-size:15px;
    font-weight:900;
    letter-spacing:1px;
    white-space:nowrap;
}

.site-nav ul a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:4px;
    width:100%;
    height:2px;
    background:var(--forest-700);
    transform:scaleX(0);
    transform-origin:right;
    transition:transform .3s ease;
}

.site-nav ul a:hover::after,
.site-nav ul a.is-active::after{
    transform:scaleX(1);
    transform-origin:left;
}

.nav-toggle{
    display:none;
    width:46px;
    height:46px;
    border:1px solid rgba(46,59,42,.18);
    border-radius:10px;
    background:rgba(242,240,230,.90);
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:21px;
    height:2px;
    margin:5px auto;
    background:var(--forest-900);
    transition:
        transform .3s ease,
        opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* =====================================================
   03. HERO SECTION
===================================================== */

.hero-cinematic{
    position:relative;
    min-height:100vh;
    background:var(--forest-700);
}

.hero-stage{
    position:relative;
    width:100%;
    height:100vh;
    min-height:680px;
    overflow:hidden;
    background:var(--ivory-100);
    isolation:isolate;
}

.hero-cinematic-background{
    position:absolute;
    inset:0;
    z-index:0;
   background:
    radial-gradient(
        circle at 73% 48%,
        rgba(122,133,94,.38),
        transparent 34%
    ),
    linear-gradient(
        90deg,
        var(--ivory-100) 0%,
        #F2F0E6 42%,
        #E4E5D7 56%,
        #A8B092 72%,
        var(--forest-700) 100%
    );
    transform:scale(1.03);
    transform-origin:center;
    will-change:transform,filter,opacity;
}

.hero-cinematic-grid{
    position:absolute;
    inset:-10%;
    z-index:1;
    opacity:0;
    pointer-events:none;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 79px,
            rgba(27,42,31,.045) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 79px,
            rgba(27,42,31,.03) 80px
        );
    will-change:opacity,transform;
}

.hero-cinematic-spotlight{
    position:absolute;
    top:52%;
    right:1%;
    z-index:2;
    width:60vw;
    height:92vh;
    border-radius:50%;
    opacity:.48;
    pointer-events:none;
    transform:translateY(-50%) scale(.90);
    background:radial-gradient(
        ellipse,
        rgba(255,255,255,.60) 0%,
        rgba(187,174,133,.34) 35%,
        rgba(81,98,62,.08) 59%,
        transparent 72%
    );
    filter:blur(14px);
    will-change:opacity,transform;
}

.hero-cinematic-darkness{
    position:absolute;
    inset:0;
    z-index:5;
    opacity:0;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        rgba(27,42,31,.08) 0%,
        rgba(27,42,31,.22) 44%,
        rgba(27,42,31,.74) 100%
    );
    will-change:opacity;
}

.hero-scan-line{
    position:absolute;
    top:0;
    left:52%;
    z-index:14;
    width:2px;
    height:100%;
    opacity:0;
    pointer-events:none;
    background:linear-gradient(
        to bottom,
        transparent 4%,
        rgba(255,255,255,.18) 18%,
        rgba(255,255,255,.95) 48%,
        rgba(187,174,133,.68) 70%,
        transparent 95%
    );
    box-shadow:
        0 0 12px rgba(255,255,255,.82),
        0 0 34px rgba(187,174,133,.72),
        0 0 75px rgba(81,98,62,.46);
    will-change:left,opacity;
}

.hero-scan-line::before{
    content:"";
    position:absolute;
    top:0;
    left:-30px;
    width:62px;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );
    filter:blur(8px);
}

.hero-cinematic-content{
    position:absolute;
    top:58%;
    left:6vw;
    z-index:10;
    width:min(640px,44%);
    transform:translateY(-50%);
    will-change:transform,opacity,filter;
}

.hero-eyebrow{
    display:block;
    margin-bottom:18px;
    color:var(--forest-700);
    font-size:10px;
    font-weight:900;
    letter-spacing:3.8px;
}

.hero-cinematic-heading{
    max-width:670px;
    margin:0 0 31px;
    color:var(--forest-950);
    font-size:clamp(50px,5.4vw,79px);
    font-weight:900;
    line-height:.98;
    letter-spacing:-3px;
}

.hero-cinematic-heading span{
    display:block;
    color:var(--forest-700);
}

.hero-cinematic-description{
    max-width:520px;
    margin:0 0 40px;
    color:var(--forest-900);
    font-size:21px;
    line-height:1.55;
}

.hero-officer{
    position:absolute;
    top:100px;
    right:-2%;
    bottom:0;
    z-index:6;
    width:68vw;
    height: 125vh;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    pointer-events:none;
    transform-origin:72% 68%;
    will-change:transform,filter,opacity;
}

.hero-officer img{
    display:block;
    width:auto;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center bottom;
    filter:
        drop-shadow(0 30px 45px rgba(27,42,31,.34))
        contrast(1.03);
    user-select:none;
    -webkit-user-drag:none;
}

.hero-transition-mask{
    position:absolute;
    top:53%;
    left:72%;
    z-index:9;
    width:200vmax;
    height:200vmax;
    border-radius:50%;
    background:var(--forest-700);
    transform:translate(-50%,-50%) scale(0);
    transform-origin:center;
    pointer-events:none;
    will-change:transform,opacity;
}

.hero-scroll-hint{
    position:absolute;
    left:50%;
    bottom:25px;
    z-index:16;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    color:rgba(27,42,31,.72);
    transform:translateX(-50%);
    pointer-events:none;
    will-change:opacity;
}

.hero-scroll-hint span{
    font-size:9px;
    font-weight:800;
    letter-spacing:3px;
}

.hero-scroll-hint-line{
    width:1px;
    height:36px;
    background:linear-gradient(
        to bottom,
        var(--forest-900),
        transparent
    );
    animation:heroScrollPulse 1.8s ease-in-out infinite;
}

@keyframes heroScrollPulse{
    0%,
    100%{
        opacity:.25;
        transform:scaleY(.55);
        transform-origin:top;
    }

    50%{
        opacity:1;
        transform:scaleY(1);
        transform-origin:top;
    }
}

/* =====================================================
   04. HERO-TO-VIDEO TRANSITION LAYER
===================================================== */

.hero-video-reveal{
    position:absolute;
    inset:0;
    z-index:12;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    pointer-events:auto;
    clip-path:inset(49% 49% 49% 49% round 30px);
    transform:scale(.76);
    will-change:opacity,clip-path,transform;
}

.hero-video-reveal-frame{
    position:absolute;
    inset:7vh 6vw;
    overflow:hidden;
    border:1px solid rgba(242,240,230,.20);
    border-radius:30px;
    background:var(--forest-900);
    box-shadow:0 38px 100px rgba(27,42,31,.36);
}

.hero-video-reveal-frame video{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:var(--forest-900);
}

.hero-video-reveal-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(27,42,31,.05) 35%,
        rgba(27,42,31,.86) 100%
    );
    pointer-events:none;
}

.hero-video-reveal-copy{
    position:absolute;
    left:10vw;
    bottom:11vh;
    z-index:3;
    display:flex;
    flex-direction:column;
    max-width:780px;
    opacity:0;
    transform:translateY(28px);
}

.hero-video-reveal-copy span{
    margin-bottom:10px;
    color:var(--sand-300);
    font-size:11px;
    font-weight:900;
    letter-spacing:4px;
}

.hero-video-reveal-copy strong{
    color:var(--ivory-100);
    font-size:clamp(34px,5vw,70px);
    line-height:1;
    letter-spacing:-2.5px;
}

/* =====================================================
   TRANSITION VIDEO CONTROLS
===================================================== */

.hero-video-reveal-frame{
    pointer-events:auto;
}

#transitionWhyVideo{
    position:relative;
    z-index:10;

    pointer-events:auto;
    cursor:pointer;
}

/* =====================================================
   WHY MORTELMANS — OPERATIONAL PROMISE
===================================================== */

.why-promise-section{
    position:relative;

    padding:
        40px 0
        130px;

    overflow:hidden;

    color:var(--forest-950);

    background:#E1E2D7;
}


.why-promise-shell{
    position:relative;

    z-index:2;

    width:
        min(
            calc(100% - 80px),
            1280px
        );

    margin:0 auto;

    display:grid;

    grid-template-columns:
        minmax(0,0.9fr)
        minmax(0,1.1fr);

    gap:90px;

    align-items:center;
}


/* =====================================================
   LEFT INTRODUCTION
===================================================== */

.why-promise-intro{
    max-width:570px;
    text-align:center;
}


.why-promise-intro .section-kicker{
    color:var(--forest-700);
}


.why-promise-intro h2{
    margin:0;

    color:var(--forest-950);

    font-size:
        clamp(
            46px,
            5.5vw,
            60px
        );

    line-height:0.98;

    letter-spacing:-3px;
}


.why-promise-intro h2 span{
    display:block;

    margin-top:12px;

    color:var(--forest-700);
}


.why-promise-intro > p{
    max-width:540px;

    margin:
        30px 0
        35px;

    color:#465043;

    font-size:17px;

    line-height:1.8;
}


/* =====================================================
   RIGHT PROMISE LIST
===================================================== */

.why-promise-list{
    display:flex;

    flex-direction:column;

    border-top:
        1px solid
        rgba(81,98,62,0.20);
}


.why-promise-item{
    display:grid;

    grid-template-columns:
        70px
        minmax(0,1fr);

    gap:22px;

    padding:
        20px 0;

    border-bottom:
        1px solid
        rgba(81,98,62,0.20);

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}


.why-promise-item:hover{
    padding-left:18px;

    background:
        rgba(
            242,
            240,
            230,
            0.05
        );
}


.why-promise-number{
    color:var(--forest-700);

    font-size:13px;

    font-weight:900;

    letter-spacing:3px;
}


.why-promise-item h3{
    margin:
        0 0
        9px;

    color:var(--forest-950);

    font-size:24px;

    line-height:1.15;
}


.why-promise-item p{
    max-width:580px;

    margin:0;

    color:#596252;

    font-size:14px;

    line-height:1.7;
}

/* =====================================================
   VIDEO FALLBACK MESSAGE
===================================================== */

.video-fallback-message{
    position:absolute;
    inset:0;
    z-index:40;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:30px;

    color:var(--ivory-100);
    background:
        linear-gradient(
            rgba(27,42,31,.88),
            rgba(27,42,31,.95)
        );

    text-align:center;
}

.video-fallback-message[hidden]{
    display:none;
}

.video-fallback-content{
    width:min(100%,620px);
}

.video-fallback-content strong{
    display:block;

    margin-bottom:16px;

    font-size:clamp(28px,4vw,48px);
    line-height:1.1;
}

.video-fallback-content p{
    max-width:540px;

    margin:0 auto 26px;

    color:rgba(242,240,230,.78);

    font-size:16px;
    line-height:1.7;
}

.video-fallback-content button{
    min-height:52px;

    padding:14px 24px;

    border:1px solid var(--sand-300);
    border-radius:7px;

    color:var(--forest-950);
    background:var(--sand-300);

    font-size:11px;
    font-weight:900;
    letter-spacing:1.3px;

    cursor:pointer;
}

.video-fallback-content button:hover{
    background:var(--ivory-100);
}

/* =====================================================
   HIDE NAVIGATION DURING TRANSITION VIDEO
===================================================== */

.site-nav{
    transition:
        transform .45s ease,
        opacity .35s ease,
        min-height .35s ease,
        padding .35s ease,
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        backdrop-filter .35s ease;
}

.site-nav.is-hidden-for-video{
    opacity:0;
    transform:translateY(-115%);
    pointer-events:none;
}

/* =====================================================
   06. ABOUT SECTION
===================================================== */

.about-section{
    --about-text:#465043;
    position:relative;
    padding:70px 0 80px;
    background:var(--about-bg);
    isolation:isolate;
}

.about-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(242,240,230,.13),
            transparent 31%
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(27,42,31,.14),
            transparent 34%
        );
}

.about-orb{
    position:absolute;
    z-index:-1;
    border-radius:50%;
    pointer-events:none;
    filter:blur(18px);
}

.about-orb-one{
    top:8%;
    left:-270px;
    width:520px;
    height:520px;
    border:1px solid rgba(242,240,230,.10);
    box-shadow:inset 0 0 130px rgba(242,240,230,.10);
}

.about-orb-two{
    right:-370px;
    bottom:7%;
    width:650px;
    height:650px;
    border:1px solid rgba(27,42,31,.10);
    box-shadow:inset 0 0 170px rgba(27,42,31,.12);
}

.about-shell{
    width:min(calc(100% - 80px),1340px);
    margin:0 auto;
}

.about-intro{
    max-width:940px;
    margin:0 auto 110px;
    text-align:center;
}

.about-kicker{
    color:var(--forest-950);
    font-size:15px;
    letter-spacing:5px;
}

.about-intro h2{
    margin:0;
    color:var(--sage-card);
    font-size:clamp(44px,5.4vw,70px);
    line-height:1;
    letter-spacing:-3px;
}

.about-intro h2 span{
    display:block;
    margin-top:11px;
    color:var(--sage-card);
}

.about-intro p{
    max-width:810px;
    margin:32px auto 0;
    color:var(--forest-950);
    font-size:18px;
    line-height:1.84;
}

.about-timeline{
    position:relative;
    padding:30px 0 90px;
}

.timeline-rail{
    position:absolute;
    top:0;
    bottom:40px;
    left:50%;
    width:4px;
    border-radius:20px;
    background:linear-gradient(
        to bottom,
        rgba(242,240,230,.10),
        rgba(27,42,31,.34),
        rgba(242,240,230,.10)
    );
    box-shadow:0 0 25px rgba(27,42,31,.13);
    transform:translateX(-50%);
}

.timeline-progress{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:0;
    border-radius:20px;
    background:linear-gradient(
        to bottom,
        rgba(187,174,133,.54),
        var(--forest-950) 72%,
        var(--white) 100%
    );
    box-shadow:
        0 0 12px rgba(187,174,133,.75),
        0 0 30px rgba(27,42,31,.56);
    will-change:height;
}

.timeline-projectile{
    position:absolute;
    top:0;
    left:50%;
    z-index:30;
    width:18px;
    height:56px;
    filter:
        drop-shadow(0 0 7px rgba(255,255,255,.90))
        drop-shadow(0 0 16px rgba(187,174,133,.82))
        drop-shadow(0 0 28px rgba(27,42,31,.58));
    transform:translate(-50%,-50%);
    will-change:top;
}


.projectile-core{
    position:absolute;
    inset:0;
    display:block;
    border:1px solid rgba(255,255,255,.36);
    background:linear-gradient(
        90deg,
        var(--forest-950) 0%,
        var(--forest-700) 18%,
        #E6EADF 42%,
        #FFFFFF 52%,
        var(--sand-300) 72%,
        var(--forest-900) 100%
    );
    clip-path:polygon(
        18% 0%,
        82% 0%,
        82% 64%,
        74% 82%,
        50% 100%,
        26% 82%,
        18% 64%
    );
    box-shadow:
        inset 2px 0 3px rgba(255,255,255,.32),
        inset -2px 0 3px rgba(0,0,0,.30),
        0 0 8px rgba(187,174,133,.45);
}

.timeline-step{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);
    align-items:center;
    min-height:430px;
    margin-bottom:clamp(90px,12vh,145px);
}

.timeline-step:last-of-type{
    margin-bottom:0;
}

.timeline-step > .timeline-card,
.timeline-step > .timeline-visual,
.timeline-step > .timeline-node{
    grid-row:1;
}


/* Odd rows: text left, image right */

.timeline-step:nth-of-type(odd) > .timeline-card{
    grid-column:1;
}

.timeline-step:nth-of-type(odd) > .timeline-node{
    grid-column:2;
}

.timeline-step:nth-of-type(odd) > .timeline-visual{
    grid-column:3;
}


/* Even rows: image left, text right */

.timeline-step:nth-of-type(even) > .timeline-visual{
    grid-column:1;
}

.timeline-step:nth-of-type(even) > .timeline-node{
    grid-column:2;
}

.timeline-step:nth-of-type(even) > .timeline-card{
    grid-column:3;
}

.timeline-node{
    grid-column:2;
    grid-row:1;
    position:relative;
    z-index:18;
    justify-self:center;
    width:58px;
    height:58px;
    border:2px solid var(--forest-950);
    border-radius:50%;
    opacity:.45;
    background:radial-gradient(
        circle,
        #C8323B 0%,
        #C8323B 18%,
        var(--ivory-100) 18%,
        var(--ivory-100) 29%,
        var(--forest-950) 29%,
        var(--forest-950) 32%,
        var(--ivory-100) 32%,
        var(--ivory-100) 48%,
        var(--forest-950) 48%,
        var(--forest-950) 51%,
        var(--ivory-100) 51%,
        var(--ivory-100) 68%,
        var(--forest-950) 68%,
        var(--forest-950) 71%,
        var(--ivory-100) 71%
    );
    box-shadow:
        0 0 0 3px rgba(242,240,230,.78),
        0 0 20px rgba(46,59,42,.16);
    transform:scale(.55);
    transition:
        transform .45s ease,
        opacity .45s ease,
        box-shadow .45s ease,
        filter .45s ease;
}

.timeline-node::before,
.timeline-node::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    background:rgba(27,42,31,.48);
    transform:translate(-50%,-50%);
    pointer-events:none;
}

.timeline-node::before{
    width:2px;
    height:72px;
}

.timeline-node::after{
    width:72px;
    height:2px;
}

.timeline-node span{
    display:none;
}

.timeline-step.is-complete .timeline-node{
    opacity:.74;
    transform:scale(.78);
}

.timeline-step.is-active .timeline-node{
    opacity:1;
    filter:
        drop-shadow(0 0 7px rgba(255,255,255,.72))
        drop-shadow(0 0 17px rgba(27,42,31,.38));
    box-shadow:
        0 0 0 3px rgba(242,240,230,.94),
        0 0 20px rgba(255,255,255,.38),
        0 0 34px rgba(27,42,31,.30);
    transform:scale(1);
}

.timeline-card,
.timeline-visual{
    --mouse-x:50%;
    --mouse-y:50%;
    --rotate-x:0deg;
    --rotate-y:0deg;
    position:relative;
    width:100%;
    height:auto;
    overflow:hidden;
    border:1px solid rgba(46,59,42,.11);
    border-radius:26px;
    opacity:.30;
    box-shadow:var(--shadow);
    transform:
        perspective(1100px)
        translateY(40px)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));
    transition:
        opacity .72s ease,
        transform .72s cubic-bezier(.2,.8,.2,1),
        border-color .5s ease,
        box-shadow .5s ease;
    will-change:transform,opacity;
}

.timeline-step.is-active .timeline-card,
.timeline-step.is-active .timeline-visual{
    opacity:1;
    border-color:rgba(27,42,31,.25);
    box-shadow:
        0 32px 82px rgba(27,42,31,.22),
        0 0 45px rgba(122,133,94,.14);
    transform:
        perspective(1100px)
        translateY(0)
        rotateX(var(--rotate-x))
        rotateY(var(--rotate-y));
}


.about-card-content{
    position:relative;
    z-index:2;
    min-height:100%;
    padding:clamp(30px,3.7vw,48px);
    background:linear-gradient(
        135deg,
        rgba(242,240,230,.96),
        rgba(255,255,255,.82)
    );
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
}

.timeline-label{
    display:inline-flex;
    margin-bottom:18px;
    padding:8px 13px;
    border:1px solid rgba(81,98,62,.20);
    border-radius:30px;
    color:var(--forest-700);
    background:rgba(187,174,133,.18);
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}

.about-card-content h3{
    margin:0 0 20px;
    color:var(--forest-950);
    font-size:clamp(29px,3vw,39px);
    line-height:1.14;
    letter-spacing:-1px;
}

.about-card-content p{
    margin:0 0 17px;
    color:var(--about-text);
    font-size:15px;
    line-height:1.75;
}

.about-card-content p:last-child{
    margin-bottom:0;
}

.timeline-visual{
    min-height:390px;
    background:var(--olive-500);
}

.timeline-visual img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.72) contrast(1.04);
    transform:scale(1.035);
    transition:
        transform .8s ease,
        filter .8s ease;
}

.timeline-step.is-active .timeline-visual img{
    filter:saturate(.92) contrast(1.04);
    transform:scale(1);
}

.timeline-visual::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:linear-gradient(
        180deg,
        transparent 52%,
        rgba(27,42,31,.44) 100%
    );
}

/* =====================================================
   CUSTOM ABOUT CARD SIZES — DESKTOP
===================================================== */

/* Who We Are Today — horizontal image */
.timeline-step[data-step="3"] .timeline-visual{
    height:420px;
    min-height:420px;
}

/* Mission — compact information card; image remains unchanged */
.timeline-step[data-step="5"] .timeline-card,
.timeline-step[data-step="5"] .about-card-content{
    height:auto;
    min-height:0;
}

/* Core Values — horizontal image */
.timeline-step[data-step="6"] .timeline-visual{
    height:380px;
    min-height:380px;
}

.core-values-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin:4px 0 20px;
}

.core-values-grid > div{
    padding:17px;
    border-left:3px solid var(--forest-700);
    border-radius:10px;
    background:rgba(81,98,62,.07);
}

.core-values-grid strong{
    display:block;
    margin-bottom:6px;
    color:var(--forest-700);
    font-size:13px;
    letter-spacing:1.2px;
    text-transform:uppercase;
}

.core-values-grid p{
    margin:0;
    font-size:14px;
}

.about-impact-anchor{
    display:none;
}

/* =====================================================
   07. CONTACT SECTION
===================================================== */

.contact-section{
    position:relative;
    scroll-margin-top:0;
    padding: 20px 0 70px;
    overflow:hidden;
    background:linear-gradient(
        135deg,
        #E1E2D7 0%,
        rgba(187,174,133,.38) 100%
    );
    isolation:isolate;
}

.contact-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    opacity:.40;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 79px,
            rgba(46,59,42,.035) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 79px,
            rgba(46,59,42,.025) 80px
        );
}

.contact-shell{
    width:min(calc(100% - 80px),1320px);
    margin:0 auto;
}

.contact-header{
    max-width:900px;
    margin:0 auto 64px;
    text-align:center;
}

.contact-header h2{
    color:var(--forest-950);
    font-size:clamp(20px,5.8vw,50px);
    line-height:1;
    letter-spacing:-3px;
}

.contact-header h2 span{
    display:block;
    margin-top:10px;
    color:var(--forest-700);
}

.contact-header p{
    max-width:760px;
    margin:26px auto 0;
    color:#465043;
    font-size:17px;
    line-height:1.72;
}

.contact-layout{
    display:grid;
    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
    gap:27px;
    align-items:start;
}

.map-selector,
.contact-form-panel{
    position:relative;
    padding:34px;
    border:1px solid rgba(81,98,62,.13);
    border-radius:27px;
    background:rgba(242,240,230,.90);
    box-shadow:var(--shadow);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.contact-panel-heading{
    margin-bottom:20px;
}

.contact-panel-heading > span{
    display:block;
    margin-bottom:8px;
    color:var(--forest-700);
    font-size:10px;
    font-weight:900;
    letter-spacing:3px;
}

.contact-panel-heading h3{
    color:var(--forest-950);
    font-size:28px;
    line-height:1.15;
}

.contact-panel-heading p{
    margin-top:8px;
    color:var(--muted);
    font-size:14px;
}

.province-map{
    max-width:560px;
    margin:0 auto;
    overflow:hidden;
}

.province-map svg{
    display:block;
    width:100%;
    height:auto;
    max-height:385px;
    margin:0 auto;
    transform:translateX(30px);
}

.province-map svg path{
    fill:#E5E7DD;
    stroke:var(--forest-900);
    stroke-width:1.35;
    cursor:pointer;
    outline:none;
    transform-box:fill-box;
    transform-origin:center;
    transition:
        fill .28s ease,
        filter .28s ease,
        stroke .28s ease,
        transform .28s ease;
}

.province-map svg path:not(#LS):hover,
.province-map svg path:not(#LS):focus-visible{
    fill:rgba(122,133,94,.38);
    filter:drop-shadow(0 0 8px rgba(81,98,62,.25));
}

.province-map svg path.selected{
    fill:var(--forest-700);
    stroke:var(--ivory-100);
    stroke-width:2.2;
    filter:drop-shadow(0 0 10px rgba(46,59,42,.45));
}

.province-map svg path#LS{
    fill:#D0D2C9;
    cursor:default;
    opacity:.65;
}

.map-legend{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:6px;
    color:#505B4D;
    font-size:12px;
}

.map-legend span{
    display:flex;
    align-items:center;
    gap:8px;
}

.map-legend i{
    width:12px;
    height:12px;
    border:1px solid var(--forest-700);
    border-radius:50%;
}

.legend-available{
    background:#E5E7DD;
}

.legend-selected{
    background:var(--forest-700);
}

.selected-area-card{
    margin-top:10px;
    padding:18px;
    border-left:4px solid var(--forest-700);
    border-radius:12px;
    background:rgba(122,133,94,.12);
}

.selected-area-card > span{
    display:block;
    margin-bottom:7px;
    color:var(--forest-700);
    font-size:9px;
    font-weight:900;
    letter-spacing:2px;
}

.selected-area-card strong{
    display:block;
    color:var(--forest-950);
    font-size:22px;
}

.selected-area-card p{
    margin-top:5px;
    color:var(--muted);
    font-size:13px;
}

.contact-form-panel form{
    display:flex;
    flex-direction:column;
    gap:19px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:17px;
}

.form-field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-field label{
    color:var(--forest-900);
    font-size:11px;
    font-weight:900;
    letter-spacing:.6px;
}

.form-field input,
.form-field select,
.form-field textarea{
    width:100%;
    border:1px solid rgba(81,98,62,.16);
    border-radius:11px;
    color:var(--ink);
    background:rgba(255,255,255,.94);
    box-shadow:0 7px 18px rgba(27,42,31,.045);
    outline:none;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.form-field input,
.form-field select{
    min-height:53px;
    padding:0 15px;
}

.form-field textarea{
    min-height:164px;
    padding:15px;
    resize:vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    border-color:var(--forest-700);
    background:var(--white);
    box-shadow:
        0 0 0 4px rgba(81,98,62,.10),
        0 12px 28px rgba(27,42,31,.08);
}

.form-region-warning{
    min-height:18px;
    color:var(--danger);
    font-size:12px;
    font-weight:800;
}

.contact-submit{
    width:100%;
    border:none;
}

.privacy-note{
    color:#5D6859;
    font-size:11px;
    line-height:1.6;
    text-align:center;
}

/* =====================================================
   08. SERVICES PAGE HERO
===================================================== */

.services-page-hero{
    position:relative;
    min-height:72vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    padding:170px 0 95px;
    background:
        radial-gradient(
            circle at 82% 40%,
            rgba(187,174,133,.42),
            transparent 29%
        ),
        linear-gradient(
            120deg,
            var(--ivory-100) 0%,
            #E5E3D5 48%,
            var(--forest-700) 100%
        );
}

.services-page-hero-grid{
    position:absolute;
    inset:0;
    opacity:.32;
    pointer-events:none;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 99px,
            rgba(46,59,42,.045) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 99px,
            rgba(46,59,42,.03) 100px
        );
}

.services-page-hero-shell{
    position:relative;
    z-index:2;
    width:min(calc(100% - 80px),1280px);
    margin:0 auto;
}

.services-page-hero h1{
    max-width:920px;
    margin-bottom:26px;
    color:var(--forest-950);
    font-size:clamp(54px,7vw,98px);
    line-height:.94;
    letter-spacing:-4px;
}

.services-page-hero h1 span{
    display:block;
    color:var(--forest-700);
}

.services-page-hero p{
    max-width:720px;
    margin-bottom:34px;
    color:var(--forest-900);
    font-size:18px;
    line-height:1.75;
}

/* =====================================================
   09. SERVICES PAGE CARDS
===================================================== */

.services-list-section{
    padding:100px 0 130px;
    background:#F6F5EE;
}

.services-list-shell{
    width:min(calc(100% - 80px),1420px);
    margin:0 auto;
}

.services-list-intro{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:40px;
    margin-bottom:45px;
    padding-bottom:25px;
    border-bottom:1px solid rgba(46,59,42,.16);
}

.services-list-intro span{
    color:var(--forest-700);
    font-size:11px;
    font-weight:900;
    letter-spacing:3px;
}

.services-list-intro p{
    max-width:630px;
    color:var(--muted);
    font-size:15px;
    line-height:1.7;
}

.services-card-columns{
    columns:2;
    column-gap:28px;
}

.service-list-card{
    display:grid;
    grid-template-columns:minmax(170px,.78fr) minmax(0,1.22fr);
    width:100%;
    margin:0 0 28px;
    overflow:hidden;
    break-inside:avoid;
    border:1px solid rgba(81,98,62,.18);
    border-radius:22px;
    background:var(--sage-card);
    box-shadow:0 22px 58px rgba(27,42,31,.13);
    opacity:0;
    transform:translateY(30px);
    transition:
        opacity .7s ease,
        transform .7s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.service-list-card.is-visible{
    opacity:1;
    transform:translateY(0);
}

.service-list-card:hover{
    border-color:rgba(81,98,62,.34);
    box-shadow:0 30px 72px rgba(27,42,31,.20);
}

.service-list-media{
    position:relative;
    min-height:100%;
    overflow:hidden;
    background:var(--olive-500);
}

.service-list-media img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.78) contrast(1.03);
    transform:scale(1.04);
    transition:
        transform .65s ease,
        filter .65s ease;
}

.service-list-card:hover .service-list-media img{
    filter:saturate(.96) contrast(1.04);
    transform:scale(1);
}

.service-list-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(27,42,31,.04) 35%,
        rgba(27,42,31,.72) 100%
    );
}

.service-list-media span{
    position:absolute;
    left:18px;
    bottom:16px;
    z-index:2;
    color:var(--ivory-100);
    font-size:28px;
    font-weight:900;
    letter-spacing:1px;
}

.service-list-content{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:30px 28px;
}

.service-list-label{
    margin-bottom:12px;
    color:var(--forest-700);
    font-size:8px;
    font-weight:900;
    letter-spacing:1.7px;
}

.service-list-content h2{
    margin-bottom:17px;
    color:var(--forest-950);
    font-size:clamp(25px,2.3vw,34px);
    line-height:1.06;
    letter-spacing:-1.2px;
}

.service-list-description{
    margin-bottom:22px;
}

.service-list-description p{
    margin-bottom:11px;
    color:#485345;
    font-size:13px;
    line-height:1.68;
}

.service-list-description p:last-child{
    margin-bottom:0;
}

.service-card-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:auto;
    min-height:44px;
    padding:12px 16px;
    border:1px solid var(--forest-900);
    border-radius:7px;
    color:var(--ivory-100);
    background:var(--forest-900);
    text-decoration:none;
    font-size:9px;
    font-weight:900;
    letter-spacing:1px;
    transition:
        transform .3s ease,
        background .3s ease;
}

.service-card-button:hover{
    background:var(--forest-950);
    transform:translateY(-2px);
}

/* =====================================================
   10. FOOTER
===================================================== */

.footer{
    color:var(--ivory-100);
    background:var(--forest-700);
    border-top:1px solid rgba(242,240,230,.10);
}

.footer-content{
    width:min(calc(100% - 80px),1280px);
    margin:0 auto;
    padding:38px 0 32px;
    display:grid;
    grid-template-columns:1.5fr .75fr 1fr;
    gap:55px;
    align-items:start;
}

.footer-brand{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    align-items:center;
    column-gap:17px;
}

.footer-logo{
    grid-row:1 / 3;
    width:160px;
    height:160px;
    object-fit:contain;
}

.footer h3{
    font-size:30px;
    letter-spacing:2px;
}

.footer-brand p{
    margin-top:4px;
    color:var(--sand-300);
    font-size:10px;
    font-weight:900;
    letter-spacing:4px;
}

.footer-brand > span{
    grid-column:1 / -1;
    display:block;
    max-width:440px;
    margin-top:18px;
    color:rgba(242,240,230,.76);
    font-size:14px;
    line-height:1.75;
}

.footer h4{
    margin-bottom:19px;
    color:var(--ivory-100);
    font-size:14px;
    letter-spacing:1px;
}

.footer-links,
.footer-contact{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.footer a,
.footer-contact p{
    margin-bottom:12px;
    color:rgba(242,240,230,.76);
    text-decoration:none;
    font-size:13px;
}

.footer a:hover{
    color:var(--sand-300);
}

.footer-bottom{
    padding:18px 5vw;
    border-top:1px solid rgba(242,240,230,.12);
    color:rgba(242,240,230,.64);
    text-align:center;
    font-size:12px;
}

.footer-phone-numbers{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:14px;
}

.footer-phone-numbers a{
    display:block;
    color:inherit;
    text-decoration:none;
}

.footer-phone-numbers strong,
.footer-phone-numbers span{
    display:block;
}

.footer-phone-numbers span{
    margin-top:4px;
}

/* =====================================================
   11. RESPONSIVE ADJUSTMENTS
   Each website section is grouped below.
===================================================== */


/* =====================================================
   NAVIGATION — TABLET
===================================================== */

@media(max-width:1080px){
    :root{
        --nav-height:88px;
    }

    .site-nav{
        min-height:88px;
        padding:9px 23px;
    }

    .logo img{
        height:64px;
    }

    .logo-text strong{
        font-size:22px;
    }

    .logo-text small{
        font-size:8px;
        letter-spacing:3px;
    }

    .nav-toggle{
        display:block;
        z-index:3;
    }

    .site-nav ul{
        position:fixed;
        top:0;
        right:0;
        width:min(380px,88vw);
        height:100vh;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        gap:4px;
        padding:75px 38px 45px;
        background:rgba(242,240,230,.98);
        box-shadow:-20px 0 60px rgba(27,42,31,.18);
        transform:translateX(110%);
        transition:transform .35s ease;
    }

    .site-nav ul.is-open{
        transform:translateX(0);
    }

    .site-nav ul a{
        width:100%;
        padding:14px 0;
        font-size:18px;
    }
}


/* =====================================================
   NAVIGATION — PHONE
===================================================== */

@media(max-width:620px){
    :root{
        --nav-height:76px;
    }

    .site-nav{
        min-height:76px;
        padding:8px 14px;
    }

    .site-nav.is-solid{
        min-height:68px;
    }

    .logo{
        gap:8px;
    }

    .logo img{
        height:52px;
    }

    .site-nav.is-solid .logo img{
        height:46px;
    }

    .logo-text strong{
        font-size:17px;
        letter-spacing:1.2px;
    }

    .logo-text small{
        margin-top:4px;
        font-size:6px;
        letter-spacing:2px;
    }

    .nav-toggle{
        width:42px;
        height:42px;
    }

    .site-nav ul a{
        font-size:18px;
    }
}


/* =====================================================
   HERO AND TRANSITION VIDEO — TABLET
===================================================== */

@media(max-width:1080px){
    .hero-cinematic-content{
        top:43%;
        left:5vw;
        width:56%;
    }

    .hero-cinematic-heading{
        font-size:clamp(45px,7.2vw,66px);
    }

    .hero-officer{
        top:88px;
        width:64vw;
        height:calc(100vh - 88px);
    }
}


/* =====================================================
   HERO AND TRANSITION VIDEO — PHONE
===================================================== */

@media (max-width:620px){

    /* Navigation */

    .site-nav{
        min-height:72px;
        padding:10px 14px;
    }

    .site-nav .logo{
        max-width:220px;
        gap:10px;
    }

    .site-nav .logo img{
        width:48px;
        height:auto;
    }

    .logo-text strong{
        font-size:18px;
        line-height:1;
        letter-spacing:1.5px;
    }

    .logo-text small{
        margin-top:6px;
        font-size:7px;
        letter-spacing:2.4px;
    }

    .nav-toggle{
        flex:0 0 44px;
        width:44px;
        height:44px;
    }


    /* Hero container */

    .hero-cinematic{
        min-height:70svh;
        overflow:hidden;
    }

    .hero-stage{
        position:relative;
        width:100%;
        height:100svh;
        min-height:620px;
        overflow:hidden;
    }

    .hero-cinematic-background{
        background:
            radial-gradient(
                circle at 72% 78%,
                rgba(122,133,94,.58),
                transparent 38%
            ),
            linear-gradient(
                180deg,
                var(--ivory-100) 0%,
                #e7e4d6 58%,
                var(--forest-700) 100%
            );
    }


    /* Hero text */

    .hero-cinematic-content{
        position:absolute;
        top:108px;
        left:20px;
        z-index:6;

        width:calc(100% - 40px);

        transform:none !important;
    }

    .hero-eyebrow{
        font-size:8px;
        letter-spacing:2.6px;
    }

    .hero-cinematic-heading{
        width:100%;
        max-width:300px;
        margin:0;

        font-size:clamp(38px,12vw,46px);
        line-height:.94;
        letter-spacing:-2px;
    }

    .hero-cinematic-heading span{
        display:block;
    }

    .hero-cinematic-description{
        width:54%;
        max-width:180px;
        margin:26px 0 0;

        font-size:15px;
        line-height:1.5;
    }

    .hero-cinematic-content .primary-button{
        position:relative;
        z-index:8;

        min-height:49px;
        margin-top:25px;
        padding:14px 21px;

        font-size:11px;
    }


    /* Officer */

    .hero-officer{
        position:absolute;
        top:125px;
        right:-34px;
        bottom:0;
        left:auto;
        z-index:4;

        display:flex;
        align-items:flex-end;
        justify-content:flex-end;

        width:300px;
        height:500px;

        transform:none !important;
    }

    .hero-officer img{
        display:block;

        width:100%;
        height:100%;
        max-width:none;

        object-fit:contain;
        object-position:right bottom;
    }


    /* Other hero elements */

    .hero-scroll-hint{
        display:none;
    }

    /* Horizontal 16:9 video while phone stays portrait */

.hero-video-reveal-frame{
    position:absolute;

    inset:auto;

    top:50%;
    left:50%;

    width:calc(100% - 24px);
    max-width:560px;

    height:auto;
    aspect-ratio:16 / 9;

    border-radius:16px;

    transform:translate(-50%, -50%);

    background:#000;
}

#transitionWhyVideo{
    width:100%;
    height:100%;

    object-fit:contain;

    background:#000;
}
}

/* =====================================================
   ROTATE DEVICE MESSAGE
===================================================== */

.rotate-device-message{
    display:none;
}


/* Phone + tablet in portrait */

@media (max-width:1024px) and (orientation:portrait){

    .rotate-device-message{
        position:absolute;
        inset:0;
        z-index:100;

        display:flex;
        align-items:center;
        justify-content:center;

        padding:30px;

        background:rgba(27,42,31,.96);
        color:var(--ivory-100);

        text-align:center;
    }

    .rotate-device-content{
        max-width:340px;
    }

    .rotate-phone-icon{
        margin-bottom:22px;

        font-size:60px;
        line-height:1;

        animation:rotateHint 1.8s ease-in-out infinite;
    }

    .rotate-device-content strong{
        display:block;

        font-size:24px;
        line-height:1.15;
        letter-spacing:2px;
    }

    .rotate-device-content p{
        margin-top:14px;

        color:rgba(242,240,230,.75);

        font-size:14px;
        line-height:1.6;
    }

}

/* Do not show rotate request on phones */

@media(max-width:620px){

    .rotate-device-message{
        display:none !important;
    }

}

@keyframes rotateHint{

    0%,
    100%{
        transform:rotate(0deg);
    }

    50%{
        transform:rotate(90deg);
    }

}

/* Hide message when visitor chooses portrait */

.rotate-device-message.is-dismissed{
    display:none !important;
}


/* Continue button */

.rotate-continue-button{
    margin-top:24px;
    padding:13px 20px;

    border:1px solid var(--sand-300);
    border-radius:6px;

    background:transparent;
    color:var(--ivory-100);

    font-size:10px;
    font-weight:800;
    letter-spacing:1.5px;

    cursor:pointer;
}

.rotate-continue-button:hover{
    background:var(--sand-300);
    color:var(--forest-950);
}


/* =====================================================
   WHY MORTELMANS — TABLET
===================================================== */

@media(max-width:900px){
    .why-promise-section{
        padding:95px 0 105px;
    }

    .why-promise-shell{
        width:min(calc(100% - 36px),760px);
        grid-template-columns:1fr;
        gap:65px;
    }

    .why-promise-intro{
        max-width:700px;
        margin:0 auto;
    }

    .why-promise-intro .section-kicker{
        font-size:15px;
    }

    .why-promise-intro h2{
        font-size:58px;
    }

    .why-promise-intro > p{
        margin-left:auto;
        margin-right:auto;
        font-size:19px;
    }

    .why-promise-item h3{
        font-size:27px;
    }

    .why-promise-item p{
        font-size:16px;
    }
}


/* =====================================================
   WHY MORTELMANS — PHONE
===================================================== */

@media(max-width:620px){
    .why-promise-section{
        padding:78px 0 85px;
    }

    .why-promise-shell{
        width:calc(100% - 28px);
        gap:52px;
    }

    .why-promise-intro h2{
        font-size:42px;
        letter-spacing:-2px;
    }

    .why-promise-intro > p{
        font-size:15px;
    }

    .why-promise-item{
        grid-template-columns:45px minmax(0,1fr);
        gap:13px;
        padding:23px 0;
    }

    .why-promise-item h3{
        font-size:20px;
    }

    .why-promise-item:hover{
        padding-left:0;
    }
}


/* =====================================================
   ABOUT — TABLET
===================================================== */

@media (max-width:900px){

    .about-section{
        padding:90px 0 70px;
    }

    .about-shell{
        width:min(calc(100% - 32px),760px);
    }

    .about-intro{
        max-width:680px;
        margin:0 auto 64px;
        text-align:center;
    }

    .about-intro h2{
        font-size:clamp(40px,7vw,56px);
        line-height:1.04;
        letter-spacing:-2px;
    }

    .about-intro p{
        margin-top:25px;
        font-size:16px;
        line-height:1.7;
    }

    .about-timeline{
        padding:0 0 60px;
    }

    .timeline-rail{
        top:0;
        bottom:25px;
        left:26px;
        transform:none;
    }

    .timeline-step{
        grid-template-columns:52px minmax(0,1fr);
        min-height:0;
        align-items:start;
        margin-bottom:72px;
    }

    /* Force every card onto the right side */

    .timeline-step:nth-of-type(odd) > .timeline-card,
    .timeline-step:nth-of-type(even) > .timeline-card{
        grid-column:2;
        grid-row:1;
    }

    /* Force every image below its card */

    .timeline-step:nth-of-type(odd) > .timeline-visual,
    .timeline-step:nth-of-type(even) > .timeline-visual{
        grid-column:2;
        grid-row:2;
        width:100%;
        min-height:300px;
        margin-top:18px;
    }

    /* Force every target onto the left timeline */

    .timeline-step:nth-of-type(odd) > .timeline-node,
    .timeline-step:nth-of-type(even) > .timeline-node{
        grid-column:1;
        grid-row:1;
        justify-self:center;
        align-self:start;
        margin-top:30px;
    }

    .timeline-step[data-step="3"] > .timeline-visual,
    .timeline-step[data-step="6"] > .timeline-visual{
        height:280px;
        min-height:280px;
    }
}


/* =====================================================
   ABOUT — PHONE
===================================================== */

@media (max-width:620px){

    .about-section{
        padding:70px 0 50px;
    }

    .about-shell{
        width:calc(100% - 20px);
    }

    .about-intro{
        margin:0 auto 52px;
        text-align:center;
    }

    .about-kicker{
        margin-bottom:15px;
        font-size:11px;
        letter-spacing:3px;
    }

    .about-intro h2{
        font-size:34px;
        line-height:1.06;
        letter-spacing:-1.8px;
    }

    .about-intro h2 span{
        margin-top:7px;
    }

    .about-intro p{
        margin-top:22px;
        font-size:15px;
        line-height:1.65;
    }

    .about-timeline{
        padding-top:0;
    }

    .timeline-rail{
        left:20px;
    }

    .timeline-step{
        grid-template-columns:40px minmax(0,1fr);
        margin-bottom:60px;
    }

    .timeline-step:nth-of-type(odd) > .timeline-card,
    .timeline-step:nth-of-type(even) > .timeline-card{
        grid-column:2;
        grid-row:1;
        width:100%;
        max-width:100%;
    }

    .timeline-step:nth-of-type(odd) > .timeline-visual,
    .timeline-step:nth-of-type(even) > .timeline-visual{
        grid-column:2;
        grid-row:2;
        width:100%;
        max-width:100%;
        min-height:210px;
        margin-top:14px;
    }

    .timeline-step:nth-of-type(odd) > .timeline-node,
    .timeline-step:nth-of-type(even) > .timeline-node{
        grid-column:1;
        grid-row:1;
        width:38px;
        height:38px;
        justify-self:center;
        margin-top:22px;
        transform:scale(.60);
    }

    .timeline-step.is-active:nth-of-type(odd) > .timeline-node,
    .timeline-step.is-active:nth-of-type(even) > .timeline-node{
        transform:scale(1);
        filter:none;
        box-shadow:
            0 0 0 2px rgba(242,240,230,.85),
            0 0 12px rgba(27,42,31,.25);
    }

    .timeline-node::before{
        height:48px;
    }

    .timeline-node::after{
        width:48px;
    }

    .timeline-projectile{
        width:10px;
        height:28px;
        filter:drop-shadow(0 0 4px rgba(255,255,255,.55));
    }

    /* Remove the oversized mobile glow */

    .timeline-projectile::before,
    .timeline-projectile::after{
        display:none;
    }

    .timeline-card,
    .timeline-visual{
        border-radius:17px;
    }

    .about-card-content{
        padding:24px 19px;
    }

    .about-card-content h3{
        margin-bottom:15px;
        font-size:27px;
    }

    .about-card-content p{
        font-size:14px;
        line-height:1.7;
    }

    .timeline-step[data-step="3"] > .timeline-visual,
    .timeline-step[data-step="6"] > .timeline-visual{
        height:220px;
        min-height:220px;
    }
}

/* =====================================================
   CONTACT — TABLET
===================================================== */

@media(max-width:900px){
    .contact-shell{
        width:min(calc(100% - 36px),760px);
    }

    .contact-layout{
        grid-template-columns:1fr;
    }

    .province-map svg{
        max-height:410px;
    }
}


/* =====================================================
   CONTACT — PHONE
===================================================== */

@media(max-width:620px){
    .contact-section{
        padding:70px 0 55px;
    }

    .contact-shell{
        width:calc(100% - 24px);
    }

    .contact-header{
        margin-bottom:40px;
        text-align:center;
    }

    .contact-header h2{
        font-size:40px;
        letter-spacing:-2px;
    }

    .contact-header p{
        font-size:15px;
    }

    .map-selector,
    .contact-form-panel{
        width:100%;
        padding:22px 18px;
        border-radius:20px;
    }

    .province-map{
        width:100%;
        max-width:100%;
        padding-left:0;
        padding-right:0;
        overflow:hidden;
    }

    .province-map svg{
        width:100%;
        max-width:100%;
        transform:translateX(18px);
    }

    .form-grid{
        width:100%;
        grid-template-columns:minmax(0,1fr);
    }

    input,
    select,
    textarea,
    button{
        width:100%;
    }
}

@media (max-width:620px){

    .south-africa-svg{
        width:100% !important;
        max-width:280px;
        height:auto !important;
        margin:0 auto;
        transform:none !important;
    }

}

/* =====================================================
   CONTACT MAP — CLEAN RESPONSIVE RESET
===================================================== */

.province-map{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:auto !important;
    min-height:0 !important;

    padding:0 12px;
    overflow:visible !important;
    box-sizing:border-box;
}

.south-africa-svg{
    position:static !important;
    display:block;

    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    max-height:none !important;

    margin:0 auto !important;

    transform:none !important;
    translate:none !important;

    overflow:visible !important;
}

@media (max-width:620px){

    .province-map{
        padding:0 6px;
    }

    .south-africa-svg{
        width:100% !important;
        max-width:290px !important;
    }
}


/* =====================================================
   17. OWNER UPDATE — IMPROVED SERVICES CATALOGUE
===================================================== */

.service-catalog-section{
    padding:100px 0 125px;
    background:#F6F5EE;
}

.service-catalog-shell{
    width:min(calc(100% - 80px),1420px);
    margin:0 auto;
}

.service-catalog-intro{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
    align-items:end;
    gap:60px;

    margin-bottom:38px;
    padding-bottom:28px;

    border-bottom:1px solid rgba(46,59,42,.16);
}

.service-catalog-intro .section-kicker{
    margin-bottom:13px;
}

.service-catalog-intro h2{
    max-width:820px;
    color:var(--forest-950);
    font-size:clamp(38px,4.5vw,62px);
    line-height:1;
    letter-spacing:-2.5px;
}

.service-catalog-intro > p{
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}

.service-filter-bar{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-bottom:38px;
}

.service-filter-button{
    min-height:44px;
    padding:11px 16px;

    border:1px solid rgba(46,59,42,.22);
    border-radius:999px;

    color:var(--forest-900);
    background:transparent;

    font-size:9px;
    font-weight:900;
    letter-spacing:1.1px;

    cursor:pointer;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.service-filter-button:hover{
    transform:translateY(-2px);
    border-color:var(--forest-700);
}

.service-filter-button.is-active{
    color:var(--ivory-100);
    background:var(--forest-900);
    border-color:var(--forest-900);
}

.service-catalog-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
    align-items:start;
}

.service-catalog-card{
    display:flex;
    flex-direction:column;
    min-height:100%;
    overflow:hidden;

    border:1px solid rgba(81,98,62,.18);
    border-radius:22px;

    background:var(--sage-card);
    box-shadow:0 20px 55px rgba(27,42,31,.12);

    opacity:0;
    transform:translateY(28px);

    transition:
        opacity .65s ease,
        transform .65s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.service-catalog-card[hidden]{
    display:none;
}

.service-catalog-card.is-visible{
    opacity:1;
    transform:translateY(0);
}

.service-catalog-card:hover{
    transform:translateY(-7px);
    border-color:rgba(81,98,62,.40);
    box-shadow:0 30px 70px rgba(27,42,31,.18);
}

.service-catalog-media{
    position:relative;
    height:235px;
    overflow:hidden;
    background:var(--forest-700);
}

.service-catalog-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.76) contrast(1.04);
    transform:scale(1.04);
    transition:
        transform .65s ease,
        filter .65s ease;
}

.service-catalog-card:hover .service-catalog-media img{
    transform:scale(1);
    filter:saturate(.96) contrast(1.04);
}

.service-catalog-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(27,42,31,.03) 35%,
        rgba(27,42,31,.72) 100%
    );
}

.service-number{
    position:absolute;
    left:20px;
    bottom:15px;
    z-index:2;

    color:var(--ivory-100);
    font-size:30px;
    font-weight:900;
}

.service-catalog-content{
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:flex-start;
    padding:29px 27px 27px;
}

.service-category-label{
    margin-bottom:12px;
    color:var(--forest-700);
    font-size:8px;
    font-weight:900;
    letter-spacing:1.6px;
}

.service-catalog-content h2{
    margin-bottom:15px;
    color:var(--forest-950);
    font-size:clamp(25px,2.4vw,34px);
    line-height:1.06;
    letter-spacing:-1.2px;
}

.service-summary{
    margin-bottom:19px;
    color:#4B5548;
    font-size:14px;
    line-height:1.68;
}

.service-feature-list{
    width:100%;
    margin:0 0 22px;
    padding:0;
    list-style:none;
}

.service-feature-list li{
    position:relative;
    padding:7px 0 7px 20px;
    border-bottom:1px solid rgba(46,59,42,.10);
    color:var(--forest-900);
    font-size:12px;
    line-height:1.45;
}

.service-feature-list li::before{
    content:"";
    position:absolute;
    top:13px;
    left:0;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--forest-700);
}

.service-details{
    width:100%;
    margin:0 0 13px;
    border-top:1px solid rgba(46,59,42,.13);
    border-bottom:1px solid rgba(46,59,42,.13);
}

.service-details summary{
    position:relative;
    padding:14px 28px 14px 0;
    color:var(--forest-900);
    font-size:9px;
    font-weight:900;
    letter-spacing:1.2px;
    list-style:none;
    cursor:pointer;
}

.service-details summary::-webkit-details-marker{
    display:none;
}

.service-details summary::after{
    content:"+";
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    color:var(--forest-700);
    font-size:20px;
    font-weight:500;
}

.service-details[open] summary::after{
    content:"−";
}

.service-details-copy{
    padding:0 0 16px;
}

.service-details-copy p{
    margin:0 0 11px;
    color:#485345;
    font-size:13px;
    line-height:1.68;
}

.service-details-copy p:last-child{
    margin-bottom:0;
}

.service-catalog-card .service-card-button{
    width:100%;
    margin-top:auto;
    text-align:center;
}

.services-final-cta{
    padding:105px 30px;
    color:var(--ivory-100);
    background:var(--forest-700);
    text-align:center;
}

.services-final-cta-shell{
    width:min(100%,920px);
    margin:0 auto;
}

.services-final-cta span{
    display:block;
    margin-bottom:16px;
    color:var(--sand-300);
    font-size:10px;
    font-weight:900;
    letter-spacing:3px;
}

.services-final-cta h2{
    margin-bottom:20px;
    color:var(--ivory-100);
    font-size:clamp(42px,5.7vw,72px);
    line-height:1;
    letter-spacing:-3px;
}

.services-final-cta p{
    max-width:710px;
    margin:0 auto 30px;
    color:rgba(242,240,230,.74);
    font-size:16px;
    line-height:1.72;
}

.services-final-button{
    color:var(--forest-950);
    background:var(--sand-300);
    border-color:var(--sand-300);
}

.services-final-button:hover{
    color:var(--forest-950);
    background:var(--ivory-100);
}


/* =====================================================
   SERVICES PAGE — TABLET
===================================================== */

@media(max-width:1100px){
    .services-card-columns{
        columns:1;
    }

    .service-catalog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .services-list-shell,
    .services-page-hero-shell,
    .service-catalog-shell,
    .service-trust-shell{
        width:min(calc(100% - 36px),760px);
    }

    .service-list-card{
        grid-template-columns:minmax(210px,.72fr) minmax(0,1.28fr);
    }

    .service-catalog-intro{
        grid-template-columns:1fr;
        gap:20px;
        text-align:center;
    }

}


/* =====================================================
   SERVICES PAGE — PHONE
===================================================== */

@media(max-width:620px){
    .services-page-hero{
        min-height:620px;
        padding:135px 0 75px;
    }

    .services-page-hero-shell{
        width:calc(100% - 28px);

    }

    .services-page-hero h1{
        font-size:49px;
        letter-spacing:-2.5px;
    }

    .services-page-hero p{
        font-size:15px;
    }

    .services-list-section{
        padding:70px 0 90px;
    }

    .services-list-shell,
    .service-catalog-shell{
        width:calc(100% - 24px);
    }

    .services-list-intro{
        flex-direction:column;
        gap:14px;
    }

    .service-list-card{
        grid-template-columns:1fr;
        border-radius:19px;
    }

    @media (max-width:620px){

    .services-page-hero .primary-button{
        display:inline-flex;
        width:auto;
        max-width:230px;
        min-height:44px;
        padding:12px 16px;

        font-size:10px;
        line-height:1.35;
        text-align:center;
    }
}

    .service-list-media{
        min-height:225px;
    }

    .service-list-content{
        padding:25px 20px;
    }

    .service-list-content h2{
        font-size:29px;
    }

    .service-catalog-section{
        padding:78px 0 90px;
    }

    .service-catalog-intro h2{
        font-size:38px;
        letter-spacing:-2px;
    }

    .service-filter-bar{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .service-filter-button{
        width:100%;
        padding:10px 9px;
        font-size:8px;
    }

    .service-catalog-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .service-catalog-media{
        height:210px;
    }

    .services-final-cta{
        padding:80px 20px;
    }
}


/* =====================================================
   FOOTER — TABLET
===================================================== */

@media (min-width:621px) and (max-width:1024px){

    .footer{
        overflow:hidden;
    }

    .footer-content{
        width:min(calc(100% - 48px),900px);
        margin:0 auto;
        padding:55px 0 45px;

        display:grid;
        grid-template-columns:1fr 1fr;
        gap:42px 60px;
    }

    /*
       Brand uses the full first row.
    */

    .footer-brand{
        grid-column:1 / -1;

        display:grid;
        grid-template-columns:120px minmax(0,1fr);
        column-gap:24px;
        align-items:start;
    }

    .footer-logo{
        width:115px;
        height:auto;
        margin:0;
    }

    .footer-brand > div{
        min-width:0;
    }

    .footer-brand h3{
        margin:0;
        font-size:32px;
        line-height:1;
        letter-spacing:3px;
        white-space:normal;
    }

    .footer-brand > div p{
        margin-top:12px;
    }

    .footer-brand > span{
        grid-column:1 / -1;

        display:block;
        max-width:580px;
        margin-top:20px;

        font-size:14px;
        line-height:1.7;
    }

    .footer-links,
    .footer-contact{
        min-width:0;
    }

    .footer-links h4,
    .footer-contact h4{
        margin-top:0;
    }

    .footer-bottom{
        padding:20px 24px;
        text-align:center;
    }
}


/* =====================================================
   FOOTER — PHONE
===================================================== */

@media (max-width:620px){

    .footer{
        width:100%;
        overflow:hidden;
    }

    .footer-content{
        width:100%;
        margin:0;
        padding:42px 22px;

        display:grid;
        grid-template-columns:1fr;
        gap:34px;
    }

    .footer-brand{
        display:block;
        width:100%;
    }

    .footer-logo{
        display:block;
        width:105px;
        height:auto;
        margin:0 0 18px;
    }

    .footer-brand > div{
        width:100%;
    }

    .footer-brand h3{
        margin:0;
        font-size:28px;
        line-height:1.05;
        letter-spacing:2px;
        white-space:normal;
        overflow-wrap:anywhere;
    }

    .footer-brand > div p{
        margin-top:10px;
        font-size:11px;
        letter-spacing:4px;
    }

    .footer-brand > span{
        display:block;
        width:100%;
        max-width:none;
        margin-top:22px;

        font-size:14px;
        line-height:1.7;
    }

    .footer-links,
    .footer-contact{
        width:100%;
        margin:0;
    }

    .footer-links h4,
    .footer-contact h4{
        margin:0 0 18px;
    }

    .footer-links a,
    .footer-contact a,
    .footer-contact p{
        display:block;
        margin-bottom:12px;
        overflow-wrap:anywhere;
    }

    .footer-bottom{
        width:100%;
        padding:20px 22px;
        text-align:center;
    }

    .footer-bottom p{
        margin:0;
        font-size:12px;
        line-height:1.6;
    }
}


/* =====================================================
   12. REDUCED MOTION
===================================================== */

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }

    .hero-video-reveal{
        display:flex !important;
    }

    .service-list-card,
    .service-catalog-card{
        opacity:1;
        transform:none;
    }
}

