/* NGOAT ENTERPRISE & COMPANY LLC d/b/a TRUSCO USA
   Streeterville loft — terracotta / rust on cream.
   Instrument Serif + IBM Plex Sans. Split hero.
   Not Q&B dark copper. Not ABOUT LOGISTICS teal / Syne. */

:root {
  --bg: #f3e8d8;
  --bg-2: #eadcc8;
  --bg-3: #faf3ea;
  --bg-4: #e1cfb6;
  --paper: #fff8ef;
  --ink: #2a1c16;
  --text: #2a1c16;
  --muted: #6d5346;
  --line: rgba(42, 28, 22, 0.14);
  --line-strong: rgba(42, 28, 22, 0.28);
  --accent: #c45c38;
  --accent-2: #8c3a24;
  --accent-hover: #a84b2d;
  --accent-dim: rgba(196, 92, 56, 0.16);
  --danger: #9b2f24;
  --ok: #3d6b45;
  --footer: #2a1c16;
  --font: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: 26px;
  --radius: 0;
  --header-h: 78px;
  --sticky-cta: 0px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

[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: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  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: #fff8ef;
  padding: 10px 16px;
  font-weight: 600;
}

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

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

/* Header — solid loft bar, rust course on top */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--accent-2);
}

.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: 42px;
  height: 42px;
  flex-shrink: 0;
}

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

.logo-text strong {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  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: 4px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 13px;
}

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

.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: #fff8ef !important;
  font-weight: 600;
  padding: 11px 16px !important;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff8ef;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--ink);
}

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

/* Split hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: calc(100vh - var(--header-h));
  background: var(--paper);
  isolation: isolate;
}

.hero-media {
  position: relative;
  min-height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 46% 55%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 56px;
  border-right: 1px solid var(--line);
}

.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-2);
  margin-bottom: 18px;
}

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

h1,
.h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

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

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

.trust-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 8px 11px;
}

/* Identifier rail */

.stats {
  background: var(--ink);
  color: #f4e6d4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 22px;
  border-right: 1px solid rgba(244, 230, 212, 0.14);
}

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

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

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9b39a;
}

/* Sections */

.section {
  padding: 88px 0;
}

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

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

h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  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-3);
  box-shadow: 10px 10px 0 var(--accent-dim);
}

.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: 14px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4e6d4;
  background: linear-gradient(transparent, rgba(42, 28, 22, 0.82));
}

/* Freight cards */

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

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

.card-feature {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 6px solid var(--accent);
  background:
    linear-gradient(180deg, #f7ece0, var(--paper));
}

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

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

/* Location band (equipment slot) */

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

.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(90deg, rgba(42, 28, 22, 0.88) 0%, rgba(42, 28, 22, 0.5) 52%, rgba(42, 28, 22, 0.18) 100%);
}

.equipment-copy {
  max-width: 36rem;
  padding: 80px 0;
}

.equipment .lede,
.equipment .fineprint {
  color: #d8c4ae;
}

.equipment .kicker {
  color: #e8a78a;
}

.equipment .btn-ghost {
  color: #f4e6d4;
  border-color: rgba(244, 230, 212, 0.35);
}

.equipment .btn-ghost:hover {
  background: rgba(244, 230, 212, 0.08);
  border-color: #f4e6d4;
}

/* Drivers */

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

.pay-block .amount {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-2);
  line-height: 1;
}

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

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

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

.req-list {
  margin-top: 22px;
  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: 8px;
  background: var(--accent);
}

/* Forms */

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

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

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

.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(--text);
  padding: 12px 13px;
  border-radius: var(--radius);
}

input::placeholder,
textarea::placeholder {
  color: #8a7466;
}

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

select option {
  background: var(--paper);
  color: var(--text);
}

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(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  border-left: 6px solid var(--accent);
}

.contact-panel a {
  color: var(--accent-2);
}

.contact-panel a:hover {
  color: var(--accent-hover);
}

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

.dl div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.dl dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  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: 72px 0 40px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(196, 92, 56, 0.08) 11px,
      rgba(196, 92, 56, 0.08) 12px
    ),
    var(--paper);
}

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

/* Final CTA */

.final-cta {
  padding: 88px 0;
  background: var(--accent-2);
  color: #f4e6d4;
}

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

.final-cta .lede,
.final-cta .kicker {
  color: #e8c8b4;
}

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

.final-cta .btn-ghost {
  color: #f4e6d4;
  border-color: rgba(244, 230, 212, 0.35);
}

.final-cta .btn-ghost:hover {
  background: rgba(244, 230, 212, 0.08);
  border-color: #f4e6d4;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: #c9b39a;
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  font-family: var(--display);
  color: #f4e6d4;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 400;
}

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

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

.footer-meta {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 230, 212, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* Mobile sticky CTA */

.mobile-cta {
  display: none;
}

/* Reveals */

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

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

/* Utilities */

.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-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Responsive */

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-inner {
    padding: 48px 0 40px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    width: min(var(--wrap), 100% - (var(--gutter) * 2));
    margin-inline: auto;
  }

  .hero-media img {
    min-height: 42vh;
    object-position: 50% 50%;
  }

  .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 rgba(244, 230, 212, 0.14);
  }

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

@media (max-width: 920px) {
  :root {
    --gutter: 18px;
    --header-h: 68px;
    --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(--paper);
    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: 64px 0;
  }

  .page-hero {
    padding: 48px 0 32px;
  }

  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: var(--footer);
    border-top: 1px solid rgba(244, 230, 212, 0.18);
  }

  .mobile-cta a {
    text-align: center;
    padding: 16px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f4e6d4;
  }

  .mobile-cta a:first-child {
    border-right: 1px solid rgba(244, 230, 212, 0.18);
  }

  .mobile-cta a:last-child {
    background: var(--accent);
    color: #fff8ef;
  }
}

@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 rgba(244, 230, 212, 0.14);
  }

  .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;
  }
}
