/* ============================================
   MIDNIGHT TIRE & WHEEL
   v2 — Actually different.
   ============================================ */

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

:root {
    --bg: #060606;
    --fg: #e8e8e8;
    --dim: #888;
    --muted: #555;
    --accent: #2643e7;
    --accent2: #ff6b35;
    --surface: #0d0d0d;
    --surface2: #111;
    --border: #1a1a1a;
    --font: 'Space Grotesk', sans-serif;
    --serif: 'Instrument Serif', serif;
}

::selection {
    background: var(--accent);
    color: #000;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ---- CUSTOM CURSOR ---- */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 99999;
    color: var(--fg);
    mix-blend-mode: difference;
    transition: transform 0.15s ease-out, opacity 0.2s;
    transform: translate(-50%, -50%);
    opacity: 0;
}
body:hover .cursor { opacity: 1; }
.cursor svg { width: 100%; height: 100%; }
.cursor.hovering {
    transform: translate(-50%, -50%) scale(1.8);
}
.cursor.hovering svg { opacity: 0.5; }

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: transform 0.08s;
}

/* ---- NOISE ---- */
.noise {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    contain: strict;
    will-change: transform;
}

/* ---- INTRO ---- */
.intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s ease 0.8s;
    clip-path: inset(0 0 0 0);
}
.intro.done {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
}
.intro-wheel {
    width: 120px;
    height: 120px;
    animation: introSpin 3s linear infinite;
}
.intro-svg { width: 100%; height: 100%; }
@keyframes introSpin { to { transform: rotate(360deg); } }

.intro-logo {
    max-width: min(85vw, 700px);
    max-height: 60vh;
    object-fit: contain;
    animation: introReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes introReveal {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px clamp(20px, 4vw, 60px);
    background: #000;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}
.nav-center {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }
.nav-sep {
    opacity: 0.2;
    font-size: 0.7rem;
}
.nav-phone {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.nav-phone:hover { opacity: 1; }
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
}
.burger-line {
    width: 28px;
    height: 1px;
    background: var(--fg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-burger.active .burger-line:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}
.nav-burger.active .burger-line:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* Mobile Nav */
.mob-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.mob-nav.active {
    clip-path: circle(150% at calc(100% - 40px) 40px);
}
.mob-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mob-link {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.1;
    overflow: hidden;
}
.mob-link span {
    display: block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mob-nav.active .mob-link span {
    transform: translateY(0);
}
.mob-nav.active .mob-link:nth-child(1) span { transition-delay: 0.15s; }
.mob-nav.active .mob-link:nth-child(2) span { transition-delay: 0.2s; }
.mob-nav.active .mob-link:nth-child(3) span { transition-delay: 0.25s; }
.mob-nav.active .mob-link:nth-child(4) span { transition-delay: 0.3s; }
.mob-link:hover { color: var(--accent); }
.mob-footer {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}
.mob-footer a {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.mob-footer a:hover { opacity: 1; }

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px clamp(20px, 4vw, 60px) 60px;
}

.hero-wheel {
    position: absolute;
    right: -15%;
    top: 40%;
    transform: translateY(-50%);
    width: min(80vw, 800px);
    height: min(80vw, 800px);
    opacity: 0.45;
    will-change: transform;
    mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, rgba(0,0,0,1) 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 60% 50%, rgba(0,0,0,1) 20%, transparent 70%);
}
.hero-wheel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 180px);
    min-height: calc(100dvh - 180px);
    will-change: transform, opacity;
}

.hero-top {
    margin-bottom: auto;
}
.hero-tag {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.4;
}

.hero-title {
    margin: auto 0;
    padding: 40px 0;
}
.title-line {
    display: block;
    overflow: hidden;
    line-height: 1;
}
.title-word {
    display: inline-block;
    font-size: clamp(3rem, 9vw, 8.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-transform: uppercase;
}
.title-italic {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    text-transform: lowercase;
    color: var(--accent);
    margin-right: 0.15em;
}
.title-outline {
    -webkit-text-stroke: 1.5px var(--fg);
    color: transparent;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-top: auto;
}
.hero-desc {
    max-width: 380px;
}
.hero-desc p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dim);
    font-weight: 300;
}
.hero-scroll-cue {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.3;
}
.scroll-arrow {
    width: 12px;
    height: 36px;
    color: var(--dim);
    animation: bobDown 2s ease-in-out infinite;
}
.scroll-arrow svg { width: 100%; height: 100%; }
@keyframes bobDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.hero-side-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 8px;
}


/* ---- TAPE MARQUEE ---- */
.tape {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.tape::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    opacity: 0.08;
}
.tape-track {
    display: flex;
    width: max-content;
    animation: tape 25s linear infinite;
}
.tape-track span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.4;
}
@keyframes tape {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- SHARED HEADING STYLES ---- */
.label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--dim);
    margin-bottom: 24px;
}
.big-heading {
    line-height: 0.9;
}
.bh-line {
    display: block;
}
.bh-line span {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: inline-block;
}
.bh-italic {
    font-family: var(--serif) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    text-transform: lowercase !important;
    color: var(--accent);
}
.bh-outline {
    -webkit-text-stroke: 1.5px var(--fg);
    color: transparent !important;
}

/* ---- WORK / HORIZONTAL SCROLL ---- */
.work {
    padding-top: 120px;
}
.work-header {
    margin-bottom: 60px;
}

.h-scroll-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
    touch-action: pan-y; /* let vertical scroll pass through, JS handles horizontal */
}
.h-scroll-track {
    display: flex;
    gap: 24px;
    padding: 0 clamp(20px, 4vw, 60px);
    will-change: transform;
    cursor: grab;
}
.h-scroll-track:active { cursor: grabbing; }

.h-card {
    flex-shrink: 0;
    width: clamp(300px, 35vw, 480px);
}
.h-card-img {
    aspect-ratio: 4/5;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    transition: border-color 0.4s;
}
.h-card:hover .h-card-img {
    border-color: var(--accent);
}
.h-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.h-card-info {
    padding: 0 4px;
}
.h-card-tag {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
}
.h-card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.h-card-info p {
    font-size: 0.8rem;
    color: var(--dim);
    font-weight: 300;
}

.h-card-cta {
    display: flex;
    align-items: center;
}
.h-card-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    border: 1px solid var(--border);
    height: 100%;
    justify-content: center;
}
.h-card-cta-inner span {
    font-size: 0.75rem;
    color: var(--dim);
    letter-spacing: 0.05em;
}
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s;
}
.cta-link:hover { gap: 16px; }

/* ---- SERVICES ---- */
.services {
    padding: 80px 0 160px;
}
.services-top {
    margin-bottom: 80px;
}

.services-list {
    border-top: 1px solid var(--border);
}
.svc-item {
    display: grid;
    grid-template-columns: 60px 1fr 48px;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.svc-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:hover::before,
.svc-item.active::before { width: 100%; }
.svc-item:hover,
.svc-item.active {
    padding-left: 16px;
}

.svc-num {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.4s;
}
.svc-item:hover .svc-num,
.svc-item.active .svc-num { color: var(--accent); }

.svc-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:hover .svc-title,
.svc-item.active .svc-title {
    transform: translateX(8px);
}
.svc-desc {
    font-size: 0.85rem;
    color: var(--dim);
    line-height: 1.6;
    font-weight: 300;
    max-width: 600px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:hover .svc-desc,
.svc-item.active .svc-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
}

.svc-arrow {
    width: 24px;
    height: 24px;
    color: var(--muted);
    transition: all 0.4s;
    transform: rotate(-45deg);
}
.svc-item:hover .svc-arrow,
.svc-item.active .svc-arrow {
    color: var(--accent);
    transform: rotate(0deg);
}

/* ---- ABOUT ---- */
.about {
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.about-left {
    position: relative;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid var(--border);
}
.about-photo {
    width: 100%;
    height: 82%;
    object-fit: cover;
    display: block;
}

.about-right {
    padding: clamp(60px, 8vw, 120px) clamp(30px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-heading {
    margin-bottom: 40px;
}
.about-body {
    margin-bottom: 48px;
}
.about-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dim);
    font-weight: 300;
    margin-bottom: 16px;
}
.about-highlight {
    color: var(--accent) !important;
    font-weight: 500 !important;
    font-style: italic;
}

.about-brands {
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.brands-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}
.brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.brands-list span {
    font-size: 0.75rem;
    padding: 6px 14px;
    border: 1px solid var(--border);
    color: var(--dim);
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s;
}
.brands-list span:hover {
    border-color: var(--accent);
    color: var(--fg);
}

/* ---- TIRECONNECT WIDGET ---- */
.tireconnect-section {
    padding: 160px 0 80px;
    border-bottom: 1px solid var(--border);
}
.tireconnect-section .label {
    margin-bottom: 24px;
}
.tc-subtitle {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: var(--dim);
    max-width: 520px;
    line-height: 1.6;
    margin-top: 24px;
}
.tc-widget-wrap {
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 clamp(20px, 4vw, 60px);
    min-height: 400px;
}
.tc-widget-wrap #tireconnect {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .tireconnect-section {
        padding: 100px 0 60px;
    }
    .tc-widget-wrap {
        margin-top: 40px;
    }
}

/* ---- REVIEWS ---- */
.reviews-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.reviews-layout {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
}
.reviews-carousel {
    position: relative;
    flex: 1;
    min-height: 320px;
}
.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.review-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.big-quote {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    line-height: 1.3;
    font-style: italic;
    color: var(--fg);
    max-width: 800px;
}
.bq-line {
    display: block;
}
.bq-line em {
    color: var(--accent);
    font-style: italic;
}

.review-attr {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.review-stars {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 4px;
}
.review-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--fg);
}
/* Reviews side — counter + CTA */
.reviews-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    flex-shrink: 0;
}
.reviews-badge {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font);
}
.rb-score {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
    line-height: 1;
}
.rb-star {
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 1;
}
.rb-label {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-left: 2px;
}

.review-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.review-cta::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.review-cta:hover::before { width: 100%; }
.review-cta:hover { border-color: var(--accent); color: #000; }
.review-cta-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
.review-cta-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}
.review-cta:hover .review-cta-icon { transform: translate(3px, -3px); }
.review-cta-icon svg { width: 100%; height: 100%; }

@media (max-width: 768px) {
    .reviews-layout {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
    }
    .reviews-side {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    .reviews-carousel {
        min-height: 280px;
    }
}

/* ---- CONTACT ---- */
.contact {
    padding: 80px 0 160px;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 120px);
    align-items: start;
}
.contact-info-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ci-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ci-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
}
.ci-value {
    font-size: 1rem;
    font-weight: 400;
}
.ci-link {
    transition: color 0.3s;
}
.ci-link:hover { color: var(--accent); }
.ci-hours {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ci-hours span {
    font-size: 0.9rem;
    color: var(--dim);
}

/* Contact Form */
.c-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.c-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.c-form-group label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 8px;
}
.c-form-group input,
.c-form-group select,
.c-form-group textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    -webkit-appearance: none;
}
.c-form-group input:focus,
.c-form-group select:focus,
.c-form-group textarea:focus {
    border-color: var(--accent);
}
.c-form-group input::placeholder,
.c-form-group textarea::placeholder {
    color: var(--muted);
}
.c-form-group select {
    cursor: pointer;
    color: var(--dim);
}
.c-form-group select option {
    background: var(--bg);
    color: var(--fg);
}
.c-form-group textarea {
    resize: none;
    min-height: 100px;
}

.c-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    font-family: var(--font);
    transition: all 0.4s;
    position: relative;
}
.c-submit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.c-submit:hover::before { width: 100%; }
.c-submit:hover { color: #000; padding: 24px 16px; }
.c-submit-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}
.c-submit-icon {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}
.c-submit:hover .c-submit-icon { transform: translateX(4px); }
.c-submit-icon svg { width: 100%; height: 100%; }

/* ---- CIRCULAR GALLERY ---- */
.circular-gallery-section {
    padding: 120px 0 0;
    border-top: 1px solid var(--border);
}
.circular-gallery-section .container {
    margin-bottom: 40px;
}
.circular-gallery-wrap {
    height: 600px;
    position: relative;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y; /* let vertical scroll pass through, JS handles horizontal */
}
.circular-gallery-wrap:active {
    cursor: grabbing;
}
.circular-gallery-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .circular-gallery-wrap {
        height: 400px;
    }
}

/* ---- FOOTER ---- */
.footer {
    padding: 32px 0 20px;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--fg); }
.footer-social {
    display: flex;
    gap: 24px;
}
.footer-social a {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--dim);
    transition: color 0.3s;
}
.footer-social a:hover { color: var(--accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom span {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.footer-sitemap {
    margin-left: 8px;
    color: var(--muted);
    transition: color 0.3s;
}
.footer-sitemap:hover { color: var(--accent); }

/* ---- GLITCH HOVER ---- */
.glitch-hover {
    position: relative;
}
.glitch-hover:hover {
    animation: glitch 0.3s steps(2) infinite;
}
@keyframes glitch {
    0% { text-shadow: 2px 0 var(--accent), -2px 0 cyan; }
    25% { text-shadow: -2px 0 var(--accent), 2px 0 cyan; }
    50% { text-shadow: 2px 2px var(--accent), -2px -2px cyan; }
    75% { text-shadow: -2px -1px var(--accent), 2px 1px cyan; }
    100% { text-shadow: 1px -2px var(--accent), -1px 2px cyan; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .about-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: 60vh;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-center, .nav-phone { display: none; }
    .nav-burger { display: flex; }

    .hero {
        flex-direction: column;
        min-height: auto;
        overflow: visible;
    }
    .hero-wheel {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: calc(100% + clamp(40px, 8vw, 120px));
        margin-left: calc(-1 * clamp(20px, 4vw, 60px));
        height: auto;
        aspect-ratio: 4/3;
        opacity: 0.7;
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, transparent 100%);
        order: 4;
        margin-top: 20px;
        margin-bottom: -60px;
    }
    .hero-wheel-img {
        object-fit: cover;
    }
    .hero-content {
        min-height: auto;
        display: contents;
    }
    .hero-top { order: 1; }
    .hero-title { order: 2; }
    .hero-bottom {
        order: 3;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-scroll-cue { display: none; }

    .svc-item {
        grid-template-columns: 40px 1fr 32px;
        gap: 16px;
        padding: 24px 0;
    }
    .c-form-row {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    body { cursor: auto; }
    .cursor, .cursor-dot { display: none; }
    a, button { cursor: auto; }
}

@media (max-width: 480px) {
    .about-left { min-height: 50vh; }
}

/* ---- SKIP LINK (ACCESSIBILITY) ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100001;
    padding: 12px 24px;
    background: var(--accent);
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ---- SMOOTH FOCUS OUTLINES ---- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .intro { display: none !important; }
    .cursor, .cursor-dot { display: none !important; }
}

/* ---- PRINT STYLES ---- */
@media print {
    .noise, .cursor, .cursor-dot, .intro, .tape, .hero-wheel,
    .about-left, .nav-burger, .mob-nav, .hero-scroll-cue { display: none !important; }
    body {
        background: #fff;
        color: #000;
        cursor: auto;
    }
    .nav {
        position: static;
        background: #fff;
        mix-blend-mode: normal;
    }
    a { color: #000; }
    .footer { border-top: 1px solid #ccc; }
}
