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

:root {
    --red: #e4002b;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #888;
    --light: #f5f4f0;
    --bg: var(--black);
    --fg: var(--white);
    --surface: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --nav-h: 80px;
    --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    --bg: var(--light);
    --fg: var(--black);
    --surface: rgba(0, 0, 0, 0.04);
    --border: rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: auto;
    font-size: 18px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.5s ease, color 0.5s ease;
}

a {
    color: inherit;
}

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

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

@keyframes grainShift {
    0% { background-position: 0 0; }
    20% { background-position: -30px 15px; }
    40% { background-position: 15px -20px; }
    60% { background-position: -15px 25px; }
    80% { background-position: 25px -10px; }
    100% { background-position: 0 0; }
}

/* ══════════════════════════════════════════════════
   SCROLL PROGRESS BAR
══════════════════════════════════════════════════ */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--red);
    z-index: 9999;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(228, 0, 43, 0.6);
}

/* ══════════════════════════════════════════════════
   CURSOR
══════════════════════════════════════════════════ */
.cursor,
.cursor-ring {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
}

@media(hover:hover)and(pointer:fine) {
    body { cursor: none; }
    .cursor {
        display: block;
        width: 12px;
        height: 12px;
        background: var(--red);
        transition: width .12s, height .12s, opacity .2s;
    }
    .cursor-ring {
        display: block;
        z-index: 9997;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(228, 0, 43, 0.4);
        transition: width .3s, height .3s, border-color .3s;
    }
    .cursor.big {
        width: 60px;
        height: 60px;
        opacity: 0.15;
    }
    .cursor-ring.big {
        width: 80px;
        height: 80px;
        border-color: rgba(228, 0, 43, 0.7);
    }
    .cursor.text {
        width: 80px;
        height: 80px;
        opacity: 0.08;
        border-radius: 4px;
    }
}

/* ══════════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
}

.pre-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    overflow: hidden;
}

.pre-logo-inner {
    display: block;
    transform: translateY(100%);
    animation: preSlideUp 0.9s 0.2s var(--ease-expo) forwards;
}

.pre-logo span { color: var(--red); }

.pre-bar {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pre-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--red);
    animation: preLoad 1.8s 0.4s var(--ease-expo) forwards;
}

.pre-count {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    animation: fadeIn 0.6s 0.4s forwards;
    opacity: 0;
}

@keyframes preSlideUp { to { transform: translateY(0); } }
@keyframes preLoad { to { width: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] nav.scrolled {
    background: rgba(248, 248, 248, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
    min-height: 56px;
}

.nav-logo-text { color: var(--fg); }
.nav-logo-mark { color: var(--red); }

.nav-logo-img {
    width: 54px;
    height: 54px;
    display: block;
    object-fit: contain;
    border-radius: 13px;
    /* background: rgba(255, 255, 255, 0.92); */
    padding: 5px;
    border: 0px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.nav-logo-fallback {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--red);
    background: rgba(255, 255, 255, 0.08);
    font-size: 18px;
}

[data-theme="light"] .nav-logo-img {
    background: #f7f7f5;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.nav-links a {
    color: var(--fg);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--red); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* theme toggle */
.theme-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s;
    color: var(--fg);
    border-radius: 0;
}

.theme-toggle:hover {
    border-color: var(--red);
    background: rgba(228, 0, 43, 0.08);
}

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: inline-flex; }

/* ══════════════════════════════════════════════════
   LIGHT THEME - COMPREHENSIVE TEXT VISIBILITY
══════════════════════════════════════════════════ */
[data-theme="light"] .nav-links a {
    color: #000000;
    opacity: 0.78;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: #111;
    opacity: 1;
}

/* Primary text - dark on light background */
[data-theme="light"] .sec-title,
[data-theme="light"] .sec-label,
[data-theme="light"] .wc-client,
[data-theme="light"] .wc-title,
[data-theme="light"] .wc-deco,
[data-theme="light"] .acc-name,
[data-theme="light"] .acc-num,
[data-theme="light"] .acc-body-inner,
[data-theme="light"] .hero-headline,
[data-theme="light"] .hero-eyebrow,
[data-theme="light"] .hero-sub,
[data-theme="light"] .cta-text,
[data-theme="light"] .contact-left h2,
[data-theme="light"] .contact-left p,
[data-theme="light"] .contact-right label,
[data-theme="light"] .footer-logo,
[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-col-title,
[data-theme="light"] .footer-nav a,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .team-name,
[data-theme="light"] .team-role,
[data-theme="light"] .success-title,
[data-theme="light"] .form-ey,
[data-theme="light"] .contact-ey,
[data-theme="light"] .contact-hl,
[data-theme="light"] .contact-hl em,
[data-theme="light"] .c-info-val,
[data-theme="light"] .c-info-val a,
[data-theme="light"] .c-info-label,
[data-theme="light"] .cb span,
[data-theme="light"] .form-group label,
[data-theme="light"] .form-note,
[data-theme="light"] .vinyl-now,
[data-theme="light"] .vinyl-track,
[data-theme="light"] .scroll-ind span,
[data-theme="light"] .tagline-item,
[data-theme="light"] .sec-link,
[data-theme="light"] .btn-secondary {
    color: #111 !important;
}

/* Secondary/muted text */
[data-theme="light"] .hero-sub,
[data-theme="light"] .blog-card-excerpt,
[data-theme="light"] .blog-card-meta,
[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .success-txt,
[data-theme="light"] .form-note {
    color: #555 !important;
}

/* Keep text readable on always-dark surfaces (drawer, overlays, tickers) */
[data-theme="light"] .drawer-links a,
[data-theme="light"] .drawer-cta a,
[data-theme="light"] .cs-label,
[data-theme="light"] .cs-title,
[data-theme="light"] .cs-body,
[data-theme="light"] .cs-stat-n,
[data-theme="light"] .cs-stat-l,
[data-theme="light"] .ticker-item,
[data-theme="light"] .id-t {
    color: #fff !important;
}

/* Light theme form inputs */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    color: #111;
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .form-group select option {
    background: #f5f4f0;
    color: #111;
}

/* Light theme contact section */
[data-theme="light"] .slide-contact {
    background: var(--bg);
}

[data-theme="light"] .contact-right {
    background: var(--bg);
}

[data-theme="light"] .contact-right .form-group input,
[data-theme="light"] .contact-right .form-group select,
[data-theme="light"] .contact-right .form-group textarea {
    color: #111;
    border-bottom-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .cb input[type="checkbox"] {
    border-color: rgba(0, 0, 0, 0.25);
}

/* Light theme footer */
[data-theme="light"] footer {
    background: #e8e6e0;
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-top {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-col a {
    color: rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .footer-col a:hover {
    color: #111;
}

[data-theme="light"] .footer-bottom a {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .footer-bottom a:hover {
    color: #111;
}

[data-theme="light"] .social-btn {
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .social-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(228, 0, 43, 0.08);
}

/* Light theme back-to-top */
[data-theme="light"] #btt {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(245, 244, 240, 0.9);
    color: #111;
}

[data-theme="light"] #btt:hover {
    border-color: var(--red);
    background: rgba(228, 0, 43, 0.1);
    color: var(--red);
}

/* Light theme accordion borders */
[data-theme="light"] .acc-item {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .acc-icon {
    border-color: rgba(0, 0, 0, 0.15);
    color: #111;
}

/* Light theme sec-link */
[data-theme="light"] .sec-link {
    border-bottom-color: #111;
}

/* Light theme btn-secondary */
[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
    border-color: #111;
}

/* Light theme slide-4 CTA */
[data-theme="light"] .slide-4 {
    background: var(--bg);
}

/* Light theme blog cards */
[data-theme="light"] .blog-card-title { color: #111; }
[data-theme="light"] .blog-card-excerpt { color: #555; }

/* Light theme vinyl badge */
[data-theme="light"] .vinyl-badge {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ══════════════════════════════════════════════════ */

.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    opacity: 1 !important;
    padding: 10px 22px;
    font-weight: 500 !important;
    letter-spacing: 0.1em;
    font-size: 13px !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    display: block;
}

.nav-cta:hover { background: #c5001f !important; }
.nav-cta::after { display: none !important; }

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 600;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--fg);
    transition: transform 0.35s, opacity 0.25s, width 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 400;
    pointer-events: none;
    display: none;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s;
    backdrop-filter: blur(4px);
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #0c0c0c;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    padding: 100px 40px 48px;
    transform: translateX(100%);
    transition: transform 0.44s var(--ease-expo);
}

.drawer.open { pointer-events: all; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-links {
    list-style: none;
    flex: 1;
}

.drawer-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.drawer-links a {
    display: block;
    padding: 18px 0;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.65;
    transition: opacity 0.2s, padding-left 0.2s;
}

.drawer-links a:hover {
    opacity: 1;
    padding-left: 8px;
}

.drawer-cta { margin-top: 32px; }

.drawer-cta a {
    display: block;
    background: var(--red);
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════
   SCROLL REVEAL UTILITY
══════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reveal-left.visible {
    opacity: 1;
    transform: none;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}

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

/* Stagger children */
.stagger>* {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}

.stagger.visible>* {
    opacity: 1;
    transform: none;
}

.stagger.visible>*:nth-child(1) { transition-delay: 0s; }
.stagger.visible>*:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible>*:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible>*:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible>*:nth-child(5) { transition-delay: 0.4s; }

/* Word-split reveal */
.word-reveal .word {
    display: contents;
    overflow: hidden;
    vertical-align: bottom;
}

.word-reveal .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s var(--ease-expo);
}

.word-reveal.visible .word-inner { transform: translateY(0); }
.word-reveal.visible .word:nth-child(1) .word-inner { transition-delay: 0s; }
.word-reveal.visible .word:nth-child(2) .word-inner { transition-delay: 0.08s; }
.word-reveal.visible .word:nth-child(3) .word-inner { transition-delay: 0.16s; }
.word-reveal.visible .word:nth-child(4) .word-inner { transition-delay: 0.24s; }
.word-reveal.visible .word:nth-child(5) .word-inner { transition-delay: 0.32s; }
.word-reveal.visible .word:nth-child(6) .word-inner { transition-delay: 0.4s; }
.word-reveal.visible .word:nth-child(7) .word-inner { transition-delay: 0.48s; }
.word-reveal.visible .word:nth-child(8) .word-inner { transition-delay: 0.56s; }

/* ══════════════════════════════════════════════════
   SLIDE BASE
══════════════════════════════════════════════════ */
.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════
   HERO - SLIDE 1
══════════════════════════════════════════════════ */
.slide-1 { background: var(--black); }

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

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(50%);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.15) 50%, rgba(10, 10, 10, 0.85) 100%),
        radial-gradient(ellipse 70% 60% at 65% 50%, rgba(228, 0, 43, 0.1) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 72%);
}

/* portfolio wall */
.stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    perspective: 1200px;
    perspective-origin: 50% 40%;
    overflow: hidden;
}

.wall {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    justify-content: center;
    transform: rotateX(13deg) scale(1.05);
}

.row-vp {
    display: flex;
    overflow: visible;
    transform-style: preserve-3d;
}

.row-track {
    display: flex;
    gap: 1.2vw;
    width: max-content;
}

.row-vp.r1 { transform: translateZ(-60px) rotateY(-7deg); }
.row-vp.r2 { transform: translateZ(-120px) rotateY(7deg); }
.row-vp.r3 { transform: translateZ(-180px) rotateY(-5deg); }
.row-vp.r4 { transform: translateZ(-240px) rotateY(5deg); }

.go-l .row-track { animation: wl 38s linear infinite; }
.go-r .row-track { animation: wr 42s linear infinite; }

@keyframes wl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tile {
    background: rgba(18, 18, 18, 0.9);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.w-sm { width: clamp(80px, 10vw, 130px); height: clamp(55px, 7vw, 85px); }
.w-md { width: clamp(120px, 14vw, 190px); height: clamp(75px, 9vw, 115px); }
.w-lg { width: clamp(160px, 18vw, 250px); height: clamp(95px, 11vw, 145px); }
.w-xl { width: clamp(200px, 22vw, 310px); height: clamp(115px, 13vw, 175px); }
.w-xxl { width: clamp(240px, 26vw, 380px); height: clamp(135px, 15vw, 210px); }

/* hero content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 48px;
    max-width: 1100px;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(46px, 8vw, 110px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
}

.hero-headline em {
    font-style: italic;
    color: var(--red);
}

/* rotating tagline */
.tagline-rotator {
    margin-top: 16px;
    height: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-track {
    display: flex;
    flex-direction: column;
    animation: taglineSpin 6s ease-in-out infinite;
}

.tagline-item {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@keyframes taglineSpin {
    0% { transform: translateY(0); }
    30% { transform: translateY(0); }
    33% { transform: translateY(-28px); }
    63% { transform: translateY(-28px); }
    66% { transform: translateY(-56px); }
    96% { transform: translateY(-56px); }
    100% { transform: translateY(0); }
}

/* vinyl badge */
.vinyl-badge {
    position: absolute;
    bottom: 100px;
    right: 48px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 10px 16px 10px 12px;
    opacity: 0;
    animation: fadeIn 1s 2.5s forwards;
}

.vinyl-disc {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #1a1a1a 0deg, #333 60deg, #111 120deg, #2a2a2a 180deg, #1a1a1a 360deg);
    position: relative;
    animation: vinylSpin 3s linear infinite;
}

.vinyl-disc::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.vinyl-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vinyl-now {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
}

.vinyl-track {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

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

.scroll-ind {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-ind span {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gray);
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ══════════════════════════════════════════════════
   MARQUEE TICKER
══════════════════════════════════════════════════ */
.ticker {
    overflow: hidden;
    background: var(--red);
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 25s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.ticker-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════
   SLIDE 2 - IDENTITY TYPOGRAPHY
══════════════════════════════════════════════════ */
.slide-2 {
    background: #e4002b;
    flex-direction: column;
}

.id-wrap {
    display: flex;
    flex-direction: column;
    padding: 4vw 5vw;
    width: 100%;
}

.id-line {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 0.22em;
    line-height: 0.9;
    margin-bottom: 0.02em;
}

.id-t {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 9.5vw, 128px);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.id-strong { color: var(--fg) !important; }

.vbox {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: clamp(50px, 0.5vw, 8px);
    height: 0.78em;
    font-size: clamp(30px, 9.5vw, 128px);
    vertical-align: middle;
    outline: 2px solid rgba(255, 255, 255, 0.15);
}

.vbox video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb1 { width: 2.2em; }
.vb2 { width: 0.78em; }
.vb3 { width: 1.6em; }

/* client logo marquee */
.logo-strip {
    padding: 20px 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 20s linear infinite;
}

.logo-item {
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    min-height: 44px;
}

.logo-item img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.logo-item:hover img { opacity: 0.9; }

.logo-item span {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.logo-item:hover span { color: rgba(255, 255, 255, 0.9); }

.logo-item.no-logo {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 18px;
    margin: 0 22px;
    background: rgba(255, 255, 255, 0.04);
}

.logo-item.no-logo span {
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .logo-item.no-logo {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .logo-item.no-logo span {
    color: rgba(0, 0, 0, 0.72);
}

/* ══════════════════════════════════════════════════
   SLIDE 3 - WORK
══════════════════════════════════════════════════ */
.slide-3 {
    background: var(--light);
    color: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 80px;
    gap: 56px;
}

[data-theme="light"] .slide-3 { background: #e8e6e0; }

.sec-label {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 10px;
}

.sec-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 900;
    line-height: 1;
    color: var(--black);
}

.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.sec-link {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--black);
    transition: color 0.2s, border-color 0.2s;
}

.sec-link:hover {
    color: var(--red);
    border-color: var(--red);
}

/* work grid */
.work-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    width: 100%;
}

.work-card {
    background: #111;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.work-card:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
}

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

.wc-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.7s ease;
    background-size: cover;
    background-position: center;
}

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

.wc1 { background: linear-gradient(135deg, #1a1a2e, #0f3460); }
.wc2 { background: linear-gradient(135deg, #2d1b00, #6b3a1f); }
.wc3 { background: linear-gradient(135deg, #0d2818, #1a5c33); }
.wc4 { background: linear-gradient(135deg, #2d0a1e, #8b1a4a); }
.wc5 { background: linear-gradient(135deg, #111, #3a3a3a); }

.wc-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s, opacity 0.4s;
    z-index: 2;
}

.wc-client {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 4px;
}

.wc-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

[data-theme="light"] .work-card { border-color: rgba(0, 0, 0, 0.15); }

[data-theme="light"] .wc-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.65) 70%, transparent 100%);
}

[data-theme="light"] .wc-client { color: #b00020; }
[data-theme="light"] .wc-title { color: #101010; }
[data-theme="light"] .wc-deco { color: rgba(0, 0, 0, 0.22); }

.wc-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(16px, 2.5vw, 36px);
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0.06;
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
}

/* video overlay on work card */
.wc-vid {
    position: absolute;
    inset: 0;
    opacity: 1;
    z-index: 1;
}

.wc-vid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ══════════════════════════════════════════════════
   CASE STUDY OVERLAY
══════════════════════════════════════════════════ */
.cs-overlay {
    position: fixed;
    inset: 0;
    z-index: 8000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-expo), visibility 0.5s;
}

.cs-overlay.open { opacity: 1; visibility: visible; }

.cs-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.cs-panel {
    position: relative;
    z-index: 1;
    width: min(900px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    background: #111;
    padding: 64px;
    transform: translateY(40px) scale(0.97);
    transition: transform 0.5s var(--ease-expo);
    scrollbar-width: thin;
    scrollbar-color: var(--red) transparent;
}

.cs-overlay.open .cs-panel { transform: none; }

.cs-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.cs-close:hover {
    border-color: var(--red);
    background: rgba(228, 0, 43, 0.1);
}

.cs-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

.cs-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 24px;
}

.cs-img {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    opacity: 0.5;
    overflow: hidden;
    position: relative;
}

.cs-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.cs-img.has-video {
    opacity: 1;
}

.cs-img.has-video video {
    display: block;
}

.cs-body {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.cs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

.cs-stat { padding: 32px 24px; background: #111; }

.cs-stat-n {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--red);
}

.cs-stat-l {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   SERVICES ACCORDION
══════════════════════════════════════════════════ */
.slide-services {
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 80px;
    gap: 60px;
}

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.acc-item {
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.acc-item:last-child { border-bottom: 1px solid var(--border); }

.acc-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    text-align: left;
    gap: 16px;
}

.acc-num {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--red);
    min-width: 28px;
}

.acc-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    color: var(--fg);
    flex: 1;
}

.acc-icon {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
    font-size: 16px;
    transition: transform 0.35s, border-color 0.2s;
    flex-shrink: 0;
}

.acc-item.open .acc-icon {
    transform: rotate(45deg);
    border-color: var(--red);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-expo);
}

.acc-body-inner {
    padding: 0 0 28px 40px;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

[data-theme="dark"] .acc-body-inner { color: rgba(255, 255, 255, 0.5); }
[data-theme="light"] .acc-body-inner { color: rgba(0, 0, 0, 0.55); }

/* ══════════════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════════════ */
.slide-team {
    background: var(--light);
    color: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 120px 80px;
    gap: 60px;
}

[data-theme="light"] .slide-team { background: #dddbd4; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    width: 100%;
}

.team-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #1a1a1a;
    cursor: pointer;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.6s;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: 0.08;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(6px);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
}

.team-card:hover .team-info {
    opacity: 1;
    transform: none;
}

.team-role {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 4px;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.team-color-1 { background: linear-gradient(160deg, #1a1a2e, #0f3460); }
.team-color-2 { background: linear-gradient(160deg, #2d0a1e, #6b1a3a); }
.team-color-3 { background: linear-gradient(160deg, #0d2818, #1a5c33); }
.team-color-4 { background: linear-gradient(160deg, #1e1800, #5c4a00); }

/* ══════════════════════════════════════════════════
   BLOG SECTION
══════════════════════════════════════════════════ */
.slide-blog { padding: 100px 80px; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    display: block;
}

.blog-card-body { padding: 24px; }

.blog-card-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 8px;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--fg);
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray);
}

/* ══════════════════════════════════════════════════
   CTA SECTION (SLIDE 4)
══════════════════════════════════════════════════ */
.slide-4 {
    background: var(--black);
    flex-direction: column;
    gap: 0;
}

.cta-block {
    width: 100%;
    padding: 120px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 70px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.cta-text em {
    font-style: italic;
    color: var(--red);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 260px;
}

.mag-wrap {
    display: block;
    position: relative;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 18px 28px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover { background: #c5001f; }

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 18px 28px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: border-color 0.2s;
    width: 100%;
}

.btn-secondary:hover { border-color: #fff; }

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.slide-contact {
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

.contact-inner {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.contact-left {
    flex: 0 0 42%;
    background: #e8380a;
    padding: clamp(90px, 9vw, 120px) clamp(28px, 5.5vw, 76px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-left::before {
    content: 'CONTACT';
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-family: 'Playfair Display', serif;
    font-size: 160px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

.contact-ey {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 22px;
}

.contact-hl {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 5.1vw, 76px);
    font-weight: 900;
    line-height: 0.95;
    color: #fff;
    text-transform: uppercase;
}

.contact-hl em {
    font-style: italic;
    display: block;
    color: rgba(255, 255, 255, 0.8);
}

.c-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.c-info-item {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 18px;
}

.c-info-label {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 7px;
}

.c-info-val {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: #fff;
}

.c-info-val a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.c-info-val a:hover { opacity: 0.7; }

.contact-right {
    flex: 1;
    padding: clamp(82px, 8vw, 120px) clamp(24px, 7vw, 92px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contactForm {
    width: min(760px, 100%);
}

.form-ey {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.form-group:focus-within label { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 20px;
}

.form-group select option { background: #1a1a1a; color: #fff; }

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

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

.form-group textarea { resize: none; height: 104px; }

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.4s;
}

.form-group:focus-within .form-line { width: 100%; }

.cb-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
}

.cb-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 14px;
    font-weight: 500;
    display: block;
}

.cb {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.cb input[type="checkbox"] {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    appearance: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.cb input:checked { background: var(--red); border-color: var(--red); }

.cb input:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    width: 4px;
    height: 7px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.cb span { font-size: 14px; color: rgba(255, 255, 255, 0.62); }

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--red);
    color: #fff;
    border: none;
    padding: 18px 26px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.btn-submit:hover { background: #c5001f; }

.form-note {
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.46);
    letter-spacing: 0.04em;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 0;
}

.form-success.show { display: block; }

.success-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 22px;
    color: var(--red);
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.success-txt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════ */
#btt {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 600;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, border-color 0.2s, background 0.2s;
}

#btt.visible { opacity: 1; transform: none; }

#btt:hover {
    border-color: var(--red);
    background: rgba(228, 0, 43, 0.15);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
    background: #050505;
    padding: 60px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 32px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.footer-logo span { color: var(--red); }

.footer-tagline {
    font-size: 12px;
    color: var(--gray);
    max-width: 230px;
    line-height: 1.6;
}

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

.footer-col-title {
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.social-row { display: flex; gap: 10px; margin-top: 6px; }

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.social-btn:hover {
    border-color: var(--red);
    color: #fff;
    background: rgba(228, 0, 43, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom-links { display: flex; gap: 28px; }

/* ══════════════════════════════════════════════════
   TILES WALL - SLIDE
══════════════════════════════════════════════════ */
.slide-tiles {
    background: #060606;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    --tw-gap: 0px;
    --tw-wall-w: 136%;
    --tw-wall-shift: 12vw;
    --tw-s1: 38s;
    --tw-s2: 44s;
    --tw-s3: 50s;
    --tw-s4: 34s;
    --tw-s5: 42s;
    --tw-s6: 46s;
    --tw-tile-w: clamp(240px, 24vw, 420px);
}

.slide-tiles .tw-overlay-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.28) 40%,
            rgba(20, 20, 20, 0.08) 70%,
            rgba(40, 40, 40, 0.05) 100%);
    pointer-events: none;
    z-index: 20;
}

.slide-tiles .tw-overlay-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 21;
}

.slide-tiles .tw-stage {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    perspective-origin: 50% 50%;
    overflow: hidden;
    position: relative;
}

.slide-tiles .tw-wall {
    width: var(--tw-wall-w);
    height: 100vh;
    transform: translateX(var(--tw-wall-shift)) rotateX(21deg) rotateY(-23deg) rotateZ(11deg) scale(1.35);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--tw-gap);
    padding: var(--tw-gap) 0;
    flex-shrink: 0;
}

.slide-tiles .tw-row-vp {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.slide-tiles .tw-row-track {
    display: flex;
    width: max-content;
    gap: var(--tw-gap);
    will-change: transform;
}

.slide-tiles .tw-go-left .tw-row-track { animation: tw-ml var(--tw-s1) linear infinite; }
.slide-tiles .tw-go-right .tw-row-track { animation: tw-mr var(--tw-s2) linear infinite; }
.slide-tiles .tw-r3 .tw-row-track { animation-duration: var(--tw-s3) !important; }
.slide-tiles .tw-r4 .tw-row-track { animation-duration: var(--tw-s4) !important; }
.slide-tiles .tw-r5 .tw-row-track { animation-duration: var(--tw-s5) !important; }
.slide-tiles .tw-r6 .tw-row-track { animation-duration: var(--tw-s6) !important; }

@keyframes tw-ml { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tw-mr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (hover: hover) {
    .slide-tiles .tw-row-vp:hover .tw-row-track { animation-play-state: paused; }
}

.slide-tiles .tw-tile {
    position: relative;
    flex: 0 0 auto;
    width: var(--tw-tile-w);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #0a0a0a;
    border: 0;
    cursor: pointer;
    transition: border-color .3s, transform .25s;
}

.slide-tiles .tw-tile:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: scale(1.015);
    z-index: 10;
}

.slide-tiles .tw-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
    z-index: 3;
    pointer-events: none;
}

.slide-tiles .tw-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════════════
   SHAKE ANIMATION
══════════════════════════════════════════════════ */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%, 75% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}

/* ══════════════════════════════════════════════════
   MEDIA QUERIES
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .slide-tiles .tw-wall {
        width: var(--tw-wall-w);
        height: 100vh;
        transform: translateX(var(--tw-wall-shift)) rotateX(21deg) rotateY(-23deg) rotateZ(11deg) scale(1.56);
        transform-origin: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: var(--tw-gap);
        padding: var(--tw-gap) 0;
        flex-shrink: 0;
    }

    .scroll-ind {
        position: absolute;
        bottom: 40px;
        top: 95vh;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    nav { padding: 0 32px; }
    .nav-links { display: none; }
    .nav-right .theme-toggle { display: inline-flex; }
    .hamburger { display: flex; }
    .drawer { display: block; }

    .slide-3, .effie-block, .cta-block, .slide-services, .slide-team { padding: 100px 48px; }

    .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .work-card:first-child { grid-row: span 1; aspect-ratio: 4/3; }

    .effie-block { flex-direction: column; gap: 36px; }
    .cta-block { flex-direction: column; gap: 36px; }
    .footer-nav { gap: 40px; }
    footer { padding: 60px 48px; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-panel { padding: 48px; }

    .slide-blog { padding: 60px 40px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .slide-tiles {
        --tw-wall-w: 150%;
        --tw-wall-shift: 10vw;
        --tw-tile-w: clamp(160px, 20vw, 300px);
    }
}

@media (max-width: 768px) {
    nav { padding: 0 24px; }
    .hero-content { padding: 80px 24px; }
    .slide-3 { padding: 80px 24px; gap: 36px; }
    .sec-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .work-grid { grid-template-columns: 1fr; gap: 8px; }
    .work-card { aspect-ratio: 16/9; }
    .work-card:first-child { aspect-ratio: 16/9; }
    .wc-info { opacity: 1; transform: none; }
    .effie-block, .cta-block { padding: 80px 24px; }
    .cta-actions { width: 100%; min-width: unset; }
    .slide-services, .slide-team { padding: 80px 24px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    footer { padding: 48px 24px; }
    .footer-top { flex-direction: column; gap: 36px; }
    .footer-nav { flex-wrap: wrap; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
    .vinyl-badge { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-box { padding: 40px 32px; }
    .cs-panel { padding: 32px 24px; }
    .cs-stats { grid-template-columns: 1fr; }

    .scroll-ind {
        position: absolute;
        bottom: 40px;
        top: 95vh;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .contact-inner { flex-direction: column; }
    .contact-left { flex: none; padding: 80px 24px 60px; }
    .contact-right { padding: 60px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-left::before { font-size: 80px; bottom: -20px; }
    .contact-right { border-radius: 24px 24px 0 0; margin-top: -24px; background: var(--black); position: relative; z-index: 2; }

    .slide-blog { padding: 40px 20px; }
    .blog-grid { grid-template-columns: 1fr; }

    .slide-tiles {
        --tw-wall-w: 144%;
        --tw-wall-shift: 9vw;
        --tw-gap: 0px;
        --tw-tile-w: clamp(130px, 18vw, 240px);
    }

    .slide-tiles .tw-wall {
        transform: translateX(var(--tw-wall-shift)) rotateX(21deg) rotateY(-23deg) rotateZ(11deg) scale(1.42);
    }
}

@media (max-width: 480px) {
    .id-t { font-size: clamp(24px, 9.5vw, 128px) !important; }
    .slide-3, .effie-block, .cta-block, .slide-services, .slide-team { padding: 60px 20px; }
    footer { padding: 40px 20px; }
    .footer-nav { flex-direction: column; }
    #btt { bottom: 20px; right: 20px; }

    .slide-tiles {
        --tw-wall-w: 136%;
        --tw-wall-shift: 8vw;
        --tw-gap: 0px;
        --tw-tile-w: clamp(150px, 16vw, 180px);
        --tw-s1: 26s;
        --tw-s2: 30s;
        --tw-s3: 34s;
        --tw-s4: 22s;
        --tw-s5: 28s;
        --tw-s6: 32s;
    }

    .slide-tiles .tw-wall {
        transform: translateX(var(--tw-wall-shift)) rotateX(21deg) rotateY(-23deg) rotateZ(11deg) scale(1.28);
    }
}

@media (min-width: 1366px) and (max-width: 1919px) {
    .slide-tiles {
        --tw-wall-w: 150%;
        --tw-wall-shift: 9vw;
        --tw-tile-w: clamp(200px, 22vw, 360px);
    }
}

@media (min-width: 1920px) {
    nav { padding: 0 80px; }
    .slide-3, .effie-block, .cta-block, .slide-services, .slide-team { padding: 160px 120px; }
    footer { padding: 80px 120px; }

    .slide-tiles {
        --tw-wall-w: 122%;
        --tw-wall-shift: 7vw;
        --tw-wall-shift: 4vw;
        --tw-tile-w: clamp(300px, 22vw, 480px);
    }
}

/* ══════════════════════════════════════════════════
   FINAL THEME VISIBILITY OVERRIDES
══════════════════════════════════════════════════ */
html[data-theme="light"] .c-info-label,
html[data-theme="light"] .c-info-val,
html[data-theme="light"] .c-info-val a,
html[data-theme="light"] .cb span,
html[data-theme="light"] .form-group label,
html[data-theme="light"] .form-note,
html[data-theme="light"] .footer-logo,
html[data-theme="light"] .footer-col-title,
html[data-theme="light"] .footer-col a,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .footer-bottom a,
html[data-theme="light"] .social-btn {
    color: #1a1a1a !important;
}

html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
    color: #1a1a1a !important;
    border-bottom-color: rgba(0, 0, 0, 0.18) !important;
}

html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="light"] .cb input[type="checkbox"] {
    border-color: rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .c-info-val,
html[data-theme="dark"] .c-info-val a,
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .footer-logo,
html[data-theme="dark"] .footer-col a,
html[data-theme="dark"] .footer-bottom,
html[data-theme="dark"] .footer-bottom a {
    color: #ffffff !important;
}

@media (prefers-reduced-motion: reduce) {
    .go-l .row-track,
    .go-r .row-track,
    .ticker-track,
    .logo-track,
    .tagline-track,
    .grain { animation: none !important; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
