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

:root {
    --charcoal-900: #0f1114;
    --charcoal-800: #1a1d21;
    --charcoal-700: #2a2d32;
    --charcoal-600: #3d4046;
    --charcoal-500: #555960;
    --charcoal-400: #7a7e85;
    --charcoal-300: #9a9ea5;
    --charcoal-200: #c8cacd;
    --charcoal-100: #e8e9eb;
    --charcoal-50:  #f4f5f6;
    --coral:        #E8645A;
    --coral-light:  #f07a71;
    --coral-dark:   #c94f45;
    --white:        #ffffff;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --transition:   0.4s var(--ease-out);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--coral);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

/* ─── Typography ─── */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
    color: var(--charcoal-900);
    margin-bottom: 1.5rem;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.875rem 1.75rem;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}
.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-200);
}
.btn-ghost:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-600);
}
.btn-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.btn-lg { padding: 1rem 2rem; font-size: 0.9375rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Header ─── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--charcoal-100);
    transition: box-shadow 0.3s ease;
}
#site-header.scrolled { box-shadow: 0 1px 0 var(--charcoal-100); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-mark {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--coral);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}
.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal-900);
    letter-spacing: -0.01em;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-500);
    transition: color 0.2s ease;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral);
    transition: width 0.3s var(--ease-out);
}
.nav a:hover { color: var(--charcoal-900); }
.nav a:hover::after { width: 100%; }

.nav-cta {
    color: var(--coral) !important;
    border: 1px solid var(--coral);
    padding: 0.5rem 1.25rem;
    border-radius: 2px;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--coral);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal-700);
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-content { padding-right: 1rem; }

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.08;
    color: var(--charcoal-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero-title .accent {
    font-style: italic;
    color: var(--coral);
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-500);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 70vh;
    max-height: 800px;
    object-fit: cover;
    border-radius: 2px;
}

.hero-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--coral);
    border-radius: 2px;
    z-index: -1;
}

/* ─── Collection ─── */
.collection {
    padding: 8rem 0;
    background: var(--charcoal-50);
}

.section-header {
    margin-bottom: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.car-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.car-card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.car-card-body {
    padding: 1.75rem;
}

.car-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.car-card-desc {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.car-card-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.car-card-link:hover { gap: 0.625rem; }

.collection-note {
    font-size: 0.875rem;
    color: var(--charcoal-400);
    font-style: italic;
}

/* ─── About ─── */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.about-content .section-title { margin-bottom: 1.5rem; }

.about-content p {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-100);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--charcoal-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.stat-divider {
    width: 1px;
    background: var(--charcoal-200);
    align-self: stretch;
}

/* ─── Process ─── */
.process {
    padding: 8rem 0;
    background: var(--charcoal-900);
}

.process .section-eyebrow { color: var(--coral); }
.process .section-title { color: var(--white); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 1rem;
}

.process-step {
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal-700);
}

.step-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
    line-height: 1.8;
}

/* ─── CTA ─── */
.cta {
    padding: 7rem 0;
    background: var(--white);
    border-top: 1px solid var(--charcoal-100);
    border-bottom: 1px solid var(--charcoal-100);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.cta-content { flex: 1; max-width: 520px; }
.cta-content .section-title { margin-bottom: 1rem; }
.cta-content p {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ─── Contact ─── */
.contact {
    padding: 8rem 0;
    background: var(--charcoal-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

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

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.75rem;
}

.contact-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--charcoal-400);
}

.contact-value {
    font-size: 1.0625rem;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.contact-row a {
    color: var(--charcoal-800);
    border-bottom: 1px solid var(--charcoal-200);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-row a:hover {
    color: var(--coral);
    border-color: var(--coral);
}

.contact-map {
    margin-top: 2.5rem;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--charcoal-100);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid var(--charcoal-100);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal-900);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-500);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--charcoal-900);
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-200);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--coral);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--charcoal-300);
}
.form-group textarea { resize: vertical; }

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--charcoal-700);
}
.form-success svg { color: var(--coral); }
.form-success p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--charcoal-600);
}

/* ─── Footer ─── */
.footer {
    padding: 3rem 0;
    background: var(--charcoal-900);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    margin-top: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.footer-links a {
    font-size: 0.8125rem;
    color: var(--charcoal-400);
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--coral); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid { gap: 2.5rem; }
    .about-grid { gap: 3rem; }
    .contact-grid { gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--charcoal-100);
        padding: 1.5rem 2rem 2rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
        pointer-events: none;
    }
    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .nav a { font-size: 0.9375rem; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-content { padding-right: 0; order: 1; }
    .hero-image { order: 2; }
    .hero-image img { height: 50vh; max-height: 500px; }
    .hero-image-accent { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

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

    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image img { height: 400px; }

    .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-content { max-width: 100%; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { justify-content: center; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-form-wrap { padding: 1.75rem; }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .collection, .about, .process, .cta, .contact { padding: 5rem 0; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Always-visible fallback for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
