
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* =========================
   VARIABLES
========================= */

:root {
    --black: #080808;
    --dark: #101010;
    --gray: #777;
    --light: #f2f2f2;
    --orange: #8856f6;
    --brand-purple: #8856f6;
    --brand-lilac: #bd67ff;
    --brand-blue: #4a83ff;
    --red: #8f1d12;
}

/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #222;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    width: 150px;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.navigation {
    display: flex;
    gap: 35px;
}

.navigation a {
    color: #888;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--orange);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 25px;
}

/* =========================
   HERO BACKGROUND
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8%;
    overflow: hidden;
    background: #080808;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.75) contrast(1.15);
    transform: scale(1.03);
}

/* =========================
   HERO OVERLAY
========================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.98) 0%,
        rgba(8, 8, 8, 0.88) 35%,
        rgba(8, 8, 8, 0.35) 70%,
        rgba(8, 8, 8, 0.65) 100%
    );
}

/* =========================
   HERO CONTENT
========================= */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero h1 {
    margin-top: 25px;
    font-size: clamp(70px, 11vw, 155px);
    line-height: 0.8;
    letter-spacing: -7px;
    font-weight: 900;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--orange);
}

.hero-text {
    max-width: 450px;
    margin-top: 40px;
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================
   HERO PROJECT NUMBER
========================= */

.hero-project {
    position: absolute;
    right: 7%;
    bottom: 45px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.hero-project span {
    color: #777;
    font-size: 9px;
    letter-spacing: 4px;
}

.hero-project strong {
    color: var(--orange);
    font-size: 45px;
    line-height: 1;
    font-weight: 900;
}

/* =========================
   BUTTONS
========================= */

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.button {
    display: inline-block;
    padding: 16px 28px;
    background: var(--orange);
    color: #080808;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 101, 0, 0.25);
}

.button-outline {
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
}

/* =========================
   HERO SCROLL
========================= */

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.hero-scroll span {
    display: block;
    width: 50px;
    height: 1px;
    background: var(--orange);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 8%;
    border-top: 1px solid #1c1c1c;
}

.section-header span {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 4px;
}

.section-header h2 {
    margin-top: 15px;
    font-size: clamp(45px, 7vw, 90px);
    letter-spacing: -4px;
    line-height: 0.9;
}

.section-header h2 strong {
    color: transparent;
    -webkit-text-stroke: 1px #777;
}

/* =========================
   CARS
========================= */

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 70px;
}

.car-card {
    background: #0d0d0d;
    border: 1px solid #222;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.car-card:hover {
    border-color: var(--orange);
    transform: translateY(-6px);
}

/* =========================
   CAR IMAGE
========================= */

.car-image {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #080808;
}

.car-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.6s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

/* =========================
   CAR NUMBER
========================= */

.car-number {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    background: rgba(8, 8, 8, 0.8);
    border: 1px solid rgba(255, 101, 0, 0.6);
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
}

.car-image label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #aaa;
    font-size: 8px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* =========================
   CAR DETAILS
========================= */

.car-details {
    padding: 25px;
}

.car-details > span {
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.car-details h3 {
    margin-top: 10px;
    font-size: 20px;
    letter-spacing: 1px;
}

.car-details > p {
    margin-top: 8px;
    color: #777;
    font-size: 11px;
    letter-spacing: 2px;
}

/* =========================
   CAR SPECS
========================= */

.car-specs {
    display: flex;
    gap: 35px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.car-specs div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.car-specs span {
    color: #555;
    font-size: 12px;
    letter-spacing: 2px;
}

.car-specs strong {
    color: #ddd;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.car-project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #181818;
}

.car-project-footer span {
    color: #444;
    font-size: 7px;
    letter-spacing: 2px;
}

.car-project-footer span:last-child {
    color: var(--orange);
}

/* =========================
   COMING SOON
========================= */

.car-placeholder {
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #151515, #080808);
    color: #333;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 4px;
    transition: color 0.3s ease;
}

.car-card:hover .car-placeholder {
    color: #555;
}

/* =========================
   HALLOWEEN
========================= */

.halloween-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050505;
}

.halloween-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 101, 0, 0.12),
        transparent 55%
    );
    pointer-events: none;
}

.halloween-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.halloween-label {
    position: absolute;
    top: 35px;
    left: 8%;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.halloween-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.halloween-logo img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 35px rgba(255, 70, 0, 0.25));
}

.halloween-info {
    max-width: 450px;
}

.halloween-info > span {
    color: #666;
    font-size: 9px;
    letter-spacing: 3px;
}

.halloween-info h2 {
    margin-top: 20px;
    font-size: clamp(50px, 7vw, 95px);
    line-height: 0.85;
    letter-spacing: -4px;
    font-weight: 900;
}

.halloween-info h2 strong {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px #ff6500;
}

.halloween-info p {
    margin-top: 30px;
    max-width: 350px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.halloween-button {
    margin-top: 35px;
    border-color: #ff6500;
}

.halloween-button:hover {
    background: #ff6500;
    color: #080808;
}

/* =========================
   ABOUT
========================= */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-top: 70px;
    align-items: center;
}

.about-statement > span {
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.about-statement h3 {
    margin-top: 25px;
    font-size: clamp(50px, 7vw, 90px);
    line-height: 0.85;
    letter-spacing: -4px;
    font-weight: 900;
}

.about-statement h3 strong {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--orange);
}

.about-text {
    max-width: 520px;
}

.about-text p {
    margin-bottom: 25px;
    color: #888;
    font-size: 14px;
    line-height: 1.9;
    max-width: 500px;
}

.about-text p:last-child {
    margin-bottom: 0;
    color: #ccc;
    font-weight: 500;
}

.about-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 90px;
    padding-top: 35px;
    border-top: 1px solid #222;
}

.about-bottom div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-bottom span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-bottom p {
    color: #777;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section p {
    max-width: 500px;
    margin: 35px 0;
    color: #888;
    font-size: 14px;
    line-height: 1.9;
}

.contact-section .button {
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #050505;
    border-top: 1px solid #1a1a1a;
    padding: 80px 8% 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 70px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: block;
    width: 180px;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-brand p {
    margin-top: 25px;
    color: #666;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.footer-navigation,
.footer-project {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navigation > span,
.footer-project > span {
    margin-bottom: 20px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.footer-navigation a {
    margin-bottom: 12px;
    color: #888;
    font-size: 11px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-navigation a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-project > a {
    color: var(--light);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-project > a:hover {
    color: var(--orange);
}

.footer-project p {
    max-width: 220px;
    margin-top: 15px;
    color: #666;
    font-size: 11px;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #151515;
}

.footer-bottom span {
    color: #444;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================
   CAR DETAIL PAGE
========================= */

.car-detail-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 8% 90px;
    overflow: hidden;
    background: var(--black);
}

.car-detail-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.car-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.7) contrast(1.15);
    transform: scale(1.03);
}

.car-detail-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.98) 0%,
        rgba(8, 8, 8, 0.75) 45%,
        rgba(8, 8, 8, 0.25) 100%
    );
}

.car-detail-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.car-detail-content h1 {
    margin-top: 25px;
    font-size: clamp(65px, 10vw, 145px);
    line-height: 0.82;
    letter-spacing: -6px;
    font-weight: 900;
}

.car-detail-content h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--orange);
}

.car-detail-content p {
    margin-top: 35px;
    color: #999;
    font-size: 13px;
    letter-spacing: 4px;
}

/* =========================
   CAR INFORMATION
========================= */

.car-information {
    background: #0a0a0a;
}

.car-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 55px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.car-info-item {
    padding: 35px 25px;
    border-right: 1px solid #222;
}

.car-info-item:last-child {
    border-right: none;
}

.car-info-item span {
    display: block;
    margin-bottom: 12px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.car-info-item strong {
    color: var(--light);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================
   PROJECT METADATA
========================= */

.project-metadata {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    border-bottom: 1px solid #222;
}

.project-metadata-item {
    padding: 25px;
    border-right: 1px solid #222;
}

.project-metadata-item:last-child {
    border-right: none;
}

.project-metadata-item span {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.project-metadata-item strong {
    color: var(--light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* =========================
   PROJECT SPECIFICATIONS
========================= */

.project-specifications {
    margin-top: 80px;
}

.specifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 45px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.specification-item {
    padding: 35px 25px;
    border-right: 1px solid #222;
}

.specification-item:last-child {
    border-right: none;
}

.specification-item span {
    display: block;
    margin-bottom: 12px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
}

.specification-item strong {
    color: var(--light);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* =========================
   CAR DESCRIPTION
========================= */

.car-description {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-top: 80px;
}

.car-description > span {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 3px;
}

.car-description p {
    max-width: 650px;
    color: #888;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.car-description p:last-child {
    margin-bottom: 0;
}

/* =========================
   PROJECT NAVIGATION
========================= */

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.project-navigation-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-navigation-link:hover {
    opacity: 0.6;
}

#project-previous:hover {
    transform: translateX(-5px);
}

#project-next:hover {
    transform: translateX(5px);
}

/* =========================
   DETAIL NAVIGATION
========================= */

.car-detail-navigation {
    display: flex;
    justify-content: center;
    padding: 90px 8%;
    background: var(--black);
}

.car-detail-link {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    padding: 12px 20px;
    border: 1px solid #333;
    color: #888;
    font-size: 10px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.car-detail-link:hover {
    color: #fff;
    background: var(--orange);
    border-color: var(--orange);
}

/* =========================
   CAR GALLERY
========================= */

.car-gallery {
    background: #080808;
}

.car-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 55px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main {
    grid-column: 1 / -1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* =========================
   GALLERY LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    display: block;
    max-width: 85vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    transition: color 0.3s ease;
}

.lightbox button:hover {
    color: var(--orange);
}

.lightbox-close {
    top: 30px;
    right: 35px;
    font-size: 45px !important;
}

.lightbox-prev {
    left: 35px;
}

.lightbox-next {
    right: 35px;
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* =========================
   PROJECT ERROR
========================= */

.project-error {
    min-height: 60vh;
    padding: 160px 30px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #111111;
    color: #ffffff;
}

.project-error[hidden] {
    display: none !important;
}

.project-error span {
    color: #999999;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.project-error h1 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 3px;
}

.project-error p {
    max-width: 550px;
    margin: 0 0 35px;
    color: #b5b5b5;
    line-height: 1.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .footer {
        padding: 60px 6% 25px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-bottom: 50px;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navigation {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 0;
        background: #080808;
        border-bottom: 1px solid #222;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 1001;
    }

    .navigation.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navigation a {
        display: block;
        width: 100%;
        padding: 18px 6%;
        color: #888;
        text-decoration: none;
        font-size: 11px;
        letter-spacing: 2px;
        border-bottom: 1px solid #181818;
    }

    .navigation a:last-child {
        border-bottom: none;
    }

    .menu-button {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    .logo {
        width: 125px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 45px;
        margin-top: 50px;
    }

    .about-statement h3 {
        font-size: clamp(48px, 15vw, 75px);
        letter-spacing: -3px;
    }

    .about-text p {
        font-size: 13px;
    }

    .about-bottom {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 55px;
    }

    .halloween-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 90px 8% 70px;
    }

    .halloween-logo {
        order: 1;
    }

    .halloween-info {
        order: 2;
    }

    .halloween-logo img {
        max-width: 420px;
    }

    .halloween-label {
        left: 8%;
        top: 30px;
    }

    .halloween-info h2 {
        letter-spacing: -2px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 45px;
    }

    .car-image,
    .car-placeholder {
        height: 300px;
    }

    .car-details {
        padding: 22px;
    }

    .car-project-footer {
        margin-top: 22px;
    }

    .hero-background img {
        object-position: 65% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.92),
            rgba(8, 8, 8, 0.55)
        );
    }

    .hero-project {
        right: 25px;
        bottom: 35px;
    }

    .hero h1 {
        font-size: clamp(60px, 16vw, 100px);
        letter-spacing: -4px;
    }

    .hero {
        padding: 120px 25px 80px;
    }

    .section {
        padding: 90px 25px;
    }

    .halloween-section {
        min-height: 600px;
    }

    .car-detail-hero {
        min-height: 70vh;
        padding: 120px 6% 60px;
    }

    .car-detail-overlay {
        background: linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.92),
            rgba(8, 8, 8, 0.5)
        );
    }

    .car-detail-content h1 {
        font-size: clamp(55px, 16vw, 95px);
        letter-spacing: -4px;
    }

    .car-detail-content p {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .car-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-info-item {
        padding: 25px 18px;
        border-right: 1px solid #222;
        border-bottom: 1px solid #222;
    }

    .car-info-item:nth-child(2n) {
        border-right: none;
    }

    .car-info-item:nth-child(3),
    .car-info-item:nth-child(4) {
        border-bottom: none;
    }

    .project-metadata {
        grid-template-columns: 1fr;
    }

    .project-metadata-item {
        padding: 22px 18px;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .project-metadata-item:last-child {
        border-bottom: none;
    }

    .specifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specification-item {
        padding: 25px 18px;
        border-right: 1px solid #222;
        border-bottom: 1px solid #222;
    }

    .specification-item:nth-child(2n) {
        border-right: none;
    }

    .specification-item:nth-child(3),
    .specification-item:nth-child(4) {
        border-bottom: none;
    }

    .car-description {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 55px;
    }

    .car-detail-navigation {
        padding: 65px 6%;
    }

    .car-gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-main {
        grid-column: auto;
    }

    .gallery-item {
        aspect-ratio: 16 / 10;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-image {
        max-width: 92vw;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox button {
        font-size: 28px;
    }

    .project-navigation {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin: 60px 25px 0;
    }

    .project-navigation-link {
        text-align: center;
        padding: 15px;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .project-error {
        min-height: 55vh;
        padding: 130px 20px 70px;
    }

    .project-error h1 {
        letter-spacing: 1px;
    }
}


/* Content pages and footer legal navigation */
.legal-links { display:flex; gap:18px; }
.legal-links a,.legal-page a:not(.button) { color:#aaa; text-decoration:none; }
.legal-links a:hover,.legal-page a:not(.button):hover { color:var(--orange); }
.legal-page { min-height:75vh; padding-top:150px; }
.legal-page h1 { margin:25px 0 35px; font-size:clamp(42px,8vw,84px); text-transform:uppercase; }
.legal-page h2 { margin:34px 0 12px; color:#f2f2f2; }
.legal-page p { max-width:760px; margin:0 0 22px; color:#aaa; line-height:1.8; }
.legal-page .notice { padding:18px; border-left:3px solid var(--orange); background:#151515; color:#ddd; }
.event-logo { display:block; max-width:min(100%,520px); margin:35px 0; }
.contact-options { margin-top:35px; }
@media(max-width:768px){.legal-links{flex-wrap:wrap;gap:12px}.footer-bottom .legal-links{align-self:flex-start}}


/* Modern NEFK visual polish */
:root {
    --black: #08090b;
    --dark: #111317;
    --gray: #96999f;
    --light: #f4f5f6;
    --orange: #8856f6;
    --brand-purple: #8856f6;
    --brand-lilac: #bd67ff;
    --brand-blue: #4a83ff;
    --red: #8f1d12;
    --surface: rgba(255, 255, 255, .035);
    --line: rgba(255, 255, 255, .09);
}

html { scroll-padding-top: 88px; }
body {
    background:
        radial-gradient(ellipse at 82% 8%, rgba(136, 86, 246, .075), transparent 34rem),
        var(--black);
    color: var(--light);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: .01em;
}
::selection { color: #080808; background: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

.header {
    height: 76px;
    padding-inline: clamp(22px, 6vw, 88px);
    background: rgba(8, 9, 11, .78);
    border-bottom-color: rgba(255,255,255,.075);
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.logo { width: 142px; }
.navigation { gap: clamp(18px, 3vw, 38px); }
.navigation a {
    position: relative;
    padding: 12px 0;
    color: #a7a8ab;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}
.navigation a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: var(--orange);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.navigation a:hover::after,
.navigation a.active::after { transform: scaleX(1); }

.hero { min-height: min(900px, 100svh); padding-inline: clamp(25px, 8vw, 130px); }
.hero-background img { filter: saturate(.82) contrast(1.08); }
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.78) 34%, rgba(8,9,11,.18) 76%, rgba(8,9,11,.34) 100%),
        linear-gradient(0deg, rgba(8,9,11,.74), transparent 32%);
}
.eyebrow, .section-header > span { color: #c6a7ff; }
.hero h1 { font-size: clamp(68px, 10.2vw, 148px); line-height: .84; letter-spacing: -.075em; }
.hero h1 span { -webkit-text-stroke: 1.3px var(--orange); }
.hero-text { color: #c1c2c4; font-size: 15px; }
.hero-project strong { font-size: 52px; letter-spacing: -.06em; }

.button {
    padding: 16px 23px;
    border: 1px solid var(--orange);
    border-radius: 3px;
    font-size: 10px;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 26px rgba(255,106,0,.12);
}
.button { background: linear-gradient(110deg, var(--brand-purple), var(--brand-blue)); border-color: transparent; color: #fff; }
.button:hover { box-shadow: 0 12px 34px rgba(136,86,246,.28); }
.button-outline { border: 1px solid rgba(173,139,255,.72); background: rgba(11,12,18,.35); color: #d8ccff; }
.section { padding: clamp(86px, 9vw, 136px) clamp(25px, 8vw, 130px); border-top-color: rgba(255,255,255,.07); }
.section-header h2 { letter-spacing: -.065em; }
.cars-grid { gap: 18px; margin-top: 56px; }
.car-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(150deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 60%), #0d0f12;
    box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.car-card:hover { border-color: rgba(255,106,0,.65); transform: translateY(-5px); }
.car-image { height: clamp(240px, 25vw, 340px); }
.car-image::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(0deg, rgba(5,6,8,.48), transparent);
    content: "";
    pointer-events: none;
}
.car-number { z-index: 1; border-radius: 3px; background: rgba(8,9,11,.72); backdrop-filter: blur(10px); }
.car-details { padding: clamp(21px, 2.3vw, 30px); }
.car-details > span, .car-details > p { letter-spacing: 1.7px; }
.car-details h3 { font-size: 22px; letter-spacing: -.02em; }
.car-specs { gap: 22px; border-top-color: var(--line); }
.car-project-footer { border-top-color: var(--line); }
.car-detail-link { border-radius: 3px; }

.halloween-section {
    --orange: #ff7417;
    min-height: 650px;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,106,0,.08), transparent 58%), #090a0c;
}
.halloween-background { background: radial-gradient(ellipse at 70% 45%, rgba(255,106,0,.12), transparent 52%); }
.halloween-content { max-width: 1320px; }
.halloween-logo img { filter: drop-shadow(0 18px 42px rgba(255,70,0,.2)); }
.halloween-info h2 { letter-spacing: -.07em; }
.halloween-info h2 strong { -webkit-text-stroke-width: 1.3px; }
.about-content { gap: clamp(45px, 8vw, 120px); }
.about-text p { color: #a6a8ac; }
.about-bottom { border-top-color: var(--line); }
.contact-section {
    min-height: 55vh;
    background: radial-gradient(ellipse at 80% 52%, rgba(255,106,0,.08), transparent 42%);
}
.contact-section > p { color: #a6a8ac; }
.contact-social { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.contact-social a {
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: #c2c3c6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.contact-social a:hover { border-color: var(--orange); color: var(--light); background: rgba(136,86,246,.09); }
.footer { background: #07080a; border-top-color: var(--line); }
.footer-navigation a, .footer-project > a { transition: color .2s ease, transform .2s ease; }
.legal-page { background: radial-gradient(ellipse at 80% 0%, rgba(136,86,246,.065), transparent 36rem); }

@media (max-width: 768px) {
    .header { height: 70px; }
    .navigation { top: 70px; background: rgba(8,9,11,.97); backdrop-filter: blur(16px); }
    .navigation a { padding: 17px 6%; }
    .hero { min-height: 88svh; }
    .hero h1 { letter-spacing: -.07em; }
    .hero-text { margin-top: 29px; }
    .hero-actions { flex-wrap: wrap; gap: 10px; margin-top: 28px; }
    .hero-actions .button { padding-inline: 16px; }
    .section { padding-block: 82px; }
    .cars-grid { gap: 16px; }
    .car-image { height: 290px; }
    .halloween-content { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.cms-empty { grid-column: 1 / -1; padding: 34px; border: 1px solid var(--line); color: #9a9da2; }

/* NEFK identity colors: violet and blue across the brand, orange for Halloween-Cars */
.hero h1 span {
    background: linear-gradient(100deg, var(--brand-lilac), var(--brand-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
}
.section-header h2 strong { -webkit-text-stroke-color: var(--brand-blue); }
.about-statement h3 strong { -webkit-text-stroke-color: var(--brand-lilac); }
.halloween-section .button {
    border-color: #ff7417;
    background: linear-gradient(110deg, #ff7417, #ff9b3d);
    color: #100b07;
}
.halloween-section .button-outline { background: transparent; color: #ffb16f; }
.halloween-section .button:hover { box-shadow: 0 12px 34px rgba(255,116,23,.28); }
.legal-page:has(#event-title) { --orange: #ff7417; background: radial-gradient(ellipse at 80% 0%, rgba(255,116,23,.08), transparent 36rem); }
.legal-page:has(#event-title) a:not(.button) { color: #ffb16f; }
.legal-page:has(#event-title) .button { border-color: #ff7417; background: linear-gradient(110deg, #ff7417, #ff9b3d); color: #100b07; }


/* Consistent, more readable typography across the public site and CMS */
:root {
    --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Bahnschrift", "Segoe UI", Arial, sans-serif;
}

html { font-family: var(--font-sans); }
body, button, input, textarea, select {
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    font-synthesis: none;
}
body {
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .hero-project strong, .car-info-item strong, .specification-item strong {
    font-family: var(--font-display);
    font-kerning: normal;
    text-wrap: balance;
}
p { text-wrap: pretty; }

.hero h1 {
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.058em;
}
.hero h1 span { -webkit-text-stroke-width: 1.15px; }
.hero-text {
    max-width: 470px;
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 1.75;
    letter-spacing: .01em;
}
.eyebrow, .section-header > span, .halloween-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
}
.section-header h2 {
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.045em;
}
.car-details h3 { font-weight: 750; letter-spacing: -.035em; }
.car-details > span,
.car-details > p,
.car-specs span,
.car-project-footer span,
.car-number,
.car-detail-link,
.project-navigation-link {
    letter-spacing: 1.35px;
}
.about-statement h3,
.halloween-info h2,
.car-detail-content h1 {
    font-weight: 800;
    letter-spacing: -.055em;
}
.about-text p,
.contact-section p,
.legal-page p,
.car-description p {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
}
.footer-brand p,
.footer-project p { font-size: 12px; line-height: 1.75; letter-spacing: .025em; }
.navigation a { font-size: 10px; letter-spacing: 1.45px; }
.button, .contact-social a { font-family: var(--font-sans); font-weight: 750; letter-spacing: 1.15px; }

/* Admin forms inherit the same family and improve labels and helper text */
.admin-body { font-family: var(--font-sans); }
.admin-login h1, .dashboard-heading h1 { font-family: var(--font-display); font-weight: 750; letter-spacing: -.055em; }
.admin-form label { font-family: var(--font-sans); letter-spacing: .9px; }
.admin-form input, .admin-form textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.55;
}
.admin-button, .tab-button, .project-choice, .quiet-button, .danger-button { font-family: var(--font-sans); }

@media (max-width: 768px) {
    body { font-size: 14px; }
    .hero h1 { line-height: .92; letter-spacing: -.055em; }
    .section-header h2 { letter-spacing: -.04em; }
    .about-text p, .contact-section p, .legal-page p, .car-description p { font-size: 14px; }
}


/* Public team panel */
.team-section { background:linear-gradient(135deg,rgba(255,255,255,.012),transparent 55%); }
.team-intro { max-width:620px; margin:24px 0 40px; color:#9da0a5; font-size:15px; line-height:1.8; }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.team-card { overflow:hidden; border:1px solid var(--line); border-radius:8px; background:linear-gradient(150deg,rgba(255,255,255,.04),rgba(255,255,255,.012)),#0d0f12; }
.team-portrait { display:grid; aspect-ratio:4/3; place-items:center; overflow:hidden; background:radial-gradient(circle at 50% 35%,rgba(136,86,246,.2),transparent 48%),#111317; }
.team-portrait img { width:100%; height:100%; object-fit:cover; }
.team-initials { color:rgba(255,255,255,.28); font-family:var(--font-display); font-size:clamp(55px,8vw,100px); font-weight:800; letter-spacing:-.08em; }
.team-card-content { padding:22px 24px 25px; }
.team-role { color:var(--orange); font-size:9px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase; }
.team-card h3 { margin-top:10px; color:#f4f5f6; font-size:22px; font-weight:750; letter-spacing:-.035em; }
.team-card p { min-height:52px; margin:10px 0 16px; color:#9da0a5; font-size:13px; line-height:1.7; }
.team-social { color:#d7d8da; font-size:9px; font-weight:700; letter-spacing:1.2px; text-decoration:none; }
.team-social:hover { color:var(--orange); }
.team-empty { max-width:760px; padding:22px 24px; border:1px solid var(--line); border-left:2px solid var(--orange); background:rgba(255,255,255,.018); color:#a2a4a8; font-size:13px; line-height:1.7; }
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.team-grid{grid-template-columns:1fr}.team-intro{font-size:14px}.team-card-content{padding:20px}}

/* Unified typography: confident headings and comfortable reading everywhere */
:root {
    --font-sans: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --font-display: Inter, "Segoe UI Variable Display", "Bahnschrift", "Segoe UI", system-ui, sans-serif;
}

html { font-family: var(--font-sans); }
body, button, input, textarea, select {
    font-family: var(--font-sans);
    font-optical-sizing: auto;
    font-synthesis: none;
}
body { font-size: 16px; line-height: 1.7; letter-spacing: .005em; }
h1, h2, h3, h4, .hero-project strong, .car-info-item strong, .specification-item strong {
    font-family: var(--font-display);
    font-kerning: normal;
    text-wrap: balance;
}
.hero h1, .section-header h2, .about-statement h3, .halloween-info h2, .car-detail-content h1 {
    font-feature-settings: "kern" 1, "liga" 1;
    font-variation-settings: "wght" 760;
}
.hero h1 { letter-spacing: -.065em; }
.section-header h2 { letter-spacing: -.05em; }
.about-statement h3, .halloween-info h2, .car-detail-content h1 { letter-spacing: -.045em; }
.hero-text, .about-text p, .contact-section p, .legal-page p, .car-description p {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.8;
    letter-spacing: .005em;
}
.legal-page h1 { margin: 16px 0 28px; font-size: clamp(42px, 7vw, 76px); line-height: 1; letter-spacing: -.05em; }
.legal-page h2 { margin: 42px 0 14px; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.legal-page h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.legal-page a:not(.button) { color: #c6a7ff; text-underline-offset: .2em; }
.car-details h3, .team-card h3 { letter-spacing: -.035em; }
.team-card p, .team-intro, .team-empty { font-size: 15px; line-height: 1.75; }
.admin-body { font-size: 15px; }
.admin-login h1, .dashboard-heading h1 { font-family: var(--font-display); line-height: 1; letter-spacing: -.05em; }
.admin-login > p, .admin-form input, .admin-form textarea { font-family: var(--font-sans); font-size: 14px; line-height: 1.65; letter-spacing: 0; }
.admin-form label { font-family: var(--font-sans); letter-spacing: .08em; }
.admin-button, .tab-button, .project-choice, .quiet-button, .danger-button { font-family: var(--font-sans); }
@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero-text, .about-text p, .contact-section p, .legal-page p, .car-description p { font-size: 15px; }
}

/* Contact form and newsletter */
.feature-form-card { max-width:850px; margin:38px 0; padding:clamp(22px,4vw,38px); border:1px solid var(--line); border-radius:8px; background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),#0c0e11; }
.feature-form-card h2 { margin:0 0 12px; font-size:clamp(24px,4vw,34px); letter-spacing:-.035em; }
.feature-form-card > p { color:#a6a8ac; }
.feature-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; margin-top:24px; }
.feature-form label { display:grid; gap:8px; color:#c7c8cb; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.feature-form input,.feature-form textarea { width:100%; padding:13px 14px; border:1px solid rgba(255,255,255,.14); border-radius:4px; background:#090b0e; color:#f5f5f6; font:inherit; letter-spacing:normal; text-transform:none; }
.feature-form input:focus,.feature-form textarea:focus { outline:2px solid rgba(164,126,255,.65); outline-offset:1px; }
.feature-form textarea { resize:vertical; }
.form-wide { grid-column:1/-1; }
.form-privacy,.form-status { grid-column:1/-1; margin:0; color:#93969c; font-size:12px; line-height:1.65; }
.form-privacy a { color:#c6a7ff; }
.form-status { color:#bda0ff; }
.form-status.error { color:#ff9a9a; }
.feature-form button:disabled { opacity:.65; cursor:wait; }
.form-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.consent-row { display:flex!important; align-items:flex-start; gap:12px!important; font-weight:500!important; letter-spacing:normal!important; text-transform:none!important; line-height:1.6; }
.consent-row input { flex:0 0 18px; width:18px; height:18px; padding:0; accent-color:#9b70ff; }
.feature-form-inline { max-width:560px; }
@media(max-width:600px){.feature-form{grid-template-columns:1fr}.form-wide,.form-privacy,.form-status{grid-column:auto}.feature-form-card{padding:21px}.feature-form label{font-size:10px}}
