:root {
  --bg: #f3efe7;
  --paper: #faf7f2;
  --ink: #1c1915;
  --muted: #5e584f;
  --line: #ddd4c6;
  --rust: #b8431f;
  --rust-dark: #8c3014;
  --pine: #1e3328;
  --pine-soft: #2a4636;
  --focus: #b8431f;
  --shadow: 0 18px 40px rgba(30, 28, 24, 0.06);
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, 0.92);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 0.85;
}
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-line {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.98rem;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--rust); }

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.hero-bleed {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #f6f3ee;
  overflow: hidden;
}
.hero-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 14, 12, 0.78) 0%, rgba(16, 14, 12, 0.12) 52%, rgba(16, 14, 12, 0.18) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0 3.2rem;
}
.hero-bleed h1 {
  color: #f6f3ee;
  max-width: 12ch;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-bleed .lede {
  color: #f3efe7;
  max-width: 34rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.fleet {
  margin: 0.85rem 0 0;
  font-weight: 600;
}
.hero-bleed .fleet {
  color: #f3efe7;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.hero-bleed .btn {
  background: #f6f3ee;
  color: var(--ink);
}
.hero-bleed .btn:hover { background: white; }
.buys {
  padding: 2.4rem 0 3.5rem;
}
.buys h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.buy-groups {
  display: grid;
  gap: 1.6rem;
  margin-top: 0.6rem;
}
.buy-groups h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.buys ul {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.buys li {
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.15rem;
}
.sell, .faq { padding: 0 0 3rem; }
.sell h2, .faq h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sell-grid h3, .faq summary {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sell-grid p, .faq p { margin: 0; color: var(--muted); }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.faq details p { margin-top: 0.45rem; }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--rust-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.lede {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 1.4rem 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--pine);
  color: #f6f3ee;
  padding: 0.75rem 1rem;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.btn:hover { background: var(--pine-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-ghost:hover { background: rgba(28, 25, 21, 0.05); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sheet article { padding: 2rem 0; }
.sheet article + article { border-left: 1px solid var(--line); padding-left: 2rem; }
.sheet h2, .block h2, .form-card h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.sheet ul, .steps { margin: 0; padding: 0; list-style: none; }
.sheet li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}
.sheet li:first-child { border-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 3.5rem 0;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.steps span {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--rust);
  line-height: 1;
}
.callout {
  background: var(--pine);
  color: #f4f0e8;
  padding: 1.6rem;
}
.callout p { margin: 0.4rem 0 0; color: #d9e2db; }
.callout a { color: white; }
.callout h2 {
  color: #f4f0e8;
  margin-bottom: 0.6rem;
}

.band {
  background: var(--ink);
  color: #f4f0e8;
  padding: 2.5rem 0;
}
.band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.band p { margin: 0.35rem 0 0; color: #cfc6ba; }
.band .btn { background: var(--rust); }
.band .btn:hover { background: var(--rust-dark); }

.site-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); }

.page-head { padding: 3rem 0 1rem; }
.page-head h1 { font-size: clamp(3rem, 7vw, 5rem); max-width: 16ch; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 1rem 0 4rem;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 0.92rem; font-weight: 600; }
.req { color: var(--rust-dark); }
input, select, textarea {
  background: white;
  border: 1px solid #cfc6b8;
  padding: 0.7rem 0.75rem;
  border-radius: 0;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.hint { color: var(--muted); font-size: 0.92rem; margin: 0; }
.drop {
  border: 1px dashed #b7ad9e;
  background: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.file-btn {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-weight: 600;
}
.previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.previews figure {
  margin: 0;
  position: relative;
  background: white;
  border: 1px solid var(--line);
}
.previews img { width: 100%; height: 96px; object-fit: cover; display: block; }
.previews figcaption {
  font-size: 0.75rem;
  padding: 0.3rem 0.4rem 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.previews button {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  border: 0;
  background: var(--ink);
  color: white;
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.status {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  font-weight: 600;
}
.status.error { color: var(--rust-dark); }
.hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}
.result-page { padding: 4rem 0; }
.done {
  padding: 0.5rem 0 1rem;
}
.done h2 { text-transform: none; letter-spacing: 0; font-size: 2.4rem; }

@media (max-width: 800px) {
  .site-header {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
  }
  .brand { min-width: 0; }
  .brand-name { font-size: 1.2rem; letter-spacing: 0.08em; }
  .brand-line { font-size: 0.62rem; letter-spacing: 0.18em; margin-top: 0.18rem; }
  .nav { gap: 0.85rem; flex-shrink: 0; }
  .nav a { font-size: 0.95rem; padding: 0.4rem 0; }
  .hero-bleed { min-height: 72vh; }
  .hero-bleed::after {
    background: linear-gradient(to top, rgba(16, 14, 12, 0.82) 0%, rgba(16, 14, 12, 0.28) 46%, rgba(16, 14, 12, 0.12) 100%);
  }
  .hero-copy { padding: 2rem 0 1.6rem; }
  .hero-actions { margin-top: 1.1rem; }
  .buys { padding: 1.6rem 0 2.4rem; }
  .buys ul { grid-template-columns: 1fr 1fr; }
  .sell, .faq { padding-bottom: 2.2rem; }
  .sell-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .sheet, .split, .grid, .band .wrap, .form-actions { grid-template-columns: 1fr; display: grid; }
  .sheet article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .band .wrap { display: flex; flex-direction: column; align-items: flex-start; }
  .drop { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 1.6rem 0 0.4rem; }
  .form-card { padding: 1rem; margin-bottom: 2rem; }
  input, select, textarea { font-size: 16px; }
  .site-footer { padding: 1.1rem 1rem 1.6rem; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
