/* =============================================================
   PICTURE VEHICLES — Shared Stylesheet
   Covers: index.html + catalogue.html
   ============================================================= */

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

  :root {
    --gold: #F5C518;
    --gold-light: #F5C518;
    --dark: #0E0E0E;
    --dark-2: #181818;
    --dark-3: #222;
    --mid: #333;
    --light: #F5F2EC;
    --muted: #888;
    --white: #fff;
    --border: rgba(245,197,24,0.3);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--dark);
    color: var(--light);
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: rgba(14,14,14,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
  }
  .nav-logo img {
    height: 42px;
    width: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    border: 1px solid transparent;
    padding: 0.35rem 1rem;
  }
  .nav-links a:hover { color: var(--gold); border-color: var(--border); }

  .nav-wishlist {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-wishlist svg {
    width: 18px; height: 18px;
    fill: currentColor;
  }
  .nav-wishlist-count {
    background: var(--gold);
    color: var(--dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.3rem;
  }

  .nav-account {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    border: none !important;
    padding: 0 !important;
  }
  .nav-account-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light) !important;
    text-decoration: none;
    border: 1px solid var(--border) !important;
    padding: 0.35rem 0.9rem !important;
    transition: color 0.2s, border-color 0.2s;
  }
  .nav-account-name:hover { color: var(--gold) !important; border-color: var(--gold) !important; }
  .nav-account form { margin: 0; }
  .nav-signout {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: 1px solid var(--border);
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .nav-signout:hover { color: var(--gold); border-color: var(--gold); }

  /* HERO PAGE — hero + stats fill exactly one viewport */
  .hero-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .hero {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(5rem, 8vh, 8rem) 4rem clamp(2rem, 4vh, 4rem);
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(135deg, rgba(212,160,23,0.06) 0%, transparent 60%),
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.015) 80px,
        rgba(255,255,255,0.015) 81px
      ),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.015) 80px,
        rgba(255,255,255,0.015) 81px
      );
  }

  .hero-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3rem, min(9vw, 11vh), 9rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    max-width: 900px;
  }

  .hero-title .outline {
    -webkit-text-stroke: 2px var(--light);
    color: transparent;
  }
  .hero-title .gold { color: var(--gold); }

  .hero-sub {
    margin-top: clamp(1rem, 2vh, 2rem);
    max-width: 520px;
    font-size: 1.05rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.8;
  }
  .hero-sub em {
    color: var(--light);
    font-style: normal;
    font-weight: 500;
  }

  .hero-cta {
    margin-top: clamp(1.5rem, 3vh, 3rem);
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .btn-primary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--dark);
    padding: 0.9rem 2.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-ghost {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--light);
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

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

  /* STATS STRIP */
  .stats-strip {
    background: var(--gold);
    padding: 1.8rem 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-right: 1px solid rgba(0,0,0,0.15);
    padding: 0 2rem;
    position: relative;
  }
  .stat-item:first-child { padding-left: 0; }
  .stat-item:last-child { border-right: none; }

  .stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--dark);
  }

  .stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.6);
    font-weight: 600;
  }

  /* SECTION COMMON */
  section { padding: 7rem 4rem; }

  .section-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
  }

  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.01em;
    margin-bottom: 3rem;
  }

  /* PHILOSOPHY */
  .philosophy {
    background: var(--dark-2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--light);
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--gold);
  }

  .philosophy-body {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.9;
  }
  .philosophy-body p + p { margin-top: 1.2rem; }

  /* PRODUCTIONS */
  .productions { background: var(--dark); }

  .prod-header {
    position: sticky;
    top: 80px;
    z-index: 10;
    background: var(--dark);
    padding-bottom: 2rem;
    margin-bottom: 0;
  }
  .prod-header .section-title { margin-bottom: 0; }

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

  .prod-card {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.25s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
  }
  .prod-card:hover { border-color: var(--border); transform: translateY(-3px); }

  .prod-poster-wrap {
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--dark-3);
    flex-shrink: 0;
  }
  .prod-poster {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.88);
  }
  .prod-card:hover .prod-poster { transform: scale(1.04); filter: brightness(1); }

  .prod-info {
    padding: 1rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .prod-year {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.35rem;
  }

  .prod-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: var(--light);
  }

  .prod-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .prod-meta-row {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    gap: 0.4rem;
  }
  .prod-meta-row strong {
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    min-width: 80px;
    flex-shrink: 0;
  }

  .prod-vehicles {
    margin-top: auto;
    padding-top: 0.75rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
  }

  /* REFERENCES */
  .references { background: var(--dark-3); }

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

  .ref-card {
    background: var(--dark-2);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.25s, border-color 0.25s;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .ref-card:hover { transform: translateY(-3px); border-color: var(--border); }

  .ref-photo {
    width: 90px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .ref-body { flex: 1; min-width: 0; }

  .ref-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 0.2rem;
  }

  .ref-role {
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 0.15rem;
  }

  .ref-films {
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .ref-quote {
    font-size: 0.88rem;
    color: rgba(245,242,236,0.7);
    line-height: 1.75;
  }

  /* SOURCED FROM */
  .sourced { background: var(--dark); }

  .countries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .country-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border);
    color: var(--light);
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
  }
  .country-tag:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

  /* CONTACT */
  .contact {
    background: var(--dark-2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

  .contact-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
  }
  .contact-line a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-line a:hover { color: var(--gold); }
  .contact-line .imdb-badge,
  .contact-line .imdb-badge:hover { color: #000; }

  .contact-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
  }

  .contact-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  .contact-title-label {
    font-size: 0.82rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  .imdb-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F5C518;
    color: #000;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    text-decoration: none;
    width: max-content;
    transition: opacity 0.2s;
  }
  .imdb-badge:hover { opacity: 0.85; }

  /* FOOTER */
  footer {
    background: #080808;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
  }
  .footer-copy {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.05em;
  }
  .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .footer-link {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .footer-link:hover { border-color: var(--gold); }
  .footer-logo {
    height: 22px;
    width: auto;
    display: block;
    opacity: 0.7;
  }


/* =============================================================
   CATALOGUE-ONLY STYLES
   ============================================================= */


  .page-hero {
    padding: 9rem 4rem 4rem;
    background: var(--dark-2);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
  }
  .hero-left {}
  .eyebrow {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .eyebrow::before { content: ""; display: block; width: 30px; height: 1px; background: var(--gold); }
  .page-hero h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em;
  }
  .page-hero h1 .outline { -webkit-text-stroke: 2px var(--light); color: transparent; }
  .hero-right {}
  .hero-right p {
    font-size: 1rem; color: var(--muted); line-height: 1.9; margin-bottom: 1.5rem;
  }
  .stat-row {
    display: flex; gap: 2rem; margin-top: 1.5rem;
  }
  .stat-pill {
    display: flex; flex-direction: column;
    border-left: 2px solid var(--gold);
    padding-left: 1rem;
  }
  .stat-pill strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1;
  }
  .stat-pill span {
    font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem;
  }

  .tabs-bar {
    position: sticky; top: 80px; z-index: 90;
    background: rgba(14,14,14,0.97);
    border-bottom: 1px solid var(--border);
    display: flex; overflow-x: auto; scrollbar-width: none;
    padding: 1.2rem 4rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .tabs-bar::-webkit-scrollbar { display: none; }
  .tab-btn {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--light); background: none;
    border: 1px solid var(--border);
    padding: 0.6rem 1.4rem; cursor: pointer; white-space: nowrap;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .tab-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
  .tab-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }

  .cat-section {
    padding: 5rem 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .cat-section:nth-child(even) { background: var(--dark-2); }

  .cat-header { margin-bottom: 2.5rem; }
  .section-tag {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.6rem;
    display: flex; align-items: center; gap: 0.75rem;
  }
  .tag-line { display: block; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
  .section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95;
    margin-bottom: 0.8rem;
  }
  .cat-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.75; max-width: 560px; }

  .cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .gal-item {
    overflow: hidden; aspect-ratio: 4/3;
    background: var(--dark-3);
    cursor: zoom-in;
  }
  .gal-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.9);
  }
  .gal-item:hover img { transform: scale(1.05); filter: brightness(1.02); }

  .lightbox {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.95);
    align-items: center; justify-content: center; cursor: zoom-out;
  }
  .lightbox.open { display: flex; }
  .lightbox img {
    max-width: 92vw; max-height: 92vh; object-fit: contain;
    box-shadow: 0 0 100px rgba(0,0,0,0.9);
  }
  .lb-close {
    position: absolute; top: 1.5rem; right: 2rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); background: none;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 1rem; cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .lb-close:hover { color: var(--gold); border-color: var(--gold); }

  /* VEHICLE CATALOGUE — filters + grid */
  .filter-bar {
    position: sticky; top: 80px; z-index: 90;
    background: rgba(14,14,14,0.97);
    border-bottom: 1px solid var(--border);
    display: flex; flex-wrap: wrap; align-items: end;
    gap: 1.25rem;
    padding: 1.2rem 4rem;
  }
  .filter-field {
    display: flex; flex-direction: column; gap: 0.35rem;
  }
  .filter-field label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted);
  }
  .filter-field select {
    font-family: "Barlow", sans-serif;
    font-size: 0.85rem;
    background: var(--dark-3);
    color: var(--light);
    border: 1px solid var(--border);
    padding: 0.55rem 0.9rem;
    min-width: 160px;
    cursor: pointer;
  }
  .filter-field select:focus { outline: none; border-color: var(--gold); }
  .filter-submit { padding: 0.6rem 1.4rem; }
  .filter-reset {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.6rem;
    transition: color 0.2s, border-color 0.2s;
  }
  .filter-reset:hover { color: var(--gold); border-color: var(--gold); }

  /* AUTH / APPLICATION FORMS */
  .auth-form-wrap { max-width: 640px; margin: 0 auto; }
  .order-section { margin-top: 3rem; max-width: 640px; }
  .order-form { margin-top: 1.5rem; }

  .auth-form { display: flex; flex-direction: column; gap: 1.5rem; }

  .form-field { display: flex; flex-direction: column; gap: 0.5rem; }
  .form-field-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  }
  .form-field label, .form-checkbox-field label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted);
  }
  .form-optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 0.78rem; }
  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field input[type="password"],
  .form-field input[type="date"],
  .form-field input[type="tel"],
  .form-field textarea {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    background: var(--dark-3);
    border: 1px solid var(--border);
    color: var(--light);
    padding: 0.75rem 1rem;
    width: 100%;
    color-scheme: dark;
  }
  .form-field input:focus, .form-field textarea:focus {
    outline: none; border-color: var(--gold);
  }
  .form-field textarea { resize: vertical; min-height: 100px; }

  .form-checkbox-field {
    display: flex; align-items: center; gap: 0.6rem;
  }
  .form-checkbox-field label { text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--light); }
  .form-checkbox-field a { color: var(--gold); }
  .form-checkbox-field input { width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }

  .auth-form .btn-primary { align-self: flex-start; border: none; cursor: pointer; }

  .form-errors {
    background: rgba(220,38,38,0.08);
    border: 1px solid rgba(220,38,38,0.4);
    padding: 1rem 1.25rem;
  }
  .form-errors ul { list-style: disc; padding-left: 1.2rem; color: #f87171; font-size: 0.88rem; }
  .form-errors li + li { margin-top: 0.3rem; }

  .form-success {
    background: var(--dark-2);
    border: 1px solid var(--border);
    padding: 2rem;
  }
  .form-success h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.75rem;
  }
  .form-success p { color: var(--muted); line-height: 1.8; }
  .form-success a { color: var(--gold); }

  /* LEGAL / STATIC CONTENT */
  .legal-content { max-width: 720px; margin: 0 auto; color: var(--muted); line-height: 1.85; }
  .legal-content h1, .legal-content h2, .legal-content h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800; text-transform: uppercase;
    color: var(--light); margin: 2rem 0 0.75rem;
  }
  .legal-content h1 { font-size: 1.6rem; }
  .legal-content h2 { font-size: 1.3rem; }
  .legal-content h3 { font-size: 1.1rem; }
  .legal-content h1:first-child,
  .legal-content h2:first-child,
  .legal-content h3:first-child { margin-top: 0; }
  .legal-content p { margin-bottom: 1rem; }
  .legal-content ul, .legal-content ol { margin: 0 0 1rem 1.4rem; }
  .legal-content li { margin-bottom: 0.4rem; }
  .legal-content strong { color: var(--light); }
  .legal-content a { color: var(--gold); }
  .legal-content blockquote {
    border-left: 3px solid var(--gold);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
  }
  .legal-placeholder-note {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-style: italic; color: var(--gold); opacity: 0.8;
  }

  .vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .vehicle-card {
    position: relative;
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s, transform 0.25s;
  }
  .vehicle-card:hover { border-color: var(--border); transform: translateY(-3px); }
  .vehicle-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .wishlist-toggle {
    position: absolute;
    top: 0.6rem; left: 0.6rem;
    z-index: 3;
    width: 34px; height: 34px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--light);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .wishlist-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
  .wishlist-toggle .icon-added { display: none; }
  .wishlist-toggle:hover { border-color: var(--gold); color: var(--gold); }
  .wishlist-toggle.active { background: var(--gold); border-color: var(--gold); color: var(--dark); }
  .wishlist-toggle.active .icon-add { display: none; }
  .wishlist-toggle.active .icon-added { display: block; }
  .wishlist-toggle:disabled { opacity: 0.6; cursor: wait; }

  .vehicle-detail-actions {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  }
  .wishlist-toggle-large { border: none; cursor: pointer; }
  .wishlist-toggle-large .label-added { display: none; }
  .wishlist-toggle-large.active { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
  .wishlist-toggle-large.active .label-add { display: none; }
  .wishlist-toggle-large.active .label-added { display: inline; }
  .wishlist-toggle-large:disabled { opacity: 0.6; cursor: wait; }
  .vehicle-photo-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-3);
  }
  .vehicle-photo {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.9);
  }
  .vehicle-card:hover .vehicle-photo { transform: scale(1.05); filter: brightness(1.02); }
  .vehicle-photo-count {
    position: absolute; bottom: 0.6rem; right: 0.6rem;
    background: rgba(0,0,0,0.75);
    color: var(--gold);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.72rem; letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
  }
  .vehicle-info { padding: 1rem 1.1rem 1.2rem; }
  .vehicle-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.05rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.02em; margin-bottom: 0.6rem; color: var(--light);
  }
  .vehicle-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .vehicle-tag {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 0.2rem 0.55rem;
  }
  .vehicle-price {
    margin-top: 0.6rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
    color: var(--light);
  }

  /* VEHICLE DETAIL PAGE */
  .vehicle-detail {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    padding: 8rem 4rem 5rem;
    align-items: start;
  }
  .vehicle-main-photo-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-3);
  }
  .vehicle-main-photo {
    width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in;
  }
  .vehicle-thumbs {
    display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem;
  }
  .vehicle-thumb {
    width: 84px; aspect-ratio: 4/3; overflow: hidden;
    background: var(--dark-3);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s;
  }
  .vehicle-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .vehicle-thumb:hover { opacity: 1; }
  .vehicle-thumb.active { opacity: 1; border-color: var(--gold); }

  .vehicle-detail-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
    text-transform: uppercase; line-height: 1; letter-spacing: 0.01em;
    margin: 0.5rem 0 1rem;
  }
  .vehicle-detail-tags { margin-bottom: 1.5rem; }
  .vehicle-detail-price {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.6rem; font-weight: 800;
    color: var(--gold);
    margin-bottom: 1.5rem;
  }
  .vehicle-detail-price span {
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--muted);
  }
  .vehicle-detail-desc {
    font-size: 0.95rem; color: var(--muted); line-height: 1.85;
    margin-bottom: 2rem; max-width: 480px;
  }
  .vehicle-specs { margin-bottom: 2rem; }
  .vehicle-spec-row {
    display: flex; gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.9rem;
  }
  .vehicle-spec-row dt {
    width: 100px; flex-shrink: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-family: "Barlow Condensed", sans-serif;
    padding-top: 0.15rem;
  }
  .vehicle-spec-row dd { color: var(--light); }

  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: 1px solid rgba(255,255,255,0.15);
    color: var(--light); font-size: 1.2rem;
    width: 44px; height: 44px; cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .lb-nav:hover { color: var(--gold); border-color: var(--gold); }
  .lb-prev { left: 2rem; }
  .lb-next { right: 2rem; }

  .back-strip {
    background: var(--dark-2);
    padding: 1rem 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .back-link {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
  }
  .back-link:hover { color: var(--gold); }

  footer {
    background: #080808; padding: 2rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border);
  }
  .footer-copy { font-size: 0.78rem; color: var(--muted); }

/* HAMBURGER TOGGLE — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--light);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  /* NAV / HAMBURGER */
  nav { padding: 1rem 1.5rem; }
  .nav-logo img { height: 34px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(14,14,14,0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 0.5rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links li:last-child a { border-bottom: none; }

  /* HERO */
  .hero { padding: 6.5rem 1.5rem 4rem; }
  .hero-scroll { left: 1.5rem; }

  /* STATS STRIP */
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; }
  .stat-item { padding: 0 0.75rem; }
  .stat-item:first-child { padding-left: 0; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(2n+1) { padding-left: 0; }
  .stat-number { font-size: 1.8rem; }

  /* SECTIONS */
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6.5rem 1.5rem 2rem; }

  /* PHILOSOPHY */
  .philosophy { grid-template-columns: 1fr; gap: 2.5rem; }

  /* PRODUCTIONS */
  .productions-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-header { top: 70px; }

  /* REFERENCES */
  .ref-grid { grid-template-columns: 1fr; }
  .ref-photo { width: 72px; }

  /* CONTACT */
  .contact { grid-template-columns: 1fr; gap: 3rem; }

  /* FOOTER */
  footer { padding: 1.5rem; flex-direction: column; gap: 0.75rem; text-align: center; }

  /* CATALOGUE — TABS WRAP */
  .tabs-bar {
    flex-wrap: wrap;
    overflow-x: visible;
    top: 70px;
    padding: 0.5rem 1.5rem;
    gap: 0.4rem;
  }
  .tab-btn {
    flex: 1 1 calc(33.33% - 0.4rem);
    text-align: center;
    white-space: normal;
    padding: 0.6rem 0.25rem;
    letter-spacing: 0.06em;
    font-size: 0.68rem;
  }

  /* CATALOGUE — REST */
  .cat-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .page-hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .back-strip { padding: 1rem 1.5rem; }

  /* VEHICLE CATALOGUE */
  .filter-bar { top: 70px; padding: 1rem 1.5rem; gap: 0.75rem; }
  .filter-field select { min-width: 140px; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .lb-prev { left: 0.75rem; }
  .lb-next { right: 0.75rem; }

  /* VEHICLE DETAIL */
  .vehicle-detail { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 2rem; }

  /* AUTH FORMS */
  .form-field-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
.hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .tab-btn { flex: 1 1 calc(50% - 0.4rem); }
  .vehicle-grid { grid-template-columns: 1fr; }
}
