
:root{
    --black:#05090d;
    --panel:#0a131b;
    --panel2:#0e1f2d;
    --blue:#2db7ff;
    --green:#42df83;
    --text:#eef9ff;
    --muted:#a9bdc9;
    --line:rgba(88,210,255,.22);
    --glow:0 0 50px rgba(45,183,255,.22)
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth
}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    background:radial-gradient(circle at 15% 10%,rgba(45,183,255,.16),transparent 28%),radial-gradient(circle at 85% 0%,rgba(66,223,131,.13),transparent 30%),linear-gradient(180deg,#030609,#07111a 45%,#030609);
    color:var(--text);
    overflow-x:hidden
}
a{
    color:inherit;
    text-decoration:none
}
p{
    color:var(--muted);
    line-height:1.75
}
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(3,7,11,.86);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line)
}
.brand-strip{
    height:86px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#071018;
    border-bottom:1px solid rgba(66,223,131,.25);
    overflow:hidden
}
.brand-strip img{
    width:100%;
    height:100%;
    object-fit:cover;
    max-width:1200px;
    filter:drop-shadow(0 0 22px rgba(45,183,255,.2))
}
.nav-shell{
    max-width:1220px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px
}
.mini-brand{
    display:flex;
    gap:10px;
    align-items:center;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase
}
.mark{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:12px;
    background:linear-gradient(135deg,rgba(45,183,255,.25),rgba(66,223,131,.18));
    box-shadow:var(--glow)
}
.primary-nav{
    display:flex;
    align-items:center;
    gap:6px
}
.primary-nav a,.drop-link{
    padding:12px 14px;
    border-radius:14px;
    color:#dff7ff;
    font-weight:700
}
.primary-nav a:hover,.drop-link:hover{
    background:rgba(45,183,255,.12);
    color:white
}
.nav-dropdown{
    position:relative
}
.dropdown-panel{
    display:none;
    position:absolute;
    top:44px;
    left:0;
    min-width:280px;
    background:rgba(5,12,18,.97);
    border:1px solid var(--line);
    border-radius:18px;
    padding:10px;
    box-shadow:0 25px 70px rgba(0,0,0,.45)
}
.nav-dropdown:hover .dropdown-panel{
    display:grid
}
.dropdown-panel a{
    display:block;
    border-radius:12px
}
.menu-toggle{
    display:none;
    background:none;
    border:0;
    width:44px
}
.menu-toggle span{
    display:block;
    height:3px;
    background:#eaffff;
    margin:7px 0;
    border-radius:2px
}
.mega-hero,.division-title{
    position:relative;
    min-height:560px;
    display:grid;
    place-items:center;
    text-align:center;
    padding:90px 20px;
    overflow:hidden;
    border-bottom:1px solid var(--line)
}
.mega-hero:before,.division-title:before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(3,7,11,.42),rgba(3,7,11,.92)),url('../assets/images/ft-banner.jpg') center/cover no-repeat;
    opacity:.5
}
.hero-inner,.division-title>*{
    position:relative;
    z-index:1
}
.kicker{
    color:var(--green);
    text-transform:uppercase;
    letter-spacing:.22em;
    font-weight:900;
    font-size:.82rem
}
.mega-hero h1,.division-title h1{
    font-size:clamp(3.5rem,10vw,9rem);
    line-height:.86;
    margin:12px 0;
    text-transform:uppercase;
    letter-spacing:-.08em;
    text-shadow:0 0 35px rgba(45,183,255,.36)
}
.hero-text,.division-title p:last-child{
    max-width:920px;
    margin:auto;
    font-size:clamp(1.1rem,2.5vw,1.55rem);
    color:#dbf8ff
}
.hero-actions{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px
}
.btn{
    display:inline-flex;
    padding:15px 22px;
    border-radius:999px;
    font-weight:900;
    border:1px solid var(--line)
}
.btn.primary{
    background:linear-gradient(135deg,var(--blue),var(--green));
    color:#031015;
    box-shadow:0 15px 45px rgba(45,183,255,.2)
}
.btn.ghost{
    background:rgba(255,255,255,.06)
}
.container{
    max-width:1180px;
    margin:auto;
    padding:86px 20px
}
.statement-band{
    max-width:1120px;
    margin:-70px auto 0;
    position:relative;
    z-index:2;
    padding:34px;
    border:1px solid rgba(66,223,131,.35);
    border-radius:30px;
    background:linear-gradient(135deg,rgba(45,183,255,.18),rgba(66,223,131,.1),rgba(255,255,255,.04));
    box-shadow:0 30px 80px rgba(0,0,0,.45)
}
.statement-band h2{
    font-size:clamp(1.7rem,4vw,3.2rem);
    line-height:1.05;
    margin:0
}
.split{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:42px;
    align-items:center
}
.split h2,.section-head h2,.cinematic h2,.matrix h2,.blueprint h2{
    font-size:clamp(2rem,4vw,4rem);
    line-height:1;
    margin:0 0 18px
}
.stat-stack{
    display:grid;
    gap:18px
}
.stat-stack div,.glass-list p,.feature-tower article,.blueprint-grid div,.matrix-grid div{
    border:1px solid var(--line);
    background:linear-gradient(145deg,rgba(14,31,45,.9),rgba(5,10,16,.9));
    border-radius:24px;
    padding:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.25)
}
.stat-stack b{
    font-size:3rem;
    color:var(--blue);
    display:block
}
.stat-stack span{
    color:var(--muted);
    font-weight:800
}
.section-head{
    max-width:850px;
    margin-bottom:34px
}
.division-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}
.division-card{
    min-height:290px;
    border:1px solid var(--line);
    border-radius:28px;
    padding:28px;
    position:relative;
    overflow:hidden;
    background:linear-gradient(160deg,rgba(45,183,255,.14),rgba(66,223,131,.08) 45%,rgba(255,255,255,.04));
    transition:.25s transform,.25s border
}
.division-card:before{
    content:"";
    position:absolute;
    inset:auto -40px -40px auto;
    width:160px;
    height:160px;
    border-radius:50%;
    background:rgba(66,223,131,.14);
    filter:blur(8px)
}
.division-card:hover{
    transform:translateY(-8px);
    border-color:rgba(66,223,131,.7)
}
.division-card span{
    color:var(--green);
    font-weight:900
}
.division-card h3{
    font-size:1.7rem;
    margin:20px 0 10px
}
.division-card b{
    color:#fff
}
.cinematic{
    margin:80px auto;
    max-width:1180px;
    text-align:center;
    border-block:1px solid var(--line);
    padding:90px 20px;
    background:radial-gradient(circle,rgba(45,183,255,.15),transparent 60%)
}
.timeline{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px
}
.timeline div{
    border-top:2px solid var(--green);
    background:rgba(255,255,255,.04);
    padding:26px;
    border-radius:0 0 24px 24px
}
.timeline span{
    font-size:3rem;
    color:var(--blue);
    font-weight:900
}
.glass-list{
    display:grid;
    gap:12px
}
.matrix-grid,.blueprint-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px
}
.division-showcase{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start
}
.feature-tower{
    display:grid;
    gap:15px
}
.feature-tower article span{
    color:var(--green);
    font-weight:900
}
.feature-tower article h3{
    margin:8px 0 0
}
.contact-layout{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:28px
}
.contact-form,.contact-card{
    border:1px solid var(--line);
    border-radius:30px;
    background:rgba(255,255,255,.045);
    padding:28px
}
.contact-form{
    display:grid;
    gap:16px
}
.contact-form label{
    display:grid;
    gap:8px;
    color:#dff7ff;
    font-weight:800
}
.contact-form input,.contact-form select,.contact-form textarea{
    width:100%;
    padding:15px;
    border-radius:14px;
    border:1px solid var(--line);
    background:#061019;
    color:white
}
.site-footer{
    border-top:1px solid var(--line);
    background:#03070b;
    padding:46px 20px
}
.footer-grid{
    max-width:1180px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:28px
}
.footer-grid div{
    display:grid;
    gap:10px
}
.footer-grid span,.footer-grid strong{
    color:white;
    font-weight:900
}
.footer-grid a{
    color:var(--muted)
}
.orb{
    position:absolute;
    border-radius:50%;
    filter:blur(12px);
    opacity:.45
}
.orb-a{
    width:220px;
    height:220px;
    background:rgba(45,183,255,.3);
    left:8%;
    top:20%
}
.orb-b{
    width:280px;
    height:280px;
    background:rgba(66,223,131,.22);
    right:8%;
    bottom:12%
}
.reveal{
    opacity:0;
    transform:translateY(22px);
    transition:.7s ease
}
.reveal.visible{
    opacity:1;
    transform:none
}

.portfolio-section {
    padding: 60px 20px;
}
.portfolio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.project-card {
    background: #0b1f2a;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.project-card:hover {
    background: #0f2e3f;
    transform: scale(1.03);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #0b1f2a;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
}
.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}
.visit-btn {
    display: inline-block;
    margin-top: 20px;
    background: #22c55e;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}


@media(max-width:900px){
    .brand-strip{
        height:62px
    }
    .menu-toggle{
        display:block
    }
    .primary-nav{
        position:absolute;
        display:none;
        left:14px;
        right:14px;
        top:134px;
        flex-direction:column;
        align-items:stretch;
        background:rgba(3,7,11,.98);
        border:1px solid var(--line);
        border-radius:22px;
        padding:12px
    }
    .primary-nav.open{
        display:flex
    }
    .nav-dropdown:hover .dropdown-panel{
        display:none
    }
    .dropdown-panel{
        position:static;
        display:grid;
        background:rgba(255,255,255,.035);
        box-shadow:none;
        min-width:0
    }
    .split,.division-showcase,.contact-layout,.footer-grid{
        grid-template-columns:1fr
    }
    .division-grid,.timeline,.matrix-grid,.blueprint-grid{
        grid-template-columns:1fr
    }
    .mega-hero,.division-title{
        min-height:480px
    }
    .mega-hero h1,.division-title h1{
        font-size:clamp(3rem,18vw,5.5rem)
    }
}


.coming-soon-banner {
    width: fit-content;
    margin: 0 0 24px 0;
    padding: 14px 22px;
    border: 2px solid var(--green);
    border-radius: 16px;
    color: var(--green);
    background: rgba(66, 223, 131, 0.08);
    box-shadow: 0 0 35px rgba(66, 223, 131, 0.18);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media(max-width:900px) {
    .coming-soon-banner {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* Dropdown hover stability fix
   Keeps the Divisions dropdown open while moving from the nav link
   into the dropdown panel on desktop. */
@media (min-width: 901px) {
    .nav-dropdown {
        position: relative;
        padding-bottom: 14px;
        margin-bottom: -14px;
    }

    .dropdown-panel {
        top: calc(100% - 1px);
        z-index: 999;
        margin-top: 0;
    }

    .nav-dropdown:hover .dropdown-panel,
    .nav-dropdown:focus-within .dropdown-panel,
    .dropdown-panel:hover {
        display: grid;
    }
}
