:root {
  --primary: #6b3f26;
  --primary-deep: #4a2b19;
  --accent: #f0c27a;
  --background: #faf6ef;
  --surface: #ffffff;
  --ink: #2a211b;
  --ink-soft: #5a4d43;
  --line: #e6dccd;
  --focus: var(--primary-deep);
  --display: Georgia, "Times New Roman", serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display-tracking: -0.01em;
  --radius: 16px;
  --btn-radius: 999px;
}

/*
 * WebHatch concept kit stylesheet. build.mjs writes the :root tokens above this line from the prospect's fill-in:
 * eight colours and one of two font pairings. Nothing below names a colour or a family directly, except white
 * form fields and the disabled grey button, so one fill-in restyles the whole page.
 * No script, no motion, no images: typography and inline SVG carry the design.
 */

@font-face { font-family: "Inter"; src: url("/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }

/* ---- Type scale: 1.0625rem body, a 1.25 step for headings, fluid between phone and desktop ---- */

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--primary); line-height: 1.15; margin: 0 0 12px; letter-spacing: var(--display-tracking); }
h1 { font-size: clamp(2.15rem, 4.2vw + 1rem, 3.9rem); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 14px; }
a { color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .band :focus-visible, .foot :focus-visible { outline-color: var(--accent); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 40rem; }

/* ---- The concept bar: plain, first on every page and again in the footer ---- */

.concept-bar { margin: 0; background: #fff3cd; color: #5c4304; font-size: 0.85rem; font-weight: 700; text-align: center; padding: 8px 16px; }
.concept-bar.foot-bar { margin-top: 22px; border-radius: 10px; }

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

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.mark { text-decoration: none; display: grid; gap: 3px; line-height: 1.1; }
.mark-name { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--primary); letter-spacing: var(--display-tracking); }
.mark-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; padding-bottom: 12px; }
.nav a { color: var(--ink-soft); font-weight: 700; font-size: 0.95rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--primary); border-bottom-color: var(--accent); }

/* ---- Buttons: 48 px, 44 px for the small one in the header ---- */

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 24px; border-radius: var(--btn-radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; letter-spacing: 0.01em;
}
.btn.main { background: var(--accent); color: var(--primary-deep); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.btn.main:hover { filter: brightness(1.06); color: var(--primary-deep); }
.btn.quiet { color: var(--surface); border: 2px solid var(--surface); background: transparent; }
.btn.quiet:hover { background: var(--surface); color: var(--primary-deep); }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.top .btn.main { box-shadow: none; white-space: nowrap; }

/* ---- 1. Hero ---- */

.hero { background: linear-gradient(160deg, var(--primary) 0%, var(--primary) 55%, var(--primary-deep) 100%); color: var(--surface); }
.hero-grid { display: grid; gap: 24px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.hero h1 { color: var(--surface); overflow-wrap: normal; word-break: normal; hyphens: none; }
.hero-line { font-size: clamp(1.15rem, 0.6vw + 1rem, 1.35rem); color: var(--surface); max-width: 38ch; }
.hero-art { width: 100%; height: auto; max-width: 420px; justify-self: center; }
.hero-art .ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0.45; }
.hero-art .ring.dash { stroke-dasharray: 3 12; stroke-linecap: round; opacity: 0.8; }
.hero-art .disc { fill: var(--primary-deep); stroke: var(--accent); stroke-width: 3; }
.hero-art .big { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 2. Services: three cards ---- */

.section { padding: 56px 0 8px; }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.inventory { display: grid; gap: 14px; margin-top: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.vehicle { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 18px 20px 16px; min-width: 0; }
.vehicle .year { margin: 0; font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--primary); letter-spacing: var(--display-tracking); }
.vehicle h3 { margin: 6px 0 8px; font-size: 1.05rem; line-height: 1.25; }
.vehicle .price { margin: 0; font-weight: 700; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.vehicle .price.ask { font-weight: 400; color: var(--ink-soft); }
.vehicle .miles { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.services { display: grid; gap: 18px; margin-top: 22px; }
.service { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 26px 24px 22px; }
.service p { color: var(--ink-soft); margin: 0; }

/* ---- 3. Why us: facts only ---- */

.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 62px; position: relative; font-weight: 700; color: var(--ink); }
.facts li::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--primary);
}
.facts li::after {
  content: ""; position: absolute; left: 29px; top: 50%; width: 7px; height: 12px; margin-top: -8px;
  border: solid var(--surface); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* ---- 4. Service area ---- */

.area { display: grid; gap: 22px; align-items: center; }
.area-art { width: 120px; height: 120px; fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.places { list-style: none; padding: 0; margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.places li { background: var(--surface); border: 1px solid var(--line); color: var(--primary); font-weight: 700; border-radius: 999px; padding: 8px 18px; }
.area .note { color: var(--ink-soft); max-width: 40rem; }

/* ---- 5. Call-to-action band, with the demonstration form ---- */

.band { margin: 56px 0; background: var(--primary); color: var(--surface); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 24px; align-items: start; }
.band h2 { color: var(--surface); }
.band p { color: var(--surface); }
.demo { background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) - 4px); padding: 22px; display: grid; gap: 14px; }
.band .demo-note { margin: 0; background: #fff3cd; color: #5c4304; font-weight: 700; border-radius: 8px; padding: 10px 14px; }
.demo label { display: grid; gap: 6px; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.demo input, .demo textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--ink-soft); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.demo textarea { min-height: 96px; resize: vertical; }
.demo button { font: inherit; font-weight: 700; min-height: 48px; border: 0; border-radius: var(--btn-radius); padding: 12px 24px; background: #6b6b6b; color: #fff; cursor: not-allowed; }

/* ---- 6. Footer ---- */

.foot { background: var(--primary-deep); color: var(--surface); padding: 36px 0 28px; }
.foot-grid { display: grid; gap: 20px; }
.foot p { margin: 0 0 4px; }
.foot h2 { font-size: 1.05rem; color: var(--accent); font-family: var(--text); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.foot-name { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--surface); }
.foot a { color: var(--accent); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.by { margin-top: 14px; font-size: 0.85rem; opacity: 0.9; }

/* ---- 404 ---- */

.lost { padding: 72px 0; max-width: 40rem; }

/* ---- Wider screens ---- */

@media (min-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-top: 80px; padding-bottom: 80px; }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { grid-template-columns: auto minmax(0, 1fr); gap: 36px; }
  .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 44px 40px; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---- Phones (checked at 390 and 430 px) ---- */

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .mark-name { font-size: 1.2rem; }
  .nav { gap: 0 18px; }
  .btns .btn { flex: 1 1 100%; }
  .hero-grid { padding-top: 36px; padding-bottom: 40px; }
  .hero-art { max-width: 150px; order: -1; justify-self: start; }
  .top .wide { display: none; }
  .band { padding: 26px 18px; margin: 40px 0; }
  .demo { padding: 18px 16px; }
  .area-art { width: 84px; height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wh-band { margin: 26px 0 0; padding: 22px 0 4px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: grid; gap: 4px 24px;
  grid-template-columns: 1fr; align-items: center; }
.wh-band p { margin: 0; }
.wh-band .wh-band-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.wh-band .wh-band-title { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: var(--display-tracking); color: var(--surface); }
.wh-band .wh-band-text { color: var(--surface); opacity: 0.9; }
.wh-band .wh-band-actions { margin-top: 10px; }
.foot .wh-band-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--btn-radius);
  background: var(--accent); color: var(--primary-deep); font-weight: 700; text-decoration: none; }
.foot .wh-band-cta:hover { filter: brightness(1.06); color: var(--primary-deep); }
.wh-band .wh-band-concept { margin-top: 10px; font-size: 0.8rem; opacity: 0.75; }
@media (min-width: 760px) {
  .wh-band { grid-template-columns: 1fr auto; }
  .wh-band .wh-band-actions { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}

/* A photo does not offer itself for saving: no press-and-hold save menu, no dragging, no selecting. pointer-events:none is what closes
   Android's menu; a tap still reaches any link around a photo, and alt text still reaches a screen reader. A screenshot still works. */
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; pointer-events: none; }
