
/* =========================================
   ARNOLD LABS — GLOBAL DESIGN SYSTEM
========================================= */

:root {
    /* Backgrounds */
    --bg-primary: #101114;
    --bg-secondary: #17191e;
    --bg-tertiary: #20232a;

    /* Typography */
    --text-primary: #f5f5f7;
    --text-secondary: #a5a8b0;
    --text-muted: #727680;

    /* Shared crystal accents */
    --accent-primary: #8bdcf0;
    --accent-secondary: #a78bfa;
    --accent-tertiary: #70e1c1;
    /* Compatibility aliases */
    --accent-cyan: #00d9ff;
    --radius-lg: 18px;
    --shadow: var(--shadow-glass);

    /* Liquid glass */
    --glass-bg: rgba(255, 255, 255, 0.055);
    --glass-hover: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.13);
    --glass-blur: 20px;

    /* Effects */
    --shadow-glass: 0 15px 45px rgba(0, 0, 0, 0.25);
    --transition: 0.35s ease;

    /* Layout */
    --container-width: 1200px;
    --section-spacing: 110px;
    --border-radius: 18px;
}

/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* ===== ARNOLD LABS: ATMOSPHERIC BACKGROUND ===== */

body {
    background-color: #080b12;

    background-image:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(0, 190, 255, .13),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 85% 25%,
            rgba(120, 75, 220, .13),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 50% 85%,
            rgba(0, 130, 170, .09),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #080b12,
            #10131d 50%,
            #080b12
        );

    background-attachment: fixed;
    color: var(--text-primary);
    position: relative;
    isolation: isolate;
}

/* Subtle atmospheric light */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(255,255,255,.025),
            transparent 55%
        );

    opacity: .9;
}


a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================
   SHARED CONTAINER
========================================= */

.container {
    width: min(90%, var(--container-width));
    margin-inline: auto;
}

/* =========================================
   LIQUID GLASS NAVIGATION
========================================= */


/* =========================================
   ARNOLD LABS — OPTICAL GLASS NAVBAR
========================================= */

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(92%, 1200px);
    padding: 15px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* Layered optical glass */
    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.105),
        rgba(255,255,255,.025) 45%,
        rgba(160,190,255,.045)
    );

    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);

    backdrop-filter: blur(12px) saturate(165%);
    -webkit-backdrop-filter: blur(12px) saturate(165%);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.35),
        inset 0 -1px 1px rgba(255,255,255,.08),
        0 12px 35px rgba(0,0,0,.28),
        0 2px 8px rgba(0,217,255,.055);

    isolation: isolate;
    border-radius: 22px;
    overflow: hidden;
    z-index: 1000;
}

/* Moving-looking reflective surface */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;

    background:
        linear-gradient(
            115deg,
            transparent 10%,
            rgba(255,255,255,.16) 28%,
            rgba(255,255,255,.035) 42%,
            transparent 58%
        );

    opacity: .75;
}

/* Fine glass edge and lower optical highlight */
header::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.16),
            transparent 25%,
            transparent 78%,
            rgba(0,217,255,.10)
        );

    opacity: .8;
}

/* Keep navbar content above the reflections */
header > * {
    position: relative;
    z-index: 1;
}


/* Brand */

.logo {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo:hover {
    color: var(--accent-primary);
}

/* Navigation links */

header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* =========================================
   LIQUID GLASS NAVIGATION PILLS
========================================= */

header nav a {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 17px;
    border-radius: 13px;

    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;

    border: 1px solid transparent;

    transition:
        color .35s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

/* Glass reflection */
header nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.19),
            rgba(255,255,255,.035) 45%,
            rgba(255,255,255,.09)
        );

    opacity: 0;
    transition: opacity .35s ease;
}

/* Hovered glass surface */
header nav a:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,.23);

    background: rgba(255,255,255,.055);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.22),
        inset 0 -1px 1px rgba(255,255,255,.06),
        0 5px 16px rgba(0,0,0,.16);

    transform: translateY(-2px);
}

header nav a:hover::before {
    opacity: 1;
}


/* =========================================
   SHARED SECTION LABELS
========================================= */

.section-label {
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =========================================
   LIQUID GLASS BUTTON SYSTEM
========================================= */

.hero-buttons a,
.featured-projects > a,
.about-preview > a,
.contact-cta > a,
.explore-projects,
.cta-button,
.submit-button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 24px;

    color: var(--text-primary);
    background: var(--glass-bg);

    border: 1px solid var(--glass-border);
    border-radius: 12px;

    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));

    box-shadow: var(--shadow-glass);

    transition: var(--transition);
}

.hero-buttons a:hover,
.featured-projects > a:hover,
.about-preview > a:hover,
.contact-cta > a:hover,
.explore-projects:hover,
.cta-button:hover,
.submit-button:hover {

    background: var(--glass-hover);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* =========================================
   SHARED FOOTER
========================================= */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    margin-top: 100px;
    padding: 55px 7% 22px;


    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 217, 255, 0.15);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;

    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--accent-primary);
}

.footer-brand p {
    max-width: 300px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-navigation,
.footer-connect {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-navigation h3,
.footer-connect h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.footer-navigation a,
.footer-connect a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-navigation a:hover,
.footer-connect a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    max-width: var(--container-width);
    margin: 35px auto 0;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

/* =========================================
   RESPONSIVE NAVIGATION AND FOOTER
========================================= */

@media (max-width: 700px) {

    header {
        top: 10px;
        width: 94%;
        padding: 13px 15px;
    }

    .logo {
        font-size: 1rem;
    }

    header nav {
        gap: 12px;
    }

    header nav a {
        font-size: 0.72rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
    }
    .site-footer {
    padding: 40px 6% 20px;
}

.footer-bottom {
    margin-top: 28px;
}
}

@media (max-width: 380px) {
    header nav {
        gap: 8px;
    }

    header nav a {
        font-size: 0.65rem;
    }
}

/* ================================
   LIQUID GLASS BUTTONS
================================ */

.hero-buttons a,
.featured-projects > a,
.about-preview > a,
.contact-cta > a,
.explore-projects,
.cta-button,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 26px;
    border-radius: 14px;

    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.2);

    transition: all 0.35s ease;
}

.hero-buttons a:hover,
.featured-projects > a:hover,
.about-preview > a:hover,
.contact-cta > a:hover,
.explore-projects:hover,
.cta-button:hover,
.submit-button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 35px rgba(0, 0, 0, 0.3);
}

/* =================================
   PREMIUM LIQUID GLASS SYSTEM
================================= */


/* =========================================
   ARNOLD LABS — GLOBAL OPTICAL GLASS BUTTONS
========================================= */

:root {
    --glass-edge: rgba(255,255,255,.25);
    --glass-highlight: rgba(255,255,255,.20);
    --glass-surface: rgba(255,255,255,.055);
}

.hero-buttons a,
.featured-projects > a,
.about-preview > a,
.contact-cta > a,
.explore-projects,
.cta-button,
.submit-button,
.collection-button,
.collection-back a,
.filter-btn {

    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 25px;
    min-height: 48px;

    color: #fff !important;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.15),
            rgba(255,255,255,.045) 48%,
            rgba(155,185,255,.065)
        ) !important;

    border: 1px solid var(--glass-edge) !important;
    border-radius: 16px;

    backdrop-filter: blur(12px) saturate(175%);
    -webkit-backdrop-filter: blur(12px) saturate(175%);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.32),
        inset 0 -1px 2px rgba(0,0,0,.12),
        0 9px 25px rgba(0,0,0,.20);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease,
        box-shadow .35s ease;

    cursor: pointer;
}

/* Reflective glass surface */
.hero-buttons a::before,
.featured-projects > a::before,
.about-preview > a::before,
.contact-cta > a::before,
.explore-projects::before,
.cta-button::before,
.submit-button::before,
.collection-button::before,
.collection-back a::before,
.filter-btn::before {

    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,.22),
            transparent 38%,
            transparent 70%,
            rgba(255,255,255,.07)
        );

    opacity: .75;
    transition: opacity .35s ease;
}

/* Floating interaction */
.hero-buttons a:hover,
.featured-projects > a:hover,
.about-preview > a:hover,
.contact-cta > a:hover,
.explore-projects:hover,
.cta-button:hover,
.submit-button:hover,
.collection-button:hover,
.collection-back a:hover,
.filter-btn:hover {

    transform: translateY(-3px);

    border-color: rgba(255,255,255,.48) !important;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.21),
            rgba(255,255,255,.075),
            rgba(155,185,255,.11)
        ) !important;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.4),
        0 14px 32px rgba(0,0,0,.25),
        0 3px 15px rgba(255,255,255,.055);
}

.hero-buttons a:hover::before,
.featured-projects > a:hover::before,
.about-preview > a:hover::before,
.contact-cta > a:hover::before,
.explore-projects:hover::before,
.cta-button:hover::before,
.submit-button:hover::before,
.collection-button:hover::before,
.collection-back a:hover::before,
.filter-btn:hover::before {
    opacity: 1;
}

/* Active filter */
.filter-btn.active {
    background: rgba(255,255,255,.17) !important;
    border-color: rgba(255,255,255,.48) !important;
}

/* Keyboard accessibility */
.hero-buttons a:focus-visible,
.featured-projects > a:focus-visible,
.about-preview > a:focus-visible,
.contact-cta > a:focus-visible,
.explore-projects:focus-visible,
.cta-button:focus-visible,
.submit-button:focus-visible,
.collection-button:focus-visible,
.collection-back a:focus-visible,
.filter-btn:focus-visible {
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-buttons a,
    .featured-projects > a,
    .about-preview > a,
    .contact-cta > a,
    .explore-projects,
    .cta-button,
    .submit-button,
    .collection-button,
    .collection-back a,
    .filter-btn {
        transition: none;
    }
}


/* Project cards */

/* =========================================
   ARNOLD LABS — OPTICAL PROJECT GLASS
========================================= */

.project-card {
    --light-x: 50%;
    --light-y: 50%;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.085),
            rgba(255,255,255,.018) 55%,
            rgba(170,190,255,.035)
        );

    border: 1px solid rgba(255,255,255,.19);
    border-radius: 22px;

    backdrop-filter: blur(12px) saturate(165%);
    -webkit-backdrop-filter: blur(12px) saturate(165%);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.25),
        inset 0 -1px 1px rgba(255,255,255,.06),
        0 15px 40px rgba(0,0,0,.23);

    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        border-color .4s ease,
        box-shadow .4s ease;
}
/* Keep card content clear above glass reflections */
.project-card > :not(.project-card-link) {
    position: relative;
    z-index: 2;
}

/* Keep the full-card link clickable */
.project-card .project-card-link {
    z-index: 3;
}

/* Pointer-responsive reflection */
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;

    background:
        radial-gradient(
            circle at var(--light-x) var(--light-y),
            rgba(255,255,255,.19),
            rgba(255,255,255,.045) 22%,
            transparent 52%
        );

    opacity: 0;
    transition: opacity .35s ease;
}

/* Crystal edge highlight */
.project-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            transparent 28%,
            transparent 75%,
            rgba(255,255,255,.07)
        );

    opacity: .65;
}

/* Floating glass interaction */
.project-card:hover {
    transform: translateY(-8px) scale(1.012);

    border-color: rgba(255,255,255,.34);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.32),
        inset 0 -1px 1px rgba(255,255,255,.08),
        0 24px 55px rgba(0,0,0,.32),
        0 5px 22px rgba(0,217,255,.055);
}

.project-card:hover::before {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .project-card {
        transition: none;
    }

    .project-card:hover {
        transform: none;
    }
}


/* Glass hover lighting */
.project-card:hover,
.hero-buttons a:hover,
.featured-projects > a:hover,
.about-preview > a:hover,
.contact-cta > a:hover,
.explore-projects:hover,
.cta-button:hover,
.submit-button:hover {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.17),
        rgba(255, 255, 255, 0.055)
    );

    border-color: rgba(255, 255, 255, 0.32);

    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.28);
}

/* =================================
   ARNOLD LABS — COMET GLASS FOOTER
================================= */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #080b16;
}

.comet-glass-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.comet-glass-frame {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.footer-main,
.footer-bottom {
    position: relative;
    z-index: 2;
}/* =================================
   ARNOLD LABS — MOBILE NAVIGATION
================================= */

@media (max-width: 520px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 10px;
    }

    .logo {
        font-size: 1.05rem;
    }

    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    header nav a {
        font-size: 0.78rem;
    }
}


/* =========================================
   ARNOLD LABS — MASTER GLASS OS BUTTON SYSTEM
========================================= */

.hero-buttons a,
.featured-projects > a,
.about-preview > a,
.contact-cta > a,
.explore-projects,
.cta-button,
.submit-button,
.collection-button,
.collection-back a,
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: var(--text-primary) !important;
    text-decoration: none;

    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 40px;

    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -1px 0 rgba(255,255,255,.04),
        0 8px 30px rgba(0,0,0,.18);

    transition:
        background .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;

    cursor: pointer;
}

/* GLASS HOVER */

.hero-buttons a:hover,
.featured-projects > a:hover,
.about-preview > a:hover,
.contact-cta > a:hover,
.explore-projects:hover,
.cta-button:hover,
.submit-button:hover,
.collection-button:hover,
.collection-back a:hover,
.filter-btn:hover {
    color: #fff !important;

    background: rgba(0,217,255,.10) !important;
    border-color: rgba(0,217,255,.55) !important;

    transform: translateY(-4px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 12px 35px rgba(0,217,255,.12);
}

/* ACTIVE FILTER */

.filter-btn.active {
    color: #fff !important;
    background: rgba(0,217,255,.12) !important;
    border-color: rgba(0,217,255,.55) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 0 22px rgba(0,217,255,.10);
}

/* KEYBOARD ACCESSIBILITY */

.hero-buttons a:focus-visible,
.featured-projects > a:focus-visible,
.about-preview > a:focus-visible,
.contact-cta > a:focus-visible,
.explore-projects:focus-visible,
.cta-button:focus-visible,
.submit-button:focus-visible,
.collection-button:focus-visible,
.collection-back a:focus-visible,
.filter-btn:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
}

header,
header::before,
header::after {
    border-radius: 22px;
}


/* =========================================
   ARNOLD LABS — DYNAMIC GLASS REFLECTION
========================================= */

header {
    --glass-x: 50%;
    --glass-y: 50%;

    position: fixed;
    isolation: isolate;
}

header::before {
    background:
        radial-gradient(
            circle at var(--glass-x) var(--glass-y),
            rgba(255,255,255,.20),
            rgba(255,255,255,.055) 18%,
            transparent 48%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,.09),
            transparent 45%,
            rgba(0,217,255,.045)
        );

    opacity: .9;
    transition: opacity .3s ease;
}

header:hover::before {
    opacity: 1;
}


/* =========================================
   ARNOLD LABS — CRYSTAL EDGE LIGHTING
========================================= */

header nav a {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0),
        inset 0 -1px 0 rgba(255,255,255,0),
        0 5px 16px rgba(0,0,0,0);

    transform: translateY(0) scale(1);
}

header nav a:hover {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.38),
        inset 0 -1px 0 rgba(255,255,255,.10),
        0 5px 18px rgba(0,0,0,.18),
        0 0 12px rgba(255,255,255,.045);

    transform: translateY(-2px) scale(1.025);
}

/* Keyboard accessibility */
header nav a:focus-visible {
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 3px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    header nav a {
        transition: none;
    }
}

