/* =====================================================
   RAWDS Band Website — Design System & Styles
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Inter:wght@400;500;600;700;900&family=Permanent+Marker&family=Silkscreen:wght@400;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #ffffff;
    --bg-primary-rgb: 255, 255, 255;
    --bg-secondary: #f7f7f7;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-glass: rgba(0, 0, 0, 0.04);
    --text-primary: #111111;
    --text-primary-rgb: 17, 17, 17;
    --text-secondary: #6c7179;
    --text-muted: #999999;
    --accent: #e8444a;
    --accent-glow: rgba(232, 68, 74, 0.25);
    --accent-secondary: #00c047;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Permanent Marker', cursive;
    --font-pixel: 'Silkscreen', cursive;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --max-width: 1200px;
}

.hero-gradient {
    /* Keep existing definition but make sure it uses the proper base color */
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ---------- Floating Background Orbs ---------- */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(100px);
    opacity: 0.12;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

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

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    background: var(--bg-glass);
}

.section-label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

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

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    backdrop-filter: blur(20px);
    background: rgba(var(--bg-primary-rgb), 0.9);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 3px;
    color: var(--text-primary);
    transition: transform var(--transition-spring);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.navbar-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    z-index: 1005;
    cursor: pointer;
    position: relative;
}

.navbar-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.navbar-socials svg,
.mobile-socials svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    display: flex;
    align-items: flex-end;
    background: transparent;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-media-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Base background to sit behind the fixed image */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: -1;
}


/* White fade overlay – hidden, no longer needed */
.hero-white-fade {
    display: none;
}

/* Hero gradient overlay for text readability */
.hero-gradient {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure full image visibility on all screens */
    object-position: center top;
    background-color: var(--bg-primary);
}

/* Hero Slideshow — horizontal slide */
.hero-image-container {
    overflow: hidden;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background-color: var(--bg-primary);
}

/* When only one image, keep it static */
.hero-image-container .hero-main-image {
    position: relative;
    left: 0;
}

/* Glitch Animation */
@keyframes hero-glitch {
    0% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }

    20% {
        transform: translate(-5px, 5px);
        clip-path: inset(10% 0 40% 0);
    }

    40% {
        transform: translate(5px, -5px);
        clip-path: inset(30% 0 10% 0);
    }

    60% {
        transform: translate(-5px, 2px);
        clip-path: inset(50% 0 5% 0);
    }

    80% {
        transform: translate(2px, -2px);
        clip-path: inset(10% 0 70% 0);
    }

    100% {
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
}

.glitch-active img {
    animation: hero-glitch 0.3s steps(2) infinite;
    filter: hue-rotate(90deg) contrast(1.5);
}

.hero.loaded .hero-image-container img {
    transform: scale(1);
}

/* Hero background logic */
.hero {
    background-color: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 40px;
    padding-top: 140px;
    transition: opacity 0.1s linear;
}

.hero-content .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.hero-info {
    max-width: 600px;
}

.hero-badge {
    margin-bottom: 20px;
}

.hero-title {
    line-height: 1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.03em;
    line-height: 1.4;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- CTA Button ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    overflow: hidden;
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--bg-glass);
    transform: translateY(-2px);
}

/* ---------- Works Section ---------- */
.works-section {
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.works-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

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

.work-card {
    position: relative;
    aspect-ratio: 1.32;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all var(--transition-smooth);
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.work-card:hover img {
    transform: scale(1.06);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    color: #fff;
}

.work-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.02em;
}

.work-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
}

.work-card:hover .work-card-tag {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Work Detail Dialog ---------- */
.work-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s, background-color 0.4s;
}

.work-detail-overlay.active {
    opacity: 1;
    visibility: visible;
}

.work-detail-modal {
    width: 100%;
    max-width: 900px;
    height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--bg-primary);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    pointer-events: auto;
    /* Required to capture clicks when overlay is active */
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work-detail-overlay.active .work-detail-modal {
    transform: scale(1) translateY(0);
}

.work-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.work-detail-close:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.work-detail-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.work-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-detail-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            transparent 100%);
    pointer-events: none;
}

.work-detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.work-detail-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    margin-bottom: 12px;
}

.work-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.work-detail-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.02em;
}

.work-detail-body {
    padding: 28px 32px 32px;
}

.work-detail-full-desc {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

/* Scrollbar styling for the detail modal */
.work-detail-modal::-webkit-scrollbar {
    width: 6px;
}

.work-detail-modal::-webkit-scrollbar-track {
    background: transparent;
}

.work-detail-modal::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

@media (max-width: 809px) {
    .work-detail-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .work-detail-modal {
        max-height: 92vh;
    }

    .work-detail-hero-content {
        padding: 20px;
    }

    .work-detail-body {
        padding: 20px;
    }
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: 40px 0 60px;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Infinite Slider Container */
.testimonials-slider-container {
    width: 100%;
    overflow: hidden;
    margin-top: 32px;
    padding-bottom: 20px;
    position: relative;
    /* Optional fade edges */
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

/* The actual scrolling row */
.testimonials-row {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 30s linear infinite;
    /* Slowed down from 10s */
    cursor: grab;
}

.testimonials-row:active {
    cursor: grabbing;
}

/* Pause animation on hover */
.testimonials-row:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Need to translate exactly half the width assuming we duplicate the items once */
        transform: translateX(calc(-50% - 10px));
    }
}


.testimonial-card {
    flex: 0 0 350px;
    max-width: 350px;
    width: 350px;
    height: auto;
    min-height: 300px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass);
    transform: translateY(-4px);
}

.testimonial-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff7e5f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.testimonial-author-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- About Section ---------- */
.about-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.about-grid {
    display: flex;
    gap: 40px;
    padding: 30px 0;
}

.about-left {
    flex: 1;
}

.about-right {
    width: 55%;
}

.about-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.2;
    position: sticky;
    top: 120px;
}

.about-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.5;
    color: var(--text-secondary);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- About Page Overlay (Redesigned) ---------- */
.about-page-overlay {
    background: #ffffff;
    overflow-x: hidden;
}

.about-page-inner {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- About Overlay Nav --- */
.about-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-nav-logo .logo-img {
    height: 32px;
    width: auto;
}

.about-nav-links {
    display: flex;
    gap: 32px;
}

.about-nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.about-nav-link:hover,
.about-nav-link.active {
    color: #111;
}

.about-nav-link.active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-nav-draft-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.about-nav-draft-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* --- Section Title --- */
.about-section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #111;
    margin-bottom: 32px;
    line-height: 1.1;
}

/* --- Upcoming Events --- */
.about-events-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 40px;
}

.about-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-event-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    background: #f0f0f0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.about-event-card:hover {
    transform: scale(1.02);
}

.about-event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-event-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
}

.about-event-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-event-card-date {
    font-family: var(--font-heading);
    font-size: 13px;
    opacity: 0.8;
}

/* --- Event Plan Table --- */
.about-eventplan-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 40px 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.about-event-table {
    width: 100%;
    min-width: 400px;
    border-collapse: separate;
    border-spacing: 0 12px;
    font-family: var(--font-heading);
}

.about-event-table thead th {
    text-align: left;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: none;
}

.about-event-table tbody tr {
    transition: all 0.2s;
    background: #fcfcfc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.about-event-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about-event-table tbody td {
    padding: 20px 24px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    border-top: none;
    border-bottom: none;
}

.about-event-table tbody td:first-child {
    border-radius: 16px 0 0 16px;
}

.about-event-table tbody td:last-child {
    border-radius: 0 16px 16px 0;
}

.about-event-table tbody tr.highlighted {
    background: #7c3aed;
    color: #fff;
}

.about-event-table tbody tr.highlighted td {
    color: #fff;
}

/* --- Band Intro Section --- */
.about-bandintro-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px 40px;
    overflow-x: hidden;
}

.about-bandintro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.about-bandintro-images img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.about-bandintro-images img:hover {
    transform: scale(1.02);
}

.about-bandintro-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.about-bandintro-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-bandintro-heading {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #111;
}

.about-bandintro-desc {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.4;
    color: #111;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    clip-path: inset(0 0 100% 0);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.about-page-overlay.active .about-bandintro-desc {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0% 0);
    transition-delay: 0.6s;
}

.about-bandintro-desc-sub {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.6;
    color: #888;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-page-overlay.active .about-bandintro-desc-sub {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* --- Individual Member Profiles --- */
.about-members-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px 60px;
    overflow-x: hidden;
}

.about-members-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-member-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    border-top: 1px solid #eee;
}

/* Stack member profiles on medium and small screens */
@media (max-width: 1024px) {
    .about-member-profile {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-member-profile.reversed {
        direction: ltr;
    }

    .about-member-info {
        padding: 40px 32px;
    }
}

.about-member-profile:last-child {
    border-bottom: 1px solid #eee;
}

.about-member-profile.reversed {
    direction: rtl;
}

.about-member-profile.reversed>* {
    direction: ltr;
}

.about-member-profile .member-image-wrapper {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: auto;
    overflow: hidden;
}

/* about-member-photo img removed as it is now handled by .member-image */

.about-member-profile:hover .member-image {
    transform: scale(1.04);
}

.about-member-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: #fff;
}

.about-member-name {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 500;
    color: #282828;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.about-member-role {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Dark Footer --- */
.about-dark-footer {
    background: #111;
    padding: 120px 40px 40px;
    margin-top: 60px;
}

.about-footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.about-footer-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.04em;
    max-width: 700px;
}

.about-footer-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 48px;
    background: #fff;
    color: #111;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.about-footer-cta:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.about-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.about-footer-copy {
    font-family: var(--font-heading);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.about-footer-socials {
    display: flex;
    gap: 24px;
}

.about-footer-socials a {
    font-family: var(--font-heading);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.about-footer-socials a:hover {
    color: #fff;
}

.about-footer-credit {
    font-family: var(--font-heading);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- About Page Responsive --- */
@media (max-width: 809px) {
    .about-events-grid {
        grid-template-columns: 1fr;
    }

    .about-nav-inner {
        padding: 12px 20px;
    }

    .about-nav-draft-btn {
        display: none;
    }

    .about-events-section,
    .about-eventplan-section,
    .about-bandintro-section,
    .about-members-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-bandintro-images {
        grid-template-columns: 1fr;
    }

    .about-member-profile {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-member-profile.reversed {
        direction: ltr;
    }

    .about-member-photo {
        aspect-ratio: 4/3;
    }

    .about-member-info {
        padding: 28px 16px;
    }

    .about-dark-footer {
        padding: 60px 16px 30px;
    }

    .about-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .about-event-table {
        font-size: 14px;
    }

    .about-event-table thead th,
    .about-event-table tbody td {
        padding: 10px 12px;
    }
}

/* ---------- Band Members (homepage hidden, overlay only) ---------- */
.band-members-section {
    display: none;
}

.band-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

@media (max-width: 809px) {
    .band-members-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 100px;
        height: 100px;
    }
}

.band-members-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.member-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: none;
    min-height: auto;
    width: 100%;
    gap: 60px;
    margin-bottom: 100px;
}

.member-image-wrapper {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: transform 0.5s ease;
}

.member-info {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    text-align: left;
}

.member-name {
    font-family: var(--font-display);
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 700;
    color: #000;
    line-height: 1;
    text-transform: none;
    letter-spacing: -0.05em;
    margin-bottom: 0;
}

.member-role-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-role-label {
    font-size: 12px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.member-role {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.member-joined {
    margin-top: auto;
    font-size: 13px;
    color: #999;
    font-style: italic;
    letter-spacing: 0.02em;
}

@media (max-width: 809px) {
    .member-card {
        flex-direction: column;
        min-height: auto;
    }

    .member-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .member-info {
        padding: 32px;
    }
}

/* ---------- Image Drop Zone (Admin) ---------- */
.image-drop-zone {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-glass);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.image-drop-zone:hover,
.image-drop-zone.drag-over {
    border-color: var(--accent);
    background: rgba(232, 68, 74, 0.05);
}

.image-drop-zone.drag-over {
    transform: scale(1.01);
}

.image-drop-zone .drop-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.image-drop-zone .drop-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.image-drop-zone .drop-text span {
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
}

.image-drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-drop-zone .image-preview {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.upload-progress {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border-color);
    overflow: hidden;
    margin-top: 8px;
    display: none;
}

.upload-progress.active {
    display: block;
}

.upload-progress-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0%;
    transition: width 0.2s ease;
}

/* ---------- Experience / Services Section ---------- */
.experience-section {
    padding: 40px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.05;
    pointer-events: none;
}

.experience-content {
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.experience-left {
    width: 50%;
}

.experience-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.experience-left p {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.experience-right {
    flex: 1;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.service-item:hover {
    padding-left: 12px;
}

.service-item:hover .service-name {
    color: var(--accent);
}

.service-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.03em;
    flex: 1;
    transition: color var(--transition-fast);
}

/* ---------- Works Filters ---------- */
.works-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.works-filter-btn {
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    background: transparent;
}

.works-filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.works-filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* ---------- Contact / Footer ---------- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 300px;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    gap: 8px;
}

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

.footer-bottom .admin-link {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: opacity var(--transition-fast);
    text-align: center;
}

.footer-bottom .admin-link:hover {
    opacity: 1;
    color: var(--accent);
}

/* Marquee Removed */

/* Effect Overlays Removed for Minimalism */

/* ---------- Entrance Animations ---------- */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.08);
    }

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

@keyframes heroContentSlideUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBadgeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes navSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-container img {
    animation: heroFadeIn 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-badge {
    animation: heroBadgeSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-title {
    animation: heroContentSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-subtitle {
    animation: heroContentSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.hero-cta {
    animation: heroContentSlideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
}

.navbar {
    animation: navSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* ---------- Logo Image Styles ---------- */
.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.hero-logo-img {
    height: clamp(60px, 10vw, 120px);
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 30px var(--accent-glow));
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
}


/* ---------- Grain Texture Overlay ---------- */
.work-detail-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    /* Increased dramatically to be above Works Overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.work-detail-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 99999;
    opacity: 0.04;
    mix-blend-mode: overlay;
}


/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .container {
        padding: 0 40px;
    }

    .hero-content .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

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

    .work-card {
        aspect-ratio: 1.6;
    }

    .testimonials-row {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .testimonial-card {
        height: 300px;
    }

    .about-grid {
        flex-direction: column;
    }

    .about-left h2 {
        position: static;
        top: auto;
    }

    .about-right {
        width: 100%;
    }

    .experience-content {
        flex-direction: column;
    }

    .experience-left {
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 809px) {
    .container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .navbar-links.open {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .navbar-links a {
        font-size: 28px;
        padding: 12px 24px;
    }

    .mobile-socials {
        display: flex !important;
        gap: 20px;
        margin-top: 20px;
    }

    .mobile-socials a {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--bg-glass);
        border: 1px solid var(--border-color);
        color: var(--text-secondary);
        transition: all var(--transition-fast);
    }

    .mobile-socials a:hover {
        color: var(--text-primary);
        border-color: var(--accent);
        background: var(--accent-glow);
    }

    .mobile-socials svg {
        width: 20px;
        height: 20px;
    }

    .navbar-socials {
        display: none;
    }

    .hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0;
        overflow: visible;
    }

    .hero-media-wrapper {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        aspect-ratio: 1920 / 750;
        overflow: hidden;
        z-index: 1;
    }

    .hero-image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .hero-image-container img,
    .hero-image-container .hero-slide {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        position: absolute;
        top: 0;
        left: 100%;
    }

    .hero-image-container .hero-slide.active {
        left: 0;
        position: absolute;
    }

    .hero-image-container .hero-slide.exit {
        left: -100%;
    }

    .hero-image-container .hero-slide:only-child {
        position: relative;
        left: 0;
    }

    .hero-white-fade {
        display: none;
    }

    .hero-gradient {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.8) 70%, #ffffff 95%, #ffffff 100%);
        z-index: 20;
        pointer-events: none;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-logo-img {
        height: 60px;
    }

    .works-section {
        padding: 80px 0;
    }

    .works-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .testimonials-row {
        flex-direction: row;
        gap: 16px;
        padding: 0 20px 20px 20px;
    }

    .testimonial-card {
        flex: 0 0 280px;
        max-width: 280px;
        width: 280px;
        height: auto;
        min-height: 220px;
    }

    .about-grid {
        gap: 24px;
        padding: 30px 0;
    }

    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
        width: auto;
    }

    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ---------- Admin Styles ---------- */
.admin-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.login-card h1 {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.login-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(116, 48, 247, 0.15);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.login-error {
    color: #ff4444;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

.btn-full {
    width: 100%;
    padding: 14px;
    text-align: center;
    justify-content: center;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 100px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 3px;
}

.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.admin-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.work-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.work-list-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.work-list-info {
    flex: 1;
}

.work-list-info h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.work-list-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.work-list-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232, 68, 74, 0.1);
}

.btn-icon.delete:hover {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.modal h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

/* ---------- About & Works Overlay Content ---------- */
.about-overlay-content {
    max-width: 900px;
}

.about-overlay-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-overlay-text p {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-overlay-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-overlay-members {
    margin-top: 32px;
}

.works-overlay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

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

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

/* ---------- Contact Overlay ---------- */
.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: var(--bg-primary);
    --cx: 80%;
    --cy: 30px;
    clip-path: circle(0% at var(--cx) var(--cy));
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    pointer-events: none;
}

.contact-overlay.active {
    clip-path: circle(150% at var(--cx) var(--cy));
    pointer-events: all;
}

.contact-overlay-close {
    position: fixed;
    top: 28px;
    right: 40px;
    z-index: 5010;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.contact-overlay.active .contact-overlay-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition-delay: 0.5s;
}

.contact-overlay-close:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: rotate(90deg) scale(1.1);
}

.contact-overlay-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 40px 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.contact-overlay.active .contact-overlay-inner {
    opacity: 1;
    transform: translateY(0);
}

.contact-overlay-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 48px;
    color: var(--text-secondary);
}

.contact-overlay-heading strong {
    color: var(--text-primary);
    font-weight: 700;
}

.contact-overlay-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card {
    background: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease 0.45s, transform 0.5s ease 0.45s;
}

.contact-overlay.active .contact-form-card {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-group {
    margin-bottom: 24px;
}

.contact-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all var(--transition-fast);
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

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

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: #ffffff;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-call-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease 0.55s, transform 0.5s ease 0.55s;
}

.contact-overlay.active .contact-call-card {
    opacity: 1;
    transform: translateX(0);
}

.contact-call-logo img {
    height: 52px;
    width: auto;
}

.contact-call-text {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

.contact-call-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-call-duration {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    width: fit-content;
}

.contact-call-btn {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.contact-call-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

    .contact-overlay-inner {
        padding: 100px 20px 60px;
    }

    .contact-overlay-close {
        right: 20px;
        top: 20px;
    }

    .contact-form-card,
    .contact-call-card {
        padding: 28px;
    }
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-smooth);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}