﻿:root {
    --bg: #05080c;
    --bg2: #091018;
    --panel: #0d151e;
    --panel2: #111c27;
    --line: rgba(255,255,255,.10);
    --text: #f4f7fa;
    --muted: #8e9aa6;
    --accent: #35d4ff;
    --accent2: #0b8fb8;
    --green: #5ce1a3;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(25,117,150,.13), transparent 32%),
        linear-gradient(180deg, #05080c 0%, #081018 55%, #05080c 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(5,8,12,.82);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    font-weight: 800;
    letter-spacing: .16em;
    font-size: 14px;
}

.brand span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 90px 0 70px;
}

.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 {
    margin: 0;
    max-width: 950px;
    font-size: clamp(48px, 7vw, 92px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero p {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: .2s ease;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #031016;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.section {
    padding: 90px 0;
    border-top: 1px solid var(--line);
}

.section-title {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.section-intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 42px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    position: relative;
    min-height: 390px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent 10%, rgba(5,8,12,.92) 78%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(53,212,255,.45);
}

.card-number {
    position: absolute;
    top: 24px;
    right: 25px;
    color: rgba(255,255,255,.18);
    font-size: 38px;
    font-weight: 800;
}

.status {
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 9px;
    border: 1px solid rgba(53,212,255,.35);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.status.private {
    color: #9ca7b2;
    border-color: var(--line);
}

.card h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.12;
}

.card p {
    color: var(--muted);
    font-size: 14px;
    margin: 14px 0 22px;
}

.card-link {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.capability {
    min-height: 150px;
    padding: 25px;
    background: var(--bg);
}

.capability strong {
    display: block;
    margin-bottom: 8px;
}

.capability span {
    color: var(--muted);
    font-size: 13px;
}

footer {
    padding: 42px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.project-hero {
    padding: 100px 0 75px;
}

.project-hero h1 {
    max-width: 1000px;
}

.project-hero .subtitle {
    max-width: 800px;
    color: var(--muted);
    font-size: 19px;
    margin-top: 25px;
}

.project-block {
    padding: 70px 0;
    border-top: 1px solid var(--line);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.placeholder {
    min-height: 360px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at center, rgba(53,212,255,.10), transparent 50%),
        var(--panel);
    color: #61717f;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    text-align: center;
    padding: 30px;
}

.feature {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.feature strong {
    display: block;
    font-size: 18px;
}

.feature span {
    color: var(--muted);
    font-size: 14px;
}

.listen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 11px 15px;
    background: transparent;
    border: 1px solid rgba(53,212,255,.35);
    color: var(--accent);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}

.restricted {
    min-height: calc(100vh - 77px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 50px 20px;
}

.lock {
    font-size: 38px;
    margin-bottom: 22px;
}

.restricted h1 {
    font-size: clamp(38px, 7vw, 72px);
}

.restricted p {
    max-width: 580px;
    margin: 25px auto;
    color: var(--muted);
}

@media (max-width: 850px) {
    .container {
        width: min(calc(100% - 30px), var(--max));
    }

    .nav {
        min-height: 66px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    h1 {
        font-size: clamp(43px, 14vw, 68px);
    }

    .hero p {
        font-size: 17px;
    }

    .grid-3,
    .two-col,
    .capabilities {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 330px;
    }

    .two-col {
        gap: 32px;
    }

    .section,
    .project-block {
        padding: 60px 0;
    }

    .placeholder {
        min-height: 260px;
    }

    .listen {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   ELECTRONIC DESIGNER HOME V02
   ========================================================== */

.ed-home {
    background: #02070c;
}

.ed-shell {
    width: min(calc(100% - 80px), 1480px);
    margin: 0 auto;
}

.ed-header {
    position: relative;
    z-index: 50;
    background:
        linear-gradient(90deg, #02070c 0%, #06121c 55%, #02080d 100%);
    border-bottom: 1px solid rgba(91,185,255,.25);
}

.ed-nav {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 50px;
}

.ed-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ed-mark {
    position: relative;
    width: 86px;
    height: 48px;
    font-size: 0;
}

.ed-mark-e,
.ed-mark-d {
    position: absolute;
    top: 0;
    font-size: 42px;
    line-height: 44px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.16em;
}

.ed-mark-e {
    left: 0;
    color: white;
}

.ed-mark-d {
    left: 37px;
    color: #5bc8ff;
}

.ed-logo-copy strong {
    display: block;
    font-size: 17px;
    line-height: .92;
    letter-spacing: .04em;
}

.ed-logo-copy small {
    display: block;
    margin-top: 7px;
    color: #a6b6c5;
    font-size: 7px;
    letter-spacing: .18em;
    white-space: nowrap;
}

.ed-menu {
    justify-self: center;
    display: flex;
    gap: 36px;
}

.ed-menu a {
    position: relative;
    padding: 35px 0 29px;
    font-size: 13px;
    color: #d3dce4;
}

.ed-menu a:hover,
.ed-menu a.active {
    color: #55caff;
}

.ed-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;
    height: 2px;
    background: #26baff;
}

.ed-sector {
    color: #9db4c8;
    font-size: 9px;
    letter-spacing: .23em;
    white-space: nowrap;
}


/* HERO */

.ed-cinematic-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border-bottom: 1px solid rgba(70,164,221,.22);
    background:
        radial-gradient(circle at 65% 70%, rgba(19,112,160,.24), transparent 27%),
        linear-gradient(180deg, #071522, #03090e);
}

.ed-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ed-hero-bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 52px;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            #ff542c 30%,
            #ffb05d 52%,
            #ff402a 76%,
            transparent 100%
        );
    box-shadow:
        0 0 8px rgba(255,75,38,.8),
        0 0 25px rgba(255,60,25,.4);
    transform: skewY(-2deg);
}

.ed-road-glow {
    position: absolute;
    width: 900px;
    height: 300px;
    right: 8%;
    bottom: -180px;
    border: 2px solid rgba(255,255,255,.09);
    border-radius: 50%;
    transform: rotate(-5deg);
}


/* temporary CSS van until real hero artwork is inserted */

.ed-van-silhouette {
    position: absolute;
    right: 18%;
    bottom: 46px;
    width: 245px;
    height: 120px;
    opacity: .78;
}

.van-body {
    position: absolute;
    inset: 20px 0 16px;
    background:
        linear-gradient(150deg, #132534, #03070b 70%);
    border: 1px solid #244a63;
    border-radius: 35px 12px 8px 8px;
}

.van-window {
    position: absolute;
    top: 28px;
    right: 20px;
    width: 75px;
    height: 35px;
    background: #061018;
    border: 1px solid #315e78;
    transform: skewX(-10deg);
}

.van-wheel {
    position: absolute;
    bottom: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #010203;
    border: 5px solid #101820;
}

.wheel-one {
    left: 34px;
}

.wheel-two {
    right: 32px;
}

.van-light {
    position: absolute;
    right: 2px;
    top: 55px;
    width: 5px;
    height: 28px;
    background: #ff3128;
    box-shadow:
        0 0 8px #ff3128,
        0 0 22px #ff3128;
}

.ed-hero-content {
    position: relative;
    z-index: 3;
    min-height: 310px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ed-kicker {
    margin-bottom: 10px;
    color: #27baff;
    font-size: 12px;
    letter-spacing: .27em;
}

.ed-hero-left h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    line-height: .95;
    font-weight: 500;
    letter-spacing: .16em;
}

.ed-hero-tagline {
    margin: 22px 0 0;
    color: #b9d9f1;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .20em;
}

.ed-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #c9e7ff;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: .25em;
}

.ed-hero-right i {
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 12px;
    background: #e34d43;
}


/* PRODUCTS */

.ed-products {
    padding: 0 0 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(19,103,147,.14), transparent 40%),
        #03090e;
}

.ed-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    transform: translateY(-1px);
}

.ed-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(123,170,202,.45);
    border-radius: 12px;
    background: #061019;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.ed-product-card:hover {
    transform: translateY(-5px);
    border-color: #25baff;
    box-shadow: 0 15px 45px rgba(0,0,0,.45);
}

.ed-product-active {
    border-color: #22baff;
}

.ed-card-image {
    position: relative;
    height: 275px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(28,139,195,.25), transparent 34%),
        linear-gradient(145deg, #102332, #03080d);
}

.ed-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(3,9,14,.95) 100%
        );
}

.trafficangel-image {
    background:
        linear-gradient(rgba(2,9,14,.1), rgba(2,9,14,.55)),
        radial-gradient(circle at 50% 50%, #174d65 0%, #081722 35%, #03090e 72%);
}

.motorbike-image {
    background:
        radial-gradient(circle at 60% 45%, #2c271f 0%, #101720 38%, #03090e 75%);
}

.antihijack-image {
    background:
        radial-gradient(circle at 55% 40%, #233747 0%, #0b1720 38%, #03090e 75%);
}

.ed-image-label {
    position: relative;
    z-index: 2;
    padding: 12px;
    color: rgba(195,225,244,.40);
    font-size: 11px;
    text-align: center;
    letter-spacing: .16em;
}

.ed-badge {
    position: absolute;
    z-index: 5;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: .12em;
}

.ed-badge.available {
    color: white;
    background: #078ff1;
    box-shadow: 0 0 20px rgba(0,151,255,.25);
}

.private-badge {
    color: #c6dded;
    background: rgba(14,34,51,.92);
}

.ed-card-copy {
    min-height: 245px;
    padding: 23px 25px 21px;
    display: flex;
    flex-direction: column;
}

.ed-card-copy h2 {
    margin: 0;
    font-size: 27px;
    line-height: 1.08;
}

.ed-card-copy h2 span {
    display: block;
    margin-top: 4px;
    color: #29aaff;
    font-weight: 400;
    font-size: 22px;
}

.ed-card-copy p {
    color: #b2c4d4;
    font-size: 14px;
    line-height: 1.5;
    margin: 14px 0 20px;
}

.ed-card-footer {
    margin-top: auto;
    min-height: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

.ed-card-footer strong {
    color: #20b9ff;
    font-size: 12px;
    letter-spacing: .11em;
}

.ed-card-footer small {
    color: #a9bfd0;
    font-size: 10px;
    line-height: 1.25;
    text-align: right;
}

.ed-lock {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #7aa7c7;
    border-radius: 50%;
    color: #a8d7f8;
}


/* CAPABILITY STRIP */

.ed-capability-strip {
    border-top: 1px solid rgba(87,170,224,.20);
    border-bottom: 1px solid rgba(87,170,224,.20);
    background:
        linear-gradient(90deg, #06131d, #03101a 50%, #06131d);
}

.ed-capability-grid {
    min-height: 105px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
}

.ed-cap {
    min-height: 70px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid rgba(120,174,211,.16);
}

.ed-cap:last-child {
    border-right: 0;
}

.ed-cap-icon {
    color: #8ed4ff;
    font-size: 29px;
}

.ed-cap strong {
    color: #bcd9ed;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .12em;
}


/* FOOTER */

.ed-footer {
    padding: 32px 0;
    background: #02070b;
    border-top: 0;
}

.ed-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.ed-footer-logo {
    transform: scale(.85);
    transform-origin: left center;
}

.ed-footer-statement {
    padding-left: 35px;
    border-left: 1px solid #7890a2;
    color: #c6deef;
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: .08em;
}

.ed-footer-meta {
    justify-self: end;
    text-align: right;
    color: #7290a6;
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: .13em;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 1050px) {

    .ed-sector {
        display: none;
    }

    .ed-nav {
        grid-template-columns: auto 1fr;
    }

    .ed-menu {
        justify-self: end;
    }

    .ed-capability-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 760px) {

    .ed-shell {
        width: min(calc(100% - 28px), 1480px);
    }

    .ed-nav {
        min-height: 76px;
        display: flex;
        justify-content: center;
    }

    .ed-menu {
        display: none;
    }

    .ed-logo {
        transform: scale(.90);
    }

    .ed-cinematic-hero {
        min-height: 400px;
    }

    .ed-hero-content {
        min-height: 400px;
        display: block;
        padding-top: 55px;
    }

    .ed-hero-left h1 {
        font-size: clamp(40px, 13vw, 58px);
        letter-spacing: .10em;
    }

    .ed-hero-tagline {
        font-size: 11px;
        letter-spacing: .14em;
    }

    .ed-hero-right {
        position: absolute;
        right: 0;
        bottom: 40px;
        font-size: 12px;
    }

    .ed-van-silhouette {
        right: 15%;
        bottom: 45px;
        transform: scale(.72);
        transform-origin: bottom right;
    }

    .ed-product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 18px;
    }

    .ed-card-image {
        height: 230px;
    }

    .ed-card-copy {
        min-height: auto;
    }

    .ed-capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-cap {
        min-height: 85px;
        border-bottom: 1px solid rgba(120,174,211,.16);
    }

    .ed-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ed-footer-logo {
        justify-self: center;
        transform-origin: center;
    }

    .ed-footer-statement {
        padding: 20px 0 0;
        border-left: 0;
        border-top: 1px solid #7890a2;
    }

    .ed-footer-meta {
        justify-self: center;
        text-align: center;
    }

}


@media (max-width: 420px) {

    .ed-logo-copy strong {
        font-size: 15px;
    }

    .ed-mark {
        width: 72px;
    }

    .ed-mark-e,
    .ed-mark-d {
        font-size: 37px;
    }

    .ed-mark-d {
        left: 33px;
    }

    .ed-product-card {
        border-radius: 8px;
    }

    .ed-card-image {
        height: 205px;
    }

    .ed-card-copy h2 {
        font-size: 24px;
    }

    .ed-card-copy h2 span {
        font-size: 19px;
    }

    .ed-capability-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ed-cap {
        padding: 12px 9px;
    }

}

/* ==========================================================
   PRODUCT IMAGE ASSETS
   ========================================================== */

.ed-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform .45s ease;
}

.ed-product-card:hover .ed-card-image img {
    transform: scale(1.025);
}

.trafficangel-image img {
    object-position: center center;
}


/* ==========================================================
   FINAL VISUAL ASSETS V03
   ========================================================== */

.ed-cinematic-hero {
    background:
        linear-gradient(
            90deg,
            rgba(2,7,12,.96) 0%,
            rgba(2,7,12,.72) 35%,
            rgba(2,7,12,.20) 67%,
            rgba(2,7,12,.48) 100%
        ),
        url("../images/branding/electronic-designer-hero-van.webp")
        center 55% / cover no-repeat;
}

.ed-hero-bg {
    display: none;
}

.motorbike-image img,
.antihijack-image img {
    object-fit: cover;
    object-position: center 36%;
}

.ed-card-image {
    background: #03090e;
}

@media (max-width: 760px) {

    .ed-cinematic-hero {
        background-position: 62% center;
    }

    .motorbike-image img,
    .antihijack-image img {
        object-position: center 30%;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — PREMIUM 3D TYPOGRAPHY
   ========================================================== */

/* HERO: PRODUCT PLATFORMS */
.ed-cinematic-hero h1,
.ed-hero-copy h1,
.hero-content h1 {
    font-weight: 900;
    letter-spacing: .055em;
    line-height: .90;

    color: #eef5fb;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #ffffff 16%,
            #dce5ed 35%,
            #8997a5 54%,
            #f7fbff 70%,
            #a8b6c3 83%,
            #566777 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,.90))
        drop-shadow(0 2px 0 rgba(145,165,182,.80))
        drop-shadow(0 3px 0 rgba(60,78,94,.95))
        drop-shadow(0 5px 3px rgba(0,0,0,.90))
        drop-shadow(0 10px 15px rgba(0,0,0,.75))
        drop-shadow(0 12px 20px rgba(0,122,255,.18));

    text-shadow:
        0 -1px 1px rgba(255,255,255,.75),
        0 1px 0 rgba(255,255,255,.30),
        0 4px 5px rgba(0,0,0,.65),
        0 10px 20px rgba(0,0,0,.75),
        0 15px 30px rgba(0,110,255,.20);
}


/* BLUE HERO EYEBROW */
.ed-cinematic-hero .eyebrow,
.ed-hero-copy .eyebrow,
.hero-content .eyebrow {
    color: #79c8ff;
    font-weight: 700;
    letter-spacing: .28em;

    text-shadow:
        0 0 5px rgba(82,178,255,.85),
        0 0 14px rgba(0,123,255,.42);
}


/* PRODUCT CARD TITLES */
.ed-product-card h2,
.ed-product-card h3 {
    color: #f7fbff;
    font-weight: 800;

    text-shadow:
        0 1px 0 #ffffff,
        0 2px 0 rgba(126,145,162,.75),
        0 4px 4px rgba(0,0,0,.95),
        0 8px 12px rgba(0,0,0,.65);
}


/* BLUE SUBTITLES */
.ed-product-card .subtitle,
.ed-product-card h2 + *,
.ed-product-card h3 + * {
    text-shadow:
        0 0 5px rgba(60,160,255,.40),
        0 2px 4px rgba(0,0,0,.90);
}


/* BUTTONS / LINKS */
.ed-product-card a {
    text-shadow:
        0 0 6px rgba(65,174,255,.65);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        text-shadow .18s ease;
}

.ed-product-card a:hover {
    transform: translateY(-2px);

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px rgba(64,174,255,.95);

    box-shadow:
        0 0 0 1px rgba(90,185,255,.30),
        0 0 14px rgba(0,130,255,.28);
}


/* PRODUCT CARDS — GLASS / DEPTH */
.ed-product-card {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.06),
        inset 0 0 25px rgba(25,110,190,.025),
        0 12px 28px rgba(0,0,0,.42);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.ed-product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 0 0 1px rgba(60,164,255,.16),
        0 15px 35px rgba(0,0,0,.55),
        0 0 25px rgba(0,115,255,.10);
}


/* HERO SUPPORTING TEXT */
.ed-cinematic-hero p,
.ed-hero-copy p,
.hero-content p {
    text-shadow:
        0 2px 3px rgba(0,0,0,.95),
        0 0 10px rgba(0,0,0,.75);
}


/* MOBILE — retain depth without oversized shadows */
@media (max-width: 760px) {

    .ed-cinematic-hero h1,
    .ed-hero-copy h1,
    .hero-content h1 {
        letter-spacing: .035em;

        filter:
            drop-shadow(0 1px 0 rgba(255,255,255,.75))
            drop-shadow(0 2px 0 rgba(70,88,105,.85))
            drop-shadow(0 5px 6px rgba(0,0,0,.85))
            drop-shadow(0 8px 14px rgba(0,115,255,.16));
    }

    .ed-product-card:hover {
        transform: none;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — ELECTRIC BLUE FINISH V02
   ========================================================== */

/* HERO — metallic chrome + electric blue edge glow */
.ed-cinematic-hero h1,
.ed-hero-copy h1,
.hero-content h1 {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fcff 15%,
            #cbd8e3 34%,
            #77899a 50%,
            #f8fcff 67%,
            #b6c7d5 82%,
            #566a7b 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 -1px 0 rgba(255,255,255,.95))
        drop-shadow(0 2px 0 rgba(85,105,125,.95))
        drop-shadow(0 4px 2px rgba(0,0,0,.90))
        drop-shadow(0 8px 8px rgba(0,0,0,.78))
        drop-shadow(0 0 5px rgba(35,157,255,.85))
        drop-shadow(0 0 13px rgba(0,119,255,.62))
        drop-shadow(0 0 26px rgba(0,98,255,.38));

    text-shadow:
        0 -1px 0 rgba(255,255,255,.95),
        0 2px 0 rgba(80,98,116,.85),
        0 5px 5px rgba(0,0,0,.85),
        0 0 8px rgba(67,181,255,.65),
        0 0 20px rgba(0,115,255,.34);
}


/* Engineering Solutions */
.ed-cinematic-hero .eyebrow,
.ed-hero-copy .eyebrow,
.hero-content .eyebrow {
    color: #68c8ff;

    text-shadow:
        0 0 4px #168cff,
        0 0 10px rgba(0,157,255,.90),
        0 0 22px rgba(0,105,255,.55);
}


/* Main navigation */
header nav a,
.ed-nav a {
    transition:
        color .18s ease,
        text-shadow .18s ease;
}

header nav a:hover,
.ed-nav a:hover,
header nav a.active,
.ed-nav a.active {
    color: #8ed8ff;

    text-shadow:
        0 0 5px #3eb8ff,
        0 0 12px rgba(0,145,255,.80),
        0 0 22px rgba(0,105,255,.45);
}


/* Product titles — controlled metallic depth */
.ed-product-card h2,
.ed-product-card h3 {
    color: #f8fbff;

    text-shadow:
        0 -1px 0 rgba(255,255,255,.95),
        0 2px 0 rgba(94,112,130,.90),
        0 4px 4px rgba(0,0,0,.95),
        0 0 7px rgba(41,154,255,.30);
}


/* Blue subtitles */
.ed-product-card .subtitle,
.ed-product-card h2 + *,
.ed-product-card h3 + * {
    color: #58b7ff;

    text-shadow:
        0 0 5px rgba(46,166,255,.70),
        0 0 12px rgba(0,113,255,.28),
        0 2px 3px rgba(0,0,0,.90);
}


/* Electric blue card edges */
.ed-product-card {
    border-color: rgba(89,174,255,.38);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        inset 0 0 24px rgba(0,120,255,.025),
        0 12px 30px rgba(0,0,0,.48),
        0 0 10px rgba(0,105,255,.035);
}

.ed-product-card:hover {
    border-color: rgba(89,190,255,.72);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 16px 36px rgba(0,0,0,.60),
        0 0 8px rgba(74,185,255,.35),
        0 0 22px rgba(0,112,255,.20);
}


/* Action links */
.ed-product-card a {
    color: #65c5ff;

    text-shadow:
        0 0 5px rgba(58,181,255,.85),
        0 0 12px rgba(0,119,255,.42);
}

.ed-product-card a:hover {
    color: #d9f3ff;

    text-shadow:
        0 0 4px #ffffff,
        0 0 9px #45bdff,
        0 0 18px rgba(0,119,255,.80);
}


/* Capability strip */
.ed-capability-strip,
.capability-strip {
    border-top-color: rgba(55,159,255,.24);
}

.ed-capability-strip *,
.capability-strip * {
    text-shadow:
        0 0 8px rgba(0,128,255,.16);
}


/* Keep mobile clean */
@media (max-width: 760px) {

    .ed-cinematic-hero h1,
    .ed-hero-copy h1,
    .hero-content h1 {
        filter:
            drop-shadow(0 2px 0 rgba(70,90,108,.90))
            drop-shadow(0 5px 5px rgba(0,0,0,.90))
            drop-shadow(0 0 6px rgba(41,165,255,.60))
            drop-shadow(0 0 14px rgba(0,110,255,.30));
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — PREMIUM CARDS / CONTROLS V03
   ========================================================== */

/* Glass / machined panel effect */
.ed-product-card {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(12,24,37,.96) 0%,
            rgba(5,13,22,.985) 45%,
            rgba(4,11,19,.99) 100%
        );

    border: 1px solid rgba(87,174,255,.42);
    border-radius: 12px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 -1px 0 rgba(0,65,130,.25),
        0 10px 30px rgba(0,0,0,.55),
        0 0 14px rgba(0,120,255,.08);
}

/* Thin illuminated top edge */
.ed-product-card::before {
    content: "";
    position: absolute;
    z-index: 5;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(89,190,255,.75),
            rgba(220,246,255,.95),
            rgba(89,190,255,.75),
            transparent
        );

    box-shadow:
        0 0 8px rgba(47,166,255,.55);
    pointer-events: none;
}

/* Subtle glass highlight */
.ed-product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,.045) 0%,
            transparent 18%,
            transparent 78%,
            rgba(30,125,220,.025) 100%
        );
}

/* Product image */
.ed-card-image {
    overflow: hidden;
    border-bottom: 1px solid rgba(79,163,240,.20);
}

.ed-card-image img {
    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.ed-product-card:hover .ed-card-image img {
    transform: scale(1.035);
    filter: brightness(1.05) contrast(1.035);
}


/* AVAILABLE / PRIVATE DEVELOPMENT badges */
.ed-product-card [class*="badge"],
.ed-product-card [class*="status"] {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 0 8px rgba(60,170,255,.28),
        0 5px 14px rgba(0,0,0,.40);
}


/* Main card action links — illuminated control */
.ed-product-card a {
    position: relative;
    z-index: 8;

    font-weight: 700;
    letter-spacing: .08em;

    transition:
        color .18s ease,
        transform .18s ease,
        text-shadow .18s ease,
        box-shadow .18s ease;
}

.ed-product-card a:hover {
    transform: translateY(-2px);

    color: #e7f8ff;

    text-shadow:
        0 0 4px #fff,
        0 0 8px #49c4ff,
        0 0 18px rgba(0,119,255,.85);
}


/* AVAILABLE card gets slightly stronger edge */
.ed-product-card:first-child {
    border-color: rgba(94,188,255,.65);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.11),
        0 12px 32px rgba(0,0,0,.55),
        0 0 15px rgba(0,120,255,.11);
}


/* Card body text stays clean — glow only where useful */
.ed-product-card p {
    color: rgba(220,232,242,.88);
    text-shadow: 0 2px 3px rgba(0,0,0,.80);
}


/* Capability strip gets technical illuminated separators */
.ed-capability-strip,
.capability-strip {
    background:
        linear-gradient(
            180deg,
            rgba(10,22,34,.96),
            rgba(4,11,19,.99)
        );

    box-shadow:
        inset 0 1px 0 rgba(71,163,244,.16),
        0 -8px 24px rgba(0,0,0,.24);
}


/* Desktop hover */
@media (min-width: 761px) {

    .ed-product-card:hover {
        transform: translateY(-5px);

        border-color: rgba(96,194,255,.78);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.13),
            0 18px 38px rgba(0,0,0,.62),
            0 0 10px rgba(65,181,255,.24),
            0 0 28px rgba(0,105,255,.14);
    }
}


/* Mobile */
@media (max-width: 760px) {

    .ed-product-card {
        border-radius: 10px;
    }

    .ed-product-card:hover {
        transform: none;
    }

    .ed-product-card:hover .ed-card-image img {
        transform: none;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — CARD IMAGE CLEANUP V04
   ========================================================== */

/* Give all three product images one disciplined viewport */
.ed-card-image {
    position: relative;
    height: 238px;
    overflow: hidden;
    background: #030911;
}

/* Keep subjects inside frame — no accidental title cropping */
.ed-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* TrafficAngel */
.ed-product-card:nth-child(1) .ed-card-image img {
    object-position: center 42%;
}

/* Motorbike */
.ed-product-card:nth-child(2) .ed-card-image img {
    object-position: center 38%;
}

/* Anti-Hijack */
.ed-product-card:nth-child(3) .ed-card-image img {
    object-position: center 38%;
}

/* Dark fade at bottom creates clean transition into HTML title */
.ed-card-image::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: auto 0 0 0;
    height: 28%;

    background:
        linear-gradient(
            180deg,
            rgba(4,11,19,0) 0%,
            rgba(4,11,19,.30) 45%,
            rgba(4,11,19,.92) 100%
        );

    pointer-events: none;
}

/* Status badge stays above artwork */
.ed-card-image [class*="badge"],
.ed-card-image [class*="status"] {
    z-index: 10;
}

/* More breathing room between image and HTML information */
.ed-product-card h2,
.ed-product-card h3 {
    position: relative;
    z-index: 6;
}

/* Mobile crop */
@media (max-width: 760px) {

    .ed-card-image {
        height: 220px;
    }

    .ed-product-card:nth-child(1) .ed-card-image img {
        object-position: center 42%;
    }

    .ed-product-card:nth-child(2) .ed-card-image img,
    .ed-product-card:nth-child(3) .ed-card-image img {
        object-position: center 38%;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — LAYOUT POLISH V05
   ========================================================== */

/* HERO — cleaner proportions */
.ed-cinematic-hero {
    min-height: 268px;
    border-bottom: 1px solid rgba(66,166,255,.30);
}

/* Product area visually separated from hero */
.ed-products,
.products-section,
.ed-product-grid {
    position: relative;
    z-index: 10;
}

/* Three cards — equal geometry */
.ed-product-card {
    min-width: 0;
}

/* Images: clean product window */
.ed-card-image {
    height: 238px;
    position: relative;
    overflow: hidden;
}

/* Move artwork slightly upward so embedded source text
   disappears into controlled crop rather than colliding */
.ed-product-card:nth-child(1) .ed-card-image img {
    object-position: center 34%;
}

.ed-product-card:nth-child(2) .ed-card-image img {
    object-position: center 31%;
}

.ed-product-card:nth-child(3) .ed-card-image img {
    object-position: center 31%;
}

/* Stronger lower mask: removes source-image titles visually */
.ed-card-image::after {
    content: "";
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24%;

    background:
        linear-gradient(
            180deg,
            rgba(3,9,17,0) 0%,
            rgba(3,9,17,.45) 42%,
            rgba(3,9,17,.94) 78%,
            #050c15 100%
        );

    pointer-events: none;
}

/* Status controls: own clean layer, away from source branding */
.ed-card-image [class*="badge"],
.ed-card-image [class*="status"],
.ed-product-card [class*="badge"],
.ed-product-card [class*="status"] {
    position: absolute;
    z-index: 20;
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
}

/* Card HTML content always above image artifacts */
.ed-product-card h2,
.ed-product-card h3,
.ed-product-card p,
.ed-product-card a {
    position: relative;
    z-index: 12;
}

/* Cleaner titles */
.ed-product-card h2,
.ed-product-card h3 {
    margin-top: 0;
    margin-bottom: 2px;
}

/* Electric blue subtitle without excessive glow */
.ed-product-card .subtitle,
.ed-product-card h2 + *,
.ed-product-card h3 + * {
    text-shadow:
        0 0 5px rgba(50,177,255,.60),
        0 2px 3px rgba(0,0,0,.95);
}

/* Capability strip */
.ed-capability-strip,
.capability-strip {
    border-top: 1px solid rgba(63,164,255,.30);
}

/* Mobile */
@media (max-width: 760px) {

    .ed-cinematic-hero {
        min-height: 390px;
    }

    .ed-card-image {
        height: 215px;
    }

    .ed-product-card:nth-child(1) .ed-card-image img {
        object-position: center 34%;
    }

    .ed-product-card:nth-child(2) .ed-card-image img,
    .ed-product-card:nth-child(3) .ed-card-image img {
        object-position: center 31%;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — SOURCE TEXT MASK V06
   ========================================================== */

/* Final image viewport */
.ed-card-image {
    height: 238px;
    position: relative;
    overflow: hidden;
    background: #050c15;
}

/* Preserve the product composition */
.ed-product-card:nth-child(1) .ed-card-image img {
    object-position: center 32%;
}

.ed-product-card:nth-child(2) .ed-card-image img,
.ed-product-card:nth-child(3) .ed-card-image img {
    object-position: center 30%;
}

/* Hide text baked into source artwork.
   Transition begins softly, final part becomes card background. */
.ed-card-image::after {
    content: "";
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;

    background:
        linear-gradient(
            to bottom,
            rgba(5,12,21,0) 0%,
            rgba(5,12,21,.10) 18%,
            rgba(5,12,21,.48) 45%,
            rgba(5,12,21,.90) 68%,
            #050c15 84%,
            #050c15 100%
        );

    pointer-events: none;
}

/* Status badge must always stay above mask */
.ed-card-image [class*="badge"],
.ed-card-image [class*="status"],
.ed-product-card [class*="badge"],
.ed-product-card [class*="status"] {
    z-index: 30;
}

/* Crisp separation between artwork and HTML content */
.ed-card-image {
    border-bottom:
        1px solid rgba(77,170,255,.22);
}

/* Mobile */
@media (max-width: 760px) {

    .ed-card-image {
        height: 215px;
    }

    .ed-card-image::after {
        height: 36%;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — PRODUCT IMAGE FINAL CROP V07
   ========================================================== */

/* Slightly shallower image window deliberately removes
   typography baked into the source artwork */
.ed-card-image {
    height: 218px;
    position: relative;
    overflow: hidden;
    background: #050c15;
}

/* Fill the viewport with the useful upper/product region */
.ed-card-image img {
    width: 100%;
    height: 116%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
}

/* Individual framing */
.ed-product-card:nth-child(1) .ed-card-image img {
    object-position: center 20%;
}

.ed-product-card:nth-child(2) .ed-card-image img {
    object-position: center 17%;
}

.ed-product-card:nth-child(3) .ed-card-image img {
    object-position: center 17%;
}

/* Remove previous heavy blackout.
   Only a very small professional transition remains. */
.ed-card-image::after {
    content: "";
    position: absolute;
    z-index: 8;
    left: 0;
    right: 0;
    bottom: 0;
    height: 13%;

    background:
        linear-gradient(
            180deg,
            rgba(5,12,21,0) 0%,
            rgba(5,12,21,.20) 45%,
            rgba(5,12,21,.72) 78%,
            #050c15 100%
        );

    pointer-events: none;
}

/* Status badges sit in a dedicated safe zone */
.ed-card-image [class*="badge"],
.ed-card-image [class*="status"],
.ed-product-card [class*="badge"],
.ed-product-card [class*="status"] {
    top: 14px;
    left: 14px;
    z-index: 30;
}

/* Sharp technical separator */
.ed-card-image {
    border-bottom: 1px solid rgba(72,171,255,.30);
}

/* Give HTML title area a little breathing room */
.ed-product-card h2,
.ed-product-card h3 {
    margin-top: 2px;
}

/* Mobile */
@media (max-width: 760px) {

    .ed-card-image {
        height: 205px;
    }

    .ed-card-image img {
        height: 116%;
    }

    .ed-card-image::after {
        height: 14%;
    }
}


/* ==========================================================
   ELECTRONIC DESIGNER — TRAFFICANGEL TOP CLEANUP V08
   ========================================================== */

/*
   Hide branding baked into the top-left of the TrafficAngel
   source image. The HTML AVAILABLE badge remains above it.
*/

.ed-product-card:nth-child(1) .ed-card-image::before {
    content: "";
    position: absolute;
    z-index: 18;

    top: 0;
    left: 0;

    width: 48%;
    height: 32px;

    background:
        linear-gradient(
            90deg,
            rgba(5,12,21,.98) 0%,
            rgba(5,12,21,.94) 55%,
            rgba(5,12,21,.55) 82%,
            rgba(5,12,21,0) 100%
        );

    pointer-events: none;
}

/* AVAILABLE must stay on top */
.ed-product-card:nth-child(1) .ed-card-image [class*="badge"],
.ed-product-card:nth-child(1) .ed-card-image [class*="status"],
.ed-product-card:nth-child(1) [class*="badge"],
.ed-product-card:nth-child(1) [class*="status"] {
    z-index: 40;
}

/* Keep current crop exactly as approved */
.ed-product-card:nth-child(1) .ed-card-image img {
    object-position: center 20%;
}

.ed-product-card:nth-child(2) .ed-card-image img,
.ed-product-card:nth-child(3) .ed-card-image img {
    object-position: center 17%;
}


/* ==========================================================
   TRAFFICANGEL — FINAL TOP-LEFT SOURCE BRANDING MASK V09
   ========================================================== */

.ed-product-card:nth-child(1) .ed-card-image::before {
    content: "";
    position: absolute;
    z-index: 19;

    top: 0;
    left: 0;

    width: 58%;
    height: 46px;

    background:
        linear-gradient(
            90deg,
            rgba(5,12,21,1) 0%,
            rgba(5,12,21,1) 58%,
            rgba(5,12,21,.96) 72%,
            rgba(5,12,21,.60) 88%,
            rgba(5,12,21,0) 100%
        );

    pointer-events: none;
}

/* AVAILABLE stays above the cleanup layer */
.ed-product-card:nth-child(1) .ed-card-image [class*="badge"],
.ed-product-card:nth-child(1) .ed-card-image [class*="status"],
.ed-product-card:nth-child(1) [class*="badge"],
.ed-product-card:nth-child(1) [class*="status"] {
    z-index: 50;
}


/* ==========================================================
   ELECTRONIC DESIGNER — PREMIUM HEADER V10
   ========================================================== */

/* Main header surface */
header,
.ed-header,
.site-header {
    position: relative;
    z-index: 100;

    background:
        linear-gradient(
            180deg,
            rgba(4,11,19,.995) 0%,
            rgba(3,9,16,.985) 72%,
            rgba(4,13,23,.98) 100%
        );

    box-shadow:
        0 8px 28px rgba(0,0,0,.38),
        inset 0 -1px 0 rgba(68,166,255,.18);
}

/* Electric precision line under header */
header::after,
.ed-header::after,
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(38,145,255,.15) 8%,
            rgba(69,181,255,.72) 28%,
            rgba(133,218,255,.95) 50%,
            rgba(69,181,255,.72) 72%,
            rgba(38,145,255,.15) 92%,
            transparent 100%
        );

    box-shadow:
        0 0 7px rgba(37,151,255,.35);

    pointer-events: none;
}


/* Navigation */
header nav a,
.ed-nav a,
.site-header nav a {
    position: relative;
    padding-bottom: 7px;

    color: rgba(230,239,247,.86);

    transition:
        color .18s ease,
        text-shadow .18s ease;
}


/* Animated precision underline */
header nav a::after,
.ed-nav a::after,
.site-header nav a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 1px;

    transform: translateX(-50%);

    background: #72caff;

    box-shadow:
        0 0 4px #48b9ff,
        0 0 10px rgba(0,130,255,.75);

    transition: width .20s ease;
}


header nav a:hover::after,
header nav a.active::after,
.ed-nav a:hover::after,
.ed-nav a.active::after,
.site-header nav a:hover::after,
.site-header nav a.active::after {
    width: 100%;
}


header nav a:hover,
header nav a.active,
.ed-nav a:hover,
.ed-nav a.active,
.site-header nav a:hover,
.site-header nav a.active {
    color: #eaf8ff;

    text-shadow:
        0 0 5px rgba(102,202,255,.90),
        0 0 13px rgba(0,117,255,.50);
}


/* Existing logo area — preserve it until final ED asset arrives */
header .logo,
.ed-logo,
.site-logo {
    position: relative;

    filter:
        drop-shadow(0 2px 2px rgba(0,0,0,.85))
        drop-shadow(0 0 7px rgba(54,165,255,.12));
}


/* Right-side engineering descriptor */
header .header-meta,
.ed-header-meta,
.site-header .header-meta {
    color: rgba(196,215,230,.72);
    letter-spacing: .24em;

    text-shadow:
        0 0 8px rgba(65,165,255,.12);
}


/* Desktop refinement */
@media (min-width: 761px) {

    header,
    .ed-header,
    .site-header {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}


/* Mobile */
@media (max-width: 760px) {

    header nav a,
    .ed-nav a,
    .site-header nav a {
        padding-bottom: 4px;
    }

    header .header-meta,
    .ed-header-meta,
    .site-header .header-meta {
        letter-spacing: .12em;
    }
}


/* =========================================================
   NAV ACTIVE FIX — remove stray blue line
   ========================================================= */

header nav a,
.ed-nav a,
nav a {
    position: relative;
}

/* Kill any old decorative pseudo-elements creating stray lines */
header nav a::before,
.ed-nav a::before,
nav a::before {
    content: none !important;
    display: none !important;
}

/* Clean active underline */
header nav a.active::after,
.ed-nav a.active::after,
nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 30px;
    height: 1px;
    transform: translateX(-50%);
    background: #65b8ff;
    box-shadow:
        0 0 5px rgba(70,160,255,.95),
        0 0 12px rgba(70,130,255,.55);
    border-radius: 2px;
    pointer-events: none;
}



/* === ED 3D HEADER LOGO START === */

.ed-header .ed-logo.ed-logo-3d {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 245px;
    height: 72px;
    gap: 0;
    text-decoration: none;
}

.ed-header .ed-logo-image {
    display: block;
    width: 235px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;

    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,.85))
        drop-shadow(0 0 8px rgba(58,144,255,.16));
}

@media (max-width: 1000px) {
    .ed-header .ed-logo.ed-logo-3d {
        width: 205px;
    }

    .ed-header .ed-logo-image {
        width: 198px;
    }
}

@media (max-width: 760px) {
    .ed-header .ed-logo.ed-logo-3d {
        width: 170px;
        height: 58px;
    }

    .ed-header .ed-logo-image {
        width: 165px;
        max-height: 54px;
    }
}

/* === ED 3D HEADER LOGO END === */

/* === ED MOBILE HEADER FIX START === */

@media (max-width: 760px) {

    .ed-header {
        min-height: 108px;
    }

    .ed-header .ed-nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: 58px 42px !important;
        gap: 0 !important;

        width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Logo: left aligned */
    .ed-header .ed-logo.ed-logo-3d {
        grid-row: 1;
        justify-self: start !important;
        align-self: center !important;

        width: 190px !important;
        height: 54px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .ed-header .ed-logo-image {
        width: 185px !important;
        max-height: 52px !important;

        object-fit: contain !important;
        object-position: left center !important;
    }

    /* Main menu: second row */
    .ed-header .ed-menu {
        grid-row: 2;

        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        justify-self: start !important;
        align-items: center !important;

        width: 100% !important;
        gap: 20px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .ed-header .ed-menu a {
        display: block !important;
        padding: 8px 0 10px !important;

        font-size: 11px !important;
        white-space: nowrap !important;
    }

    /* Hide long engineering descriptor on phone */
    .ed-header .ed-sector {
        display: none !important;
    }
}

/* Extra narrow phones */
@media (max-width: 390px) {

    .ed-header .ed-logo.ed-logo-3d {
        width: 175px !important;
    }

    .ed-header .ed-logo-image {
        width: 170px !important;
    }

    .ed-header .ed-menu {
        gap: 14px !important;
    }

    .ed-header .ed-menu a {
        font-size: 10px !important;
    }
}

/* === ED MOBILE HEADER FIX END === */

/* === ED 3D FOOTER LOGO START === */

.ed-footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 220px;
}

.ed-footer-logo-image {
    display: block;
    width: 210px;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;

    opacity: .92;

    filter:
        drop-shadow(0 2px 3px rgba(0,0,0,.80))
        drop-shadow(0 0 6px rgba(58,144,255,.10));
}

@media (max-width: 760px) {

    .ed-footer-brand {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .ed-footer-logo-image {
        width: 180px;
        max-height: 56px;
    }
}

/* === ED 3D FOOTER LOGO END === */

/* === MOBILE PRODUCT IMAGE FIX START === */

@media (max-width: 760px) {

    .product-card img,
    .ed-product-card img,
    .product-image img,
    .card-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;

        object-fit: contain !important;
        object-position: center center !important;

        background: #07101b;
    }

    .product-card .product-image,
    .ed-product-card .product-image,
    .card-image {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

/* === MOBILE PRODUCT IMAGE FIX END === */

/* === ED HOMEPAGE AUDIO START === */

.ed-home-audio {
    margin-top: 24px;
}

.ed-home-audio-btn {
    appearance: none;
    border: 1px solid rgba(91,200,255,.45);
    background: rgba(5,12,20,.50);
    color: #7fd7ff;

    padding: 11px 16px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;

    cursor: pointer;

    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.ed-home-audio-btn:hover {
    color: #ffffff;
    border-color: rgba(91,200,255,.85);
    background: rgba(15,30,45,.72);

    box-shadow:
        0 0 10px rgba(50,160,255,.12);
}

.ed-home-audio-btn.is-playing {
    color: #ffffff;
    border-color: rgba(91,200,255,.90);

    box-shadow:
        0 0 12px rgba(50,160,255,.16);
}

@media (max-width: 760px) {

    .ed-home-audio {
        margin-top: 18px;
    }

    .ed-home-audio-btn {
        font-size: 9px;
        padding: 10px 13px;
    }
}

/* === ED HOMEPAGE AUDIO END === */

/* ==========================================================
   HERO CONTAINER LOCK — FINAL
   Keeps hero artwork and HTML content on the same responsive
   max-width grid, so they do not drift at browser zoom changes.
   ========================================================== */

.ed-cinematic-hero {
    position: relative;
    overflow: hidden;
    background: #03090e !important;
}

.ed-cinematic-hero::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(calc(100% - 80px), 1480px);
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            rgba(2,7,12,.96) 0%,
            rgba(2,7,12,.72) 35%,
            rgba(2,7,12,.20) 67%,
            rgba(2,7,12,.48) 100%
        ),
        url("../images/branding/electronic-designer-hero-van.webp")
        center 55% / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.ed-cinematic-hero .ed-hero-content {
    position: relative;
    z-index: 3;
}

@media (max-width: 760px) {
    .ed-cinematic-hero::before {
        width: min(calc(100% - 28px), 1480px);
        background:
            linear-gradient(
                90deg,
                rgba(2,7,12,.96) 0%,
                rgba(2,7,12,.72) 35%,
                rgba(2,7,12,.20) 67%,
                rgba(2,7,12,.48) 100%
            ) center / 100% 100% no-repeat,
            url("../images/branding/electronic-designer-hero-van.webp")
            60% center / auto 53% no-repeat,
            #030812;
    }
}

/* === HERO CONTAINER LOCK END === */

/* === MOBILE COMPACT SCALE START === */

@media (max-width: 760px) {

    .ed-header {
        min-height: 105px;
    }

    .ed-menu {
        gap: 22px;
    }

    .ed-menu a {
        font-size: 11px;
    }

    .ed-hero-kicker {
        font-size: 11px;
        letter-spacing: .23em;
    }

    .ed-hero-title {
        font-size: clamp(34px, 10vw, 52px);
        line-height: .92;
    }

    .ed-hero-tagline {
        font-size: 11px;
        line-height: 1.45;
        letter-spacing: .08em;
    }

    .ed-home-audio-btn {
        font-size: 10px;
        padding: 10px 14px;
    }

    .ed-hero-right {
        font-size: 13px;
        letter-spacing: .20em;
        line-height: 1.45;
    }
}

/* === MOBILE COMPACT SCALE END === */


/* === MOBILE HERO VERTICAL COMPACT START === */

@media (max-width: 760px) {

    .ed-cinematic-hero {
        padding-top: 0 !important;
    }

    .ed-hero-content {
        align-items: flex-start !important;
        padding-top: 38px !important;
        padding-bottom: 26px !important;
    }

    .ed-hero-left {
        margin-top: 0 !important;
    }

    .ed-hero-right {
        margin-top: 12px !important;
    }
}

/* === MOBILE HERO VERTICAL COMPACT END === */

/* === PRODUCT CARD IMAGE LOCK START === */

.ed-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    overflow: hidden;
    background: #05080c;
}

.ed-card-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

/* === PRODUCT CARD IMAGE LOCK END === */
/* === MOBILE PRODUCT SUBTITLE FIX FINAL === */

@media (max-width: 760px) {

    .ed-product-card .ed-card-copy h2 > span {
        color: #59c7ff !important;

        text-shadow: none !important;
        -webkit-text-stroke: 0 !important;
        filter: none !important;

        font-weight: 400 !important;
    }
}

/* === MOBILE PRODUCT SUBTITLE FIX FINAL END === */