/* ======================================================
   WOLLENBURG MEDIA — Premium Design System v2.2
   Parallax 3D Camera, Scroll Animations, Cinematic UX
   ====================================================== */

/* ======================================================
   DESIGN TOKENS
   ====================================================== */
:root {
    --black: #0a0a0a;
    --deep: #050505;
    --dark: #111111;
    --card: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #a0a0a0;
    --muted: #666666;
    --light: #d4d4d4;
    --pure-white: #ffffff;
    --accent: #C41E3A;
    --accent-glow: rgba(196, 30, 58, 0.4);
    --accent-soft: rgba(196, 30, 58, 0.15);
    --accent-medium: rgba(196, 30, 58, 0.3);

    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-alt: 'Outfit', sans-serif;

    --section-pad: clamp(5rem, 10vw, 10rem);
    --section-pad-x: clamp(1.5rem, 5vw, 5rem);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    --z-grain: 9999;
    --z-cursor: 9998;
    --z-preloader: 9000;
    --z-nav: 1000;
    --z-back-top: 100;
}

/* ======================================================
   RESET & BASE
   ====================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text);
    overflow-x: hidden;
    font-weight: 300;
    cursor: none;
}

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

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

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

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--pure-white);
}

/* ======================================================
   CUSTOM CURSOR — Crosshair
   ====================================================== */
.cursor-crosshair {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    color: var(--pure-white);
    mix-blend-mode: difference;
    transition: transform 0.2s var(--ease), color 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.cursor-crosshair svg {
    width: 100%;
    height: 100%;
}

.cursor-crosshair.hovering {
    color: var(--accent);
    transform: translate(-50%, -50%) scale(1.4) rotate(45deg);
    opacity: 1;
    mix-blend-mode: normal;
}

/* ======================================================
   GRAIN OVERLAY
   ====================================================== */
.grain-overlay {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: var(--z-grain);
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    animation: grainShift 0.3s steps(8) infinite;
}

@keyframes grainShift {

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

    10% {
        transform: translate(-2%, -3%);
    }

    20% {
        transform: translate(3%, 1%);
    }

    30% {
        transform: translate(-1%, 4%);
    }

    40% {
        transform: translate(4%, -2%);
    }

    50% {
        transform: translate(-3%, 3%);
    }

    60% {
        transform: translate(2%, -4%);
    }

    70% {
        transform: translate(-4%, 1%);
    }

    80% {
        transform: translate(1%, -1%);
    }

    90% {
        transform: translate(3%, 2%);
    }
}

/* ======================================================
   PRELOADER — SVG Logo + Character Stagger Animation
   ====================================================== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    background: var(--deep);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 0 0);
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.preloader-logo-wrap {
    width: clamp(60px, 12vw, 100px);
    display: flex;
    justify-content: center;
}

.preloader-logo {
    width: 100%;
    height: auto;
}

/* Character-by-character text reveal */
.preloader-text-wrap {
    display: flex;
    gap: 0.1em;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: 0.25em;
    color: var(--pure-white);
    overflow: hidden;
}

.preloader-text-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg);
    transform-origin: bottom center;
}

.preloader-sub {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    letter-spacing: 0.6em;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px) scaleX(0.5);
    transform-origin: center;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

/* ======================================================
   NAVIGATION
   ====================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    transition: transform 0.5s var(--ease), background 0.5s, backdrop-filter 0.5s, padding 0.4s;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    padding: 0.75rem 3rem;
    border-bottom: 1px solid var(--border);
}

#navbar.hidden {
    transform: translateY(-100%);
}

.nav-logo img {
    width: 40px;
    height: auto;
    transition: transform 0.3s var(--ease);
}

.nav-logo:hover img {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light);
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.nav-link:hover {
    color: var(--pure-white);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle .bar {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--pure-white);
    transition: transform 0.4s var(--ease), opacity 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======================================================
   HERO
   ====================================================== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--deep);
    perspective: 1000px;
}

/* Animated particle canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Parallax depth container */
.hero-parallax-container {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    perspective: 1200px;
    z-index: 1;
}

.hero-depth-layer {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    will-change: transform;
}

.depth-element {
    position: absolute;
}

.depth-grid {
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(196, 30, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 30, 58, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(600px) rotateX(60deg);
    transform-origin: center 120%;
    opacity: 0.5;
}

.depth-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.15), transparent);
}

.depth-line-1 {
    width: 300px;
    top: 25%;
    left: 5%;
    transform: rotate(-5deg);
}

.depth-line-2 {
    width: 200px;
    top: 70%;
    right: 10%;
    transform: rotate(8deg);
}

.depth-line-3 {
    width: 400px;
    top: 45%;
    right: -5%;
    transform: rotate(-12deg);
}

.depth-line-4 {
    width: 150px;
    top: 15%;
    right: 20%;
    transform: rotate(15deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.depth-line-5 {
    width: 250px;
    bottom: 25%;
    left: 10%;
    transform: rotate(-8deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.depth-circle {
    border-radius: 50%;
    border: 1px solid rgba(196, 30, 58, 0.08);
}

.depth-circle-1 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 15%;
}

.depth-diamond {
    border: 1px solid rgba(196, 30, 58, 0.1);
    transform: rotate(45deg);
}

.depth-diamond-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
}

.depth-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.25);
}

.depth-dot-1 {
    top: 30%;
    left: 25%;
}

.depth-dot-2 {
    top: 60%;
    left: 70%;
}

.depth-dot-3 {
    top: 80%;
    left: 40%;
}

.depth-dot-4 {
    top: 15%;
    right: 35%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.depth-dot-5 {
    top: 75%;
    left: 20%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.depth-frame {
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.depth-frame-1 {
    width: 150px;
    height: 100px;
    top: 30%;
    left: 60%;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--deep) 70%);
    z-index: 2;
    pointer-events: none;
}

/* Logo watermark instead of text W */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform;
    opacity: 0.04;
}

.hero-watermark-logo {
    width: clamp(300px, 50vw, 700px);
    height: auto;
    filter: brightness(2);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 0 2rem;
    will-change: transform;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-label-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    color: var(--pure-white);
    letter-spacing: 0.08em;
    line-height: 0.85;
    position: relative;
    z-index: 1;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
    transform-origin: bottom center;
}

/* "MEDIA" subtitle under WOLLENBURG */
.hero-title-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3rem);
    letter-spacing: 0.6em;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    margin-top: -0.5rem;
}

.hero-tagline-wrap {
    overflow: hidden;
    padding: 0.5rem 0;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    letter-spacing: 0.3em;
    color: var(--light);
    opacity: 0;
    transform: translateY(30px);
}

.tagline-dot {
    color: var(--accent);
    font-size: 0.5em;
}

.tagline-word {
    opacity: 0;
    transform: translateY(20px);
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--muted);
    letter-spacing: 0.05em;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, color 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
    z-index: -1;
}

.hero-cta:hover {
    border-color: var(--accent);
    color: var(--pure-white);
}

.hero-cta:hover::before {
    transform: scaleX(1);
}

.hero-cta:hover .cta-icon svg {
    transform: translateX(4px);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

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

@keyframes scrollPulse {

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

    50% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
}

/* ======================================================
   MARQUEE
   ====================================================== */
.marquee-section {
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--deep);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    will-change: transform;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.3em;
    color: var(--muted);
    flex-shrink: 0;
}

.marquee-sep {
    color: var(--accent);
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ======================================================
   SECTION COMMON
   ====================================================== */
section {
    padding: var(--section-pad) var(--section-pad-x);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem);
    color: var(--pure-white);
    letter-spacing: 0.05em;
    line-height: 0.9;
}

.section-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(-40deg);
    transform-origin: bottom center;
}

/* ======================================================
   SERVICES
   ====================================================== */
#services {
    background: var(--dark);
}

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

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
    will-change: transform;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(196, 30, 58, 0.06), transparent 40%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

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

.service-card:hover {
    border-color: var(--accent-medium);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(196, 30, 58, 0.05);
    transform: translateY(-5px);
}

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

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s;
    filter: grayscale(0.6) contrast(1.1);
}

.service-card:hover .service-img-wrap img {
    transform: scale(1.08);
    filter: grayscale(0) contrast(1);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    z-index: 2;
    pointer-events: none;
}

.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    z-index: 3;
    line-height: 1;
    transition: opacity 0.4s;
}

.service-card:hover .service-number {
    opacity: 0.8;
}

.service-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: var(--pure-white);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap 0.3s var(--ease), color 0.3s;
}

.service-link:hover {
    gap: 1rem;
    color: var(--pure-white);
}

.service-link svg {
    transition: transform 0.3s var(--ease);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ======================================================
   PORTFOLIO
   ====================================================== */
#work {
    padding-bottom: 4rem;
    background: var(--black);
}

.portfolio-showcase {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    transition: border-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease);
    will-change: transform;
    opacity: 0;
    transform: translateY(80px);
}

.portfolio-item:nth-child(even) {
    transform: translateY(120px);
}

.portfolio-item:hover {
    border-color: var(--accent-medium);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(196, 30, 58, 0.06);
    transform: translateY(-8px) !important;
}

.portfolio-item-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s;
    filter: grayscale(0.5) contrast(1.05);
}

.portfolio-item:hover .portfolio-item-img img {
    transform: scale(1.1);
    filter: grayscale(0) contrast(1);
}

.portfolio-item-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.portfolio-item-content {
    padding: 1.5rem 2rem;
    position: relative;
}

.portfolio-cat {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--pure-white);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.portfolio-item:hover .portfolio-title {
    color: var(--accent);
}

.portfolio-excerpt {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ======================================================
   ABOUT — with logo + rings decoration
   ====================================================== */
#about {
    background: var(--dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-title {
    margin-bottom: 2rem;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--light);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.about-lead em {
    color: var(--accent);
    font-style: italic;
}

.about-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
}

.about-visual-col {
    position: relative;
}

/* Logo + rings decoration */
.about-logo-decoration {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-deco-logo {
    width: 80px;
    height: auto;
    position: relative;
    z-index: 2;
    opacity: 0.6;
    filter: brightness(1.5);
}

.about-deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-deco-ring-1 {
    width: 140px;
    height: 140px;
    border-color: rgba(196, 30, 58, 0.25);
    animation: ringPulse 4s ease-in-out infinite;
}

.about-deco-ring-2 {
    width: 180px;
    height: 180px;
    border-color: rgba(196, 30, 58, 0.15);
    animation: ringPulse 4s ease-in-out infinite 1s;
}

.about-deco-ring-3 {
    width: 220px;
    height: 220px;
    border-color: rgba(196, 30, 58, 0.08);
    animation: ringPulse 4s ease-in-out infinite 2s;
}

.about-deco-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

@keyframes ringPulse {

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

    50% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

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

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    opacity: 0;
    transform: translateX(40px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--pure-white);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* ======================================================
   CONTACT
   ====================================================== */
#contact {
    background: var(--black);
}

.contact-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 20rem);
    color: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.contact-details {
    margin-top: 2rem;
}

.contact-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    position: relative;
    transition: color 0.3s;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--pure-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.4s;
    cursor: none;
}

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

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 0.9rem;
    color: var(--muted);
    pointer-events: none;
    transition: transform 0.4s var(--ease), font-size 0.4s, color 0.4s;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group select:focus~label,
.form-group select:valid~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    transform: translateY(-1.5rem);
    font-size: 0.75rem;
    color: var(--accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.form-group input:focus~.form-line,
.form-group select:focus~.form-line,
.form-group textarea:focus~.form-line {
    transform: scaleX(1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
}

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

/* Submit — NO magnetic, stays put */
.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    align-self: flex-start;
    padding: 1rem 2.5rem;
    border: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, color 0.4s;
    cursor: none;
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
    z-index: -1;
}

.form-submit:hover {
    border-color: var(--accent);
    color: var(--pure-white);
}

.form-submit:hover::before {
    transform: scaleX(1);
}

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

.form-submit:hover svg {
    transform: translateX(4px);
}

/* ======================================================
   FOOTER
   ====================================================== */
#footer {
    background: var(--deep);
    padding: 3rem 4rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 48px;
    height: auto;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--pure-white);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    position: relative;
    transition: color 0.3s;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

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

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-tagline {
    font-family: var(--font-heading);
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--muted);
}

/* ======================================================
   BACK TO TOP
   ====================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--pure-white);
    z-index: var(--z-back-top);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent);
    background: var(--accent);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .portfolio-showcase {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

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

    .cursor-crosshair {
        display: none;
    }

    #navbar {
        padding: 0.75rem 1.5rem;
    }

    #navbar.scrolled {
        padding: 0.75rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s var(--ease);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .hero-title {
        font-size: clamp(2.5rem, 14vw, 6rem);
    }

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

    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    #footer {
        padding: 2rem 1.5rem 1.5rem;
    }

    .hero-watermark-logo {
        width: clamp(200px, 40vw, 400px);
    }

    .hero-parallax-container {
        display: none;
    }

    .about-logo-decoration {
        width: 160px;
        height: 160px;
    }

    .about-deco-logo {
        width: 50px;
    }

    .about-deco-ring-1 {
        width: 100px;
        height: 100px;
    }

    .about-deco-ring-2 {
        width: 130px;
        height: 130px;
    }

    .about-deco-ring-3 {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .portfolio-item-content {
        padding: 1rem 1.25rem;
    }

    .contact-bg-text {
        font-size: clamp(4rem, 15vw, 8rem);
    }
}