:root {
    --mx-bg: #050908;
    --mx-bg-2: #091210;
    --mx-panel: rgba(10, 20, 20, 0.78);
    --mx-panel-strong: rgba(12, 24, 24, 0.93);
    --mx-line: rgba(147, 232, 210, 0.16);
    --mx-line-strong: rgba(147, 232, 210, 0.31);
    --mx-text: #edf7f5;
    --mx-muted: #a9bebd;
    --mx-soft: #d4e4e2;
    --mx-cyan: #7df4df;
    --mx-gold: #d9b36b;
    --mx-ink: #08100f;
    --mx-steel: #5f7d80;
}

html,
body {
    background: var(--mx-bg);
    color: var(--mx-soft);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body {
    overflow-x: hidden;
}

a,
a:hover,
a:focus {
    outline-color: var(--mx-cyan);
}

.container {
    max-width: 1180px;
}

#preloader {
    background: var(--mx-bg);
    opacity: 1;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

#loading {
    transition: opacity 0.32s ease;
}

#loading.is-hidden,
#preloader.is-hidden {
    opacity: 0;
}

#preloader.is-hidden {
    pointer-events: none;
}

#preloader.is-gone {
    display: none !important;
}

#mainNav {
    background: rgba(6, 15, 15, 0.62) !important;
    border-bottom: 1px solid rgba(147, 232, 210, 0.16) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    min-height: 78px;
    transition: background 0.25s ease, border-color 0.25s ease, min-height 0.25s ease;
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
    #mainNav {
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

#mainNav.affix {
    background: rgba(5, 12, 12, 0.92) !important;
    border-bottom-color: rgba(147, 232, 210, 0.24) !important;
    min-height: 66px;
}

#mainNav .container,
#mainNav .container-fluid {
    min-height: inherit;
}

#mainNav .navbar-header {
    left: auto !important;
    position: static !important;
    top: auto !important;
}

#mainNav .navbar-brand {
    align-items: center;
    display: flex !important;
    height: 78px;
    max-width: none !important;
    padding: 12px 0;
}

#mainNav.affix .navbar-brand {
    height: 66px;
}

#mainNav .navbar-brand img {
    height: 50px !important;
    margin: 0 !important;
    max-height: 50px;
    width: auto;
}

.navbar-default .navbar-nav > li > a {
    border-bottom: 0;
    color: rgba(237, 247, 245, 0.78);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 31px 15px 27px;
    text-transform: uppercase;
}

#mainNav.affix .navbar-nav > li > a {
    padding-top: 25px;
    padding-bottom: 21px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
    background: rgba(99, 234, 208, 0.1);
    border-bottom: 0;
    color: var(--mx-cyan);
}

.header {
    background:
        linear-gradient(180deg, rgba(3, 8, 10, 0.22), rgba(3, 8, 10, 0.78) 68%, var(--mx-bg) 100%),
        linear-gradient(110deg, rgba(99, 234, 208, 0.18), rgba(228, 181, 94, 0.08) 46%, rgba(5, 8, 11, 0.62)),
        url("../img/header.jpg") repeat fixed center center / cover;
    height: auto;
    min-height: 100vh;
    padding: 128px 0 92px;
    position: relative;
}

.header::before {
    background:
        linear-gradient(rgba(147, 232, 210, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 232, 210, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    inset: 0;
    opacity: 0.34;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.header::after {
    background: linear-gradient(180deg, transparent 0%, rgba(7, 16, 15, 0.16) 54%, var(--mx-bg) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.header .container,
.header-content,
#owl-demo {
    position: relative;
    z-index: 1;
}

.delaunay-canvas {
    mix-blend-mode: screen;
    opacity: 0.42;
}

.header-text {
    background: linear-gradient(180deg, rgba(8, 17, 17, 0.72), rgba(8, 17, 17, 0.52));
    border: 1px solid rgba(147, 232, 210, 0.22);
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    margin: 0 auto;
    max-width: 1050px;
    padding: 28px 28px 30px !important;
    width: min(92vw, 1050px);
}

@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .header-text {
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
}

.header-text h3 {
    color: var(--mx-text);
    font-size: clamp(26px, 3vw, 46px);
    font-weight: 760;
    line-height: 1.16;
    margin: 4px auto 26px;
    max-width: 980px;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.48);
}

.header-text h3 span {
    color: var(--mx-cyan);
}

.featured-project-media {
    background: rgba(6, 12, 13, 0.84);
    border: 1px solid rgba(147, 232, 210, 0.3);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    margin: 0 auto 26px;
    max-width: 850px;
    width: min(78vw, 850px);
}

#owl-demo .owl-item div {
    padding: 0;
}

#owl-demo .owl-item img {
    border-radius: 0;
}

.btn-ornge {
    background: rgba(99, 234, 208, 0.1);
    border: 1px solid rgba(99, 234, 208, 0.72);
    border-radius: 4px;
    color: var(--mx-text);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    min-width: 230px;
    padding: 13px 18px;
    text-transform: uppercase;
    width: auto;
}

.btn-ornge:hover,
.btn-ornge:focus {
    background: rgba(99, 234, 208, 0.18);
    border-color: var(--mx-cyan);
    color: var(--mx-cyan);
    transform: translateY(-1px);
}

.owl-theme .owl-controls .owl-buttons div {
    background: rgba(7, 16, 15, 0.66) !important;
    border: 1px solid rgba(147, 232, 210, 0.28);
    border-radius: 6px;
    color: rgba(237, 247, 245, 0.82) !important;
    font-size: 44px !important;
    height: 96px;
    line-height: 82px;
    width: 48px;
}

.owl-theme .owl-controls .owl-buttons div:hover {
    background: rgba(99, 234, 208, 0.2) !important;
    color: var(--mx-cyan) !important;
}

section {
    position: relative;
}

.title h2,
#about h2,
#Services h2 {
    color: var(--mx-text);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1.1;
}

.title p {
    color: var(--mx-muted);
    font-size: 16px;
    line-height: 1.75;
}

#about,
#Services {
    background:
        linear-gradient(135deg, rgba(147, 232, 210, 0.08), transparent 28%),
        linear-gradient(180deg, var(--mx-bg) 0%, var(--mx-bg-2) 100%);
    color: var(--mx-soft);
    padding: 104px 0;
}

#Services {
    background:
        linear-gradient(140deg, rgba(228, 181, 94, 0.08), transparent 30%),
        linear-gradient(180deg, #091211 0%, #0c1715 100%);
}

#about .row,
#Services .row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

#about h2,
#Services h2 {
    padding: 0 0 24px;
    text-align: left;
}

#about h2::before,
#about h2::after,
#Services h2::before,
#Services h2::after {
    display: none;
}

#about h2::after,
#Services h2::after,
.project-index-section .title h2::after,
#team .title h2::after {
    background: linear-gradient(90deg, var(--mx-cyan), rgba(228, 181, 94, 0.82));
    content: "";
    display: block;
    height: 2px;
    margin-top: 18px;
    width: 92px;
}

#team .title h2::after,
.project-index-section .title h2::after {
    margin-left: auto;
    margin-right: auto;
}

#about p,
#Services p {
    color: var(--mx-muted);
    font-size: 16px;
    line-height: 1.88;
    padding: 0 0 16px;
}

#about strong {
    color: var(--mx-text);
}

#about img,
#Services .img-left,
#Services .img-right {
    border: 1px solid rgba(147, 232, 210, 0.22);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    max-width: 100%;
}

#team {
    background:
        linear-gradient(rgba(147, 232, 210, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 232, 210, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #08100f 0%, #111919 100%);
    background-size: 84px 84px, 84px 84px, auto;
    color: var(--mx-soft);
    padding: 104px 0 122px;
}

#team .title {
    padding-bottom: 48px;
}

#team .title p a {
    color: var(--mx-gold) !important;
    cursor: pointer;
}

.timg {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(147, 232, 210, 0.18);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.timg > img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
}

.timg:hover::after {
    background: rgba(7, 16, 15, 0.22);
}

.t-box {
    background: var(--mx-panel);
    border: 1px solid rgba(147, 232, 210, 0.18);
    border-radius: 0 0 10px 10px;
    border-top: 0;
    color: var(--mx-soft);
    min-height: 154px;
    padding: 22px 18px 24px;
}

.t-box h3 {
    color: var(--mx-text);
    font-size: 19px;
    font-weight: 760;
    margin-top: 0;
}

.t-box span {
    color: var(--mx-muted);
}

.t-box .people-interest {
    display: block;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
    min-height: 38px;
}

.t-box .people-interest--initiator {
    color: var(--mx-gold);
}

.t-box .social-links a {
    align-items: center;
    border: 1px solid rgba(147, 232, 210, 0.2);
    border-radius: 50%;
    color: var(--mx-cyan);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.t-box .social-links a:hover {
    background: rgba(99, 234, 208, 0.12);
    color: var(--mx-text);
}

.for-box {
    background:
        linear-gradient(180deg, rgba(6, 14, 14, 0.88), rgba(6, 14, 14, 0.92)),
        url("../img/header6.jpg") no-repeat fixed center bottom / cover;
    padding: 118px 0 120px;
}

.for-box > .wow:first-child {
    margin: 0 0 58px !important;
}

.for-box > .wow:first-child span {
    color: var(--mx-text) !important;
    display: inline-block;
    font-size: clamp(30px, 4vw, 54px) !important;
    font-weight: 790;
    line-height: 1.1;
    max-width: 960px;
    text-shadow: none !important;
}

.for-box .col-md-3 {
    margin-bottom: 30px;
}

.for-box-crecl {
    border: 1px solid rgba(147, 232, 210, 0.22);
    border-radius: 10px 10px 0 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    height: 148px;
    left: auto !important;
    margin: 0;
    position: relative;
    top: auto !important;
    width: 100%;
    z-index: 1;
}

.for-box .clr1,
.for-box .clr2,
.for-box .clr3,
.for-box .clr4 {
    background: rgba(13, 27, 27, 0.88);
    border-left: 1px solid rgba(147, 232, 210, 0.22);
    border-right: 1px solid rgba(147, 232, 210, 0.22);
    color: var(--mx-text);
    min-height: 132px;
    padding: 26px 16px 24px;
}

.for-box .clr1::before,
.for-box .clr2::before,
.for-box .clr3::before,
.for-box .clr4::before,
.clr1-a,
.clr2-a,
.clr3-a,
.clr4-a,
.clr1-a::after,
.clr2-a::after,
.clr3-a::after,
.clr4-a::after {
    display: none;
}

.for-box .clr1 h2,
.for-box .clr2 h2,
.for-box .clr3 h2,
.for-box .clr4 h2 {
    font-size: 22px;
    font-weight: 780;
    line-height: 1.25;
    margin: 0;
}

.wbox {
    background: rgba(9, 18, 18, 0.9);
    border: 1px solid rgba(147, 232, 210, 0.22);
    border-radius: 0 0 10px 10px;
    color: var(--mx-muted);
    margin-bottom: 0;
    min-height: 246px;
    padding: 24px 22px 28px;
}

.wbox strong {
    color: var(--mx-gold);
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
}

.wbox p {
    line-height: 1.72;
    padding: 0;
}

.project-index-section {
    background:
        linear-gradient(135deg, rgba(99, 234, 208, 0.07), transparent 24%),
        linear-gradient(180deg, #07100f 0%, #0c1614 100%);
    border-top: 1px solid rgba(147, 232, 210, 0.14);
    color: var(--mx-soft);
}

.project-index-section .title h2 {
    color: var(--mx-text);
}

.project-index-section .title p {
    color: var(--mx-muted);
}

.project-index-updated {
    background: rgba(99, 234, 208, 0.08);
    border-color: rgba(147, 232, 210, 0.28);
    color: var(--mx-cyan);
}

.project-card {
    background: var(--mx-panel);
    border-color: rgba(147, 232, 210, 0.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.project-card:hover {
    border-color: rgba(99, 234, 208, 0.54);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.project-card-media {
    background: rgba(4, 10, 10, 0.7);
    border-bottom-color: rgba(147, 232, 210, 0.16);
    height: 192px;
}

.project-card-media picture,
.project-card-media img {
    background: transparent;
}

.project-card-meta {
    color: rgba(212, 228, 226, 0.62);
}

.project-card h3 {
    color: var(--mx-text);
}

.project-card p {
    color: var(--mx-muted);
}

.project-card-footer {
    border-top-color: rgba(147, 232, 210, 0.13);
}

.project-status,
.project-date,
.project-tags span {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(147, 232, 210, 0.18);
    color: var(--mx-soft);
}

.project-tags span {
    color: rgba(237, 247, 245, 0.74);
}

.project-card-link {
    color: var(--mx-cyan);
}

#contact {
    background:
        linear-gradient(180deg, rgba(6, 14, 14, 0.82), rgba(6, 14, 14, 0.92)),
        url("../img/header3.jpg") no-repeat center center / cover;
    color: var(--mx-text);
}

#contact .title h2,
#contact .title p {
    color: var(--mx-text);
}

#contact input[type="text"],
#contact input[type="email"] {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(147, 232, 210, 0.22);
    border-radius: 6px;
}

#contact .btn-block {
    background: var(--mx-cyan);
    border: 0;
    border-radius: 4px;
    color: var(--mx-ink);
    font-weight: 800;
}

#footer {
    background: #050b0b;
    border-top: 1px solid rgba(147, 232, 210, 0.14);
    padding: 72px 0 86px;
}

#footer::before {
    display: none;
}

#footer .social-links a {
    background: rgba(99, 234, 208, 0.06);
    border-color: rgba(147, 232, 210, 0.26);
    color: var(--mx-cyan);
}

@media (max-width: 980px) {
    #mainNav {
        min-height: 66px;
    }

    #mainNav .navbar-brand {
        height: 66px;
        padding-left: 14px;
    }

    #mainNav .navbar-brand img {
        height: auto !important;
        max-height: 42px;
        width: 158px !important;
    }

    .navbar-default .navbar-toggle {
        border-color: rgba(147, 232, 210, 0.26);
        margin-top: 16px;
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: var(--mx-cyan);
    }

    .navbar-default .navbar-collapse {
        background: rgba(5, 12, 12, 0.96);
        border-color: rgba(147, 232, 210, 0.16);
    }

    .navbar-default .navbar-nav > li > a,
    #mainNav.affix .navbar-nav > li > a {
        font-size: 14px;
        padding: 14px 18px;
        width: auto;
    }

    .header {
        padding: 104px 0 74px;
    }

    .header-text {
        padding: 22px 18px 24px !important;
        width: min(94vw, 780px);
    }

    .featured-project-media {
        width: 100%;
    }

    #about,
    #Services,
    #team,
    .project-index-section {
        padding: 78px 0;
    }
}

@media (max-width: 640px) {
    .header {
        min-height: auto;
        padding: 94px 0 58px;
    }

    .header-text {
        margin: 0 auto;
        padding: 18px 14px 20px !important;
    }

    .header-text h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .btn-ornge {
        min-width: 0;
        width: 100%;
    }

    .owl-theme .owl-controls .owl-buttons div {
        font-size: 34px !important;
        height: 76px;
        line-height: 64px;
        width: 40px;
    }

    .title h2,
    #about h2,
    #Services h2 {
        font-size: 30px;
    }

    .project-card-media {
        height: 178px;
    }
}

/* Second pass: research-lab polish and robust responsive layout. */

body {
    background:
        radial-gradient(circle at 18% 10%, rgba(125, 244, 223, 0.09), transparent 28%),
        radial-gradient(circle at 82% 14%, rgba(217, 179, 107, 0.08), transparent 25%),
        linear-gradient(180deg, #040707 0%, var(--mx-bg) 44%, #030606 100%);
}

body::before {
    background-image:
        linear-gradient(rgba(147, 232, 210, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(147, 232, 210, 0.035) 1px, transparent 1px);
    background-size: 112px 112px;
    content: "";
    inset: 0;
    opacity: 0.42;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

#mainNav {
    background: rgba(3, 7, 7, 0.72) !important;
}

.navbar-default .navbar-nav > li > a {
    font-size: 12px;
    padding-left: 17px;
    padding-right: 17px;
}

.header {
    background:
        linear-gradient(180deg, rgba(2, 5, 6, 0.12), rgba(2, 5, 6, 0.74) 64%, var(--mx-bg) 100%),
        linear-gradient(112deg, rgba(125, 244, 223, 0.18), rgba(8, 13, 15, 0.14) 38%, rgba(217, 179, 107, 0.1) 100%),
        url("../img/header.jpg") no-repeat scroll center center / cover;
    min-height: 100vh;
    padding: 108px 0 74px;
}

.header .container {
    max-width: 1220px;
    width: min(100%, 1220px);
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

#owl-demo,
#owl-demo .owl-wrapper-outer,
#owl-demo .owl-wrapper,
#owl-demo .owl-item,
#owl-demo .owl-item > div,
.featured-project-panel {
    box-sizing: border-box;
    max-width: 100%;
}

#owl-demo .owl-wrapper,
#owl-demo .owl-item {
    max-width: none !important;
}

#owl-demo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0 !important;
    width: 100%;
}

.header-text {
    background:
        linear-gradient(180deg, rgba(7, 14, 15, 0.78), rgba(7, 14, 15, 0.52)),
        linear-gradient(135deg, rgba(125, 244, 223, 0.08), transparent 34%);
    border-color: rgba(147, 232, 210, 0.24);
    border-radius: 8px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
    padding: 20px 22px 22px !important;
}

.header-text h3 {
    font-size: clamp(22px, 2.15vw, 32px);
    letter-spacing: 0;
    max-width: 1000px;
    margin-bottom: 18px;
}

.featured-project-media {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    width: min(64vw, 650px);
}

.featured-project-media picture,
.featured-project-media img {
    display: block;
    max-width: 100%;
    width: 100%;
}

.featured-project-media img {
    height: auto;
}

.btn-ornge,
.btn-ornge span {
    color: var(--mx-text) !important;
    opacity: 1 !important;
}

.btn-ornge {
    background:
        linear-gradient(135deg, rgba(125, 244, 223, 0.24), rgba(217, 179, 107, 0.1)),
        rgba(8, 18, 18, 0.94);
    border-color: rgba(125, 244, 223, 0.72) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.featured-project-panel > p {
    margin: 16px 0 0;
    text-align: center;
}

.featured-project-panel .btn-ornge {
    min-width: 190px;
}

.matrix-thesis {
    border-top: 1px solid rgba(147, 232, 210, 0.22);
    color: var(--mx-text);
    margin: 0 auto;
    max-width: 1100px;
    order: -1;
    padding: 10px 0 2px;
    position: relative;
    text-align: left;
    width: min(94vw, 1100px);
    z-index: 2;
}

.header .wow,
.matrix-thesis {
    visibility: visible !important;
}

.matrix-thesis::after {
    color: rgba(147, 232, 210, 0.22);
    content: "x(t+1) = F(x(t), a(t), m(t))";
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(12px, 1.2vw, 15px);
    position: absolute;
    right: 0;
    top: 18px;
}

.matrix-eyebrow,
.section-kicker {
    color: var(--mx-cyan);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.matrix-thesis h1 {
    color: var(--mx-text);
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 790;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 18px;
    max-width: 900px;
}

.matrix-thesis-copy {
    color: rgba(237, 247, 245, 0.76);
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.62;
    margin: 0;
    max-width: 760px;
}

.matrix-thesis-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.matrix-thesis-points span {
    background: rgba(125, 244, 223, 0.07);
    border: 1px solid rgba(147, 232, 210, 0.2);
    border-radius: 999px;
    color: rgba(237, 247, 245, 0.84);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 13px;
}

#about .container,
#Services .container,
#team .container,
.for-box .container,
.project-index-section .container,
#contact .container,
#footer .container {
    position: relative;
    z-index: 1;
}

#about,
#Services,
#team,
.for-box,
.project-index-section,
#contact {
    overflow: hidden;
}

#about::before,
#Services::before,
.project-index-section::before,
.for-box::before {
    border: 1px solid rgba(147, 232, 210, 0.09);
    content: "";
    inset: 22px;
    pointer-events: none;
    position: absolute;
}

#about::after,
#Services::after,
.project-index-section::after {
    background: linear-gradient(90deg, transparent, rgba(147, 232, 210, 0.18), transparent);
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: min(1080px, 86vw);
}

#about,
#Services {
    padding: 116px 0;
}

#about h2,
#Services h2,
.title h2 {
    font-size: clamp(34px, 4vw, 58px);
    letter-spacing: 0;
}

#about p,
#Services p {
    max-width: 680px;
}

#about img,
#Services .img-left,
#Services .img-right {
    border-radius: 8px;
    filter: saturate(0.92) contrast(1.05);
}

#about img {
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
}

#team .title p,
.project-index-section .title p {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.for-box {
    background:
        linear-gradient(180deg, rgba(4, 9, 10, 0.9), rgba(4, 9, 10, 0.94)),
        url("../img/header6.jpg") no-repeat scroll center bottom / cover;
}

.for-box > .wow:first-child span {
    font-size: clamp(38px, 5vw, 70px) !important;
    letter-spacing: 0;
}

.for-box .row {
    display: flex;
    flex-wrap: wrap;
}

.for-box .col-md-3 {
    display: flex;
    flex-direction: column;
}

.for-box-crecl {
    background-attachment: scroll !important;
    height: 156px;
}

.for-box .clr1,
.for-box .clr2,
.for-box .clr3,
.for-box .clr4 {
    border-color: rgba(147, 232, 210, 0.18);
    min-height: 116px;
}

.wbox {
    flex: 1;
    min-height: 230px;
}

.project-index-section {
    padding: 112px 0 126px;
}

.project-index-grid {
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.project-card {
    background:
        linear-gradient(180deg, rgba(12, 24, 24, 0.92), rgba(8, 16, 16, 0.92)),
        rgba(10, 20, 20, 0.92);
    border-radius: 8px;
}

.project-card-media {
    height: 204px;
}

.project-card h3 {
    font-size: 20px;
    line-height: 1.34;
}

.project-card-meta {
    align-items: flex-start;
    gap: 12px;
}

.project-card-badges {
    min-width: max-content;
}

.project-date {
    color: var(--mx-cyan);
}

.vision-stack {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    max-width: 680px;
}

.vision-stack > div {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(147, 232, 210, 0.16);
    border-radius: 8px;
    display: grid;
    gap: 4px 14px;
    grid-template-columns: 42px 1fr;
    padding: 16px 18px;
}

.vision-stack span {
    color: var(--mx-gold);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    font-weight: 800;
    grid-row: span 2;
    padding-top: 4px;
}

.vision-stack strong {
    color: var(--mx-text);
    font-size: 15px;
}

.vision-stack p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0;
    padding: 0 !important;
}

.vision-subtitle {
    color: var(--mx-text);
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1.16;
    margin: 18px 0 18px;
}

.vision-list {
    border-left: 1px solid rgba(147, 232, 210, 0.22);
    color: var(--mx-muted);
    line-height: 1.75;
    list-style: none;
    margin: 20px 0 0;
    padding: 0 0 0 20px;
}

.vision-list li {
    margin-bottom: 10px;
    position: relative;
}

.vision-list li::before {
    background: var(--mx-cyan);
    border-radius: 50%;
    content: "";
    height: 6px;
    left: -24px;
    position: absolute;
    top: 10px;
    width: 6px;
}

#contact .title p {
    color: rgba(237, 247, 245, 0.72);
    line-height: 1.75;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 860px;
}

#footer .copyright {
    color: rgba(237, 247, 245, 0.62);
}

@media (max-width: 1100px) {
    .project-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .header {
        min-height: auto;
        padding-top: 96px;
    }

    .header-content {
        gap: 24px;
    }

    .matrix-thesis::after {
        display: none;
    }

    #about,
    #Services {
        padding: 86px 0;
    }

    .for-box .row {
        display: block;
    }
}

@media (max-width: 640px) {
    body::before {
        background-size: 82px 82px;
        opacity: 0.28;
    }

    .header {
        padding: 86px 0 54px;
    }

    .header .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-text {
        border-radius: 8px;
        padding: 16px 12px 18px !important;
        width: 100%;
    }

    .header-text h3 {
        font-size: 22px;
        line-height: 1.22;
    }

    .featured-project-media {
        max-width: 100%;
        width: 100%;
    }

    .matrix-thesis {
        width: 100%;
    }

    .matrix-thesis h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    .matrix-thesis-copy {
        font-size: 16px;
    }

    .matrix-thesis-points span {
        font-size: 12px;
        padding: 8px 10px;
        width: auto;
    }

    .featured-project-panel > p {
        margin-top: 14px;
    }

    .featured-project-panel .btn-ornge {
        font-size: 11px;
        min-width: 180px;
        padding: 10px 14px;
        width: min(100%, 220px);
    }

    #about::before,
    #Services::before,
    .project-index-section::before,
    .for-box::before {
        inset: 12px;
    }

    #about h2,
    #Services h2,
    .title h2 {
        font-size: 32px;
    }

    .for-box > .wow:first-child span {
        font-size: 34px !important;
    }

    .project-index-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
        padding-right: 0;
    }

    .project-card-media {
        height: 180px;
    }

    .project-card-meta {
        flex-direction: column;
    }

    .project-card-badges {
        min-width: 0;
    }

    .vision-stack > div {
        grid-template-columns: 34px 1fr;
        padding: 14px;
    }
}

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