:root {
  --cream: #efe5d0;
  --paper: #f8f2e6;
  --ink: #2a211d;
  --muted: #71655c;
  --red: #b92e27;
  --red-dark: #8f211d;
  --mustard: #d8aa46;
  --line: #cfc0a8;
  --white: #fffaf0;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  min-height: 70px;
  padding: 0 clamp(20px, 4vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(239,229,208,.92);
}
.wordmark { display: flex; align-items: baseline; gap: 9px; text-decoration: none; text-transform: uppercase; letter-spacing: -.03em; }
.wordmark span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 22px; color: var(--red); }
.wordmark b { font-size: 15px; letter-spacing: .14em; }
.header-meta { display: flex; gap: 26px; color: var(--muted); font-size: 12px; }
.available { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.available i { width: 7px; height: 7px; border-radius: 50%; background: #5d8346; box-shadow: 0 0 0 4px rgba(93,131,70,.13); }

.hero {
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(370px, .62fr);
  gap: clamp(34px, 5vw, 76px);
}
.gallery { position: relative; min-width: 0; }
.gallery-stage {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(42,33,29,.14);
  border-radius: var(--radius);
  background: #d4c8b6;
  box-shadow: 0 18px 55px rgba(73,48,32,.12);
  cursor: zoom-in;
}
.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
  border-radius: inherit;
}
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s ease, transform .5s ease; }
.gallery-stage:hover img { transform: scale(1.012); }
.gallery-stage.is-loading img { opacity: .38; }
.photo-counter, .expand-hint {
  position: absolute;
  z-index: 2;
  bottom: 15px;
  padding: 8px 11px;
  border-radius: 3px;
  background: rgba(42,33,29,.86);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.photo-counter { right: 15px; }
.expand-hint { left: 15px; }
.gallery-arrow {
  position: absolute;
  top: calc(50% - 40px);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,250,240,.94);
  color: var(--ink);
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(42,33,29,.18);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  gap: 9px;
  overflow-x: auto;
  padding: 12px 1px 4px;
  scrollbar-width: thin;
}
.thumb {
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9ccb9;
  cursor: pointer;
  opacity: .63;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active { border-color: var(--red); opacity: 1; }

.hero-copy { align-self: center; padding: 8px 0; }
.eyebrow { margin: 0 0 17px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(49px, 5vw, 77px); line-height: .88; letter-spacing: -.055em; }
h1 span { display: block; margin-bottom: 10px; font-family: Arial, Helvetica, sans-serif; font-size: .23em; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.heritage-row { margin: 22px 0 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.heritage-row span { border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-style: italic; }
.intro { max-width: 510px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.55; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 27px; padding: 22px 0 19px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-row > div + div { padding-left: 27px; border-left: 1px solid var(--line); }
.label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.price-row strong { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.04em; }
.price-row small { color: var(--muted); font-size: 13px; letter-spacing: 0; }
.mileage-note { margin: 9px 0 24px; color: var(--muted); font-size: 10px; }
.primary-actions { display: grid; grid-template-columns: 1.35fr 1fr; gap: 9px; }
.button { min-height: 53px; display: flex; align-items: center; justify-content: center; border-radius: 5px; padding: 0 16px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: var(--red-dark); }
.button-outline { border: 1px solid var(--line); background: rgba(255,250,240,.5); }
.contact-note { margin: 13px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
.contact-note a { font-weight: 700; text-underline-offset: 3px; }

.details {
  padding: clamp(72px, 9vw, 130px) clamp(24px, 5vw, 74px);
  background: var(--paper);
  display: grid;
  grid-template-columns: .82fr 1fr 1.2fr;
  gap: 18px;
}
.section-heading { grid-column: 1 / -1; max-width: 970px; padding-bottom: clamp(30px, 5vw, 62px); }
.section-heading h2, .inspection h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 5.3vw, 76px); line-height: .98; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.65; }
.video-gallery { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.video-card { margin: 0; overflow: hidden; border: 1px solid rgba(42,33,29,.12); border-radius: var(--radius); background: var(--cream); }
.video-frame { position: relative; background: var(--ink); }
.video-frame video { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: contain; background: var(--ink); }
.video-frame > span { position: absolute; right: 14px; top: 14px; padding: 7px 9px; border-radius: 3px; background: rgba(42,33,29,.82); color: white; font-size: 9px; font-weight: 800; letter-spacing: .1em; pointer-events: none; }
.video-card figcaption { min-height: 134px; padding: 22px 25px 24px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.video-card figcaption small { display: block; margin-bottom: 7px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.video-card figcaption h3 { font-family: Georgia, "Times New Roman", serif; font-size: 28px; letter-spacing: -.035em; }
.video-card figcaption p { margin: 2px 0 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.5; }
.video-cold-start { border-top: 4px solid var(--red); }
.video-walkaround { border-top: 4px solid var(--mustard); }
.condition-card, .work-card, .specs-card { min-height: 410px; border-radius: var(--radius); overflow: hidden; position: relative; }
.condition-card, .work-card { padding: clamp(28px, 3vw, 42px); }
.card-number { position: absolute; top: 24px; right: 25px; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.card-kicker { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.condition-card { background: var(--red); color: white; }
.condition-card h3, .work-card h3 { margin-top: 82px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.1vw, 47px); line-height: .99; letter-spacing: -.045em; }
.condition-card > p:last-of-type { color: rgba(255,255,255,.78); font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.55; }
.speed-mark { position: absolute; left: clamp(28px, 3vw, 42px); right: clamp(28px, 3vw, 42px); bottom: 27px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: baseline; gap: 9px; }
.speed-mark b { font-size: 26px; }
.speed-mark span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.work-card { background: var(--mustard); }
.work-card .card-number { color: rgba(42,33,29,.38); }
.work-card ul { list-style: none; padding: 0; margin: 38px 0 0; }
.work-card li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(42,33,29,.22); font-size: 12px; font-weight: 700; line-height: 1.35; }
.work-card li span { color: rgba(42,33,29,.58); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.specs-card { background: var(--ink); color: white; }
.specs-toggle { width: 100%; min-height: 410px; height: 100%; padding: clamp(28px, 3vw, 42px); border: 0; background: var(--ink); color: white; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; cursor: pointer; }
.specs-toggle span { max-width: 330px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3.2vw, 47px); line-height: .98; letter-spacing: -.04em; }
.specs-toggle small { display: block; margin-bottom: 130px; color: #ada49a; font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.specs-toggle i { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-style: normal; transition: transform .2s ease; }
.specs-toggle[aria-expanded="true"] { min-height: auto; height: auto; padding-bottom: 22px; }
.specs-toggle[aria-expanded="true"] small { margin-bottom: 9px; }
.specs-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.specs-panel { padding: 0 clamp(28px, 3vw, 42px) 30px; }
.specs-panel dl { margin: 0; }
.specs-panel dl div { display: grid; grid-template-columns: .65fr 1.35fr; gap: 15px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.17); }
.specs-panel dt { color: #ada49a; font-size: 10px; }
.specs-panel dd { margin: 0; font-size: 11px; font-weight: 700; }
.patina-note { grid-column: 1 / -1; margin-top: 15px; padding: 24px 27px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 25px; border: 1px dashed #a69682; border-radius: 8px; color: var(--muted); }
.patina-note b { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.patina-note p { margin: 0; font-size: 12px; line-height: 1.55; }

.inspection {
  padding: clamp(74px, 9vw, 130px) clamp(24px, 6vw, 96px);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr minmax(340px, 500px);
  gap: clamp(50px, 9vw, 150px);
}
.inspection-copy > p:nth-of-type(2) { max-width: 580px; margin: 25px 0 0; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.65; }
.terms { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 8px; }
.terms span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-card { align-self: center; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); background: var(--red); color: white; box-shadow: 0 22px 60px rgba(96,30,24,.2); }
.contact-card .label { color: rgba(255,255,255,.62); }
.contact-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.5vw, 50px); line-height: 1; letter-spacing: -.045em; }
.contact-card > p { margin: 20px 0 31px; color: rgba(255,255,255,.75); font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 1.55; }
.contact-choice { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.contact-choice:last-of-type { border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-choice span { display: flex; flex-direction: column; gap: 4px; }
.contact-choice b { font-size: 14px; }
.contact-choice small { color: rgba(255,255,255,.65); font-size: 10px; }
.contact-choice i { font-size: 21px; font-style: normal; transition: transform .15s ease; }
.contact-choice:hover i { transform: translateX(4px); }

footer { min-height: 76px; padding: 0 clamp(24px, 5vw, 70px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.mobile-actions { display: none; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; border: 0; padding: 0; margin: 0; background: rgba(24,18,15,.97); color: white; }
.lightbox::backdrop { background: rgba(24,18,15,.97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 150px); max-height: calc(100vh - 90px); object-fit: contain; }
.lightbox-close, .lightbox-arrow { position: fixed; z-index: 2; border: 0; color: white; background: rgba(255,255,255,.12); cursor: pointer; }
.lightbox-close { top: 20px; right: 20px; width: 45px; height: 45px; border-radius: 50%; font-size: 27px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 50px; height: 60px; border-radius: 6px; font-size: 24px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: fixed; bottom: 18px; font-size: 11px; letter-spacing: .12em; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; padding-top: 14px; }
  .details { grid-template-columns: 1fr 1fr; }
  .specs-card { grid-column: 1 / -1; }
  .specs-toggle { min-height: 300px; }
  .inspection { grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 72px; }
  .site-header { min-height: 58px; padding: 0 18px; }
  .header-meta > span:first-child { display: none; }
  .wordmark span { font-size: 20px; }
  .hero { padding: 14px 14px 58px; gap: 30px; }
  .gallery-stage { border-radius: 10px; aspect-ratio: 1 / .82; }
  .gallery-arrow { top: calc(50% - 34px); width: 38px; height: 38px; }
  .expand-hint { display: none; }
  .thumbs { grid-auto-columns: 66px; }
  .hero-copy { padding: 3px 5px; }
  h1 { font-size: 52px; }
  .intro { font-size: 15px; }
  .price-row { padding: 18px 0; }
  .price-row strong { font-size: 27px; }
  .primary-actions { grid-template-columns: 1fr; }
  .primary-actions .button-outline, .contact-note { display: none; }
  .details { padding: 64px 14px; grid-template-columns: 1fr; gap: 12px; }
  .section-heading { padding: 0 5px 29px; }
  .section-heading h2, .inspection h2 { font-size: 44px; }
  .video-gallery { grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px; }
  .video-card { border-radius: 10px; }
  .video-frame video { aspect-ratio: 1 / 1; }
  .video-card figcaption { min-height: auto; padding: 18px 19px 20px; grid-template-columns: 1fr; gap: 10px; }
  .video-card figcaption h3 { font-size: 26px; }
  .video-card figcaption p { margin: 0; }
  .condition-card, .work-card, .specs-card { min-height: 370px; border-radius: 10px; }
  .specs-card { grid-column: auto; }
  .specs-toggle { min-height: 310px; }
  .specs-toggle small { margin-bottom: 90px; }
  .patina-note { grid-column: auto; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
  .inspection { padding: 68px 19px 80px; grid-template-columns: 1fr; gap: 45px; }
  .contact-card { border-radius: 10px; }
  footer { display: none; }
  .mobile-actions { position: fixed; z-index: 8; left: 0; right: 0; bottom: 0; height: 68px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; background: rgba(239,229,208,.95); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
  .mobile-actions a { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; font-size: 12px; font-weight: 800; }
  .mobile-actions a.primary { background: var(--red); color: white; border-color: var(--red); }
  .lightbox img { max-width: calc(100vw - 28px); max-height: calc(100vh - 130px); }
  .lightbox-arrow { top: auto; bottom: 18px; transform: none; width: 45px; height: 45px; border-radius: 50%; }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
}

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