/* ==========================================================================
   REVIVAL AUTOMOTIVE — Design System v3
   Dark, premium automotive palette pulled from the brand mark: sunset-road
   badge, vintage roadster. Warm black base, cream type, gold + red accents.
   ========================================================================== */


:root {
  /* Dark base (dominant) */
  --ink: #17130f;          /* near-black, warm — primary background */
  --ink-2: #1f1a14;        /* slightly lifted panel on ink */
  --ash: #2a2118;          /* card / panel background */
  --ash-2: #362a1d;        /* raised panel, borders on dark */
  --linen: #f4e8cd;        /* cream — primary text on dark */
  --linen-dim: #d8c7a3;    /* muted cream for secondary text on dark */
  --road: #433a2d;         /* hairline borders on dark */

  /* Light accent (used sparingly — occasional contrast section) */
  --paper: #efe6d2;
  --paper-ink: #1f1a14;
  --paper-ink-soft: #4a4032;
  --paper-line: #c8b78f;
  --paper-white: #fbf6ea;

  /* Accents pulled from the brand mark */
  --gold: #e0a94d;         /* warm gold — dividers, highlights, icons on dark */
  --gold-soft: #efc98a;
  --gold-deep: #a06a1c;    /* deeper gold — used on light sections */
  --ember: #a3312a;        /* vintage car red — primary action, used sparingly */
  --ember-hover: #832721;

  --radius-sm: 3px;
  --radius-md: 6px;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--linen);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ember); color: var(--linen); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--linen);
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: 62ch; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--linen-dim);
  max-width: 46ch;
}

/* Light contrast section — repurposes .section-paper as the occasional
   bright block (used sparingly for rhythm) */
.section-paper h1, .section-paper h2, .section-paper h3, .section-paper h4 { color: var(--paper-ink); }
.section-paper .lede { color: var(--paper-ink-soft); }
.section-paper p { color: var(--paper-ink-soft); }
.section-paper a:not(.btn) { color: var(--ember); }

/* ---------------------------------- Buttons --------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ember);
  color: var(--linen);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25) inset, 0 8px 24px -10px rgba(163, 49, 42, 0.65);
}
.btn-primary:hover { background: var(--ember-hover); }

.btn-ghost {
  background: transparent;
  color: var(--linen);
  border-color: var(--linen-dim);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.section-paper .btn-ghost { color: var(--paper-ink); border-color: var(--paper-line); }
.section-paper .btn-ghost:hover { border-color: var(--ember); color: var(--ember); }

.btn-lg { padding: 1.1em 2.1em; font-size: 1.08rem; }

/* ---------------------------------- Header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 19, 15, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(224, 169, 77, 0.16);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand img { height: 48px; width: 48px; object-fit: contain; }

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-word span { display: block; font-size: 0.6em; font-weight: 400; color: var(--linen-dim); margin-top: 0.15em; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }

.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--linen-dim);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:not(.btn):hover,
.main-nav a.active { color: var(--linen); border-color: var(--ember); }

.header-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--linen-dim);
  border-radius: var(--radius-sm);
  color: var(--linen);
  padding: 0.5em 0.7em;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink-2);
    padding: 1.2rem var(--gutter) 1.6rem;
    border-bottom: 1px solid rgba(224,169,77,0.16);
    gap: 1rem;
  }
  .main-nav { position: static; }
  .header-cta { display: none; }
  .main-nav.open .header-cta-mobile { display: inline-flex; margin-top: 0.5rem; }
}

/* ---------------------------------- Sections ---------------------------- */

section { position: relative; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-ink { background: var(--ink); }
.section-ash { background: var(--ash); }
.section-paper { background: var(--paper); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 0.25em; max-width: 16ch; }

/* Tire-tread inspired divider */
.horizon {
  height: 8px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(115deg, var(--gold) 0 3px, transparent 3px 16px);
  opacity: 0.22;
}

/* ---------------------------------- Footer ------------------------------ */

.site-footer {
  background: var(--ink-2);
  border-top: 1px solid rgba(224,169,77,0.16);
  padding: 3.5rem 0 2rem;
}

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { height: 48px; width: 48px; }

.footer-tagline { max-width: 36ch; color: var(--linen-dim); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--linen-dim); font-size: 0.95rem; }
.footer-col a:hover { color: var(--linen); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(224,169,77,0.1);
  font-size: 0.85rem;
  color: var(--linen-dim);
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------------------------------- Utility ------------------------------ */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1em;
  border-radius: 999px;
  border: 1px solid var(--road);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--linen-dim);
  background: rgba(244,232,205,0.03);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.25rem; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Persistent mobile CTA */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--ember);
  color: var(--linen);
  padding: 0.85rem var(--gutter);
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.35);
}
.sticky-cta-bar strong { font-family: var(--font-display); font-size: 1.05rem; }
.sticky-cta-bar .btn {
  background: var(--linen);
  color: var(--ink);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}
.sticky-cta-bar .btn:hover { background: var(--paper); }

@media (max-width: 720px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 4.75rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--road) 1px, transparent 1px),
    linear-gradient(90deg, var(--road) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: radial-gradient(80% 80% at 30% 30%, black, transparent 75%);
}
.hero-bg svg.hero-silhouette {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: 62%;
  max-width: 780px;
  height: auto;
  color: var(--gold);
  opacity: 0.07;
}
.hero-bg .hero-tread {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background-image: repeating-linear-gradient(115deg, var(--gold) 0 3px, transparent 3px 16px);
  opacity: 0.2;
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid-layout { grid-template-columns: 1fr; }
  .hero-brand-visual { order: -1; justify-content: center; display: flex; }
}

.hero-brand-visual { display: flex; align-items: center; justify-content: center; }
.hero-brand-visual img {
  width: min(100%, 360px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  max-width: 17ch;
  margin-bottom: 0.4em;
}
.hero-copy .lede { color: var(--linen); max-width: 50ch; margin-bottom: 1.75rem; }

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

.hero-note { font-size: 0.9rem; color: var(--linen-dim); max-width: 46ch; }

.hero-logo {
  width: clamp(88px, 11vw, 136px);
  height: clamp(88px, 11vw, 136px);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.4));
}

.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 1.1rem;
  margin-top: 0.3rem;
}
.hero-call svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.hero-call a { border-bottom: 1px solid rgba(224,169,77,0.4); }
.hero-call a:hover { border-color: var(--gold-soft); }

/* ==========================================================================
   THREE PATHS
   ========================================================================== */

.paths-section { padding-top: clamp(2.5rem, 6vw, 3.75rem); padding-bottom: clamp(2.5rem, 6vw, 3.75rem); }

.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 880px) { .paths-grid { grid-template-columns: 1fr; } }

.visually-subtle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--linen-dim);
  margin: 0 0 1.25rem;
}
.section-paper .visually-subtle { color: var(--paper-ink-soft); }

.path-card {
  background: var(--ash-2);
  border: 1px solid var(--road);
  border-top: 3px solid var(--ember);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.path-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.path-card h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.path-card p { color: var(--linen-dim); font-size: 0.92rem; margin-bottom: 1.3rem; }
.path-card .btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip { background: var(--ash); border-top: 1px solid var(--road); border-bottom: 1px solid var(--road); padding: 1.4rem 0; }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .trust-strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-strip-inner { grid-template-columns: 1fr; } }

.trust-item { display: flex; align-items: center; gap: 0.7rem; }
.trust-item svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--gold); }
.trust-item span { font-size: 0.88rem; font-weight: 600; color: var(--linen-dim); line-height: 1.3; }
.trust-item a { color: var(--gold-soft); text-decoration: underline; }

/* ==========================================================================
   FORM REASSURANCE
   ========================================================================== */

.form-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--linen-dim);
  max-width: 52ch;
  margin: -0.5rem 0 1.5rem;
}
.section-paper .form-reassurance { color: var(--paper-ink-soft); }
.form-reassurance svg { width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: 0.15em; color: var(--gold); }

/* ==========================================================================
   CALL-FIRST BANNER
   ========================================================================== */

.call-first-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--ash);
  border: 1px solid var(--road);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.25rem;
}
.call-first-banner .cfb-text { flex: 1; min-width: 220px; }
.call-first-banner h3 { font-size: 1.15rem; margin-bottom: 0.15em; }
.call-first-banner p { margin: 0; color: var(--linen-dim); font-size: 0.92rem; }
.call-first-banner .btn { flex-shrink: 0; }

.section-paper .call-first-banner { background: var(--paper-white); }
.section-paper .call-first-banner p { color: var(--paper-ink-soft); }

/* ==========================================================================
   STEPS (How it Works)
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

.step-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--ember); margin-bottom: 0.25rem; line-height: 1; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--linen-dim); }
.section-paper .step p { color: var(--paper-ink-soft); }

.condition-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   BUILDS TEASER (homepage)
   ========================================================================== */

.builds-teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 980px) { .builds-teaser-grid { grid-template-columns: repeat(2, 1fr); } }

.builds-teaser-card { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--road); aspect-ratio: 4/3; }
.builds-teaser-card img { width: 100%; height: 100%; object-fit: cover; }
.builds-teaser-card .bt-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(to top, rgba(23,19,15,0.9), transparent);
  font-size: 0.84rem; font-weight: 700;
}

/* ==========================================================================
   SHARED INNER PAGE HERO
   ========================================================================== */

.page-hero {
  padding-top: clamp(4rem, 9vw, 6rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(60% 90% at 15% 0%, rgba(224,169,77,0.1), transparent 60%), var(--ink);
  position: relative;
}
.page-hero-inner h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero-inner .lede { max-width: 55ch; }

/* ==========================================================================
   SELL YOUR CAR PAGE
   ========================================================================== */

.why-list { display: grid; gap: 1.9rem; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.why-item p { color: var(--linen-dim); }

.offer-form { max-width: 780px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.5rem; margin-bottom: 2rem; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--paper-ink-soft); }
.section-ink .field label, .section-ash .field label { color: var(--linen-dim); }

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 0.9em;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper-white);
  color: var(--paper-ink);
  min-height: 48px;
}
.field textarea { min-height: auto; }
.section-ink .field input, .section-ink .field select, .section-ink .field textarea,
.section-ash .field input, .section-ash .field select, .section-ash .field textarea {
  background: var(--ink-2);
  color: var(--linen);
  border-color: var(--road);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(163,49,42,0.15);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(163,49,42,0.15);
}

.form-status { margin-top: 1.1rem; font-weight: 600; max-width: 60ch; }
.form-status[data-state="error"] { color: var(--ember); }
.form-status[data-state="success"] { color: #2c5f3f; }
.section-ink .form-status[data-state="success"], .section-ash .form-status[data-state="success"] { color: var(--gold-soft); }

.form-alt { margin-top: 2.5rem; color: var(--linen-dim); font-size: 0.95rem; }
.section-paper .form-alt { color: var(--paper-ink-soft); }

/* ==========================================================================
   MULTI-STEP CASH OFFER WIZARD
   ========================================================================== */

.offer-wizard { max-width: 780px; }

.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 2.5rem; }

.wizard-step-indicator { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex: 1; position: relative; }
.wizard-step-indicator:not(:first-child)::before {
  content: ''; position: absolute; top: 16px; left: -50%; width: 100%; height: 2px; background: var(--road); z-index: 0;
}
.wizard-step-indicator.is-complete::before { background: var(--gold); }

.wsi-num {
  position: relative; z-index: 1;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--ash);
  border: 2px solid var(--road);
  color: var(--linen-dim);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.wsi-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--linen-dim); }
.wizard-step-indicator.is-active .wsi-num { background: var(--ember); border-color: var(--ember); color: var(--linen); }
.wizard-step-indicator.is-active .wsi-label { color: var(--linen); }
.wizard-step-indicator.is-complete .wsi-num { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.wizard-step-indicator.is-complete .wsi-label { color: var(--gold-soft); }

.section-paper .wsi-num { background: var(--paper-white); border-color: var(--paper-line); color: var(--paper-ink-soft); }
.section-paper .wsi-label { color: var(--paper-ink-soft); }

.wizard-panel-title { font-size: 1.3rem; margin-bottom: 1.3rem; }

.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wizard-actions-start { justify-content: flex-end; }

.field.has-error input, .field.has-error select { border-color: var(--ember); box-shadow: 0 0 0 3px rgba(163,49,42,0.15); }
.field-error { display: none; font-size: 0.82rem; color: var(--ember); margin-top: 0.35rem; }
.field.has-error .field-error { display: block; }
.section-ink .field-error, .section-ash .field-error { color: #ff8f7a; }
.field-hint { font-size: 0.82rem; color: var(--linen-dim); margin-top: 0.35rem; }
.section-paper .field-hint { color: var(--paper-ink-soft); }

/* ==========================================================================
   OUR BUILDS — before/after as individual framed photos
   ========================================================================== */

.project-head { margin-bottom: 1.75rem; }
.project-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); max-width: 30ch; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 640px) { .before-after { grid-template-columns: 1fr; } }

.ba-frame {
  margin: 0;
  background: var(--ash);
  border: 1px solid var(--road);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.6rem 0;
  overflow: hidden;
}
.ba-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }
.ba-frame figcaption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.3rem;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--linen-dim);
}
.ba-frame.is-after figcaption { color: var(--gold-soft); }

.project-fields { margin-top: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
@media (max-width: 720px) { .project-fields { grid-template-columns: 1fr; } }
.project-fields h3 { font-size: 1rem; color: var(--gold-soft); margin-bottom: 0.4em; }
.project-fields p { color: var(--linen-dim); font-size: 0.95rem; }

.portfolio-cta { text-align: left; max-width: 60ch; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.value-card { background: var(--ash); border: 1px solid var(--road); border-radius: var(--radius-md); padding: 1.5rem; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { color: var(--linen-dim); font-size: 0.95rem; margin: 0; }
.section-paper .value-card { background: var(--paper-white); border-color: var(--paper-line); }
.section-paper .value-card p { color: var(--paper-ink-soft); }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--gold-soft);
  border-left: 3px solid var(--ember);
  padding-left: 1.5rem;
  max-width: 42ch;
  margin: 0.5rem 0 2rem;
}
.section-paper .pull-quote { color: var(--paper-ink); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-list { list-style: none; margin: 1.75rem 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list h3 { font-family: var(--font-body); font-size: 0.85rem; color: var(--linen-dim); font-weight: 700; margin-bottom: 0.2em; }
.contact-list a { font-family: var(--font-display); font-size: 1.5rem; color: var(--linen); }
.contact-list a:hover { color: var(--gold-soft); }

.contact-note { color: var(--linen-dim); font-size: 0.95rem; }
.contact-note a { color: var(--gold-soft); font-weight: 600; }

/* ==========================================================================
   CONDITION CARDS
   ========================================================================== */

.condition-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .condition-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .condition-cards { grid-template-columns: 1fr; } }

.condition-card {
  padding: 1.5rem 1.4rem;
  background: var(--ash);
  border: 1px solid var(--road);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.condition-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.condition-card .cc-icon { width: 34px; height: 34px; margin-bottom: 0.8rem; color: var(--gold); }
.condition-card h3 { font-size: 1.02rem; margin-bottom: 0.3em; }
.condition-card p { font-size: 0.9rem; color: var(--linen-dim); margin: 0; }

.condition-note {
  margin-top: 1.75rem;
  padding: 1rem 1.3rem;
  border-left: 3px solid var(--ember);
  background: rgba(163,49,42,0.08);
  font-weight: 600;
  max-width: 60ch;
}

/* ==========================================================================
   WHY REVIVAL AUTOMOTIVE
   ========================================================================== */

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.9rem 2.4rem; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

.why-grid-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-grid-item .wg-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); margin-top: 0.2rem; }
.why-grid-item h3 { font-size: 1.02rem; margin-bottom: 0.25em; }
.why-grid-item p { color: var(--linen-dim); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list { display: grid; gap: 0.75rem; max-width: 780px; }

.faq-item { border: 1px solid var(--road); border-radius: var(--radius-md); background: var(--ash); overflow: hidden; }
.section-paper .faq-item { background: var(--paper-white); border-color: var(--paper-line); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--linen);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  min-height: 48px;
}
.section-paper .faq-question { color: var(--paper-ink); }

.faq-question .faq-plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .faq-plus::before, .faq-question .faq-plus::after {
  content: ''; position: absolute; background: var(--gold); transition: transform 0.2s ease;
}
.faq-question .faq-plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-question .faq-plus::after { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; }
.faq-item[data-open="true"] .faq-plus::after { transform: rotate(90deg); opacity: 0; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 1.3rem 1.2rem; color: var(--linen-dim); margin: 0; max-width: none; }
.section-paper .faq-answer p { color: var(--paper-ink-soft); }
.faq-item[data-open="true"] .faq-answer { max-height: 400px; }

/* ==========================================================================
   DIRECT CONTACT LINKS
   ========================================================================== */

.direct-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.8em 1.2em;
  border: 1px solid var(--road);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  min-height: 48px;
}
.direct-link:hover { border-color: var(--gold); color: var(--gold-soft); }
.direct-link svg { width: 1.15em; height: 1.15em; }

.optional-tag { font-weight: 400; color: var(--linen-dim); font-size: 0.85em; }
.section-paper .optional-tag { color: var(--paper-ink-soft); }

/* ==========================================================================
   VEHICLES FOR SALE
   ========================================================================== */

.inventory-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.5rem;
  border: 1px dashed var(--road);
  border-radius: var(--radius-md);
  background: rgba(224,169,77,0.04);
}
.inventory-empty-solo { max-width: 620px; margin: 0 auto; align-items: center; text-align: center; }
.inventory-empty svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: 0.3rem; }
.inventory-empty h2 { font-size: 1.2rem; }
.inventory-empty p { color: var(--linen-dim); font-size: 0.95rem; }
.inventory-empty-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; justify-content: center; }

/* ==========================================================================
   INLINE CROSS-LINK CTA
   ========================================================================== */

.inline-cta-wrap { padding: 1.75rem 0; }
.inline-cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.4rem 1.75rem;
  border: 1px solid var(--road);
  border-radius: var(--radius-md);
  background: rgba(224,169,77,0.05);
}
.inline-cta-strip span { font-weight: 600; color: var(--linen); max-width: 46ch; }

/* ==========================================================================
   CONTRASTING FONT SECTIONS
   How It Works, FAQ, and "What that means for you" render in the serif
   display face throughout (not just headings) as a deliberate editorial
   contrast against the sans-serif body copy used everywhere else.
   ========================================================================== */

.font-contrast,
.font-contrast p,
.font-contrast li,
.font-contrast span,
.font-contrast label,
.font-contrast .lede,
.font-contrast .step p,
.font-contrast .value-card p,
.font-contrast .faq-question,
.font-contrast .faq-answer p {
  font-family: var(--font-display);
}

/* ==========================================================================
   MOBILE REFINEMENTS
   ========================================================================== */

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .wizard-actions { flex-direction: column-reverse; }
  .wizard-actions .btn { width: 100%; justify-content: center; }
  .direct-links { flex-direction: column; }
  .direct-link { width: 100%; }
  .call-first-banner { flex-direction: column; align-items: stretch; }
  .call-first-banner .btn { width: 100%; justify-content: center; }
}
