:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --accent: #E5E5E5;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Cinematic Preloader --- */
#agency-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #020104;
    /* Deep void black */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Prevent ::before orb from expanding bounding box on mobile */
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

#agency-preloader.loaded {
    transform: translateY(-100%);
    /* Slide up like a theater curtain */
}

#agency-preloader::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(161, 67, 255, 0.2) 0%, rgba(255, 51, 29, 0.1) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseOrb 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes pulseOrb {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 5vw;
    position: relative;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#agency-preloader.loaded .preloader-content {
    opacity: 0;
    /* Fade text out tightly before the curtain rises */
}

.preloader-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: center;
    animation: focusIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes focusIn {
    0% {
        filter: blur(12px);
        transform: scale(1.05);
        opacity: 0;
    }

    100% {
        filter: blur(0px);
        transform: scale(1);
        opacity: 1;
    }
}

.preloader-content p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: 600;
    width: 100%;
    text-align: center;
    /* Animated Gradient Text */
    background: linear-gradient(90deg, #ff331d, #a143ff, #ff331d);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientPulse 3s linear infinite;
}

@keyframes gradientPulse {
    to {
        background-position: 200% center;
    }
}

/* Base Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
    overflow-x: clip;
    /* Prevent slide-in animations from causing horizontal scrollbar */
}

.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    /* Reduced vertical padding */
    scroll-snap-align: center;
    /* Center the snap on desktop */
    scroll-snap-stop: always;
    position: relative;
    /* Needed for the ambient glow anchor */
}

/* Dynamic Image-Reactive Ambient Glow */
.panel::before {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    max-width: 1000px;
    max-height: 1000px;
    background: radial-gradient(circle, rgba(var(--ambient-glow), 0.5) 0%, rgba(var(--ambient-glow), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transition: background 2.0s ease-in-out;
    /* Super smooth color blending as you scroll */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.snap-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-content {
    display: flex;
    align-items: center;
    gap: 4vw;
    /* Reduced from 8rem for tighter layout when images are smaller */
    width: 100%;
}

/* Alternating Layout for Desktop */
.panel.alt .panel-content {
    flex-direction: row-reverse;
}

.image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    max-width: 380px;
    /* Further reduced from 450px */
    max-height: 75vh;
    /* Added to ensure it doesn't overflow tall on small screens */
    margin: 0 auto;
    /* Center it in its flex column if needed */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #111;
    /* Loading state background */
}

/* Subtle glass/glow effect behind image */
.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    /* Enables 3D rotation for children */
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--h2-color-a, #ffffff);
    transition: color 0.5s ease;
}

h2 span {
    color: var(--h2-color-b, #ffffff);
    transition: color 0.5s ease;
}

p {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 90%;
}

/* Animations Layer */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal.slide-up {
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.slide-in-right {
    transform: translateX(60px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.scale-reveal {
    transform: scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active,
.reveal.slide-in-right.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Freeze transitions when near top edge (mobile shake prevention) */
.no-transition,
.no-transition * {
    transition: none !important;
    transition-delay: 0s !important;
}

/* Premium Agency Reading Hierarchy */
.description {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    position: relative;
    line-height: 1.8;
    max-width: 90%;
    font-weight: 300;
    letter-spacing: 0.02em;
    /* Ultra-Premium, Deep-Tinted Glass Background */
    background: linear-gradient(135deg, color-mix(in srgb, var(--h2-color-b) 20%, rgba(0, 0, 0, 0.6)), color-mix(in srgb, var(--h2-color-b) 5%, rgba(0, 0, 0, 0.3)));
    border-radius: 0 16px 16px 0;
    border: 1px solid color-mix(in srgb, var(--h2-color-b) 25%, rgba(255, 255, 255, 0.1));
    border-top: 1px solid color-mix(in srgb, var(--h2-color-b) 45%, rgba(255, 255, 255, 0.25));
    /* Top specular reflection */
    border-left: none;
    backdrop-filter: blur(24px) saturate(140%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 2px 0 color-mix(in srgb, var(--h2-color-b) 20%, rgba(255, 255, 255, 0.15));
}

/* The precision data-line */
.description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--h2-color-a, rgba(255, 255, 255, 0.5)), transparent);
}

/* The glowing data-node */
.description::after {
    content: '';
    position: absolute;
    left: -3px;
    top: -2px;
    width: 8px;
    height: 8px;
    background: var(--h2-color-b, #ffffff);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--h2-color-b, #ffffff), 0 0 5px var(--h2-color-b, #ffffff);
}

/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 992px) {
    html {
        scroll-snap-type: none;
        /* Disables scroll snapping entirely to fix the iOS "stuck scrolling" bug */
    }

    .panel {
        padding: 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        scroll-snap-align: none;
    }

    .panel-content,
    .panel.alt .panel-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        width: 100%;
        height: auto;
        padding: 2rem 1rem 2rem 1rem;
    }

    /* Mobile Snap Items */
    .snap-item {
        width: 100%;
        height: auto;
        scroll-snap-align: none;
        padding: 0;
    }

    .image-snap {
        position: relative;
    }

    .text-snap {
        position: relative;
        background: transparent;
        backdrop-filter: none;
        margin-top: 0;
        pointer-events: auto;
    }

    .text-wrapper {
        align-items: center;
        max-width: 100%;
        padding: 0;
    }

    h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    p {
        max-width: 100%;
        margin-top: 0;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Spans the full device width minus a small 5vw margin gap on left/right */
    .image-wrapper {
        width: 90vw;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3/4;
        margin: 0 auto;
        border-radius: 20px;
    }

    .image-wrapper img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .delay-1 {
        transition-delay: 0.1s;
    }

    .delay-2 {
        transition-delay: 0.15s;
    }

    .description {
        margin: 1.5rem auto 0 auto;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
        text-align: center;
        max-width: 100%;
        background: linear-gradient(180deg, color-mix(in srgb, var(--h2-color-b) 20%, rgba(0, 0, 0, 0.6)), color-mix(in srgb, var(--h2-color-b) 5%, rgba(0, 0, 0, 0.3)));
        border-radius: 0 0 16px 16px;
        border: 1px solid color-mix(in srgb, var(--h2-color-b) 25%, rgba(255, 255, 255, 0.1));
        border-top: none;
        backdrop-filter: blur(24px) saturate(140%);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 -2px 0 color-mix(in srgb, var(--h2-color-b) 20%, rgba(255, 255, 255, 0.15));
    }

    .description::before {
        left: 0;
        top: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--h2-color-a, rgba(255, 255, 255, 0.5)), transparent);
    }

    .description::after {
        left: 50%;
        top: -3px;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 6vw;
    }

    .image-wrapper {
        aspect-ratio: 3/4;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cta-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.contact-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    max-width: 100%;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    max-width: 100%;
}

.contact-headline span {
    background: linear-gradient(90deg, #ff331d, #a143ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin: 0;
    max-width: 100%;
}

/* Service Selector Buttons */
.service-selector {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.service-btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.01em;
}

.service-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.service-btn.selected {
    background: linear-gradient(135deg, rgba(255, 51, 29, 0.2), rgba(161, 67, 255, 0.2));
    border-color: rgba(161, 67, 255, 0.5);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(161, 67, 255, 0.2);
}

/* Contact Form */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.7s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.5s ease 0.2s;
    margin-top: 0;
}

.contact-form.visible {
    max-height: 600px;
    opacity: 1;
    margin-top: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    outline: none;
    resize: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(161, 67, 255, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ff331d, #a143ff);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    align-self: center;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(161, 67, 255, 0.4);
}

.form-submit-btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Success Message */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    animation: focusIn 0.6s ease forwards;
}

.form-success span {
    font-size: 2rem;
    background: linear-gradient(135deg, #ff331d, #a143ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-success p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 100%;
    font-weight: 400;
}

/* Mobile Contact */
@media (max-width: 768px) {

    /* Remove 100vh centering on contact section — eliminates gap above Let's Talk */
    .contact-panel {
        min-height: auto;
        padding: 2rem 0 4rem;
    }

    .contact-cta-wrapper {
        padding: 1rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================
/* ===========================
   NAVIGATION
   =========================== */
#site-nav {
    position: relative;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 4vw;
    background: rgba(2, 1, 4, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.nav-cta {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 51, 29, 0.25), rgba(161, 67, 255, 0.25));
    border: 1px solid rgba(161, 67, 255, 0.35);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, rgba(255, 51, 29, 0.4), rgba(161, 67, 255, 0.4));
    border-color: rgba(161, 67, 255, 0.6);
    transform: translateY(-1px);
}

/* Hamburger (mobile) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    /* Push hamburger to the right */
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile nav dropdown */
.nav-mobile {
    display: none;
    /* hidden by default via JS toggle */
    flex-direction: column;
    background: rgba(2, 1, 4, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    gap: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.nav-mobile.open {
    display: flex;
    padding: 1.5rem 4vw;
    gap: 1.2rem;
    opacity: 1;
}

.nav-mobile-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-mobile-link:hover {
    color: #ffffff;
}

.nav-mobile-close {
    display: none;
    /* hidden until menu is open */
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.nav-mobile.open .nav-mobile-close {
    display: block;
}

.nav-mobile-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }
}


/* ===========================
   ABOUT SECTION
   =========================== */
.about-panel {
    min-height: 100vh;
    align-items: center;
}

.about-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.about-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0 1.2rem 0;
    max-width: 100%;
}

.about-name {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.about-name span {
    background: linear-gradient(135deg, #ff331d, #a143ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
    margin: 0 0 2.5rem 0;
    max-width: 100%;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-number sup {
    font-size: 1.2rem;
    vertical-align: super;
    color: rgba(255, 51, 29, 0.9);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding-top: 4rem;
}

.about-bio {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    line-height: 1.85;
    margin: 0;
    max-width: 100%;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    padding-left: 1.1rem;
}

.about-bio:first-child {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    border-left-color: rgba(255, 51, 29, 0.35);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
    justify-content: center;
}

.about-tag {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.about-tag:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(161, 67, 255, 0.4);
    background: rgba(161, 67, 255, 0.08);
}

/* Mobile About */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Remove 100vh min-height — panel was leaving massive empty space on mobile */
    .about-panel {
        min-height: auto;
        padding: 3rem 0 2rem;
    }

    .about-content {
        padding-bottom: 0;
    }

    .about-right {
        padding-top: 0;
    }

    .about-name {
        font-size: clamp(2.8rem, 11vw, 4.5rem);
    }

    /* Stats: side by side, smaller on mobile */
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    /* Bio: slightly smaller, same design */
    .about-right {
        gap: 2.2rem;
    }

    .about-bio {
        font-size: 0.95rem;
        padding-left: 1rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }

    .about-bio:first-child {
        font-size: 1.05rem;
    }
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: rgba(2, 1, 4, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent line across the top */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 29, 0.4), rgba(161, 67, 255, 0.4), transparent);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.8rem 4vw 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

/* Top block: social icons + tagline, centred */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

/* Social icons — row, centred */
.footer-socials {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: #ffffff;
    border-color: rgba(161, 67, 255, 0.5);
    background: rgba(161, 67, 255, 0.1);
    box-shadow: 0 0 20px rgba(161, 67, 255, 0.2);
    transform: translateY(-3px);
}

/* Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 1.8rem;
}

/* Bottom row: copyright left, back-to-top right */
.footer-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
    letter-spacing: 0.03em;
}

.footer-top-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    padding: 0;
}

.footer-top-btn:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Mobile footer */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}