:root {

    --bg:
        #05090e;

    --bg2:
        #071019;

    --panel:
        rgba(12, 23, 33, .72);

    --line:
        rgba(188, 211, 228, .12);

    --line2:
        rgba(76, 171, 240, .20);

    --text:
        #f5f8fa;

    --muted:
        #8d9cab;

    --blue:
        #4db5ff;

    --blue2:
        #2089dc;

    --gold:
        #e5b85b;

    --green:
        #58df9b;

    --silver:
        #c8d2da;

    --max:
        1240px;

}


* {
    box-sizing:
        border-box;
}


html {
    scroll-behavior:
        smooth;
}


body {

    margin:
        0;

    min-width:
        320px;

    color:
        var(--text);

    background:
        var(--bg);

    font-family:
        "IBM Plex Sans",
        system-ui,
        sans-serif;

    -webkit-font-smoothing:
        antialiased;

}


body::before {

    content:
        "";

    position:
        fixed;

    inset:
        0;

    z-index:
        -4;

    background:

        radial-gradient(
            circle at 65% 15%,
            rgba(46, 139, 208, .13),
            transparent 34%
        ),

        radial-gradient(
            circle at 22% 65%,
            rgba(224, 177, 79, .045),
            transparent 31%
        ),

        linear-gradient(
            180deg,
            #071019 0%,
            #05090e 70%
        );

}


.site-background {

    position:
        fixed;

    inset:
        0;

    z-index:
        -3;

    pointer-events:
        none;

    background-image:
        linear-gradient(
            rgba(110, 181, 229, .022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(110, 181, 229, .022) 1px,
            transparent 1px
        );

    background-size:
        48px 48px;

}


a {
    color:
        inherit;
}


h1,
h2,
h3,
.brand {
    font-family:
        "Space Grotesk",
        sans-serif;
}



/* ==========================================================
   HEADER
   ========================================================== */

.topbar {

    position:
        fixed;

    top:
        0;

    left:
        0;

    right:
        0;

    z-index:
        100;

    background:
        rgba(5, 9, 14, .82);

    border-bottom:
        1px solid rgba(255,255,255,.06);

    backdrop-filter:
        blur(20px);

}


.topbar-inner {

    width:
        min(var(--max), calc(100% - 48px));

    height:
        76px;

    margin:
        auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.brand {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    text-decoration:
        none;

    font-size:
        .78rem;

    font-weight:
        700;

    letter-spacing:
        .17em;

}


.brand-plus::before {

    content:
        "++";

    margin-right:
        7px;

    color:
        var(--blue);

    font-family:
        "IBM Plex Mono";

}


.brand-divider {

    width:
        1px;

    height:
        18px;

    background:
        rgba(255,255,255,.20);

}


.brand-gold {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

}


.header-right {

    display:
        flex;

    align-items:
        center;

    gap:
        34px;

}


.main-nav {

    display:
        flex;

    gap:
        28px;

}


.main-nav a {

    color:
        #b2bcc6;

    text-decoration:
        none;

    font-size:
        .82rem;

    font-weight:
        600;

}


.main-nav a:hover {

    color:
        white;

}


.language-switch {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding-left:
        24px;

    border-left:
        1px solid rgba(255,255,255,.14);

    font-family:
        "IBM Plex Mono";

    font-size:
        .68rem;

}


.language-switch a {

    color:
        #788796;

    text-decoration:
        none;

}


.language-switch a.active {

    color:
        var(--gold);

    border-bottom:
        1px solid var(--gold);

}


.language-switch span {

    color:
        #3e4a55;

}


.mobile-menu-button {

    display:
        none;

}



/* ==========================================================
   HERO
   ========================================================== */

.hero {

    min-height:
        100vh;

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    padding:
        125px 0 80px;

    overflow:
        hidden;

}


.hero::before {

    content:
        "";

    position:
        absolute;

    inset:
        76px 0 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,9,14,.92) 0%,
            rgba(5,9,14,.62) 33%,
            rgba(5,9,14,.19) 64%,
            rgba(5,9,14,.35) 100%
        ),
        url("../svg/hero-radio-bg.svg")
        center / cover no-repeat;

    opacity:
        .86;

}


.hero::after {

    content:
        "";

    position:
        absolute;

    inset:
        76px 0 0;

    background:

        linear-gradient(
            180deg,
            rgba(5,9,14,.15),
            transparent 60%,
            rgba(5,9,14,.72)
        );

}


.hero-inner {

    position:
        relative;

    z-index:
        3;

    width:
        min(var(--max), calc(100% - 48px));

    margin:
        auto;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(390px, .88fr);

    gap:
        66px;

    align-items:
        center;

}


.lab-code {

    margin-bottom:
        20px;

    color:
        rgba(164, 188, 205, .28);

    font-family:
        "IBM Plex Mono";

    font-size:
        .62rem;

    letter-spacing:
        .18em;

}


.eyebrow {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    margin-bottom:
        21px;

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .63rem;

    font-weight:
        600;

    letter-spacing:
        .17em;

}


.live-dot {

    width:
        6px;

    height:
        6px;

    border-radius:
        50%;

    background:
        var(--green);

    box-shadow:
        0 0 14px var(--green);

}


.hero-title {

    margin:
        0;

    line-height:
        .91;

}


.hero-pretitle {

    display:
        block;

    margin-bottom:
        9px;

    color:
        #9aa9b8;

    font-size:
        clamp(1.25rem, 2.2vw, 2.3rem);

    font-weight:
        500;

    letter-spacing:
        .07em;

}


.signal {

    display:
        block;

    width:
        max-content;

    max-width:
        100%;

    color:
        transparent;

    background:

        linear-gradient(
            180deg,
            #ffffff 0%,
            #edf1f4 17%,
            #b9c2ca 39%,
            #7d8994 63%,
            #d6dde3 82%,
            #ffffff 100%
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    font-size:
        clamp(4.3rem, 8vw, 8.3rem);

    font-weight:
        700;

    letter-spacing:
        -.065em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.14),
        0 4px 4px rgba(0,0,0,.32),
        0 14px 30px rgba(0,0,0,.30);

    filter:
        drop-shadow(
            0 10px 18px rgba(0,0,0,.20)
        );

}


.control {

    display:
        block;

    margin-top:
        10px;

    color:
        rgba(179, 191, 201, .12);

    -webkit-text-stroke:
        1px rgba(199, 210, 218, .80);

    font-size:
        clamp(2.3rem, 4.4vw, 4.7rem);

    font-weight:
        600;

    line-height:
        .94;

    letter-spacing:
        -.055em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.08),
        0 6px 10px rgba(0,0,0,.30);

}


.hero-description {

    max-width:
        670px;

    margin:
        34px 0 0;

    color:
        #9cacbb;

    font-size:
        1.02rem;

    line-height:
        1.72;

}


.hero-buttons {

    display:
        flex;

    gap:
        12px;

    margin-top:
        34px;

}


.button {

    min-height:
        51px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    padding:
        0 22px;

    border-radius:
        14px;

    text-decoration:
        none;

    font-size:
        .86rem;

    font-weight:
        700;

}


.button-primary {

    color:
        #061019;

    background:
        linear-gradient(
            135deg,
            #6bc5ff,
            #3294df
        );

    border:
        1px solid rgba(128,205,255,.55);

    box-shadow:
        0 0 25px rgba(59,160,235,.15);

}


.button-primary:hover {

    box-shadow:
        0 0 34px rgba(59,160,235,.28);

}


.button-secondary {

    color:
        #d8e0e6;

    background:
        rgba(255,255,255,.027);

    border:
        1px solid rgba(195,216,230,.13);

}


.hero-stats {

    max-width:
        600px;

    display:
        flex;

    gap:
        44px;

    margin-top:
        46px;

    padding-top:
        24px;

    border-top:
        1px solid rgba(255,255,255,.08);

}


.hero-stats div {

    display:
        flex;

    flex-direction:
        column;

}


.hero-stats strong {

    font-family:
        "Space Grotesk";

    font-size:
        1rem;

}


.hero-stats span {

    margin-top:
        5px;

    color:
        #6f8090;

    font-family:
        "IBM Plex Mono";

    font-size:
        .54rem;

    letter-spacing:
        .08em;

}



/* ==========================================================
   RADIO SIDE DATA
   ========================================================== */

.hero-radio-data {

    position:
        absolute;

    z-index:
        3;

    top:
        205px;

    color:
        rgba(87,167,225,.47);

    font-family:
        "IBM Plex Mono";

    font-size:
        .66rem;

    letter-spacing:
        .08em;

}


.hero-radio-left {

    left:
        22px;

}


.hero-radio-right {

    right:
        22px;

    text-align:
        left;

}


.hero-radio-data div {

    margin-bottom:
        24px;

}


.hero-radio-data strong,
.hero-radio-data span {

    display:
        block;

}


.hero-radio-data strong {

    font-size:
        .72rem;

    font-weight:
        500;

}


.hero-radio-data span {

    margin-top:
        3px;

}


.radio-message {

    margin-top:
        48px;

    font-size:
        1rem;

    line-height:
        1.55;

}



/* ==========================================================
   SYSTEM PANEL
   ========================================================== */

.system-panel {

    position:
        relative;

    min-height:
        470px;

    overflow:
        hidden;

    border:
        1px solid rgba(169, 208, 235, .25);

    border-radius:
        27px;

    background:

        radial-gradient(
            circle at 50% 45%,
            rgba(46, 135, 206, .16),
            transparent 52%
        ),

        linear-gradient(
            145deg,
            rgba(44, 73, 96, .24),
            rgba(4, 10, 16, .34)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 32px 80px rgba(0,0,0,.40),
        0 0 55px rgba(54,158,236,.055);

    backdrop-filter:
        blur(8px);

}


.system-panel::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background-image:

        linear-gradient(
            rgba(89,166,220,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(89,166,220,.035) 1px,
            transparent 1px
        );

    background-size:
        27px 27px;

}


.system-panel-header {

    position:
        absolute;

    z-index:
        4;

    top:
        25px;

    left:
        27px;

    right:
        27px;

    display:
        flex;

    justify-content:
        space-between;

    color:
        #8f9eaa;

    font-family:
        "IBM Plex Mono";

    font-size:
        .57rem;

    font-weight:
        600;

    letter-spacing:
        .15em;

}


.system-online {

    color:
        var(--green);

}


.system-online i {

    display:
        inline-block;

    width:
        5px;

    height:
        5px;

    margin-left:
        6px;

    border-radius:
        50%;

    background:
        var(--green);

    box-shadow:
        0 0 11px var(--green);

}


.system-instrument {

    position:
        absolute;

    top:
        50%;

    left:
        48%;

    width:
        70%;

    aspect-ratio:
        1 / 1;

    transform:
        translate(-50%, -50%);

}


.instrument-ring {

    position:
        absolute;

    left:
        50%;

    top:
        50%;

    aspect-ratio:
        1 / 1;

    border-radius:
        50%;

    transform:
        translate(-50%, -50%);

}


.instrument-ring-a {

    width:
        94%;

    border:
        1px solid rgba(83,180,247,.32);

}


.instrument-ring-b {

    width:
        73%;

    border:
        1px solid rgba(229,184,91,.36);

}


.instrument-ring-c {

    width:
        53%;

    border:
        1px solid rgba(175,207,229,.42);

}


.direction {

    position:
        absolute;

    color:
        #a5b3bf;

    font-family:
        "IBM Plex Mono";

    font-size:
        .65rem;

}


.direction-n {

    top:
        -3px;

    left:
        50%;

    transform:
        translateX(-50%);

}


.direction-s {

    bottom:
        -3px;

    left:
        50%;

    transform:
        translateX(-50%);

}


.direction-w {

    left:
        0;

    top:
        50%;

    transform:
        translateY(-50%);

}


.direction-e {

    right:
        0;

    top:
        50%;

    transform:
        translateY(-50%);

}


.orbit-node {

    position:
        absolute;

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

}


.orbit-node-blue {

    background:
        #60baff;

    box-shadow:
        0 0 5px white,
        0 0 14px #4eb5ff;

}


.orbit-node-gold {

    background:
        #e8be61;

    box-shadow:
        0 0 5px white,
        0 0 14px #e8be61;

}


.node-one {

    left:
        2%;

    top:
        50%;

}


.node-two {

    right:
        12%;

    top:
        50%;

}


.node-three {

    left:
        50%;

    top:
        13%;

}


.node-four {

    left:
        50%;

    bottom:
        12%;

}


.system-core {

    position:
        absolute;

    left:
        50%;

    top:
        50%;

    width:
        148px;

    height:
        148px;

    transform:
        translate(-50%, -50%);

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    border:
        1px solid rgba(215,226,234,.39);

    background:

        radial-gradient(
            circle at 35% 25%,
            rgba(230,239,245,.18),
            transparent 22%
        ),

        radial-gradient(
            circle,
            #172630,
            #0b141c 57%,
            #05090d 100%
        );

    box-shadow:

        inset 0 2px 2px rgba(255,255,255,.14),

        inset 0 -15px 30px rgba(0,0,0,.62),

        0 0 0 5px rgba(5,9,14,.9),

        0 0 0 6px rgba(192,211,224,.22),

        0 0 0 13px rgba(68,145,201,.05),

        0 0 0 14px rgba(155,196,225,.07),

        0 20px 38px rgba(0,0,0,.48),

        0 0 42px rgba(61,164,241,.13);

}


.core-reflection {

    position:
        absolute;

    top:
        10%;

    left:
        24%;

    width:
        52%;

    height:
        24%;

    border-radius:
        50%;

    background:
        linear-gradient(
            rgba(255,255,255,.14),
            transparent
        );

    filter:
        blur(3px);

}


.system-core strong {

    position:
        relative;

    z-index:
        2;

    color:
        transparent;

    background:
        linear-gradient(
            #ffffff,
            #b4c1ca 58%,
            #e8edf1
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    font-family:
        "IBM Plex Mono";

    font-size:
        1.25rem;

    letter-spacing:
        .14em;

}


.system-core span {

    position:
        relative;

    z-index:
        2;

    margin-top:
        7px;

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .49rem;

    font-weight:
        700;

    letter-spacing:
        .20em;

}


.system-side-labels {

    position:
        absolute;

    z-index:
        4;

    right:
        24px;

    top:
        135px;

    display:
        flex;

    flex-direction:
        column;

    gap:
        8px;

    padding-left:
        12px;

    border-left:
        1px solid rgba(84,173,234,.26);

    color:
        #8092a2;

    font-family:
        "IBM Plex Mono";

    font-size:
        .48rem;

    letter-spacing:
        .11em;

}


.system-panel-footer {

    position:
        absolute;

    z-index:
        4;

    left:
        25px;

    right:
        25px;

    bottom:
        22px;

    display:
        flex;

    justify-content:
        space-between;

    color:
        #748696;

    font-family:
        "IBM Plex Mono";

    font-size:
        .46rem;

    line-height:
        1.6;

    letter-spacing:
        .09em;

}



/* ==========================================================
   SCROLL
   ========================================================== */

.scroll-hint {

    position:
        absolute;

    z-index:
        4;

    left:
        50%;

    bottom:
        20px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    gap:
        5px;

    transform:
        translateX(-50%);

    color:
        #536575;

    font-family:
        "IBM Plex Mono";

}


.scroll-mouse {

    width:
        24px;

    height:
        36px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius:
        16px;

}


.scroll-hint small {

    font-size:
        .48rem;

    letter-spacing:
        .08em;

}


.scroll-arrow {

    color:
        var(--gold);

}



/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */

.section {

    width:
        min(var(--max), calc(100% - 48px));

    margin:
        auto;

    padding:
        110px 0;

}


.section-heading {

    display:
        grid;

    grid-template-columns:
        1fr minmax(280px, 460px);

    gap:
        50px;

    align-items:
        end;

    margin-bottom:
        43px;

}


.section-code {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .60rem;

    font-weight:
        600;

    letter-spacing:
        .16em;

}


.section-heading h2 {

    margin:
        11px 0 0;

    font-size:
        clamp(2.3rem, 4vw, 4.3rem);

    line-height:
        1;

    letter-spacing:
        -.05em;

}


.section-heading p {

    margin:
        0;

    color:
        var(--muted);

    line-height:
        1.65;

}



/* ==========================================================
   PROJECT CARDS
   ========================================================== */

.featured-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        16px;

}


.project-card {

    min-height:
        410px;

    position:
        relative;

    overflow:
        hidden;

    display:
        flex;

    flex-direction:
        column;

    padding:
        22px;

    border:
        1px solid rgba(188,211,228,.10);

    border-radius:
        22px;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.010)
        );

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

}


.project-card::before {

    content:
        "";

    position:
        absolute;

    top:
        0;

    left:
        22px;

    width:
        42px;

    height:
        1px;

    background:
        var(--blue);

    box-shadow:
        0 0 14px var(--blue);

}


.project-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(77,181,255,.28);

    box-shadow:
        0 25px 55px rgba(0,0,0,.24);

}


.featured-main {

    grid-column:
        span 2;

}


.card-top {

    display:
        flex;

    justify-content:
        space-between;

    color:
        #556574;

    font-family:
        "IBM Plex Mono";

    font-size:
        .52rem;

    letter-spacing:
        .10em;

}


.project-status {

    color:
        #718696;

}


.live-status {

    color:
        var(--green);

}


.project-visual {

    flex:
        1;

    min-height:
        130px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin:
        18px 0;

    border-radius:
        16px;

    background:

        radial-gradient(
            circle,
            rgba(62,157,230,.11),
            transparent 62%
        );

}


.station-visual {

    flex-direction:
        column;

}


.station-visual span {

    color:
        var(--blue);

    font-family:
        "Space Grotesk";

    font-size:
        3rem;

    font-weight:
        600;

}


.station-visual strong {

    color:
        #687b8b;

    font-family:
        "IBM Plex Mono";

    font-size:
        .56rem;

    letter-spacing:
        .18em;

}


.mini-logbook {

    width:
        80%;

    max-width:
        470px;

    padding:
        19px;

    border:
        1px solid rgba(120,184,227,.18);

    border-radius:
        14px;

    background:
        rgba(4,10,16,.58);

}


.mini-logbook span {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .5rem;

}


.mini-logbook strong {

    display:
        block;

    margin:
        8px 0 16px;

    font-size:
        1.5rem;

}


.mini-logbook div {

    height:
        1px;

    margin:
        8px 0;

    background:
        linear-gradient(
            90deg,
            rgba(77,181,255,.40),
            transparent
        );

}


.dial-visual {

    position:
        relative;

}


.dial-ring {

    width:
        110px;

    height:
        110px;

    border:
        1px solid rgba(79,181,247,.35);

    border-radius:
        50%;

    box-shadow:
        0 0 0 18px rgba(79,181,247,.025);

}


.dial-visual strong {

    position:
        absolute;

    color:
        var(--silver);

    font-family:
        "IBM Plex Mono";

}


.weather-visual span,
.simple-project-symbol {

    color:
        var(--gold);

    font-family:
        "Space Grotesk";

    font-size:
        3rem;

    font-weight:
        600;

}


.weather-visual {

    flex-direction:
        column;

}


.weather-visual strong {

    color:
        #607485;

    font-family:
        "IBM Plex Mono";

    font-size:
        .50rem;

    letter-spacing:
        .15em;

}


.platform-tags {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        5px;

    margin-bottom:
        12px;

}


.platform-tags span {

    padding:
        4px 7px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius:
        4px;

    color:
        #718191;

    font-family:
        "IBM Plex Mono";

    font-size:
        .48rem;

    letter-spacing:
        .05em;

}


.project-info h3 {

    margin:
        0 0 10px;

    font-size:
        1.25rem;

    letter-spacing:
        -.025em;

}


.project-info p {

    margin:
        0;

    color:
        #8191a0;

    font-size:
        .84rem;

    line-height:
        1.55;

}


.project-info a {

    display:
        inline-block;

    margin-top:
        17px;

    color:
        #b9c6d1;

    font-family:
        "IBM Plex Mono";

    font-size:
        .58rem;

    text-decoration:
        none;

    letter-spacing:
        .07em;

}



/* ==========================================================
   PLATFORM CARDS
   ========================================================== */

.platform-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        15px;

}


.platform-card {

    min-height:
        250px;

    position:
        relative;

    padding:
        25px;

    border:
        1px solid var(--line);

    border-radius:
        21px;

    background:
        rgba(255,255,255,.022);

}


.platform-number {

    position:
        absolute;

    top:
        22px;

    right:
        22px;

    color:
        #445260;

    font-family:
        "IBM Plex Mono";

    font-size:
        .55rem;

}


.platform-card > strong {

    width:
        62px;

    height:
        62px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(77,181,255,.16);

    border-radius:
        17px;

    color:
        var(--blue);

    background:
        rgba(77,181,255,.045);

    font-family:
        "IBM Plex Mono";

    font-size:
        .66rem;

}


.platform-card h3 {

    margin:
        30px 0 8px;

    font-size:
        1.2rem;

}


.platform-card p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        .83rem;

    line-height:
        1.6;

}



/* ==========================================================
   ALL PROJECTS
   ========================================================== */

.all-projects-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        10px;

}


.all-projects-grid article {

    display:
        grid;

    grid-template-columns:
        48px 1fr;

    gap:
        18px;

    align-items:
        center;

    padding:
        20px;

    border:
        1px solid rgba(255,255,255,.065);

    border-radius:
        16px;

    background:
        rgba(255,255,255,.016);

}


.all-projects-grid article > span {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .57rem;

}


.all-projects-grid h3 {

    margin:
        0;

    font-size:
        .95rem;

}


.all-projects-grid p {

    margin:
        4px 0 0;

    color:
        #6e7f8d;

    font-size:
        .75rem;

}



/* ==========================================================
   ABOUT
   ========================================================== */

.about-panel {

    display:
        grid;

    grid-template-columns:
        .65fr 1.35fr;

    min-height:
        470px;

    overflow:
        hidden;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:
        28px;

    background:

        radial-gradient(
            circle at 22% 50%,
            rgba(62,154,225,.08),
            transparent 35%
        ),

        rgba(255,255,255,.018);

}


.about-call {

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    border-right:
        1px solid rgba(255,255,255,.07);

}


.about-call span {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        .55rem;

    letter-spacing:
        .18em;

}


.about-call strong {

    margin:
        10px 0 0;

    font-size:
        clamp(3.2rem, 6vw, 5.8rem);

    letter-spacing:
        -.06em;

}


.about-call small {

    color:
        #667786;

    font-family:
        "IBM Plex Mono";

    letter-spacing:
        .15em;

}


.about-copy {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        clamp(36px, 6vw, 72px);

}


.about-copy h2 {

    margin:
        12px 0 24px;

    font-size:
        clamp(2rem, 4vw, 4rem);

    line-height:
        1.03;

    letter-spacing:
        -.05em;

}


.about-copy p {

    max-width:
        720px;

    margin:
        0 0 14px;

    color:
        var(--muted);

    line-height:
        1.65;

}


.signature {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin-top:
        18px;

    font-family:
        "IBM Plex Mono";

    font-size:
        .72rem;

}


.signature span {

    width:
        34px;

    height:
        1px;

    background:
        var(--gold);

}



/* ==========================================================
   FOOTER
   ========================================================== */

footer {

    width:
        min(var(--max), calc(100% - 48px));

    margin:
        auto;

    padding:
        35px 0 28px;

    border-top:
        1px solid rgba(255,255,255,.075);

}


.footer-main {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        30px;

    padding-bottom:
        30px;

}


.footer-main > div:first-child {

    display:
        flex;

    flex-direction:
        column;

}


.footer-main strong {

    font-size:
        .76rem;

    letter-spacing:
        .13em;

}


.footer-main span {

    margin-top:
        7px;

    color:
        #677887;

    font-size:
        .68rem;

}


.footer-call {

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono";

    font-size:
        1.1rem;

    font-weight:
        700;

}


.footer-bottom {

    display:
        flex;

    justify-content:
        space-between;

    padding-top:
        18px;

    border-top:
        1px solid rgba(255,255,255,.045);

    color:
        #556675;

    font-family:
        "IBM Plex Mono";

    font-size:
        .56rem;

}



/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .hero-inner {

        grid-template-columns:
            1fr;

    }


    .system-panel {

        width:
            min(600px, 100%);

        margin:
            auto;

    }


    .featured-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .featured-main {

        grid-column:
            span 2;

    }


    .hero-radio-left,
    .hero-radio-right {

        display:
            none;

    }

}



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

@media (max-width: 760px) {

    .topbar-inner,
    .hero-inner,
    .section,
    footer {

        width:
            calc(100% - 30px);

    }


    .topbar-inner {

        height:
            68px;

    }


    .mobile-menu-button {

        display:
            block;

        width:
            42px;

        height:
            42px;

        padding:
            10px;

        border:
            1px solid rgba(255,255,255,.10);

        border-radius:
            12px;

        background:
            rgba(255,255,255,.025);

    }


    .mobile-menu-button span {

        display:
            block;

        height:
            2px;

        margin:
            4px 0;

        background:
            white;

    }


    .header-right {

        position:
            absolute;

        top:
            68px;

        left:
            15px;

        right:
            15px;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            0;

        overflow:
            hidden;

        border:
            1px solid rgba(255,255,255,.10);

        border-radius:
            16px;

        background:
            rgba(7,13,19,.98);

    }


    .header-right.open {

        display:
            flex;

    }


    .main-nav {

        display:
            flex;

        flex-direction:
            column;

        gap:
            0;

    }


    .main-nav a {

        padding:
            16px 18px;

        border-bottom:
            1px solid rgba(255,255,255,.05);

    }


    .language-switch {

        justify-content:
            center;

        padding:
            16px;

        border-left:
            0;

    }


    .hero {

        min-height:
            auto;

        padding:
            110px 0 90px;

    }


    .hero::before,
    .hero::after {

        inset:
            68px 0 0;

    }


    .hero-title {

        line-height:
            .94;

    }


    .signal {

        font-size:
            clamp(4rem, 19vw, 6.3rem);

    }


    .control {

        font-size:
            clamp(2.2rem, 10vw, 3.8rem);

    }


    .hero-buttons {

        flex-direction:
            column;

    }


    .button {

        width:
            100%;

    }


    .hero-stats {

        display:
            grid;

        grid-template-columns:
            1fr 1fr;

        gap:
            20px;

    }


    .system-panel {

        min-height:
            430px;

    }


    .system-side-labels {

        display:
            none;

    }


    .system-instrument {

        left:
            50%;

        width:
            78%;

    }


    .system-core {

        width:
            125px;

        height:
            125px;

    }


    .scroll-hint {

        display:
            none;

    }


    .section {

        padding:
            80px 0;

    }


    .section-heading {

        grid-template-columns:
            1fr;

        gap:
            18px;

    }


    .featured-grid,
    .platform-grid,
    .all-projects-grid {

        grid-template-columns:
            1fr;

    }


    .featured-main {

        grid-column:
            span 1;

    }


    .project-card {

        min-height:
            380px;

    }


    .about-panel {

        grid-template-columns:
            1fr;

    }


    .about-call {

        min-height:
            280px;

        border-right:
            0;

        border-bottom:
            1px solid rgba(255,255,255,.07);

    }


    .footer-main,
    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

    }

}



/* ==========================================================
   SMALL PHONE
   ========================================================== */

@media (max-width: 440px) {

    .brand {

        font-size:
            .66rem;

        gap:
            8px;

    }


    .signal {

        font-size:
            4.1rem;

    }


    .control {

        font-size:
            2.25rem;

    }


    .system-panel {

        min-height:
            390px;

    }


    .system-core {

        width:
            105px;

        height:
            105px;

    }


    .system-core strong {

        font-size:
            1rem;

    }


    .system-panel-footer {

        font-size:
            .40rem;

    }

}



/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;

    }


    *,
    *::before,
    *::after {

        transition-duration:
            .01ms !important;

        animation-duration:
            .01ms !important;

    }

}


/* LANGUAGE FLAGS */
.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(185, 198, 214, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.88;
}

.language-switch a:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateY(-1px);
}

.language-switch a.active {
    color: #f2b84b;
    opacity: 1;
}

.language-switch .lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    line-height: 1;
    filter: saturate(1.08) drop-shadow(0 0 6px rgba(255,255,255,0.08));
    transform: translateY(-1px);
}

.language-switch .lang-code {
    line-height: 1;
}

@media (max-width: 900px) {
    .language-switch {
        gap: 8px;
    }

    .language-switch a {
        gap: 4px;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .language-switch .lang-flag {
        font-size: 0.8rem;
    }
}

/* LANGUAGE ACTIVE UNDERLINE — REFINED */
.language-switch a.active {
    border-bottom: none;
}

.language-switch .lang-code {
    position: relative;
    display: inline-block;
}

.language-switch a.active .lang-code::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -5px;

    width: 13px;
    height: 1px;

    background: var(--gold);

    box-shadow:
        0 0 7px rgba(229, 184, 91, .32);

    transform: translateX(-50%);
}



/* ==========================================================
   LANGUAGE FLAG UNDERLINE — FINAL ALIGNMENT
   ========================================================== */

/* remove previous underline from language code */
.language-switch a.active .lang-code::after {
    content: none !important;
}

/* flag becomes positioning reference */
.language-switch .lang-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* active underline exactly below flag */
.language-switch a.active .lang-flag::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -7px;

    width: 11px;
    height: 1px;

    background: var(--gold);

    box-shadow:
        0 0 6px rgba(229, 184, 91, .35);

    transform: translateX(-50%);
}

/* keep code clean */
.language-switch .lang-code {
    position: static;
}



/* ==========================================================
   GOLDY LAB V5.1
   FEATURED PROJECTS — PREMIUM ENGINEERING CARDS
   ========================================================== */


/* Featured section gets its own subtle technical atmosphere */
#featured {
    position: relative;
}

#featured::before {
    content: "";
    position: absolute;
    z-index: -1;

    left: 50%;
    top: 40px;

    width: 100vw;
    height: 85%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 24% 22%,
            rgba(66, 159, 228, .055),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 58%,
            rgba(229, 184, 91, .035),
            transparent 27%
        );

    pointer-events: none;
}


/* ----------------------------------------------------------
   GRID
   ---------------------------------------------------------- */

.featured-grid {
    gap: 18px;
}


/* ----------------------------------------------------------
   CARD BODY
   ---------------------------------------------------------- */

.project-card {
    isolation: isolate;

    border:
        1px solid rgba(177, 205, 225, .115);

    background:
        linear-gradient(
            145deg,
            rgba(22, 37, 50, .70),
            rgba(7, 13, 19, .82)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 20px 55px rgba(0,0,0,.16);
}


/* fine engineering grid */
.project-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    border-radius: inherit;

    background-image:
        linear-gradient(
            rgba(88, 167, 222, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(88, 167, 222, .025) 1px,
            transparent 1px
        );

    background-size:
        26px 26px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            rgba(0,0,0,.25) 65%,
            transparent
        );

    pointer-events: none;
}


.project-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(93, 184, 247, .32);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 28px 70px rgba(0,0,0,.28),
        0 0 38px rgba(58, 153, 225, .035);
}


/* premium illuminated edge */
.project-card > .card-top::before {
    content: "";

    position: absolute;

    top: 0;
    left: 22px;

    width: 54px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            rgba(77,181,255,.15)
        );

    box-shadow:
        0 0 12px rgba(77,181,255,.42);
}


/* ----------------------------------------------------------
   TOP TECHNICAL LABELS
   ---------------------------------------------------------- */

.card-top {
    position: relative;

    min-height: 18px;

    color:
        #617282;
}


.project-code {
    color:
        #697c8b;

    font-size:
        .50rem;

    font-weight:
        600;

    letter-spacing:
        .13em;
}


.project-status {
    position: relative;

    padding-left:
        11px;

    color:
        #7d8d9b;

    font-size:
        .49rem;

    letter-spacing:
        .10em;
}


.project-status::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    transform:
        translateY(-50%);

    border-radius:
        50%;

    background:
        #7090a6;

    box-shadow:
        0 0 7px rgba(112,144,166,.25);
}


.live-status,
.project-card:nth-child(2) .project-status,
.project-card:nth-child(3) .project-status {
    color:
        #64dca0;
}


.live-status::before,
.project-card:nth-child(2) .project-status::before,
.project-card:nth-child(3) .project-status::before {
    background:
        #59e09c;

    box-shadow:
        0 0 9px rgba(89,224,156,.55);
}


/* ----------------------------------------------------------
   VISUAL AREA
   ---------------------------------------------------------- */

.project-visual {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(112, 179, 224, .07);

    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(62,157,230,.115),
            rgba(13,25,35,.06) 47%,
            transparent 70%
        );
}


/* subtle scan line */
.project-visual::before {
    content: "";

    position: absolute;

    left: 8%;
    right: 8%;

    top: 50%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(75,174,243,.16),
            transparent
        );
}


/* subtle corner instrumentation */
.project-visual::after {
    content: "";

    position: absolute;

    right: 14px;
    bottom: 13px;

    width: 19px;
    height: 19px;

    border-right:
        1px solid rgba(130,183,218,.19);

    border-bottom:
        1px solid rgba(130,183,218,.19);
}


/* ----------------------------------------------------------
   MAIN FEATURED CARD
   ---------------------------------------------------------- */

.featured-main {
    background:
        radial-gradient(
            circle at 79% 22%,
            rgba(69, 165, 236, .09),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(25, 42, 56, .76),
            rgba(7, 13, 19, .84)
        );
}


.featured-main .project-visual {
    min-height:
        160px;
}


/* ----------------------------------------------------------
   MINI LOGBOOK DISPLAY
   ---------------------------------------------------------- */

.mini-logbook {
    position: relative;

    border:
        1px solid rgba(118,186,232,.22);

    background:
        linear-gradient(
            145deg,
            rgba(8, 18, 27, .87),
            rgba(3, 9, 14, .90)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 18px 35px rgba(0,0,0,.20);
}


.mini-logbook::after {
    content:
        "CAT • QSO • CONTEST • QSL";

    position:
        absolute;

    right:
        15px;

    top:
        15px;

    color:
        rgba(105, 167, 208, .36);

    font-family:
        "IBM Plex Mono";

    font-size:
        .42rem;

    letter-spacing:
        .08em;
}


/* ----------------------------------------------------------
   PROJECT SYMBOLS
   ---------------------------------------------------------- */

.station-visual span,
.weather-visual span,
.simple-project-symbol {
    color:
        transparent;

    background:
        linear-gradient(
            180deg,
            #eaf4fa,
            #88a7bb 58%,
            #5d7689
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    text-shadow:
        0 8px 22px rgba(0,0,0,.28);
}


.station-visual strong,
.weather-visual strong {
    margin-top:
        5px;

    color:
        #728899;
}


/* RCC + ROT dial */
.dial-ring {
    position: relative;

    border:
        1px solid rgba(85,183,248,.38);

    box-shadow:
        0 0 0 13px rgba(85,183,248,.025),
        0 0 0 27px rgba(85,183,248,.012),
        inset 0 0 24px rgba(54,151,221,.05);
}


.dial-ring::before,
.dial-ring::after {
    content: "";

    position: absolute;

    border-radius:
        50%;
}


.dial-ring::before {
    inset:
        16px;

    border:
        1px solid rgba(226,184,91,.25);
}


.dial-ring::after {
    width:
        7px;

    height:
        7px;

    top:
        -4px;

    left:
        50%;

    transform:
        translateX(-50%);

    background:
        var(--blue);

    box-shadow:
        0 0 10px rgba(77,181,255,.85);
}


/* ----------------------------------------------------------
   PLATFORM TAGS
   ---------------------------------------------------------- */

.platform-tags span {
    border:
        1px solid rgba(144,181,207,.10);

    color:
        #8193a2;

    background:
        rgba(255,255,255,.018);

    letter-spacing:
        .075em;
}


/* ----------------------------------------------------------
   TITLES / TEXT
   ---------------------------------------------------------- */

.project-info h3 {
    color:
        #edf3f7;

    font-weight:
        600;

    letter-spacing:
        -.03em;
}


.project-info p {
    color:
        #8597a6;

    line-height:
        1.62;
}


/* ----------------------------------------------------------
   VIEW PROJECT LINK
   ---------------------------------------------------------- */

.project-info a {
    position: relative;

    padding-left:
        24px;

    color:
        #b9c7d2;

    transition:
        color .2s ease,
        transform .2s ease;
}


.project-info a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 15px;
    height: 1px;

    background:
        var(--gold);

    box-shadow:
        0 0 7px rgba(229,184,91,.27);

    transform:
        translateY(-50%);
}


.project-info a:hover {
    color:
        white;

    transform:
        translateX(3px);
}


/* ----------------------------------------------------------
   WEATHER GOLD ACCENT
   ---------------------------------------------------------- */

.weather-card {
    border-color:
        rgba(229,184,91,.15);
}


.weather-card > .card-top::before {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            rgba(229,184,91,.12)
        );

    box-shadow:
        0 0 12px rgba(229,184,91,.32);
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    .project-card {
        min-height:
            390px;
    }

    .featured-main .project-visual {
        min-height:
            145px;
    }

}



/* ==========================================================
   GOLDY LAB V5.1
   FEATURED PROJECTS — PREMIUM ENGINEERING CARDS
   ========================================================== */


/* Featured section gets its own subtle technical atmosphere */
#featured {
    position: relative;
}

#featured::before {
    content: "";
    position: absolute;
    z-index: -1;

    left: 50%;
    top: 40px;

    width: 100vw;
    height: 85%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 24% 22%,
            rgba(66, 159, 228, .055),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 58%,
            rgba(229, 184, 91, .035),
            transparent 27%
        );

    pointer-events: none;
}


/* ----------------------------------------------------------
   GRID
   ---------------------------------------------------------- */

.featured-grid {
    gap: 18px;
}


/* ----------------------------------------------------------
   CARD BODY
   ---------------------------------------------------------- */

.project-card {
    isolation: isolate;

    border:
        1px solid rgba(177, 205, 225, .115);

    background:
        linear-gradient(
            145deg,
            rgba(22, 37, 50, .70),
            rgba(7, 13, 19, .82)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 20px 55px rgba(0,0,0,.16);
}


/* fine engineering grid */
.project-card::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    border-radius: inherit;

    background-image:
        linear-gradient(
            rgba(88, 167, 222, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(88, 167, 222, .025) 1px,
            transparent 1px
        );

    background-size:
        26px 26px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            rgba(0,0,0,.25) 65%,
            transparent
        );

    pointer-events: none;
}


.project-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(93, 184, 247, .32);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 28px 70px rgba(0,0,0,.28),
        0 0 38px rgba(58, 153, 225, .035);
}


/* premium illuminated edge */
.project-card > .card-top::before {
    content: "";

    position: absolute;

    top: 0;
    left: 22px;

    width: 54px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            rgba(77,181,255,.15)
        );

    box-shadow:
        0 0 12px rgba(77,181,255,.42);
}


/* ----------------------------------------------------------
   TOP TECHNICAL LABELS
   ---------------------------------------------------------- */

.card-top {
    position: relative;

    min-height: 18px;

    color:
        #617282;
}


.project-code {
    color:
        #697c8b;

    font-size:
        .50rem;

    font-weight:
        600;

    letter-spacing:
        .13em;
}


.project-status {
    position: relative;

    padding-left:
        11px;

    color:
        #7d8d9b;

    font-size:
        .49rem;

    letter-spacing:
        .10em;
}


.project-status::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    transform:
        translateY(-50%);

    border-radius:
        50%;

    background:
        #7090a6;

    box-shadow:
        0 0 7px rgba(112,144,166,.25);
}


.live-status,
.project-card:nth-child(2) .project-status,
.project-card:nth-child(3) .project-status {
    color:
        #64dca0;
}


.live-status::before,
.project-card:nth-child(2) .project-status::before,
.project-card:nth-child(3) .project-status::before {
    background:
        #59e09c;

    box-shadow:
        0 0 9px rgba(89,224,156,.55);
}


/* ----------------------------------------------------------
   VISUAL AREA
   ---------------------------------------------------------- */

.project-visual {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(112, 179, 224, .07);

    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(62,157,230,.115),
            rgba(13,25,35,.06) 47%,
            transparent 70%
        );
}


/* subtle scan line */
.project-visual::before {
    content: "";

    position: absolute;

    left: 8%;
    right: 8%;

    top: 50%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(75,174,243,.16),
            transparent
        );
}


/* subtle corner instrumentation */
.project-visual::after {
    content: "";

    position: absolute;

    right: 14px;
    bottom: 13px;

    width: 19px;
    height: 19px;

    border-right:
        1px solid rgba(130,183,218,.19);

    border-bottom:
        1px solid rgba(130,183,218,.19);
}


/* ----------------------------------------------------------
   MAIN FEATURED CARD
   ---------------------------------------------------------- */

.featured-main {
    background:
        radial-gradient(
            circle at 79% 22%,
            rgba(69, 165, 236, .09),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(25, 42, 56, .76),
            rgba(7, 13, 19, .84)
        );
}


.featured-main .project-visual {
    min-height:
        160px;
}


/* ----------------------------------------------------------
   MINI LOGBOOK DISPLAY
   ---------------------------------------------------------- */

.mini-logbook {
    position: relative;

    border:
        1px solid rgba(118,186,232,.22);

    background:
        linear-gradient(
            145deg,
            rgba(8, 18, 27, .87),
            rgba(3, 9, 14, .90)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 18px 35px rgba(0,0,0,.20);
}


.mini-logbook::after {
    content:
        "CAT • QSO • CONTEST • QSL";

    position:
        absolute;

    right:
        15px;

    top:
        15px;

    color:
        rgba(105, 167, 208, .36);

    font-family:
        "IBM Plex Mono";

    font-size:
        .42rem;

    letter-spacing:
        .08em;
}


/* ----------------------------------------------------------
   PROJECT SYMBOLS
   ---------------------------------------------------------- */

.station-visual span,
.weather-visual span,
.simple-project-symbol {
    color:
        transparent;

    background:
        linear-gradient(
            180deg,
            #eaf4fa,
            #88a7bb 58%,
            #5d7689
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    text-shadow:
        0 8px 22px rgba(0,0,0,.28);
}


.station-visual strong,
.weather-visual strong {
    margin-top:
        5px;

    color:
        #728899;
}


/* RCC + ROT dial */
.dial-ring {
    position: relative;

    border:
        1px solid rgba(85,183,248,.38);

    box-shadow:
        0 0 0 13px rgba(85,183,248,.025),
        0 0 0 27px rgba(85,183,248,.012),
        inset 0 0 24px rgba(54,151,221,.05);
}


.dial-ring::before,
.dial-ring::after {
    content: "";

    position: absolute;

    border-radius:
        50%;
}


.dial-ring::before {
    inset:
        16px;

    border:
        1px solid rgba(226,184,91,.25);
}


.dial-ring::after {
    width:
        7px;

    height:
        7px;

    top:
        -4px;

    left:
        50%;

    transform:
        translateX(-50%);

    background:
        var(--blue);

    box-shadow:
        0 0 10px rgba(77,181,255,.85);
}


/* ----------------------------------------------------------
   PLATFORM TAGS
   ---------------------------------------------------------- */

.platform-tags span {
    border:
        1px solid rgba(144,181,207,.10);

    color:
        #8193a2;

    background:
        rgba(255,255,255,.018);

    letter-spacing:
        .075em;
}


/* ----------------------------------------------------------
   TITLES / TEXT
   ---------------------------------------------------------- */

.project-info h3 {
    color:
        #edf3f7;

    font-weight:
        600;

    letter-spacing:
        -.03em;
}


.project-info p {
    color:
        #8597a6;

    line-height:
        1.62;
}


/* ----------------------------------------------------------
   VIEW PROJECT LINK
   ---------------------------------------------------------- */

.project-info a {
    position: relative;

    padding-left:
        24px;

    color:
        #b9c7d2;

    transition:
        color .2s ease,
        transform .2s ease;
}


.project-info a::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 15px;
    height: 1px;

    background:
        var(--gold);

    box-shadow:
        0 0 7px rgba(229,184,91,.27);

    transform:
        translateY(-50%);
}


.project-info a:hover {
    color:
        white;

    transform:
        translateX(3px);
}


/* ----------------------------------------------------------
   WEATHER GOLD ACCENT
   ---------------------------------------------------------- */

.weather-card {
    border-color:
        rgba(229,184,91,.15);
}


.weather-card > .card-top::before {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            rgba(229,184,91,.12)
        );

    box-shadow:
        0 0 12px rgba(229,184,91,.32);
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    .project-card {
        min-height:
            390px;
    }

    .featured-main .project-visual {
        min-height:
            145px;
    }

}



/* ==========================================================
   GOLDY LAB V5.1
   LAYOUT CLEANUP — FIXED HEADER + HORIZONTAL OVERFLOW
   ========================================================== */


/* Prevent any decorative full-width element from creating
   a horizontal scrollbar. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}


/* Fixed header anchor compensation */
html {
    scroll-padding-top: 105px;
}


/* Individual sections also get safe anchor clearance */
#featured,
#platforms,
#projects,
#about {
    scroll-margin-top: 105px;
}


/* Mobile header is slightly lower */
@media (max-width: 760px) {

    html {
        scroll-padding-top: 88px;
    }

    #featured,
    #platforms,
    #projects,
    #about {
        scroll-margin-top: 88px;
    }

}



/* ==========================================================
   PROJECT IMAGE VISUALS
   MASTER SCREENSHOT CARD
   ========================================================== */

.project-image-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 280px;

    padding: 18px;

    overflow: hidden;

    border: 1px solid rgba(112, 179, 224, .08);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 78% 16%,
            rgba(77, 181, 255, .12),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.004)
        );
}

.project-image-visual::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 0%,
            transparent 37%,
            rgba(255,255,255,.035) 45%,
            transparent 54%
        );
}

.project-shot {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    border: 1px solid rgba(199, 218, 232, .14);
    border-radius: 14px;

    background: #0c1016;

    box-shadow:
        0 22px 55px rgba(0,0,0,.38),
        0 7px 20px rgba(0,0,0,.24),
        0 0 28px rgba(64,156,226,.045);

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

.project-card:hover .project-shot {
    transform: scale(1.012);

    box-shadow:
        0 26px 65px rgba(0,0,0,.42),
        0 8px 24px rgba(0,0,0,.26),
        0 0 34px rgba(64,156,226,.07);
}

.featured-main .project-image-visual {
    min-height: 280px;
}

@media (max-width: 900px) {

    .project-image-visual {
        min-height: auto;
        padding: 13px;
    }

    .project-shot {
        border-radius: 11px;
    }

}



/* ==========================================================
   PROJECT 02
   STATION ONE MOBILE SCREENSHOT CARD
   ========================================================== */

.station-one-shot-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 350px;

    padding:
        18px 18px 14px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 26%,
            rgba(70, 167, 235, .12),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.003)
        );
}

.mobile-device-frame {
    position: relative;

    width: min(72%, 245px);

    padding: 7px;

    border:
        1px solid rgba(183, 208, 226, .15);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(199, 217, 230, .11),
            rgba(17, 26, 34, .82) 20%,
            rgba(7, 13, 19, .96) 78%
        );

    box-shadow:
        0 24px 55px rgba(0,0,0,.38),
        0 7px 20px rgba(0,0,0,.30),
        0 0 30px rgba(63, 164, 231, .055);

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

.mobile-device-frame::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 34px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 10px;

    background:
        rgba(194, 215, 230, .18);

    z-index: 2;
}

.station-one-shot {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 16px;

    background: #05090d;
}

.project-card:hover .mobile-device-frame {
    transform:
        translateY(-2px)
        scale(1.012);

    box-shadow:
        0 28px 64px rgba(0,0,0,.42),
        0 9px 24px rgba(0,0,0,.31),
        0 0 38px rgba(63, 164, 231, .08);
}

@media (max-width: 900px) {

    .station-one-shot-wrap {
        min-height: 320px;
    }

    .mobile-device-frame {
        width: min(68%, 235px);
    }

}



/* ==========================================================
   PROJECT 03 IMAGE VISUALS
   STATION TWO MOBILE CARD
   ========================================================== */

.station-two-visual {
    align-items: flex-start;
    min-height: 430px;
    padding: 22px 22px 0 22px;

    background:
        radial-gradient(circle at top center, rgba(91, 164, 255, .12), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.00));

    border-radius: 22px;
}

.station-two-shot {
    display: block;
    width: min(100%, 260px);
    height: auto;

    margin: 0 auto;

    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);

    box-shadow:
        0 24px 60px rgba(0,0,0,.36),
        0 10px 24px rgba(0,0,0,.22);

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

    background: #091019;
}

@media (max-width: 900px) {
    .station-two-visual {
        min-height: auto;
        padding: 16px 16px 0 16px;
    }

    .station-two-shot {
        width: min(100%, 220px);
    }
}


/* ==========================================================
   PROJECT 04
   ROTATOR CONTROL CENTER SCREENSHOT
   ========================================================== */

.rcc-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 390px;

    padding: 20px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(72, 166, 232, .11),
            transparent 44%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.020),
            rgba(255,255,255,.004)
        );

    border-radius: 22px;
}

.rcc-shot {
    display: block;

    width: 100%;
    max-width: 560px;
    height: auto;

    margin: 0 auto;

    border-radius: 14px;

    border:
        1px solid rgba(196, 217, 232, .12);

    background: #081018;

    box-shadow:
        0 24px 58px rgba(0,0,0,.38),
        0 8px 22px rgba(0,0,0,.24),
        0 0 32px rgba(68,157,220,.05);

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

.project-card:hover .rcc-shot {
    transform:
        translateY(-2px)
        scale(1.012);

    box-shadow:
        0 28px 66px rgba(0,0,0,.43),
        0 10px 26px rgba(0,0,0,.27),
        0 0 38px rgba(68,157,220,.075);
}

@media (max-width: 900px) {

    .rcc-visual {
        min-height: auto;
        padding: 15px;
    }

    .rcc-shot {
        max-width: 100%;
        border-radius: 11px;
    }

}



/* ==========================================================
   PROJECT 04 RCC SCALE TUNING
   ========================================================== */

.rcc-visual {
    min-height: 390px;
    padding: 14px;
}

.rcc-shot {
    width: 100%;
    max-width: 100%;
}


/* ==========================================================
   WEATHER PROJECT IMAGE
   ========================================================== */

.weather-image-visual {
    min-height: 280px;
    padding: 18px;

    background:
        radial-gradient(circle at top right, rgba(72, 170, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));

    border-radius: 18px;
}

.weather-shot {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;

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

    border-radius: 16px;
    background: #0c1016;
}

@media (max-width: 900px) {
    .weather-image-visual {
        min-height: auto;
        padding: 14px;
    }

    .weather-shot {
        max-height: 260px;
    }
}



/* ==========================================================
   PROJECT 06
   QSL LABEL CENTER SCREENSHOT
   ========================================================== */

.qsl-image-visual {
    min-height: 300px;
    padding: 16px;

    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(91, 170, 255, .11),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.020),
            rgba(255,255,255,.003)
        );

    border-radius: 20px;
}

.qsl-shot {
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 13px;

    border:
        1px solid rgba(210, 224, 235, .14);

    box-shadow:
        0 22px 52px rgba(0,0,0,.36),
        0 7px 20px rgba(0,0,0,.23);

    object-fit: contain;

    background: #eef2f5;
}

.project-card:hover .qsl-shot {
    transform: scale(1.012);
}

@media (max-width: 900px) {

    .qsl-image-visual {
        min-height: auto;
        padding: 13px;
    }

    .qsl-shot {
        border-radius: 10px;
    }

}




/* ==========================================================
   DX SENTINEL SCREENSHOT
   PROJECT 07
   ========================================================== */

.dx-image-visual {
    min-height: 300px;
    padding: 16px;

    background:
        radial-gradient(
            circle at 80% 18%,
            rgba(38, 215, 255, .10),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(46, 115, 255, .07),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.003)
        );

    border-radius: 20px;
}

.dx-shot {
    width: 100%;
    max-width: 100%;
    height: auto;

    display: block;

    border-radius: 13px;
    border: 1px solid rgba(105, 180, 236, .12);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .30),
        0 6px 16px rgba(0, 0, 0, .20);
}


/* ==========================================================
   MINI ANTENNA SWITCH SCREENSHOT
   PROJECT 08
   ========================================================== */

.ant-image-visual {
    min-height: 300px;
    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(63, 196, 255, .10),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(54, 107, 255, .07),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.003)
        );

    border-radius: 20px;
    overflow: hidden;
}

.ant-shot {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, .28),
        0 4px 14px rgba(0, 0, 0, .18);

    object-fit: contain;
    background: #0c1016;
}

/* Širok screenshot: naj ostane uravnotežen tudi na manjših karticah */
@media (max-width: 900px) {
    .ant-image-visual {
        min-height: 220px;
        padding: 14px;
    }
}


/* ==========================================================
   PROJECT 08 SCALE TUNING
   ========================================================== */

.ant-image-visual {
    padding: 10px;
}

.ant-shot {
    width: 118%;
    max-width: 118%;
}



/* ==========================================================
   ACOM 1400S SCREENSHOT
   PROJECT 09
   ========================================================== */

.acom-image-visual {
    min-height: 300px;
    padding: 16px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 86, 86, .08),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(52, 154, 255, .08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.003)
        );

    border-radius: 20px;
}

.acom-shot {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);

    box-shadow:
        0 16px 40px rgba(0,0,0,.30),
        0 6px 16px rgba(0,0,0,.18);

    object-fit: cover;
    background: #0c1016;
}

@media (max-width: 900px) {
    .acom-image-visual {
        min-height: 220px;
        padding: 14px;
    }
}



/* ==========================================================
   ROTOR SENTINEL SCREENSHOT
   PROJECT 10
   ========================================================== */

.rot-image-visual {
    min-height: 300px;
    padding: 16px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(63, 180, 255, .10),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(28, 118, 255, .07),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            rgba(255,255,255,.003)
        );

    border-radius: 20px;
}

.rot-shot {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;

    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 18px 40px rgba(0,0,0,.28),
        0 6px 16px rgba(0,0,0,.18);

    background: #0c1016;
}

@media (max-width: 900px) {
    .rot-image-visual {
        min-height: 220px;
        padding: 14px;
    }
}


/* ==========================================================
   FEATURED PROJECTS TITLE
   PREMIUM SCALE TUNING
   ========================================================== */

.featured-title {
    margin: 0;

    font-size: clamp(2.25rem, 3.15vw, 3.4rem);
    font-weight: 600;
    line-height: 1.02;

    letter-spacing: -0.032em;

    color: #f3f6f9;

    text-shadow:
        0 0 24px rgba(75, 168, 232, .07);
}

@media (max-width: 900px) {
    .featured-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.05;
    }
}



/* ==========================================================
   PLATFORMS HERO-LIKE TITLE
   Smaller version of main hero typography
   ========================================================== */

.platform-hero-title {
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 6px;

    max-width: 720px;
}

.platform-hero-line {
    display: block;
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-wrap: balance;
}

/* Prva vrstica: polna svetla */
.platform-hero-line-solid {
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    color: rgba(245, 248, 252, 0.98);
    text-shadow:
        0 0 18px rgba(160, 220, 255, 0.08),
        0 8px 28px rgba(0, 0, 0, 0.18);
}

/* Druga vrstica: outline stil, podobno hero sekciji */
.platform-hero-line-outline {
    font-size: clamp(2.5rem, 4.6vw, 4.4rem);
    color: transparent;
    -webkit-text-stroke: 1.4px rgba(220, 232, 245, 0.78);
    text-shadow:
        0 0 20px rgba(110, 180, 255, 0.07);
}

/* Malo več zraka pod naslovom */
.platforms .section-heading h2,
.platform-hero-title {
    margin-bottom: 10px;
}

/* Mobile tuning */
@media (max-width: 900px) {
    .platform-hero-title {
        gap: 4px;
        max-width: 100%;
    }

    .platform-hero-line-solid {
        font-size: clamp(2.2rem, 8vw, 3.4rem);
    }

    .platform-hero-line-outline {
        font-size: clamp(2rem, 7vw, 3rem);
        -webkit-text-stroke: 1px rgba(220, 232, 245, 0.72);
    }
}



/* ==========================================================
   PLATFORM TITLE = SAME VISUAL LANGUAGE AS FEATURED TITLE
   ========================================================== */

.platform-title-clean {
    margin: 0;

    font-size: clamp(2.25rem, 3.15vw, 3.4rem) !important;
    font-weight: 600 !important;
    line-height: 1.02 !important;

    letter-spacing: -0.032em !important;

    color: #f3f6f9 !important;
    -webkit-text-stroke: 0 !important;

    text-shadow:
        0 0 24px rgba(75, 168, 232, .07) !important;
}

@media (max-width: 900px) {
    .platform-title-clean {
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
        line-height: 1.05 !important;
    }
}



/* ==========================================================
   PLATFORM MINI HERO
   Derived directly from SIGNAL / CONTROL hero typography
   ========================================================== */

.platform-mini-hero {
    margin: 0;
    line-height: .91;
}

.platform-mini-signal {
    display: block;
    width: max-content;
    max-width: 100%;

    color: transparent;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #edf1f4 17%,
            #b9c2ca 39%,
            #7d8994 63%,
            #d6dde3 82%,
            #ffffff 100%
        );

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

    font-size: clamp(2.55rem, 4.25vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -.055em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.14),
        0 4px 4px rgba(0,0,0,.32),
        0 12px 26px rgba(0,0,0,.28);

    filter:
        drop-shadow(
            0 8px 16px rgba(0,0,0,.18)
        );
}

.platform-mini-control {
    display: block;

    margin-top: 7px;

    color: rgba(179, 191, 201, .12);

    -webkit-text-stroke:
        1px rgba(199, 210, 218, .80);

    font-size: clamp(2.0rem, 3.35vw, 3.35rem);
    font-weight: 600;
    line-height: .94;
    letter-spacing: -.050em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.08),
        0 6px 10px rgba(0,0,0,.30);
}

@media (max-width: 900px) {

    .platform-mini-signal {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }

    .platform-mini-control {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

}



/* ==========================================================
   GOLDY LAB SECTION METAL TITLES
   Unified mini-HERO typography
   ========================================================== */

.section-metal-title {
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 7px;

    line-height: .91;
}

/* SIGNAL-style metallic line */
.section-metal-solid {
    display: block;

    width: max-content;
    max-width: 100%;

    color: transparent;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #edf1f4 17%,
            #b9c2ca 39%,
            #7d8994 63%,
            #d6dde3 82%,
            #ffffff 100%
        );

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

    font-size:
        clamp(2.55rem, 4.25vw, 4.25rem);

    font-weight: 700;

    letter-spacing: -.055em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.14),
        0 4px 4px rgba(0,0,0,.32),
        0 12px 26px rgba(0,0,0,.28);

    filter:
        drop-shadow(
            0 8px 16px rgba(0,0,0,.18)
        );
}

/* CONTROL-style outline line */
.section-metal-outline {
    display: block;

    width: max-content;
    max-width: 100%;

    color:
        rgba(179, 191, 201, .12);

    -webkit-text-stroke:
        1px rgba(199, 210, 218, .80);

    font-size:
        clamp(2rem, 3.35vw, 3.35rem);

    font-weight: 600;

    line-height: .94;

    letter-spacing: -.050em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.08),
        0 6px 10px rgba(0,0,0,.30);
}


/* ABOUT has longer text, so reduce it slightly */
.section-metal-title-about .section-metal-solid {
    font-size:
        clamp(2.15rem, 3.35vw, 3.45rem);
}

.section-metal-title-about .section-metal-outline {
    font-size:
        clamp(1.65rem, 2.55vw, 2.65rem);

    line-height:
        1.02;
}


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

    .section-metal-title {
        gap: 5px;
    }

    .section-metal-solid {
        font-size:
            clamp(2.15rem, 10vw, 3.5rem);
    }

    .section-metal-outline {
        font-size:
            clamp(1.75rem, 7.8vw, 2.8rem);
    }

    .section-metal-title-about .section-metal-solid {
        font-size:
            clamp(1.9rem, 8.6vw, 3rem);
    }

    .section-metal-title-about .section-metal-outline {
        font-size:
            clamp(1.45rem, 6.6vw, 2.35rem);
    }

}



/* ==========================================================
   FEATURED IMAGE PREVIEW MODAL
   Premium non-fullscreen screenshot preview
   ========================================================== */

#featured .project-shot,
#featured .station-one-shot {
    cursor: zoom-in;
}


/* Overlay */
.image-preview-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: clamp(22px, 4vw, 58px);

    background:
        rgba(2, 6, 10, .78);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .24s ease,
        visibility .24s ease;
}


/* Open state */
.image-preview-modal.is-open {
    opacity: 1;
    visibility: visible;
}


/* Preview panel */
.image-preview-dialog {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    max-width: 82vw;

    max-height: 84vh;

    padding: 12px;

    border:
        1px solid rgba(198, 218, 232, .16);

    border-radius:
        20px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 32, 40, .98),
            rgba(7, 12, 17, .98)
        );

    box-shadow:
        0 40px 110px rgba(0,0,0,.62),
        0 10px 36px rgba(0,0,0,.45),
        0 0 60px rgba(64,156,226,.08);

    transform:
        translateY(10px)
        scale(.975);

    transition:
        transform .24s ease;
}


/* Gentle entrance */
.image-preview-modal.is-open .image-preview-dialog {
    transform:
        translateY(0)
        scale(1);
}


/* Large preview image */
.image-preview-image {
    display: block;

    width: auto;
    height: auto;

    max-width:
        min(78vw, 1400px);

    max-height:
        78vh;

    object-fit:
        contain;

    border-radius:
        12px;

    background:
        #05090d;

    box-shadow:
        0 18px 50px rgba(0,0,0,.42);
}


/* Close button */
.image-preview-close {
    position: absolute;

    top: -15px;
    right: -15px;

    z-index: 2;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid rgba(196, 216, 231, .20);

    border-radius:
        50%;

    background:
        rgba(10, 16, 22, .96);

    color:
        #dbe6ed;

    font-family:
        "IBM Plex Sans",
        sans-serif;

    font-size:
        1.35rem;

    line-height:
        1;

    cursor:
        pointer;

    box-shadow:
        0 8px 22px rgba(0,0,0,.38);

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}


.image-preview-close:hover {
    transform:
        scale(1.07);

    background:
        rgba(24, 36, 46, .98);

    border-color:
        rgba(111, 188, 236, .42);
}


/* Prevent page scroll while preview is open */
body.image-preview-open {
    overflow:
        hidden;
}


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

    .image-preview-modal {
        padding:
            24px 16px;
    }

    .image-preview-dialog {
        max-width:
            94vw;

        max-height:
            88vh;

        padding:
            8px;

        border-radius:
            16px;
    }

    .image-preview-image {
        max-width:
            90vw;

        max-height:
            82vh;

        border-radius:
            9px;
    }

    .image-preview-close {
        top:
            -13px;

        right:
            -8px;

        width:
            36px;

        height:
            36px;
    }

}


/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

    .image-preview-modal,
    .image-preview-dialog,
    .image-preview-close {
        transition:
            none;
    }

}



/* ==========================================================
   PROJECT DETAIL MASTER
   PLUSPLUS | GOLDY LAB
   ========================================================== */

.project-detail-page {
    background:
        #05090e;
}


.project-detail-main {
    width:
        min(var(--max), calc(100% - 48px));

    margin:
        0 auto;

    padding:
        150px 0 90px;
}


/* HERO */
.project-detail-hero {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr) auto;

    gap:
        60px;

    align-items:
        end;

    min-height:
        470px;

    padding:
        60px 0 70px;

    border-bottom:
        1px solid rgba(255,255,255,.07);
}


.project-detail-hero-copy {
    max-width:
        880px;
}


.project-detail-back {
    display:
        inline-block;

    margin-bottom:
        48px;

    color:
        #718493;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .60rem;

    font-weight:
        600;

    letter-spacing:
        .11em;

    text-decoration:
        none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.project-detail-back:hover {
    color:
        white;

    transform:
        translateX(-3px);
}


.project-detail-title {
    margin:
        14px 0 0;

    line-height:
        .91;
}


.project-detail-metal {
    display:
        block;

    width:
        max-content;

    max-width:
        100%;

    color:
        transparent;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #edf1f4 17%,
            #b9c2ca 39%,
            #7d8994 63%,
            #d6dde3 82%,
            #ffffff 100%
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    font-size:
        clamp(3.3rem, 6.6vw, 7rem);

    font-weight:
        700;

    letter-spacing:
        -.065em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.14),
        0 4px 4px rgba(0,0,0,.32),
        0 14px 30px rgba(0,0,0,.30);

    filter:
        drop-shadow(
            0 10px 18px rgba(0,0,0,.20)
        );
}


.project-detail-outline {
    display:
        block;

    margin-top:
        10px;

    color:
        rgba(179,191,201,.12);

    -webkit-text-stroke:
        1px rgba(199,210,218,.80);

    font-size:
        clamp(2.6rem, 5vw, 5.3rem);

    font-weight:
        600;

    line-height:
        .94;

    letter-spacing:
        -.055em;

    text-shadow:
        0 2px 0 rgba(255,255,255,.08),
        0 6px 10px rgba(0,0,0,.30);
}


.project-detail-lead {
    max-width:
        760px;

    margin:
        34px 0 0;

    color:
        #9cacbb;

    font-size:
        1.04rem;

    line-height:
        1.75;
}


.project-detail-tags {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        7px;

    margin-top:
        28px;
}


.project-detail-tags span {
    padding:
        6px 9px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:
        5px;

    color:
        #8193a2;

    background:
        rgba(255,255,255,.018);

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .53rem;

    letter-spacing:
        .08em;
}


.project-detail-status {
    min-width:
        230px;

    padding:
        25px 28px;

    border:
        1px solid rgba(78,177,235,.16);

    border-radius:
        18px;

    background:
        rgba(255,255,255,.018);

    box-shadow:
        0 20px 60px rgba(0,0,0,.20);
}


.project-detail-status-label {
    display:
        block;

    color:
        var(--gold);

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .52rem;

    letter-spacing:
        .15em;
}


.project-detail-status strong {
    display:
        block;

    margin:
        10px 0 5px;

    color:
        #dff7e8;

    font-size:
        .86rem;

    letter-spacing:
        .03em;
}


.project-detail-status > span:last-child {
    color:
        #748594;

    font-size:
        .72rem;
}


/* MAIN SCREEN */
.project-detail-screen {
    padding:
        72px 0;
}


.project-detail-screen-frame {
    position:
        relative;

    padding:
        clamp(12px, 1.8vw, 22px);

    border:
        1px solid rgba(112,179,224,.13);

    border-radius:
        26px;

    overflow:
        hidden;

    background:
        radial-gradient(
            circle at 72% 12%,
            rgba(77,181,255,.10),
            transparent 35%
        ),
        rgba(255,255,255,.018);

    box-shadow:
        0 36px 90px rgba(0,0,0,.28);
}


.project-detail-main-image {
    display:
        block;

    width:
        100%;

    height:
        auto;

    border:
        1px solid rgba(199,218,232,.14);

    border-radius:
        17px;

    box-shadow:
        0 26px 70px rgba(0,0,0,.38);
}


/* INFORMATION GRID */
.project-detail-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        16px;

    padding:
        40px 0 90px;
}


.project-detail-panel {
    position:
        relative;

    min-height:
        235px;

    padding:
        30px;

    border:
        1px solid rgba(188,211,228,.09);

    border-radius:
        20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.032),
            rgba(255,255,255,.008)
        );
}


.project-detail-panel-main {
    grid-column:
        span 2;

    min-height:
        300px;
}


.project-detail-panel h2 {
    max-width:
        620px;

    margin:
        16px 0 20px;

    color:
        #edf3f7;

    font-size:
        clamp(2rem, 3.3vw, 3.6rem);

    line-height:
        1;

    letter-spacing:
        -.045em;
}


.project-detail-panel h3 {
    margin:
        24px 0 13px;

    color:
        #edf3f7;

    font-size:
        1.15rem;
}


.project-detail-panel p {
    max-width:
        680px;

    margin:
        0 0 14px;

    color:
        #8496a5;

    line-height:
        1.68;
}


.project-detail-number {
    color:
        var(--gold);

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .55rem;

    letter-spacing:
        .12em;
}


/* ENGINEERING */
.project-detail-engineering {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        80px;

    padding:
        80px 0;

    border-top:
        1px solid rgba(255,255,255,.07);

    border-bottom:
        1px solid rgba(255,255,255,.07);
}


.project-detail-engineering h2 {
    max-width:
        580px;

    margin:
        16px 0 0;

    color:
        #edf3f7;

    font-size:
        clamp(2.2rem, 4vw, 4.2rem);

    line-height:
        .98;

    letter-spacing:
        -.05em;
}


.project-detail-engineering-copy p {
    margin:
        0 0 20px;

    color:
        #8799a8;

    line-height:
        1.72;
}


/* TECH STRIP */
.project-detail-tech {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        1px;

    margin:
        70px 0;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius:
        18px;

    overflow:
        hidden;

    background:
        rgba(255,255,255,.06);
}


.project-detail-tech > div {
    min-height:
        110px;

    padding:
        24px;

    background:
        #080d12;
}


.project-detail-tech span {
    display:
        block;

    color:
        #647684;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .50rem;

    letter-spacing:
        .13em;
}


.project-detail-tech strong {
    display:
        block;

    margin-top:
        12px;

    color:
        #dce5eb;

    font-size:
        .84rem;
}


/* BOTTOM */
.project-detail-bottom {
    padding:
        80px 0 25px;
}


.project-detail-bottom h2 {
    margin:
        15px 0 30px;

    color:
        #edf3f7;

    font-size:
        clamp(2rem, 3vw, 3.5rem);

    letter-spacing:
        -.045em;
}


.project-detail-return {
    display:
        inline-block;

    color:
        #b9c7d2;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        .60rem;

    letter-spacing:
        .09em;

    text-decoration:
        none;
}


/* RESPONSIVE */
@media (max-width: 900px) {

    .project-detail-main {
        width:
            min(100% - 30px, var(--max));

        padding-top:
            115px;
    }

    .project-detail-hero {
        grid-template-columns:
            1fr;

        gap:
            34px;

        min-height:
            auto;
    }

    .project-detail-status {
        min-width:
            0;

        width:
            100%;
    }

    .project-detail-grid {
        grid-template-columns:
            1fr;
    }

    .project-detail-panel-main {
        grid-column:
            span 1;
    }

    .project-detail-engineering {
        grid-template-columns:
            1fr;

        gap:
            35px;
    }

    .project-detail-tech {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 560px) {

    .project-detail-metal {
        font-size:
            clamp(2.7rem, 13vw, 4.2rem);
    }

    .project-detail-outline {
        font-size:
            clamp(2.1rem, 10vw, 3.3rem);
    }

    .project-detail-tech {
        grid-template-columns:
            1fr;
    }

}



/* ==========================================================
   PLUSPLUS GLOBAL HOME + CTA PATCH
   ========================================================== */

/* Brand + HOME stay together as one header group */

.topbar-brand-group {

    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    flex:
        0 0 auto;

}


/* HOME button on all project detail pages */

.detail-home-link {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        34px;

    padding:
        0 13px;

    border:
        1px solid rgba(255,255,255,.22);

    border-radius:
        999px;

    background:
        rgba(255,255,255,.055);

    color:
        var(--gold);

    text-decoration:
        none;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        .14em;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;

}

.detail-home-link:hover {

    border-color:
        var(--gold);

    background:
        rgba(255,255,255,.10);

    color:
        #ffffff;

    transform:
        translateY(-1px);

    box-shadow:
        0 0 20px rgba(255,255,255,.08);

}


/* Stronger Featured project action buttons */

.project-info > a {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        42px;

    padding:
        0 18px;

    margin-top:
        18px;

    border:
        1px solid var(--blue);

    border-radius:
        8px;

    background:
        rgba(56,132,255,.12);

    color:
        #eef5ff;

    text-decoration:
        none;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        .075em;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.025),
        0 8px 24px rgba(0,0,0,.20);

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease,
        color .18s ease;

}

.project-info > a:hover {

    transform:
        translateY(-2px);

    border-color:
        var(--gold);

    background:
        rgba(255,255,255,.10);

    color:
        var(--gold);

    box-shadow:
        0 10px 28px rgba(0,0,0,.28);

}


/* Mobile */

@media (max-width: 760px) {

    .topbar-brand-group {

        gap:
            9px;

    }

    .detail-home-link {

        min-height:
            30px;

        padding:
            0 9px;

        font-size:
            9px;

        letter-spacing:
            .10em;

    }

    .project-info > a {

        min-height:
            40px;

        padding:
            0 14px;

        font-size:
            11px;

    }

}

