/* JANEV TRUCKING LLC
   Desert paper + indigo dusk. Newsreader / Space Grotesk.
   Overlap hero. Cool, not casino. Not Q&B copper-on-charcoal. */

:root {
  --bg: #f6efe4;
  --bg-2: #efe4d2;
  --paper: #fff8ee;
  --ink: #1a1730;
  --text: #1a1730;
  --muted: #6b6578;
  --line: #e4d8c6;
  --line-strong: #d4c4aa;
  --accent: #4338ca;
  --accent-2: #312e81;
  --accent-ink: #f6efe4;
  --accent-hover: #3730a3;
  --accent-dim: rgba(67, 56, 202, 0.12);
  --hero-ink: #f6efe4;
  --header: #1a1730;
  --ok: #3d6b4f;
  --danger: #9b3d3d;
  --font: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --gutter: 22px;
  --radius: 2px;
  --header-h: 72px;
  --sticky-cta: 0px;
  --chip: 4px 18px 4px 18px;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(26, 23, 48, 0.035) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: var(--sticky-cta);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -56px;
  z-index: 120;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* Header — sand bar, indigo type */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"]:not(.header-cta) {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-cta {
  margin-left: 8px;
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 600;
  padding: 10px 16px !important;
  border-radius: var(--chip);
}

.header-cta:hover {
  background: var(--accent-hover);
}

/* Buttons — chip cut */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  border-radius: var(--chip);
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: var(--accent-dim);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Overlap hero */

.hero {
  position: relative;
  padding-bottom: 8px;
}

.hero-media {
  position: relative;
  height: min(68vh, 640px);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(26, 23, 48, 0.28));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(44rem, calc(100% - (var(--gutter) * 2)));
  margin: -88px auto 0;
  background: var(--ink);
  color: var(--hero-ink);
  padding: 40px 44px 44px;
  box-shadow: 0 28px 60px rgba(26, 23, 48, 0.22);
}

.hero-inner .kicker {
  color: #c4b8ff;
}

.hero-inner .kicker::before {
  background: #c4b8ff;
}

.hero-inner .lede {
  color: #d8d2c4;
  max-width: 46ch;
}

.hero-inner .btn-ghost {
  color: var(--hero-ink);
  border-color: rgba(246, 239, 228, 0.4);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1,
.h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lede {
  margin-top: 16px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-chip {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hero-ink);
  border: 1px solid rgba(246, 239, 228, 0.22);
  padding: 7px 11px;
}

/* Identifier strip */

.stats {
  padding: 8px 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}

.stat {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-bottom: 8px;
}

.muted {
  color: var(--muted);
}

.fineprint {
  font-size: 0.9rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-start {
  align-items: start;
}

.split-copy p + p {
  margin-top: 16px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.media-wide img {
  aspect-ratio: 16 / 10;
}

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-ink);
  background: linear-gradient(transparent, rgba(26, 23, 48, 0.78));
}

/* Freight cards — two-up cool paper */

.cards {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 26px;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0;
}

.card-feature::before {
  opacity: 1;
}

.card-feature {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, #ece4ff 0%, var(--paper) 46%);
}

.card-index {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

/* Equipment band — indigo dusk over desert */

.equipment {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.equipment-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.equipment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.equipment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(26, 23, 48, 0.15) 0%, rgba(26, 23, 48, 0.78) 100%);
}

.equipment-copy {
  max-width: 36rem;
  padding: 72px 0 56px;
  color: var(--hero-ink);
}

.equipment-copy .kicker {
  color: #c4b8ff;
}

.equipment-copy .kicker::before {
  background: #c4b8ff;
}

.equipment-copy .lede,
.equipment-copy .fineprint {
  color: #d8d2c4;
}

.equipment-copy .btn-ghost {
  color: var(--hero-ink);
  border-color: rgba(246, 239, 228, 0.4);
}

/* Drivers */

.pay-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}

.pay-block .amount {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--accent-2);
  line-height: 1;
}

.pay-block .amount-label {
  margin-top: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 7px 11px;
  color: var(--ink);
}

.req-list {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.req-list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.req-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* Forms */

.form {
  display: grid;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 13px;
  border-radius: var(--radius);
}

input::placeholder,
textarea::placeholder {
  color: #9a9286;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note,
.form-status {
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status[data-state="ok"] {
  color: var(--ok);
}

.form-status[data-state="err"] {
  color: var(--danger);
}

.contact-panel {
  background: var(--ink);
  color: var(--hero-ink);
  padding: 28px;
}

.contact-panel a,
.contact-panel .text-link {
  color: #c4b8ff;
}

.contact-panel a:hover,
.contact-panel .text-link:hover {
  color: var(--hero-ink);
}

.contact-panel .fineprint {
  color: #d8d2c4;
}

.dl {
  display: grid;
  gap: 18px;
}

.dl div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(246, 239, 228, 0.12);
}

.dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4b8ff;
  margin-bottom: 4px;
}

.dl dd {
  margin: 0;
}

.spec {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
}

.spec div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

.spec div:last-child {
  border-bottom: 0;
}

.spec dt,
.spec dd {
  padding: 14px 18px;
  margin: 0;
}

.spec dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: 1px solid var(--line);
  background: var(--bg-2);
}

/* Page hero */

.page-hero {
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 16ch;
}

/* Final CTA */

.final-cta {
  padding: 80px 0;
  background: var(--ink);
  color: var(--hero-ink);
}

.final-cta .kicker {
  color: #c4b8ff;
}

.final-cta .kicker::before {
  background: #c4b8ff;
}

.final-cta .lede {
  color: #d8d2c4;
}

.final-cta .btn-ghost {
  color: var(--hero-ink);
  border-color: rgba(246, 239, 228, 0.35);
}

.final-cta h2 {
  max-width: 16ch;
}

/* Footer — indigo night */

.site-footer {
  background: #12101f;
  color: #b8b0a4;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  font-family: var(--display);
  color: var(--hero-ink);
  font-weight: 600;
}

.footer-nav {
  display: grid;
  gap: 8px;
  overflow-wrap: anywhere;
}

.footer-nav a:hover,
.site-footer a:hover {
  color: #c4b8ff;
}

.footer-meta {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 239, 228, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--accent-hover);
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .split,
  .split-start {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-media {
    height: min(56vh, 520px);
  }

  .hero-inner {
    margin-top: -64px;
    padding: 28px 24px 32px;
  }

  .equipment {
    min-height: 440px;
  }
}

@media (max-width: 920px) {
  :root {
    --gutter: 18px;
    --header-h: 66px;
    --sticky-cta: 64px;
  }

  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 20px;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    margin: 12px 0 0;
    text-align: center;
    border-bottom: 0 !important;
  }

  .cards,
  .form-grid,
  .spec div,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .spec dt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
  }

  .spec dd {
    padding-top: 8px;
  }

  .section,
  .equipment-copy,
  .final-cta {
    padding: 56px 0;
  }

  .page-hero {
    padding: 44px 0 28px;
  }

  h1 {
    max-width: none;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    background: #12101f;
    color: var(--hero-ink);
  }

  .mobile-cta a {
    text-align: center;
    padding: 16px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-cta a:first-child {
    border-right: 1px solid rgba(246, 239, 228, 0.12);
  }

  .mobile-cta a:last-child {
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: 0;
  }
}

@media (max-width: 430px) {
  .cta-row .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .form,
  .contact-panel,
  .pay-block {
    padding: 22px 18px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
