/* ============ TOKENS ============
   One committed industrial brand world (not viewer-theme adaptive):
   charcoal / steel / paper / rust / rust-deep / moss
============================================= */
:root{
  --charcoal:   #17140f;
  --charcoal-2: #1f1b14;
  --steel:      #57534a;
  --steel-2:    #8a857a;
  --paper:      #e9e7e0;
  --paper-2:    #f4f2ec;
  --rust:       #c4793b;
  --rust-deep:  #7a431c;
  --moss:       #5c8f3a;
  --moss-deep:  #2c4a1e;
  --line:       rgba(233,231,224,0.14);
  --line-dark:  rgba(23,20,15,0.14);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }

body{
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,.display{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  font-weight: 700;
}

a{ color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

.container-xl{ max-width: 1200px; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rule{
  height: 3px;
  width: 56px;
  background: var(--rust);
}

/* ============ NAVBAR ============ */
.site-nav{
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.site-nav .navbar-brand{
  display:flex; align-items:center; gap:0.75rem;
  padding: 0.35rem 0;
}
.brand-chip img{ display:block; height: 48px; width:auto; }
.brand-word{
  font-family: var(--font-display);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.4rem;
  line-height: 1.1;
}
.brand-word small{
  display:block;
  margin-top: 1px;
  line-height: 1.2;
  font-family: var(--font-mono);
  color: var(--steel-2);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
}
.site-nav .nav-link{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--paper-2) !important;
  opacity: 0.82;
  padding: 0.5rem 0.9rem !important;
}
.site-nav .nav-link:hover{ opacity: 1; color: var(--rust) !important; }
.btn-quote{
  background: var(--rust);
  border: none;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-quote:hover{ background: #d78843; color: var(--charcoal); }
.navbar-toggler{ border-color: var(--line); }
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(244,242,236,0.9)' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============ CASH 4 CARS BANNER ============ */
.cash-banner{
  background: var(--rust);
  border-bottom: 2px solid var(--rust-deep);
}
.cash-banner-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 0.9rem;
  padding-block: 0.85rem;
}
.cash-banner-text{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0;
}
.btn-cash-cta{
  flex: none;
  background: var(--charcoal);
  color: var(--paper-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-cash-cta:hover{ background:#000; color: var(--paper-2); }

/* ============ HERO ============ */
.hero{
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 34px),
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(196,121,59,0.16), transparent 60%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: var(--paper-2);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.hero .eyebrow{ color: var(--rust); }
.hero h1{
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  color: var(--paper-2);
  margin-block: 0.9rem 1.1rem;
}
.hero h1 em{
  font-style: normal;
  color: var(--rust);
}
.hero p.lede{
  font-size: 1.08rem;
  color: var(--steel-2);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap: 0.85rem; }
.btn-primary-rust{
  background: var(--rust);
  color: var(--charcoal);
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary-rust:hover{ background:#d78843; color: var(--charcoal); }
.btn-outline-paper{
  background: transparent;
  color: var(--paper-2);
  border: 1.5px solid var(--line);
  font-weight: 700;
  padding: 0.72rem 1.5rem;
  font-family: var(--font-body);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-outline-paper:hover{ border-color: var(--rust); color: var(--rust); }

.plate{
  position: relative;
  background: var(--paper-2);
  padding: 1.6rem 1.6rem 1.3rem;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.55);
}
.plate img{ display:block; width:100%; height:auto; }
.rivet{
  position:absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #dedad2, var(--steel) 70%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.plate .rivet.tl{ top: 9px; left: 9px; }
.plate .rivet.br{ bottom: 9px; right: 9px; }

/* ============ SECTION SHELL ============ */
section{ padding-block: clamp(3rem, 6vw, 5rem); }
.section-dark{ background: var(--charcoal); color: var(--paper-2); }
.section-dark .steel-2{ color: var(--steel-2); }
.section-head{ margin-bottom: 2.5rem; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0.6rem; }
.section-dark .eyebrow{ color: var(--rust); }
section:not(.section-dark) .eyebrow{ color: var(--rust-deep); }

/* ============ SERVICES ============ */
.svc-card{
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  padding: 1.6rem 1.5rem;
  height: 100%;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.svc-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(23,20,15,0.35); }
.svc-icon{
  width: 46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  background: var(--charcoal);
  color: var(--rust);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  margin-bottom: 1rem;
}
.svc-card h3{ font-size: 1.12rem; margin-bottom: 0.5rem; }
.svc-card p{ color: var(--steel); font-size: 0.94rem; margin-bottom: 0; }
.svc-tag{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel-2);
  letter-spacing: 0.08em;
}

/* ============ PROCESS ============ */
.process-row{
  display:flex; flex-direction:column; gap:0;
}
.process-step{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
}
.process-row .process-step:last-child{ border-bottom: 1px solid var(--line); }
.process-num{
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rust);
}
.process-step h4{
  font-size: 1rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}
.process-step p{ color: var(--steel-2); font-size: 0.92rem; margin-bottom: 0; max-width: 62ch; }

/* ============ STATS ============ */
.stat-strip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-dark);
}
.stat{
  padding: 1.3rem 1.1rem;
  border-left: 1px solid var(--line-dark);
  text-align:center;
}
.stat:first-child{ border-left:none; }
.stat b{
  display:block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--rust-deep);
}
.stat span{
  font-size: 0.78rem;
  color: var(--steel);
  letter-spacing: 0.03em;
}

.commit-list{ list-style:none; padding:0; margin:0; }
.commit-list li{
  display:flex; gap:0.7rem; align-items:flex-start;
  padding-block: 0.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.96rem;
}
.commit-list li:last-child{ border-bottom: 1px solid var(--line-dark); }
.commit-list .dot{
  flex: none;
  width: 9px; height:9px; margin-top: 7px;
  background: var(--moss);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ============ CONTACT ============ */
.contact-plate{
  background: var(--charcoal-2);
  color: var(--paper-2);
  padding: 1.9rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  height: 100%;
}
.contact-plate dt{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rust);
  text-transform: uppercase;
  margin-top: 1.1rem;
}
.contact-plate dt:first-child{ margin-top: 0; }
.contact-plate dd{
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--paper-2);
}
.contact-plate a.dd-link{ text-decoration: none; }
.contact-plate a.dd-link:hover{ color: var(--rust); }

.form-plate{
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  padding: 1.9rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.form-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}
.form-control, .form-select{
  border-radius: 0;
  border: 1px solid #c8c4b8;
  background: var(--paper);
  font-family: var(--font-body);
  padding: 0.6rem 0.75rem;
}
.form-control:focus, .form-select:focus{
  box-shadow: none;
  border-color: var(--rust);
}
#quoteSuccess{
  display:none;
  border-left: 4px solid var(--moss);
  background: rgba(92,143,58,0.1);
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  margin-top: 1rem;
}
#quoteSuccess.show{ display:block; }

/* ============ FOOTER ============ */
footer{
  background: var(--charcoal);
  color: var(--steel-2);
  padding-block: 2.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
footer a{ text-decoration:none; color: var(--paper-2); opacity:0.85; }
footer a:hover{ opacity:1; color: var(--rust); }
.footer-brand{
  font-family: var(--font-display);
  color: var(--paper-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.social-row{ display:flex; gap: 0.6rem; }
.social-row a{
  width: 34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--line);
}

@media (max-width: 575px){
  .stat-strip{ grid-template-columns: 1fr; }
  .stat{ border-left:none; border-top: 1px solid var(--line-dark); }
  .stat:first-child{ border-top:none; }
}
