@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #03060d;
    --panel: rgba(10, 18, 33, 0.9);
    --border: rgba(82, 167, 255, 0.22);
    --text: #edf6ff;
    --text-soft: #97abc8;
    --blue: #57b5ff;
    --purple: #9d6bff;
    --teal: #33d1c6;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --radius-lg: 28px;
    --radius-md: 18px;
    --scale: 1;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(87, 181, 255, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(157, 107, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #040812 0%, #02050b 100%);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: calc(16px * var(--scale));
    line-height: 1.5;
}

body {
    position: relative;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

.site-container {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 64px;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.bg-orb-a {
    width: 280px;
    height: 280px;
    top: 24px;
    left: -80px;
    background: rgba(87, 181, 255, 0.25);
}

.bg-orb-b {
    width: 320px;
    height: 320px;
    top: 180px;
    right: -100px;
    background: rgba(157, 107, 255, 0.18);
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(87, 181, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(87, 181, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.hero-panel {
    position: relative;
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(7, 16, 30, 0.94), rgba(10, 20, 38, 0.84));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 209, 198, 0.16), transparent 70%);
}

.brand-lockup {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.site-logo {
    width: 120px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 28px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(87, 181, 255, 0.12), rgba(157, 107, 255, 0.1));
    border: 1px solid rgba(87, 181, 255, 0.24);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 30px rgba(87, 181, 255, 0.12);
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-title,
.project-title {
    margin: 0;
}

.page-title {
    font-family: "Orbitron", sans-serif;
    font-size: calc(2.2rem * var(--scale));
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
    color: var(--blue);
    text-shadow: 0 0 8px rgba(77, 163, 255, 0.35);
}

.page-subtitle {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.project-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(87, 181, 255, 0.15);
    background: linear-gradient(180deg, rgba(9, 17, 31, 0.96), rgba(7, 13, 24, 0.96));
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(87, 181, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.project-card-topline {
    display: none;
}

.logo-wrap {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(87, 181, 255, 0.08), rgba(51, 209, 198, 0.05));
    border: 1px solid rgba(87, 181, 255, 0.14);
}

.project-logo {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.project-text {
    min-width: 0;
    flex: 1;
}

.project-title {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text);
}

.project-description {
    margin: 4px 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.project-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    flex: 0 0 auto;
}

.domain-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(51, 209, 198, 0.22);
    background: rgba(51, 209, 198, 0.08);
    color: #c7fffb;
    font-size: 0.72rem;
    font-weight: 600;
}

.project-arrow {
    color: var(--blue);
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 800px) {
    .site-container {
        width: min(100% - 24px, 1120px);
        padding-top: 24px;
    }

    .hero-panel {
        padding: 22px;
    }

    .brand-lockup {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-logo {
        width: 96px;
    }

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

    .project-card {
        padding: 12px 14px;
    }

    .project-footer {
        align-items: flex-start;
    }
}

/* Bigger logos */
.logo-wrap {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.project-logo {
    max-width: 72px;
    max-height: 72px;
}

/* Make URL subtle + inline under title */
.project-footer {
    display: none; /* remove right-side URL + arrow */
}

.project-description {
    display: none; /* optional: removes extra clutter */
}

.domain-chip {
    display: block;
    margin-top: 4px;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 400;
}