/* Ozark Freight — Ozark Regional theme (spec 2026-09-17, rev 2026-09-19) */

:root {
  --deep-forest: #243b2b;
  --forest: #2e4a35;
  --cream: #f5f0e4;
  --copper: #a85c2c;
  --copper-dark: #93501f; /* hover state only */
  --copper-light: #e0a763;
  --ink: #33423a;
  --muted: #5a6a5e;
  --tan: #d8cdb4;
  --white: #ffffff;
  --cream-soft: #d8d2c2;
  --cream-dim: #c9c4b2;
  --header-height: 60px;
  --content-max: 960px;
  --badge-bg: #faf7ee;
  --badge-text: #75663f;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Zilla Slab', serif; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--deep-forest);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--cream);
  text-decoration: none;
}

.wordmark em { color: var(--copper-light); font-style: normal; }

.site-nav { display: flex; gap: 20px; }

.site-nav a {
  color: var(--cream-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover { color: var(--cream); }

/* Hero */
.hero {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 72px 24px;
}

.kicker {
  color: var(--copper-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.1;
  max-width: 560px;
  margin: 0 auto 24px;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-copper { background: var(--copper); color: var(--white); }
.btn-copper:hover { background: var(--copper-dark); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--deep-forest); }

/* Footer */
.site-footer {
  background: var(--deep-forest);
  color: var(--cream-dim);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

/* Sections */
.container { max-width: var(--content-max); margin: 0 auto; }

.section { padding: 56px 24px; }

.section h2 {
  color: var(--forest);
  font-size: 30px;
  margin-bottom: 12px;
}

.section .lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

/* Feature tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  background: var(--white);
  border-top: 3px solid var(--copper);
  padding: 20px;
}

.tile h3 { color: var(--forest); font-size: 17px; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 14px; }

/* Authority badges */
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.badge {
  border: 1px solid var(--tan);
  background: var(--badge-bg);
  padding: 20px;
  text-align: center;
}

.badge b {
  display: block;
  font-family: 'Zilla Slab', serif;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 2px;
}

.badge span { color: var(--badge-text); font-size: 13px; }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--tan);
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
  border-color: transparent;
}

.contact-form .btn { align-self: flex-start; }

#form-status { font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 56px 20px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 40px 20px; }
  .tiles, .badges { grid-template-columns: 1fr; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 13px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Button focus ring (matches input focus style) */
.btn:focus-visible {
  outline: 2px solid var(--copper-light);
  outline-offset: 2px;
}

/* Textarea: vertical resize only (horizontal resize can overflow the 420px column) */
.contact-form textarea { resize: vertical; }
