/* ============================================
   IA Studio 2 — Design System & Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg: #060d1a;
    --bg-elevated: #111111;
    --bg-card: #161616;
    --accent: #00d4ff;
    --accent-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.4);
    --text: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    /* Lenis handles this */
    overflow-x: hidden;
    background: #060d1a;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

input,
textarea {
    font-family: var(--font-body);
    cursor: none;
}

/* --- Fluid Background Canvas --- */
#fluidCanvas {
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    width: 100%;
    height: calc(100% + 100px);
    z-index: 1;
    pointer-events: none;
}

/* --- Blue Edge Glow Frame (Artlist style) --- */
body::after {
    content: '';
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    z-index: 2;
    pointer-events: none;
    box-shadow:
        inset 0 0 120px 30px rgba(30, 64, 175, 0.25),
        inset 0 0 250px 60px rgba(30, 64, 175, 0.10),
        inset 0 0 40px 10px rgba(59, 130, 246, 0.15);
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -50px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s, opacity 0.3s;
}

.cursor-dot.expanded {
    width: 60px;
    height: 60px;
    background: var(--accent-dim);
    mix-blend-mode: normal;
}

.cursor-ring.expanded {
    width: 80px;
    height: 80px;
    border-color: var(--accent);
    opacity: 0.3;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    padding-top: calc(1.5rem + env(safe-area-inset-top, 0px));
    mix-blend-mode: normal;
}

/* --- Content Stacking (above fluid canvas) --- */
.hero,
.works,
.services,
.about,
.contact,
.footer {
    position: relative;
    z-index: 3;
}

.nav-logo {
    z-index: 1001;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-glass {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.logo-glass:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
}

.accent {
    color: var(--accent);
}

.menu-toggle {
    position: relative;
    width: 40px;
    height: 24px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out);
    transform-origin: center;
}

.menu-line:last-child {
    width: 60%;
}

.menu-toggle.active .menu-line:first-child {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .menu-line:last-child {
    width: 100%;
    transform: translateY(-11px) rotate(-45deg);
}

/* --- Full-Screen Menu Overlay --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 6rem 2rem 3rem;
    clip-path: circle(0% at calc(100% - 4rem) 2.5rem);
    transition: clip-path 0.8s var(--ease-out);
    pointer-events: none;
}

.menu-overlay.open {
    clip-path: circle(150% at calc(100% - 4rem) 2.5rem);
    pointer-events: all;
}

.menu-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.menu-links li {
    overflow: hidden;
}

.menu-link {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 3px;
    padding: 0.2em 0;
    position: relative;
    transform: translateY(100%);
    opacity: 0;
    transition: color 0.3s;
}

.menu-link::before {
    content: attr(data-index);
    position: absolute;
    left: -3rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

.menu-link:hover {
    color: var(--accent);
}

.menu-overlay.open .menu-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-footer {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.menu-overlay.open .menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--ease-out) 0.5s;
}

.menu-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.menu-social a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.menu-social a:hover {
    color: var(--accent);
}

.menu-email {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 30% 60%, rgba(0, 100, 200, 0.05) 0%, transparent 50%);
}

/* Orbital Animation */
.hero-orbit {
    position: absolute;
    width: min(700px, 80vw);
    height: min(700px, 80vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    animation: orbitSpin 30s linear infinite;
}

.orbit-ring::before,
.orbit-ring::after {
    content: '';
    position: absolute;
    inset: 15%;
    border: 1px solid rgba(0, 212, 255, 0.06);
    border-radius: 50%;
}

.orbit-ring::after {
    inset: 35%;
    border-color: rgba(0, 212, 255, 0.04);
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow), 0 0 40px var(--accent-dim);
}

.orbit-dot--1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitSpin 20s linear infinite;
}

.orbit-dot--2 {
    bottom: 15%;
    right: 10%;
    animation: orbitSpin 25s linear infinite reverse;
}

.orbit-dot--3 {
    top: 30%;
    left: 5%;
    width: 4px;
    height: 4px;
    animation: orbitSpin 35s linear infinite;
}

@keyframes orbitSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    line-height: 0.95;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.4s var(--ease-out);
}

.hero-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.hero-cta svg {
    transition: transform 0.3s var(--ease-out);
}

.hero-cta:hover svg {
    transform: translate(3px, -3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* --- Section Shared --- */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 2px;
    line-height: 1.1;
}

/* --- Works Section --- */
.works {
    padding: 8rem 3rem;
    position: relative;
    z-index: 3;
}

.works .section-header {
    max-width: 938px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 938px;
    margin: 0 auto;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.4s, transform 0.5s var(--ease-out);
}

.work-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.work-card__media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.work-card__media img,
.work-card__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--ease-out);
}

.work-card:hover .work-card__media img,
.work-card:hover .work-card__media video {
    transform: scale(1.08);
}

.work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.work-card__number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
}

.work-card__info {
    padding: 1.5rem;
}

.work-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.work-card__info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Services Section --- */
.services {
    padding: 8rem 3rem;
    position: relative;
    z-index: 3;
}

.services .section-header {
    max-width: 82%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 82%;
    margin: 0 auto;
}

.service-card {
    grid-column: span 2;
    position: relative;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
}

.service-card:nth-child(7) {
    grid-column: 2 / 4;
}

.service-card:nth-child(8) {
    grid-column: 4 / 6;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
}

.service-card__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.service-card:hover .service-card__media img {
    transform: scale(1.08);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, transparent 60%);
    pointer-events: none;
}

.service-card__content {
    padding: 1.5rem 1.75rem 2rem;
}

.service-card__title {
    position: relative;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    position: relative;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
}

.service-card__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 1;
}

/* --- About Section --- */
.about {
    padding: 8rem 3rem;
    position: relative;
    z-index: 3;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 2px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 3rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrapper img,
.about-image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-image-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* --- Contact Section --- */
.contact {
    padding: 8rem 3rem;
    position: relative;
    z-index: 3;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.contact-desc {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.3vw, 2.75rem);
    color: var(--text-primary);
    font-weight: 900;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group label {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    pointer-events: none;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out);
    align-self: flex-start;
}

.form-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-dim), 0 0 60px rgba(0, 212, 255, 0.1);
}

.form-submit svg {
    transition: transform 0.3s var(--ease-out);
}

.form-submit:hover svg {
    transform: translate(3px, -3px);
}

/* --- Footer --- */
.footer {
    padding: 3rem;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    position: relative;
    z-index: 3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #fff;
    background: var(--accent-dim);
    border-color: var(--accent);
}

/* --- Particle Canvas --- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* --- GSAP Reveal Helpers --- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .about-image-wrapper {
        aspect-ratio: 16/9;
    }
}

/* Mobile-only line breaks: hidden on desktop */
.mobile-break {
    display: none;
}

@media (max-width: 768px) {

    /* Show mobile-only line breaks */
    .mobile-break {
        display: inline;
    }

    /* Shift about video down so hummingbird head is visible */
    .about-image-wrapper video {
        object-position: center 30%;
    }

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

    .service-card,
    .service-card:nth-child(7),
    .service-card:nth-child(8) {
        grid-column: auto;
    }

    .navbar {
        padding: 1.25rem 1.5rem;
    }

    /* --- Mobile Hero Composition Fix --- */
    .hero {
        min-height: 100svh;
        padding: 0;
    }

    .hero-orbit {
        width: min(420px, 90vw);
        height: min(420px, 90vw);
    }

    /* Use inset + margin:auto instead of transform centering
       to avoid conflict with GSAP scroll parallax transforms */
    .hero-content {
        position: absolute;
        inset: 0;
        margin: auto;
        width: min(380px, 85vw);
        height: min(380px, 85vw);
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
    }

    .hero-eyebrow {
        font-size: 0.6rem;
        letter-spacing: 3px;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(4rem, 22vw, 7rem);
        letter-spacing: 2px;
        margin: 0;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-top: 0.75rem;
        padding: 0;
        text-align: center;
        white-space: nowrap;
    }

    .hero-scroll-indicator {
        bottom: 0.75rem;
    }

    .scroll-line {
        height: 30px;
    }

    .hero-gradient {
        background:
            radial-gradient(ellipse 90% 50% at 50% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
    }

    /* Fix: remove mix-blend-mode and make navbar transparent on mobile */
    .navbar {
        mix-blend-mode: normal;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    /* Replace inset box-shadow with lateral-only glow on mobile
       to prevent dark horizontal bars at top/bottom */
    body::after {
        box-shadow: none;
        background:
            linear-gradient(to right, rgba(30, 64, 175, 0.35) 0%, transparent 18%),
            linear-gradient(to left, rgba(30, 64, 175, 0.35) 0%, transparent 18%);
    }

    /* --- Other mobile fixes --- */
    .works,
    .services,
    .about,
    .contact {
        padding: 5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem 1rem;
    }

    .footer-links a {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    /* Hide custom cursor on touch devices */
    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    button,
    a,
    input,
    textarea {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-orbit {
        width: min(320px, 85vw);
        height: min(320px, 85vw);
    }

    .hero-content {
        width: min(320px, 85vw);
        height: min(320px, 85vw);
        padding: 0.5rem;
    }

    .hero-title {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    .hero-subtitle {
        font-size: 0.75rem;
        max-width: none;
        padding: 0;
        white-space: nowrap;
    }

    .about-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .menu-link::before {
        display: none;
    }
}