/* Blanton Freight Logistics LLC: brand stylesheet (v2)
   Palette sampled from the pixels of the company logo. Black and gold, on purpose.
   Layout concept: dark editorial pages, gold used for emphasis only, generous spacing. */

:root {
  color-scheme: dark;

  --bg: #000000;
  --panel: #0a0a0a;
  --panel-raised: #121212;
  --line: #262626;

  --gold-shadow: #6b4720;
  --gold: #c9963c;
  --gold-highlight: #f7d885;
  --gold-hot: #fce490;

  --text: #f5f1e8;
  --muted: #b8ab8f;
  --danger: #ff9b8c;
  --ok: #a6dca6;

  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max: 1180px;
  --gutter: 24px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, .legal a { color: var(--gold-highlight); text-decoration: underline; text-underline-offset: 3px; }
p a:hover, li a:hover, .legal a:hover { color: var(--gold-hot); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--gold-highlight); color: #0a0600;
  padding: 10px 16px; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-wrap: balance;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hot) 0%, var(--gold) 48%, var(--gold-shadow) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { color: var(--muted); max-width: 66ch; }
p + p { margin-top: 1rem; }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.12rem; color: var(--text); }

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

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 200;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand-link { display: block; flex-shrink: 0; }
.brand-link img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a:not(.btn) {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 2px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:not(.btn):hover { color: var(--gold-highlight); }
.main-nav a[aria-current="page"] { color: var(--gold-highlight); border-bottom-color: var(--gold); }
.main-nav .nav-cta-mobile { display: none; }
.header-cta { white-space: nowrap; padding-inline: 20px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  min-width: 48px; min-height: 48px;
  border-radius: 6px;
  font-size: 1.25rem;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-highlight) 0%, var(--gold) 58%, var(--gold-shadow) 100%);
  color: #0a0600;
  box-shadow: 0 2px 14px rgba(201, 150, 60, 0.25);
}
.btn-gold:hover { box-shadow: 0 4px 22px rgba(201, 150, 60, 0.45); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold-highlight); border-color: var(--gold); }
.btn-outline:hover { background: rgba(201, 150, 60, 0.1); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Hero ---------- */

.hero {
  padding-block: 88px 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 150, 60, 0.13) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero p { margin-inline: auto; }
.hero .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--gold-highlight);
  max-width: 34ch;
  margin-bottom: 1.1rem;
  line-height: 1.4;
}
.hero .btn-row { justify-content: center; }
.hero.compact { padding-block: 64px 52px; }

/* Photo hero: the image sits behind a dark overlay so text keeps strong contrast */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-photo::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.70) 45%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 150, 60, 0.10) 0%, transparent 70%);
}
.hero-photo p:not(.eyebrow):not(.hero-sub) { color: var(--text); }
.hero-photo .chip { background: rgba(0, 0, 0, 0.55); }
.hero-photo:not(.compact) { padding-block: 104px 88px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 2rem; }
.chip {
  border: 1px solid var(--gold-shadow);
  background: rgba(201, 150, 60, 0.07);
  color: var(--gold-highlight);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
}

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

.section { padding-block: 72px; }
.section.alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { margin-inline: auto; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid > * { min-width: 0; }

.card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--gold-shadow); transform: translateY(-2px); }
.card p { margin-bottom: 0; }
a.card { display: block; }
a.card .more { display: inline-block; margin-top: 1rem; color: var(--gold-highlight); font-weight: 600; font-size: 0.9rem; }

.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.split > * { min-width: 0; }

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}
.checklist li::before {
  content: '';
  position: absolute; left: 20px; top: 22px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.checklist strong { color: var(--text); font-weight: 600; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px;
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--gold-highlight), var(--gold));
  color: #0a0600; font-weight: 700;
}
.steps strong { display: block; color: var(--text); }

.callout {
  background: var(--panel-raised);
  border: 1px solid var(--gold-shadow);
  border-radius: 10px;
  padding: 36px;
  max-width: 820px;
  margin-inline: auto;
}
.callout p { max-width: none; }
.callout.center { text-align: center; }
.callout.center p { margin-inline: auto; }

.badge {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-shadow);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

.prelaunch-banner {
  background: var(--panel-raised);
  border: 1px solid var(--gold-shadow);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto;
}
.prelaunch-banner strong { color: var(--gold-highlight); }
.banner-wrap { padding-block: 8px 72px; }

.draft-note {
  background: #2a1d0a; border: 1px dashed var(--gold); color: var(--gold-highlight);
  padding: 14px 18px; border-radius: 6px; margin-bottom: 28px; font-size: 0.92rem;
}

/* ---------- Lane map ---------- */

.map-panel {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.map-panel svg { width: 100%; height: auto; }
.map-grid line { stroke: #1b1b1b; stroke-width: 1; }
.map-ring { fill: none; stroke: var(--gold-shadow); stroke-width: 1; stroke-dasharray: 2 6; opacity: 0.55; }
.node-hq { fill: var(--gold-hot); stroke: var(--gold); stroke-width: 3; }
.node-primary { fill: var(--gold); stroke: var(--gold-hot); stroke-width: 1.5; }
.node-target { fill: var(--gold-shadow); stroke: var(--gold); stroke-width: 1.5; }
.node-future { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 3; }
.map-label { fill: var(--text); font: 600 15px var(--font-body); }
.map-sub { fill: var(--muted); font: 400 12.5px var(--font-body); }

.legend { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.legend li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--muted); }
.legend strong { color: var(--text); display: block; }
.legend .key { width: 16px; height: 16px; border-radius: 50%; margin-top: 5px; }
.key.hq { background: var(--gold-hot); border: 3px solid var(--gold); }
.key.primary { background: var(--gold); }
.key.target { background: var(--gold-shadow); border: 1.5px solid var(--gold); }
.key.future { border: 1.5px dashed var(--muted); }
.map-note { font-size: 0.85rem; margin-top: 18px; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--panel-raised);
  border: 1px solid var(--gold-shadow);
  border-radius: 10px;
  padding: 36px;
  max-width: 820px;
  margin-inline: auto;
}
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form-grid .field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.req { color: var(--gold-highlight); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  background: var(--bg);
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d7258; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-highlight); box-shadow: 0 0 0 3px rgba(247, 216, 133, 0.25); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.help { font-size: 0.82rem; color: var(--muted); margin-top: 6px; max-width: none; }
.field-error { font-size: 0.85rem; color: var(--danger); margin-top: 6px; max-width: none; font-weight: 500; }
.form-note { font-size: 0.85rem; margin-bottom: 20px; max-width: none; }
.privacy-line { font-size: 0.82rem; margin-top: 18px; max-width: none; }
.consent { margin-top: 22px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: 0.92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--gold); }
.form-actions { margin-top: 24px; }
.form-status { margin-top: 22px; padding: 16px 18px; border-radius: 6px; border: 1px solid; font-size: 0.95rem; }
.form-status.error { border-color: var(--danger); color: var(--danger); background: rgba(255, 155, 140, 0.07); }
.form-status.success { border-color: var(--ok); color: var(--ok); background: rgba(166, 220, 166, 0.07); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.direct-contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 820px; margin: 0 auto 36px; }
.direct-contact > div { background: var(--panel-raised); border: 1px solid var(--gold-shadow); border-radius: var(--radius); padding: 18px 22px; min-width: 0; }
.dc-label { display: block; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.direct-contact a { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.direct-contact a:hover { color: var(--gold-highlight); }

/* ---------- Legal pages ---------- */

.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.legal ul { margin: 0.8rem 0 0 1.2rem; color: var(--muted); display: grid; gap: 6px; }
.legal p { max-width: none; }

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

.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding-block: 56px 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top > * { min-width: 0; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; }
.footer-col h2 {
  font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 14px;
  background: none; -webkit-text-fill-color: var(--gold); color: var(--gold);
}
.footer-col a, .footer-col div { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-col a { padding-block: 2px; }
.footer-col a:hover { color: var(--gold-highlight); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: 0.85rem; color: var(--muted); }
.reg-info { font-size: 0.82rem; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 44px; height: 44px; border: 1px solid var(--gold-shadow); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.8rem; font-weight: 700; }
.social-row a:hover { background: rgba(201, 150, 60, 0.1); color: var(--gold-highlight); }

/* ---------- Responsive ---------- */

@media (max-width: 1120px) { .header-cta { display: none; } }

@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
  }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav .nav-cta-mobile { display: inline-flex; margin-top: 14px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding-block: 52px; }
  .hero { padding-block: 60px 48px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card, .callout { padding: 24px 20px; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover, .btn-gold:hover { transform: none; }
}

@media (forced-colors: active) {
  h1, h2, h3 { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
  .btn-gold { border-color: ButtonText; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Safety net: wider web fonts (Cinzel small-caps) must never cause sideways scroll on 320px phones */
h1, h2, h3, h4, p, li, label, .btn, .card, .banner { overflow-wrap: anywhere; }
@media (max-width: 380px) { h1 { font-size: clamp(1.6rem, 8.2vw, 2.1rem); } .btn { padding-inline: 18px; } }
