﻿/* SparrowForgeLab Global Styles */
:root {
    color-scheme: dark;
    --bg-gradient: radial-gradient(circle at top left, rgba(0, 150, 211, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(243, 178, 62, 0.4), transparent 45%),
        linear-gradient(135deg, #060608 0%, #10121c 60%, #060608 100%);
    --card-bg: rgba(18, 20, 32, 0.8);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-color: #f6f7fb;
    --muted-text: rgba(221, 225, 240, 0.72);
    --accent-blue: #0096d3;
    --accent-orange: #f3b23e;
    --accent-purple: #6a4ddf;
    --glow-blue: rgba(0, 150, 211, 0.35);
    --glow-orange: rgba(243, 178, 62, 0.45);
    --border-radius-lg: 28px;
    --border-radius-md: 20px;
    --border-radius-sm: 14px;
    --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-card-hover: 0 32px 80px rgba(0, 0, 0, 0.6);
    --font-heading: "Poppins", "Segoe UI", Tahoma, sans-serif;
    --font-body: "Nunito", "Segoe UI", Tahoma, sans-serif;
    --transition-base: 220ms ease;
    --transition-long: 420ms cubic-bezier(0.19, 1, 0.22, 1);
    --max-width: min(1200px, 88vw);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

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

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

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

main {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    min-height: 95vh;
    padding: 48px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero__bg-glow {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 150, 211, 0.33) 0%, transparent 70%);
    filter: blur(60px);
    transform: translate3d(var(--hero-glow-x, 0), var(--hero-glow-y, 0), 0);
    transition: transform 0.6s ease;
    top: -320px;
    right: -220px;
    z-index: 0;
}

.hero__nav {
    width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
    padding: 16px 28px;
    backdrop-filter: blur(16px);
    background: rgba(6, 8, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.hero__nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__logo img {
    height: 44px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.hero__scroll-btn {
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-long), background var(--transition-base);
}

.hero__scroll-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hero__scroll-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 150, 211, 0.22);
}

.hero__scroll-btn:hover::after {
    opacity: 1;
}

.hero__scroll-btn--primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border: none;
    color: #050609;
}

.hero__scroll-btn--contact {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(0, 150, 211, 0.32);
}

.hero__scroll-btn--contact:hover {
    box-shadow: 0 18px 40px rgba(243, 178, 62, 0.28);
}

.hero__content {
    width: var(--max-width);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.hero__badge {
    padding: 10px 24px;
    border-radius: 999px;
    background: rgba(0, 150, 211, 0.18);
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    max-width: 840px;
    line-height: 1.1;
}

.hero p {
    max-width: 640px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.hero__cta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 178, 62, 0.35) 0%, transparent 70%);
    filter: blur(80px);
    animation: float 16s ease-in-out infinite;
    z-index: 0;
}

.hero__orb--left {
    left: -180px;
    bottom: -120px;
}

.hero__orb--right {
    right: -140px;
    top: 180px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-28px) scale(1.05);
    }
}

.hero--compact {
    min-height: auto !important;
    height: auto;
    padding: 32px 0 0 !important;
    margin-bottom: 0;
    justify-content: flex-start;
    align-items: center;
}

.products-page .hero__nav {
    margin-bottom: 24px;
}

.products-page .hero__content {
    gap: 16px;
    margin: 0 auto;
    padding-bottom: 0;
}

.products-page .intro {
    padding: 20px 0 40px;
    margin-top: 0;
}

.intro {
    display: flex;
    justify-content: center;
    padding: 80px 0 40px;
}

.intro__card {
    width: var(--max-width);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: clamp(32px, 4vw, 48px);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.intro__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 150, 211, 0.14), rgba(243, 178, 62, 0.14));
    opacity: 0.6;
    pointer-events: none;
}

.intro__card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.intro__card p {
    color: var(--muted-text);
    font-size: 1.05rem;
    max-width: 720px;
}

.intro__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.intro__stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.intro__stat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 150, 211, 0.28), rgba(243, 178, 62, 0.28));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.intro__stat:hover::after {
    opacity: 1;
}

.intro__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
}

.intro__stat-label {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.section-heading {
    width: var(--max-width);
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted-text);
    max-width: 680px;
    margin: 0 auto;
}

.projects {
    padding: 40px 0 100px;
}

.projects__grid {
    width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --mouse-x: 50%;
    --mouse-y: 50%;
    background: rgba(10, 12, 22, 0.7);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    transform: translateY(0) scale(1) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    display: flex;
    flex-direction: column;
    min-height: 420px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-long), box-shadow var(--transition-long);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--card-accent, linear-gradient(135deg, rgba(0, 150, 211, 0.9), rgba(243, 178, 62, 0.85)));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-18px) scale(1.01) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    box-shadow: var(--shadow-card-hover);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-long);
}

.project-card:hover .project-card__image img {
    transform: scale(1.08);
}

.project-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.project-card__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-card__tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

.project-card p {
    color: var(--muted-text);
    flex: 1;
}

.project-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.project-card__cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(0, 150, 211, 0.9), rgba(243, 178, 62, 0.9));
    color: #050609;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.project-card__cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 150, 211, 0.35);
}
.footer {
    width: var(--max-width);
    margin: 0 auto 60px;
    padding: 24px;
    background: rgba(6, 8, 16, 0.6);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    backdrop-filter: blur(18px);
    z-index: 3;
}
.footer__scroll-up {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 150, 211, 0.9), rgba(243, 178, 62, 0.9));
    color: #050609;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.footer__scroll-up:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 36px rgba(0, 150, 211, 0.4);
}

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

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-color);
    transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    text-decoration: none;
}

.footer__social-link:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(0, 150, 211, 0.2);
    border-color: rgba(0, 150, 211, 0.4);
    color: var(--accent-blue);
}

body.modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.contact-modal.is-visible {
    display: flex;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 16, 0.65);
    backdrop-filter: blur(6px);
}

.contact-modal__dialog {
    position: relative;
    width: min(520px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(28px, 4vw, 40px);
    background: rgba(12, 14, 24, 0.96);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.55);
    display: grid;
    gap: 24px;
    z-index: 11;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-modal__close:hover {
    transform: rotate(6deg) scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 150, 211, 0.35);
}

.contact-modal__header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.contact-modal__header p {
    color: var(--muted-text);
    margin-top: 8px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form__group {
    display: grid;
    gap: 8px;
}

.contact-form__group label {
    font-weight: 600;
}

.contact-form__group input,
.contact-form__group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 16, 0.65);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    outline: none;
    border-color: rgba(0, 150, 211, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 150, 211, 0.25);
}

.contact-form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__group--recaptcha {
    display: grid;
    gap: 6px;
}

.contact-form__recaptcha-note {
    font-size: 0.75rem;
    color: rgba(221, 225, 240, 0.6);
}

.contact-form__submit {
    padding: 14px 22px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    color: #050609;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.contact-form__submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0, 150, 211, 0.35);
}

.contact-form__status {
    padding: 12px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 16, 0.6);
    color: var(--muted-text);
    font-size: 0.9rem;
}

.contact-form__status--success {
    border-color: rgba(0, 150, 211, 0.6);
    color: rgba(0, 212, 255, 0.85);
}

.contact-form__status--error {
    border-color: rgba(243, 62, 62, 0.6);
    color: rgba(255, 154, 154, 0.9);
}

/* Project page styles */
.body.project-page,
.project-page {
    background: var(--bg-gradient);
}
.project-page .hero__nav {
    margin-bottom: 24px;
}
.project__header {
    width: var(--max-width);
    margin: 60px auto 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.project__back {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--transition-base), transform var(--transition-base);
}
.project__back:hover {
    background: rgba(0, 150, 211, 0.2);
    transform: translateX(-4px);
}
.project__header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.project__content {
    width: var(--max-width);
    margin: 0 auto 120px;
    display: grid;
    gap: 40px;
}
.project__hero {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 22, 0.7);
    box-shadow: var(--shadow-card);
}
.project__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project__summary {
    display: grid;
    gap: 24px;
    padding: clamp(28px, 4vw, 40px);
    background: rgba(12, 14, 24, 0.78);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.project__summary p {
    color: var(--muted-text);
    font-size: 1.05rem;
}
.project__quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.project__fact {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.project__fact h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 6px;
}
.project__fact span {
    font-size: 1.05rem;
    font-weight: 600;
}
.project__grid {
    display: grid;
    gap: 28px;
}
.project__section {
    background: rgba(10, 12, 22, 0.78);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: var(--shadow-card);
}
.project__section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.project__pill-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.project__pill-list li {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}
.project__features {
    display: grid;
    gap: 16px;
}
.project__feature {
    padding: 18px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.project__feature h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.project__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}
.project__cta a {
    padding: 14px 22px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(0, 150, 211, 0.95), rgba(243, 178, 62, 0.95));
    color: #050609;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.project__cta a.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.project__cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(0, 150, 211, 0.35);
}

@media (max-width: 960px) {
    .hero__nav {
        padding: 14px 20px;
    }

    .footer {
        position: static;
        margin: 60px auto 40px;
    }
}

@media (max-width: 720px) {
    :root {
        --max-width: min(1200px, 94vw);
    }

    .hero {
        padding-top: 32px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .products-page .hero--compact {
        padding-bottom: 0;
    }

    .hero__nav {
        flex-direction: column;
        gap: 16px;
        border-radius: var(--border-radius-lg);
        padding: 14px 18px;
        width: 94vw;
    }

    .hero__nav-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__scroll-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .hero__content {
        width: 94vw;
        gap: 18px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero__badge {
        font-size: 0.7rem;
        padding: 8px 18px;
    }

    .intro {
        padding: 60px 0 30px;
    }

    .intro__card {
        width: 94vw;
        padding: clamp(24px, 4vw, 36px);
    }

    .intro__card h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .intro__card p {
        font-size: 0.95rem;
    }

    .intro__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .intro__stat {
        padding: 16px 14px;
    }

    .intro__stat-value {
        font-size: 1.5rem;
    }

    .intro__stat-label {
        font-size: 0.85rem;
    }

    .section-heading {
        width: 94vw;
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .section-heading p {
        font-size: 0.9rem;
    }

    .projects {
        padding: 30px 0 60px;
    }

    .projects__grid {
        grid-template-columns: 1fr;
        width: 94vw;
        gap: 24px;
    }

    .project-card {
        min-height: auto;
    }

    .project-card__content {
        padding: 20px;
        gap: 14px;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        width: 94vw;
        padding: 20px 18px;
        margin: 40px auto 30px;
    }

    .project__content {
        gap: 28px;
        width: 94vw;
    }

    .contact-modal__dialog {
        width: 92vw;
        padding: 28px 22px;
        gap: 20px;
    }

    .contact-form__group input,
    .contact-form__group textarea {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
        scroll-behavior: auto !important;
    }
}
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 480ms var(--transition-base), transform 680ms var(--transition-long);
}
.reveal--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.project-card__tag--accent {
    background: rgba(0, 150, 211, 0.22);
    border-color: rgba(243, 178, 62, 0.35);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project__cta a[aria-disabled="true"] {
    pointer-events: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted-text);
    border: 1px dashed rgba(255, 255, 255, 0.18);
    box-shadow: none;
}
.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.18), transparent 65%);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.project-card:hover::after {
    opacity: 1;
}






