/* ===================================================
   SBN Storage & Automation — shared stylesheet
   =================================================== */
:root {
    --navy: #0B1330;
    --navy-2: #101B44;
    --navy-3: #152257;
    --blue: #1E4FD6;
    --blue-light: #4A8FE7;
    --white: #FFFFFF;
    --off: #F5F7FB;
    --gray: #5B6472;
    --gray-light: #9AA3B2;
    --silver: #C9CED6;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(11, 19, 48, 0.10);
    --shadow: 0 20px 50px -20px rgba(11, 19, 48, 0.35);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--navy);
    background: var(--off);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

@media(max-width:700px) {
    .wrap {
        padding: 0 20px;
    }
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.08;
    color: var(--navy);
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--blue);
    display: block;
}

.eyebrow.light {
    color: white;
}

.eyebrow.center {
    justify-content: center;
}

.eyebrow.center::before {
    display: none;
}



/* ================= NAV ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: #fff;

}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 100px;
    transition: height .35s var(--ease);
}

header.scrolled .brand img,
header.solid .brand img {
    height: 90px;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navlinks a {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    opacity: .82;
    position: relative;
    padding: 4px 0;
}

.navlinks a:hover,
.navlinks a.active {
    opacity: 1;
}

.navlinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--blue-light);
    transition: width .3s var(--ease);
}

.navlinks a:hover::after,
.navlinks a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    padding: 15px 30px;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid var(--blue);
    transition: background .25s, border-color .25s, transform .25s;
}

.nav-cta:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-1px);
}

.navlinks a.nav-cta::after {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: black;
    border: none;
    padding: 6px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    display: block;
    transition: transform .3s, opacity .3s;
}

@media(max-width:880px) {
    .navlinks {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background: white;
        color:black;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 26px;
        padding: 0 40px;
        transform: translateX(100%);
        transition: transform .4s var(--ease);
    }

    .navlinks.open {
        transform: translateX(0);
    }

    .navlinks a {
        font-size: 17px;
    }

    .burger {
        display: flex;
        color:black
    }

    .nav-cta {
        align-self: flex-start;
    }
}

/* ================= PAGE HEADER (non-hero pages) ================= */
.pagehead {
    position: relative;
    background: var(--navy);
    color: #fff;
    padding-top: calc(var(--header-h) + 90px);
    padding-bottom: 80px;
    overflow: hidden;
}

.pagehead .bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .28;
}

.pagehead .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagehead::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, rgba(6, 10, 26, .97) 10%, rgba(11, 19, 48, .75) 60%, rgba(11, 19, 48, .55));
}

.pagehead .inner {
    position: relative;
    z-index: 1;
}

.pagehead h1 {
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    max-width: 760px;
    text-transform: uppercase;
}

.pagehead p {
    color: rgba(255, 255, 255, .72);
    font-size: 16.5px;
    max-width: 520px;
    margin-top: 20px;
    line-height: 1.7;
}

.crumbs {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .06em;
    margin-bottom: 20px;
}

.crumbs a:hover {
    color: var(--blue-light);
}

/* Hero base styles - keeping your existing */
.hero {
    position: relative;
    padding: 50px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: rgba(7, 7, 95, 0.295);
}

.hero .bgwrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .bgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(6, 10, 26, 0.447) 0%, rgba(8, 14, 36, 0.414) 32%, rgba(11, 19, 48, 0.337) 58%, rgba(20, 35, 80, 0.386) 100%),
        linear-gradient(0deg, rgba(6, 10, 26, 0.39) 0%, rgba(6, 10, 26, 0.308) 30%);
}

.hero .content {
    position: relative;
    z-index: 2;
    padding: 170px 0 120px;
    width: 100%;
}

.hero h1 {
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    max-width: 820px;
    text-transform: uppercase;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue-light);
}

.hero p.lead {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.65;
    max-width: 520px;
    margin-top: 24px;
    font-weight: 400;
}

.hero .ctas {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 16px 30px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .02em;
    border: 1px solid var(--blue);
    transition: all .25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--blue-light);
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.btn-ghost {
    color: #fff;
    padding: 16px 30px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .02em;
    border: 1px solid rgba(255, 255, 255, .35);
    transition: all .25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .06);
}

.hero .capstrip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--line);
    padding: 26px 0;
}

.capstrip .wrap {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.capstrip .cap {
    flex: 1 1 220px;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 28px;
    border-left: 1px solid var(--line);
}

.capstrip .cap:first-child {
    border-left: none;
    padding-left: 0;
}

.capstrip .cap b {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--blue-light);
    font-weight: 500;
}

.scrollcue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .55);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.scrollcue .line {
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), transparent);
    animation: scrolldown 1.8s infinite;
}

@keyframes scrolldown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.01% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ===== NEW: HERO WITH FORM LAYOUT ===== */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text-col {
    color: #fff;
}

.hero-text-col .eyebrow {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-text-col h1 {
    max-width: 100%;
    margin: 12px 0 0;
}

.hero-text-col .lead {
    max-width: 100%;
}

/* Hero Form Card */
.hero-form-col {
    position: relative;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 8px;
    padding: 32px 30px 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-form-card h3 {
    color: #0a0a1a;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.hero-form-card .form-sub {
    color: #666;
    font-size: 13px;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e8eaed;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #f8f9fa;
    transition: all .2s ease;
    box-sizing: border-box;
    color: #1a1a2e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue, #1E4FD6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 79, 214, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 52px;
    max-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    color: #1a1a2e;
}

.form-group select option {
    color: #1a1a2e;
}

.form-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    background: var(--blue, #1E4FD6);
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    transition: all .25s ease;
    margin-top: 4px;
}

.form-btn:hover {
    background: var(--blue-light, #3366ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(30, 79, 214, 0.35);
}

.hero-form-card .form-foot {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 14px 0 0 0;
    letter-spacing: .02em;
}

/* Form success/error states */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background: #fff8f8;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #28a745;
    background: #f8fff8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-content-grid {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }
}

@media (max-width: 920px) {
    .hero .content {
        padding: 120px 0 80px;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 600px;
    }
    
    .hero-text-col h1 {
        font-size: clamp(32px, 5vw, 48px);
    }
    
    .hero-form-card {
        padding: 28px 24px 24px;
    }
    
    .capstrip .cap {
        border-left: none;
        flex: 1 1 100%;
        padding: 6px 0;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 20px;
        min-height: auto;
    }
    
    .hero .content {
        padding: 80px 0 60px;
    }
    
    .hero-content-grid {
        gap: 30px;
        padding: 0 10px;
    }
    
    .hero-text-col .eyebrow {
        font-size: 11px;
    }
    
    .hero-text-col h1 {
        font-size: clamp(26px, 7vw, 36px);
    }
    
    .hero-text-col .lead {
        font-size: 15px;
    }
    
    .hero .ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero .ctas a {
        width: 100%;
        justify-content: center;
    }
    
    .hero-form-card {
        padding: 20px 16px 18px;
        border-radius: 6px;
    }
    
    .hero-form-card h3 {
        font-size: 17px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .scrollcue {
        display: none;
    }
    
    .capstrip {
        padding: 16px 0;
    }
    
    .capstrip .cap {
        font-size: 11px;
        padding: 4px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scrollcue .line {
        animation: none;
    }
    .shutter .slats span {
        transition: none;
    }
    .rise {
        transition: none;
    }
}

/* ================= SECTION GENERIC ================= */
section {
    position: relative;
}

.sec-pad {
    padding: 110px 0;
}

.sec-pad-sm {
    padding: 70px 0;
}

@media(max-width:700px) {
    .sec-pad {
        padding: 76px 0;
    }

    .sec-pad-sm {
        padding: 50px 0;
    }
}

.section-alt {
    background: var(--white);
}

/* ================= ABOUT ================= */
.about-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 64px;
    align-items: center;
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

.about-media {
    position: relative;
}

.about-media .frame {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/5;
}

.about-media .badge {
    position: absolute;
    left: -1px;
    bottom: 26px;
    background: var(--navy);
    color: #fff;
    padding: 20px 26px;
    max-width: 230px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--blue);
}

.about-media .badge .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 24px;
    color: var(--blue-light);
    font-weight: 600;
}

.about-media .badge .cap {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin-top: 4px;
    line-height: 1.4;
}

.about-text h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin-bottom: 22px;
}

.about-text p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 540px;
}

.about-list {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.about-list .item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 8px;
    flex: none;
}

.about-list .item div b {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.about-list .item div span {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-top: 2px;
}

/* value / pillar cards (about page) */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line-dark);
    margin-top: 50px;
}

@media(max-width:800px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

.pillar {
    background: #fff;
    padding: 36px 30px;
}

.pillar .n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 16px;
}

.pillar h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.pillar p {
    color: var(--gray);
    font-size: 14.5px;
    line-height: 1.7;
}

/* timeline (about page) */
.timeline {
    margin-top: 60px;
    border-top: 1px solid var(--line-dark);
}

.tl-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-dark);
}

@media(max-width:600px) {
    .tl-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.tl-row .yr {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--blue);
    font-size: 15px;
    font-weight: 600;
}

.tl-row h4 {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.tl-row p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    max-width: 600px;
}

/* ================= SERVICES ================= */
.headrow {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.headrow h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    max-width: 560px;
}

.headrow p {
    color: var(--gray);
    max-width: 340px;
    font-size: 15px;
    line-height: 1.7;
}

.servgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--line-dark);
}

@media(max-width:980px) {
    .servgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .servgrid {
        grid-template-columns: 1fr;
    }
}

.servcard {
    background: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
}

.servcard .imgbox {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--navy);
}

.servcard .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.servcard:hover .imgbox img {
    transform: scale(1.07);
}

.servcard .imgbox .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: #fff;
    background: rgba(11, 19, 48, .55);
    padding: 5px 10px;
    backdrop-filter: blur(4px);
}

.servcard .body {
    padding: 26px 24px 30px;
    flex: 1;
}

.servcard .body h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.servcard .body p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.servcard .body a.more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.servcard .body a.more:hover {
    color: var(--blue-light);
}

/* detailed solution block (solutions page) */
.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--line-dark);
}

.solution-block:first-of-type {
    border-top: none;
}

.solution-block.reverse {
    direction: rtl;
}

.solution-block.reverse>* {
    direction: ltr;
}

@media(max-width:900px) {
    .solution-block {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 56px 0;
    }

    .solution-block.reverse {
        direction: ltr;
    }
}

.solution-block .media .frame {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 6/5;
}

.solution-block .idxnum {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--blue);
    margin-bottom: 16px;
}

.solution-block h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 16px;
}

.solution-block p {
    color: var(--gray);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 520px;
}

.spec-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.spec-list li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--navy);
}

.spec-list li::before {
    content: "—";
    color: var(--blue);
    flex: none;
}

/* ================= PROCESS ================= */
.process {
    background: var(--navy);
    color: #fff;
}

.process .eyebrow {
    color: var(--blue-light);
}

.process h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    max-width: 600px;
    margin-bottom: 60px;
}

.proc-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

@media(max-width:980px) {
    .proc-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:560px) {
    .proc-row {
        grid-template-columns: 1fr;
    }
}

.proc-item {
    padding: 34px 26px 34px 0;
    border-right: 1px solid var(--line);
    position: relative;
}

.proc-row .proc-item:last-child {
    border-right: none;
}

@media(max-width:980px) {
    .proc-item:nth-child(2n) {
        border-right: none;
    }
}

@media(max-width:560px) {
    .proc-item {
        border-right: none !important;
    }
}

.proc-item .idx {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--blue-light);
    font-size: 13px;
    margin-bottom: 18px;
}

.proc-item h4 {
    color: #fff;
    font-size: 16.5px;
    margin-bottom: 10px;
}

.proc-item p {
    color: rgba(255, 255, 255, .62);
    font-size: 13.5px;
    line-height: 1.7;
}

/* ================= STATS BAND ================= */
.stats {
    position: relative;
    color: #fff;
}

.stats .bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stats .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats .bg::after {
    content: "";
    position: absolute;
    inset: 0;
   background: linear-gradient(180deg, rgba(6, 10, 26, 0.94), rgba(11, 19, 48, 0.88) 55%, rgba(11, 19, 48, 0.80) 100%);
}

.stats .inner {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media(max-width:880px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat b {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--blue-light);
    font-weight: 600;
}

.stat span {
    display: block;
    color: rgb(255, 255, 255);
    font-size: 13.5px;
    margin-top: 8px;
    letter-spacing: .02em;
}

.stats h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    max-width: 640px;
}

/* ================= INDUSTRIES ================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line-dark);
}

@media(max-width:900px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:560px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

.ind-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.ind-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.ind-card:hover img {
    transform: scale(1.06);
}

.ind-card .ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 10, 26, .88) 0%, rgba(6, 10, 26, .15) 55%, rgba(6, 10, 26, .35) 100%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
}

.ind-card .ov span {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17px;
}

/* ================= GALLERY ================= */
.gal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 6px;
}

.gal-grid .g1 {
    grid-column: span 3;
    grid-row: span 2;
}

.gal-grid .g2 {
    grid-column: span 3;
    grid-row: span 1;
}

.gal-grid .g3 {
    grid-column: span 2;
    grid-row: span 1;
}

.gal-grid .g4 {
    grid-column: span 3;
    grid-row: span 1;
}

.gal-grid .g5 {
    grid-column: span 2;
    grid-row: span 1;
}

.gal-grid .g6 {
    grid-column: span 2;
    grid-row: span 1;
}

@media(max-width:900px) {
    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 220px);
    }

    .gal-grid .g1,
    .gal-grid .g2,
    .gal-grid .g3,
    .gal-grid .g4,
    .gal-grid .g5,
    .gal-grid .g6 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.gal-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 16px 18px;
    background: linear-gradient(0deg, rgba(6, 10, 26, .85), rgba(6, 10, 26, 0));
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    transform: translateY(8px);
    opacity: 0;
    transition: all .3s var(--ease);
}

.shutter:hover .gal-cap {
    transform: translateY(0);
    opacity: 1;
}

/* full gallery page grid with filter tabs */
.filterbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filterbtn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    transition: all .25s;
    border-radius: 2px;
}

.filterbtn:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filterbtn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.mgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

@media(max-width:900px) {
    .mgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:560px) {
    .mgrid {
        grid-template-columns: 1fr;
    }
}

.mgrid .shutter {
    aspect-ratio: 4/3;
}

.mgrid .mitem {
    transition: opacity .3s, transform .3s;
}

.mgrid .mitem.hide {
    display: none;
}

/* ================= FAQ ================= */
.faq {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--line-dark);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.faq-q .plus {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--blue);
    font-size: 18px;
    transition: transform .3s;
    flex: none;
}

.faq-item.open .faq-q .plus {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}

.faq-a p {
    color: var(--gray);
    font-size: 14.5px;
    line-height: 1.75;
    padding-bottom: 22px;
    max-width: 640px;
}

/* ================= CTA BAND ================= */
.ctaband {
    background: var(--blue);
    position: relative;
    overflow: hidden;
}

.ctaband .wrap {
    padding: 80px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ctaband h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    max-width: 520px;
}

.ctaband .btn-primary {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
}

.ctaband .btn-primary:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.ctaband .gearimg {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    opacity: .16;
    z-index: 0;
    animation: spin 40s linear infinite;
}

.ctaband .gearimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(1.6);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@media(max-width:700px) {
    .ctaband .gearimg {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ctaband .gearimg {
        animation: none;
    }
}

/* ================= CONTACT ================= */
.contact {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: .35;
    mask-image: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, .9), transparent 70%);
}

.contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

@media(max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.contact h2 {
    color: #fff;
    font-size: clamp(28px, 3.6vw, 44px);
    margin-bottom: 22px;
}

.contact p.lead {
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 36px;
}

.contact-info {
    display: grid;
    gap: 26px;
}

.contact-info .row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.contact-info .row .k {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--blue-light);
    text-transform: uppercase;
    width: 110px;
    flex: none;
    padding-top: 2px;
}

.contact-info .row .v {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.6;
}

.contact-info .row .v a:hover {
    color: var(--blue-light);
}

.contact-form {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 2px;
}

.contact-form h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}

.contact-form .sub {
    color: rgba(255, 255, 255, .6);
    font-size: 13.5px;
    margin-bottom: 26px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 12px;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'IBM Plex Mono', monospace;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    color: #fff;
    padding: 13px 14px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    border-radius: 2px;
    transition: border-color .25s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-light);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:520px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.submitbtn {
    width: 100%;
    background: var(--blue);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .25s;
    font-family: 'Inter', sans-serif;
}

.submitbtn:hover {
    background: var(--blue-light);
}

.formnote {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
    margin-top: 14px;
}

/* map embed block */
.mapblock {
    position: relative;
    height: 340px;
    border: 1px solid var(--line);
    margin-top: 40px;
    overflow: hidden;
    border-radius: 2px;
}

.mapblock iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.15) contrast(1.05);
}

/* ================= FOOTER ================= */
footer {
    background: #040404;
    color: rgb(255, 255, 255);
    padding: 56px 0 28px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}

@media(max-width:800px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:520px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.foot-brand img {
    height: 100px;
    width: auto;
    margin-bottom: 16px;
}

.foot-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    max-width: 260px;
    color: rgba(255, 255, 255, 0.986);
}

.foot-col h5 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 18px;
}

.foot-col a,
.foot-col p {
    display: block;
    font-size: 14px;
    color: rgb(255, 255, 255);
    margin-bottom: 12px;
    line-height: 1.6;
}

.foot-col a:hover {
    color: #fff;
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .4);
    flex-wrap: wrap;
    gap: 10px;
}

/* reveal-on-scroll utility */
.rise {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.rise.in {
    opacity: 1;
    transform: translateY(0);
}

.no-js .rise {
    opacity: 1;
    transform: none;
}

/* skeleton shimmer while images lazy-load (perceived performance) */
img[loading="lazy"] {
    background: linear-gradient(100deg, #e7eaf1 30%, #f2f4f8 50%, #e7eaf1 70%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

img[loading="lazy"].loaded {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* back to top */
.totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    border: 1px solid var(--line);
    cursor: pointer;
}

.totop.show {
    opacity: 1;
    pointer-events: auto;
}

.totop:hover {
    transform: translateY(-3px);
    background: var(--blue);
}


/* image fix  */
/* FIX: Ensure all images are visible */
img {
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

/* FIX: Ensure shutter images are above the slats */
.shutter img {
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
}

/* FIX: Lower the slats z-index so they don't block images */
.shutter .slats {
    position: absolute;
    inset: 0;
    z-index: 1 !important; /* Changed from 3 to 1 */
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

/* FIX: Make sure images in shutter have a background */
.shutter {
    background: #1a1a2e;
}

/* FIX: Remove any opacity animations that might hide images */
img[loading="lazy"] {
    background: linear-gradient(100deg, #e7eaf1 30%, #f2f4f8 50%, #e7eaf1 70%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    opacity: 1 !important; /* Override any opacity settings */
}

img[loading="lazy"].loaded {
    animation: none;
    background: none;
    opacity: 1 !important;
}

/* FIX: Ensure revealed state doesn't hide images */
.shutter.revealed img {
    opacity: 1 !important;
}

/* FIX: Override any inline opacity */
.rise {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.rise.in {
    opacity: 1;
    transform: translateY(0);
}

/* FIX: Ensure images inside rise elements become visible */
.rise img {
    opacity: 1 !important;
}