/*
Theme Name: Vault Classic Cars
Theme URI: https://vaultcars.com/
Author: Southbound Studio
Description: Custom editorial showroom theme for The Vault Classic Cars.
Version: 1.2.4
Text Domain: vault-classic
*/

:root {
  --ink: #131311;
  --ivory: #f2efe7;
  --paper: #faf9f5;
  --gold: #bd9a54;
  --muted: #706f69;
  --line: #d9d5ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.hero { min-height: 94svh; position: relative; overflow: hidden; color: white; background: var(--hero-image, none) center / cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,8,.88) 0%, rgba(10,10,8,.44) 48%, rgba(10,10,8,.12) 80%), linear-gradient(0deg, rgba(8,8,7,.55), transparent 45%); }
.nav { min-height: 126px; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px clamp(24px,4vw,64px); border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: flex; align-items: center; width: fit-content; }
.site-logo { width: clamp(260px, 23vw, 360px); height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(15px,1.55vw,25px); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.nav-links a, .nav-cta { transition: color .2s ease; }
.nav-links a:hover, .nav-cta:hover { color: #dfc68e; }
.nav-cta { justify-self: end; border-bottom: 1px solid var(--gold); padding-bottom: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.nav-dropdown { position: relative; padding: 28px 0; }
.nav-dropdown-menu { position: absolute; z-index: 8; top: 72px; left: -22px; display: none; min-width: 165px; padding: 13px 0; background: #171714; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 38px rgba(0,0,0,.25); }
.nav-dropdown-menu a { display: block; padding: 11px 20px; white-space: nowrap; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.mobile-nav { display: none; position: relative; justify-self: end; }
.mobile-nav summary { display: grid; place-items: center; width: 46px; height: 46px; cursor: pointer; list-style: none; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.menu-icon { display: flex; width: 21px; height: 15px; flex-direction: column; justify-content: space-between; }
.menu-icon span { display: block; width: 100%; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; transform-origin: center; }
.mobile-nav[open] .menu-icon span:first-child { transform: translateY(6.5px) rotate(45deg); }
.mobile-nav[open] .menu-icon span:nth-child(2) { opacity: 0; }
.mobile-nav[open] .menu-icon span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav > div { position: absolute; z-index: 10; top: 56px; right: 0; min-width: 225px; padding: 12px 0; background: #171714; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 38px rgba(0,0,0,.3); }
.mobile-nav a { display: block; padding: 14px 22px; white-space: nowrap; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-content { position: relative; z-index: 1; width: min(760px, 82vw); padding: clamp(100px,16vh,170px) 0 120px clamp(24px,8vw,128px); }
.eyebrow { margin: 0 0 28px; color: #765f34; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; }
.eyebrow::before { content: ''; display: inline-block; width: 31px; height: 1px; margin: 0 14px 3px 0; background: currentColor; }
.light { color: #d4bd89; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; line-height: .94; }
h1 { margin: 0; font-size: clamp(54px,6.8vw,105px); }
h1 em, h2 em { color: #d2b77c; font-weight: 400; }
.hero-copy { max-width: 520px; margin: 35px 0 0; color: rgba(255,255,255,.74); font: 16px/1.7 Georgia, serif; }
.hero-actions, .contact-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 27px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; border: 0; }
.button-gold { background: var(--gold); color: #15130f; transition: background .2s ease; }
.button-gold:hover { background: #d2b778; }
.text-link { display: inline-flex; gap: 20px; border-bottom: 1px solid rgba(19,19,17,.3); padding-bottom: 7px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.text-link span { color: var(--gold); }
.light-link { border-color: rgba(255,255,255,.45); }
.hero-caption { position: absolute; z-index: 1; right: clamp(24px,5vw,80px); bottom: 46px; display: flex; gap: 17px; align-items: flex-start; font: 11px/1.5 Georgia, serif; color: rgba(255,255,255,.76); }
.hero-caption span { color: var(--gold); font-size: 9px; }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 35px; font-size: 18px; color: #d7c18f; }

.section { padding: clamp(86px,11vw,160px) clamp(24px,7.6vw,122px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 70px; margin-bottom: 65px; }
.section-heading h2, .expertise h2, .contact h2, .detail-hero h1 { margin: 0; font-size: clamp(45px,5vw,76px); }
.section-intro { width: min(390px, 38vw); padding-bottom: 8px; }
.section-intro p { color: var(--muted); font: 15px/1.75 Georgia, serif; }
.section-intro .text-link { margin-top: 18px; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2vw,34px); }
.car-image { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #d7d1c5; }
.car-image img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.03); transition: transform .6s ease, filter .4s ease; }
.car-card:hover img { transform: scale(1.035); filter: saturate(.95); }
.car-number { position: absolute; top: 14px; left: 16px; color: white; font-size: 9px; letter-spacing: .12em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.view-car { position: absolute; right: 0; bottom: 0; padding: 15px 19px; background: var(--paper); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; transform: translateY(100%); transition: transform .3s ease; }
.car-card:hover .view-car { transform: translateY(0); }
.car-details { display: flex; justify-content: space-between; gap: 18px; padding-top: 21px; border-top: 1px solid var(--line); margin-top: 2px; }
.car-year { margin-bottom: 7px; color: #876e40; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.vehicle-card .car-year, .vehicle-card .car-details h3 { margin: 0 0 7px; color: var(--ink); font: 27px/1.08 Georgia, serif; text-transform: none; letter-spacing: -.025em; }
.vehicle-card .car-details h3 { margin-bottom: 12px; }
.part-card .car-details h3 { margin: 0 0 10px; font: 27px/1.05 Georgia, serif; }
.car-note { color: var(--muted); font: 13px/1.65 Georgia, serif; }
.car-inquire { color: #765f34; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.inventory-notice { margin: 40px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.sold-section { background: var(--ivory); }
.sold-badge, .inventory-badge { position: absolute; top: 14px; right: 14px; background: var(--ink); color: white; padding: 8px 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.badge-pending { background: #806226; }
.is-sold .car-image img { filter: saturate(.45) contrast(1.03); }
.directions-link { margin-top: 28px; }
.terms-link { display: inline-block; margin-top: 12px; }
.price { white-space: nowrap; padding-top: 21px; font: 17px Georgia, serif; }

.expertise { min-height: 760px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); color: white; }
.expertise-photo { min-height: 680px; background: var(--expertise-image, none) center / cover; filter: saturate(.65); }
.expertise-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px,8vw,120px); }
.pullquote { margin: 38px 0 28px; color: #d6bf8b; font: italic 21px/1.55 Georgia, serif; }
.expertise-copy > p:not(.eyebrow):not(.pullquote) { color: rgba(255,255,255,.62); font: 14px/1.75 Georgia, serif; }
.credentials { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin: 40px 0; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.credentials div { display: flex; gap: 10px; align-items: end; }
.credentials strong { color: #d1b578; font: 26px Georgia, serif; }
.credentials span { color: rgba(255,255,255,.48); font-size: 8px; line-height: 1.35; text-transform: uppercase; letter-spacing: .12em; }
.expertise-copy .text-link { width: fit-content; }

.compact { margin-bottom: 50px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px 1fr 1.3fr 30px; align-items: center; gap: 30px; min-height: 130px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.service-row:hover { padding: 0 18px; background: #f0ede4; }
.service-row > span { color: #9b7c42; font-size: 10px; }
.service-row h3 { margin: 0; font: 31px Georgia, serif; }
.service-row p { margin: 0; max-width: 480px; color: var(--muted); font: 13px/1.65 Georgia, serif; }
.service-row b { color: var(--gold); font-weight: 400; }

.contact { padding: clamp(100px,12vw,175px) 24px; text-align: center; background: #24231f; color: white; }
.contact .eyebrow::before { display: none; }
.contact > p:not(.eyebrow) { max-width: 540px; margin: 32px auto 0; color: rgba(255,255,255,.58); font: 14px/1.7 Georgia, serif; }
.contact-actions { justify-content: center; }
.site-footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px clamp(24px,5vw,80px); background: #171714; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.footer-brand { color: white; }
.footer-brand .site-logo { width: clamp(210px, 20vw, 285px); }

.inner-nav { background: #171714; color: white; }
.detail-hero { padding: clamp(70px,9vw,130px) clamp(24px,7.6vw,122px); background: var(--ivory); }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: clamp(35px,6vw,90px); padding: clamp(50px,8vw,110px) clamp(24px,7.6vw,122px); }
.detail-image { aspect-ratio: 4/3; object-fit: cover; }
.detail-copy { font: 16px/1.75 Georgia, serif; color: var(--muted); }
.detail-facts { margin: 0 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.detail-facts strong { color: #765f34; }
.detail-content { padding: 0 clamp(24px,7.6vw,122px) clamp(70px,9vw,130px); }
.detail-section { max-width: 930px; padding: 38px 0; border-top: 1px solid var(--line); }
.detail-section h2 { margin-bottom: 18px; font-size: clamp(30px,3.2vw,48px); }
.detail-section p { color: var(--muted); font: 15px/1.8 Georgia, serif; }
.gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; }
.video-link { margin-top: 25px; }

.page-hero { padding: clamp(70px,8vw,120px) clamp(24px,7.6vw,122px); background: var(--ivory); }
.page-hero h1 { margin: 0; font-size: clamp(48px,6vw,88px); }
.page-body { padding: clamp(60px,8vw,110px) clamp(24px,7.6vw,122px); }
.page-copy { max-width: 920px; color: var(--muted); font: 17px/1.8 Georgia, serif; }
.page-copy h2 { margin: 55px 0 20px; color: var(--ink); font-size: clamp(33px,4vw,55px); }
.page-copy ul { padding-left: 21px; }
.page-copy li { margin: 8px 0; }
.page-copy a:not(.button):not(.text-link), .detail-copy a:not(.button):not(.text-link), .detail-section p a:not(.button):not(.text-link) { color: #745b28; font-weight: 700; text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease, background-color .2s ease; }
.page-copy a:not(.button):not(.text-link):hover, .detail-copy a:not(.button):not(.text-link):hover, .detail-section p a:not(.button):not(.text-link):hover { color: var(--ink); text-decoration-color: var(--ink); background: rgba(189,154,84,.14); }
.page-copy a:not(.button):not(.text-link):focus-visible, .detail-copy a:not(.button):not(.text-link):focus-visible, .detail-section p a:not(.button):not(.text-link):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.page-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 34px 0; }
.empty-state { padding: 50px; border: 1px solid var(--line); text-align: center; color: var(--muted); font: 16px/1.7 Georgia, serif; }

.vault-inquiry-form { max-width: 980px; margin-top: 55px; padding-top: 45px; border-top: 1px solid var(--line); color: var(--ink); font-family: Arial,Helvetica,sans-serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vault-inquiry-form label span, .vault-inquiry-form legend { display: block; margin-bottom: 9px; color: #765f34; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vault-inquiry-form input:not([type=radio]):not([type=checkbox]), .vault-inquiry-form select, .vault-inquiry-form textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font: 15px Arial,Helvetica,sans-serif; }
.vault-inquiry-form textarea { resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.vault-inquiry-form fieldset { margin: 28px 0; padding: 24px; border: 1px solid var(--line); }
.choice { display: inline-flex; align-items: center; gap: 8px; margin-right: 24px; }
.choice input { margin: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; }
.consent input { margin-top: 3px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.form-honeypot { position: absolute; left: -9999px; }
.form-message { max-width: 980px; margin: 0 0 28px; padding: 17px 20px; font-size: 14px; }
.form-success { background: #e4ede2; color: #263c25; }
.form-error { background: #f4e2de; color: #6a2921; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 20px; max-width: 560px; }
.footer-links a:hover { color: #d2b77c; }
.footer-contact { text-align: right; line-height: 1.7; }

@media (max-width: 1120px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 28px; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
}

@media (max-width: 900px) {
  .hero-content { padding-left: 8vw; }
  .section-heading { align-items: start; }
  .car-grid { grid-template-columns: 1fr 1fr; }
  .car-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 10px); }
  .expertise { grid-template-columns: 1fr; }
  .expertise-photo { min-height: 540px; }
  .service-row { grid-template-columns: 45px 1fr 1.3fr 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-contact { text-align: left; }
}

@media (max-width: 620px) {
  .nav { min-height: 108px; padding: 12px 22px; }
  .site-logo { width: min(235px, 68vw); }
  .nav-cta { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { min-height: 860px; background-position: 61% center; }
  .hero-content { width: 100%; padding: clamp(64px,9svh,82px) 24px 110px; }
  h1 { font-size: clamp(49px,15vw,70px); }
  .hero-caption { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .scroll-cue { left: auto; right: 25px; }
  .section-heading { display: block; }
  .section-intro { width: 100%; margin-top: 35px; }
  .car-grid { grid-template-columns: 1fr; }
  .car-card:last-child:nth-child(odd) { grid-column: auto; width: auto; }
  .vehicle-card .car-year, .vehicle-card .car-details h3 { font-size: 25px; line-height: 1.1; }
  .expertise-photo { min-height: 380px; }
  .expertise-copy { padding: 75px 24px; }
  .credentials { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 32px 1fr 20px; gap: 14px; padding: 24px 0; }
  .service-row p { grid-column: 2; }
  .service-row h3 { font-size: 25px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .form-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
