/* =====================================================================
   BetterLink, LLC — Single page · Dark, cinematic, modern
   ===================================================================== */

:root {
    /* Color */
    --bg-0: #03060f;
    --bg-1: #050b1f;
    --bg-2: #0a1230;
    --surface: rgba(13, 23, 56, 0.55);
    --surface-2: rgba(20, 34, 75, 0.45);
    --border: rgba(120, 170, 255, 0.12);
    --border-strong: rgba(120, 170, 255, 0.28);

    --primary: #2b7cff;
    --primary-2: #1f5cff;
    --accent: #4dd2ff;
    --accent-2: #66e0ff;
    --glow: rgba(77, 210, 255, 0.45);

    --text: #e8efff;
    --text-muted: #9aaad0;
    --text-soft: #6f7fa8;
    --error: #ff6b8a;
    --success: #6dffb4;

    /* Type */
    --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    /* Layout */
    --max-w: 1200px;
    --pad-x: clamp(20px, 5vw, 64px);
    --radius: 18px;
    --radius-sm: 12px;

    /* Motion */
    --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg-1);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; }

main, .nav, .footer { position: relative; }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all .3s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    color: var(--text);
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #02030a;
    box-shadow:
        0 10px 30px -8px rgba(43, 124, 255, 0.55),
        0 0 0 1px rgba(180, 220, 255, 0.4) inset;
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px -10px rgba(43, 124, 255, 0.7),
        0 0 0 1px rgba(220, 240, 255, 0.6) inset;
    color: #02030a;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
    background: rgba(77, 210, 255, 0.08);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 16px var(--pad-x);
    transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(5, 11, 31, 0.7);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom-color: var(--border);
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.01em;
}

.nav__logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform .35s var(--ease);
}
.nav__brand:hover .nav__logo {
    transform: scale(1.04);
}

.nav__name { color: var(--text); }
.nav__name--accent {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-self: center;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 500;
}

.nav__links a {
    position: relative;
    color: var(--text-muted);
    padding: 6px 0;
}
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: right .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { right: 0; }

.nav__cta { padding: 10px 18px; font-size: 14px; }

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav__toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
    .nav { grid-template-columns: auto 1fr auto; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav__links {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 4px;
        padding: 18px;
        background: rgba(5, 11, 31, 0.95);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        font-size: 16px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .3s var(--ease), transform .3s var(--ease);
    }
    .nav__links a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .nav__links a:hover { background: rgba(77, 210, 255, 0.06); }
    .nav__links a::after { display: none; }
    .nav__links.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* ----------------------------------------------------------------
   Section primitives
   ---------------------------------------------------------------- */
.section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(80px, 12vw, 140px) var(--pad-x);
}

.section__head {
    max-width: 760px;
    margin: 0 auto clamp(48px, 7vw, 80px);
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(77, 210, 255, 0.08);
    border: 1px solid rgba(77, 210, 255, 0.2);
}

.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

.section__lead {
    color: var(--text-muted);
    font-size: clamp(15px, 1.4vw, 17px);
    margin: 0;
}

.grad-text {
    background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent-2));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradFlow 8s ease infinite;
}
@keyframes gradFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ----------------------------------------------------------------
   Hero
   ---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px var(--pad-x) 120px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero__inner { max-width: 720px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(77, 210, 255, 0.08);
    border: 1px solid rgba(77, 210, 255, 0.22);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}
.hero__badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6.5vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 0 0 24px;
}

.hero__lead {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 0 36px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Orb with logo */
.hero__orb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    justify-self: center;
    display: grid;
    place-items: center;
}

.hero__orb-logo {
    position: relative;
    z-index: 3;
    width: 70%;
    filter: drop-shadow(0 20px 60px rgba(43, 124, 255, 0.55))
            drop-shadow(0 0 80px rgba(77, 210, 255, 0.35));
    animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(2deg); }
}

.hero__orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    pointer-events: none;
}
.hero__orb-ring--1 { inset: 0; animation: spin 28s linear infinite; }
.hero__orb-ring--2 {
    inset: 8%;
    border-style: dashed;
    border-color: rgba(77, 210, 255, 0.18);
    animation: spin 40s linear infinite reverse;
}
.hero__orb-ring--3 {
    inset: 16%;
    border-color: rgba(43, 124, 255, 0.18);
    animation: spin 18s linear infinite;
}
.hero__orb-ring--1::before,
.hero__orb-ring--2::before,
.hero__orb-ring--3::before {
    content: "";
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--glow);
    top: -4px; left: 50%;
    transform: translateX(-50%);
}
.hero__orb-ring--2::before { background: var(--primary); }
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    display: grid;
    place-items: center;
    opacity: 0.7;
    transition: opacity .3s var(--ease);
}
.hero__scroll:hover { opacity: 1; border-color: var(--accent); }
.hero__scroll span {
    width: 2px;
    height: 7px;
    border-radius: 1px;
    background: var(--accent);
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(-8px); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
        padding-top: 120px;
        padding-bottom: 90px;
        min-height: auto;
    }
    .hero__orb {
        order: -1;
        max-width: 280px;
        margin-bottom: 12px;
    }
    .hero__scroll { display: none; }
}

/* ----------------------------------------------------------------
   About
   ---------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.about-card {
    padding: 28px 22px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(77, 210, 255, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.about-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
}
.about-card:hover::before { opacity: 1; }

.about-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(77, 210, 255, 0.08);
    border: 1px solid rgba(77, 210, 255, 0.18);
    margin-bottom: 18px;
}
.about-card__icon svg { width: 22px; height: 22px; }

.about-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}
.about-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 900px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .about-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   Services
   ---------------------------------------------------------------- */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service {
    padding: 36px 32px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), border-color .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.service::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.service:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
}
.service:hover::after { opacity: 1; }

.service header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.service__num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.08em;
}
.service h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}
.service p { color: var(--text-muted); margin: 0 0 18px; }
.service ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.service li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    color: var(--text);
}
.service li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--accent);
    transform: translateY(-50%);
    transition: width .3s var(--ease);
}
.service li:hover::before { width: 16px; }

@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   Projects
   ---------------------------------------------------------------- */
.projects {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 22px;
}

.project {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 36px;
    background: linear-gradient(160deg, rgba(43, 124, 255, 0.10), rgba(13, 23, 56, 0.55));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .45s var(--ease), border-color .45s var(--ease);
    color: var(--text);
    min-height: 320px;
}
.project:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.project__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 199, 0, 0.10);
    border: 1px solid rgba(255, 199, 0, 0.25);
    color: #ffd866;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: max-content;
}
.project__status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #ffd866;
    box-shadow: 0 0 10px rgba(255, 216, 102, 0.7);
    animation: pulse 1.6s ease-in-out infinite;
}
.project__status--quiet {
    background: rgba(154, 170, 208, 0.08);
    border-color: rgba(154, 170, 208, 0.18);
    color: var(--text-muted);
}
.project__status-dot--quiet { background: var(--text-soft); box-shadow: none; animation: none; }

.project__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}
.project__tag {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 13px;
    margin: 0 0 14px;
}
.project__desc { color: var(--text-muted); margin: 0 0 20px; max-width: 540px; }
.project__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(77, 210, 255, 0.08);
    border: 1px solid rgba(77, 210, 255, 0.2);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--accent);
    letter-spacing: 0.04em;
}

.project__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    transition: gap .3s var(--ease);
}
.project:hover .project__cta { gap: 14px; }

.project__glow {
    position: absolute;
    width: 320px;
    height: 320px;
    right: -100px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(77, 210, 255, 0.20), transparent 60%);
    pointer-events: none;
    transition: opacity .4s var(--ease);
}

.project--placeholder {
    background: rgba(13, 23, 56, 0.35);
    border-style: dashed;
    border-color: var(--border);
    text-align: left;
}
.project--placeholder:hover { transform: none; border-color: var(--border-strong); }

@media (max-width: 880px) { .projects { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   Contact
   ---------------------------------------------------------------- */
.section--contact { padding-bottom: clamp(100px, 14vw, 160px); }

.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.contact__info,
.contact__form {
    padding: 36px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact__info h3,
.contact__form h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 24px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}
.contact__item:first-of-type { border-top: 0; padding-top: 0; }

.contact__item-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(77, 210, 255, 0.08);
    border: 1px solid rgba(77, 210, 255, 0.18);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.contact__item-icon svg { width: 18px; height: 18px; }

.contact__item p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.contact__item-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px !important;
}
.contact__item a { color: var(--accent); }
.contact__item a:hover { color: var(--accent-2); text-decoration: underline; }

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.field label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.field .muted { color: var(--text-soft); text-transform: none; letter-spacing: 0.04em; }

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(5, 11, 31, 0.55);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-soft); }
.field input:focus,
.field textarea:focus {
    outline: none;
    background: rgba(5, 11, 31, 0.85);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(77, 210, 255, 0.12);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact__submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    position: relative;
}
.contact__submit .spinner {
    display: none;
    width: 18px; height: 18px;
    border: 2px solid rgba(2, 3, 10, 0.25);
    border-top-color: #02030a;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}
@keyframes spinner { to { transform: rotate(360deg); } }
.contact__submit.is-loading .contact__submit-arrow { display: none; }
.contact__submit.is-loading .spinner { display: inline-block; }
.contact__submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.contact__status {
    margin: 14px 0 0;
    font-size: 14px;
    min-height: 1.4em;
    color: var(--text-muted);
}
.contact__status.is-success { color: var(--success); }
.contact__status.is-error { color: var(--error); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
    padding: 40px var(--pad-x) 56px;
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, transparent, rgba(3, 6, 15, 0.85));
    position: relative;
    z-index: 1;
}
.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}
.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
}
.footer__logo { height: 28px; width: auto; max-width: 100px; object-fit: contain; }

.footer__copy {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    text-align: center;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-display);
    font-size: 13.5px;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__copy { text-align: center; }
    .footer__links { justify-content: center; flex-wrap: wrap; }
}

/* ----------------------------------------------------------------
   Reveal-on-scroll
   ---------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside grids when revealed */
.about-grid .reveal:nth-child(2) { transition-delay: .08s; }
.about-grid .reveal:nth-child(3) { transition-delay: .16s; }
.about-grid .reveal:nth-child(4) { transition-delay: .24s; }

.services .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(3) { transition-delay: .16s; }
.services .reveal:nth-child(4) { transition-delay: .24s; }

.projects .reveal:nth-child(2) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__orb-logo,
    .hero__orb-ring--1,
    .hero__orb-ring--2,
    .hero__orb-ring--3,
    .hero__badge-dot,
    .project__status-dot,
    .grad-text,
    .hero__scroll span { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* Selection */
::selection { background: rgba(77, 210, 255, 0.35); color: var(--text); }

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(77, 210, 255, 0.18); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(77, 210, 255, 0.32); }
